/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Style design variables (The Void - Stitch Inspired Dark Theme) */
:root {
  --bg-primary: #121414;           /* Deep Dark */
  --bg-secondary: #0c0f0f;         /* Black-Charcoal */
  --bg-tertiary: #1e2020;          /* Surface container */
  
  --color-text-primary: #e2e2e2;   /* White/Silver Neutral */
  --color-text-secondary: #cfc4c5; /* Slate secondary */
  --color-text-muted: #988e90;     /* Cool Muted Grey */
  
  --border-light: #4c4546;         /* Outline variant */
  --border-medium: #cfc4c5;        /* Outline */
  
  --color-accent-black: #ffffff;   /* Inverted primary accent */
  --color-accent-blue: #8b5cf6;    /* Stitch Electric Purple secondary */
  --color-accent-red: #ffb4ab;     /* Error tone */
  --color-accent-red-hover: #ef4444;
  
  --font-header: 'Inter', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
  --font-luxury: 'Geist', monospace;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --box-shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.25);
  --box-shadow-bubble: 0 4px 20px rgba(0, 0, 0, 0.45);
  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #d0bcff 100%);
  
  --header-height: 72px;
}
@media (min-width: 992px) {
  :root {
    --header-height: 84px;
  }
}

/* Sizing reset to scale down site proportions */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 14.5px;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 15px;
  }
}

/* Shape reset matching Stitch's "Sharp (0)" roundedness profile */
*, *::before, *::after {
  border-radius: 0 !important;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html.disable-smooth-scroll,
html.disable-smooth-scroll body,
html.disable-smooth-scroll * {
  scroll-behavior: auto !important;
  overscroll-behavior: none !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}
main {
  padding-top: var(--header-height);
  transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

main.walkthrough-completed {
  padding-top: 0;
  will-change: auto;
  transform: none;
}



/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-black);
}

/* ==========================================================================
   ANNOUNCEMENT BAR & TOP HEADER
   ========================================================================== */
.announcement-bar {
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.68rem; /* Enhanced readability */
  font-weight: 700;
  letter-spacing: 0.22em; /* Sleek streetwear letter spacing */
  display: flex;
  align-items: center;
  position: relative; /* Document flow positioning below hero */
  width: 100%;
  overflow: hidden;
  height: 44px; /* Enhanced height for better breathing room */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite; /* Slower, smoother speed for enhanced quality */
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px; /* Enhanced spacing */
  padding-right: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bar-separator {
  color: #e5c158; /* Premium champagne gold */
  font-weight: 800;
  padding: 0 10px;
  font-size: 0.8rem;
  text-shadow: 0 0 4px rgba(229, 193, 88, 0.3);
}

.promo-text-glow {
  color: #e5c158; /* Premium champagne gold for promo details */
  font-weight: 800;
  text-shadow: 0 0 4px rgba(229, 193, 88, 0.3);
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Header Grid Layout */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb; /* Clean subtle border */
  height: var(--header-height);
  transition: var(--transition-smooth);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  gap: 16px;
}
.menu-burger {
  display: none; /* Burger menu toggle icon for mobile layout mapping */
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-burger span {
  width: 20px;
  height: 2px;
  background-color: #000000;
}

.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
}

.brand-logo {
  font-family: var(--font-header);
  font-size: 1.35rem; /* Centered Snitch-style brand logo */
  font-weight: 900;   /* Ultra-bold */
  text-decoration: none;
  letter-spacing: 0.22em; /* Wide spacing */
  text-transform: uppercase;
  background: linear-gradient(90deg, #000000 0%, #000000 42%, #7c3aed 50%, #000000 58%, #000000 100%);
  background-size: 240% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  transition: letter-spacing 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-position 0.5s ease, font-size 0.5s ease;
  animation: logoEntrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, logoShimmer 6s linear infinite;
  display: inline-block;
}
.brand-logo:hover {
  letter-spacing: 0.28em;
  background-position: -120% center;
}
@keyframes logoEntrance {
  0% {
    opacity: 0;
    letter-spacing: 0.12em;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.22em;
    transform: translateY(0);
  }
}
@keyframes logoShimmer {
  0% {
    background-position: 120% center;
  }
  100% {
    background-position: -120% center;
  }
}
@media (min-width: 992px) {
  .brand-logo {
    font-size: 1.6rem;
  }
}

/* EST. 2026 header left accent (hidden on mobile) */
.header-left-accent {
  display: none;
}

/* Symmetrical modular grid layout for desktop header to blend logo, search and icons */
@media (min-width: 992px) {
  .header-left-accent {
    display: inline-block;
    font-family: var(--font-luxury); /* Geist */
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: var(--transition-fast);
  }
  .header-left-accent:hover {
    color: var(--color-accent-blue);
  }
  .header-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: stretch !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .header-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100% !important;
    padding-left: 40px !important;
  }
  .header-center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 60px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 100% !important;
    padding-right: 40px !important;
    margin-left: 0 !important;
  }
}

.nav-menu {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  padding: 8px 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px; /* 1px thin line */
  background: var(--color-accent-blue); /* Electric purple accent */
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-accent-blue); /* Purple active text */
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions Alignment */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1060;
  margin-left: auto;
  padding-right: 4px; /* Nudge entire group slightly more right */
}
.profile-name-badge {
  display: none !important; /* Icon-only header profile */
}
.cart-btn-text {
  display: none !important; /* Icon-only shopping bag */
}

/* Search bar styling — Clean & Compact */
.header-search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0 16px;
  width: 240px;
  height: 40px;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search-container:hover:not(:focus-within) {
  border-color: #94a3b8;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.header-search-container:focus-within {
  border-color: #7c3aed;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12), 0 4px 16px rgba(124, 58, 237, 0.08);
  width: 320px;
}


.search-icon {
  color: #64748b;
  margin-right: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.search-icon svg, .search-icon {
  width: 18px;
  height: 18px;
}
.header-search-container:focus-within .search-icon {
  color: #7c3aed;
}
.header-search-container input {
  background: none;
  border: none;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 500;
  width: 100%;
  padding-right: 28px; /* Leave space for clear button */
  box-sizing: border-box;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-transform: none;
  caret-color: #7c3aed;
}
.header-search-container input:focus {
  outline: none;
}
.header-search-container input::placeholder {
  color: transparent;
}

/* Search clear/close button */
.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  font-weight: 300;
  color: #64748b;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
}
.search-clear-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}
.header-search-container:focus-within .search-clear-btn,
.header-search-container.active .search-clear-btn {
  display: flex;
}

/* Sliding Placeholder Ticker Container */
.search-placeholder-rotator {
  position: absolute;
  left: 42px;
  top: 0;
  height: 100%;
  width: calc(100% - 54px);
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

/* Individual Ticker Items */
.rotator-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: #64748b;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Active State */
.rotator-item.active {
  transform: translateY(0);
  opacity: 1;
}

/* Exit State */
.rotator-item.exit {
  transform: translateY(-100%);
  opacity: 0;
}

/* Hide placeholder when input has text or is focused */
.search-placeholder-rotator.hidden {
  opacity: 0;
  visibility: hidden;
}

#catalog-search-input:focus + #search-placeholder-rotator,
#catalog-search-input:not(:placeholder-shown) + #search-placeholder-rotator {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#catalog-search-input:focus + #search-placeholder-rotator .rotator-item,
#catalog-search-input:not(:placeholder-shown) + #search-placeholder-rotator .rotator-item {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

.action-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-header);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 0;
}
.action-btn svg {
  width: 21px;
  height: 21px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  stroke-width: 1.75;
}
.action-btn:hover {
  color: #7c3aed;
  border-color: #7c3aed;
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}
.action-btn:hover svg {
  transform: scale(1.08);
}
.action-btn:active {
  transform: translateY(0) scale(0.96);
  background: rgba(124, 58, 237, 0.04);
}
.action-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0;
}
.action-btn:hover .badge {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45);
}
.cart-btn-text {
  display: none !important; /* Icon-only shopping bag */
}
.profile-name-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   HERO / BANNER COVER
   ========================================================================== */
.hero-slider-section {
  min-height: 100vh;
  background-color: #0c0f0f;
  position: relative;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}
.hero-slides-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.08);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide:nth-child(1) .hero-slide-bg {
  background-position: center 10%;
}
.hero-slide:nth-child(2) .hero-slide-bg {
  background-position: 49.3% 10%;
}
.hero-slide:nth-child(3) .hero-slide-bg {
  background-position: center 10%;
}
.hero-slide:nth-child(4) .hero-slide-bg {
  background-position: center 10%;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.0);
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradual smooth dark overlay to maximize text legibility while showing off the clothing */
  background: linear-gradient(180deg, rgba(20, 10, 30, 0.15) 0%, rgba(55, 30, 15, 0.38) 60%, rgba(10, 5, 15, 0.88) 100%);
  z-index: 2;
}
.hero-slide-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: transparent;
}
.hero-slide-content {
  position: absolute;
  bottom: 170px; /* Shifted up to clear value bar and dots */
  left: 8%;
  max-width: 720px;
  z-index: 3;
  color: #ffffff;
  text-align: left;
}

/* Staggered text reveal animations */
.hero-slide-badge-container,
.hero-slide-title,
.hero-slide-desc,
.hero-slide-actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.active .hero-slide-badge-container {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.hero-slide.active .hero-slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.hero-slide.active .hero-slide-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}
.hero-slide.active .hero-slide-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-slide-desc {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7; /* Enhanced readability */
  color: rgba(255, 255, 255, 0.85); /* Slightly softer white */
  max-width: 580px;
  margin-bottom: 32px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.01em;
}
.hero-slide-badge-container {
  margin-bottom: 20px;
}
.hero-slide-badge {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-luxury); /* Geist */
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-slide-title {
  font-family: var(--font-header); /* Inter */
  font-size: clamp(2.0rem, 5.2vw, 3.6rem);
  font-weight: 900; /* Ultra-bold Snitch style */
  font-style: normal;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: -0.04em; /* Tight premium tracking */
  margin-bottom: 28px;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.hero-slide-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}
.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide-btn-primary {
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #ffffff;
}
.hero-slide-btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}
.hero-slide-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.hero-slide-btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.20);
}

