/* public/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Palette — strictly enforced */
    --ink: #0D0D0D;
    /* Primary text, backgrounds */
    --paper: #FFFFFF;
    /* Page background */
    --red: #00e650;
    /* Brand accent — buttons, highlights, tags */
    --red-deep: #00b347;
    /* Hover state for red */
    --off: #F8F8F8;
    /* Card backgrounds, alternating sections */
    --light-gray: #E8E5DF;
    /* Borders, dividers */
    --mid-gray: #55514E;
    /* Secondary text, metadata — darkened for contrast */

    /* Typography */
    --f-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Headlines, prices, logos */
    --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Body text, descriptions */
    --f-semi: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Labels, nav, buttons */
    --f-mono: 'Inter', 'JetBrains Mono', monospace;
    /* Tags, codes, metadata */

    --ease: cubic-bezier(.25, .46, .45, .94);
}

.auth-section {
    padding: 160px 0 120px;
    background: var(--off);
}

@media (max-width: 1024px) {
    .auth-section {
        padding: 240px 0 120px;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 300px 0 120px;
    }
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-split.reverse .auth-form-side {
    order: 2;
}

.auth-split.reverse .auth-graphic-side {
    order: 1;
}

.auth-form-side {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
    animation: fadeInSide 0.8s var(--ease);
}

.auth-graphic-side {
    position: relative;
    background: var(--ink);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    animation: fadeInSide 1.2s var(--ease);
}

@keyframes fadeInSide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-split.reverse .auth-form-side {
    animation-name: fadeInRight;
}

.auth-split.reverse .auth-graphic-side {
    animation-name: fadeInLeft;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-graphic-side {
        height: 340px;
        position: relative;
    }

    .auth-form-side {
        padding: 60px 24px;
        order: 2;
    }

    .auth-split.reverse .auth-form-side {
        order: 2;
    }

    .auth-split.reverse .auth-graphic-side {
        order: 1;
    }

    .auth-graphic-side h2 {
        font-size: 32px !important;
    }
}

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

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

html.is-locked,
body.is-locked {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

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

button {
    font-family: inherit;
}

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

/* ── UTILITIES ──────────────────────────────────────────── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Reduced from 40px */
@media (max-width: 768px) {

    .container,
    .container-fluid {
        padding: 0 16px;
    }
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--red);
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all .4s cubic-bezier(0.19, 1, 0.22, 1);
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.nav > .ghana-topbar { flex: 0 0 auto; }
.nav > .nav-inner { flex: 1 1 auto; width: 100%; padding-top: 8px; padding-bottom: 8px; }

@media (max-width: 1024px) {
    .nav {
        /* min-height: 90px; */
    }
}

.nav.nav-home {
    position: fixed;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}
.nav.nav-home .nav-link {
    color: var(--mid-gray);
}
.nav.nav-home .nav-link:hover {
    color: var(--ink);
}
.nav.nav-home .nav-cart {
    color: var(--ink);
    background: transparent;
}
.nav.nav-home .nav-icon-btn,
.nav.nav-home .mobile-search-toggle {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.04);
}
.nav.nav-home .nav-icon-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}
.nav.nav-home .nav-cat-trigger .hamburger-mini svg {
    stroke: var(--ink);
}
.nav.nav-home .nav-cat-link {
    color: var(--mid-gray);
}
.nav.nav-home .nav-cat-link:hover {
    color: var(--ink);
}

.nav.nav-scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav.nav-scrolled .nav-logo {
    color: var(--ink);
}

.nav.nav-scrolled .nav-link {
    color: var(--mid-gray);
}

.nav.nav-scrolled .nav-link:hover {
    color: var(--ink);
}

.nav.nav-scrolled .nav-cart {
    background: transparent;
    color: var(--ink);
}

.nav.nav-scrolled .cart-badge {
    border-color: var(--paper);
}

.nav.nav-scrolled .hamburger span {
    background: var(--ink);
}

.nav.nav-scrolled .mobile-search-toggle {
    color: var(--ink);
}

.nav.nav-scrolled .nav-cat-label {
    color: var(--ink);
}

.nav.nav-scrolled .nav-cat-trigger .hamburger-mini span {
    background: var(--ink);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    /* height: 160px; */
    /* Mega-scale for PC as requested */
    width: auto;
    display: block;
    transition: transform .3s var(--ease);
    user-select: none;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .logo-img {
        /* height: 120px; */
        flex-shrink: 0;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .logo-img {
        /* height: 100px; */
        flex-shrink: 0;
        width: auto;
        max-width: none;
    }
}

.nav-brand-text {
    display: none;
    /* Hide old text if still present anywhere */
}

.footer-logo-text {
    display: none;
}

.nav-links {
    display: flex;
    gap: 64px;
    align-items: center;
}

/* Category Navigation Rail (Row 2) */
.nav-cat-rail {
    display: flex;
    justify-content: center;
    gap: 32px;
    /* Smoother, tighter gap */
    padding: 0;
    margin-top: -30px;
    /* Extreme lift toward search bar */
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.nav-cat-link {
    font-family: var(--f-semi);
    font-size: 13px;
    font-weight: 800;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.nav-cat-link:hover,
.nav-cat-link.active {
    color: var(--red);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .nav-cat-rail {
        display: none;
    }

    /* Handled by mobile menu */
}

.nav-link {
    font-family: var(--f-semi);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--mid-gray);
    text-transform: uppercase;
    transition: color .2s;
    position: relative;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    height: 100%;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 4px;
    align-self: center;
    opacity: 0.5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: nowrap;
    height: 100%;
    transition: gap .3s ease;
}

@media (max-width: 1024px) {
    .nav-actions {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 12px;
    }
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 0;
    color: var(--ink);
    transition: all .2s;
}

.nav-cart:hover {
    background: var(--light-gray);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
    border: 2px solid var(--paper);
}

/* ── CATEGORY DROPDOWN (JUMIA STYLE) ────────────────── */
.nav-cat-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background .2s;
    position: relative;
}

.nav-cat-trigger:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-cat-trigger .hamburger-mini {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 14px;
}

.nav-cat-trigger .hamburger-mini span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
}

.nav-cat-label {
    font-family: var(--f-semi);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
}

.cat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    width: 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    /* Ensure vertical stack */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

/* Hover Bridge (No longer needed for click, but kept for spacing) */
.cat-dropdown::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-cat-trigger.active .cat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Arrow pointer */
.cat-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cat-drop-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.cat-drop-item:hover {
    background: var(--off);
    color: var(--red);
    padding-left: 28px;
}

.cat-drop-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid-gray);
    opacity: 0.7;
    transition: color .2s;
}

.cat-drop-item:hover .cat-drop-icon {
    color: var(--red);
    opacity: 1;
}

/* ── ACCOUNT DROPDOWN (JUMIA STYLE) ────────────────── */
.nav-account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background .2s;
    position: relative;
}

