/* ════ GLOBAL VARIABLES & ROOT STYLES ════ */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent; /* Disable default tap blue glow */
}

::selection {
  background-color: Highlight;
  color: HighlightText;
}

::-moz-selection {
  background-color: Highlight;
  color: HighlightText;
}

a, button, input, select, textarea, [role="button"] {
  outline: none !important;
}

:root {
  /* ════ CHROME NOIR ACCENT PALETTE ════
     Replaces the legacy gold/bronze accent system.
     Sampled from Secondary_Color_Guide.html — chrome/steel tones
     for secondary & tertiary UI, cream reserved for primary CTAs only. */
  --black:      #08090B;   /* void black — base canvas */
  --deep:       #0F1216;   /* chrome shadow */
  --surface:    #101215;   /* panel */
  --border:     rgba(157,163,171,0.16);
  --gold:       #575D65;   /* chrome core — primary accent (legacy name kept for compatibility) */
  --gold-light: #9DA3AB;   /* chrome light — hover / highlight */
  --gold-pale:  #F2EAD9;   /* cta cream — reserve for primary calls to action only */
  --white:      #E9E9EA;   /* ink */
  --muted:      #9A9BA1;   /* ink dim */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans:  'Jost', sans-serif;
}

/* Lenis Smooth Scroll Core Styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset Sidebar Padding */
body { padding-left: 0; }

/* Hide the desktop top-bar Account link IF it's ever rendered as a plain
   <a href="...account..."> inside the header. Scoped tightly to the desktop header only */
#global-header .nav-right > a[href*="account"],
#global-header .nav-right > a[href*="profile"] {
  display: none !important;
}

/* ════ DYNAMIC NAVIGATION (with Scroll Reveal) ════ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; 
  transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              -webkit-backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background-color: rgba(8, 9, 11, 0.94) !important;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transform: translateY(0);
  will-change: height, background-color, backdrop-filter, transform;
}

/* On homepage hero only: start transparent and expand height */
body:has(#hero) #main-nav:not(.scrolled) {
  background-color: transparent !important;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  height: 110px;
}

#main-nav.scrolled {
  background-color: rgba(8, 9, 11, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  height: 80px;
  border-bottom: 1px solid var(--border);
}

#main-nav.nav-hidden {
  transform: translateY(-100%) !important;
}

