.shop-menu-toggle {
  display: none;
}

.home-hero-photo {
  display: block;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.home-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.age {
  width: min(440px, calc(100% - 28px));
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.age .under {
  min-height: 44px;
}

body:has(.age[open]) {
  overflow: hidden;
}

.alt-info .skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lime);
  color: #121609;
}

.alt-info .skip-link:focus {
  transform: none;
}

.alt-info :is(header, main, footer) {
  width: min(1180px, calc(100% - 64px));
  padding-inline: 0;
}

.alt-info header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 24px;
  align-items: center;
  padding-block: 16px;
}

.alt-info header nav {
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: none;
  font-size: .88rem;
}

.alt-info header nav a,
.alt-info .shop-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}

.alt-info header nav a:hover,
.alt-info header nav a[aria-current="page"] {
  background: #1b1e18;
  border-color: #c7ed6354;
  color: var(--lime);
}

.alt-info .shop-return {
  background: var(--lime);
  color: #161b0b;
  font-size: .86rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-links .distributor-pricing,
.alt-info nav .distributor-pricing {
  background: #1b2417;
  border-color: #8aa44b;
  color: var(--lime);
}

.nav-links .distributor-pricing:hover,
.alt-info nav .distributor-pricing:hover {
  background: #2e3b23;
  border-color: var(--lime);
  color: var(--lime);
}

.alt-info :is(h1, h2) {
  text-wrap: balance;
}

.alt-info :is(main, footer) :is(p, td, th, a) {
  overflow-wrap: anywhere;
}

.alt-info .grid,
.alt-info .hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alt-info .panel {
  min-width: 0;
}

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }

  .nav-wrap .nav {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 66px;
    gap: 8px;
    padding-block: 9px;
  }

  .shop-menu-toggle {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    color: var(--text);
    background: #1c1c25;
    border: 1px solid #ffffff2b;
    border-radius: 9px;
  }

  .shop-menu-toggle[aria-expanded="true"] {
    color: var(--lime);
    border-color: var(--lime);
  }

  .nav-wrap .nav-links { display: none; }

  .nav-wrap .nav-links[data-open="true"] {
    position: absolute;
    inset: calc(100% + 4px) 5% auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: min(60dvh, 340px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #ffffff2b;
    box-shadow: 0 12px 35px #0008;
  }

  .nav-wrap .nav-links a {
    justify-content: flex-start;
    padding: 8px 10px;
    font-size: .72rem;
    letter-spacing: .02em;
    text-align: left;
    white-space: normal;
  }

  .nav-wrap .nav-links .nav-icon,
  .nav-wrap .nav-links .nav-full { display: inline; }
  .nav-wrap .nav-links .nav-short { display: none; }
  .nav-wrap .nav-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .nav-wrap .bag-btn {
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 9px;
  }

  .age { padding: 22px; }
  .age .brand { font-size: 34px; margin-bottom: 16px; }
  .age h2 { font-size: clamp(1.65rem, 8vw, 2rem); }
  .age .under { margin-top: 7px; }

  .drawer :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  .sticky-bag {
    max-width: calc(100% - 24px);
    min-height: 44px;
    justify-content: space-between;
    gap: 9px;
    padding-inline: 13px;
  }

  body:has(.sticky-bag:not([hidden])) .footer { padding-bottom: 85px; }
  .retail-builder { scroll-margin-top: 12px; }

  .alt-info :is(header, main, footer) { width: calc(100% - 32px); }
  .alt-info header { grid-template-columns: minmax(0, 1fr) auto; }
  .alt-info header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: .76rem;
    border-top: 1px solid #30303a;
    padding-top: 7px;
  }
  .alt-info header nav a { padding: 6px; }
  .alt-info header nav .distributor-pricing { grid-column: 1 / -1; }
  .alt-info h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .alt-info .grid,
  .alt-info .hero { grid-template-columns: minmax(0, 1fr); }
  .alt-info .panel { padding: 18px; margin-block: 14px; }
  .alt-info table { table-layout: fixed; }
}

@media (max-width: 380px) {
  .nav-wrap .bag-btn span:not(.count) { display: none; }
}

@media (max-width: 480px) {
  #products.tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  #products .tab {
    padding-inline: 3px;
    font-size: 10px;
    letter-spacing: 0;
  }
}

@media (max-height: 430px) {
  .age { padding: 16px 20px; }
  .age .brand { margin-bottom: 10px; }
}
.retail-builder {
  scroll-margin-top: 12px;
}

.retail-builder .retail-line-image {
  width: min(100%, var(--gallery-width));
  align-self: center;
  margin-block: 10px 14px;
  flex: 0 0 auto;
}

.retail-line-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  background: #100d16;
  box-shadow: 0 12px 24px #0005;
}

.package-views {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.package-views button {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #ffffff29;
  border-radius: 8px;
  background: #181922;
  color: var(--text);
  font-size: .82rem;
}

.package-views button[aria-pressed="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.bundle-description {
  margin: 0;
}

.bundle-description + .bundle-step {
  margin-top: 16px;
}

.bundle-step.mix-heading {
  margin-block: 14px 4px;
}

.mix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 1px;
  border-bottom: 1px solid #ffffff12;
  font-size: 13px;
}