.nav-account-trigger:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-acc-label {
    font-family: var(--f-semi);
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 4px;
}

.acc-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    width: 240px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

/* Hover Bridge */
.acc-dropdown::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-account-trigger.active .acc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Arrow pointer */
.acc-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.acc-drop-btn {
    margin: 0 16px 12px;
    height: 44px;
    background: #FF9900;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    transition: all .2s;
}

.acc-drop-btn:hover {
    background: #e68a00;
    transform: translateY(-1px);
}

/* --- Wishlist Buttons --- */
.card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s var(--ease);
    z-index: 10;
    color: #ccc;
}

.card-wishlist:hover {
    transform: scale(1.1);
    color: var(--red);
    border-color: rgba(229, 0, 26, 0.1);
}

.card-wishlist svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    transition: all 0.2s;
}

.card-wishlist.active svg {
    fill: var(--red);
    stroke: var(--red);
}

.card-wishlist.active {
    color: var(--red);
    border-color: rgba(229, 0, 26, 0.1);
}

/* ── MODERN APP HEADER ────────────────────────────────── */
.nav-inner {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 1400px;
    margin: 0 auto;
    /* Added max-width to keep elements clustered in the center */
}

/* Row 1: Actions & Brand */
.nav-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    gap: 64px;
    /* Increased gap to frame logo/search/icons group */
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    /* height: 160px; */
    /* Refined for Mega-PC look */
    width: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .nav-logo-img {
        height: 32px;
    }
}

/* Action Icons (Rounded Squares) */
.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f4f5f7;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all .3s var(--ease);
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: #eaecf0;
    transform: translateY(-1px);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

/* Right Icons Group */
.nav-right-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    /* Removed margin-left: auto to bring them closer to search */
}

/* Cart Badge Positioning */
.nav-icon-btn .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ffc107;
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

/* Row 2: Pill Search */
.nav-bottom {
    width: 100%;
    margin-top: -10px;
    /* Pull search bar up toward logo */
}

.nav-search-pill {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 100px;
    height: 48px;
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.nav-search-pill:focus-within {
    border-color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-search-pill input {
    width: 100%;
    height: 100%;
    padding: 0 48px 0 20px;
    background: transparent;
    border: none;
    border-radius: 100px;
    font-family: var(--f-body);
    font-size: 14px;
    color: var(--ink);
}

.nav-search-pill .search-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-search-pill .search-btn:hover {
    color: var(--ink);
}

/* Suggestion Box anchoring */
.search-suggestions {
    top: calc(100% + 12px) !important;
}

/* Hamburger Fix */
.hamburger-square {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

/* Desktop Dual-Rail Restoration */
@media (min-width: 1025px) {
    .nav {
        padding: 8px 0 0;
    }

    .nav-inner {
        display: grid;
        grid-template-columns: 200px 1fr 200px;
        grid-template-rows: auto auto;
        gap: 0 40px;
    }

    /* Use 'contents' to allow children (Logo, Icons, Search) to sit in the same grid */
    .nav-top {
        display: contents;
    }

    .nav-bottom {
        display: contents;
    }

    .nav-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: flex-start;
        align-self: center;
    }

    /* Search Pill centered in the top row */
    .nav-search-pill {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        align-self: center;
    }

    .nav-right-icons {
        grid-column: 3;
        grid-row: 1;
        justify-self: flex-end;
        align-self: center;
    }

    /* Dedicated Category Rail (Row 2) */
    .nav-cat-rail {
        grid-column: 1 / 4;
        grid-row: 2;
        display: flex;
        justify-content: center;
        gap: 40px;
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
        margin-top: -24px;
        /* Extreme pull up */
    }

    .nav-cat-link {
        font-family: var(--f-semi);
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        text-decoration: none;
        transition: all .3s var(--ease);
        position: relative;
        padding: 4px 0;
    }

    .nav-cat-link:hover {
        color: #00e650;
    }

    .nav-cat-link.active {
        color: #00e650;
    }

    .nav-cat-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #00e650;
    }
}

@media (max-width: 1024px) {
    .nav-top {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 4px 8px;
        gap: 4px;
    }

    .hamburger-square {
        order: 1;
        flex-shrink: 0;
    }

    .nav-brand {
        order: 2;
        padding: 0;
        margin-left: 0;
        flex-shrink: 0;
    }

    .logo-img {

        height: 34px;
        width: auto;
        flex-shrink: 0;
    }

    .nav-search-pill {
        display: none !important;
    }

    .nav-search-pill.is-active {
        display: flex !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0 16px;
        background: #fff;
        z-index: 2000;
        border-radius: 0;
        border: none;
        align-items: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .nav-search-pill input {
        padding: 0 32px 0 12px;
        font-size: 13px;
    }

    .nav-search-pill .search-btn {
        right: 16px;
        height: 100%;
        background: transparent;
    }

    .nav-search-pill.is-active .search-btn {
        display: none !important;
    }

    .mobile-search-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        color: var(--ink);
        padding: 0;
        margin-right: 8px;
        cursor: pointer;
    }

    .mobile-search-close svg {
        width: 20px;
        height: 20px;
    }

    .nav-right-icons {
        order: 4;
        margin-left: 4px;
        gap: 2px;
        flex-shrink: 0;
    }

    .nav-icon-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: transparent;
    }

    .nav-icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .nav-cat-rail {
        display: none;
    }

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

/* Hide toggle icon on desktop */
@media (min-width: 1025px) {

    #mobile-search-toggle,
    .mobile-search-close {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .logo-img {
        /* height: 28px; */
    }

    .nav-top {
        padding: 8px 12px;
        gap: 12px;
        position: relative;
        overflow: visible;
        /* Fix: Allow search suggestions to overflow */
    }

    .nav-search-pill input {
        font-size: 11px;
    }

    /* Hide Wishlist on extra small screens to save space */
    .nav-icon-btn[aria-label="Wishlist"] {
        display: none;
    }
}

@media (max-width: 400px) {
    .nav-top {
        gap: 8px;
    }

    .nav-brand-text {
        font-size: 20px;
    }

    .nav-icon-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .nav-icon-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}

.acc-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

.acc-drop-item:hover {
    background: var(--off);
    color: var(--red);
    opacity: 1;
}

.acc-drop-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid-gray);
    opacity: 0.7;
}

.acc-drop-item:hover .acc-drop-icon {
    color: var(--red);
    opacity: 1;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 36px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all .4s var(--ease);
    position: relative;
}

.btn-red:hover {
    background: var(--ink);
    color: #fff;
}

.btn-ink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 36px;
    background: var(--ink);
    color: #fff;
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all .4s var(--ease);
}

.btn-ink:hover {
    transform: translateY(-1px);
}

