:root {
  --site-shell-bg: #121212;
  --site-shell-surface: #1b1b1a;
  --site-shell-line: #4b4b49;
  --site-shell-accent: #c8b78b;
  --site-shell-gold: #c8b78b;
  --site-shell-accent-text: #806c3d;
  --site-shell-current-text: #17221d;
  --site-shell-focus-ring: #0f5138;
  --site-shell-accent-soft: rgb(200 183 139 / .12);
  --site-shell-text: #f1f1ee;
  --site-shell-muted: #b7b8ba;
}

.age,
.age-gate {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.age > .age-card,
body:has(.retail-home) .age > .age-card,
.age-gate > .age-card {
  border-top: 4px solid var(--site-shell-gold);
  box-shadow: 0 12px 32px rgb(0 0 0 / .18);
}

#ageVerification #ageVerificationChip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .25rem .625rem;
  border-color: var(--site-shell-gold);
  border-radius: 4px;
  background: var(--site-shell-accent-soft);
  color: var(--site-shell-accent-text);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 90;
  padding: .65rem 1rem;
  border-radius: 4px;
  background: #166547;
  color: #ffffff;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.unified-site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 1.5vw, 1.5rem);
  min-width: 0;
}

.unified-site-nav a,
.unified-site-nav a:visited {
  position: relative;
  flex: 0 0 auto;
  padding: .55rem 0;
  color: inherit;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.unified-site-nav a::after {
  position: absolute;
  right: 0;
  bottom: .2rem;
  left: 0;
  height: 2px;
  background: var(--site-shell-accent);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.unified-site-nav a:hover,
.unified-site-nav a[aria-current="page"] {
  color: var(--site-shell-current-text);
}

.unified-site-nav a:hover::after,
.unified-site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.unified-site-nav a:focus-visible,
.unified-mobile-dock a:focus-visible {
  outline: 3px solid var(--site-shell-focus-ring);
  outline-offset: 3px;
}

.unified-mobile-dock {
  display: none;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .unified-site-nav {
    gap: .72rem;
  }

  .unified-site-nav a,
  .unified-site-nav a:visited {
    font-size: .68rem;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .unified-site-nav,
  .site-header .unified-site-nav,
  .trust-header .unified-site-nav,
  .luxury-nav .unified-site-nav {
    display: none !important;
  }

  .site-header .mode-switch-group {
    display: none !important;
  }

  .unified-mobile-dock {
    position: fixed;
    z-index: 30;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    min-height: 66px;
    padding: 4px;
    overflow: visible;
    border: 1px solid rgb(255 255 255 / .78);
    border-radius: 20px;
    background: rgb(250 250 252 / .88);
    box-shadow: 0 10px 32px rgb(0 0 0 / .18), 0 1px 0 rgb(255 255 255 / .8) inset;
    color: #1d1d1f;
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    opacity: 1;
    transform: translateY(var(--dock-shift-y, 0));
    transition: opacity .2s ease, transform .24s ease;
    will-change: transform;
  }

  .unified-mobile-dock a,
  .unified-mobile-dock a:visited,
  .unified-mobile-dock button {
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: .35rem .2rem;
    border-radius: 16px;
    color: #48484a;
    font-size: clamp(.7rem, 2.6vw, .74rem);
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
  }

  .unified-mobile-dock .dock-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .unified-mobile-dock .dock-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .unified-mobile-dock .dock-cart-count {
    display: inline-grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #166547;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  .unified-mobile-dock .dock-cart-count[hidden] {
    display: none;
  }

  .unified-mobile-dock a:active {
    background: rgb(0 0 0 / .055);
    transform: scale(.96);
  }

  .unified-mobile-dock a[aria-current="page"] {
    background: rgb(200 183 139 / .24);
    color: #4b3f20;
    font-weight: 750;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .unified-mobile-dock {
    right: auto;
    left: 50%;
    width: min(560px, calc(100vw - 24px));
    transform: translate(-50%, var(--dock-shift-y, 0));
  }
}

body.has-open-modal .unified-mobile-dock,
body.has-open-modal .mobile-dock {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .unified-site-nav a::after,
  .unified-mobile-dock,
  .unified-mobile-dock a {
    transition: none;
  }
}
