:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f8f8f5;
  --muted: #aaa9a3;
  --line: rgba(255, 255, 255, 0.11);
  --brand: #ffc400;
  --brand-strong: #ffb800;
  --brand-soft: rgba(255, 196, 0, 0.12);
  --danger: #ff6b6b;
  --success: #35d07f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 196, 0, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(255, 196, 0, 0.07), transparent 25rem),
    var(--bg);
  color: var(--text);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100%, 1500px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: var(--brand);
  color: #090909;
  font-weight: 1000;
  font-size: 1.45rem;
  box-shadow: 0 10px 26px rgba(255, 196, 0, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1.04rem;
  letter-spacing: 0.13em;
}

.brand-copy small {
  max-width: 180px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-button,
.cart-button,
.icon-button,
.category-tab,
.quantity-button,
.remove-button {
  border: 0;
  cursor: pointer;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}

.language-button {
  min-width: 38px;
  height: 37px;
  padding: 0 9px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-button:hover {
  color: var(--text);
}

.language-button.is-active {
  background: var(--brand);
  color: #090909;
  box-shadow: 0 5px 16px rgba(255, 196, 0, 0.22);
}

.language-button:active {
  transform: scale(0.96);
}

.language-button:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 196, 0, 0.35);
  outline-offset: 2px;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--brand);
  color: #090909;
  font-weight: 900;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 999px;
  background: #090909;
  color: var(--brand);
  font-size: 0.78rem;
}

main {
  padding: 0 clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: stretch;
  gap: 24px;
  min-height: 530px;
  padding: clamp(48px, 7vw, 100px) 0 clamp(42px, 6vw, 80px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(255, 196, 0, 0.12), transparent 45%),
    linear-gradient(160deg, #171717, #0b0b0b 70%);
  box-shadow: var(--shadow);
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.hero-copy::before {
  right: -90px;
  top: -90px;
  width: 310px;
  height: 310px;
  border: 60px solid rgba(255, 196, 0, 0.08);
}

.hero-copy::after {
  right: 80px;
  bottom: -145px;
  width: 260px;
  height: 260px;
  background: rgba(255, 196, 0, 0.05);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.contact-strip h2,
.drawer-header h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-copy p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 24px 0 0;
  color: #c7c6c0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--brand);
  color: #080808;
}

.button-primary:hover {
  background: #ffd13c;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 196, 0, 0.45);
  background: var(--brand-soft);
}

.button-full {
  width: 100%;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(17, 17, 17, 0.78);
}

.hero-panel-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #131313;
}

.hero-panel-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--brand-soft);
  font-size: 1.3rem;
}

.hero-panel-row div {
  min-width: 0;
}

.hero-panel-row small,
.hero-panel-row strong {
  display: block;
}

.hero-panel-row small {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-panel-row strong {
  font-size: 1rem;
  line-height: 1.35;
}

.menu-section {
  padding: 40px 0 clamp(70px, 8vw, 110px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.contact-strip h2 {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 330px);
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  color: var(--muted);
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-wrap input::placeholder,
textarea::placeholder,
input::placeholder {
  color: #73736f;
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin: 30px 0 26px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #c8c8c2;
  font-weight: 800;
  white-space: nowrap;
}

.category-tab:hover,
.category-tab.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #080808;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 196, 0, 0.09), transparent 9rem),
    var(--panel);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b6b5af;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--brand);
  color: #070707;
  font-size: 0.95rem;
  font-weight: 1000;
}

.menu-card h3 {
  margin: 22px 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.product-description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.card-spacer {
  flex: 1;
  min-height: 24px;
}

.sauce-options-wrap {
  min-width: 0;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.sauce-options-wrap legend {
  margin-bottom: 8px;
  color: #a9a8a2;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sauce-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sauce-option {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.sauce-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sauce-option span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0c0c0c;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sauce-option:hover span {
  border-color: rgba(255, 196, 0, 0.55);
  transform: translateY(-1px);
}

.sauce-option input:checked + span {
  border-color: var(--brand);
  background: var(--brand);
  color: #070707;
}

.sauce-option input:focus-visible + span {
  outline: 3px solid rgba(255, 196, 0, 0.25);
  outline-offset: 2px;
}

.add-button {
  width: 100%;
}

.empty-state {
  margin: 30px 0 0;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 196, 0, 0.25);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(255, 196, 0, 0.14), transparent 45%),
    var(--panel);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px) 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(5px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(100%, 500px);
  height: 100dvh;
  padding: 22px;
  border-left: 1px solid var(--line);
  background: #0d0d0d;
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.4);
  transform: translateX(105%);
  transition: transform 220ms ease;
  overflow-y: auto;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  position: sticky;
  top: -22px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: -22px -22px 0;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(16px);
}