/* --- Hero Slider (Grid Stack Upgrade) --- */
.hero-slider {
    position: relative;
    width: 100%;
    background: var(--ink);
    display: grid;
    /* Switched to Grid for content-aware height */
    grid-template-columns: 1fr;
    min-height: 85vh;
}

@media (max-width: 1024px) {
    .hero-slider {
        min-height: 70vh;
    }
}

.hero-slide {
    grid-area: 1 / 1;
    /* All slides stack in the first grid cell */
    position: relative;
    /* No longer absolute, so parent sees its height */
    width: 100%;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: all .6s cubic-bezier(0.19, 1, 0.22, 1);
}

.dot.active {
    width: 32px;
background: #00e650;
        /* Matching brand green */
}

.btn-red,
.btn-ink,
.btn-ghost {
    white-space: nowrap;
}

/* --- Product Slider --- */
.slider-container {
    position: relative;
    width: 100%;
}

.slider-viewport {
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    display: flex !important;
    padding-bottom: 20px;
    margin-bottom: -20px;
    -webkit-overflow-scrolling: touch !important;
}

.slider-viewport::-webkit-scrollbar {
    display: none !important;
}

.slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    padding: 10px 0;
}

.slider-track .card {
    flex: 0 0 180px !important;
    width: 180px !important;
    max-width: 180px !important;
    scroll-snap-align: start !important;
}

@media (max-width: 1024px) {
    .slider-track .card {
        flex: 0 0 160px !important;
        width: 160px !important;
        max-width: 160px !important;
    }

    .slider-nav {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .slider-track .card {
        flex: 0 0 calc(50vw - 22px) !important;
        width: calc(50vw - 22px) !important;
        max-width: calc(50vw - 22px) !important;
        min-width: unset !important;
    }

    .slider-track {
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .slider-track .card {
        flex: 0 0 calc(50vw - 22px) !important;
        width: calc(50vw - 22px) !important;
        max-width: calc(50vw - 22px) !important;
        min-width: unset !important;
    }
}

.slider-nav {
    display: flex;
    gap: 12px;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    color: var(--ink);
}

.slider-nav-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.slider-nav-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-scroll-hint {
    display: none;
    font-family: var(--f-semi);
    font-size: 10px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .1em;
}

@media (max-width: 768px) {
    .mobile-scroll-hint {
        display: block;
    }
}

.hero-left {
    position: relative;
    z-index: 10;
    min-height: 100%;
    padding: 120px 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-slide .hero-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-heading {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: clamp(48px, 9vw, 96px);
    line-height: .82;
    letter-spacing: -.06em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-heading .red {
    color: var(--red);
}

.hero-heading .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px currentColor;
}

/* Modifier for light background headings */
h2.hero-heading .outline {
    -webkit-text-stroke: 1.5px var(--ink);
}

.hero-heading .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #fff;
}

.sec-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.eyebrow-num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--mid-gray);
}

