:root {
  --text: #202938;
  --muted: #667287;
  --border: #e4e9f1;
  --blue: #155cff;
  --bottom-nav-height: 66px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  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;
}

.menu-toggle {
  width: 100%;
  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: #7b8698; }
.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: #667287;
  background: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.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: #929bad;
  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;
  justify-content: center;
  padding: 13px 22px 11px;
  border: 0;
  border-radius: 17px;
  background: #1d06c9;
  box-shadow: 0 5px 0 #050505;
  cursor: pointer;
}

.high-luxury-logo span {
  display: block;
  padding: 7px 13px 4px;
  background: #050505;
  color: #fff;
  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;
  align-items: center;
  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: #667287;
  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: #667287;
  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: #667287;
  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: #9aa5b8; 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: #9aa3b6;
}

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(21,92,255,.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(21, 92, 255, .75);
  box-shadow: 0 0 0 8px rgba(21, 92, 255, .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: #667287;
  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: #9aa3b4;
  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: #667287; 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;
}


/* Homepage update: New Drops should show all 5 cards side by side */
#homeNewDrops {
  grid-template-columns: repeat(5, 1fr);
}

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

@media (max-width: 720px) {
  #homeNewDrops {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }
}


/* 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(21, 92, 255, .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: #667287;
  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(21,92,255,.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(21,92,255,.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;
  }
}


/* Remove blue back buttons now that browser history handles navigation */
.back-to-menu {
  display: none !important;
}

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


.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  transform: translateX(-50%) translateY(18px);
  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 .18s ease, transform .18s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* 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: #506078;
  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 #0f5cff;
}

.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;
}

.connections-carousel {
  overflow: hidden;
  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: #ff6b00;
  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: #667287;
  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: #9aa4b5;
  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: #40506a;
  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, #0f5cff, #0047d8);
  color: #fff;
  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: #667287;
  font-size: 12px;
}

.full-menu-filters {
  display: grid;
  grid-template-columns: repeat(3, 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: #667287;
  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: #667287;
}

@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: hidden !important;
}

.connections-carousel {
  max-width: 888px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !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: hidden !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 #0f5cff !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0f5cff !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: #0f5cff !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: #0f5cff;
  color: #0f5cff;
}

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

.recommendation-row button:hover {
  border-color: #0f5cff !important;
  background: #f7faff !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: 190px;
  max-width: 190px;
}

.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 {
  width: min(100%, 812px) !important;
  max-width: 812px !important;
  margin: 0 auto !important;
  overflow: hidden !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 calc((100% - 42px) / 4) !important;
  width: calc((100% - 42px) / 4) !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: #ff6b00;
  transform: scale(1.25);
}

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

  .favorites-track .empty-product-card {
    flex-basis: calc((100% - 28px) / 3) !important;
    width: calc((100% - 28px) / 3) !important;
  }
}

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

  .favorites-track .empty-product-card {
    flex-basis: calc((100% - 14px) / 2) !important;
    width: calc((100% - 14px) / 2) !important;
  }
}

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

  .favorites-track .empty-product-card {
    flex-basis: 190px !important;
    width: 190px !important;
  }
}