/* Slider Dots Indicator */
.hero-slider-dots {
  position: absolute;
  bottom: 85px; /* Sit right above the white value props bar */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-dot {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 1px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}
.slider-dot.active {
  width: 32px;
  background: #ffffff;
}

/* Responsive Styles for Hero Slider */
@media (max-width: 768px) {
  .hero-slider-section {
    min-height: 85vh; /* Shorter on mobile viewports */
  }
  .hero-slide-content {
    bottom: 155px; /* Extra height clearance for wrapping value bar */
    left: 6%;
    max-width: calc(100% - 12%);
  }
  .hero-slide-desc {
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .hero-slide-badge {
    font-size: 0.58rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .hero-slide-title {
    font-size: 1.85rem;
    margin-bottom: 20px;
  }
  .hero-slider-dots {
    bottom: 95px;
  }
}

/* Value Props Bar (at bottom of hero) */
.hero-value-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 48px;
  row-gap: 12px;
  padding: 18px 40px;
  z-index: 5;
  border-top: 1px solid #f0f0f0;
}
.hero-value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111111;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hero-value-icon {
  color: #5b21b6; /* Deep violet premium icon accent from Image 2 */
  flex-shrink: 0;
}

/* Button styles */
.btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
}
.btn-primary {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}
.btn-primary:hover {
  background-color: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}
.btn-secondary {
  background-color: transparent;
  color: #000000;
  border: 1px solid #000000;
}
.btn-secondary:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* ==========================================================================
   PRODUCT CATALOG (SNITCH STYLING)
   ========================================================================== */
.shop-section {
  padding: 60px 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-family: var(--font-header);
  font-size: 2.0rem; /* Enhanced font size */
  font-weight: 800;
  letter-spacing: 0.15em; /* Luxurious letter-spacing */
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--color-accent-black);
}
.section-desc {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Sharp rect filters */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.filter-btn {
  background-color: #ffffff;
  border: 1px solid #d4d4d8;
  color: #52525b;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 0; /* Square borders */
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
}
.filter-btn:hover {
  border-color: #000000;
  color: #000000;
}
.filter-btn.active {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

/* Grid matching Snitch structure */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* Dynamic product cards */
.product-card {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: var(--bg-tertiary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
body.light-mode .product-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.product-image-container {
  width: 100%;
  aspect-ratio: 0.75; /* Snitch portrait standard (3:4) */
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image {
  transform: scale(1.04);
}

/* Absolute heart icon */
.wishlist-heart-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wishlist-heart-btn:hover {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.9);
  color: #ef4444;
}
.wishlist-heart-btn.favorited {
  color: #ef4444;
  fill: #ef4444;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Slide-up Sizes panel on card hover */
.quick-size-slideup {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  z-index: 5;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .quick-size-slideup {
  bottom: 0;
}
.quick-size-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #71717a;
}
.quick-sizes-row {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
.quick-size-tab {
  background-color: #ffffff;
  border: 1px solid #d4d4d8;
  color: #18181b;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.quick-size-tab:hover {
  border-color: #000000;
  background-color: #000000;
  color: #ffffff;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
}
body.light-mode .product-badge {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.product-badge.out-of-stock-badge {
  background-color: rgba(220, 38, 38, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(220, 38, 38, 0.4) !important;
}
.showroom-card-badge.out-of-stock-badge {
  background-color: rgba(220, 38, 38, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(220, 38, 38, 0.4) !important;
}

.product-info {
  padding: 16px 14px 12px;
}
.product-title {
  font-family: var(--font-header);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Wrap to 2 lines max */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 6px;
  min-height: 38px; /* Symmetrical cards layout align */
}
.product-price {
  font-family: var(--font-header);
  font-size: 0.95rem; /* Enhanced size */
  font-weight: 700;
  color: #c084fc; /* Bright neon purple for high contrast in dark theme */
  margin-bottom: 8px;
}

/* Color swatches under title */
.product-swatches {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
body.light-mode .color-swatch {
  border: 1px solid rgba(0,0,0,0.1);
}
.color-swatch.active {
  box-shadow: 0 0 0 2px var(--color-accent-black);
}
.swatch-count {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-left: 2px;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   FEEDBACK & MANIFESTO PORTALS
   ========================================================================== */
.feedback-section {
  padding: 60px 40px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.feedback-container {
  max-width: 1400px;
  margin: 0 auto;
}
.feedback-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.feedback-list-column {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 15px;
}
.feedback-logs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feedback-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 20px;
}
.feedback-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.feedback-card-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-primary);
}
.feedback-card-handle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-left: 6px;
}
.feedback-card-stars {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.feedback-card-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.feedback-form-panel {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 30px;
}
.panel-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--color-accent-black);
}
.panel-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.star-rating-selector {
  display: flex;
  gap: 6px;
  font-size: 1.4rem;
  cursor: pointer;
  margin-bottom: 12px;
}
.star-picker-btn {
  color: var(--border-medium);
  transition: var(--transition-fast);
}
.star-picker-btn.active, .star-picker-btn.hover {
  color: #fbbf24;
}

.form-grid-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.form-group label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .feedback-form textarea {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-medium);
  color: var(--color-text-primary);
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.form-group input:focus, .form-group select:focus, .feedback-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-black);
}

.about-section {
  padding: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.manifesto-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 60px;
  text-align: center;
}
.manifesto-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.manifesto-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}
.manifesto-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent-black);
  display: block;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Newsletter section details */
.newsletter-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 20px;
  text-align: center;
}
.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-container h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.newsletter-container p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex-grow: 1;
  border: 1px solid var(--border-medium);
  padding: 12px 16px;
  font-size: 0.8rem;
  border-radius: 4px;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent-black);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 60px 40px 30px 40px;
  border-top: 1px solid #f0f0f0;
  font-family: var(--font-body);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f0f0f0;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-col {
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-header);
  font-size: 1.2rem !important;
  font-weight: 900;
  letter-spacing: 0.15em !important;
  color: #000000;
  text-decoration: none;
}
.brand-subtext {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #666666;
}
.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social-icons a {
  color: #666666;
  transition: color 0.2s ease;
}
.footer-social-icons a:hover {
  color: #000000;
}
.footer-col-title {
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  font-size: 0.74rem;
  color: #666666;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links-list a:hover {
  color: #000000;
}
.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-btn {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}
.app-btn:hover {
  opacity: 0.85;
}
.app-btn span {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-bottom {
  padding-top: 24px;
  border-top: none;
}
.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.copyright-text {
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #888888;
}
.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pay-badge {
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #888888;
}
.pay-icon {
  font-size: 1rem;
}

/* ==========================================================================
   MODALS AND DRAWERS (SLIDE-OUTS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 100600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-container {
  background-color: var(--bg-primary);
  border-radius: 0;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(10px);
}
.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--color-accent-black);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-body {
  padding: 30px;
}
.product-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}
.product-details-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.product-details-image-wrap {
  width: 100%;
  aspect-ratio: 0.75;
  background-color: var(--bg-secondary);
}
.product-details-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-details-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.modal-thumbnail-item {
  width: 70px;
  height: 90px;
  border: 1px solid #cfc4c5;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
  background-color: #ffffff;
  border-radius: 2px;
}
.modal-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-thumbnail-item.active {
  border-color: #000000;
  border-width: 2px;
}
.modal-thumbnail-item:hover {
  border-color: #000000;
  transform: translateY(-2px);
}


.product-details-content {
  display: flex;
  flex-direction: column;
}
.product-details-category {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.product-details-title {
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-accent-black);
}
.product-details-price {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.product-details-desc {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.size-selector-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.size-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}
.size-btn {
  width: 44px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.size-btn:hover {
  border-color: var(--color-accent-black);
}
.size-btn.active {
  background-color: var(--color-accent-black);
  border-color: var(--color-accent-black);
  color: var(--bg-primary); /* Inverted text color! */
}

/* Cart & Wishlist Side Drawer styling */
/* Drawer backdrop shading overlay */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Cart & Wishlist Side Drawer styling */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background-color: #ffffff; /* Premium white background */
  border-left: 1px solid #e2e8f0; /* Slate border */
  z-index: 100200;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1); /* Soft shadow for light mode */
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a; /* Slate dark text */
}
.cart-drawer.active {
  right: 0;
}
.cart-drawer-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.cart-drawer-header h3 {
  font-family: var(--font-header);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #0f172a; /* Slate dark title */
}
.cart-close-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #475569; /* Slate secondary */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-close-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s ease;
}
.cart-close-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}
.cart-close-btn:hover svg {
  transform: rotate(90deg);
}
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 24px;
}

/* Styled empty states for drawers */
.empty-cart-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: #64748b; /* Medium grey text */
}
.empty-cart-icon {
  color: rgba(15, 23, 42, 0.08); /* Dark slate outline in light mode */
  margin-bottom: 24px;
  animation: pulseGhost 3s infinite ease-in-out;
}
.empty-cart-message p:first-of-type {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a; /* Slate dark text */
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.empty-cart-message p:last-of-type {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #64748b; /* Medium grey text */
  line-height: 1.5;
  margin-bottom: 28px;
}
.continue-shopping-btn {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.15); /* Slate border */
  color: #0f172a; /* Slate dark text */
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 12px 28px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.continue-shopping-btn:hover {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}
@keyframes pulseGhost {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Cart drawer specific primary buttons contrast enhancements */
.cart-drawer .btn-primary {
  background-color: #0f172a !important; /* Dark slate button background */
  color: #ffffff !important; /* White button text */
  border: 1px solid #0f172a !important;
  font-family: var(--font-header) !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  transition: var(--transition-smooth) !important;
}
.cart-drawer .btn-primary:hover {
  background-color: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4) !important;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9; /* Light slate border */
}
.cart-item-image {
  width: 64px;
  height: 80px;
  object-fit: cover;
  background-color: #f8fafc; /* Light secondary background */
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #0f172a; /* Slate dark text */
}
.cart-item-details {
  font-size: 0.7rem;
  color: #64748b; /* Medium grey */
  margin-bottom: 6px;
}
.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1; /* Light grey border */
}
.qty-btn {
  background: none;
  border: none;
  color: #0f172a; /* Slate dark text */
  width: 24px;
  height: 22px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
}
.qty-val {
  font-size: 0.78rem;
  width: 20px;
  text-align: center;
  color: #0f172a;
}
.cart-item-price {
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
}
.remove-cart-item {
  background: none;
  border: none;
  color: #94a3b8; /* Muted slate grey */
  cursor: pointer;
  font-size: 0.7rem;
  margin-left: 10px;
}
.remove-cart-item:hover {
  color: #ef4444; /* Standard light-mode alert red */
}

.cart-drawer-footer {
  border-top: 1px solid #f1f5f9; /* Light slate border */
  padding-top: 16px;
}
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 800;
  color: #0f172a; /* Slate dark text */
}
.cart-total-price {
  color: #0f172a !important; /* Slate dark text */
  font-size: 1.1rem;
}
.cart-shipping-notice {
  font-size: 0.65rem;
  color: #64748b; /* Medium grey */
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   CHECKOUT WIZARD MODAL MODIFICATIONS
   ========================================================================== */
.checkout-modal-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  width: 95%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(10px);
  padding: 30px;
}
.wizard-header {
  margin-bottom: 30px;
}
.wizard-steps {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}
.wizard-step {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.wizard-step.active {
  color: var(--color-accent-black);
}

.checkout-form-step {
  display: none;
}
.checkout-form-step.active {
  display: block;
}
.form-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}
.form-group.span-2 {
  grid-column: span 2;
}

/* Coupon checkout box */
.checkout-promo-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.promo-input-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.promo-input-row input {
  flex-grow: 1;
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  padding: 10px 14px;
  font-size: 0.8rem;
  border-radius: 4px;
}
.promo-feedback-text {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 6px;
}
.promo-feedback-text.success { color: #10b981; }
.promo-feedback-text.error { color: #ef4444; }

.checkout-totals-summary {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}
.totals-row.text-discount {
  color: #10b981;
}
.totals-row.text-grand-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-accent-black);
  border-top: 1px dashed var(--border-medium);
  padding-top: 10px;
}

.wizard-btn-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.wizard-btn-row .btn {
  flex-grow: 1;
  justify-content: center;
}

/* Success page */
.confirmation-screen {
  text-align: center;
  padding: 10px 0;
}
.success-icon-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #10b981;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.12);
  animation: successIconPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes successIconPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-title {
  font-family: var(--font-header);
  color: #09090b !important;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.success-subtitle {
  font-size: 0.8rem;
  color: #71717a !important;
  margin-bottom: 24px;
}

.receipt-card {
  background-color: #fafafa !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  text-align: left;
  max-width: 440px;
  margin: 0 auto 30px auto;
  font-family: var(--font-body) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}
.receipt-header {
  font-family: var(--font-header) !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center;
  border-bottom: 1.5px solid #e4e4e7 !important;
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 0.72rem !important;
  color: #18181b !important;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.76rem !important;
  color: #71717a !important;
  font-weight: 600 !important;
}
.receipt-val {
  color: #18181b !important;
  font-weight: 700 !important;
}
#checkout-modal #receipt-nfc-key {
  background-color: #eff6ff !important;
  color: #1e40af !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  font-size: 0.7rem !important;
  border: 1px solid #bfdbfe !important;
  font-family: monospace !important;
}
.receipt-footer {
  border-top: 1.5px dashed #e4e4e7 !important;
  padding-top: 12px;
  margin-top: 18px;
  font-size: 0.65rem !important;
  text-align: center;
  color: #a1a1aa !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

/* ==========================================================================
   AUTHENTICATION FULL MODAL (LOGIN / SIGNUP)
   ========================================================================== */
.auth-modal-container {
  background-color: var(--bg-primary);
  width: 90%;
  max-width: 850px;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(10px);
  overflow: hidden;
}
.auth-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 550px;
}

/* Left graphic panel - D2C editorial style */
.auth-graphic-side {
  background-color: var(--color-accent-black);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(17, 24, 39, 0.85) 100%), url('images/auth_lifestyle.png');
  background-position: center;
  background-size: cover;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}
.auth-graphic-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.auth-graphic-logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}
.auth-graphic-caption {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Right side forms input - D2C clean style */
.auth-form-side {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.auth-panel-form {
  display: none;
  flex-direction: column;
  flex-grow: 1;
}
.auth-panel-form.active {
  display: flex;
}
.auth-form-title {
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.auth-form-subtitle {
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px !important;
  margin-top: 15px;
  border-radius: 50px !important; /* Premium rounded submit buttons */
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}


/* Dashboard account view */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}
.dash-stat {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 16px;
  text-align: center;
  border-radius: 4px;
}
.dash-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-black);
  display: block;
}
.dash-stat-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.dashboard-orders-wrapper {
  flex-grow: 1;
}
.dashboard-orders-scroll-container {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 5px;
}
.dash-order-card {
  border: 1px solid var(--border-light);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.dash-order-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 6px;
}
.dash-order-items {
  color: var(--color-text-secondary);
  font-size: 0.7rem;
}

/* ==========================================================================
   SUPPORT CHATBOT ASSISTANT
   ========================================================================== */
.chatbot-bubble-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-bubble-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.55);
}
.chatbot-ping {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background-color: #10b981; /* Green status ping */
  border-radius: 50%;
  border: 2px solid #8b5cf6;
}

