:root {
  --bg: #060812;
  --surface: #101420;
  --surface-2: #171d2e;
  --text: #eef1f8;
  --muted: #8b93ab;
  --border: rgba(150,170,255,.16);
  --blue: #d1a955;
  --blue-2: #8f6f2c;
  --gold-2: #f0d98a;
  --on-accent: #100c05;
  --bottom-nav-height: 66px;
}

html[data-theme="light"] {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0d0d0d;
  --muted: #5c6478;
  --border: rgba(30,50,90,.12);
  --blue: #2f6fed;
  --blue-2: #1d4ed8;
  --gold-2: #ff8a1e;
  --on-accent: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  padding-bottom: calc(var(--bottom-nav-height) + 28px);
}

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

.page-shell {
  width: min(100% - 24px, 650px);
  margin: 0 auto;
}

.top-bar {
  position: sticky;
  top: 8px;
  z-index: 25;
  padding-top: 8px;
}

.top-bar-row { display: flex; align-items: stretch; gap: 8px; }
.menu-toggle {
  width: auto;
  flex: 1;
  min-height: 46px;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background: rgba(255,255,255,.97);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.menu-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #101827;
  font-size: 14px;
}

.menu-title strong { font-weight: 650; }
.menu-title span { color: var(--muted); }
.menu-icon { width: 21px; height: 21px; }
.chevron { transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.full-menu.full-menu-list {
  display: block;
  max-height: 0;
  overflow-y: auto;
  opacity: 0;
  background: #fff;
  transition: max-height .25s ease, opacity .2s ease, margin-bottom .2s ease;
  border-radius: 0 0 11px 11px;
  overscroll-behavior: contain;
}

.full-menu.full-menu-list.is-open {
  max-height: min(78vh, 680px);
  opacity: 1;
  margin-bottom: 14px;
  border-top: 1px solid var(--blue);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

.menu-list-section h3 {
  margin: 0;
  padding: 8px 13px 7px;
  border-bottom: 1px solid var(--blue);
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 3;
}

.menu-product {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 8px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid var(--blue);
  background: #fff;
  text-align: left;
  padding: 8px 11px;
  cursor: pointer;
}

.menu-product:hover { background: #f7fbff; }

.menu-product-title strong {
  font-size: 13.5px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.menu-product-brand {
  display: block;
  margin-top: 2px;
  color: #647083;
  font-size: 12px;
}

.menu-arrow {
  padding-top: 5px;
  font-size: 13px;
}

.menu-empty-row {
  padding: 12px 13px;
  border-bottom: 1px solid var(--blue);
  color: var(--muted);
  font-size: 13px;
}

.hero { display: none; }
body.home-active .hero {
  display: grid;
  place-items: center;
  padding: 16px 0 36px;
}

.high-luxury-logo {
  display: inline-flex;
  align-items: center;
  will-change: transform;
  justify-content: center;
  padding: 13px 22px 11px;
  border: 0;
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 5px 0 #000, inset 0 0 0 1px var(--border);
  cursor: pointer;
}

.high-luxury-logo span {
  display: block;
  padding: 7px 13px 4px;
  background: #000;
  color: var(--blue);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(25px, 4vw, 40px);
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scaleY(1.1);
}

.section { margin-bottom: 28px; }

.section-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title.small {
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 18px;
}

.best-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.empty-product-card {
  min-height: 278px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,.055);
  cursor: pointer;
}

.empty-card-space {
  min-height: 206px;
  background: linear-gradient(145deg, #f8fafc, #edf1f6);
}

.image-card-space,
.image-large-media,
.composite-card-media {
  background: #101827;
  overflow: hidden;
}

.image-card-space img,
.image-large-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.empty-card-info {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  border-top: 1px solid #edf0f4;
  padding: 9px 10px;
}

.empty-card-info h2 {
  margin: 0;
  color: #1f2937;
  font-size: 11.2px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 0;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7dde8;
}

.dot.is-active { background: var(--blue); }

.connections { padding-top: 6px; }

.connections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.connection-box {
  min-height: 126px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(15,23,42,.035);
}

.tab-category { margin-bottom: 22px; }

.tab-category-heading {
  margin: 0 0 10px;
  padding-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feed-stack {
  display: grid;
  gap: 14px;
}

.large-empty-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.055);
  cursor: pointer;
}

.display-only-card { cursor: default; }

.large-empty-media {
  position: relative;
  min-height: 335px;
  border-bottom: 1px solid var(--blue);
  background: linear-gradient(145deg, #f8fafc, #edf1f6);
}

.composite-card-media {
  min-height: 335px;
  display: grid;
  grid-template-rows: 38% 62%;
  border-bottom: 1px solid var(--blue);
}

.composite-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #111827;
}

.composite-logos img,
.composite-bottom {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.composite-bottom { display: block; }

.multi-video-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 335px;
  background: #0f172a;
  border-bottom: 1px solid var(--blue);
  gap: 1px;
}

.multi-video-media video,
.video-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.large-empty-body {
  padding: 12px 15px 15px;
}

.large-empty-body h2 {
  margin: 0;
  color: #202938;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.large-empty-body p,
.brand-line {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.item-note {
  margin-top: 8px;
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
}

.placeholder-only {
  opacity: .55;
  cursor: default;
}

.video-media {
  background: #0f172a;
}

.group-header {
  margin-bottom: 14px;
  padding: 0 2px;
}

.group-header h1 {
  margin: 10px 0 2px;
  color: #172033;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 750;
  text-transform: uppercase;
}

.group-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.group-description {
  margin-top: 10px;
  color: #111827;
  font-size: 14px;
  line-height: 1.55;
}

.faq-section {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: start center;
  padding-top: 52px;
}

.hours-card {
  width: min(100%, 610px);
  border-left: 2px solid var(--blue);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,23,42,.08);
  padding: 24px 24px 28px;
}

.hours-card .eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .28em;
}

.hours-card h1 {
  margin: 0 0 13px;
  font-size: 22px;
}

.cutoff-box {
  margin-bottom: 13px;
  border-radius: 10px;
  background: #f5f7fb;
  padding: 12px 16px;
  color: #303849;
}

.cutoff-box p {
  margin: 0;
  min-height: 31px;
}

.schedule-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf0f5;
  padding: 10px 0;
  color: #202838;
  font-size: 14px;
}

.schedule-list div:last-child { border-bottom: 0; }
.muted-row span { color: var(--muted); font-style: italic; }

.product-detail-panel { padding-top: 0; }

.detail-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.075);
}

