/* ============================================================
   RB Outfitx — Editorial Fashion E-Commerce Design System
   
   Features:
   - Clean editorial fashion aesthetics (Zara, COS, Ssense inspired)
   - Dual Theme Support: Day Mode (Light) & Night Mode (Dark)
   - High-performance, 60fps mobile-optimized rendering
   - Responsive, zero-overlap header geometry
   ============================================================ */

/* ── 1. DESIGN TOKENS (LIGHT & DARK) ── */
:root {
    /* Day Theme (Default) */
    --bg-page:        #FFFFFF;
    --bg-surface:     #FFFFFF;
    --bg-subtle:      #F8F8F7;
    --bg-muted:       #F2F2F0;
    
    --text-primary:   #111111;
    --text-secondary: #555555;
    --text-muted:     #888888;
    --text-inverse:   #FFFFFF;
    
    --border-light:   #EAEAEA;
    --border-strong:  #111111;
    
    --brand-black:    #111111;
    --brand-hover:    #2B2B2B;
    
    --nav-bg:         rgba(255, 255, 255, 0.94);
    --logo-filter:    none;
    
    --wa-green:       #16A34A;
    --wa-green-hover: #15803D;
    --wa-bg:          #F0FDF4;
    --wa-border:      #BBF7D0;
    
    --notice-bg:      #FFFBEB;
    --notice-border:  #FDE68A;
    --notice-text:    #92400E;
    --notice-icon:    #D97706;
    
    --radius-sm:      3px;
    --radius-md:      6px;
    --radius-lg:      10px;
    --radius-pill:    9999px;
    
    --font-main:      'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-bangla:    'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-subtle:  0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-dropdown:0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-modal:   0 24px 48px rgba(0, 0, 0, 0.16);
}

/* Night Theme (Dark Mode) */
[data-theme="dark"] {
    --bg-page:        #0E0E11;
    --bg-surface:     #16161A;
    --bg-subtle:      #1B1B20;
    --bg-muted:       #23232A;
    
    --text-primary:   #F4F4F6;
    --text-secondary: #A0A0AB;
    --text-muted:     #71717A;
    --text-inverse:   #0E0E11;
    
    --border-light:   #27272E;
    --border-strong:  #F4F4F6;
    
    --brand-black:    #FFFFFF;
    --brand-hover:    #E4E4E7;
    
    --nav-bg:         rgba(14, 14, 17, 0.94);
    --logo-filter:    invert(1) brightness(1.2);
    
    --wa-green:       #22C55E;
    --wa-green-hover: #16A34A;
    --wa-bg:          #14291B;
    --wa-border:      #1F4D2B;
    
    --notice-bg:      #261E0A;
    --notice-border:  #4D3B14;
    --notice-text:    #FDE68A;
    --notice-icon:    #F59E0B;
    
    --shadow-subtle:  0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-dropdown:0 10px 25px rgba(0, 0, 0, 0.45);
    --shadow-modal:   0 24px 48px rgba(0, 0, 0, 0.65);
}

/* ── 2. BASE & RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 15px;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.25s ease, color 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── 3. HEADER & NAVIGATION ── */
#navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.2s ease, background-color 0.25s ease, border-color 0.25s ease;
}

#navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-nav .logo-img {
    height: 2rem;
    width: 2rem;
    object-fit: contain;
    filter: var(--logo-filter);
    transition: filter 0.25s ease;
}

.brand-logo-nav span {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 0.85rem;
    }
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    letter-spacing: 0.01em;
    padding: 0.45rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--brand-black);
}

.upcoming-nav-badge {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--bg-muted);
    color: var(--text-muted);
    padding: 0.1rem 0.35rem;
    border-radius: var(--radius-sm);
    margin-left: 0.25rem;
    vertical-align: middle;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-icon-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--border-light);
}

.nav-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-inverse);
    background: var(--brand-black);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-wa-btn:hover {
    background: var(--brand-hover);
}

.hidden-desktop {
    display: none !important;
}

@media (max-width: 860px) {
    .hidden-mobile {
        display: none !important;
    }
    .hidden-desktop {
        display: flex !important;
    }
}

/* Search Dropdown */
#search-bar {
    border-top: 1px solid var(--border-light);
    background: var(--bg-subtle);
    padding: 0.75rem 1.5rem;
}

#search-bar .search-inner {
    max-width: 48rem;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

#search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s ease;
}

#search-input:focus {
    border-color: var(--brand-black);
}