.chatbot-panel-wrapper {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 350px;
  height: 480px;
  max-height: calc(100vh - 120px);
  background-color: rgba(30, 32, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition-fast);
}
.chatbot-panel-wrapper.active {
  display: flex;
  animation: chatFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes chatFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .chatbot-panel-wrapper {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 76px;
    height: 420px;
  }
  .chatbot-bubble-trigger {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  .chatbot-ping {
    top: 0;
    right: 0;
  }
}

.chatbot-panel-header {
  background-color: #121414;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar-circle {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header-profile h4 {
  font-size: 0.8rem;
  font-weight: 800;
}
.chat-header-profile span {
  font-size: 0.62rem;
  opacity: 0.7;
  display: block;
}
.chat-panel-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.chat-panel-close-btn:hover {
  color: #ffffff;
}

.chatbot-panel-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #0c0f0f;
}
.chat-message {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
}
.chat-message.bot {
  background-color: #1e2020;
  color: #e2e2e2;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-top-left-radius: 0;
}
.chat-message.user {
  background: var(--gradient-brand);
  color: #ffffff;
  align-self: flex-end;
  border-top-right-radius: 0;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.chatbot-panel-footer {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  background-color: #121414;
}
.chatbot-panel-footer input {
  flex-grow: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1e2020;
  color: #ffffff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.chatbot-panel-footer input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.5);
}
.chat-send-btn {
  background: none;
  border: none;
  color: #8b5cf6;
  cursor: pointer;
  padding: 0 10px;
  transition: color 0.2s ease;
}
.chat-send-btn:hover {
  color: #a855f7;
}

/* ==========================================================================
   TOAST STYLING
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}
.toast {
  background-color: var(--color-accent-black);
  color: var(--bg-primary); /* Auto-inverting text color for high contrast */
  border-radius: 4px;
  padding: 14px 20px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--box-shadow-bubble);
  transform: translateX(120%);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideIn {
  to { transform: translateX(0); }
}
.toast.fade-out {
  animation: slideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE LAYOUT STYLING
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  .menu-burger {
    display: flex;
  }
  .nav-menu {
    display: none; /* Mobile layout hides nav link lists */
  }
  .header-search-container {
    display: none; /* Hide Search input bar on smaller screen */
  }
  .hero-value-bar {
    padding: 12px 16px;
    column-gap: 20px;
    row-gap: 8px;
  }
  .hero-value-item {
    font-size: 0.58rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .shop-section {
    padding: 60px 20px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  .feedback-section {
    padding: 60px 20px;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
  }
  .manifesto-box {
    padding: 40px 20px;
  }
  .manifesto-stats {
    gap: 30px;
  }
  .footer {
    padding: 40px 20px;
  }
  .footer-links-wrap {
    gap: 30px;
  }
  .product-details-grid {
    grid-template-columns: 1fr;
  }
  .auth-split-layout {
    grid-template-columns: 1fr;
  }
  .auth-graphic-side {
    display: none; /* Hide graphical split side on small devices */
  }
  .nfc-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .nfc-container {
    padding: 60px 20px !important;
  }
}

/* ==========================================================================
   ENHANCED USER AUTHENTICATION & LOGIN/SIGNUP UI
   ========================================================================== */

/* Modern dark glassmorphic styling for auth modal container */
.auth-modal-container {
  background-color: var(--bg-primary);
  width: 95%;
  max-width: 880px;
  max-height: 90vh;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(10px);
  overflow: hidden;
}

.auth-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 580px;
}

/* Left graphic panel - D2C lifestyle photo style */
.auth-graphic-side {
  background-color: var(--color-accent-black);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.85) 100%), url('images/auth_lifestyle.png');
  background-position: center;
  background-size: cover;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
}

.auth-graphic-top {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  z-index: 2;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.auth-graphic-bottom {
  z-index: 2;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 24px;
  margin-top: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: authPanelFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-graphic-logo {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.auth-graphic-caption {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

@keyframes authPanelFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right side forms input - D2C clean style */
.auth-form-side {
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  justify-content: flex-start;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

/* Custom modern slim scrollbar */
.auth-form-side::-webkit-scrollbar {
  width: 4px;
}
.auth-form-side::-webkit-scrollbar-track {
  background: transparent;
}
.auth-form-side::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.auth-form-side::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.auth-panel-form {
  display: none !important;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-panel-form.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

.auth-form-title {
  font-family: var(--font-header);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: left;
}

.auth-form-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  text-align: left;
}

/* Input styles */
.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-header);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
  text-align: left;
  transition: color 0.2s ease;
}

.form-group:focus-within label {
  color: var(--color-accent-black);
}

.form-group .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.form-group .label-row label {
  margin-bottom: 0;
}

.forgot-link {
  background: none;
  border: none;
  font-family: var(--font-header);
  font-size: 0.68rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.forgot-link:hover {
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.auth-panel-form .input-wrapper input {
  width: 100%;
  padding: 12px 16px !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  background-color: #f9fafb;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.auth-panel-form .input-wrapper input:focus {
  border-color: #000000;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
  outline: none;
}

.password-toggle-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: var(--transition-fast);
}

.password-toggle-btn:hover {
  color: var(--color-accent-black);
}

/* Phone Number Input */
.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.phone-country-code {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 100%;
  min-height: 44px;
  background-color: #f3f4f6;
  border: 1px solid var(--border-medium);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.03em;
  white-space: nowrap;
  user-select: none;
}

.phone-input-wrapper input[type="tel"] {
  border-radius: 0 4px 4px 0;
  flex: 1;
  min-width: 0;
}

.phone-hint {
  display: block;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.field-optional {
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* Inline Message Banners */
.auth-msg-banner {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bannerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-msg-banner.error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: var(--color-accent-red);
}

.auth-msg-banner.success {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #15803d;
}

/* Submit buttons */
.auth-submit-btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px !important;
  padding: 14px 28px !important;
  font-family: var(--font-body);
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  width: 100%;
  margin-top: 10px;
}

.auth-submit-btn:hover {
  background-color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px);
}

.auth-submit-btn:active {
  transform: translateY(1px);
}

/* Divider style */
.auth-pill-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 20px 0 15px 0;
}

.auth-pill-divider::before,
.auth-pill-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-light);
}

.auth-pill-divider::before {
  margin-right: 12px;
}

.auth-pill-divider::after {
  margin-left: 12px;
}

/* Social buttons row */
.auth-social-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-social-auth {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-social-auth:hover {
  border-color: #000000;
  background-color: #f9fafb;
  transform: translateY(-1px);
}

.btn-social-auth:active {
  transform: translateY(1px);
}

.btn-social-auth svg {
  flex-shrink: 0;
}

.google-logo {
  flex-shrink: 0;
}

/* Terms & Privacy Checkbox */
.terms-checkbox-group {
  margin-top: 16px;
  margin-bottom: 16px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 0;
  user-select: none;
}

.terms-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.terms-checkbox-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--border-medium);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  margin-top: 1px;
  background: #ffffff;
  position: relative;
}

.terms-checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
  position: absolute;
  top: 1px;
  left: 5px;
}

.terms-checkbox:checked + .terms-checkbox-custom {
  background-color: var(--color-accent-black);
  border-color: var(--color-accent-black);
}

.terms-checkbox:checked + .terms-checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.terms-checkbox:focus-visible + .terms-checkbox-custom {
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
}

.terms-checkbox-text {
  font-weight: 500;
}

.terms-checkbox-text a {
  color: var(--color-text-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.terms-checkbox-text a:hover {
  color: #3b82f6;
}

/* Footer layouts */
.auth-options-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.auth-footer-link {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  margin-left: 4px;
  transition: var(--transition-fast);
}

.auth-footer-link:hover {
  text-decoration: underline;
}

.auth-footer-copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.62rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Specific overrides for auth modal form side to ensure high contrast and premium typography */
.auth-form-side {
  color: #111827 !important;
  font-family: var(--font-header) !important;
}

.auth-form-side label {
  color: #374151 !important;
  font-weight: 700 !important;
}

.auth-form-side .auth-form-title {
  color: #111827 !important;
}

.auth-form-side .auth-form-subtitle {
  color: #4b5563 !important;
}

.auth-form-side .auth-panel-form .input-wrapper input {
  color: #111827 !important;
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0 !important; /* Boxy streetwear fit */
  font-family: var(--font-header) !important;
}

.auth-form-side .auth-panel-form .input-wrapper input:focus {
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
}

.auth-form-side .phone-country-code {
  color: #374151 !important;
  background-color: #f3f4f6 !important;
  border: 1px solid #d1d5db !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.auth-form-side .phone-hint {
  color: #6b7280 !important;
}

.auth-form-side .terms-checkbox-label {
  color: #4b5563 !important;
}

.auth-form-side .terms-checkbox-text a {
  color: #111827 !important;
  text-decoration: underline !important;
}

.auth-form-side .terms-checkbox-text a:hover {
  color: #8b5cf6 !important;
}

.auth-form-side .btn-social-auth {
  color: #111827 !important;
  border-color: #d1d5db !important;
  background-color: #ffffff !important;
  border-radius: 0 !important;
}

.auth-form-side .btn-social-auth:hover {
  border-color: #111827 !important;
  background-color: #f9fafb !important;
}

.auth-form-side .auth-options-footer {
  color: #4b5563 !important;
}

.auth-form-side .auth-footer-link {
  color: #111827 !important;
}

.auth-form-side .auth-footer-link:hover {
  color: #8b5cf6 !important;
}

.auth-form-side .auth-footer-copyright {
  color: #6b7280 !important;
}

/* Close button inside auth modal overlay */
#auth-close-btn {
  color: #111827 !important;
  transition: var(--transition-fast) !important;
}

#auth-close-btn:hover {
  color: #ef4444 !important;
  transform: scale(1.1) !important;
}

/* Ensure font-body is Inter instead of Hanken Grotesk for high visual quality */
:root {
  --font-body: 'Inter', sans-serif !important;
}

/* Enhancing dashboard elements */
.dash-stat {
  transition: var(--transition-smooth);
}

.dash-stat:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.dash-order-card {
  transition: var(--transition-smooth);
}

.dash-order-card:hover {
  border-color: var(--color-accent-black);
  background-color: var(--bg-secondary);
}
#google-mock-chooser-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  background-color: #f0f4f9; /* Solid Google Sign-in background */
}
#google-mock-chooser-modal.active {
  display: flex;
}
.google-mock-container {
  background-color: #ffffff;
  width: 95%;
  max-width: 950px;
  border-radius: 28px;
  border: 1px solid #dadce0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f1f1f;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.google-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
}
.google-logo-svg {
  width: 22px;
  height: 22px;
}
.google-mock-header-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f1f1f;
}
.google-mock-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding-bottom: 20px;
}
.google-mock-title {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: #1f1f1f;
  letter-spacing: -0.02em;
}
.google-mock-subtitle {
  font-size: 1rem;
  color: #444746;
  line-height: 1.5;
}
.google-mock-subtitle .brand-domain {
  color: #0b57d0;
  text-decoration: none;
}
.google-mock-accounts-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e3e3e3;
  margin-bottom: 24px;
}
.google-mock-account-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 10px;
  border-bottom: 1px solid #e3e3e3;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 4px;
}
.google-mock-account-item:hover {
  background-color: #f7f9fc;
}
.google-mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.05rem;
  color: #ffffff;
}
.google-mock-avatar.color-k1 {
  background-color: #7c7c7c;
}
.google-mock-avatar.color-k2 {
  background-color: #8f79cd;
}
.google-mock-avatar.color-i {
  background-color: #00897b;
}
.google-mock-avatar.use-another-icon {
  background-color: transparent;
  color: #444746;
  border: 1px solid #e3e3e3;
}
.google-mock-account-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.google-mock-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f1f1f;
}
.google-mock-email {
  font-size: 0.85rem;
  color: #444746;
  margin-top: 2px;
}
.google-mock-footer {
  font-size: 0.78rem;
  color: #444746;
  line-height: 1.6;
  text-align: left;
}
.google-mock-footer a {
  color: #0b57d0;
  text-decoration: none;
}
.google-mock-footer a:hover {
  text-decoration: underline;
}
.google-mock-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  font-size: 0.75rem;
  color: #444746;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}
.google-mock-bottom-bar .lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.google-mock-bottom-links {
  display: flex;
  gap: 24px;
}
.google-mock-bottom-links a {
  color: #444746;
  text-decoration: none;
}
.google-mock-bottom-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .google-mock-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .google-mock-container {
    padding: 24px;
    border-radius: 16px;
  }
  .google-mock-title {
    font-size: 1.8rem;
  }
}



/* ==========================================================================
   SKELETON LOADER & SHIMMER EFFECT
   ========================================================================== */
.skeleton-shimmer {
  background: #f3f4f6;
  background-image: linear-gradient(
    90deg,
    #f3f4f6 0px,
    #e5e7eb 45px,
    #f3f4f6 90px
  );
  background-size: 250% 100%;
  animation: skeletonShimmer 1.4s infinite linear;
}

@keyframes skeletonShimmer {
  0% {
    background-position: -150px 0;
  }
  100% {
    background-position: calc(100% + 150px) 0;
  }
}

.product-card.skeleton-card {
  pointer-events: none;
}

/* ==========================================================================
   AUTH MODAL GLASSMORPHISM & SPINNER
   ========================================================================== */
.auth-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(243, 244, 246, 0.2);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: auth-spin 0.6s linear infinite;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

/* For dark buttons with white text, or light buttons with dark spinners */
.btn-auth-secondary .auth-spinner {
  border: 2px solid rgba(17, 24, 39, 0.15);
  border-top: 2px solid #111827;
}

@keyframes auth-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Glassmorphism upgrade to all modal overlays */
.modal-overlay {
  backdrop-filter: blur(12px) brightness(95%);
  -webkit-backdrop-filter: blur(12px) brightness(95%);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-container, .checkout-modal-container, .modal-container, .google-mock-container {
  animation: modalScaleUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.btn-pill-auth, .btn-primary, .btn-secondary {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-auth:hover, .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-card.skeleton-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Policy Modal Premium Styling */
.policy-modal-container {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  width: 95%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0 !important;
  padding: 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  animation: modalScaleUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-primary);
}

.policy-modal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
  margin-bottom: 15px;
  text-align: left;
}

.policy-modal-badge {
  display: inline-block;
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  color: var(--color-text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  border-radius: 2px;
}

.policy-modal-title {
  font-family: var(--font-header);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
}

.policy-modal-meta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.policy-modal-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 10px;
}

.policy-modal-scroll::-webkit-scrollbar {
  width: 4px;
}
.policy-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 2px;
}

/* Styled policy items (cards) */
.policy-card-item {
  border-left: 2px solid var(--color-accent-black);
  background-color: var(--bg-secondary);
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: left;
}