.detail-media {
  display: grid;
  place-items: center;
  min-height: 335px;
  border-bottom: 2px solid var(--blue);
  background: linear-gradient(145deg, #f8fafc, #edf1f6);
}

.detail-body { padding: 18px 22px 24px; }

.back-to-menu {
  margin: 0 0 14px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.detail-title-row h1 {
  margin: 0;
  color: #172033;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.detail-description {
  margin-top: 16px;
  border-top: 1px solid #e6ebf3;
  padding-top: 16px;
  color: #111827;
  font-size: 17px;
  line-height: 1.65;
}

.detail-description p { margin: 0; }

.footer {
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
}

body:not(.home-active) .footer { display: none; }

.footer p {
  width: min(100%, 590px);
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.7;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 8px;
}

.socials a {
  min-width: 116px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d9e0eb;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.bottom-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 30;
  height: var(--bottom-nav-height);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 5px;
  border: 1px solid #edf1f6;
  border-radius: 999px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -12px 42px rgba(15,23,42,.12);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #202938;
  font-size: 11px;
  cursor: pointer;
}

.bottom-nav button span {
  font-size: 15px;
  line-height: 1;
}

.bottom-nav button.is-active {
  color: var(--blue);
  background: rgba(209,169,85,.08);
  font-weight: 700;
}

.vape-icon {
  width: 22px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.vape-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 2px;
  width: 15px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.vape-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  opacity: .75;
}

.highlight-card {
  outline: 3px solid rgba(201, 162, 57, .75);
  box-shadow: 0 0 0 8px rgba(201, 162, 57, .14), 0 14px 34px rgba(15, 23, 42, .12) !important;
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.84);
  transition: opacity .2s ease, visibility .2s ease;
}

.age-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-modal {
  width: min(100%, 370px);
  padding: 35px 25px 31px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.age-badge {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 3px solid #ec1d24;
  border-radius: 50%;
  color: #111827;
  font-weight: 900;
  position: relative;
}

.age-badge::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: #ec1d24;
  transform: rotate(48deg);
}

.age-modal h2 { margin: 0 0 8px; font-size: 19px; }

.age-copy {
  max-width: 310px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.age-actions button {
  min-height: 45px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 800;
}

.age-actions .primary {
  border: 0;
  background: var(--blue);
  color: #fff;
}

.age-actions .secondary {
  border: 1px solid #dce2ec;
  background: #fff;
}

.fine-print {
  margin: 17px auto 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 11px;
}

body.age-locked { overflow: hidden; }

@media (max-width: 720px) {
  .page-shell { width: min(100% - 8px, 650px); }

  .best-seller-grid { grid-template-columns: repeat(2, 1fr); }

  .empty-product-card { min-height: 230px; }
  .empty-card-space { min-height: 162px; }

  .connections-grid { grid-template-columns: repeat(2, 1fr); }
  .connection-box { min-height: 122px; }

  .large-empty-media,
  .composite-card-media,
  .detail-media,
  .multi-video-media {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  :root { --bottom-nav-height: 62px; }

  body.home-active .hero { padding: 12px 0 28px; }

  .high-luxury-logo {
    padding: 10px 12px 9px;
    border-radius: 14px;
  }

  .high-luxury-logo span {
    font-size: clamp(18px, 6.5vw, 26px);
    padding: 6px 8px 4px;
  }

  .menu-title span { display: inline; }
  .section-title { font-size: 17px; }

  .bottom-nav {
    left: 7px;
    right: 7px;
    height: 60px;
    padding: 4px;
  }

  .bottom-nav button { font-size: 9px; }
  .bottom-nav button span { font-size: 13px; }

  .vape-icon {
    width: 18px;
    height: 12px;
  }

  .large-empty-media,
  .composite-card-media,
  .detail-media,
  .multi-video-media {
    min-height: 255px;
  }

  .detail-description { font-size: 16px; }
  .footer p { font-size: 11.5px; }

  .full-menu.full-menu-list.is-open { margin-bottom: 10px; }
  .group-header h1 { font-size: 17px; }
}

.empty-card-info h2 span { color: var(--muted); font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; }


.connection-box {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
}

.connection-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* New Drops now uses the shared favorites-carousel-shell layout */

/* Removed carousel dots from HTML, hide any remaining old dots */
.dots {
  display: none !important;
}


/* Center Best Sellers */
#homeBestSellers {
    display: flex !important;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

#homeBestSellers .empty-product-card {
    flex: 0 0 180px;
}


/* Video bandwidth fix:
   Videos no longer autoplay or preload.
   They only load when the visitor presses play. */
.video-media video,
.multi-video-media video {
  background: #0f172a;
}

.video-media::after,
.multi-video-media::after {
  display: none !important;
}


/* Fix video sizing before play */
.large-empty-media,
.video-media,
.detail-media > .large-empty-media,
.detail-media > .video-media,
.detail-media > .multi-video-media,
.detail-media > .composite-card-media {
  width: 100%;
  overflow: hidden;
}

.video-media video,
.multi-video-media video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  background: #0f172a;
}


/* Final inventory update */
.bottom-nav {
  grid-template-columns: repeat(7, 1fr);
}

.nav-logo-icon {
  width: 17px;
  height: 17px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.coming-soon-tag {
  display: inline-block;
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(201, 162, 57, .08);
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .08em;
  vertical-align: middle;
}

@media (max-width: 520px) {
  .bottom-nav button { font-size: 8px; }
  .nav-logo-icon { width: 15px; height: 15px; }
}


/* Side navigation + category layout update */
body {
  padding-bottom: 28px;
}

.page-shell {
  margin-left: max(280px, calc((100vw - 650px) / 2));
  margin-right: auto;
}

.side-menu-button {
  position: fixed;
  left: 24px;
  top: 18px;
  z-index: 80;
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
  cursor: pointer;
}

.side-menu-button span {
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: #111827;
}

.side-nav {
  position: fixed;
  left: 18px;
  top: 76px;
  bottom: 18px;
  z-index: 70;
  width: 236px;
  border: 1px solid #e7ecf4;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 60px rgba(15,23,42,.12);
  padding: 18px;
  overflow-y: auto;
  backdrop-filter: blur(18px);
}

.side-brand {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-bottom: 1px solid #edf1f6;
  margin-bottom: 14px;
}

.side-brand img {
  max-width: 160px;
  max-height: 90px;
  object-fit: contain;
}

.side-search {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.side-search span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.side-search input {
  width: 100%;
  height: 42px;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0 12px;
  outline: none;
  font: inherit;
}

.side-search input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(209,169,85,.10);
}

.side-nav-links {
  display: grid;
  gap: 8px;
}

.side-nav-links button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #172033;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.side-nav-links button:hover,
.side-nav-links button.is-active {
  background: rgba(209,169,85,.08);
  color: var(--blue);
}

.side-nav-links button span {
  width: 24px;
  display: inline-grid;
  place-items: center;
}

.side-backdrop {
  display: none;
}

.site-logo-button {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 75;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.site-logo-button img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.bottom-nav {
  display: none !important;
}

.category-title {
  text-align: left;
  font-size: 24px;
  letter-spacing: .02em;
  margin-left: 4px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.category-tile {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15,23,42,.045);
  cursor: pointer;
}

.category-tile strong {
  font-size: 26px;
  line-height: 1;
  color: #111827;
}

.category-tile span,
.category-tile img {
  justify-self: center;
  align-self: center;
  font-size: 38px;
}

.category-tile img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}

.category-tile em {
  justify-self: end;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
}

.big-vape {
  transform: scale(1.5);
}

.search-section {
  border-top: 1px solid #edf1f6;
  padding-top: 16px;
}

.detail-actions {
  margin-top: 14px;
}

.share-product-button {
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tab-panel {
  animation: panelFade .18s ease;
}

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

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 24px, 650px);
    margin: 0 auto;
  }

  .side-nav {
    transform: translateX(-120%);
    transition: transform .22s ease;
    top: 70px;
    left: 12px;
    bottom: 12px;
    width: min(86vw, 310px);
  }

  .side-nav.is-open {
    transform: translateX(0);
  }

  .side-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15,23,42,.28);
  }

  .side-backdrop.is-open {
    display: block;
  }

  .side-menu-button {
    left: 14px;
    top: 12px;
  }

  .site-logo-button {
    top: 10px;
    right: 14px;
  }

  .site-logo-button img {
    width: 62px;
    height: 48px;
  }

  .top-bar {
    padding-top: 66px;
  }
}

@media (max-width: 620px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-tile {
    min-height: 126px;
    padding: 16px;
  }

  .category-tile strong {
    font-size: 20px;
  }
}


/* Cleanup: keep left menu, remove middle category cards and unused hamburger */
.side-menu-button,
.side-backdrop,
.categories-section,
.category-grid {
  display: none !important;
}

.side-nav {
  transform: none !important;
}

@media (max-width: 980px) {
  .side-nav {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(100% - 24px, 650px);
    margin: 12px auto 16px;
    transform: none !important;
  }

  .page-shell {
    margin: 0 auto;
  }

  .top-bar {
    padding-top: 66px;
  }
}


/* Back button re-enabled: styled pill, consistent across product detail + group menu */
.back-to-menu {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  border: 1px solid var(--blue) !important;
  border-radius: 999px;
  background: transparent !important;
  color: var(--blue) !important;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
}
.back-to-menu:hover { background: rgba(209,169,85,.12) !important; transform: translateY(-1px); }

/* Add breathing room under the sticky/full menu so titles/cards are not covered */
.top-bar {
  margin-bottom: 28px;
}

.tab-panel:not([hidden]) {
  padding-top: 18px;
}

.group-header {
  padding-top: 22px;
}

.product-detail-panel .detail-card {
  margin-top: 24px;
}

.stack-section {
  padding-top: 18px;
}


/* HARD cleanup v2 */
.side-menu-button,
.side-backdrop,
.categories-section,
.category-grid {
  display: none !important;
}


.image-large-media,
.image-card-space,
.hybrid-media-top {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--surface-2) 30%, rgba(255,255,255,.06) 50%, var(--surface-2) 70%);
  background-size: 250% 100%;
  animation: shimmerLoad 1.4s ease-in-out infinite;
}
.image-large-media.img-loaded,
.image-card-space.img-loaded,
.hybrid-media-top.img-loaded { animation: none; background: none; }
.image-large-media img, .image-card-space img, .hybrid-media-top img { opacity: 0; transition: opacity .35s ease, transform .3s ease; }
.image-large-media.img-loaded img, .image-card-space.img-loaded img, .hybrid-media-top.img-loaded img { opacity: 1; }
@keyframes shimmerLoad { 0% { background-position: 200% 0; } 100% { background-position: -50% 0; } }

.detail-breadcrumb { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 10px 0 2px; font-size: 12px; }
.detail-breadcrumb button { background: none; border: none; padding: 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.detail-breadcrumb button:hover { color: var(--blue); text-decoration: underline; }
.detail-breadcrumb span[aria-hidden] { color: var(--border); }
.detail-breadcrumb-current { color: var(--text); font-weight: 600; }

.empty-state-card { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 32px 16px !important; }
.empty-state-icon { font-size: 28px; color: var(--blue); opacity: .7; }
.empty-state-icon img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; opacity: .85; }
.empty-state-card p { margin: 0; color: var(--muted); }
.empty-state-card .clear-menu-filters { margin-top: 6px; }

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  transform: translateX(-50%) translateY(18px) scale(.94);
  opacity: 0;
  pointer-events: none;
  background: #101827;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(15,23,42,.24);
  transition: opacity .28s cubic-bezier(.2,.8,.3,1.4), transform .28s cubic-bezier(.2,.8,.3,1.4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-toast::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 800;
  flex: none;
}
.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}


/* Larger HL logos for High Luxury, Pre Packaged, and Pre Rolls */
.nav-logo-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
}

.category-tile img,
.category-hl-logo {
  width: 108px !important;
  height: 108px !important;
  border-radius: 50%;
  object-fit: cover;
}


/* Brand list layout update */
.brand-list-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.brand-list-card .image-large-media,
.brand-list-card .video-media,
.brand-list-card .large-empty-media {
  border-radius: 0;
  min-height: 340px;
}

.brand-list-card .image-large-media img,
.brand-list-card .video-media video {
  object-fit: contain;
  background: #050505;
}

.brand-list-body {
  padding: 18px 20px 22px;
}