.drawer-header h2 {
  margin-top: 8px;
  font-size: 1.9rem;
}

.icon-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #1d1d1d;
  font-size: 1.65rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.cart-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.cart-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-heading h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.cart-item-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 15px;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.quantity-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #222;
  font-size: 1.1rem;
}

.quantity-value {
  min-width: 20px;
  text-align: center;
  font-weight: 900;
}

.remove-button {
  padding: 6px 0;
  background: transparent;
  color: #ef8585;
  font-size: 0.8rem;
  font-weight: 850;
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 30px;
  text-align: center;
}

.cart-empty > span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--brand-soft);
  font-size: 2rem;
}

.cart-empty h3 {
  margin: 18px 0 0;
  font-size: 1.35rem;
}

.cart-empty p {
  max-width: 290px;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 1.08rem;
}

.cart-total-row strong {
  color: var(--brand);
  font-size: 1.5rem;
}

.form-group {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.form-group label,
.form-group legend {
  color: #d9d8d2;
  font-size: 0.84rem;
  font-weight: 850;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #151515;
  color: var(--text);
  outline: 0;
}

.form-group input {
  min-height: 48px;
  padding: 0 13px;
}

.form-group textarea {
  padding: 12px 13px;
  resize: vertical;
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.78rem;
}

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

.choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  display: block;
  min-height: 102px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  margin-bottom: 8px;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.choice-card input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.cash-note,
.whatsapp-help {
  color: var(--muted);
  line-height: 1.55;
}

.cash-note {
  margin: 0 0 15px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 13px;
  background: var(--brand-soft);
  font-size: 0.82rem;
}

.whatsapp-help {
  margin: 10px 0 0;
  font-size: 0.74rem;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  border: 1px solid rgba(255, 196, 0, 0.3);
  border-radius: 999px;
  background: #191919;
  color: var(--text);
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel-row {
    min-height: 140px;
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 720px) {
  .topbar {
    min-height: 70px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .brand-copy small,
  .cart-button > span:nth-child(2) {
    display: none;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
    border-radius: 12px;
  }

  .cart-button {
    padding: 0 12px;
  }

  .hero {
    gap: 16px;
    padding-top: 26px;
  }

  .hero-copy {
    min-height: 420px;
    padding: 31px 24px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.3rem);
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .hero-panel-row {
    min-height: unset;
    flex-direction: row;
    align-items: center;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .search-wrap {
    width: 100%;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: 260px;
  }

  .contact-strip,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    text-align: center;
  }

  .cart-drawer {
    padding: 18px;
  }

  .drawer-header {
    top: -18px;
    margin: -18px -18px 0;
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 10px;
    padding-inline: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .topbar-actions {
    gap: 7px;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-button {
    min-width: 34px;
    height: 36px;
    padding: 0 6px;
    font-size: 0.72rem;
  }
}

@media (max-width: 430px) {
  .topbar-actions {
    gap: 7px;
  }

  .language-picker select {
    width: 58px;
    padding-left: 9px;
    padding-right: 24px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .hero-copy {
    min-height: 390px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card span {
    min-height: unset;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dedicated product customisation page */
.menu-card-selectable {
  min-height: 235px;
}

.menu-card-selectable .product-open-button {
  justify-content: space-between;
  margin-top: 8px;
}

body.product-page-open {
  overflow: hidden;
}

.product-page {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 196, 0, 0.10), transparent 28rem),
    #090909;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.product-page.is-open {
  opacity: 1;
  transform: translateX(0);
}

.product-page-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(14px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(18px);
}

.product-back-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #151515;
  color: var(--text);
  font-weight: 850;
}

.product-back-button:hover {
  border-color: rgba(255, 196, 0, 0.48);
}

.product-back-button > span:first-child {
  color: var(--brand);
  font-size: 1.25rem;
}

.product-page-brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  letter-spacing: 0.16em;
}

.brand-mark-small {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 1rem;
}

.product-cart-button {
  justify-self: end;
  min-width: 72px;
}

.product-page-shell {
  width: min(100%, 800px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px) clamp(14px, 4vw, 28px) 70px;
}

.product-detail-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 94% 2%, rgba(255, 196, 0, 0.12), transparent 17rem),
    linear-gradient(155deg, #181818, #0e0e0e 70%);
  box-shadow: var(--shadow);
}

.product-detail-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.product-page-price {
  padding: 9px 14px;
  font-size: 1.05rem;
}

.product-detail-eyebrow {
  margin-bottom: 13px;
}

.product-detail-card h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.product-detail-description {
  margin: 18px 0 0;
  color: #c7c6c0;
  font-size: 1rem;
  line-height: 1.65;
}

#productOptionsForm {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.product-option-section {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(5, 5, 5, 0.46);
}

.product-option-section legend {
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
}

.product-option-section legend small,
.product-option-title {
  display: block;
}

.product-option-title {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-option-section legend small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
}

.product-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #343434;
  border-radius: 13px;
  background: #111;
  cursor: pointer;
  user-select: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.product-checkbox-card:hover {
  border-color: rgba(255, 196, 0, 0.55);
  transform: translateY(-1px);
}

.product-checkbox-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.product-checkbox-box {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #555;
  border-radius: 7px;
  color: transparent;
  font-size: 0.86rem;
  font-weight: 1000;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.product-checkbox-label {
  font-size: 0.9rem;
  font-weight: 850;
}

.product-checkbox-card:has(input:checked) {
  border-color: var(--brand);
  background: rgba(255, 196, 0, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.30);
}

.product-checkbox-card input:checked + .product-checkbox-box {
  border-color: var(--brand);
  background: var(--brand);
  color: #080808;
}

.product-checkbox-card input:focus-visible + .product-checkbox-box {
  outline: 3px solid rgba(255, 196, 0, 0.26);
  outline-offset: 3px;
}

.product-quantity-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #111;
}

.product-quantity-controls {
  display: grid;
  grid-template-columns: 43px 45px 43px;
  align-items: center;
  min-height: 43px;
  border: 1px solid rgba(255, 196, 0, 0.42);
  border-radius: 13px;
  overflow: hidden;
}

.product-quantity-controls button {
  height: 43px;
  background: transparent;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 950;
}

.product-quantity-controls button:hover {
  background: var(--brand-soft);
}

.product-quantity-controls strong {
  display: grid;
  place-items: center;
  height: 43px;
  border-inline: 1px solid rgba(255, 196, 0, 0.28);
}

.product-add-button {
  min-height: 58px;
  font-size: 1rem;
}

/* The cart must stay above the product page. */
.drawer-backdrop {
  z-index: 100;
}

.cart-drawer {
  z-index: 110;
}

.toast {
  z-index: 130;
}

@media (max-width: 720px) {
  .menu-card-selectable {
    min-height: 215px;
  }

  .product-page-header {
    min-height: 68px;
    grid-template-columns: 1fr auto auto;
    gap: 9px;
    padding: 9px 12px;
  }

  .product-page-brand strong {
    font-size: 0.86rem;
  }

  .brand-mark-small {
    width: 34px;
    height: 34px;
  }

  .product-back-button {
    min-height: 41px;
    padding: 0 11px;
  }

  .product-cart-button {
    min-width: 61px;
    min-height: 41px;
  }

  .product-page-shell {
    padding-top: 16px;
  }

  .product-detail-card {
    padding: 21px 17px 24px;
    border-radius: 22px;
  }

  .product-detail-topline {
    margin-bottom: 23px;
  }

  .product-option-section {
    padding: 16px;
  }
}

@media (max-width: 440px) {
  .product-back-button > span:last-child {
    display: none;
  }

  .product-back-button {
    width: 43px;
    padding: 0;
    justify-content: center;
  }

  .product-page-brand {
    justify-self: start;
  }

  .product-detail-card h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .product-checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-checkbox-card {
    min-width: 0;
    padding: 9px;
  }

  .product-checkbox-label {
    overflow-wrap: anywhere;
    font-size: 0.83rem;
  }
}