.policy-card-item strong {
  color: var(--color-accent-black);
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* Styled warning callout box (e.g. for Scam alerts) */
.policy-warning-box {
  border: 1px solid #fee2e2;
  background-color: #fef2f2;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 18px 0;
  color: #991b1b;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: left;
}

.policy-warning-title {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #991b1b;
  text-transform: uppercase;
}

.policy-modal-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.policy-modal-close-action-btn {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  font-family: var(--font-header) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  width: 100%;
}

.policy-modal-close-action-btn:hover {
  background-color: transparent !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .policy-modal-container {
    padding: 20px;
    max-height: 90vh;
  }
}

/* ==========================================================================
   10. PREMIUM SEARCH DROPDOWN OVERLAY
   ========================================================================== */

.header-search-container {
  position: relative; /* Bound absolute positioning of dropdown */
}

/* Dropdown Container */
.search-dropdown-overlay {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 960px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 10010;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  pointer-events: none;
}

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

/* Ambient Lighting Graphics inside Dropdown Box */
.search-dropdown-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand); /* Electric purple gradient */
  pointer-events: none;
  z-index: 2;
}

.search-dropdown-overlay::after {
  display: none;
}

/* Staggered entrance animations for dropdown child panels */
.search-dropdown-categories-top,
.search-dropdown-divider,
.search-dropdown-trending-middle,
.search-dropdown-footer {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-dropdown-overlay.active .search-dropdown-categories-top {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.search-dropdown-overlay.active .search-dropdown-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.search-dropdown-overlay.active .search-dropdown-trending-middle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.search-dropdown-overlay.active .search-dropdown-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

/* Staggered entrance animation for tag buttons when categories expand */
.category-col-links .search-tag-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.category-grid-col.active .category-col-links .search-tag-btn {
  opacity: 1;
  transform: translateY(0);
}

.category-grid-col.active .category-col-links .search-tag-btn:nth-child(1) { transition-delay: 0.04s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(2) { transition-delay: 0.08s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(3) { transition-delay: 0.12s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(4) { transition-delay: 0.16s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(5) { transition-delay: 0.20s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(6) { transition-delay: 0.24s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(7) { transition-delay: 0.28s; }
.category-grid-col.active .category-col-links .search-tag-btn:nth-child(8) { transition-delay: 0.32s; }

/* Empty State Vertical Layout */
.search-dropdown-empty {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Top Horizontal Category Section */
.search-dropdown-categories-top {
  padding: 28px 32px 24px 32px;
  background-color: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.categories-top-title {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #999999;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.categories-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-grid-col {
  display: flex;
  flex-direction: column;
}

.category-col-label {
  font-family: var(--font-header);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  margin-bottom: 0;
  text-transform: uppercase;
  padding-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
}

.category-col-label::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-grid-col.active .category-col-label::before {
  transform: scaleX(1);
}

.category-col-label:hover {
  color: #000000;
}

/* Accordion indicator arrow */
.category-col-label::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 4px;
}

.category-col-label:hover::after {
  transform: translate(1px, 1px) rotate(45deg);
}

.category-grid-col.active .category-col-label::after {
  transform: rotate(-135deg);
}

.category-grid-col.active .category-col-label:hover::after {
  transform: translate(1px, -1px) rotate(-135deg);
}

.category-grid-col.active .category-col-label {
  color: #000000;
}

.category-col-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin-top 0.4s ease;
  margin-top: 0;
  padding: 0 4px;
}

.category-grid-col.active .category-col-links {
  max-height: 200px; /* High enough to fit 4 buttons */
  opacity: 1;
  margin-top: 12px;
}

.category-col-links .search-tag-btn {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 38px;
  text-align: left;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.category-col-links .search-tag-btn:last-child {
  border-bottom: none;
}

.category-col-links .search-tag-btn:hover {
  background-color: var(--bg-tertiary);
  color: var(--color-text-primary);
  padding-left: 14px;
  border-bottom-color: transparent;
}

/* Divider Line with expansion animation */
.search-dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
  width: 0%;
  margin: 0 auto;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
}

.search-dropdown-overlay.active .search-dropdown-divider {
  width: 90%;
}

/* Left Column - Top Searches */
.search-dropdown-col-left {
  padding: 24px;
  border-right: 1px solid #e2e8f0;
  background-color: #f8fafc; /* Stitch Tertiary background */
}

.search-dropdown-title {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #999999;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: left;
}

/* Scrollable wrapper for left tags */
.search-tags-scroll-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-tags-container {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Spacing between sections */
  width: 100%;
  max-height: 340px; /* Increased to align with taller dropdown layout */
  overflow-y: auto;
  scroll-behavior: smooth;
  /* Hide scrollbar for premium look */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  padding: 4px 2px;
}

.search-tags-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Category Sections */
.search-tag-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-header);
  font-size: 0.72rem; /* Enhanced size for crisp typography */
  font-weight: 800;
  letter-spacing: 0.12em; /* Sleek editorial letter-spacing */
  color: #64748b; /* Slate secondary */
  margin-bottom: 8px;
  text-transform: uppercase;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

.search-section-label:hover {
  color: #7c3aed; /* Brand purple on hover */
}

/* Chevron arrow inside header */
.search-section-label::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); /* Chevron down */
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 4px;
}

.search-tag-section.collapsed .search-section-label::after {
  transform: rotate(-45deg); /* Chevron right */
}

.search-section-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-height: 500px; /* Large enough to show all items */
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-bottom 0.3s ease;
  opacity: 1;
  margin-bottom: 16px;
}

.search-tag-section.collapsed .search-section-grid {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
}

/* Sub-section buttons */
.search-tag-btn {
  width: 100%;
  text-align: left;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 36px;
}

.search-tag-btn:hover {
  border-color: var(--color-accent-blue);
  background-color: var(--bg-secondary);
  color: var(--color-accent-blue);
  transform: translateX(2px); /* Premium D2C micro-animation */
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.search-tag-btn:active {
  transform: scale(0.98);
}

/* Thumbnail images in tag buttons */
.tag-btn-thumb {
  width: 24px;
  height: 24px;
  object-fit: cover;
  margin-right: 12px;
  background-color: var(--bg-secondary);
  border: none;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-col-links .search-tag-btn:hover .tag-btn-thumb {
  transform: scale(1.15) rotate(2deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Scroll buttons styling */
.tags-scroll-btn {
  width: 100%;
  height: 26px;
  background-color: #f8fafc; /* Matches search-dropdown-col-left background */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  flex-shrink: 0;
}

.tags-scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.tags-scroll-btn:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.tags-scroll-btn.up {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 6px;
}

.tags-scroll-btn.down {
  border-top: 1px solid #e2e8f0;
  margin-top: 6px;
}

/* Full Width Trending Section */
.search-dropdown-trending-middle {
  padding: 24px 32px 20px 32px;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
}

.search-trending-header {
  display: flex;
  justify-content: space-between; /* Horizontal layout stack */
  align-items: center;
  margin-bottom: 16px;
}

.search-trending-header .search-dropdown-title {
  margin-bottom: 0;
}

.search-trending-tabs {
  display: flex;
  gap: 4px;
}

.search-tab-btn {
  background: transparent;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 18px;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 600;
  color: #888888;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-tab-btn.active {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

.search-tab-btn:hover:not(.active) {
  border-color: #1a1a1a;
  color: #1a1a1a;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.search-tab-btn:active {
  transform: scale(0.95);
}

/* Trending Carousel Wrapper */
.search-trending-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 16px 28px; /* Padding to prevent scroll buttons from overlapping card content */
  box-sizing: border-box;
}

/* Trending Products Grid */
.search-trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 190px);
  grid-auto-rows: auto;
  gap: 16px;
  width: 100%;
  max-height: 350px;
  overflow: auto;
  scroll-behavior: smooth;
  padding: 8px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #d0d0d0 #f5f5f5;
}

/* Custom Webkit Scrollbar Styling */
.search-trending-grid::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
}

.search-trending-grid::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.search-trending-grid::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.search-trending-grid::-webkit-scrollbar-thumb:hover {
  background: #aaaaaa;
}

/* Custom Scrollbar Arrow Buttons (Image 2 style decrement/increment chevrons) */
.search-trending-grid::-webkit-scrollbar-button:vertical:decrement {
  display: block;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='18 15 12 9 6 15'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f1f5f9;
  cursor: pointer;
}

.search-trending-grid::-webkit-scrollbar-button:vertical:increment {
  display: block;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f1f5f9;
  cursor: pointer;
}

.search-trending-grid::-webkit-scrollbar-button:horizontal:decrement {
  display: block;
  width: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f1f5f9;
  cursor: pointer;
}

.search-trending-grid::-webkit-scrollbar-button:horizontal:increment {
  display: block;
  width: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f1f5f9;
  cursor: pointer;
}

/* Horizontal Carousel Nav Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #333333;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.carousel-nav-btn.visible {
  opacity: 1;
  visibility: visible;
}

.carousel-nav-btn:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn svg {
  transition: transform 0.25s ease;
}

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

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

.carousel-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.carousel-nav-btn.prev {
  left: 2px;
}

.carousel-nav-btn.next {
  right: 2px;
}

/* Vertical Carousel Nav Buttons */
.carousel-nav-btn-vertical {
  position: absolute;
  right: 12px;
  left: auto;
  transform: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #333333;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.carousel-nav-btn-vertical.visible {
  opacity: 1;
  visibility: visible;
}

.carousel-nav-btn-vertical:hover {
  background-color: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn-vertical svg {
  transition: transform 0.25s ease;
}

.carousel-nav-btn-vertical.up:hover svg {
  transform: translateY(-2px) scale(1.1);
}

.carousel-nav-btn-vertical.down:hover svg {
  transform: translateY(2px) scale(1.1);
}

.carousel-nav-btn-vertical:active {
  transform: scale(0.92);
}

.carousel-nav-btn-vertical.up {
  top: 6px;
}

.carousel-nav-btn-vertical.down {
  bottom: 6px;
}

/* Trending Product Card with Waterfall entry animation */
@keyframes trendCardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-trend-card {
  min-width: 190px;
  max-width: 190px;
  border: 1px solid #e2e8f0;
  border-radius: 8px; /* Stitch roundness */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #ffffff;
  cursor: pointer;
  animation: trendCardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.search-trend-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: #1a1a1a;
  background-color: #ffffff;
}

.search-trend-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 0.75; /* Preserves 3:4 portrait view */
  background-color: #f8fafc;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.search-trend-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* Focuses on head and upper body clothing */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-trend-card:hover .search-trend-img {
  transform: scale(1.05);
}

.search-trend-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  color: #64748b;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.search-trend-wish-btn:hover {
  color: #ef4444;
  transform: scale(1.15);
  border-color: #fca5a5;
  background-color: #fff5f5;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.search-trend-wish-btn.active {
  color: #ef4444;
  background-color: #ffffff;
  border-color: #fca5a5;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.search-trend-wish-btn.active svg {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.search-trend-details {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-trend-name {
  font-family: var(--font-header); /* Montserrat for professional high-end look */
  font-size: 0.72rem; /* Clean editorial size */
  font-weight: 700; /* Bold streetwear alignment */
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Wrap to 2 lines max */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.06em; /* Enhanced letter-spacing */
  line-height: 1.4;
  margin-bottom: 2px;
  min-height: 34px; /* Uniform height constraint to keep cards aligned */
}

.search-trend-price {
  font-family: var(--font-header);
  font-size: 0.78rem;
  font-weight: 700;
  color: #7c3aed; /* Purple Brand Accent */
  letter-spacing: 0.02em;
}

.search-trend-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.search-trend-colors {
  display: flex;
  gap: 5px;
  align-items: center;
}

.search-trend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%; /* Modern circular color swatch */
  border: 1px solid rgba(0, 0, 0, 0.15); /* Sleek outline */
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  cursor: pointer;
}

.search-trend-color-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.search-trend-color-more {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 700;
  margin-left: 2px;
}

/* Typing State styling */
.search-dropdown-typing {
  display: flex;
  flex-direction: column;
  max-height: 480px;
  position: relative;
  z-index: 1;
}

.search-suggestions-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  max-height: 330px;
  overflow-y: auto;
}

@keyframes suggestionItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-header);
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: suggestionItemFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.search-suggestion-item:hover {
  background-color: #f5f5f5;
  color: #1a1a1a;
  padding-left: 32px;
}

.search-suggest-icon {
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.search-suggestion-item:hover .search-suggest-icon {
  color: #1a1a1a;
  transform: scale(1.1);
}

/* Bottom Promo Banner */
.search-promo-banner {
  background-color: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 8px 16px 16px 16px;
  border-radius: 4px;
  border: none;
}

.search-promo-banner:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.search-promo-img-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #1e293b;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.search-promo-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-promo-title {
  font-family: var(--font-header);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.search-promo-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Backdrop Blur Overlay */
.search-backdrop {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  z-index: 9990; /* Below header actions stacking context but above body content */
  pointer-events: none;
  visibility: hidden;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-backdrop.active {
  background-color: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  visibility: visible;
}

/* ==========================================================================
   DESKTOP NAV & REDESIGNED MAIN PAGES (MOCKUP ACCORDANCE)
   ========================================================================== */

/* Desktop Header Center Nav Menu */
.header-nav-menu {
  display: flex;
  gap: 32px;
}
.header-nav-link {
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  color: #555555;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-nav-link:hover {
  color: #000000;
}
.header-nav-link:hover::after {
  width: 100%;
}

@media (max-width: 992px) {
  .header-nav-menu {
    display: none; /* Hide center menu on mobile/tablets */
  }
}

/* Hero Custom Buttons matching mockup */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 36px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  box-sizing: border-box;
}
.hero-btn-primary {
  background-color: #ffffff;
  color: #000000;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hero-btn-primary:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}
.hero-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  backdrop-filter: blur(4px);
}
.hero-btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Value Props Bar styling */
.value-props-bar {
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 24px 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.value-prop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}
.prop-icon {
  width: 16px;
  height: 16px;
  color: #7c3aed; /* Subtle brand purple */
}

/* Menswear Essentials header styles */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
  width: 100%;
}
.section-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.section-tag {
  font-family: var(--font-header);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #7c3aed;
  text-transform: uppercase;
}
.shop-section .section-title {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 0;
  text-align: left;
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.25s ease;
}
.view-all-link:hover {
  color: #7c3aed;
}
.view-all-link svg {
  transition: transform 0.25s ease;
}
.view-all-link:hover svg {
  transform: translateX(4px);
}
.filter-controls-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 24px;
}