.brand-list-description {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.brand-list-body h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-strain-list {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 20px;
  color: #101827;
  line-height: 1.8;
  font-weight: 650;
}

.brand-strain-list li {
  break-inside: avoid;
  margin-bottom: 5px;
}

@media (max-width: 640px) {
  .brand-strain-list {
    columns: 1;
  }

  .brand-list-card .image-large-media,
  .brand-list-card .video-media,
  .brand-list-card .large-empty-media {
    min-height: 260px;
  }
}


/* Brand option list cleanup */
.brand-strain-list {
  columns: 1 !important;
  column-gap: 0 !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.brand-strain-list li {
  break-inside: auto !important;
  margin-bottom: 6px !important;
  font-weight: 400 !important;
}

.brand-list-body h3 {
  font-weight: 800;
}


/* Smart list layout: short names in 2 columns, long names in 1 column */
.brand-strain-list {
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.brand-strain-list.dual-list {
  columns: 2 !important;
  column-gap: 28px !important;
}

.brand-strain-list.single-list {
  columns: 1 !important;
  column-gap: 0 !important;
}

.brand-strain-list li {
  font-weight: 400 !important;
  break-inside: avoid;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .brand-strain-list.dual-list {
    columns: 1 !important;
  }
}


/* Sidebar width and clean one-line menu labels */
.side-nav {
  width: 292px !important;
}

.page-shell {
  margin-left: max(335px, calc((100vw - 650px) / 2)) !important;
}

.side-nav-links button {
  white-space: nowrap !important;
  font-size: 15px;
  gap: 11px;
}

.side-nav-links button .nav-logo-icon,
.side-nav-links button img.nav-logo-icon {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .side-nav {
    width: min(100% - 24px, 650px) !important;
  }

  .page-shell {
    margin: 0 auto !important;
  }
}

@media (max-width: 420px) {
  .side-nav-links button {
    font-size: 14px;
    gap: 9px;
  }
}


/* Latest logo/navigation/media updates */
.side-brand img {
  width: 118px !important;
  max-height: 132px !important;
  object-fit: contain !important;
}

.site-logo-button img {
  width: 58px !important;
  height: auto !important;
  object-fit: contain !important;
}

.nav-spacer-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.hybrid-media-card {
  display: grid;
  grid-template-rows: 1fr 1fr;
  background: #050505;
  border-bottom: 2px solid #d1a955;
}

.hybrid-media-top,
.hybrid-media-bottom {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hybrid-media-top img,
.hybrid-media-bottom video {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: #050505;
}

.connection-box img {
  object-fit: contain !important;
}


/* Custom sidebar icons and enlarged logo update */
.side-brand {
  padding-top: 10px !important;
  padding-bottom: 14px !important;
}

.side-brand img {
  width: 150px !important;
  max-height: 165px !important;
  object-fit: contain !important;
}

.site-logo-button {
  width: 82px !important;
  height: 82px !important;
  top: 18px !important;
  right: 18px !important;
  padding: 8px !important;
}

.site-logo-button img {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
}

.side-nav-links button {
  align-items: center !important;
}

.nav-custom-icon {
  width: 31px;
  height: 31px;
  object-fit: contain;
  flex: 0 0 31px;
  display: inline-block;
}

.nav-logo-icon {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  flex: 0 0 36px !important;
}

@media (max-width: 640px) {
  .site-logo-button {
    width: 70px !important;
    height: 70px !important;
    top: 12px !important;
    right: 12px !important;
  }

  .site-logo-button img {
    width: 58px !important;
    height: 58px !important;
  }

  .side-brand img {
    width: 132px !important;
    max-height: 145px !important;
  }

  .nav-custom-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .nav-logo-icon {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
  }
}


/* Connections grid: 6 per row desktop */
.connections-grid{
  grid-template-columns: repeat(6, minmax(0,1fr)) !important;
}

@media (max-width: 1200px){
  .connections-grid{
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }
}

@media (max-width: 768px){
  .connections-grid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (max-width: 480px){
  .connections-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}


/* Center connection cards and contents */
.connections-grid{
  justify-items:center !important;
  align-items:stretch !important;
}
.connection-card,
.connection-item{
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
}
.connection-card img,
.connection-item img{
  display:block !important;
  margin:0 auto !important;
}


/* Final spacing pass: larger centered connections + no sidebar scrollbar */
.connections-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 12px !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.connection-box {
  width: 128px !important;
  height: 128px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  text-align: center !important;
}

.connection-box img {
  max-width: 94px !important;
  max-height: 94px !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
}

.site-logo-button {
  width: 104px !important;
  height: 104px !important;
  top: 18px !important;
  right: 18px !important;
  padding: 6px !important;
}

.site-logo-button img {
  width: 92px !important;
  height: 92px !important;
  object-fit: contain !important;
}

.side-nav {
  width: 318px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  overflow-y: visible !important;
  max-height: none !important;
}

.side-brand {
  padding-top: 2px !important;
  padding-bottom: 8px !important;
}

.side-brand img {
  width: 138px !important;
  max-height: 120px !important;
  object-fit: contain !important;
}

.side-search {
  margin-bottom: 8px !important;
}

.side-search input {
  height: 44px !important;
}

.side-nav-links {
  gap: 4px !important;
}

.side-nav-links button {
  min-height: 43px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  line-height: 1.1 !important;
}

.nav-logo-icon {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  object-fit: contain !important;
}

.nav-custom-icon {
  width: 29px !important;
  height: 29px !important;
  flex: 0 0 29px !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .side-nav {
    width: min(100% - 24px, 650px) !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
}

@media (max-width: 640px) {
  .connection-box {
    width: 112px !important;
    height: 112px !important;
  }

  .connection-box img {
    max-width: 84px !important;
    max-height: 84px !important;
  }

  .site-logo-button {
    width: 78px !important;
    height: 78px !important;
    top: 12px !important;
    right: 12px !important;
  }

  .site-logo-button img {
    width: 68px !important;
    height: 68px !important;
  }
}


/* Fix HL circle logo fit and keep outside video controls usable */
.nav-hl-icon {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: inline-block !important;
  border-radius: 50%;
}

.side-nav-links button[data-tab="high-luxury"] {
  min-height: 52px !important;
  overflow: visible !important;
  gap: 10px !important;
}

.side-nav-links button[data-tab="high-luxury"] img {
  overflow: visible !important;
}

.large-empty-card video {
  pointer-events: auto !important;
}


/* Final logo enlargement pass */
.nav-hl-icon{
  width:72px !important;
  height:72px !important;
  flex:0 0 72px !important;
  object-fit:contain !important;
  object-position:center !important;
}

.side-nav-links button[data-tab="high-luxury"]{
  min-height:86px !important;
  padding:10px 14px !important;
  gap:14px !important;
}

.side-nav{
  width:340px !important;
  overflow-y:visible !important;
  max-height:none !important;
}

.side-nav-links button{
  min-height:50px !important;
}

.site-logo-button{
  width:120px !important;
  height:120px !important;
  top:14px !important;
  right:14px !important;
}

.site-logo-button img{
  width:108px !important;
  height:108px !important;
  object-fit:contain !important;
}

@media (max-width:640px){
 .nav-hl-icon{
   width:60px !important;
   height:60px !important;
   flex:0 0 60px !important;
 }
 .side-nav-links button[data-tab="high-luxury"]{
   min-height:74px !important;
 }
 .site-logo-button{
   width:90px !important;
   height:90px !important;
 }
 .site-logo-button img{
   width:80px !important;
   height:80px !important;
 }
}

/* Restore large circular HL icon and enlarge gold logos */
.nav-hl-icon{
 width:72px !important;
 height:72px !important;
 flex:0 0 72px !important;
 object-fit:contain !important;
 border-radius:50% !important;
}

.side-brand img{
 width:180px !important;
 max-height:160px !important;
}

.site-logo-button{
 width:135px !important;
 height:135px !important;
}
.site-logo-button img{
 width:122px !important;
 height:122px !important;
}


/* Sidebar final fit: smaller HL circle, no scrollbar */
.side-nav {
  width: 330px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  overflow-y: visible !important;
  max-height: none !important;
}

.side-brand {
  padding-top: 4px !important;
  padding-bottom: 8px !important;
}

.side-brand img {
  width: 158px !important;
  max-height: 130px !important;
  object-fit: contain !important;
}

.side-search {
  margin-bottom: 8px !important;
}

.side-search input {
  height: 42px !important;
}

.side-nav-links {
  gap: 3px !important;
}

.side-nav-links button {
  min-height: 43px !important;
  padding: 6px 12px !important;
  gap: 12px !important;
  overflow: visible !important;
}

.nav-custom-icon {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  object-fit: contain !important;
}

.nav-hl-icon {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
}

.side-nav-links button[data-tab="high-luxury"] {
  min-height: 58px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.site-logo-button {
  width: 108px !important;
  height: 108px !important;
  top: 14px !important;
  right: 14px !important;
  padding: 6px !important;
}

.site-logo-button img {
  width: 96px !important;
  height: 96px !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .side-nav {
    width: min(100% - 24px, 330px) !important;
    overflow-y: visible !important;
    max-height: none !important;
  }

  .side-brand img {
    width: 145px !important;
    max-height: 118px !important;
  }

  .nav-hl-icon {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .side-nav-links button[data-tab="high-luxury"] {
    min-height: 54px !important;
  }

  .site-logo-button {
    width: 86px !important;
    height: 86px !important;
  }

  .site-logo-button img {
    width: 76px !important;
    height: 76px !important;
  }
}


/* Final sidebar icon alignment pass */
.side-nav-links button{
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    padding-left:18px !important;
    text-align:left !important;
}

.nav-custom-icon,
.nav-logo-icon{
    width:42px !important;
    height:42px !important;
    flex:0 0 42px !important;
    object-fit:contain !important;
    display:block !important;
}

.nav-hl-icon{
    width:52px !important;
    height:52px !important;
    flex:0 0 52px !important;
}

.side-nav-links button span,
.side-nav-links button{
    font-size:1.05rem !important;
}

.side-nav-links button[data-tab="high-luxury"]{
    min-height:64px !important;
}

/* Make all text start from same position */
.side-nav-links button img{
    margin-right:0 !important;
}


/* Fix remaining sidebar icons + bigger top-right logo */
.side-nav-links button{
    display:flex !important;
    align-items:center !important;
    gap:20px !important;
    padding-left:16px !important;
}

.side-nav-links button > img,
.side-nav-links button .nav-custom-icon,
.side-nav-links button .nav-logo-icon{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    flex:0 0 42px !important;
    object-fit:contain !important;
}

.side-nav-links button[data-tab="faq"] img,
.side-nav-links button[data-tab="order"] img,
.side-nav-links button[data-tab="apparel"] img{
    width:42px !important;
    height:42px !important;
}

.site-logo-button{
    width:150px !important;
    height:150px !important;
    top:10px !important;
    right:10px !important;
}

.site-logo-button img{
    width:135px !important;
    height:135px !important;
    object-fit:contain !important;
}


/* Connections carousel update */
.connections {
  padding-top: 12px !important;
}

.connections-grid {
  display: block !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 14px;
  margin: auto 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold, #cba15c);
  background: rgba(15, 20, 30, .9);
  color: var(--gold, #cba15c);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.carousel-arrow:hover { background: var(--gold, #cba15c); color: #10141c; transform: scale(1.06); }
.carousel-arrow--prev { left: -48px; }
.carousel-arrow--next { right: -48px; }
.carousel-arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }
@media (max-width: 900px) {
  .carousel-arrow { width: 32px; height: 32px; font-size: 16px; }
  .carousel-arrow--prev { left: -6px; }
  .carousel-arrow--next { right: -6px; }
}

.connections-carousel {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(216, 224, 236, .75);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(245,247,251,.88));
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
  padding: 22px 20px 16px;
}

.connections-track {
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  padding: 2px 0 8px;
}

.connections-track::-webkit-scrollbar {
  display: none;
}

.connections-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.connection-box {
  flex: 0 0 132px !important;
  width: 132px !important;
  height: 112px !important;
  min-height: 112px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.7) !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  scroll-snap-align: center;
}

.connection-box img {
  max-width: 98px !important;
  max-height: 86px !important;
  object-fit: contain !important;
  display: block !important;
}

.connections-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.connection-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #f3bd82;
  opacity: .65;
  cursor: pointer;
}

.connection-dot.is-active {
  opacity: 1;
  background: var(--blue);
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .connections-carousel {
    padding: 16px 12px 12px;
  }

  .connections-track {
    gap: 14px;
  }

  .connection-box {
    flex-basis: 104px !important;
    width: 104px !important;
    height: 92px !important;
    min-height: 92px !important;
  }

  .connection-box img {
    max-width: 82px !important;
    max-height: 70px !important;
  }
}


/* Premium feature update */
body.home-active::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(207, 216, 230, .26), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(255, 221, 160, .18), transparent 26%),
    linear-gradient(120deg, rgba(255,255,255,.85), rgba(236,240,246,.55));
  animation: smokeDrift 18s ease-in-out infinite alternate;
}

@keyframes smokeDrift {
  from { filter: blur(0px); transform: translate3d(-8px, -6px, 0) scale(1); opacity: .9; }
  to { filter: blur(2px); transform: translate3d(10px, 8px, 0) scale(1.03); opacity: 1; }
}

.side-brand img,
.site-logo-button img,
.high-luxury-logo {
  position: relative;
  overflow: hidden;
}

.side-brand::after,
.site-logo-button::after,
.high-luxury-logo::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.42) 48%, transparent 62%);
  transform: translateX(-140%);
  animation: goldShimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes goldShimmer {
  0%, 55% { transform: translateX(-140%); }
  78%, 100% { transform: translateX(140%); }
}

.inventory-counters {
  max-width: 760px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.inventory-counters div {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  padding: 18px 14px;
  text-align: center;
}

.inventory-counters strong {
  display: block;
  font-size: 30px;
  letter-spacing: .02em;
}

.inventory-counters span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.large-empty-card,
.empty-product-card,
.connection-box,
.upcoming-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.large-empty-card:hover,
.empty-product-card:hover,
.connection-box:hover,
.upcoming-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15,23,42,.11);
  border-color: rgba(25, 97, 255, .25);
}

.card-badges {
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.large-empty-card,
.empty-product-card {
  position: relative;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  background: linear-gradient(135deg, #ff6b00, #ffb000);
  box-shadow: 0 5px 12px rgba(255,107,0,.25);
}

.favorite-button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
}

.favorite-button.is-active,
.favorite-detail-button.is-active {
  color: #ff2d55;
  border-color: rgba(255,45,85,.25);
  background: #fff2f5;
}

.terp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0 4px;
}

.terp-tags span {
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 999px;
  padding: 4px 8px;
  background: #f7f9fd;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.product-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.product-action-row button,
.direct-signal-button,
.copy-name-button,
.favorite-detail-button {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  background: #fff;
  color: #0f172a;
  font-weight: 850;
  cursor: pointer;
}

.direct-signal-button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--on-accent);
  border-color: transparent;
}

