/* public/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Outfit:wght@300;400;500;600;700&display=swap');

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

  /* Typography - Upgraded for Legibility */
  --f-display:  'Plus Jakarta Sans', sans-serif;   /* Headlines, prices, logos */
  --f-body:     'Plus Jakarta Sans', sans-serif;             /* Body text, descriptions */
  --f-semi:     'Plus Jakarta Sans', sans-serif; /* Labels, nav, buttons */
  --f-mono:     'Outfit', sans-serif;         /* 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 { 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; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--red); }
::-webkit-scrollbar-track { background: var(--light-gray); }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all .4s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav.nav-home {
  background: #ffffff !important;
}

.nav.nav-scrolled {
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.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;
}
.nav-logo {
  font-family: var(--f-display); font-weight: 900; font-size: 24px;
  letter-spacing: -.02em; color: var(--ink); display: flex; align-items: center;
  gap: 4px;
}
.nav-logo::after { 
  content: ''; display: block; width: 6px; height: 6px; 
  background: var(--red); border-radius: 0; flex-shrink: 0;
  margin-top: 4px; /* Optional adjustment */
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.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: 48px; 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 {
    position: sticky; top: 0; z-index: 1000;
    background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 8px 0 12px; transition: all .4s var(--ease);
}
.nav-inner {
    display: flex; flex-direction: column; gap: 12px;
}

/* Row 1: Actions & Brand */
.nav-top {
    display: grid; grid-template-columns: 44px 1fr 100px; align-items: center; gap: 16px;
}

.nav-brand {
    justify-self: center; display: flex; align-items: center;
}
.nav-logo-text {
    font-family: var(--f-display); font-size: 24px; font-weight: 900;
    color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}

/* 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: 10px; justify-content: flex-end; align-items: center;
}

/* 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%;
}
.nav-search-pill {
    position: relative; width: 100%; display: flex; align-items: center;
}
.nav-search-pill input {
    width: 100%; height: 44px; padding: 0 48px 0 20px;
    background: #f4f5f7; border: 1px solid transparent; border-radius: 100px;
    font-family: var(--f-body); font-size: 14px; font-weight: 500;
    color: var(--ink); transition: all .3s var(--ease);
}
.nav-search-pill input:focus {
    background: #fff; border-color: var(--ink); outline: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.nav-search-pill .search-btn {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--mid-gray); cursor: pointer;
    display: flex; align-items: center; justify-content: 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: 12px 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: 16px 0; border-top: 1px solid rgba(0,0,0,0.03); margin-top: 16px;
    }
    .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: #FF8C00; }
    .nav-cat-link.active { color: #FF8C00; }
    .nav-cat-link.active::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #FF8C00;
    }
}

@media (max-width: 1024px) {
    .nav-top { display: grid; grid-template-columns: 44px 1fr 108px; align-items: center; gap: 24px; }
    .nav-logo-text { font-size: 18px; white-space: nowrap; }
    .nav-right-icons { gap: 12px; }
    .nav-cat-rail { display: none; }
    .desktop-only { display: none !important; }
}

@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: 32px; 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: 32px; 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: #FF8C00; /* Matching original orange */
}

.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: 24px;
    padding: 10px 0;
}

.slider-track .card {
    flex: 0 0 calc(25% - 18px) !important;
    scroll-snap-align: start !important;
    min-width: 280px;
}

@media (max-width: 1024px) {
    .slider-track .card {
        flex: 0 0 calc(50% - 12px) !important;
    }
    .slider-nav {
        display: flex !important; /* Force show on mobile/tablet */
    }
}

@media (max-width: 768px) {
    .slider-track .card {
        flex: 0 0 calc(50% - 12px) !important;
    }
    .slider-track {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .slider-track .card {
        flex: 0 0 55% !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; /* Added bottom padding */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically for better balance */
    align-items: flex-start;
    background: linear-gradient(to right, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.4) 60%, transparent 100%);
}

.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) {
  /* 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; }

  /* 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: 14px !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: 32px; 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; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}
@media (max-width: 768px) {
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
}
.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(8, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}
@media (max-width: 1600px) { .products-grid, .product-grid { grid-template-columns: repeat(7, 1fr); } }
@media (max-width: 1400px) { .products-grid, .product-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 1100px) { .products-grid, .product-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px)  { .products-grid, .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .products-grid, .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px)  { .products-grid, .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .products-grid, .product-grid { grid-template-columns: repeat(2, 1fr); } } /* Forced 2 columns for better premium look */

/* ── 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: 80px 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: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.25);
  margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.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: 900 !important;
    color: var(--red) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 4px;
}

.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: 120px 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: '₵'; }

/* Apply similar raw style to Bestsellers cards */
/* ── PRODUCT GRID & CARDS ───────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px 16px;
}

.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--light-gray);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

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

.card-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6px 12px 18px 12px;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-top: -10%;
    transition: transform .6s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }

.card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    padding: 4px 12px;
    font-family: var(--f-display);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    z-index: 2;
    border-radius: 100px;
}
.card-tag.discount { background: #FFF5E6; color: #FF8C00; border: 1px solid rgba(255,140,0,0.1); }
.card-tag.new { background: var(--ink); color: #fff; }


.card-body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered */
    text-align: center;
    padding: 20px 16px;
    background: var(--off);
    border-top: 1px solid var(--light-gray);
    flex-grow: 1;
}

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: #ffc107; /* Yellow 'HOT' style */
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.card-tag.discount { background: #ffc107; }

/* The Circle Arrow at top-right */
.card-action-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-action-arrow {
    transform: translateX(4px);
    background: var(--ink);
    color: #fff;
}

/* ── QUICK ACTION ICONS (GRID) ────────────────────────── */
.card-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.card-wish-btn, .card-cart-btn {
    height: 42px;
    background: #fff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    color: var(--ink);
}

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

.card-wish-btn.active {
    background: #FFF5F6;
    border-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.4); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .card-actions { opacity: 1; transform: none; bottom: 8px; left: 8px; right: 8px; }
    .card-wish-btn, .card-cart-btn { height: 32px; border-radius: 6px; }
}