.search-inner i {
    position: absolute;
    left: 0.85rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    pointer-events: none;
}

/* Mobile Menu */
#mobile-menu {
    border-top: 1px solid var(--border-light);
    background: var(--bg-surface);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-switch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ── 4. HERO SECTION ── */
.hero-section {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.25s ease, border-color 0.25s ease;
    padding: 3.5rem 1.5rem 3rem;
    box-sizing: border-box;
}

.hero-content {
    max-width: 78rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-delivery-subtext {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.85rem;
    padding: 0.28rem 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    line-height: 1.3;
}

.hero-delivery-subtext i {
    color: #16A34A;
    font-size: 0.825rem;
}

.hero-delivery-subtext strong {
    color: var(--text-primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--brand-black);
    color: var(--text-inverse);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand-black);
    transition: background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-primary);
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--text-muted);
}

.hero-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.hero-visual-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-muted);
    aspect-ratio: 4/5;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-visual-card:hover img {
    transform: scale(1.03);
}

.hero-visual-label {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    background: var(--bg-surface);
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    white-space: nowrap;
    max-width: calc(100% - 1.3rem);
}

/* Desktop Viewport Fit: Full hero visible without scrolling */
@media (min-width: 961px) {
    .hero-section {
        min-height: calc(100vh - 4.25rem);
        max-height: calc(100vh - 4.25rem);
        padding: 1.25rem 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .hero-content {
        height: 100%;
        max-height: calc(100vh - 4.25rem - 2.5rem);
        grid-template-columns: 1fr 1.05fr;
        gap: 3.5rem;
    }

    .hero-text-col {
        transform: translateY(-0.85rem);
    }

    .hero-headline {
        font-size: clamp(2rem, 3.4vw, 2.9rem);
        margin-bottom: 0.75rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 28rem;
        margin-bottom: 1.35rem;
    }

    .hero-delivery-subtext {
        font-size: 0.75rem;
        margin-top: 0.75rem;
        padding: 0.25rem 0.6rem;
        align-self: flex-start;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        max-width: 100%;
    }

    .hero-visual-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
        max-height: min(520px, calc(100vh - 4.25rem - 3.5rem));
        aspect-ratio: 1 / 1.05;
        margin-left: auto;
    }

    .hero-visual-card {
        height: 100%;
        width: 100%;
        aspect-ratio: auto;
    }
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* ── 5. CATEGORY DISCOVERY (EDITORIAL CATALOGUE) ── */
.category-section {
    padding: 5rem 1.5rem;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.section-container {
    max-width: 78rem;
    margin: 0 auto;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 24rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(0.75rem, 1.35vw, 1.25rem);
}

@media (max-width: 768px) {
    .category-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0.25rem 1rem 0.65rem 1rem;
        scroll-padding: 0 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 56%;
        width: 56%;
        min-width: 56%;
        max-width: 235px;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .category-img-wrap {
        height: 245px;
        aspect-ratio: 4 / 5;
        width: 100%;
    }

    .category-img-wrap img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .category-info {
        padding: 0.65rem 0.75rem;
    }

    .category-title {
        font-size: 0.9rem;
        line-height: 1.25;
        margin-bottom: 0.15rem;
    }

    .category-sub {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .category-arrow {
        font-size: 0.8rem;
    }
}

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-subtle);
}

.category-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg-muted);
    overflow: hidden;
}

.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
    transform: scale(1.03);
}

.category-info {
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.category-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.category-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.category-arrow {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(3px);
    color: var(--text-primary);
}

/* ── 6. PRODUCT COLLECTION ── */
.products-section {
    padding: 5.5rem 1.5rem;
    background: var(--bg-surface);
    transition: background-color 0.25s ease;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.filter-btn {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

.filter-btn.active {
    color: var(--text-inverse);
    background: var(--brand-black);
    font-weight: 600;
}

.filter-btn-upcoming {
    display: inline-flex;
    align-items: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 1.25rem;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
    }
}

@media (max-width: 420px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.product-card:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-subtle);
}

.product-card .img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg-muted);
    overflow: hidden;
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .img-wrap img {
    transform: scale(1.025);
}

/* Subtle, authentic status badge */
.product-status-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(17, 17, 17, 0.9);
    color: #FFFFFF;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

.product-status-tag.sale {
    background: #DC2626;
}

.soldout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.soldout-pill {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--brand-black);
    color: var(--text-inverse);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
}