.recommendations {
  margin-top: 22px;
}

.recommendations h3 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.recommendation-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.recommendation-row button {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
}

.recommendation-row strong {
  display: block;
}

.recommendation-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.full-menu-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: #f8faff;
}

.full-menu-filters label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.full-menu-filters select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
}

.menu-check {
  align-content: end;
  display: flex !important;
  gap: 8px !important;
  align-items: center;
}

.upcoming-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.upcoming-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(15,23,42,.055);
  padding: 16px;
}

.upcoming-card span {
  color: #ff6b00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.upcoming-card h3 {
  margin: 8px 0 6px;
}

.upcoming-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .inventory-counters,
  .upcoming-grid,
  .recommendation-row,
  .full-menu-filters {
    grid-template-columns: 1fr;
  }
}


/* Connections carousel: show exactly 6 logos on desktop */
.connections-grid {
  max-width: 888px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
}

.connections-carousel {
  max-width: 888px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
  padding: 22px 20px 16px !important;
}

.connections-track {
  width: 100% !important;
  max-width: 828px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 18px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}

.connections-track::-webkit-scrollbar {
  display: none !important;
}

.connection-box {
  flex: 0 0 123px !important;
  width: 123px !important;
  height: 112px !important;
  min-height: 112px !important;
  scroll-snap-align: start !important;
}

.connection-box img {
  max-width: 94px !important;
  max-height: 84px !important;
}

@media (max-width: 980px) {
  .connections-grid,
  .connections-carousel {
    max-width: 640px !important;
  }

  .connections-track {
    max-width: 600px !important;
    gap: 14px !important;
  }

  .connection-box {
    flex-basis: 93px !important;
    width: 93px !important;
    height: 88px !important;
    min-height: 88px !important;
  }

  .connection-box img {
    max-width: 76px !important;
    max-height: 66px !important;
  }
}

@media (max-width: 640px) {
  .connections-grid,
  .connections-carousel {
    max-width: 360px !important;
  }

  .connections-track {
    max-width: 324px !important;
    gap: 12px !important;
  }

  .connection-box {
    flex-basis: 96px !important;
    width: 96px !important;
    height: 88px !important;
    min-height: 88px !important;
  }

  .connection-box img {
    max-width: 76px !important;
    max-height: 66px !important;
  }
}


/* Fix connections crop/dots and limit shimmer to cards only */
.connections {
  overflow: visible !important;
}

.connections-grid {
  width: 100% !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.connections-carousel {
  width: 100% !important;
  max-width: 880px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  padding: 22px 28px 18px !important;
  box-sizing: border-box !important;
}

.connections-track {
  width: 100% !important;
  max-width: 804px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  padding: 0 !important;
}

.connections-track::-webkit-scrollbar {
  display: none !important;
}

.connection-box {
  flex: 0 0 122px !important;
  width: 122px !important;
  height: 112px !important;
  min-height: 112px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  scroll-snap-align: start !important;
}

.connection-box img {
  max-width: 94px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  margin: auto !important;
}

.connections-dots {
  width: 100% !important;
  max-width: 804px !important;
  margin: 12px auto 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: center !important;
}

/* Disable full-page/logo shimmer overlays */
.side-brand::after,
.site-logo-button::after,
.high-luxury-logo::after {
  display: none !important;
  content: none !important;
}

/* Card-only shine effect */
.large-empty-card,
.empty-product-card,
.upcoming-card {
  position: relative !important;
  overflow: hidden !important;
}

.large-empty-card::after,
.empty-product-card::after,
.upcoming-card::after {
  content: "" !important;
  position: absolute !important;
  top: -40% !important;
  left: -65% !important;
  width: 45% !important;
  height: 180% !important;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%) !important;
  transform: translateX(-120%) rotate(8deg) !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.large-empty-card:hover::after,
.empty-product-card:hover::after,
.upcoming-card:hover::after {
  opacity: 1 !important;
  animation: cardShine .85s ease forwards !important;
}

@keyframes cardShine {
  from { transform: translateX(-120%) rotate(8deg); }
  to { transform: translateX(420%) rotate(8deg); }
}

@media (max-width: 980px) {
  .connections-grid,
  .connections-carousel {
    max-width: 640px !important;
  }

  .connections-track,
  .connections-dots {
    max-width: 584px !important;
  }

  .connection-box {
    flex-basis: 88px !important;
    width: 88px !important;
    height: 86px !important;
    min-height: 86px !important;
  }

  .connection-box img {
    max-width: 72px !important;
    max-height: 62px !important;
  }
}

@media (max-width: 640px) {
  .connections-grid,
  .connections-carousel {
    max-width: 360px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .connections-track,
  .connections-dots {
    max-width: 312px !important;
  }

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

  .connection-box {
    flex-basis: 96px !important;
    width: 96px !important;
    height: 88px !important;
    min-height: 88px !important;
  }
}


/* Detail actions aligned with Share Product button */
.detail-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 14px 0 16px !important;
}

.detail-actions button,
.share-product-button,
.detail-top-action {
  border: 1px solid #d1a955 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #d1a955 !important;
  padding: 10px 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.detail-actions button:hover,
.share-product-button:hover,
.detail-top-action:hover {
  background: #eef4ff !important;
  transform: translateY(-1px);
}

.favorite-detail-button.is-active {
  color: #ff2d55 !important;
  border-color: #ff2d55 !important;
  background: #fff2f5 !important;
}

.product-action-row {
  display: none !important;
}

/* Full menu filter checkbox and reset fixes */
.full-menu-filters {
  align-items: end !important;
}

.menu-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 42px;
  color: #0f172a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 13px !important;
}

.menu-check input {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--blue) !important;
}

.clear-menu-filters {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #0f172a;
  font-weight: 850;
  cursor: pointer;
}

.clear-menu-filters:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.recommendation-row button {
  cursor: pointer !important;
}

.recommendation-row button:hover {
  border-color: var(--blue) !important;
  background: var(--surface-2) !important;
}


/* Favorites section: centered when small, carousel when large */
.favoritesSection {
  overflow: visible;
}

.favorites-wrap {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}

.favorites-count-1 {
  grid-template-columns: minmax(0, 190px);
}

.favorites-count-2 {
  grid-template-columns: repeat(2, minmax(0, 190px));
}

.favorites-count-3 {
  grid-template-columns: repeat(3, minmax(0, 190px));
}

.favorites-count-4 {
  grid-template-columns: repeat(4, minmax(0, 190px));
}

.favorites-wrap .empty-product-card {
  width: 100%;
  max-width: 190px;
  min-width: 0;
}

.favorites-carousel {
  width: min(100%, 860px);
  max-width: 860px;
  display: flex !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 16px;
  justify-content: flex-start;
}

.favorites-carousel::-webkit-scrollbar {
  display: none;
}

.favorites-carousel .empty-product-card {
  flex: 0 0 190px;
  scroll-snap-align: start;
}

@media (max-width: 820px) {
  .favorites-count-3,
  .favorites-count-4 {
    grid-template-columns: repeat(2, minmax(0, 190px));
  }
}

@media (max-width: 480px) {
  .favorites-count-2,
  .favorites-count-3,
  .favorites-count-4 {
    grid-template-columns: minmax(0, 190px);
  }

  .favorites-carousel {
    width: min(100%, 220px);
  }
}


/* True Favorites carousel fix */
#favoritesSection {
  max-width: 100% !important;
  overflow: visible !important;
}