/* The Studio Series banner */
.studio-series-section {
  min-height: 420px;
  background-image: url('images/studio_series_banner.png');
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  margin: 40px 0;
}
.studio-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.studio-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}
.studio-tag {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #c084fc;
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
}
.studio-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.studio-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.btn-studio {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 0;
  font-family: var(--font-header);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 14px 28px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-studio:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

/* Join the Inner Circle Section */
.inner-circle-section {
  background-color: #000000;
  color: #ffffff;
  padding: 90px 20px;
  text-align: center;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
.inner-circle-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.inner-circle-star {
  margin-bottom: 8px;
}
.inner-circle-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}
.inner-circle-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0;
  font-weight: 400;
}
.inner-circle-form {
  display: flex;
  width: 100%;
  max-width: 460px;
  margin-top: 12px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 6px;
}
.inner-circle-form input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  flex-grow: 1;
  padding: 8px 0;
  text-transform: uppercase;
}
.inner-circle-form input:focus {
  outline: none;
}
.inner-circle-form input::placeholder {
  color: #666666;
}
.btn-inner-circle-sub {
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 0;
  padding: 8px 20px;
  font-family: var(--font-header);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-inner-circle-sub:hover {
  background-color: #a855f7;
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .value-props-bar {
    justify-content: center;
  }
}

/* ==========================================================================
   REDESIGNED EDITORIAL HOMEPAGE SECTIONS
   ========================================================================== */

/* 1. The Season Edit */
.season-edit-section {
  padding: 60px 40px;
  background-color: #f9f9f9;
}
.season-header-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 16px;
}
.season-header-left {
  max-width: 600px;
}
.season-title {
  font-family: var(--font-header);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1c1c;
  line-height: 1.1;
  margin-bottom: 8px;
}
.season-subtitle-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4c4546;
}
.view-lookbook-link {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000000;
  text-decoration: none;
  border-bottom: 1.5px solid #000000;
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}
.view-lookbook-link:hover {
  opacity: 0.8;
}
.season-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.season-grid-main {
  position: relative;
  overflow: hidden;
  height: 600px;
  background-color: #eeeeee;
  cursor: pointer;
}
.season-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.season-grid-main:hover .season-img {
  transform: scale(1.04);
}
.look-reveal-panel {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background-color: #ffffff;
  padding: 24px 28px;
  width: 290px;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.season-grid-main:hover .look-reveal-panel {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}
.look-reveal-title {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: #1a1c1c;
}
.look-reveal-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #4c4546;
  margin-bottom: 16px;
}
.look-reveal-btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  width: auto;
  transition: background-color 0.25s ease;
}
.look-reveal-btn:hover {
  background-color: #333333;
}
.season-grid-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.season-side-item {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 288px;
  background-color: #eeeeee;
  cursor: pointer;
}
.season-side-item:hover .season-img:not(.hover-view) {
  transform: scale(1.04);
}

/* Dual-Image Hover Transition for Lookbook Cards */
.new-arrival-card,
.jeans-lookbook-card {
  position: relative;
}
.new-arrival-card .default-view,
.jeans-lookbook-card .default-view {
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.new-arrival-card .hover-view,
.jeans-lookbook-card .hover-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.new-arrival-card:hover .default-view,
.new-arrival-card:active .default-view,
.jeans-lookbook-card:hover .default-view,
.jeans-lookbook-card:active .default-view {
  opacity: 0;
}
.new-arrival-card:hover .hover-view,
.new-arrival-card:active .hover-view,
.jeans-lookbook-card:hover .hover-view,
.jeans-lookbook-card:active .hover-view {
  opacity: 1;
  transform: scale(1.04);
}
.season-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}
.editorial-badge {
  background-color: #000000;
  color: #ffffff;
  padding: 4px 10px;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 2. The Fabric Story */
.fabric-story-section {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 40px;
  overflow: hidden;
}
.fabric-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fabric-content-side {
  padding-right: 40px;
}
.fabric-tag-label {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #848484;
  display: block;
  margin-bottom: 16px;
}
.fabric-display-title {
  font-family: var(--font-header);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}
.fabric-desc-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #848484;
  margin-bottom: 32px;
}
.fabric-links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fabric-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  width: fit-content;
}
.fabric-link-line {
  width: 48px;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fabric-link-item:hover .fabric-link-line {
  width: 80px;
}
.fabric-link-label {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}
.fabric-images-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fabric-image-wrapper {
  aspect-ratio: 3/4;
  background-color: #1a1c1c;
  position: relative;
  overflow: hidden;
}
.fabric-image-wrapper.offset-wrapper {
  margin-top: 32px;
}
.fabric-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.fabric-image-wrapper:hover .fabric-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* 3. Style Guide: Layering Guide */
.layering-guide-section {
  padding: 60px 40px;
  background-color: #f9f9f9;
}
.layering-header {
  text-align: center;
  margin-bottom: 32px;
}
.layering-title {
  font-family: var(--font-header);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a1c1c;
}
.layering-title-bar {
  width: 80px;
  height: 4px;
  background-color: #000000;
  margin: 16px auto 0 auto;
}
.layering-carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
}
.layering-card {
  scroll-snap-align: start;
  min-width: 300px;
  flex: 0 0 calc(33.33% - 16px);
  cursor: pointer;
}
.layering-img-wrapper {
  aspect-ratio: 4/5;
  background-color: #eeeeee;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.layering-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.layering-card:hover .layering-img {
  transform: scale(1.05);
}
.layering-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.layering-card:hover .layering-hover-overlay {
  opacity: 1;
}
.layering-hover-text {
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  padding: 10px 20px;
}
.layering-card-title {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #1a1c1c;
}
.layering-card-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #4c4546;
}

/* 4. Join the Inner Circle: Community */
.inner-circle-editorial {
  padding: 60px 40px;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
}
.inner-circle-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.inner-circle-form-side {
  max-width: 480px;
}
.inner-circle-headline {
  font-family: var(--font-header);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}
.inner-circle-body-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #848484;
  margin-bottom: 32px;
}
.inner-circle-avatars-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.avatars-overlap {
  display: flex;
}
.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #000000;
  object-fit: cover;
  margin-right: -16px;
}
.avatars-text-col {
  display: flex;
  flex-direction: column;
}
.avatars-count-text {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.avatars-subtext {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: #848484;
}
.editorial-newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 0;
  transition: border-color 0.25s ease;
}
.editorial-newsletter-form:focus-within {
  border-bottom-color: #ffffff;
}
.editorial-newsletter-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-grow: 1;
  padding: 8px 0;
  text-transform: uppercase;
}
.editorial-newsletter-input:focus {
  outline: none;
}
.editorial-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.editorial-newsletter-submit {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
.editorial-newsletter-submit:hover {
  color: #c084fc;
}
.inner-circle-images-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ugc-image-card {
  aspect-ratio: 1/1;
  background-color: #1a1c1c;
  position: relative;
  overflow: hidden;
}
.ugc-image-card.offset-ugc {
  margin-top: 32px;
}
.ugc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.ugc-image-card:hover .ugc-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.ugc-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ugc-image-card:hover .ugc-hover-overlay {
  opacity: 1;
}
.ugc-icon {
  color: #ffffff;
  font-size: 1.5rem;
}

/* 5. Minimalist Footer */
.editorial-footer {
  background-color: #000000;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 40px 32px 40px;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand-col {
  padding-right: 80px;
}
.footer-brand-logo {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: block;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #848484;
}
.footer-col-title {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #848484;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.footer-bottom-row {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #444747;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444747;
}
.lang-globe-icon {
  font-size: 0.85rem;
}
.lang-label-text {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col {
    padding-right: 0;
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .season-edit-section {
    padding: 60px 20px;
  }
  .season-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .season-title {
    font-size: 2rem;
  }
  .season-grid {
    grid-template-columns: 1fr;
  }
  .season-grid-main {
    height: 450px;
  }
  .look-reveal-panel {
    left: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }
  .fabric-story-section {
    padding: 60px 20px;
  }
  .fabric-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fabric-content-side {
    padding-right: 0;
  }
  .fabric-display-title {
    font-size: 2rem;
  }
  .layering-guide-section {
    padding: 60px 20px;
  }
  .layering-title {
    font-size: 2rem;
  }
  .layering-card {
    min-width: 260px;
    flex: 0 0 80%;
  }
  .inner-circle-editorial {
    padding: 60px 20px;
  }
  .inner-circle-headline {
    font-size: 2rem;
  }
  .inner-circle-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-footer {
    padding: 60px 20px 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   3. FEATURED CATEGORIES SECTION (MOCKUP INSPIRED)
   ========================================================================== */
.featured-categories-section {
  padding: 80px 40px;
  background-color: #f9f9f9;
}
.featured-categories-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}
.featured-categories-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #1a1c1c;
  margin-bottom: 12px;
}
.featured-categories-bar {
  width: 48px;
  height: 2px;
  background-color: #000000;
}
.featured-categories-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  border-top: 1px solid #cfc4c5;
  border-left: 1px solid #cfc4c5;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  
  /* 3D Perspective Gallery Setup */
  perspective: 1200px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
}
.featured-categories-grid::-webkit-scrollbar {
  display: none; /* WebKit */
}
.featured-categories-grid.active-dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  scroll-behavior: auto; /* Disable smooth scroll during active drag */
}
.category-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-right: 1px solid #cfc4c5;
  border-bottom: 1px solid #cfc4c5;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  aspect-ratio: 3 / 4;
  position: relative;
  cursor: pointer;
  background-color: #ffffff;
  overflow: hidden;
  user-select: none; /* Prevent text selection during drag */
  -webkit-user-drag: none;
  
  /* 3D Hardware Acceleration & Transitions */
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.1s ease-out,
              opacity 0.3s ease;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: #000000;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 11;
}
.category-card:hover,
.category-card:active {
  background-color: #ffffff;
  border-color: #000000;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  transform: translateY(-8px);
  z-index: 10;
}
.category-card:hover::after,
.category-card:active::after {
  width: 100%;
  left: 0;
}
.category-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(76, 69, 70, 0.4);
  margin-bottom: 8px;
}
.category-card-name {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #1a1c1c;
  margin-bottom: 16px;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-card:hover .category-card-name,
.category-card:active .category-card-name {
  color: #000000;
  transform: translateX(6px);
}
.category-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  z-index: 2;
}
.category-card-img-wrapper {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}
.category-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}
.category-card:hover .category-card-img,
.category-card:active .category-card-img {
  transform: scale(1.12) translateY(-6px) rotate(2deg);
}

/* Custom Scrollbar Track and Navigation Buttons */
/* Custom Scrollbar Track and Navigation Buttons */
.categories-scroll-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.categories-scroll-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cat-scroll-num-label {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1c1c;
  letter-spacing: 0.05em;
  min-width: 20px;
  user-select: none;
}
.categories-scroll-track {
  width: 180px;
  height: 2px;
  background-color: rgba(26, 28, 28, 0.12);
  position: relative;
  overflow: visible;
}
.categories-scroll-thumb {
  position: absolute;
  top: -1px;
  left: 0;
  width: 35px;
  height: 4px;
  background-color: #000000;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left center;
}
.cat-nav-btn {
  background: transparent;
  border: 1px solid rgba(26, 28, 28, 0.2);
  color: #1a1c1c;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.cat-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.cat-nav-btn svg {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-nav-btn:hover {
  border-color: #000000;
  color: #ffffff;
}
.cat-nav-btn:hover::before {
  transform: scale(1);
}
#cat-scroll-prev:hover svg {
  transform: translateX(-2px);
}
#cat-scroll-next:hover svg {
  transform: translateX(2px);
}
.cat-nav-btn:active {
  transform: scale(0.92);
}