/* ════ GLOBAL SILENT CART TOAST NOTIFICATION ════ */
.silent-cart-toast {
  position: fixed;
  bottom: 94px;
  right: 32px;
  z-index: 9999;
  background: rgba(16, 18, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 4px;
  display: none !important;
  align-items: center;
  gap: 16px;
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s;
  max-width: calc(100vw - 40px);
}
.silent-cart-toast.active {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.toast-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toast-status {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FC9A3;
}
.toast-title {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #FFFFFF;
  font-weight: 400;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast-checkout-btn {
  background: #FFFFFF;
  color: #08090B;
  border: 1px solid #FFFFFF;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.toast-checkout-btn:hover {
  background: #E2E8F0;
  border-color: #E2E8F0;
}
@media (max-width: 640px) {
  .silent-cart-toast {
    left: 16px;
    right: 16px;
    bottom: 88px;
    max-width: none;
    justify-content: space-between;
  }
  .toast-title {
    max-width: 150px;
  }
}

.nav-logo-wrap {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center;
  pointer-events: none;
}
.nav-logo-wrap a {
  pointer-events: auto;
}
.nav-logo-wrap img {
  height: 110px; width: auto;
  transition: height 0.4s ease, transform 0.4s ease;
}

.nav-left, .nav-right { flex: 1; display: flex; align-items: center; }
.nav-right { justify-content: flex-end; gap: 32px; }

.menu-toggle {
  background: none; border: none; cursor: pointer;
  width: 26px; height: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
  display: block; width: 100%; height: 1px;
  background: var(--white); transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-toggle:hover span:nth-child(2) { width: 60%; }

.nav-icons button,
.nav-icons .nav-icon-link {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-icons button:hover,
.nav-icons .nav-icon-link:hover {
  color: var(--gold);
}

.nav-icons svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  stroke: currentColor;
  fill: none;
  display: block;
}

.desktop-cart .cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background-color: var(--gold, #575D65);
  color: #000000;
  font-family: var(--font-sans, sans-serif);
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 1px;
}

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

/* ════ EXPANDING STICKY GLASSMORPHIC SEARCH BAR & AUTOCOMPLETE ════ */
.sticky-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 100050;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

.search-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 740px;
  margin: 0 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-search-overlay.active .search-container {
  transform: translateY(0);
}

.search-top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.search-bar-inner {
  flex: 1;
  min-width: 0;
  background: rgba(18, 20, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  padding: 6px 16px;
  gap: 12px;
}

.search-input-icon {
  width: 18px;
  height: 18px;
  color: var(--chrome-light, #9DA3AB);
  flex-shrink: 0;
}

.search-form {
  flex: 1;
  display: flex;
  align-items: center;
}

#global-search-input {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  padding: 12px 0;
  outline: none;
  -webkit-appearance: none;
}

/* Suppress browser native search cancel icon to prevent duplication */
#global-search-input::-webkit-search-decoration,
#global-search-input::-webkit-search-cancel-button,
#global-search-input::-webkit-search-results-button,
#global-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

#global-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Inside the bar: Small cross to clear */
.clear-search-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.clear-search-btn:hover { color: #FFFFFF; }
.clear-search-btn svg { width: 14px; height: 14px; }

/* Outside the bar: Solid white circle with dark cross inside */
.close-search-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF !important;
  color: #08090B !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
}
.close-search-circle-btn:hover {
  transform: scale(1.06);
  background: #E2E8F0 !important;
}
.close-search-circle-btn svg {
  width: 16px;
  height: 16px;
  stroke: #08090B;
}

@media (max-width: 640px) {
  .search-container { margin: 0 12px; }
  .search-top-row { gap: 10px; }
  .search-bar-inner { padding: 4px 12px; gap: 8px; }
  #global-search-input { font-size: 14px; }
  .close-search-circle-btn {
    width: 38px;
    height: 38px;
  }
  .close-search-circle-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Autocomplete Dropdown List */
.search-live-results {
  margin-top: 8px;
  background: rgba(16, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
  max-height: 60vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background-color: rgba(255, 255, 255, 0.05); }

.search-thumb {
  width: 40px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  background: #08090B;
  flex-shrink: 0;
}

.search-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-item-brand {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted, #9A9BA1);
  letter-spacing: 0.05em;
}

/* Subtle Price Underneath Title & Brand */
.search-item-price-subtle {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(233, 233, 234, 0.55);
  letter-spacing: 0.03em;
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.search-subtle-promo {
  color: #8FC9A3;
  font-weight: 500;
}

.search-subtle-slashed {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
  font-size: 10.5px;
}

/* Enhanced Thumbnail and Title Hierarchy */
.search-thumb {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
  background: #08090B;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-item-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-item-brand {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--muted, #9A9BA1);
  letter-spacing: 0.05em;
}

.search-view-all-row {
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s;
}
.search-view-all-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-empty-note {
  padding: 24px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--muted, #9A9BA1);
}

@media (max-width: 640px) {
  .search-container { margin: 0 16px; }
  .search-bar-inner { padding: 4px 14px; gap: 10px; }
  #global-search-input { font-size: 14px; }
}

/* ════ FIXED MOBILE BOTTOM NAVBAR (Hardware Accelerated) ════
   Lightweight GPU Glassmorphism without layout thrashing */
.mobile-dock-wrapper {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 2500;
  display: none;
  justify-content: center;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.mobile-dock-container {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  max-width: calc(100vw - 32px);
  width: 100%;
  justify-content: center;
}

/* ── Main dock: Dense High-Contrast Frosted Slate (Shields White Icons) ── */
.mobile-bottom-nav {
  background: linear-gradient(180deg, rgba(34, 38, 46, 0.94) 0%, rgba(16, 18, 24, 0.95) 100%) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 100px;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
  flex-grow: 1;
  max-width: 380px;
  transform: translateZ(0);
}

.mobile-nav-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  height: 100%;
  width: 100%;
}

/* ── Individual nav items ── */
.mobile-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 4px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 100px;
}

.mobile-nav-item:hover {
  color: #ffffff;
}

/* ── Active state: Crisp flat white ── */
.mobile-nav-item.active {
  color: #ffffff !important;
  background: none !important;
  transform: scale(1.04);
}

.mobile-nav-item::after {
  display: none; /* no underline or line */
}

.mobile-nav-item:active,
.mobile-search-trigger:active {
  transform: scale(0.94);
}

.mobile-nav-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  transition: stroke-width 0.2s;
}

.mobile-nav-item.active .mobile-nav-icon {
  stroke-width: 2.4px; /* slightly bolder when active */
}

.mobile-nav-label {
  font-family: var(--font-sans, sans-serif);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.75;
}

.mobile-nav-item.active .mobile-nav-label {
  opacity: 1;
}

/* ── Cart badge ── */
.icon-badge-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: #ffffff;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cart-badge.hidden-badge {
  display: none !important;
}

/* ── Search Trigger: Matching Dense Frosted Slate ── */
.mobile-search-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(34, 38, 46, 0.94) 0%, rgba(16, 18, 24, 0.95) 100%) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65),
              inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  box-sizing: border-box;
  flex-shrink: 0;
  transform: translateZ(0);
}

.mobile-search-trigger:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.04);
}