.favorites-wrap {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

.favorites-carousel-shell {
  position: relative;
  width: min(100%, 812px) !important;
  max-width: 812px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  padding: 0 0 14px !important;
}

.favorites-track {
  width: 100% !important;
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  padding: 4px 0 10px !important;
  cursor: grab;
}

.favorites-track::-webkit-scrollbar {
  display: none !important;
}

.favorites-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none !important;
}

.favorites-track .empty-product-card {
  flex: 0 0 190px !important;
  width: 190px !important;
  max-width: none !important;
  min-width: 0 !important;
  scroll-snap-align: start !important;
}

.favorites-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.favorite-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #f3bd82;
  opacity: .65;
  padding: 0;
  cursor: pointer;
}

.favorite-dot.is-active {
  opacity: 1;
  background: var(--blue);
  transform: scale(1.25);
}

@media (max-width: 860px) {
  .favorites-carousel-shell {
    width: min(100%, 612px) !important;
    max-width: 612px !important;
  }
}

@media (max-width: 600px) {
  .favorites-carousel-shell {
    width: min(100%, 398px) !important;
    max-width: 398px !important;
  }
}

@media (max-width: 420px) {
  .favorites-carousel-shell {
    width: min(100%, 190px) !important;
    max-width: 190px !important;
  }
}


/* New Drops carousel now inherits .favorites-track / .favorites-carousel-shell sizing */

/* Keep sidebar fully visible on laptop screens */
@media (min-width: 901px) and (max-height: 900px) {
  .side-nav {
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .side-brand {
    padding-top: 0 !important;
    padding-bottom: 4px !important;
  }

  .side-brand img {
    width: 130px !important;
    max-height: 100px !important;
  }

  .side-search {
    margin-bottom: 6px !important;
  }

  .side-search input {
    height: 38px !important;
  }

  .side-nav-links {
    gap: 2px !important;
  }

  .side-nav-links button {
    min-height: 38px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: .94rem !important;
  }

  .nav-custom-icon,
  .nav-logo-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .nav-hl-icon {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .side-nav-links button[data-tab="high-luxury"] {
    min-height: 48px !important;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  .side-brand img {
    width: 112px !important;
    max-height: 82px !important;
  }

  .side-nav-links button {
    min-height: 34px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    font-size: .9rem !important;
  }

  .nav-custom-icon,
  .nav-logo-icon {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
  }

  .nav-hl-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }
}


/* Final laptop sidebar fix — preserve mobile layout */
@media (min-width: 769px) {
  .side-nav {
    position: fixed !important;
    top: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    height: auto !important;
    max-height: calc(100vh - 20px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin !important;
    box-sizing: border-box !important;
  }

  .side-nav::-webkit-scrollbar {
    width: 6px !important;
  }

  .side-nav::-webkit-scrollbar-thumb {
    background: rgba(120, 130, 150, .35) !important;
    border-radius: 999px !important;
  }

  .side-brand {
    flex: 0 0 auto !important;
  }

  .side-search {
    flex: 0 0 auto !important;
  }

  .side-nav-links {
    flex: 0 0 auto !important;
  }
}

@media (min-width: 769px) and (max-height: 860px) {
  .side-nav {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .side-brand img {
    width: 118px !important;
    max-height: 86px !important;
  }

  .side-search {
    margin-bottom: 4px !important;
  }

  .side-search input {
    height: 36px !important;
  }

  .side-nav-links {
    gap: 1px !important;
  }

  .side-nav-links button {
    min-height: 34px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    font-size: .9rem !important;
  }

  .nav-custom-icon,
  .nav-logo-icon {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
  }

  .nav-hl-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .side-nav-links button[data-tab="high-luxury"] {
    min-height: 44px !important;
  }
}

@media (min-width: 769px) and (max-height: 720px) {
  .side-brand img {
    width: 102px !important;
    max-height: 72px !important;
  }

  .side-search input {
    height: 33px !important;
  }

  .side-nav-links button {
    min-height: 31px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    font-size: .86rem !important;
  }

  .nav-custom-icon,
  .nav-logo-icon {
    width: 27px !important;
    height: 27px !important;
    flex-basis: 27px !important;
  }

  .nav-hl-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }
}


/* ============ PREMIUM DARK + GOLD THEME OVERRIDE ============ */

.menu-toggle {
  border: 1px solid var(--border) !important;
  background: rgba(16,20,32,.92) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.45) !important;
}
.menu-title { color: var(--text) !important; }
.menu-title span { color: var(--muted) !important; }

.full-menu.full-menu-list { background: var(--surface) !important; }
.menu-list-section h3 { color: var(--muted) !important; background: var(--surface) !important; }
.menu-product { background: var(--surface) !important; }
.menu-product:hover { background: var(--surface-2) !important; }
.menu-product-title strong { color: var(--text) !important; }
.menu-product-brand { color: var(--muted) !important; }
.menu-empty-row { color: var(--muted) !important; }

.empty-product-card,
.large-empty-card,
.brand-list-card,
.detail-card,
.connection-box,
.category-tile,
.hours-card,
.upcoming-card,
.recommendation-row button,
.full-menu-filters select,
.clear-menu-filters,
.copy-name-button,
.favorite-detail-button,
.socials a,
.age-modal,
.age-actions .secondary,
.direct-signal-button ~ .copy-name-button {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text);
}

.empty-card-space,
.large-empty-media,
.detail-media {
  background: linear-gradient(145deg, #1b2236, #0a0d16) !important;
}

.composite-logos,
.multi-video-media,
.video-media,
.hybrid-media-card,
.image-card-space,
.image-large-media,
.composite-card-media {
  background: #070912 !important;
}

.empty-card-info { border-top: 1px solid var(--border) !important; }
.empty-card-info h2 { color: var(--text) !important; }
.empty-card-info h2 span { color: var(--muted) !important; }
.large-empty-body h2 { color: var(--text) !important; }
.large-empty-body p,
.brand-line { color: var(--muted) !important; }
.item-note { color: var(--text) !important; }
.tab-category-heading { color: var(--muted) !important; }

.group-header h1,
.detail-title-row h1 { color: var(--text) !important; }
.group-header p { color: var(--muted) !important; }
.group-description { color: var(--text) !important; }
.detail-description { color: var(--text) !important; border-top-color: var(--border) !important; }

.schedule-list div { color: var(--text) !important; border-bottom-color: var(--border) !important; }
.cutoff-box { background: var(--surface-2) !important; color: var(--text) !important; }
.hours-card .eyebrow { color: var(--blue) !important; }

.socials a { color: var(--text) !important; transition: color .15s ease, border-color .15s ease; }
.socials a:hover { color: var(--blue) !important; border-color: var(--blue) !important; }
.brand-list-body h3 { color: var(--text) !important; }
.brand-strain-list li { color: var(--text) !important; }
.footer { color: var(--muted) !important; }
.footer p { color: var(--muted) !important; }

.category-tile strong { color: var(--text) !important; }
.category-tile em { color: var(--blue) !important; }

.full-menu-filters { background: var(--surface-2) !important; border-color: var(--border) !important; }
.full-menu-filters label { color: var(--muted) !important; }
.full-menu-filters select { color: var(--text) !important; }
.menu-check { color: var(--text) !important; }

.recommendation-row span { color: var(--muted) !important; }
.recommendations h3 { color: var(--muted) !important; }

.upcoming-card p { color: var(--muted) !important; }
.inventory-counters div { background: var(--surface) !important; border-color: var(--border) !important; }
.inventory-counters strong { color: var(--blue) !important; }
.inventory-counters span { color: var(--muted) !important; }
.upcoming-card span { color: var(--blue) !important; }

.side-menu-button span { background: var(--text) !important; }
.side-nav { background: rgba(16,20,32,.97) !important; border-color: var(--border) !important; }
.side-brand { border-bottom-color: var(--border) !important; }
.side-search span { color: var(--muted) !important; }
.side-search input { background: var(--surface-2) !important; border-color: var(--border) !important; color: var(--text) !important; }
.side-search input:focus { background: var(--surface) !important; }
.side-nav-links button { color: var(--text) !important; }
.side-backdrop { background: rgba(0,0,0,.6) !important; }

.site-logo-button { background: transparent !important; }

.bottom-nav { background: rgba(16,20,32,.97) !important; border-color: var(--border) !important; }
.bottom-nav button { color: var(--text) !important; }

.age-overlay { background: rgba(0,0,0,.9) !important; }
.age-badge { color: var(--text) !important; }
.age-copy,
.fine-print { color: var(--muted) !important; }
.age-actions .primary { background: var(--blue) !important; color: var(--on-accent) !important; }

.copy-toast { background: var(--surface) !important; color: var(--text) !important; box-shadow: 0 14px 35px rgba(0,0,0,.5) !important; }

.terp-tags span { background: var(--surface-2) !important; color: var(--muted) !important; border-color: var(--border) !important; }
.favorite-button { background: var(--surface) !important; }

.detail-actions button,
.share-product-button,
.detail-top-action {
  border-color: var(--blue) !important;
  background: transparent !important;
  color: var(--blue) !important;
}
.detail-actions button:hover,
.share-product-button:hover,
.detail-top-action:hover {
  background: rgba(209,169,85,.12) !important;
}

.back-to-menu { border-color: var(--blue) !important; background: transparent !important; color: var(--blue) !important; }
.large-empty-card:hover,
.empty-product-card:hover,
.connection-box:hover,
.upcoming-card:hover {
  border-color: var(--blue) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.45) !important;
}

.connections-carousel { background: linear-gradient(135deg, var(--surface), var(--surface-2)) !important; border-color: var(--border) !important; }
.connection-box { background: rgba(255,255,255,.04) !important; }
.connection-box img { filter: grayscale(0) brightness(1.05); }

body.home-active::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(209,169,85,.10), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(209,169,85,.14), transparent 26%),
    linear-gradient(120deg, rgba(12,10,7,1), rgba(20,16,10,1)) !important;
}

.side-nav::-webkit-scrollbar-thumb { background: rgba(209,169,85,.35) !important; }

/* logo image glow */
.side-brand img,
.site-logo-button img { filter: drop-shadow(0 0 14px rgba(209,169,85,.18)); }


/* ============ UX / NAV / CARD POLISH ============ */
:focus-visible { outline: 2px solid var(--blue) !important; outline-offset: 2px !important; }

.section-title { position: relative; padding-bottom: 12px !important; }
.section-title::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 2px; background: var(--blue); opacity: .8;
}
.section-title.small::after { width: 30px; }