.mix-row .stepper button {
  height: 28px;
  touch-action: manipulation;
}

.mix-row .stepper button:hover:not(:disabled) {
  background: #ffffff0c;
  transform: none;
}

.mix-row .stepper button:focus-visible {
  outline-offset: -3px;
}

.mix-controls + .bundle-tools {
  margin-top: 2px;
}

.mix-controls + .bundle-tools button {
  min-height: 26px;
  padding-block: 4px;
}

.half-case-fields {
  gap: 0 14px;
  margin-top: 4px;
}

.half-case-fields label {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.half-case-fields input {
  height: 26px;
  min-height: 0;
  padding-block: 2px;
  font-size: 16px;
}

.half-case-fields input:focus-visible {
  outline-offset: -1px;
}

.sachet-display-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-block: 16px;
}

.sachet-display-grid a {
  overflow: hidden;
  border: 1px solid #3b324c;
  border-radius: 10px;
  text-decoration: none;
}

.sachet-display-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.sachet-display-grid span {
  display: block;
  padding: 8px 10px;
  font-size: .85rem;
}

.nano-flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nano-flavor-grid a {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

.nano-flavor-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.case-showcase {
  margin-block: 24px;
  padding: clamp(14px, 3vw, 26px);
  border: 1px solid #413250;
  border-radius: 14px;
  background: #171121;
}

.case-showcase h2 { margin: 0 0 8px; }
.case-showcase p { margin-block: 8px 14px; }

.case-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-photos figure { min-width: 0; margin: 0; }
.case-photos a { display: block; }
.case-photos img { width: 100%; height: auto; display: block; border-radius: 8px; }
.case-photos figcaption { margin: 5px 0; font-size: .9rem; font-weight: 750; }

.case-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }
.case-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; }

.retail-line-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 15px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.retail-terms a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tablet-ingredients {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 56px);
  margin-block: 24px;
  padding: clamp(20px, 4vw, 48px);
  border-radius: 12px;
  background: #dbe3d3;
  color: #1c251c;
}

.tablet-ingredients .eyebrow {
  color: #405537;
}

.tablet-ingredients h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

.tablet-ingredients p,
.tablet-ingredients em,
.tablet-ingredients small {
  color: #4a5844;
}

.tablet-label-note,
.ingredient-sources {
  font-size: 0.875rem;
}

.ingredient-sources {
  border-top: 1px solid #a7b39d;
  margin-top: 16px;
}

.ingredient-sources summary {
  cursor: pointer;
  font-weight: 700;
  padding-block: 8px;
}

.ingredient-sources ul {
  padding-inline-start: 1.2em;
}

.tablet-ingredients :is(summary, a):focus-visible {
  outline: 2px solid #405537;
  outline-offset: 3px;
}

.tablet-ingredient {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding-block: 18px;
  border-top: 1px solid #a7b39d;
}

.tablet-ingredient h3 {
  margin: 0;
  font-size: clamp(1rem, 3.3vw, 1.35rem);
  line-height: 1.3;
}

.tablet-ingredient p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.tablet-ingredient small,
.tablet-ingredient em {
  display: block;
  font-size: 0.8rem;
}

.tablet-amount {
  text-align: end;
}

.tablet-amount strong {
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  white-space: nowrap;
}

.tablet-ingredient-total {
  align-items: center;
  border-bottom: 1px solid #a7b39d;
}

.wholesale-order .section-heading h1 {
  font-size: clamp(2rem, 5.3vw, 4.5rem);
  letter-spacing: -0.04em;
}

@media (max-width: 760px) {
  .tablet-ingredients { grid-template-columns: minmax(0, 1fr); }
  .sachet-display-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retail-builder .retail-line-image { width: min(100%, var(--gallery-mobile-width)); }
  .nano-flavor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.shot-pack-preview {
  align-items: center;
}

.shot-pack-preview fieldset {
  border: 0;
  margin: 1rem 0;
  padding: 0;
}

.shot-pack-preview legend {
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.shot-pack-preview button {
  margin: 0 0.35rem 0.35rem 0;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid #595865;
  border-radius: 7px;
  background: #191921;
  color: #f3f3f5;
  font: inherit;
  cursor: pointer;
}

.shot-pack-preview button[aria-pressed="true"] {
  border-color: #d8ff70;
  background: #d8ff70;
  color: #191921;
}

.shot-pack-preview figure {
  margin: 0;
  text-align: center;
}

.shot-pack-preview img {
  display: block;
  width: 100%;
  height: clamp(225px, 42vw, 430px);
  object-fit: contain;
  border-radius: 12px;
}

.shot-pack-preview figcaption {
  margin-top: 0.5rem;
  font-weight: 650;
}

.shot-lineup img {
  display: block;
  width: min(100%, 520px);
  height: auto;
}

.shot-mix-preview { display: none; }

@media (max-width: 760px) {
  #mix-nano { overflow: clip; }
  .shot-mix-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 75px;
    z-index: 2;
    margin: 0 0 12px;
    padding: 6px 12px;
    border: 1px solid #454552;
    border-radius: 10px;
    background: #15151c;
    color: #f3f3f5;
  }
  .shot-mix-preview img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  .shot-mix-preview figcaption { font-weight: 600; }
}
