/* ============================================
   LAYOUT & STRUCTURE
   ============================================ */

.main-container {
    display: grid;
    grid-template-columns: 1fr minmax(0, 100vw) 1fr;
    margin: 0 auto;
    align-items: start;
}

.content {
    grid-column: 2/3;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

aside.sidebar {
    display: none;
}

/* ============================================
   SECTIONS & TYPOGRAPHY
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 15px auto 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
    section {
        padding: 60px 0;
    }

    .content-wrapper {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .content-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    section {
        padding: 30px 0;
    }

    .content-wrapper {
        max-width: 100%;
    }
}

.about {
    background: linear-gradient(135deg, rgba(156, 30, 47, 0.08) 0%, rgba(52, 152, 219, 0.06) 100%);
    padding: 50px 0;
}

.about .content-wrapper {
    padding: 0 20px;
}

.collections {
    background: linear-gradient(135deg, rgba(156, 30, 47, 0.05) 0%, rgba(52, 152, 219, 0.03) 100%);
}

.brands {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(156, 30, 47, 0.03) 100%);
}

.filters {
    background: linear-gradient(180deg, rgba(156, 30, 47, 0.02) 0%, transparent 100%);
}

.about-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-text {
    flex: 1 1 45%;
    padding: 40px;
    box-sizing: border-box;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1 1 45%;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #9C1E2F 0%, #3498db 100%);
    min-height: 320px;
}

.about-image img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .about-inner {
        flex-direction: column;
        gap: 0;
    }

    .about-text,
    .about-image {
        flex: 1 1 auto;
        max-width: 100%;
        padding-right: 0;
    }

    .about-text {
        padding: 40px 30px;
    }

    .about-image {
        min-height: 300px;
    }
}

.testi-scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testi-scroller::-webkit-scrollbar {
    height: 8px;
}

.testi-scroller::-webkit-scrollbar-thumb {
    background-color: var(--border-strong);
    border-radius: 10px;
}

.testi-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.testi-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.testi-card .by {
    font-weight: 600;
    color: var(--muted);
}

@media (max-width: 600px) {
    .testi-card {
        flex: 0 0 90%;
    }
}

.footer-main {
    padding-bottom: 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    height: 60px;
}

.footer-center {
    text-align: center;
    flex-grow: 1;
}

.socials {
    margin-bottom: 15px;
}

.social {
    margin: 0 10px;
}

.footer-links a {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        margin-bottom: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 600px) {
    .testi-card {
        flex: 0 0 90%;
    }
}

[data-cart-drawer] {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 450px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
}

[data-cart-drawer].is-open {
    transform: translateX(0);
}

.cart-header {
    padding: 16px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    align-items: center;
}

.cart-item-img {
    width: 64px;
    height: 48px;
    border-radius: 3px;
}

.cart-item-meta {
    flex: 1;
}

.cart-item-name {
    margin-bottom: 3px;
}

.qty-controls {
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 2px;
    border-radius: 5px;
}

.qty-incr,
.qty-decr {
    padding: 4px 8px;
    border-radius: 3px;
}

.qty-value {
    padding: 0 5px;
    min-width: 20px;
    text-align: center;
}

.item-total-price {
    width: 90px;
    text-align: right;
}

.remove-item {
    margin-left: 5px;
    padding: 0 5px;
}

.cart-footer {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-actions {
    display: flex;       
    gap: 10px;           
    margin-top: 12px;    
}

.cart-actions .cta-btn {
    flex: 1;             
    padding: 10px;       
    white-space: nowrap; 
}

.cart-drawer {
    width: auto;
    max-width: 100%;
    padding: 0;
}