.product-details {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.price-current {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Size Chips */
.size-selector-row {
    margin-bottom: 1rem;
}

.size-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.size-chip {
    min-width: 2rem;
    height: 1.85rem;
    padding: 0 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.size-chip:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.size-chip.selected {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--text-inverse);
}

/* Product WhatsApp Button */
.product-wa-btn {
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.product-wa-btn:hover {
    background: var(--wa-bg);
    border-color: var(--wa-border);
    color: var(--wa-green-hover);
}

.product-wa-btn i {
    color: var(--wa-green);
    font-size: 0.9375rem;
}

.product-wa-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--bg-subtle) !important;
    border-color: var(--border-light) !important;
    color: var(--text-muted) !important;
}

/* ── 7. PAGINATION ── */
.pagination-container {
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.page-btn {
    min-width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--brand-black);
    color: var(--text-primary);
}

.page-btn.active {
    background: var(--brand-black);
    border-color: var(--brand-black);
    color: var(--text-inverse);
    font-weight: 600;
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ── 8. BRAND VALUES / WHY RB OUTFITX ── */
.features-section {
    padding: 4.5rem 1.5rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── 9. RETURN & EXCHANGE (HIND SILIGURI BANGLA TYPOGRAPHY) ── */
.return-section {
    padding: 5rem 1.5rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.25s ease, border-color 0.25s ease;
    font-family: var(--font-bangla);
}

.return-inner {
    max-width: 52rem;
    margin: 0 auto;
    font-family: var(--font-bangla);
}

.return-inner .section-title,
.return-inner .section-desc {
    font-family: var(--font-bangla);
}

.return-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 640px) {
    .return-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.return-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    font-family: var(--font-bangla);
}

.return-card-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-main);
}

.return-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-family: var(--font-bangla);
    line-height: 1.4;
}

.return-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-family: var(--font-bangla);
}

.return-notice-banner {
    margin-top: 2rem;
    background: var(--notice-bg);
    border: 1px solid var(--notice-border);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1.35rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    font-family: var(--font-bangla);
}

.return-notice-banner i {
    color: var(--notice-icon);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.return-notice-banner p {
    font-size: 0.95rem;
    color: var(--notice-text);
    line-height: 1.6;
    font-family: var(--font-bangla);
}

.return-actions {
    margin-top: 2.5rem;
    text-align: center;
    font-family: var(--font-bangla);
}

.return-actions-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-bangla);
}

.return-btn-group {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* ── 10. COMPACT, PROFESSIONAL FOOTER ── */
.footer {
    padding: 4.5rem 1.5rem 2.5rem;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer-inner {
    max-width: 78rem;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 540px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 22rem;
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 0.65rem;
}

.footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: var(--bg-surface);
    transition: all 0.15s ease;
}

.footer-social-link:hover {
    border-color: var(--brand-black);
    color: var(--text-primary);
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.15rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

.footer-links-list a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── 11. PRODUCT MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 52rem;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-modal);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    transition: background 0.15s ease;
}

.modal-close-btn:hover {
    background: var(--bg-subtle);
}

.modal-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

@media (max-width: 720px) {
    .modal-inner {
        grid-template-columns: 1fr;
    }
}

.modal-gallery {
    background: var(--bg-muted);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

@media (max-width: 720px) {
    .modal-gallery {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}

.modal-main-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.modal-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb-strip {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    overflow-x: auto;
}

.modal-thumb {
    width: 3.5rem;
    height: 4.25rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--bg-muted);
}

.modal-thumb.active {
    border-color: var(--brand-black);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
}

.modal-cat-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.modal-delivery-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    text-align: center;
}

.modal-delivery-pill i {
    color: #16A34A;
    font-size: 0.875rem;
}

.modal-delivery-pill strong {
    color: var(--text-primary);
}

.modal-wa-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--brand-black);
    color: var(--text-inverse);
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
    margin-top: 1rem;
}

.modal-wa-btn:hover {
    background: var(--brand-hover);
}

.modal-wa-btn i {
    color: #25D366;
    font-size: 1.1rem;
}

/* ── 12. FLOATING ACTION BUTTONS ── */
#floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 90;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-pill);
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#floating-whatsapp:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

#floating-whatsapp i {
    font-size: 1.75rem;
}

#floating-messenger {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 90;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-pill);
    background: #0084FF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.3);
    transition: transform 0.2s ease;
}

#floating-messenger:hover {
    transform: scale(1.06);
}

#floating-messenger i {
    font-size: 1.35rem;
}

/* Toast */
#toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    background: var(--brand-black);
    color: var(--text-inverse);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