/* When search is active – subtle accent border */
.mobile-dock-container.search-active .mobile-search-trigger {
  border-color: #9DA3AB !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ── Mobile Dock Anchor for Popup Results ── */
.mobile-dock-container {
  position: relative;
}

/* ── Glassmorphic Results Tray Popping Up from the Navdock ── */
.dock-search-results {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 54vh;
  overflow-y: auto;
  background: rgba(14, 16, 20, 0.96);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
  pointer-events: none;
}

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

.dock-search-results .search-result-item {
  padding: 10px 14px;
}

.dock-search-results .search-thumb {
  width: 36px;
  height: 48px;
}

.dock-search-results .search-item-title {
  font-size: 12px;
}

.dock-search-results .search-item-brand {
  font-size: 10.5px;
}

.dock-search-results .search-item-price {
  font-size: 12.5px;
}

.dock-search-results .search-view-all-row {
  padding: 10px 14px;
  font-size: 10.5px;
}

/* ── Search field inside capsule ── */
.mobile-nav-search-field {
  display: none;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

.field-search-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.dock-search-form {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.mobile-nav-search-field input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  letter-spacing: 0.04em;
  -webkit-appearance: none;
}

.mobile-nav-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Disable native search decorations */
.mobile-nav-search-field input[type="search"]::-webkit-search-decoration,
.mobile-nav-search-field input[type="search"]::-webkit-search-cancel-button,
.mobile-nav-search-field input[type="search"]::-webkit-search-results-button,
.mobile-nav-search-field input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}

/* ── Icon toggling inside search trigger ── */
.mobile-search-trigger .nav-icon-close {
  display: none;
}

/* ── ACTIVE SEARCH STATE ── */
.mobile-dock-container.search-active .mobile-nav-links {
  display: none;
}

.mobile-dock-container.search-active .mobile-nav-search-field {
  display: flex;
}

.mobile-dock-container.search-active .mobile-search-trigger .nav-icon-search {
  display: none;
}

.mobile-dock-container.search-active .mobile-search-trigger .nav-icon-close {
  display: block;
}

/* ════ MODULAR SIDEBAR NAVIGATION ════ */
.sidebar {
  position: fixed; top: 0; left: -320px; width: 320px; max-width: 85vw; height: 100vh;
  background: var(--black); z-index: 100000;
  padding: 80px 40px; border-right: 1px solid var(--border);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sidebar.active { transform: translateX(320px); }
.sidebar-close {
  position: absolute; top: 40px; right: 40px;
  background: none; border: none; color: var(--white); cursor: pointer; font-size: 20px;
}
.sidebar-links { list-style: none; margin-top: 40px; }
.sidebar-links li { margin-bottom: 35px; }
.sidebar-links a {
  font-family: 'Cinzel'; font-size: 16px; color: var(--white);
  text-decoration: none; letter-spacing: 0.25em; text-transform: uppercase;
}
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; z-index: 99999; transition: 0.4s;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ════ MODULAR FOOTER ════ */
footer {
  padding: 80px 80px 40px;
  border-top: 1px solid var(--border); background: var(--black);
}
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-brand img { height: 120px; width: auto; object-fit: contain; }
.footer-col h4 {
  font-family: 'Jost', serif; font-size: 12px;
  letter-spacing: 0.45em; color: var(--white);
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Jost', sans-serif; font-size: 12px;
  letter-spacing: 0.2em; color: var(--muted);
  text-decoration: none; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: center;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-copy {
  font-family: 'Montserrat', sans-serif; font-size: 10px;
  letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
}

/* Accordion Baseline Styles */
.accordion-header {
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.accordion-icon {
  display: none;
  position: relative;
  width: 12px;
  height: 12px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--white);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s;
}
.accordion-icon::before {
  top: 5px; left: 0; right: 0; height: 1.5px;
}
.accordion-icon::after {
  left: 5px; top: 0; bottom: 0; width: 1.5px;
}
.footer-social-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-icon-link {
  color: var(--muted);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-icon-link:hover {
  color: var(--gold);
}

/* ════ RESPONSIVE BREAKPOINTS (Global Layouts) ════ */
@media (max-width: 900px) {
  #main-nav { padding: 0 32px; height: 90px; }
  .nav-logo-wrap img { height: 85px; }
  footer { padding: 60px 32px 40px; }
  .footer-main { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 32px; }
  .social-col { grid-column: span 4; }
}

@media (max-width: 768px) {
  .mobile-dock-wrapper {
    display: flex;
  }
  /* Keep real page content clear of the fixed floating bottom dock elements */
  body { padding-bottom: 110px; }

  /* Hide the header's desktop search button on tablets/mobile viewports */
  .desktop-only-search {
    display: none !important;
  }

  /* Mobile Accordion Settings */
  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
  }
  .footer-brand {
    align-items: center;
    margin-bottom: 40px;
  }
  .footer-brand img {
    height: 135px;
  }
  .desktop-only-header {
    display: none;
  }

  /* On mobile: Keep the search button visible in the header, while hiding docked items (cart/profile) */
  #global-header .nav-right {
    display: flex !important;
  }
  #global-header .nav-right .desktop-cart,
  #global-header .nav-right a[href*="profile"] {
    display: none !important;
  }
  
  .accordion-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
  }
  .accordion-item:nth-of-type(1) {
    border-top: 1px solid var(--border);
  }
  .accordion-header {
    pointer-events: auto;
    cursor: pointer;
  }
  .accordion-header h4 {
    margin-bottom: 0;
    font-size: 13px;
    letter-spacing: 0.25em;
  }
  .accordion-icon {
    display: block;
  }
  .accordion-item.active .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
  }
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .accordion-item.active .accordion-content {
    max-height: 200px;
  }
  .accordion-content ul {
    padding-top: 16px;
    list-style: none;
  }
  .accordion-content ul li {
    margin-bottom: 12px;
  }
  .footer-social-wrapper {
    justify-content: center;
    padding: 40px 0 20px 0;
    gap: 32px;
  }
  .footer-bottom {
    border-top: none;
    padding-top: 10px;
  }
}