.side-search { position: relative; }
.side-search input { padding-left: 34px !important; }
.side-search::after {
  content: "";
  position: absolute; left: 12px; bottom: 12px;
  width: 14px; height: 14px;
  border: 2px solid var(--muted); border-radius: 50%;
  pointer-events: none;
}
.side-search::before {
  content: "";
  position: absolute; left: 21px; bottom: 9px;
  width: 6px; height: 2px; background: var(--muted);
  transform: rotate(45deg); transform-origin: left center;
  pointer-events: none;
}

.side-nav-links button {
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.side-nav-links button:hover { padding-left: 22px !important; }
.side-nav-links button.is-active {
  background: rgba(209,169,85,.14) !important;
  box-shadow: inset 2px 0 0 var(--blue);
}

.empty-product-card,
.large-empty-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.category-tile { transition: transform .18s ease, border-color .18s ease; }
.category-tile:hover { transform: translateY(-2px); border-color: var(--blue) !important; }

.menu-toggle:hover { border-color: var(--border) !important; }

.detail-media { position: relative; }
.brand-line { letter-spacing: .04em; }

@media (max-width: 640px) {
  .section-title { font-size: 16px !important; }
  .empty-product-card, .large-empty-card { border-radius: 14px !important; }
}


/* ============ NOCTURNE: icon visibility + ambient glow ============ */
.nav-custom-icon {
  background: #f4f1ea !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  padding: 6px !important;
  box-shadow: inset 0 0 0 1px var(--border) !important;
  object-fit: contain !important;
}
.nav-hl-icon { box-shadow: 0 0 14px rgba(209,169,85,.25); border-radius: 50%; }

body.home-active::before {
  background:
    radial-gradient(circle at 18% 15%, rgba(209,169,85,.09), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(120,150,255,.10), transparent 28%),
    linear-gradient(120deg, rgba(6,8,18,1), rgba(11,15,28,1)) !important;
}

/* ============ ENTRANCE ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes glowPulse { 0%,100% { filter: drop-shadow(0 0 6px rgba(209,169,85,.15)); } 50% { filter: drop-shadow(0 0 16px rgba(209,169,85,.4)); } }
@keyframes shimmer { 0% { background-position: -120% 0; } 100% { background-position: 220% 0; } }

.reveal-up { opacity: 0; transform: translateY(18px); }
.reveal-up.is-visible { animation: fadeInUp .55s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--reveal-delay, 0ms); }

.age-modal { animation: popIn .35s cubic-bezier(.2,.8,.3,1); }
.age-overlay { backdrop-filter: blur(0px); transition: opacity .25s ease, visibility .25s ease, backdrop-filter .35s ease; }
.age-overlay:not(.is-hidden) { backdrop-filter: blur(6px); }

.side-nav-links button img {
  transition: transform .2s cubic-bezier(.3,.9,.3,1.4), filter .2s ease;
}
.side-nav-links button:hover img,
.side-nav-links button.is-active img {
  transform: scale(1.12) rotate(-2deg);
  filter: drop-shadow(0 0 6px rgba(209,169,85,.55));
}

.favorite-button, .favorite-detail-button { position: relative; }
.favorite-button.bursting::after,
.favorite-detail-button.bursting::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid #ff2d55;
  animation: favoriteBurst .5s ease-out forwards;
  pointer-events: none;
}
@keyframes favoriteBurst {
  0% { transform: scale(.3); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.favorite-button.bursting, .favorite-detail-button.bursting { animation: favoritePop .4s ease; }
@keyframes favoritePop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.side-nav-links button[data-signal] { position: relative; }
.side-nav-links button[data-signal].order-pulse img {
  animation: orderPulse 1.8s ease-in-out infinite;
}
@keyframes orderPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(209,169,85,0)); }
  50% { filter: drop-shadow(0 0 8px rgba(209,169,85,.85)); }
}

@media (prefers-reduced-motion: reduce) {
  .side-nav-links button img, .favorite-button.bursting, .favorite-detail-button.bursting,
  .favorite-button.bursting::after, .favorite-detail-button.bursting::after,
  .side-nav-links button[data-signal].order-pulse img { animation: none !important; transition: none !important; }
}

.large-empty-card:hover .image-large-media img,
.empty-product-card:hover .image-card-space img { transform: scale(1.05); }
.large-empty-card:hover, .empty-product-card:hover { box-shadow: 0 16px 34px rgba(15,23,42,.11), 0 0 0 1px rgba(209,169,85,.35); }

.limited-badge { background: linear-gradient(135deg, #b3452c, #7a2e1d) !important; color: #fff5ec !important; }
.low-stock-badge { background: linear-gradient(135deg, #b3892c, #7a5b1d) !important; color: #fff5ec !important; }

.menu-fav-dot { color: #ff2d55; margin-right: 6px; font-size: 12px; }
.menu-product.is-favorited { background: rgba(255,45,85,.05) !important; }

.copied-flash { color: #34d399 !important; border-color: #34d399 !important; transition: color .2s ease, border-color .2s ease; }

.image-large-media, .image-card-space { position: relative; }
.image-large-media::after, .image-card-space::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-image: url("assets/hl-circle-logo.webp");
  background-size: cover;
  background-position: center;
  opacity: .75;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  pointer-events: none;
}

.faq-accordion { display: grid; gap: 10px; margin-top: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question .faq-chevron { transition: transform .25s ease; color: var(--blue); flex: none; }
.faq-item.is-open .faq-question .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { margin: 0; padding: 0 16px 14px; color: var(--muted); line-height: 1.6; font-size: 13.5px; }

.search-results-count { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; margin-top: 4px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--blue-2)); border-radius: 999px; border: 2px solid var(--surface); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-2); }
* { scrollbar-color: var(--blue) var(--surface); scrollbar-width: thin; }

.category-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(209,169,85,.1), transparent);
}
.category-banner img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #f4f1ea; padding: 4px; }
.category-banner span { font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }

.order-eta-note { margin: 14px 14px 4px; font-size: 11px; color: var(--muted); line-height: 1.4; }
.detail-eta-note { margin: 6px 0 0; }

.page-skeleton {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  padding: 60px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transition: opacity .35s ease;
  pointer-events: none;
}
.page-skeleton.is-hidden { opacity: 0; pointer-events: none; }
.skeleton-block {
  border-radius: 16px;
  background: linear-gradient(100deg, var(--surface-2) 30%, rgba(255,255,255,.06) 50%, var(--surface-2) 70%);
  background-size: 250% 100%;
  animation: shimmerLoad 1.4s ease-in-out infinite;
}
.skeleton-hero { width: min(100%, 320px); height: 64px; border-radius: 999px; }
.skeleton-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: min(100%, 650px); }
.skeleton-card { height: 220px; }
@media (min-width: 640px) { .skeleton-row { grid-template-columns: repeat(4, 1fr); } }

.search-skeleton-card .skeleton-block { min-height: 200px; }
.search-skeleton-card .skeleton-line {
  height: 14px;
  margin: 8px 0;
  border-radius: 6px;
  background: linear-gradient(100deg, var(--surface-2) 30%, rgba(255,255,255,.06) 50%, var(--surface-2) 70%);
  background-size: 250% 100%;
  animation: shimmerLoad 1.4s ease-in-out infinite;
}

/* ============ CATEGORY QUICK FILTERS ============ */
.quick-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.quick-filter-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quick-filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.quick-filter-chip.is-active { background: var(--blue); border-color: var(--blue); color: var(--on-accent); }

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 9996;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--blue);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top[hidden] { display: none !important; }
.back-to-top:hover { border-color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .skeleton-block { animation: none !important; }
}

/* ============ SIDEBAR SKELETON ============ */
.side-nav-skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--surface);
  padding: 18px;
  display: grid;
  gap: 10px;
  transition: opacity .35s ease;
}
.side-nav-skeleton.is-hidden { opacity: 0; pointer-events: none; }
.sidenav-skel-logo { height: 90px; border-radius: 12px; margin-bottom: 8px; }
.sidenav-skel-search { height: 42px; border-radius: 12px; margin-bottom: 8px; }
.sidenav-skel-item { height: 44px; border-radius: 14px; }

.install-banner[hidden] { display: none !important; }
.install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 20px;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--blue);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  max-width: 420px;
  margin: 0 auto;
}
.install-banner span { font-size: 13px; color: var(--text); font-weight: 600; }
.install-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.install-actions button { border: none; cursor: pointer; }
#installAcceptButton { background: var(--blue); color: var(--on-accent); font-weight: 800; border-radius: 999px; padding: 8px 14px; font-size: 12.5px; }
#installDismissButton { background: none; color: var(--muted); font-size: 14px; }

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes panelFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel.is-active { animation: panelFade .4s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .tab-panel.is-active { animation: none !important; }
}
.side-nav { transition: transform .28s cubic-bezier(.3,.9,.3,1) !important; }

.high-luxury-logo span { animation: glowPulse 4.5s ease-in-out infinite; }

.empty-product-card,
.large-empty-card,
.category-tile {
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease, border-color .22s ease !important;
}
.empty-product-card:hover,
.large-empty-card:hover { transform: translateY(-4px) !important; }

.direct-signal-button,
.age-actions .primary,
.detail-actions button,
.share-product-button {
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease !important;
}
.direct-signal-button:active,
.age-actions .primary:active { transform: scale(.96) !important; }

.product-badge,
.new-badge,
.limited-badge,
.low-stock-badge,
.featured-badge,
.recommendation-row span[data-new],
span.NEW {
  position: relative;
  overflow: hidden;
}
.product-badge::before,
.new-badge::before,
.limited-badge::before,
.low-stock-badge::before,
.featured-badge::before,
.recommendation-row span[data-new]::before,
span.NEW::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 60%);
  background-size: 250% 100%;
  animation: shimmer 1.1s ease-in-out .15s 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-up.is-visible, .age-modal, .high-luxury-logo span,
  [class*="badge"], .new-badge { animation: none !important; }
}

/* ============ MOBILE OPTIMIZATION PASS ============ */
@media (max-width: 520px) {
  .category-banner { padding: 14px 12px !important; gap: 10px; }
  .category-banner img { width: 36px; height: 36px; }
  .category-banner span { font-size: 15px !important; }
}

.detail-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 14px 0 16px !important;
}
.detail-actions button, .share-product-button, .detail-top-action {
  width: auto;
  justify-content: center;
}