.eyebrow-text {
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

.eyebrow-line {
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

/* ── UNIVERSAL MOBILE OVERRIDES ────────────────────────── */
@media (max-width: 768px) {

    /* Prevent horizontal scroll on mobile */
    html,
    body {
        overflow-x: hidden !important;
    }

    /* Reduce Top Spacing for Mobile (Search Header is fixed) */
    .shop-content,
    .cart-page,
    .co-page,
    .auth-section {
        padding-top: 0 !important;
    }

    .container {
        padding: 0 16px !important;
    }

    .nav-inner {
        padding: 0 12px !important;
    }

    /* Product Gallery Thumbnails */
    .product-gallery div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    /* Checkout Payment Grid */
    .pay-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Cart Row Adjustments */
    .cart-row {
        grid-template-columns: 80px 1fr !important;
        padding: 16px !important;
    }

    .ci-img {
        width: 80px !important;
        height: 80px !important;
    }

    .ci-name {
        font-size: 14px !important;
    }

    /* Final 2-Column Grid Enforcement */
    .product-grid,
    .products-grid,
    .feat-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        display: grid !important;
    }

    .feat-hero-card {
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .hero-heading {
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 380px) {
    .product-gallery div[style*="grid-template-columns"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .pay-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet & Mobile */
@media (max-width: 1024px) {
    .hero-left {
        background: linear-gradient(to top, rgba(13, 13, 13, 0.8), transparent);
    }

    .hero-heading {
        font-size: 80px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .account-page .container {
        padding: 0 24px;
    }

    .account-page>.container>div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    aside {
        position: static !important;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-auth {
        display: none;
    }

    /* Hide desktop links and auth */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .hero-heading {
        font-size: 56px;
    }

    @media (max-width: 480px) {
        .hero-heading {
            font-size: 42px;
            line-height: 0.9;
        }

        .nav-logo {
            font-size: 20px;
        }
    }

    .hero-slider {
        height: auto !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-slide {
        position: relative !important;
        height: 100vh !important;
        min-height: 100vh !important;
        display: none !important;
        /* Managed by .active class */
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .hero-slide.active {
        display: flex !important;
    }

    .hero-left {
        padding: 100px 24px 60px !important;
        flex: 1 !important;
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        background: linear-gradient(to top, rgba(13, 13, 13, 0.95), rgba(13, 13, 13, 0.4)) !important;
        z-index: 5 !important;
    }

    .hero-right {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .hero-heading {
        font-size: clamp(32px, 12vw, 56px) !important;
        line-height: 1 !important;
        margin-bottom: 24px !important;
    }

    .hero-left p {
        font-size: 17px !important;
        margin: 0 auto 32px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .slider-dots {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .cart-page-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── MOBILE MENU ────────────────────────────────────────── */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.4);
    z-index: 900;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all .4s var(--ease);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hamburger {
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 300;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    position: absolute;
    left: 4px;
    transition: transform .3s var(--ease), opacity .3s;
}

.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 16px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    z-index: 2100;
    padding: 100px 32px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(-105%);
    transition: transform .5s var(--ease);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 2;
}

.menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f4f5f7;
    border-radius: 12px;
    border: none;
    color: var(--ink);
    transition: all .3s var(--ease);
}

.menu-close:hover {
    background: #eaecf0;
    transform: rotate(90deg);
}

.mobile-link {
    font-family: var(--f-semi);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: .05em;
    padding: 10px 0;
    display: block;
}

.mobile-link.red {
    color: var(--red);
}

/* ── FEATURED DROPS (NEXUS V3) ─────────────────────────── */
.featured {
    padding: 40px 0 100px;
}

.feat-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.feat-hero-section {
    padding: 100px 0;
    position: relative;
    scroll-margin-top: 100px;
    /* Offset for fixed navbar */
}

.feat-hero-card {
    grid-row: 1 / 3;
    position: relative;
    background: var(--off);
    overflow: hidden;
    border-radius: 40px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feat-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease);
}

.feat-hero-card:hover .feat-hero-img {
    transform: scale(1.05);
}

.feat-hero-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 100%);
}

.feat-hero-cat {
    font-family: var(--f-semi);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.feat-hero-title {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.feat-hero-price {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
}

.feat-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
    z-index: 2;
}

.feat-small-card {
    background: var(--off);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .25s var(--ease);
}

.feat-small-card:hover {
    transform: translateY(-4px);
}

.feat-small-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
    width: 100%;
}

.feat-small-card:hover .feat-small-img {
    transform: scale(1.06);
}

.feat-small-body {
    padding: 16px 18px 20px;
}

.feat-small-cat {
    font-family: var(--f-semi);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.feat-small-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.01em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.feat-small-price {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.01em;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mid-gray);
    transition: color .2s;
    text-decoration: none;
    padding: 0;
}

.btn-ghost:hover {
    color: var(--red);
}

/* ── REVEAL ─────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.rd1 {
    transition-delay: .1s;
}

.rd2 {
    transition-delay: .18s;
}

.rd3 {
    transition-delay: .26s;
}

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

    .feat-hero-card {
        grid-row: auto;
    }

    .feat-hero-img {
        height: 380px;
    }
}

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

/* ── BESTSELLERS SECTION ────────────────────────────── */
.sec-head {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--extra-light-gray);
    padding-bottom: 16px;
}

.sec-head>div:first-child {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    min-width: 0;
}

.sec-title-box {
    flex-shrink: 0;
    white-space: nowrap !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sec-head .hero-heading {
    font-size: clamp(20px, 5vw, 64px);
    max-width: none !important;
    line-height: 0.9;
}

@media (max-width: 768px) {
    .sec-head .hero-heading {
        font-size: 28px !important;
        white-space: normal !important;
    }
}

.sec-head>div:first-child::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 8px;
    /* Perfectly aligned with the bottom of the text */
}

@media (max-width: 768px) {
    .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
        border: none;
        padding: 0;
    }

    .sec-head>div:first-child {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0;
        overflow: visible;
    }

    .sec-title-box {
        white-space: nowrap !important;
        width: 100% !important;
        flex-shrink: 0;
        overflow: visible;
    }

    .sec-head>div:first-child::after {
        display: none !important;
    }

    /* Hide bridge line to prevent text cutoff on mobile */

    .sec-title-box .hero-heading {
        font-size: clamp(18px, 8vw, 28px) !important;
    }

    .sec-title-box .sec-over {
        font-size: 8px !important;
        margin-bottom: 4px;
        border-left: 2px solid var(--red);
        padding-left: 8px;
    }
}

.sec-over {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sec-over::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--red);
}

.products-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: center;
    gap: 12px;
    margin-bottom: 80px;
}

/* ── SHOP MOBILE REFINEMENT ────────────────────────── */
@media (max-width: 768px) {
    .shop-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .shop-sidebar {
        position: sticky;
        top: 60px;
        /* Sticky below main nav (assuming ~60px nav height) */
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        margin: 0 calc(var(--container-padding) * -1) 32px;
        /* Pull to edge */
        padding: 12px 24px;
        border-bottom: 1px solid var(--light-gray);
        -webkit-overflow-scrolling: touch;
    }

    .shop-sidebar h3 {
        display: none;
    }

    /* Hide 'Categories' header on mobile */
    .shop-sidebar div {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        gap: 8px !important;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .shop-sidebar div::-webkit-scrollbar {
        display: none;
    }

    .shop-sidebar a.cat-link {
        flex: 0 0 auto;
        padding: 8px 20px;
        background: #fff;
        border: 1px solid var(--light-gray);
        border-radius: 100px;
        font-size: 10px !important;
        font-weight: 800 !important;
        letter-spacing: 0.05em;
        white-space: nowrap;
        transition: all 0.2s var(--ease);
    }

    .shop-sidebar a.cat-link.active {
        background: var(--red);
        color: #fff !important;
        border-color: var(--red);
        box-shadow: 0 4px 12px rgba(188, 14, 45, 0.2);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .shop-content {
        padding-top: 80px !important;
    }
}

/* ── FOOTER REFINEMENT ─────────────────────────────── */
.footer {
    background: var(--ink);
    color: #fff;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-logo {
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 32px;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-logo .dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    margin-top: 2px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 32px;
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: 4px;
}

.fsoc {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    transition: all .2s;
    letter-spacing: .04em;
}

.fsoc:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.footer-col-label {
    font-family: var(--f-semi);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col-link {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
    transition: color .2s;
}

.footer-col-link:hover {
    color: var(--red);
}

.footer-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.fpay {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 500;
    padding: 4px 10px;
    letter-spacing: .06em;
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .3);
    border-radius: 2px;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
}

.footer-copy {
    font-family: var(--f-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .06em;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-family: var(--f-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, .2);
    transition: color .2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, .5);
}

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ── HOMEPAGE FLASH DEALS MATCH ────────────────────── */
.featured .sec-head {
    align-items: center;
    margin-bottom: 64px;
}

.featured .hero-heading {
    font-family: var(--f-display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.04em;
}

@media (max-width: 768px) {
    .featured .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .featured .btn-ghost {
        align-self: flex-end;
        font-size: 11px;
    }

    .featured .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 12px !important;
    }
}

.card-cat {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #00e650 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}

.card-add-btn {
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: var(--f-semi);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(188, 14, 45, 0.15);
    display: block;
    text-align: center;
    text-decoration: none;
}

/* ── PRODUCT CARD TAGS REFINEMENT ──────────────────── */
.card-tags-mini {
    display: flex;
    gap: 6px;
    height: 24px;
    /* Essential for perfect vertical alignment */
    margin: 8px 0 12px;
    align-items: center;
}

.card-tags-mini span {
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    background: #fdfdfd;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.card-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 14, 45, 0.25);
    background: #c50d26;
}

.p-carousel-sec {
    margin: 100px 0;
}

.p-carousel-wrap {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.p-carousel-wrap::-webkit-scrollbar {
    display: none;
}

.p-item {
    flex: 0 0 calc(25% - 30px);
    scroll-snap-align: start;
    min-width: 280px;
    transition: transform .4s var(--ease);
}

@media (max-width: 1024px) {
    .p-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 640px) {
    .p-item {
        flex: 0 0 85%;
    }
}

.p-item-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 24px;
    background: transparent;
    /* No box */
}

.p-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Don't crop, show full product */
    transition: transform .8s var(--ease);
}

.p-item:hover .p-item-img img {
    transform: translateY(-8px);
}

.p-item-cat {
    font-family: var(--f-semi);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--red);
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.p-item-name {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .product-page {
        padding: 0px 0 80px !important;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink) !important;
}

.star-pick.active {
    color: var(--red);
}

.review-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.review-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

form button[type="submit"]:hover {
    border-color: var(--red) !important;
}

.p-item-price {
    font-family: var(--f-body);
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
}

.p-item-price::before {
    content: '₵';
}

/* ── PRODUCT GRID & CARDS (COMPACT REDESIGN) ──────────── */

.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s ease;
    position: relative;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    background: #fafafa;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.card:hover .card-img img {
    transform: scale(1.06);
}

/* Tags */
.card-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 5;
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.card-tag.discount {
    background: #00e650;
    color: #fff;
}

.card-tag.new {
    background: var(--ink);
    color: #fff;
}

.card-tag.preorder {
    background: #4F46E5;
    color: #fff;
}

.card-tag.outofstock {
    background: #374151;
    color: #f3f4f6;
}

.card-tag.lowstock {
    background: #D97706;
    color: #fff;
}

/* Arrow link */
.card-action-arrow {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.85);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .25s ease;
}

.card-action-arrow svg {
    width: 14px;
    height: 14px;
}

.card:hover .card-action-arrow {
    opacity: 1;
}

/* Card Body */
.card-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-grow: 1;
    text-align: left;
}

/* Quick action buttons overlay */
.card-actions {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    gap: 4px;
    z-index: 10;
    opacity: 0;
    transform: translateY(6px);
    transition: all .3s ease;
}

.card-img-wrap:hover .card-actions {
    opacity: 1;
    transform: translateY(0);
}

.card-wish-btn,
.card-share-btn,
.card-cart-btn {
    flex: 1;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    color: var(--ink);
}

.card-wish-btn svg,
.card-share-btn svg,
.card-cart-btn svg {
    width: 15px;
    height: 15px;
}

.card-wish-btn:hover,
.card-share-btn:hover,
.card-cart-btn:hover {
    background: var(--ink);
    color: #fff;
}

.card-cart-btn.preorder {
    background: #4F46E5;
    color: #fff;
    font-family: var(--f-mono);
    font-size: 8px;
    font-weight: 800;
}

.card-cart-btn.preorder:hover {
    background: #4338CA;
    color: #fff;
}

.card-cart-btn.disabled {
    background: rgba(200, 200, 200, 0.5) !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}

.card-cart-btn.disabled:hover {
    background: rgba(200, 200, 200, 0.5) !important;
    color: #9ca3af !important;
}

.card-wish-btn.active {
    color: var(--red);
}

.card-wish-btn.active svg {
    fill: var(--red);
    stroke: var(--red);
}

.pulse-heart svg {
    animation: heartPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .card-actions {
        opacity: 1;
        transform: none;
    }

    .card-wish-btn,
    .card-share-btn,
    .card-cart-btn {
        height: 28px;
    }

    .card-action-arrow {
        display: none;
    }
}

/* ── ACCOUNT DROPDOWN ────────────────────────────── */
.nav-account-trigger {
    position: relative;
}

.acc-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -10px;
    width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    z-index: 1000;
}

.nav-account-trigger.active .acc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.acc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--mid-gray);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s var(--ease);
}