/* Responsive category list overrides */
@media (max-width: 991px) {
  .category-card {
    flex: 0 0 240px;
    padding: 24px 20px;
  }
}
@media (max-width: 576px) {
  .featured-categories-section {
    padding: 60px 20px;
  }
  .featured-categories-title {
    font-size: 1.6rem;
  }
  .category-card {
    flex: 0 0 190px;
    padding: 20px 16px;
  }
  .category-card-name {
    font-size: 1.15rem;
  }
  .categories-scroll-controls {
    margin-top: 25px;
    gap: 16px;
  }
  .categories-scroll-track {
    width: 100px;
  }
  .cat-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   3D SHOWROOM SECTION (PREMIUM DARK / LIGHT CONTRAST)
   ========================================================================== */
.showroom-3d-section {
  position: relative;
  background: linear-gradient(to bottom, #f9f9f9 0%, #1a1a1a 8%, #0e0e0e 15%, #0e0e0e 85%, #1a1a1a 92%, #f9f9f9 100%);
  padding: 120px 0 140px 0;
  overflow: hidden;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.showroom-3d-header {
  text-align: center;
  margin-bottom: 60px;
  z-index: 10;
  max-width: 600px;
  padding: 0 20px;
}

.showroom-3d-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.showroom-3d-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.showroom-3d-bar {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  margin: 0 auto 20px auto;
}

.showroom-3d-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.showroom-3d-viewport {
  width: 100%;
  height: 520px;
  perspective: 1400px;
  perspective-origin: 50% 35%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}

.showroom-3d-viewport:active {
  cursor: grabbing;
}

/* Floor Shadow base to anchor items */
.showroom-3d-shadow-base {
  position: absolute;
  width: 380px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

/* Floating animation container */
.showroom-3d-floating-container {
  width: 270px;
  height: 420px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatShowroom 6s infinite ease-in-out;
}

@keyframes floatShowroom {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.showroom-3d-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-560px) rotateY(0deg);
  transition: none; /* controlled purely by JS for silky-smooth response */
}

/* Cylindrical geometry - Initial collapsed state */
.showroom-3d-card {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  opacity: 0;
  transition: filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.34, 1.56, 0.64, 1); /* premium elastic pop-out */
}

.showroom-3d-card:nth-child(1) { transform: rotateY(0deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(2) { transform: rotateY(27.69deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(3) { transform: rotateY(55.38deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(4) { transform: rotateY(83.08deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(5) { transform: rotateY(110.77deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(6) { transform: rotateY(138.46deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(7) { transform: rotateY(166.15deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(8) { transform: rotateY(193.85deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(9) { transform: rotateY(221.54deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(10) { transform: rotateY(249.23deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(11) { transform: rotateY(276.92deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(12) { transform: rotateY(304.62deg) translateZ(0) scale(0.3); }
.showroom-3d-card:nth-child(13) { transform: rotateY(332.31deg) translateZ(0) scale(0.3); }

/* Popped out expanded state when section is revealed */
.showroom-3d-section.reveal-active .showroom-3d-card {
  opacity: 1;
}
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(1) { transform: rotateY(0deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(2) { transform: rotateY(27.69deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(3) { transform: rotateY(55.38deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(4) { transform: rotateY(83.08deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(5) { transform: rotateY(110.77deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(6) { transform: rotateY(138.46deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(7) { transform: rotateY(166.15deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(8) { transform: rotateY(193.85deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(9) { transform: rotateY(221.54deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(10) { transform: rotateY(249.23deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(11) { transform: rotateY(276.92deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(12) { transform: rotateY(304.62deg) translateZ(560px) scale(1); }
.showroom-3d-section.reveal-active .showroom-3d-card:nth-child(13) { transform: rotateY(332.31deg) translateZ(560px) scale(1); }

.showroom-card-rotation-wrapper {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Premium White Cards contrasting the Dark Backdrop */
.showroom-card-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 !important;
  overflow: visible;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 15px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Active card — bright white glow border against dark backdrop */
.front .showroom-card-inner {
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.06);
}

/* Hover tilt scaling */
.showroom-3d-card:hover .showroom-card-inner {
  transform: scale(1.04) translateZ(15px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
}

.showroom-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f4f4f5;
  position: relative;
  transform: translateZ(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 !important; /* Ensure image wrapping is also sharp */
}

.showroom-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.showroom-3d-card:hover .showroom-card-img {
  transform: scale(1.05);
  filter: brightness(1.02) contrast(1.02);
}

/* Fashion Label Badge overlay styled like the screenshot */
.showroom-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  text-transform: uppercase;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 !important;
}

/* Diagonal Sheen Sweep Reflection */
.showroom-card-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    125deg, 
    rgba(255,255,255,0) 35%, 
    rgba(255,255,255,0.2) 45%, 
    rgba(255,255,255,0.35) 50%, 
    rgba(255,255,255,0.2) 55%, 
    rgba(255,255,255,0) 65%
  );
  pointer-events: none;
}

.showroom-3d-card:hover .showroom-card-sheen {
  left: 100%;
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.showroom-card-info {
  padding: 16px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transform: translateZ(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

/* Clean natural font system for product title */
.showroom-card-title {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  margin-top: 5px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Inactive card standalone price */
.showroom-card-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #52525b;
  margin: 0 0 12px 0;
  display: block;
}

/* Show price only on inactive cards, hide on active */
.front .showroom-card-price {
  display: none;
}

/* Navigation & Price row: shown only on active focused card */
.showroom-card-nav-row {
  display: none; /* Hidden on inactive cards */
  justify-content: space-between;
  align-items: center;
  margin: 5px 0 15px 0;
  width: 100%;
}

.front .showroom-card-nav-row {
  display: flex; /* Shown only on front card */
}

.showroom-nav-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #d4d4d8;
  background: transparent;
  color: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  border-radius: 0 !important;
}

.showroom-nav-arrow:hover {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}

.showroom-nav-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.showroom-nav-price::before,
.showroom-nav-price::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 1px;
  background-color: #d4d4d8;
}

/* Explore Details Button */
.showroom-card-btn {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: auto;
  text-align: center;
  transform: translateZ(30px);
  border-radius: 0 !important; /* Sharp corners */
  transition: all 0.3s ease;
}

/* Inactive button style (ghost border on white card) */
.showroom-card-btn {
  background: transparent;
  color: #52525b;
  border: 1px solid #d4d4d8;
}

.showroom-card-btn:hover {
  background: #f4f4f5;
  color: #000000;
  border-color: #a1a1aa;
}

/* Active focused card button style (solid black block) */
.front .showroom-card-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.front .showroom-card-btn:hover {
  background: #27272a;
  border-color: #27272a;
  color: #ffffff;
  transform: translateZ(35px);
}

/* Colored Spotlight Glow Accents on hover — intensified for dark backdrop */
.showroom-3d-card.accent-blue:hover .showroom-card-inner {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.15);
}
.showroom-3d-card.accent-gold:hover .showroom-card-inner {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.3), 0 0 40px rgba(217, 119, 6, 0.15);
}
.showroom-3d-card.accent-pink:hover .showroom-card-inner {
  border-color: rgba(244, 114, 182, 0.6);
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.3), 0 0 40px rgba(236, 72, 153, 0.15);
}
.showroom-3d-card.accent-purple:hover .showroom-card-inner {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.15);
}
.showroom-3d-card.accent-mustard:hover .showroom-card-inner {
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: 0 20px 50px rgba(234, 179, 8, 0.3), 0 0 40px rgba(234, 179, 8, 0.15);
}
.showroom-3d-card.accent-lavender:hover .showroom-card-inner {
  border-color: rgba(216, 180, 254, 0.6);
  box-shadow: 0 20px 50px rgba(167, 139, 250, 0.3), 0 0 40px rgba(167, 139, 250, 0.15);
}
.showroom-3d-card.accent-lightblue:hover .showroom-card-inner {
  border-color: rgba(186, 230, 253, 0.6);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.3), 0 0 40px rgba(56, 189, 248, 0.15);
}
.showroom-3d-card.accent-beige:hover .showroom-card-inner {
  border-color: rgba(245, 230, 211, 0.6);
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.25), 0 0 40px rgba(217, 119, 6, 0.1);
}
.showroom-3d-card.accent-brown:hover .showroom-card-inner {
  border-color: rgba(202, 138, 4, 0.6);
  box-shadow: 0 20px 50px rgba(234, 179, 8, 0.25), 0 0 40px rgba(234, 179, 8, 0.1);
}
.showroom-3d-card.accent-navy:hover .showroom-card-inner {
  border-color: rgba(30, 58, 138, 0.6);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25), 0 0 40px rgba(37, 99, 235, 0.1);
}
.showroom-3d-card.accent-jetblack:hover .showroom-card-inner {
  border-color: rgba(39, 39, 42, 0.6);
  box-shadow: 0 20px 50px rgba(63, 63, 70, 0.25), 0 0 40px rgba(63, 63, 70, 0.1);
}
.showroom-3d-card.accent-turquoise:hover .showroom-card-inner {
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 20px 50px rgba(20, 184, 166, 0.25), 0 0 40px rgba(20, 184, 166, 0.1);
}
.showroom-3d-card.accent-steelblue:hover .showroom-card-inner {
  border-color: rgba(147, 197, 253, 0.6);
  box-shadow: 0 20px 50px rgba(96, 165, 250, 0.25), 0 0 40px rgba(96, 165, 250, 0.1);
}
.showroom-3d-card.accent-bluedamask:hover .showroom-card-inner {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 20px 50px rgba(96, 165, 250, 0.25), 0 0 40px rgba(96, 165, 250, 0.1);
}
.showroom-3d-card.accent-navyleaf:hover .showroom-card-inner {
  border-color: rgba(30, 58, 138, 0.6);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.25), 0 0 40px rgba(30, 58, 138, 0.1);
}

/* Control panel styling */
.showroom-3d-controls {
  margin-top: 15px;
  z-index: 10;
}

.showroom-control-tip {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  animation: pulse-tip 2.5s infinite ease-in-out;
}

@keyframes pulse-tip {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* Visibility classes dynamically assigned in JS */
.showroom-3d-card.back {
  opacity: 0.4;
  filter: brightness(0.6) blur(1.5px);
  pointer-events: none;
  z-index: 1;
}

.showroom-3d-card.mid {
  opacity: 0.85;
  filter: brightness(0.85) blur(0.5px);
  pointer-events: auto;
  z-index: 5;
}

.showroom-3d-card.front {
  opacity: 1;
  filter: brightness(1) blur(0);
  pointer-events: auto;
  z-index: 10;
}

/* Responsiveness overrides */
@media (max-width: 768px) {
  .showroom-3d-section {
    padding: 70px 0 90px 0;
  }
  .showroom-3d-viewport {
    height: 420px;
    perspective: 1100px;
  }
  .showroom-3d-shadow-base {
    width: 280px;
    height: 30px;
  }
  .showroom-3d-floating-container {
    width: 160px;
    height: 260px;
  }
  .showroom-3d-carousel {
    transform: translateZ(-320px) rotateY(0deg);
  }
  
  .showroom-3d-card:nth-child(1) { transform: rotateY(0deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(2) { transform: rotateY(27.69deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(3) { transform: rotateY(55.38deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(4) { transform: rotateY(83.08deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(5) { transform: rotateY(110.77deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(6) { transform: rotateY(138.46deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(7) { transform: rotateY(166.15deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(8) { transform: rotateY(193.85deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(9) { transform: rotateY(221.54deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(10) { transform: rotateY(249.23deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(11) { transform: rotateY(276.92deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(12) { transform: rotateY(304.62deg) translateZ(0) scale(0.3); }
  .showroom-3d-card:nth-child(13) { transform: rotateY(332.31deg) translateZ(0) scale(0.3); }
  
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(1) { transform: rotateY(0deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(2) { transform: rotateY(27.69deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(3) { transform: rotateY(55.38deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(4) { transform: rotateY(83.08deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(5) { transform: rotateY(110.77deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(6) { transform: rotateY(138.46deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(7) { transform: rotateY(166.15deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(8) { transform: rotateY(193.85deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(9) { transform: rotateY(221.54deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(10) { transform: rotateY(249.23deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(11) { transform: rotateY(276.92deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(12) { transform: rotateY(304.62deg) translateZ(320px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(13) { transform: rotateY(332.31deg) translateZ(320px) scale(1); }
  
  .showroom-card-img-wrap {
    height: 180px;
    border-radius: 0 !important;
  }
  .showroom-card-info {
    padding: 12px;
  }
  .showroom-card-title {
    font-size: 16px;
  }
  .showroom-card-price {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .showroom-nav-arrow {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .showroom-nav-price {
    font-size: 14px;
    gap: 8px;
  }
  .showroom-nav-price::before,
  .showroom-nav-price::after {
    width: 8px;
  }
  .showroom-card-btn {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 0 !important;
  }
}

/* Scroll Reveal Transitions */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic background glow orb - atmospheric studio spotlight on dark backdrop */
.showroom-3d-bg-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  transition: background 1s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   PREMIUM SECTION FLOW — Full-width backgrounds & seamless transitions
   ========================================================================== */

/* --- FULL-WIDTH BACKGROUNDS ---
   Remove max-width from section-level elements so backgrounds span 100vw.
   Content is centered via calculated padding to maintain the 1320px flow area. */

.season-edit-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 60px max(40px, calc(50vw - 660px));
  background-color: #f9f9f9;
  position: relative;
}

.featured-categories-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 80px max(40px, calc(50vw - 660px));
  background-color: #f9f9f9;
}

.shop-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 60px max(40px, calc(50vw - 660px));
  background-color: #f9f9f9;
  position: relative;
}

.layering-guide-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 60px max(40px, calc(50vw - 660px));
  background-color: #f9f9f9;
  position: relative;
}


/* --- SMOOTH VERTICAL TRANSITIONS ---
   Gradient fades at dark↔light boundaries for editorial flow. */



/* Shop Section (light) → Fabric Story (black): bottom gradient on shop */
.shop-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #000000);
  pointer-events: none;
  z-index: 1;
}

/* Fabric Story (black) → Layering Guide (light): bottom gradient on fabric */
.fabric-story-section {
  position: relative;
}
.fabric-story-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #f9f9f9);
  pointer-events: none;
  z-index: 1;
}

/* Layering Guide (light) → Feedback (dark): bottom gradient on layering */
.layering-guide-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #0c0f0f);
  pointer-events: none;
  z-index: 1;
}

/* Feedback section: remove the hard border-top line */
.feedback-section {
  border-top: none !important;
}

/* Footer: remove the hard border-top line */
.editorial-footer {
  border-top: none;
}

/* Jeans Size Finder Styles */
.jeans-tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.jeans-tab-btn:hover {
  color: var(--color-accent-black) !important;
  opacity: 0.85;
}

.jeans-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .jeans-chart-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* Shirts Size Finder Styles */
.shirts-tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.shirts-tab-btn:hover {
  color: var(--color-accent-black) !important;
  opacity: 0.85;
}

.shirts-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .shirts-chart-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* ==========================================================================
   THEME TOGGLE & LIGHT MODE OVERRIDES
   ========================================================================== */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

#theme-toggle-btn {
  margin-right: 8px;
}
#theme-toggle-btn .sun-icon {
  display: block;
}
#theme-toggle-btn .moon-icon {
  display: none;
}

body.light-mode #theme-toggle-btn .sun-icon {
  display: none !important;
}
body.light-mode #theme-toggle-btn .moon-icon {
  display: block !important;
}

/* Light Theme Variables */
body.light-mode {
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-tertiary: #ffffff;
  
  --color-text-primary: #09090b;
  --color-text-secondary: #27272a;
  --color-text-muted: #71717a;
  
  --border-light: #e4e4e7;
  --border-medium: #d4d4d8;
  
  --color-accent-black: #000000;
}

/* Light mode specific element overrides */
body.light-mode .header {
  background-color: #ffffff;
  border-bottom: 1px solid #e4e4e7;
}

body.light-mode .product-price {
  color: #6d28d9; /* Deep violet for clear high contrast in light mode */
}

body.light-mode .chat-message.bot {
  background-color: #f4f4f5;
  color: #18181b;
  border-color: #e4e4e7;
}

body.light-mode .chatbot-panel-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e4e4e7;
  color: #09090b;
}

body.light-mode .chatbot-panel-header .chat-panel-close-btn {
  color: #71717a;
}

body.light-mode .chatbot-panel-header .chat-panel-close-btn:hover {
  color: #09090b;
}

body.light-mode .chatbot-panel-body {
  background-color: #fafafa;
}

body.light-mode .chatbot-panel-footer {
  background-color: #ffffff;
  border-top: 1px solid #e4e4e7;
}

body.light-mode .chatbot-panel-footer input {
  background-color: #f4f4f5;
  color: #09090b;
  border-color: #e4e4e7;
}

/* Product Details Accordions */
.product-details-accordions {
  border-top: 1px solid var(--border-light);
  margin-top: 28px;
}
.details-accordion-item {
  border-bottom: 1px solid var(--border-light);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-primary);
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}
.accordion-trigger:hover {
  opacity: 0.8;
}
.accordion-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-muted);
}
.details-accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--color-text-primary);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0;
}
.details-accordion-item.active .accordion-content {
  max-height: 150px;
  padding-bottom: 16px;
}
.accordion-content p {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   PREMIUM MODAL LIGHT THEME CONTRAST
   ========================================================================== */
#product-modal .modal-container,
#size-calc-modal .checkout-modal-container {
  background-color: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px !important;
}

#product-modal .modal-close-btn,
#size-calc-modal .modal-close-btn {
  color: #09090b !important;
}

#product-modal .product-details-category {
  color: #71717a !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}
#product-modal .product-details-title {
  color: #09090b !important;
}
#product-modal .product-details-price {
  color: #6d28d9 !important; /* Premium deep purple */
}
#product-modal .product-details-desc {
  color: #3f3f46 !important;
}
#product-modal .size-selector-label {
  color: #18181b !important;
}
#product-modal .size-selector-label span {
  color: #18181b !important;
}
#product-modal .size-selector-label #modal-fit-finder-trigger {
  color: #2563eb !important;
}

#product-modal .size-btn {
  background-color: #ffffff !important;
  border: 1px solid #d4d4d8 !important;
  color: #18181b !important;
}
#product-modal .size-btn:hover {
  border-color: #09090b !important;
}
#product-modal .size-btn.active {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

#product-modal #modal-add-to-bag-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.2s ease !important;
}
#product-modal #modal-add-to-bag-btn:hover {
  background-color: #18181b !important;
}

#product-modal .product-details-accordions {
  border-top: 1px solid #e4e4e7 !important;
}
#product-modal .details-accordion-item {
  border-bottom: 1px solid #e4e4e7 !important;
}
#product-modal .accordion-trigger {
  color: #09090b !important;
}
#product-modal .accordion-arrow {
  color: #71717a !important;
}
#product-modal .details-accordion-item.active .accordion-arrow {
  color: #09090b !important;
}
#product-modal .accordion-content p {
  color: #27272a !important;
}

#size-calc-modal .form-title {
  color: #09090b !important;
}
#size-calc-modal .panel-subtitle {
  color: #71717a !important;
}
#size-calc-modal label {
  color: #18181b !important;
}
#size-calc-modal input,
#size-calc-modal select {
  background-color: #f4f4f5 !important;
  color: #09090b !important;
  border: 1px solid #d4d4d8 !important;
}
#size-calc-modal input:focus,
#size-calc-modal select:focus {
  border-color: #6d28d9 !important;
}
#size-calc-modal .btn-primary {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
}
#size-calc-modal .btn-primary:hover {
  background-color: #18181b !important;
}

#size-calc-modal .size-chart-table th {
  background-color: #f4f4f5 !important;
  color: #09090b !important;
  border-bottom: 2px solid #e4e4e7 !important;
}
#size-calc-modal .size-chart-table td {
  border-bottom: 1px solid #e4e4e7 !important;
  color: #27272a !important;
}
#size-calc-modal .size-chart-table tr:hover {
  background-color: #fafafa !important;
}
#size-calc-modal .size-chart-table th,
#size-calc-modal .size-chart-table td {
  border-color: #e4e4e7 !important;
}

#size-calc-modal .calc-tabs-row button {
  border-color: #d4d4d8 !important;
  color: #71717a !important;
  background-color: #f4f4f5 !important;
}
#size-calc-modal .calc-tabs-row button.active {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

#size-calc-modal .size-result-container {
  margin-top: 24px !important;
  padding: 24px 20px !important;
  background-color: #fafafa !important;
  border: 1.5px dashed #d4d4d8 !important;
  border-radius: 12px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#size-calc-modal .result-badge-ai {
  padding: 4px 10px !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  display: inline-block !important;
  margin-bottom: 14px !important;
}

#size-calc-modal .result-label {
  font-size: 0.65rem !important;
  color: #71717a !important;
  font-weight: 800 !important;
  display: block !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

#size-calc-modal .result-size-badge {
  font-size: 3.2rem !important;
  font-family: var(--font-header) !important;
  font-weight: 900 !important;
  color: #000000 !important;
  line-height: 1 !important;
  margin: 4px 0 10px !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  animation: scalePulse 2s ease-in-out infinite !important;
}

#size-calc-modal #recommended-size-val {
  color: #000000 !important;
}

#size-calc-modal .result-reason {
  font-size: 0.72rem !important;
  color: #3f3f46 !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  margin: 6px 0 16px !important;
  max-width: 90% !important;
}

#size-calc-modal #apply-size-to-product-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 800 !important;
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

#size-calc-modal #apply-size-to-product-btn:hover {
  background-color: #18181b !important;
}

@keyframes scalePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

#size-calc-modal svg text {
  fill: #09090b !important;
}
#size-calc-modal svg path,
#size-calc-modal svg line,
#size-calc-modal svg rect {
  stroke: #27272a !important;
}
#size-calc-modal .size-schematic {
  background-color: #f4f4f5 !important;
  border-radius: 8px !important;
  border: 1px solid #e4e4e7 !important;
}

#size-calc-modal .jeans-tab-btn,
#size-calc-modal .shirts-tab-btn {
  background: #f4f4f5 !important;
  border: 1px solid #d4d4d8 !important;
  color: #71717a !important;
  font-family: var(--font-header) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border-bottom: 2px solid #d4d4d8 !important;
}

#size-calc-modal .jeans-tab-btn:hover,
#size-calc-modal .shirts-tab-btn:hover {
  color: #000000 !important;
  border-color: #000000 !important;
}

#size-calc-modal .jeans-tab-btn.active,
#size-calc-modal .shirts-tab-btn.active {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  border-bottom: 2px solid #000000 !important;
}

/* ==========================================================================
   PREMIUM CHECKOUT MODAL LIGHT THEME CONTRAST
   ========================================================================== */
#checkout-modal .checkout-modal-container {
  background-color: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px !important;
}

#checkout-modal .modal-close-btn {
  color: #09090b !important;
}

#checkout-modal .form-title {
  color: #09090b !important;
}

#checkout-modal label {
  color: #18181b !important;
}

#checkout-modal input,
#checkout-modal select {
  background-color: #f4f4f5 !important;
  color: #09090b !important;
  border: 1px solid #d4d4d8 !important;
}

#checkout-modal input:focus,
#checkout-modal select:focus {
  border-color: #6d28d9 !important;
}

#checkout-modal .wizard-step {
  color: #71717a !important;
}

#checkout-modal .wizard-step.active {
  color: #09090b !important;
  font-weight: 800 !important;
}

#checkout-modal .totals-row {
  color: #3f3f46 !important;
}

#checkout-modal .totals-row.text-discount {
  color: #10b981 !important;
}

#checkout-modal .totals-row.text-grand-total {
  color: #09090b !important;
  border-top: 1.5px dashed #e4e4e7 !important;
}

#checkout-modal #checkout-promo-input {
  background-color: #f4f4f5 !important;
  color: #09090b !important;
  border: 1px solid #d4d4d8 !important;
}

#checkout-modal #apply-promo-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
}

#checkout-modal #apply-promo-btn:hover {
  background-color: #18181b !important;
}

#checkout-modal .checkout-promo-box,
#checkout-modal .checkout-totals-summary {
  background-color: #fafafa !important;
  border: 1px solid #e4e4e7 !important;
}

#checkout-modal .wizard-back-btn {
  background-color: transparent !important;
  color: #000000 !important;
  border: 1.5px solid #000000 !important;
}

#checkout-modal .wizard-back-btn:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

#checkout-modal .wizard-btn-row .btn-primary {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
}

#checkout-modal .wizard-btn-row .btn-primary:hover {
  background-color: #18181b !important;
}

#checkout-modal .checkout-item-card {
  border-bottom: 1px solid #e4e4e7 !important;
}

#checkout-modal .checkout-item-title {
  color: #09090b !important;
}

#checkout-modal .checkout-item-price {
  color: #6d28d9 !important;
}

#checkout-modal .checkout-item-meta {
  color: #71717a !important;
}

/* ==========================================================================
   CINEMATIC STOREFRONT SCROLL ANIMATION SYSTEM
   ========================================================================== */
.showroom-scroll-container {
  position: relative;
  width: 100%;
  background-color: #000000;
  margin-top: calc(-1 * var(--header-height)); /* Pulls walkthrough full-bleed to screen top */
  margin-bottom: -100vh; /* Overlaps Hero section below for seamless cross-dissolve */
}

.showroom-scroll-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 100;
  background-color: #000000; /* Black bg on sticky, not container, so hero shows through on fade */
}

/* Cinematic vignette and high-fidelity gradients (no film grain for maximum clarity) */
.showroom-scroll-sticky::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 100%),
                    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.5) 100%);
  background-size: 100% 100%, 100% 100%;
  pointer-events: none;
  z-index: 101;
}

#showroom-scroll-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
  z-index: 100;
}