.install-banner { bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important; }
body:has(.install-banner:not([hidden])) .back-to-top { bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }

@media (max-width: 480px) {
  .hours-card { padding: 18px 16px 22px !important; }
  .faq-question { padding: 12px 14px !important; }
}



  content: "";
  position: absolute;
  inset: -7px;
}

/* ============ TOUCH: larger carousel arrows ============ */
@media (hover: none) and (pointer: coarse) {
  .carousel-arrow { width: 44px !important; height: 44px !important; font-size: 20px !important; }
}

/* ============ LANDSCAPE PHONE: shorter media ============ */
@media (max-height: 480px) and (orientation: landscape) {
  .large-empty-media, .composite-card-media, .detail-media, .multi-video-media { min-height: 190px !important; }
  .empty-card-space, .image-card-space { min-height: 130px !important; }
  body.home-active .hero { padding: 8px 0 14px !important; }
}

/* ============ PULL TO REFRESH ============ */
.ptr-indicator {
  position: fixed;
  left: 50%;
  top: 10px;
  z-index: 9995;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-50%) translateY(0);
  pointer-events: none;
}
.ptr-indicator.is-ready { border-color: var(--blue); }
.ptr-indicator.is-loading { animation: ptrSpin .6s linear infinite; opacity: 1 !important; }
@keyframes ptrSpin { to { transform: translateX(-50%) rotate(360deg); } }

/* ============ SIDEBAR SCRIM FADE ============ */
@media (max-width: 980px) {
  .side-backdrop {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    display: block !important;
  }
  .side-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ============ CAROUSEL: iOS momentum snap ============ */
.connections-track, .favorites-track {
  -webkit-overflow-scrolling: touch;
}

/* ============ AGE GATE: stack on narrow phones ============ */
@media (max-width: 380px) {
  .age-actions { grid-template-columns: 1fr !important; }
}

/* ============ PINCH ZOOM ============ */
.detail-media img, .detail-media video {
  transition: transform .12s ease;
  touch-action: pan-y;
}

/* ============ TAP MICRO-FEEDBACK ============ */
.side-nav-links button:active,
.tab-panel button:active,
.menu-toggle:active,
.menu-product:active,
.category-tile:active,
.large-empty-card:active,
.empty-product-card:active,
.back-to-menu:active,
.share-product-button:active,
.detail-actions button:active,
.direct-signal-button:active,
.faq-question:active,
.connection-box:active,
.clear-menu-filters:active {
  transform: scale(.96);
}
.site-logo-button:active img,
.side-menu-button:active { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) {
  .side-nav-links button:active, .tab-panel button:active, .menu-toggle:active,
  .menu-product:active, .category-tile:active, .large-empty-card:active,
  .empty-product-card:active, .back-to-menu:active, .share-product-button:active,
  .detail-actions button:active, .direct-signal-button:active, .faq-question:active,
  .connection-box:active, .clear-menu-filters:active,
  .site-logo-button:active img, .side-menu-button:active { transform: none !important; }
}

/* ============ OFFLINE BANNER ============ */
.offline-banner {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: #7a2e1d;
  color: #fff5ec;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.offline-banner.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .offline-banner { transition: none; } }

/* ============ REDUCED MOTION: pull-to-refresh & swipe ============ */
@media (prefers-reduced-motion: reduce) {
  .ptr-indicator, .side-nav { transition: none !important; }
  .ptr-indicator.is-loading { animation: none !important; }
}

/* ============ LIGHT MODE OVERRIDES ============ */
html[data-theme="light"] body::before {
  background: linear-gradient(120deg, #fcfdff, #f6f8fb) !important;
}
html[data-theme="light"] body::after {
  background: radial-gradient(ellipse at center, transparent 65%, rgba(15,25,45,.05) 100%) !important;
}
html[data-theme="light"] .side-nav { background: rgba(255,255,255,.98) !important; }
html[data-theme="light"] .menu-toggle { background: rgba(255,255,255,.94) !important; box-shadow: 0 10px 30px rgba(15,25,45,.08) !important; }
html[data-theme="light"] .age-overlay { background: rgba(10,15,30,.55) !important; }
html[data-theme="light"] .side-backdrop { background: rgba(10,15,30,.22) !important; }
html[data-theme="light"] .connections-carousel { box-shadow: 0 12px 28px rgba(15,25,45,.06); }
html[data-theme="light"] .connection-box { background: var(--surface-2) !important; border: 1px solid var(--border) !important; }
html[data-theme="light"] .connection-dot { background: rgba(47,111,237,.35) !important; }
html[data-theme="light"] .connection-dot.is-active { background: var(--blue) !important; }
html[data-theme="light"] .favorite-dot:not(.is-active) { background: rgba(47,111,237,.35) !important; }
html[data-theme="light"] .favorite-dot.is-active { background: var(--blue) !important; opacity: 1 !important; }
html[data-theme="light"] .section + .section::before { background: linear-gradient(90deg, transparent, var(--blue) 50%, transparent) !important; opacity: .55; }
html[data-theme="light"] .back-to-menu:hover,
html[data-theme="light"] .detail-actions button:hover,
html[data-theme="light"] .share-product-button:hover,
html[data-theme="light"] .detail-top-action:hover {
  background: rgba(47,111,237,.1) !important;
}
html[data-theme="light"] .category-banner {
  background:
    radial-gradient(circle at 12% 50%, rgba(47,111,237,.1), transparent 55%),
    linear-gradient(90deg, var(--surface), var(--surface-2)) !important;
}
html[data-theme="light"] .category-banner::after { background: linear-gradient(90deg, transparent, rgba(47,111,237,.5), transparent) !important; }
html[data-theme="light"] .large-empty-card:hover,
html[data-theme="light"] .empty-product-card:hover {
  box-shadow: 0 16px 34px rgba(15,25,45,.1), 0 0 0 1px rgba(47,111,237,.3) !important;
}
html[data-theme="light"] .side-nav::-webkit-scrollbar-thumb { background: rgba(47,111,237,.35) !important; }
html[data-theme="light"] .side-brand img,
html[data-theme="light"] .site-logo-button img { filter: drop-shadow(0 0 14px rgba(47,111,237,.15)) !important; }

/* ============ SIDEBAR: fit any screen height without scrolling (desktop/tablet) ============ */
@media (min-width: 769px) {
  .side-nav {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }
  .side-brand {
    flex: 0 1 auto !important;
    min-height: 0 !important;
    padding: 0 0 8px !important;
  }
  .side-brand img {
    width: auto !important;
    max-width: 72% !important;
    max-height: 9vh !important;
    height: auto !important;
  }
  .side-search { flex: 0 0 auto !important; margin-bottom: 8px !important; }
  .side-search input { height: clamp(32px, 4.4vh, 42px) !important; }
  .side-nav-links {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 2px !important;
  }
  .side-nav-links button {
    min-height: 0 !important;
    height: clamp(30px, 5.8vh, 50px) !important;
    padding: 4px 12px !important;
    flex: 0 1 auto !important;
  }
  .nav-custom-icon, .nav-logo-icon {
    width: clamp(20px, 3vh, 34px) !important;
    height: clamp(20px, 3vh, 34px) !important;
    flex-basis: clamp(20px, 3vh, 34px) !important;
  }
  .nav-hl-icon {
    width: clamp(26px, 4vh, 46px) !important;
    height: clamp(26px, 4vh, 46px) !important;
    flex-basis: clamp(26px, 4vh, 46px) !important;
  }
  .order-eta-note { flex: 0 0 auto !important; margin: 8px 12px 2px !important; font-size: 10px !important; }
}
.side-nav { scrollbar-width: none !important; }
.side-nav::-webkit-scrollbar { display: none !important; width: 0 !important; }
html[data-theme="light"] .high-luxury-logo { background: #2a3ee8 !important; box-shadow: 0 5px 0 #000, inset 0 0 0 2px #000 !important; }
html[data-theme="light"] .high-luxury-logo span { background: #000 !important; color: #fff !important; animation: none !important; filter: none !important; }
html[data-theme="light"] .nav-custom-icon { background: #eef2f8 !important; }
html[data-theme="light"] .favorite-button.is-active,
html[data-theme="light"] .favorite-detail-button.is-active { background: #ffe9ee !important; }
html[data-theme="light"] .card-kicker { color: var(--muted) !important; }
html[data-theme="light"] .recommendations h3 { color: var(--text) !important; }
html[data-theme="light"] .side-nav-links button:hover,
html[data-theme="light"] .side-nav-links button.is-active {
  background: rgba(47,111,237,.12) !important;
  color: var(--blue) !important;
  box-shadow: none !important;
}
html[data-theme="light"] .side-nav-links button:hover img,
html[data-theme="light"] .side-nav-links button.is-active img {
  filter: drop-shadow(0 0 6px rgba(47,111,237,.5)) !important;
}
html[data-theme="light"] .section-title::after { background: var(--blue) !important; opacity: .5 !important; }
html[data-theme="light"] .inventory-counters strong { color: var(--text) !important; }
html[data-theme="light"] .carousel-arrow {
  border-color: #111 !important;
  background: #fff !important;
  color: #111 !important;
}
html[data-theme="light"] .carousel-arrow:hover {
  background: #111 !important;
  color: #fff !important;
}


/* ============ FIX: top-right logo size/position + sidebar clearance above mobile tab bar ============ */
.site-logo-button {
  width: 96px !important;
  height: 96px !important;
  top: 14px !important;
  right: 14px !important;
}
.site-logo-button img {
  width: 84px !important;
  height: 84px !important;
}
@media (max-width: 980px) {
  .site-logo-button {
    width: 44px !important;
    height: 44px !important;
    top: 10px !important;
    right: 10px !important;
    padding: 2px !important;
  }
  .site-logo-button img {
    width: 38px !important;
    height: 38px !important;
  }
  .top-bar { padding-right: 52px !important; box-sizing: border-box; }
  .side-nav {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 10px) !important;
  }
}

/* ============ OFFLINE BANNER: retry button ============ */
.offline-banner { gap: 12px; }
#offlineRetry {
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff5ec;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
#offlineRetry:hover { background: rgba(255,255,255,.22); }

/* ============ MOBILE TAB BAR ============ */
.mobile-tab-bar { display: none; }
@media (max-width: 980px) {
  .mobile-tab-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9993;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 26px rgba(0,0,0,.25);
  }
  .mobile-tab-bar button {
    display: grid;
    justify-items: center;
    gap: 3px;
    border: none;
    background: none;
    color: var(--muted);
    padding: 6px 2px;
    min-height: 48px;
    cursor: pointer;
  }
  .mobile-tab-bar button img { width: 22px; height: 22px; object-fit: contain; }
  .mobile-tab-bar .tab-bar-glyph { font-size: 19px; line-height: 1; }
  .mobile-tab-bar button span:last-child { font-size: 10px; font-weight: 700; letter-spacing: .02em; }
  .mobile-tab-bar button.is-active { color: var(--blue); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
  .back-to-top { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
  .install-banner { bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ============ CARD TYPOGRAPHY: kicker labels ============ */
.card-kicker {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 3px;
}
.empty-card-info h2 { margin-top: 0; }

/* ============ SECTION DIVIDERS ============ */
.section + .section {
  position: relative;
  padding-top: 34px;
}
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 340px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 50%, transparent);
  opacity: .55;
}

/* ============ FEATURED NEW DROP ============ */
#homeNewDrops .empty-product-card.is-featured {
}
.featured-badge {
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  color: var(--on-accent) !important;
  box-shadow: 0 5px 12px rgba(209,169,85,.3) !important;
}

/* ============ CUSTOM FORM CONTROLS ============ */
.full-menu-filters select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) center, calc(100% - 13px) center !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  padding-right: 30px !important;
  cursor: pointer;
  transition: border-color .15s ease;
}
.full-menu-filters select:focus { border-color: var(--blue) !important; outline: none; }
.menu-check input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: 5px !important;
  background: var(--surface-2) !important;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.menu-check input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid var(--on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.menu-check input[type="checkbox"]:checked {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}
.menu-check input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }

/* ============ AGE GATE: premium badge ============ */
.age-badge {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
}
.age-badge::after { display: none !important; }
.age-modal { background: var(--surface) !important; border: 1px solid var(--border); box-shadow: 0 30px 90px rgba(0,0,0,.55) !important; }
.age-modal h2 { color: var(--text) !important; }

/* ============ ENTRANCE: install banner / back-to-top ============ */
@keyframes bannerSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.install-banner:not([hidden]) { animation: bannerSlideUp .4s cubic-bezier(.2,.8,.3,1); }

/* ============ RADIUS CONSISTENCY ============ */
.empty-product-card, .large-empty-card, .brand-list-card, .detail-card,
.connection-box, .hours-card, .upcoming-card, .faq-item,
.category-tile { border-radius: 16px !important; }
.age-modal, .install-banner { border-radius: 20px !important; }
.side-search input, .full-menu-filters select, .clear-menu-filters,
.menu-toggle, .full-menu.full-menu-list { border-radius: 10px !important; }
.full-menu.full-menu-list.is-open { border-radius: 0 0 10px 10px !important; }

/* ============ UPPERCASE LABEL CONSISTENCY ============ */
.section-title, .tab-category-heading, .menu-list-section h3, .side-search span,
.inventory-counters span, .upcoming-card span, .card-kicker, .brand-list-body h3,
.recommendations h3, .hours-card .eyebrow {
  font-weight: 800;
  letter-spacing: .12em;
}

/* ============ AMBIENT VIGNETTE ============ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ============ CATEGORY ACCENT TINTS ============ */
[data-panel="prepackaged"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(214,120,120,.16), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }
[data-panel="prerolls"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(120,190,140,.16), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }
[data-panel="vaporizers"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(120,160,214,.16), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }
[data-panel="concentrates"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(214,150,90,.18), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }
[data-panel="edibles"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(170,130,214,.16), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }
[data-panel="apparel"] .category-banner { background: radial-gradient(circle at 12% 50%, rgba(110,190,190,.16), transparent 55%), linear-gradient(90deg, var(--surface), var(--surface-2)) !important; }

/* ============ SEARCH SHORTCUT HINT ============ */
.search-shortcut-hint {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  background: var(--surface-2);
  pointer-events: none;
}
.side-search input:focus ~ .search-shortcut-hint { display: none; }
.copy-toast::before { content: none !important; }
/* ============ MOBILE/TABLET: hamburger off-canvas sidebar ============ */
@media (max-width: 980px) {
  .side-menu-button {
    display: flex !important;
    position: fixed;
    left: 14px;
    top: 12px;
    z-index: 80;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    cursor: pointer;
  }
  .side-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
  }
  .side-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0,0,0,.6);
  }
  .side-backdrop.is-open { display: block !important; }

  .side-nav {
    position: fixed !important;
    left: 12px !important;
    top: 68px !important;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px) + 10px) !important;
    margin: 0 !important;
    width: min(86vw, 310px) !important;
    max-height: none !important;
    overflow-y: auto !important;
    transform: translateX(-120%) !important;
    transition: transform .28s cubic-bezier(.3,.9,.3,1) !important;
  }
  .side-nav.is-open { transform: translateX(0) !important; }

  .page-shell { margin: 0 auto !important; }
  .top-bar { padding-top: 66px !important; }
}
@media (min-width: 981px) {
  .side-menu-button, .side-backdrop { display: none !important; }
}