.acc-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: 0.25s;
}

.acc-link:hover {
    background: var(--off);
    color: var(--ink);
}

.acc-link:hover svg {
    opacity: 1;
    transform: translateX(2px);
}

.acc-link.logout {
    color: var(--red);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 4px;
    padding-top: 16px;
    border-radius: 0 0 10px 10px;
}

.acc-link.logout:hover {
    background: #FFF5F6;
}

/* ── SLIDER NAVIGATION ───────────────────────────── */
/* slider nav removed from here to clean up */

.slider-nav {
    display: flex;
    gap: 24px;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.slider-nav-btn:hover {
    background: var(--ink);
    color: #fff;
    transform: scale(1.08);
}

.slider-nav-btn svg {
    transition: transform 0.3s;
}

.slider-nav-btn.prev:hover svg {
    transform: translateX(-2px);
}

.slider-nav-btn.next:hover svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
}

/* ── ACCOUNT & WISHLIST GRID ────────────────────────── */
.account-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.account-sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 120px;
}

.wish-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 24px;
    transition: all 0.3s var(--ease);
}

.wish-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .account-sidebar {
        position: static;
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .wish-card {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 16px;
    }

    .wish-card .wish-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f5f5f5;
        padding-top: 16px;
        margin-top: 8px;
    }
}

.swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-cat {
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mid-gray);
    letter-spacing: .06em;
}

.card-name {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -.01em;
    height: 31px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-area {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}

.card-price {
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
}

.card-price-old {
    font-family: var(--f-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--mid-gray);
    text-decoration: line-through;
}

.card-rating {
    display: flex;
    gap: 1px;
    color: var(--light-gray);
    font-size: 9px;
    transition: opacity 0.3s;
}


.card-rating.faded {
    opacity: 0.3;
}

.card-rating .star.filled {
    color: var(--mid-gray);
}

/* Softer stars as in image */

/* Hide standard Add to Cart in the grid for this cleaner look */
.card-add-form {
    display: none;
}

.card-add-form {
    padding-top: 8px;
    margin-top: auto;
    /* Push to bottom of card-body */
    z-index: 5;
}

.card-add-btn {
    width: 100%;
    height: 32px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: var(--f-semi);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(229, 0, 26, 0.15);
    transition: background .2s, transform .2s;
}

.card-add-btn:hover {
    background: var(--red-deep);
    transform: scale(1.02);
}

.card-add-btn:active {
    transform: scale(0.98);
}

/* ── EDITORIAL POLISH ───────────────────────────────── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 0;
    border-top: 1px solid var(--light-gray);
}

.stat-card {
    text-align: center;
}

.stat-num {
    font-family: var(--f-display);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.stat-label {
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--mid-gray);
    margin-top: 12px;
}


/* ── TOAST NOTIFICATION ──────────────────────────────── */
#toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all .5s cubic-bezier(.23, 1, .32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* MOBILE OVERRIDES CONSOLIDATED IN FLASH DEALS AND SHOP SECTIONS */

.order-grid {
    display: grid;
    grid-template-columns: 120px 1fr 100px 100px;
    gap: 20px;
    align-items: center;
}

@media (max-width: 1024px) {
    .account-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .account-grid aside {
        position: static !important;
        border-right: none !important;
        border-bottom: 1px solid var(--light-gray);
        padding: 0 0 40px !important;
        margin-bottom: 40px;
    }

    .order-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .order-grid div:nth-child(1) {
        grid-column: 1 / 2;
    }

    .order-grid div:nth-child(2) {
        grid-column: 2 / 3;
        text-align: right;
    }

    .order-grid div:nth-child(3) {
        grid-column: 1 / 2;
    }

    .order-grid div:nth-child(4) {
        grid-column: 2 / 3;
        text-align: right;
    }
}

/* Admin Mobile */
@media (max-width: 900px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0 !important;
        padding: 20px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Search Suggestions --- */
.search-suggestions {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    background: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.95rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-main, var(--ink));
    transition: background 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item:focus {
    background: rgba(0, 0, 0, 0.03);
}

.suggestion-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--bg-body, var(--off));
}