.showroom-scroll-spacer {
  height: 120vh; /* Decoupled for ultra-smooth 60fps frame rates */
}

.cinematic-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  z-index: 105;
  width: 90%;
  max-width: 1000px;
  line-height: 1.3;
}

.cinematic-overlay-text.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.scroll-indicator-container {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 105;
  pointer-events: none;
}

.scroll-indicator-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  position: relative;
}

.scroll-indicator-wheel {
  width: 2px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelAnim 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollWheelAnim {
  0% { top: 5px; opacity: 1; }
  50% { top: 13px; opacity: 0; }
  100% { top: 5px; opacity: 1; }
}

/* Header hide transition during scrolling animation */
.header {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease !important;
}

.header.header-hidden {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cinematic-overlay-text {
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    max-width: 95%;
  }
}

/* Preloader Overlay */
.showroom-preloader-overlay {
  display: none !important;
}

.showroom-preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.85; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

.preloader-progress-bar {
  width: 240px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  margin-top: 8px;
}

.preloader-progress-line {
  width: 0%;
  height: 100%;
  background-color: #ffffff;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.preloader-percentage {
  font-family: 'Geist', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

/* Mobile Menu Drawer (Left Slide Out) */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: -320px; /* Initially offscreen left */
  width: 320px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-light);
  z-index: 100500;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--box-shadow-premium);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active {
  transform: translateX(320px); /* Slide in */
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.menu-close-btn {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition-fast);
}

.menu-close-btn:hover {
  color: var(--color-accent-red-hover);
}

