/* ==========================================================================
   FASHION STORE — RESPONSIVE MEDIA QUERIES (assets/css/responsive.css)
   Desktop, Laptop, Tablet & Mobile Breakpoints
   ========================================================================== */

/* Mobile Navigation Drawer Defaults */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 200;
}
.mobile-nav-backdrop.open {
    display: block;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 310px;
    max-width: 86vw;
    background: var(--bg-primary);
    z-index: 210;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}
.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
}

.mobile-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mobile-search-form button {
    padding: 0 14px;
    background: var(--text-primary);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list > li > a,
.mobile-nav-row > a {
    display: block;
    padding: 13px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-sub-toggle {
    background: none;
    border: none;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
}

.mobile-sub-list {
    display: none;
    padding: 0 0 12px 14px;
}
.mobile-sub-list.open {
    display: block;
}
.mobile-sub-list li a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Laptop / Small Desktop (<= 1200px) */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .nav-list {
        gap: 18px;
    }
}

/* Tablet (<= 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 22px;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-trigger {
        display: inline-flex;
    }
    .header-inner {
        height: 66px;
    }
    .site-logo-text {
        font-size: 21px;
    }
    .hero-heading {
        font-size: 42px;
    }
    .collections-dual-grid,
    .editorial-split,
    .product-detail-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        position: static;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        z-index: 220;
        overflow-y: auto;
    }
    .shop-sidebar.open {
        display: block;
    }
    .mobile-filter-btn {
        display: inline-flex;
    }
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .announcement-bar {
        font-size: 9.5px;
        letter-spacing: 0.1em;
        padding: 7px 10px;
    }
    .section {
        padding: 52px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .hero-slider {
        height: 68vh;
        min-height: 440px;
    }
    .hero-heading {
        font-size: 32px;
    }
    .hero-subheading {
        font-size: 14px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
    .product-card-actions {
        grid-template-columns: 1fr;
    }
    .editorial-text {
        padding: 36px 24px;
    }
    .editorial-text h2 {
        font-size: 30px;
    }
    .newsletter-box {
        padding: 44px 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .product-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
    }
    .gallery-thumb-btn {
        width: 68px;
        flex-shrink: 0;
    }
    .pdp-primary-row {
        grid-template-columns: 110px 1fr;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