.suggestion-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.suggestion-empty {
    padding: 15px;
    text-align: center;
    color: var(--text-muted, var(--mid-gray));
    font-style: italic;
}

/* ── PROMOTIONAL POPUP ────────────────────────────────── */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: promoFade 0.4s ease forwards;
}

.promo-modal {
    background: #fff;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: promoScale 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.promo-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--light-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.promo-close:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: rotate(90deg);
}

.promo-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.promo-content.no-img {
    grid-template-columns: 1fr !important;
}

.promo-text-side {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.promo-label {
    font-family: var(--f-semi);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--green, #0a4722);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-title {
    font-family: var(--f-display);
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 12px;
    word-break: break-word;
}

.promo-desc {
    font-size: 14px;
    color: var(--mid-gray);
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--green, #0a4722);
    color: #ffffff !important;
    border-radius: 9999px;
    font-family: var(--f-display);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 14px rgba(10, 71, 34, 0.25);
    width: fit-content;
}

.btn-promo:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.promo-img-side {
    background: #f8f8f8;
    position: relative;
    height: 500px;
}

.promo-img-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
}

/* --- Newsletter Specific --- */
.popup-mode-newsletter {
    max-width: 550px;
}

.popup-mode-newsletter .promo-content {
    display: block !important;
}

.promo-top-img {
    width: 100%;
    height: 180px;
    background: #f8f8f8;
    overflow: hidden;
}