.mobile-menu-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.mobile-nav-btn {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: left;
  cursor: pointer;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.mobile-nav-btn:hover {
  color: var(--color-accent-blue);
}

.mobile-menu-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 32px 0;
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.mobile-footer-link {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  cursor: pointer;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.mobile-footer-link:hover {
  color: #ffffff;
}

/* Premium D2C Payment Selector Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.payment-card {
  border: 1px solid var(--border-medium);
  background-color: var(--bg-secondary);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.payment-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-card:hover::before {
  opacity: 1;
}

.payment-card.active {
  border-color: var(--color-accent-blue);
  background-color: rgba(59, 130, 246, 0.03);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.payment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  width: 100%;
}

.payment-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-card-icon {
  color: var(--text-medium);
  transition: color 0.3s ease;
}

.payment-card.active .payment-card-icon {
  color: var(--color-accent-blue);
}

.payment-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pay-radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.payment-card.active .pay-radio-dot {
  border-color: var(--color-accent-blue);
  background-color: var(--color-accent-blue);
}

.pay-radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payment-card.active .pay-radio-dot::after {
  opacity: 1;
  transform: scale(1);
}

.payment-card-desc {
  font-size: 0.62rem;
  color: var(--text-medium);
  line-height: 1.4;
  pointer-events: none;
}

.payment-badges-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  pointer-events: none;
}

.badge-tag {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.payment-card.active .badge-tag {
  color: var(--color-accent-blue);
  border-color: rgba(59, 130, 246, 0.2);
  background-color: rgba(59, 130, 246, 0.02);
}

/* Real-time Customer Reviews Enhancements */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.08);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: inherit;
  border-radius: 50%;
  left: 0;
  top: 0;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Beautiful modern feedback cards */
.feedback-card {
  background-color: #ffffff;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
  padding: 22px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-origin: top center;
}

.feedback-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  border-color: #d4d4d8 !important;
}

/* Smooth drop-in animation for new live reviews */
@keyframes review-drop-in {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: -16px;
    border-color: transparent !important;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 300px;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    margin-bottom: 0;
    border-color: #e4e4e7 !important;
  }
}

.feedback-card.new-drop {
  animation: review-drop-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  overflow: hidden;
}

/* Scrollable container with minimal modern scrollbar */
.feedback-logs-wrapper {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 12px;
}

.feedback-logs-wrapper::-webkit-scrollbar {
  width: 4px;
}

.feedback-logs-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.feedback-logs-wrapper::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 10px;
}

.feedback-logs-wrapper::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* Instagram QR Section Styling */
.instagram-display-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.instagram-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.45), 0 0 30px rgba(236, 72, 153, 0.15) !important;
}

.instagram-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.instagram-card-logo {
  color: #e1306c; /* Instagram Pink */
  filter: drop-shadow(0 0 4px rgba(225, 48, 108, 0.3));
}

.instagram-card-title {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.instagram-qr-container {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 24px;
  display: inline-block;
  /* Beautiful animated gradient border */
  background: linear-gradient(45deg, #f97316, #ec4899, #8b5cf6);
  padding: 3px; /* border thickness */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.instagram-qr-img {
  width: 100%;
  max-width: 240px;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

.instagram-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #ffffff;
  color: #000000;
  padding: 14px 20px;
  border-radius: 8px;
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.instagram-card-btn:hover {
  background: linear-gradient(45deg, #f97316, #ec4899, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.3);
}

.instagram-card-btn .arrow-icon {
  transition: transform 0.3s ease;
}

.instagram-card-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   MOBILE FIRST FIXES — Add at bottom of stylesheet
   ========================================================================== */

@media (max-width: 480px) {

  /* --- HEADER --- */
  .header-container {
    padding: 0 16px;
  }
  .header-search-container {
    display: none;
  }

  /* --- HERO --- */
  .hero-slider-section {
    min-height: 100svh; /* safe viewport height for mobile browsers */
  }
  .hero-slide-content {
    bottom: 120px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
  .hero-slide-title {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .hero-slide-desc {
    font-size: 0.75rem;
    margin-bottom: 16px;
  }
  .hero-slide-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-slide-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
  .hero-value-bar {
    padding: 10px 12px;
    column-gap: 12px;
    row-gap: 6px;
  }
  .hero-value-item {
    font-size: 0.52rem;
  }
  .hero-slider-dots {
    bottom: 75px;
  }

  /* --- PRODUCT GRID --- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-title {
    font-size: 0.7rem;
  }
  .product-price {
    font-size: 0.82rem;
  }
  .shop-section {
    padding: 40px 12px;
  }

  /* --- CART DRAWER --- */
  .cart-drawer {
    max-width: 100%;
    right: -100%;
    width: 100%;
  }
  .cart-drawer-container {
    padding: 20px 16px;
  }

  /* --- CHECKOUT MODAL --- */
  .checkout-modal-container {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px 16px 280px 16px !important;
    border-radius: 0 !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.span-2 {
    grid-column: span 1;
  }
  .wizard-btn-row {
    flex-direction: column;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  /* --- PRODUCT MODAL --- */
  .modal-container {
    width: 100%;
    max-height: 100vh;
    border-radius: 0 !important;
  }
  #contact-modal .modal-container {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px 16px 280px 16px !important;
    border-radius: 0 !important;
  }
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-body {
    padding: 16px;
  }

  /* --- FOOTER --- */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .footer {
    padding: 40px 16px 24px;
  }
  .footer-bottom-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* --- SEARCH DROPDOWN --- */
  .search-dropdown-overlay {
    width: 100vw;
    right: auto;
    left: -16px; /* align to screen edge */
  }

  /* --- FEEDBACK SECTION --- */
  .feedback-section {
    padding: 40px 12px;
  }
  .feedback-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-grid-half {
    grid-template-columns: 1fr;
  }

  /* --- MANIFESTO --- */
  .manifesto-box {
    padding: 30px 16px;
  }
  .manifesto-stats {
    gap: 20px;
  }
  .stat-num {
    font-size: 1.4rem;
  }

  /* --- AUTH MODAL --- */
  .auth-modal-container {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 24px 20px 280px 20px !important;
    border-radius: 0 !important;
  }
  .auth-form-side {
    padding: 24px 20px;
  }

  /* --- SEASON EDIT SECTION --- */
  .season-title {
    font-size: 1.6rem;
  }
  .season-grid {
    grid-template-columns: 1fr;
  }
  .season-grid-main {
    height: 360px;
  }

  /* --- INNER CIRCLE --- */
  .inner-circle-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .inner-circle-headline {
    font-size: 1.6rem;
  }

  /* --- FABRIC STORY --- */
  .fabric-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fabric-display-title {
    font-size: 1.6rem;
  }
  .fabric-images-side {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* --- SHOWROOM 3D --- */
  .showroom-3d-viewport {
    height: 340px;
  }
  .showroom-3d-floating-container {
    width: 160px;
    height: 260px;
  }

  /* --- GENERAL TOUCH TARGETS --- */
  .filter-btn {
    padding: 10px 14px;
    font-size: 0.68rem;
  }
  .btn {
    padding: 14px 20px;
    font-size: 0.72rem;
  }
  .action-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   PREMIUM MOBILE PORTRAIT OVERRIDES (MOBILE FIRST CENTRIC)
   ========================================================================== */
@media (max-width: 768px) {
  /* --- SCROLL REVEAL BYPASS FOR INSTANT LOADING --- */
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* --- HEADER & ICONS ALIGNMENT --- */
  .header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 16px !important;
  }
  .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding-left: 0 !important;
    z-index: 10 !important;
  }
  .header-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 !important;
    border: none !important;
    z-index: 5 !important;
  }
  .brand-logo {
    font-size: 1.15rem !important;
    letter-spacing: 0.12em !important;
    white-space: nowrap !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding-right: 0 !important;
    z-index: 10 !important;
  }
  .action-btn {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0 !important;
    color: var(--color-text-primary) !important;
  }
  .action-btn:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: var(--color-accent-blue) !important;
  }
  .action-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* --- CATEGORY CARDS SPACING & GRID LAYOUT --- */
  .featured-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    perspective: none !important;
    transform-style: flat !important;
    border-right: 1px solid #cfc4c5 !important;
    border-bottom: 1px solid #cfc4c5 !important;
  }
  .category-card {
    flex: none !important;
    width: auto !important;
    padding: 16px 12px !important;
    aspect-ratio: 0.75 !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .category-card-name {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }
  .category-card-num {
    margin-bottom: 4px !important;
    font-size: 0.85rem !important;
  }
  .category-card-badge {
    top: 12px !important;
    right: 12px !important;
    font-size: 0.55rem !important;
    padding: 2px 6px !important;
  }
  .categories-scroll-controls {
    display: none !important;
  }

  /* --- MOBILE HEADER REDUCTION TO PREVENT COLLISION --- */
  #profile-trigger-btn,
  #theme-toggle-btn {
    display: none !important;
  }

  /* --- FIXED MOBILE MODAL CLOSE BUTTON --- */
  .modal-close-btn {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 100500 !important;
    background: var(--bg-secondary) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--color-text-primary) !important;
    line-height: 1 !important;
    padding: 0 !important;
  }

  /* --- AUTH MODAL MOBILE CORRECTION --- */
  .auth-split-layout {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .auth-graphic-side {
    display: none !important;
  }
  .auth-form-side {
    padding: 24px 16px !important;
  }
}

@media (max-width: 480px) {
  /* --- 3D SHOWROOM VIEWPORT & CYLINDRICAL MATH CORRECTION --- */
  .showroom-3d-viewport {
    height: 340px !important;
  }
  .showroom-3d-floating-container {
    width: 120px !important;
    height: 210px !important;
  }
  
  /* Update card cylinder radius to 240px to match the -240px translateZDepth of the carousel */
  .showroom-3d-carousel {
    transform: translateZ(-240px) rotateY(0deg);
  }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(1) { transform: rotateY(0deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(2) { transform: rotateY(27.69deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(3) { transform: rotateY(55.38deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(4) { transform: rotateY(83.08deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(5) { transform: rotateY(110.77deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(6) { transform: rotateY(138.46deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(7) { transform: rotateY(166.15deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(8) { transform: rotateY(193.85deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(9) { transform: rotateY(221.54deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(10) { transform: rotateY(249.23deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(11) { transform: rotateY(276.92deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(12) { transform: rotateY(304.62deg) translateZ(240px) scale(1); }
  .showroom-3d-section.reveal-active .showroom-3d-card:nth-child(13) { transform: rotateY(332.31deg) translateZ(240px) scale(1); }

  .showroom-card-img-wrap {
    height: 115px !important;
  }
  .showroom-card-info {
    padding: 6px 4px !important;
  }
  .showroom-card-title {
    font-size: 11px !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
  }
  .showroom-card-price {
    font-size: 10.5px !important;
    margin-bottom: 2px !important;
  }
  .showroom-card-nav-row {
    margin: 1px 0 4px 0 !important;
  }
  .showroom-nav-arrow {
    width: 18px !important;
    height: 18px !important;
    font-size: 8px !important;
  }
  .showroom-nav-price {
    font-size: 10.5px !important;
    gap: 4px !important;
  }
  .showroom-nav-price::before,
  .showroom-nav-price::after {
    width: 4px !important;
  }
  .showroom-card-btn {
    padding: 5px 8px !important;
    font-size: 8.5px !important;
  }

  /* --- FEEDBACK REVIEW FORM PADDING & COMPACT CARDS --- */
  .feedback-section {
    padding: 24px 12px !important;
  }
  .feedback-form-panel {
    padding: 16px 12px !important;
  }
  .feedback-form-panel h3 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
  }
  .feedback-card {
    padding: 12px !important;
  }
  .feedback-card-name {
    font-size: 0.85rem !important;
  }
  .feedback-card-text {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }

  /* --- COMPACT MOBILE PRODUCT MODAL --- */
  #product-modal .modal-container {
    max-height: 90vh !important;
    border-radius: 12px 12px 0 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
  #product-modal .modal-body {
    padding: 16px 16px 32px 16px !important;
  }
  #product-modal .product-details-image-wrap {
    height: auto !important;
    aspect-ratio: 1 !important;
    max-height: 42vh !important;
    background-color: var(--bg-secondary) !important;
    overflow: hidden !important;
  }
  #product-modal .product-details-image {
    object-fit: contain !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  #product-modal .modal-thumbnail-item {
    width: 50px !important;
    height: 65px !important;
  }
  #product-modal .product-details-title {
    font-size: 1.4rem !important;
    margin-top: 12px !important;
  }
  #product-modal .product-details-price {
    font-size: 1.2rem !important;
    margin-top: 6px !important;
  }
  #product-modal .product-details-desc {
    font-size: 0.88rem !important;
    margin: 12px 0 !important;
    line-height: 1.5 !important;
    color: var(--color-text-secondary) !important;
  }
  #product-modal .size-selector-label {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
  #product-modal .size-selector {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  #product-modal .size-btn {
    width: auto !important;
    min-width: 44px !important;
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 0.8rem !important;
  }
  #product-modal #modal-add-to-bag-btn {
    padding: 14px !important;
    font-size: 0.85rem !important;
    margin-top: 16px !important;
  }
  
  /* --- SIZE CALCULATOR CLOSE BUTTON CORRECTION --- */
  #size-calc-modal .modal-close-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--color-text-primary) !important;
    width: auto !important;
    height: auto !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    padding: 0 !important;
  }
}

/* --- PREMIUM INTERACTIVE CHATBOT UPGRADE --- */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 12px 0;
  align-self: flex-start;
  max-width: 95%;
  animation: fadeIn 0.3s ease;
}
.quick-reply-btn {
  background-color: #1e2020;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.quick-reply-btn:hover {
  background-color: #ffffff;
  color: #0c0f0f;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}
body.light-mode .quick-reply-btn {
  background-color: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
body.light-mode .quick-reply-btn:hover {
  background-color: #0c0f0f;
  color: #ffffff;
  border-color: #0c0f0f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.chat-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background-color: #1e2020;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-top-left-radius: 0;
  align-self: flex-start;
  margin-bottom: 8px;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.25s ease;
}
body.light-mode .chat-typing-indicator {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
body.light-mode .typing-dot {
  background-color: #64748b;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.3); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}