/* ── 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 {
    display: flex;
    gap: 8px;
}

.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: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mid-gray); /* Softer */
    letter-spacing: .1em;
    margin-bottom: 2px;
}

.card-name {
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -.01em;
    /* Mixed Case - Default */
    height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: auto;
    justify-content: center;
    margin-top: 4px;
}

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

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

.card-rating {
    display: flex;
    justify-content: center; /* Centered */
    gap: 2px;
    color: var(--light-gray);
    font-size: 11px;
    margin-bottom: 4px;
    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% + 8px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow: hidden;
    max-height: 400px;
    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-img-side { background: #f8f8f8; position: relative; height: 500px; }
.promo-img-side img { width: 100%; height: 100%; object-fit: contain; padding: 40px; }

/* --- 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; }

/* Yellow Close Button Update */
.popup-mode-newsletter .promo-close {
    background: #fff; color: #FFCC00; border: 1px solid #FFCC00;
}
.popup-mode-newsletter .promo-close:hover { background: #FFCC00; 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;
}

/* --- MINIMALIST SUPPОRT BANNER --- */
.support-banner-container {
    background: #fff; border-top: 1px solid #F5F5F5; padding: 48px 0; margin-top: 40px;
}
.support-banner-inner {
    display: flex; align-items: center; justify-content: center; gap: 60px;
}

.support-banner-left { display: flex; align-items: center; gap: 24px; padding-right: 60px; border-right: 1px solid #EEE; }
.support-banner-icon {
    width: 64px; height: 64px; background: #FFF5F6; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.support-banner-icon svg { width: 26px; height: 26px; stroke: #E5001A; stroke-width: 2.2; }

.support-banner-text h3 { font-family: var(--f-display); font-size: 28px; font-weight: 800; margin-bottom: 2px; color: var(--ink); line-height: 1.1; }
.support-banner-text p { font-size: 14px; color: #888; margin: 0; max-width: 140px; line-height: 1.3; font-family: var(--f-body); }

.support-banner-center { text-align: left; }
.support-banner-phone { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.support-banner-phone svg { width: 22px; height: 22px; stroke: #E5001A; stroke-width: 1.8; opacity: 0.8; }
.support-banner-phone span { font-family: var(--f-display); font-size: 32px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.support-banner-hours { font-size: 12px; font-family: var(--f-body); color: #888; font-weight: 500; padding-left: 36px; }

@media (max-width: 900px) {
    .support-banner-inner { flex-direction: column; gap: 32px; text-align: center; }
    .support-banner-left { padding: 0; border: none; flex-direction: column; gap: 16px; }
    .support-banner-text p { max-width: 100%; font-size: 13px; }
    .support-banner-text h3 { font-size: 24px; }
    .support-banner-phone { justify-content: center; gap: 10px; }
    .support-banner-phone span { font-size: 26px; }
    .support-banner-hours { padding: 0; font-size: 11px; }
    .support-banner-icon { width: 56px; height: 56px; }
}

/* --- 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: 1000px; margin: 0 auto; padding: 0 40px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 16px;
    padding: 20px 0;
    align-items: start;
}

.footer-col-label { font-family: var(--f-display); font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col-link { display: block; font-family: var(--f-body); font-size: 13px; color: var(--mid-gray); margin-bottom: 8px; transition: color .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: 8px; margin-bottom: 6px; font-family: var(--f-body); font-size: 12px; color: var(--mid-gray); line-height: 1.3; }
.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: 10px; color: #999; line-height: 1.4; }
.footer-newsletter-disclaimer a { color: #666; text-decoration: underline; }

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

/* --- 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); }