.toast-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 800;
  flex: none;
}

/* ============ CATEGORY BANNER: richer treatment ============ */
.category-banner {
  position: relative;
  padding: 20px 16px !important;
  border-bottom: none !important;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 50%, rgba(209,169,85,.16), transparent 55%),
    linear-gradient(90deg, var(--surface), var(--surface-2)) !important;
  box-shadow: inset 0 0 0 1px var(--border), 0 10px 26px rgba(0,0,0,.3);
}
.category-banner::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209,169,85,.6), transparent);
}
.category-banner img { box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(0,0,0,.3); }
.category-banner span { letter-spacing: .12em; }

/* ============ BREADCRUMB / BACK-LINK PRESENCE ============ */
.detail-breadcrumb { display: none !important; }

/* ============ HOME RHYTHM: tighten hero-to-first-section gap ============ */
body.home-active .hero { padding-bottom: 20px !important; }
.new-drops-section { padding-top: 4px !important; }
.new-drops-section::before { display: none !important; }

/* ============ SEARCH: clear button ============ */
.side-search { position: relative; }
.search-clear[hidden] { display: none !important; }
.search-clear {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.search-clear:hover { background: var(--blue); color: var(--on-accent); }
.side-search input { padding-right: 34px !important; }
.side-search input::-webkit-search-cancel-button { display: none !important; -webkit-appearance: none !important; }

/* ============ SEARCH: predictive suggestions ============ */
.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  overflow: hidden;
  max-height: 340px;
  overflow-y: auto;
}
.search-suggestion {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  padding: 10px 14px;
  text-align: left;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover, .search-suggestion.is-active { background: var(--surface-2); color: var(--blue); }
.search-suggestion-cat { color: var(--muted); font-size: 11px; font-weight: 600; flex: none; }
.search-suggestion-all {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .04em;
  justify-content: center;
  background: var(--surface-2);
}
.search-suggestions-label {
  padding: 9px 14px 5px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.search-suggestion-recent { font-weight: 600; gap: 8px; justify-content: flex-start; }
.search-recent-icon { color: var(--muted); font-size: 13px; flex: none; }
.search-suggestion-clear {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  justify-content: center;
  background: none;
}
.search-suggestion-clear:hover { color: var(--blue); background: none; }

@media (max-width: 640px) {
  .search-suggestion { padding: 12px 14px; min-height: 44px; }
  .back-to-menu { min-height: 44px; padding: 11px 16px; }
  .favorite-button { min-width: 30px; min-height: 30px; }
}

/* ============ FINAL CAROUSEL SIZING: 4-up (favorites/new-drops/recently-viewed), 5-up (connections) ============ */
.favorites-carousel-shell {
  position: relative;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(842px, calc(100vw - 32px)) !important;
  max-width: none !important;
  margin: 0 !important;
}
.favorites-track { gap: 14px !important; }
.favorites-track .empty-product-card {
  flex: 0 0 200px !important;
  width: 200px !important;
}
@media (max-width: 600px) {
  .favorites-track .empty-product-card {
    flex-basis: calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
  }
}
@media (max-width: 420px) {
  .favorites-track .empty-product-card {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

.connections-carousel {
  width: 100% !important;
  max-width: 650px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.connections-track { gap: 10px !important; }
.connection-box {
  flex: 0 0 calc((100% - 40px) / 5) !important;
  width: calc((100% - 40px) / 5) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
}
@media (max-width: 600px) {
  .connection-box {
    flex-basis: calc((100% - 20px) / 3) !important;
    width: calc((100% - 20px) / 3) !important;
  }
}
@media (max-width: 380px) {
  .connection-box {
    flex-basis: calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
  }
}

/* ============ CONNECTIONS: hover lift ============ */
.connection-box {
  transition: transform .18s ease, border-color .18s ease, background .18s ease !important;
  border: 1px solid transparent !important;
}
.connection-box:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(209,169,85,.4) !important;
  background: rgba(209,169,85,.06) !important;
}
.connection-box img { transition: filter .18s ease; }
.connection-box:hover img { filter: brightness(1.15); }


/* Recently viewed: center small groups and only show carousel controls when needed */
#recentlyViewedCarousel.is-static {
  width: 100%;
  overflow: visible;
}

#recentlyViewedTrack.is-centered {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  overflow: visible;
  scroll-snap-type: none;
}

#recentlyViewedCarousel.is-static .carousel-arrow,
#recentlyViewedCarousel.is-static .favorites-dots {
  display: none !important;
}

@media (max-width: 900px) {
  #recentlyViewedTrack.is-centered {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}


/* Recently viewed final behavior */
#recentlyViewedTrack {
  direction: ltr;
}

#recentlyViewedTrack.is-centered {
  width: fit-content !important;
  max-width: 100%;
  margin-inline: auto !important;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

#recentlyViewedCarousel:not(.is-static) #recentlyViewedTrack {
  width: 100%;
  justify-content: flex-start !important;
  overflow-x: auto;
}

#recentlyViewedCarousel:not(.is-static) .carousel-arrow {
  display: grid !important;
}

#recentlyViewedCarousel:not(.is-static) .favorites-dots {
  display: flex;
}

@media (max-width: 900px) {
  #recentlyViewedTrack.is-centered {
    width: 100% !important;
    flex-wrap: wrap;
  }
}