@media (max-width: 640px) {
  #main-nav { padding: 0 20px; height: 80px; }
  .nav-logo-wrap img { height: 70px; }
  .nav-right { gap: 16px; }
}

/* ════ GLOBAL MONOCHROME BREADCRUMB TOP STRIP ════ */
.wadiah-breadcrumb-bar {
  width: 100%;
  background: transparent;
  border-bottom: none;
  padding-top: 94px; /* Clears 80px fixed #main-nav with clean clearance */
  padding-bottom: 0;
  box-sizing: border-box;
  display: block;
}

.wadiah-breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  width: 100%;
}

.wadiah-breadcrumbs {
  display: flex;
  align-items: center;
  width: 100%;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb-item a {
  color: #9DA3AB;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #FFFFFF;
}

.breadcrumb-item.active {
  color: #E9E9EA;
  font-weight: 500;
  pointer-events: none;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb-separator {
  color: #55628C; /* Cobalt-mist accent */
  opacity: 0.8;
  font-size: 10px;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .wadiah-breadcrumb-inner {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .wadiah-breadcrumb-bar {
    padding-top: 86px;
    padding-bottom: 0;
  }
  .wadiah-breadcrumb-inner {
    padding: 0 20px;
  }
  .breadcrumb-item {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .breadcrumb-item.active {
    max-width: 180px;
  }
}