.promo-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-title {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.newsletter-pill-form {
    margin: 24px 0;
}

.pill-container {
    display: flex;
    background: #fff;
    border: 2px solid var(--light-gray);
    border-radius: 100px;
    padding: 6px;
    transition: all 0.3s;
}

.pill-container:focus-within {
    border-color: var(--red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pill-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-family: var(--f-semi);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.pill-input:focus {
    outline: none;
    box-shadow: none;
}

/* Neutralize Chrome autofill blue highlight */
.pill-input:-webkit-autofill,
.pill-input:-webkit-autofill:hover,
.pill-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
    border: none !important;
    outline: none !important;
}

.pill-submit {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 100px;
    height: 48px;
    padding: 0 28px;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.pill-submit:hover {
    background: var(--ink);
    transform: scale(1.02);
}

.newsletter-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-footer p {
    font-size: 11px;
    color: var(--mid-gray);
    line-height: 1.5;
}

.newsletter-footer a {
    color: var(--ink);
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 600px) {
    .promo-overlay {
        padding: 16px !important;
        align-items: center !important;
    }

    .promo-modal {
        max-width: 360px !important;
        width: 100% !important;
        border-radius: 20px !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
    }

    .promo-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }

    .promo-img-side {
        height: 220px !important;
        width: 100% !important;
        background: #f4f4f4 !important;
        border-radius: 20px 20px 0 0 !important;
    }

    .promo-img-side img {
        padding: 12px !important;
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }

    .promo-close {
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 18px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
        z-index: 20 !important;
    }

    .promo-top-img {
        height: 110px !important;
    }

    .promo-text-side,
    .popup-mode-newsletter .promo-text-side {
        padding: 24px 20px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .promo-title {
        font-size: 20px !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    .promo-desc {
        font-size: 13px !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    .btn-promo {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        margin-bottom: 16px !important;
    }

    .newsletter-title {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    .newsletter-pill-form {
        margin: 14px 0 10px !important;
    }

    .pill-container {
        padding: 4px !important;
    }

    .pill-input {
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    .pill-submit {
        padding: 0 16px !important;
        font-size: 11px !important;
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    .pill-container {
        flex-direction: column !important;
        border-radius: 12px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 8px !important;
    }

    .pill-input {
        background: #fff !important;
        border: 1.5px solid var(--light-gray) !important;
        border-radius: 100px !important;
        height: 42px !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 14px !important;
    }

    .pill-submit {
        width: 100% !important;
        height: 42px !important;
        border-radius: 100px !important;
        font-size: 12px !important;
    }
}

/* --- Contact Map --- */
.contact-map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    background: #f4f5f7;
    border: 1px solid var(--light-gray);
    margin-top: 60px;
}

.contact-map-frame {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(0.05) contrast(1.2);
    opacity: 0.9;
    transition: all 0.5s var(--ease);
}

.contact-map-wrapper:hover .contact-map-frame {
    filter: grayscale(0) invert(0) contrast(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-map-wrapper {
        height: 340px;
        margin-top: 40px;
    }
}

.promo-text-side {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-label {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.promo-title {
    font-family: var(--f-display);
    font-size: 48px;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.promo-desc {
    font-size: 15px;
    color: var(--mid-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 48px;
    background: var(--red);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-promo:hover {
    background: var(--ink);
    transform: scale(1.02);
}

@keyframes promoFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes promoScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- 'Need Any Help?' Red Redesign --- */
.contact-split-hero {
    display: flex;
    min-height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    margin-top: 60px;
}

.contact-box-red {
    flex: 1.1;
    background: var(--red);
    padding: 80px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.contact-box-white {
    flex: 1;
    background: #fff;
    padding: 80px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.help-icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.help-title {
    font-family: var(--f-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.help-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

.contact-input-white {
    width: 100%;
    height: 56px;
    background: #fff;
    border: 2px solid transparent;
    padding: 0 24px;
    border-radius: 12px;
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.3s;
}

.contact-input-white:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-textarea-white {
    height: 180px;
    padding: 24px;
    resize: none;
}

.contact-btn-dark {
    height: 64px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0 48px;
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    width: fit-content;
}

.contact-btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Right side icons/info */
.info-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.info-icon-sq {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

.info-large-text {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.info-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--ink);
    border-radius: 100px;
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
}

.info-btn-outline:hover {
    background: var(--ink);
    color: #fff;
}

@media (max-width: 1024px) {
    .contact-split-hero {
        flex-direction: column;
    }

    .contact-box-red,
    .contact-box-white {
        padding: 40px 24px;
    }

    .help-title {
        font-size: 36px;
    }

    .contact-btn-dark {
        width: 100%;
    }
}

.newsletter-footer {
    margin-top: 32px;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.newsletter-footer a {
    color: #111;
    text-decoration: underline;
    font-weight: 600;
}

.dont-show-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    cursor: pointer;
    font-size: 13px;
    color: #999;
}

.dont-show-container input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Brand-Aware Close Button Update */
.popup-mode-newsletter .promo-close {
    background: #fff;
    color: var(--red);
    border: 1px solid var(--red);
}

.popup-mode-newsletter .promo-close:hover {
    background: var(--red);
    color: #fff;
}

@media (max-width: 768px) {
    .newsletter-title {
        font-size: 26px;
    }

    .promo-top-img {
        height: 180px;
    }

    .pill-container {
        padding: 4px 4px 4px 20px;
    }

    .pill-submit {
        padding: 0 20px;
        height: 42px;
        font-size: 12px;
    }
}

.discount-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.discount-label {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    opacity: 0.4;
}

.discount-code-box {
    display: flex;
    align-items: center;
    gap: 0;
    border: 3px dashed var(--ink);
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.discount-code-box:hover {
    transform: scale(1.02);
    border-style: solid;
    border-color: var(--red);
}

.discount-code-box span {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 900;
    padding: 0 24px;
    letter-spacing: 0.05em;
}

.copy-trigger {
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 900;
    transition: all 0.2s;
}

/* --- BOLD THEMED SUPPORT CARD --- */
.support-banner-container {
    padding: 60px 0;
    margin-top: 20px;
}

.support-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--red);
    border-radius: 20px;
    padding: 32px 48px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.support-banner-left {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.support-banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-banner-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2.2;
}

.support-banner-text h3 {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2px;
    color: #fff;
    line-height: 1.1;
}

.support-banner-text p {
    font-size: 14px;
    color: #fff;
    margin: 0;
    max-width: 160px;
    line-height: 1.3;
    font-family: var(--f-body);
    opacity: 0.95;
}

.support-banner-center {
    text-align: left;
}

.support-banner-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.support-banner-phone svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 1.8;
    opacity: 0.9;
}

.support-banner-phone span {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.support-banner-hours {
    font-size: 12px;
    font-family: var(--f-body);
    color: #fff;
    font-weight: 500;
    padding-left: 32px;
    opacity: 0.85;
}

@media (max-width: 900px) {
    .support-banner-container {
        padding: 40px 15px;
    }

    .support-banner-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 32px 20px;
        border-radius: 20px;
    }

    .support-banner-left {
        padding: 0;
        border: none;
        flex-direction: column;
        gap: 12px;
    }

    .support-banner-text p {
        max-width: 100%;
        font-size: 13px;
        opacity: 1;
    }

    .support-banner-text h3 {
        font-size: 22px;
    }

    .support-banner-phone {
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
    }

    .support-banner-phone span {
        font-size: 20px;
    }

    .support-banner-hours {
        padding: 0;
        font-size: 11px;
        opacity: 0.9;
    }

    .support-banner-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .support-banner-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* --- REAL-TIME TRACKING UI --- */
.tracking-result-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    margin-top: 60px;
    border: 1px solid #EEE;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    text-align: left;
    animation: promoFade 0.5s ease;
}

.tracking-header-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    border-bottom: 1px solid #F5F5F5;
    padding-bottom: 24px;
}

.tracking-ref h4 {
    font-family: var(--f-mono);
    font-size: 12px;
    color: #BBB;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tracking-ref h3 {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
}

.tracking-status-badge {
    background: var(--red);
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.tracking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0 80px;
    padding: 0 20px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #F0F0F0;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 22px;
    left: 40px;
    height: 4px;
    background: var(--red);
    z-index: 2;
    transition: width 1s ease;
    transition-delay: 0.3s;
}

.tracking-step {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 80px;
}

.step-dot {
    width: 48px;
    height: 48px;
    background: #fff;
    border: 4px solid #F0F0F0;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.step-dot svg {
    width: 20px;
    height: 20px;
    stroke: #DDD;
    transition: all 0.3s;
}

.tracking-step span {
    font-family: var(--f-display);
    font-size: 12px;
    font-weight: 700;
    color: #BBB;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tracking-step.active .step-dot {
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(229, 0, 26, 0.1);
}

.tracking-step.active .step-dot svg {
    stroke: #fff;
}

.tracking-step.active span {
    color: var(--red);
}

.tracking-step.current .step-dot {
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 0, 26, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(229, 0, 26, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 0, 26, 0);
    }
}

.tracking-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #FAFAFA;
    border-radius: 16px;
    padding: 32px;
}

.detail-label {
    font-family: var(--f-mono);
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
}

.detail-val {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
}

/* --- COMPACT NAVIGATION --- */
#main-nav {
    padding-top: 12px;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

#main-nav.nav-scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper {
    height: 40px !important;
}

.search-submit-btn {
    width: 40px !important;
    height: 40px !important;
}

#nav-search-input {
    height: 40px !important;
    font-size: 13px !important;
}

/* --- FOUR-COLUMN FOOTER --- */
.footer-inner-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
    gap: 32px;
    padding: 10px 0;
    align-items: start;
}

.footer-col-label {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col-link {
    display: block;
    font-family: var(--f-body);
    font-size: 15px;
    color: #ccc;
    margin-bottom: 10px;
    transition: all .2s;
}

.footer-col-link:hover {
    color: var(--red);
}

.footer-identity-title {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 12px;
    display: block;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-family: var(--f-body);
    font-size: 14px;
    color: #bbb;
    line-height: 1.4;
}

.footer-directions-link {
    display: inline-block;
    font-family: var(--f-display);
    font-size: 10px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 2px;
}

.fsoc-round {
    width: 32px;
    height: 32px;
    background: #222;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.3s, background 0.3s;
}

.fsoc-round:hover {
    transform: translateY(-3px);
    background: var(--red);
    color: #fff;
}

.footer-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    border-radius: 100px;
    padding: 12px 24px;
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
    width: 100%;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-support-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

.footer-support-btn:hover {
    background: var(--red);
    transform: translateY(-2px);
    color: #fff;
    border-color: var(--red);
}

@media (max-width: 900px) {
    .footer-support-btn {
        padding: 10px 20px;
        font-size: 10px;
        max-width: 200px;
        margin: 0 auto;
    }
}

.footer-newsletter-disclaimer {
    font-family: var(--f-body);
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

.footer-newsletter-disclaimer a {
    color: #666;
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .footer-inner-container {
        padding: 0 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
        padding: 40px 0;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-support-btn {
        max-width: 100%;
        width: 100%;
    }
}

/* --- PRODUCT CARD HOVER ZOOM --- */
.card-img-wrap {
    overflow: hidden;
}

.card-img img {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.card:hover .card-img img {
    transform: scale(1.08);
}

/* --- PRODUCT DETAIL CLICK-TO-EXPAND --- */
.zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: zoom-in;
}

#main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

/* --- LIGHTBOX OVERLAY --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

/* ── PRODUCT TRUST & HELP SECTION ──────────────────────── */
.product-trust-group {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--light-gray);
}

/* Payment Icons Box */
.payment-trust-box {
    background: #F8F9FF;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 32px;
}

.payment-label {
    font-family: var(--f-body);
    font-size: 14px;
    color: var(--mid-gray);
    margin-bottom: 12px;
    display: block;
}

.payment-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.paystack-banner {
    max-height: 40px;
    width: auto;
    opacity: 0.9;
}

/* Shipping & Social Row */
.trust-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.shipping-promise {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-body);
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
    flex-wrap: wrap;
    line-height: 1.4;
}

.shipping-promise span {
    flex: 1;
    min-width: 200px;
}

.ship-date-highlight {
    color: var(--red);
    font-weight: 700;
}

.social-sharing-circles {
    display: flex;
    gap: 10px;
}

.soc-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.3s;
}

.soc-circle:hover {
    transform: translateY(-3px);
    background: var(--ink);
}

/* Help Pills */
.help-pills-row {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.help-pill-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 20px;
    background: #F0F2FF;
    border-radius: 24px;
    text-decoration: none;
    font-family: var(--f-semi);
    font-size: 13px;
    color: var(--ink);
    transition: all 0.3s;
}

.help-pill-btn:hover {
    background: #eef1ff;
    transform: translateY(-2px);
}

.call-pill {
    background: #fff;
    border: 1.5px solid var(--red);
    padding: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.call-pill:hover {
    background: #fff !important;
    color: var(--ink) !important;
    border-color: var(--ink);
}

.call-number {
    padding: 0 20px;
    color: var(--ink);
    font-weight: 700;
}

.call-action {
    background: var(--red);
    color: #fff;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 800;
    text-transform: uppercase;
}

/* Large Trust Badges */
.trust-badges-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.tbadge-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tbadge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(229, 0, 26, 0.08);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tbadge-content h4 {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .trust-badges-large {
        grid-template-columns: 1fr;
    }

    .trust-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .shipping-promise {
        font-size: 13px;
    }
    
    .shipping-promise svg {
        flex-shrink: 0;
    }
}

/* ── FOOTER PARTNERS SECTION ──────────────────────────── */
.footer-partners {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fsoc-round {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s var(--ease);
}

.fsoc-round:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.partner-box {
    background: #ffffff;
    /* White background for dark logos */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 24px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.partner-box:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.partner-box img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .footer-partners {
        gap: 16px;
        padding: 32px 0;
    }

    .partner-box {
        padding: 10px 16px;
        height: 50px;
    }

    .partner-box img {
        max-height: 22px;
    }
}

/* --- Premium PWA UI --- */
.pwa-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 11000;
    max-width: 480px;
    margin: 0 auto;
    animation: pwaSlideUp 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes pwaSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pwa-banner-content {
    background: #0f172a;
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.pwa-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pwa-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-banner-text {
    flex: 1;
}

.pwa-banner-text h4 {
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.pwa-banner-text p {
    font-size: 11px;
    opacity: 0.7;
    margin: 2px 0 0;
}

.pwa-banner-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.pwa-banner-btn:hover {
    background: #fff;
    color: var(--ink);
}

.pwa-banner-close {
    background: transparent;
    border: none;
    color: #fff;
    opacity: 0.4;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
}

/* iOS Guide */
.ios-guide-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ios-guide-content {
    background: #fff;
    width: 100%;
    max-width: 320px;
    border-radius: 24px;
    overflow: hidden;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ios-guide-header {
    background: var(--off);
    padding: 24px;
    text-align: center;
    position: relative;
}

.ios-guide-header img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 12px;
}

.ios-guide-header h3 {
    font-family: var(--f-display);
    font-size: 18px;
    font-weight: 900;
}

.ios-guide-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 18px;
    opacity: 0.3;
}

.ios-guide-body {
    padding: 24px;
}

.ios-guide-body p {
    font-size: 14px;
    color: var(--mid-gray);
    margin-bottom: 16px;
}

.ios-guide-body ol {
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* --- Compact Reviews V2 --- */
.reviews-sec-v2 {
    padding: 80px 0;
    background: var(--paper);
    border-top: 1px solid var(--light-gray);
}

.review-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.review-summary-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.review-avg-box {
    text-align: center;
    background: var(--off);
    padding: 16px 24px;
    border-radius: 8px;
}

.review-avg-score {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.review-avg-label {
    font-family: var(--f-mono);
    font-size: 9px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-top: 6px;
    letter-spacing: 0.1em;
}

.review-summary-meta h3 {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.review-count-small {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.write-review-toggle-btn {
    height: 48px;
    padding: 0 32px;
    font-size: 11px;
    font-family: var(--f-semi);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 12px;
}

.write-review-toggle-btn:hover {
    background: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 0, 45, 0.2);
}

.write-review-toggle-btn.is-active {
    background: var(--mid-gray);
}

.review-form-container {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    margin-bottom: 0;
    opacity: 0;
}

.review-form-container.active {
    max-height: 1000px;
    margin-bottom: 80px;
    opacity: 1;
}

.review-form-inner {
    background: var(--off);
    padding: 48px;
    border-radius: 4px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--light-gray);
}

.compact-review-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.compact-review-item {
    padding: 40px 0;
    border-bottom: 1px solid var(--light-gray);
}

.compact-review-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .review-summary-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    
    .review-summary-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .review-avg-box {
        width: 100%;
    }
    
    .write-review-toggle-btn {
        width: 100%;
        justify-content: center;
    }
    
    .review-form-inner {
        padding: 24px;
    }

    .compact-review-item {
        padding: 32px 0;
    }
}

/* --- Mobile Bottom Navigation --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 999;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }
    
    body {
        padding-bottom: 74px !important;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 10px;
    font-family: var(--f-semi);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    gap: 4px;
    transition: color 0.2s ease;
    height: 100%;
}

.mobile-nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: var(--red);
}

.mobile-nav-item:active svg {
    transform: scale(0.9);
}

/* Cart Badge */
.mobile-cart-icon-wrapper {
    position: relative;
    display: inline-flex;
}

.mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-family: var(--f-mono);
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 1.5px solid #fff;
}

.mobile-cart-badge.visible {
    display: flex;
}

.category-grid-section {
    padding: 40px 0;
}

@media (min-width: 769px) {
    .category-grid-section {
        display: none;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cat-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cat-hero {
    grid-column: 1 / -1;
    aspect-ratio: 2.7 / 1;
}

.cat-label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: #fff;
    font-family: var(--f-semi);
    font-weight: 800;
    font-size: clamp(18px, 2.5vw, 28px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    pointer-events: none;
}

@media (max-width: 600px) {
    .category-grid {
        gap: 8px;
    }
    .cat-hero {
        aspect-ratio: 2 / 1;
    }
    .cat-tile {
        border-radius: 8px;
    }
    .cat-label {
        top: 12px;
        left: 12px;
        font-size: clamp(14px, 4vw, 18px);
    }
    .category-grid-section {
        padding: 24px 0;
    }
}

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--f-semi);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    background: var(--off);
    border-color: var(--mid-gray);
}

.page-btn.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.page-dots {
    padding: 0 4px;
    color: var(--mid-gray);
    font-family: var(--f-mono);
}

/* ── HERO SECONDARY BUTTON ──────────────────────────── */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    font-family: var(--f-semi);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ── FOOTER BOTTOM ENHANCEMENT ──────────────────────── */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 28px;
    padding-bottom: 28px;
    margin-top: 24px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #00e650 !important;
}
