@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn-VF.woff2") format("woff2-variations"), url("assets/fonts/Vazirmatn-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aref Ruqaa";
  src: url("assets/fonts/ArefRuqaa-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d1714;
  --bg-2: #111f1b;
  --surface: #15241f;
  --surface-2: #1b2d27;
  --surface-3: #223731;
  --ink: #f5f1e8;
  --ink-2: #d9d4c8;
  --muted: #94a69f;
  --line: rgba(216, 174, 104, 0.22);
  --line-2: rgba(255, 255, 255, 0.08);
  --gold: #d8ae68;
  --gold-2: #f1d49c;
  --gold-3: #a8803f;
  --orange: #f07a2c;
  --orange-2: #ff9447;
  --orange-3: #d5631a;
  --danger: #ff6b55;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-plate: 0 34px 60px rgba(0, 0, 0, 0.6), 0 10px 22px rgba(0, 0, 0, 0.45);
  --tint: rgba(255, 255, 255, 0.03);
  --glass: rgba(13, 23, 20, 0.6);
  --badge-bg: #ffffff;
  --backdrop: #030806;
  --placeholder: #6f817a;
  --disabled-bg: #3a4a44;
  --disabled-ink: #9aa8a2;
  --page-bg:
    radial-gradient(120% 60% at 50% 0%, rgba(216, 174, 104, 0.09) 0%, rgba(216, 174, 104, 0) 60%),
    radial-gradient(90% 50% at 50% 100%, rgba(240, 122, 44, 0.06) 0%, rgba(240, 122, 44, 0) 70%),
    linear-gradient(180deg, #0f1c18 0%, #0b1411 100%);
  --loader-bg: radial-gradient(70% 50% at 50% 45%, #182a24 0%, #0b1411 100%);
  --actions-fade: linear-gradient(180deg, rgba(11, 20, 17, 0) 0%, rgba(11, 20, 17, 0.92) 30%, #0b1411 100%);
  --card-bg: linear-gradient(180deg, rgba(27, 45, 39, 0.75), rgba(17, 31, 27, 0.75));
  color-scheme: dark;
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --thumb: 66px;
  --bs-body-font-family: var(--font);
  --bs-body-font-size: 1rem;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-radius: var(--radius-sm);
  --bs-border-color: var(--line);
}

:root[data-theme="light"] {
  --bg: #f6f1e7;
  --bg-2: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f2ebdf;
  --surface-3: #e8dfcf;
  --ink: #1d2622;
  --ink-2: #3b4641;
  --muted: #69776f;
  --line: rgba(168, 128, 63, 0.32);
  --line-2: rgba(29, 38, 34, 0.1);
  --gold: #a57a33;
  --gold-2: #c99b52;
  --gold-3: #76531d;
  --orange-2: #e2661a;
  --danger: #cf3e2a;
  --shadow: 0 16px 34px rgba(70, 52, 22, 0.12);
  --shadow-plate: 0 26px 46px rgba(70, 52, 22, 0.22), 0 8px 18px rgba(70, 52, 22, 0.14);
  --tint: rgba(29, 38, 34, 0.035);
  --glass: rgba(255, 255, 255, 0.78);
  --badge-bg: #1d2622;
  --backdrop: #1d2622;
  --placeholder: #9aa39e;
  --disabled-bg: #ddd4c4;
  --disabled-ink: #8a8f88;
  --page-bg:
    radial-gradient(120% 60% at 50% 0%, rgba(216, 174, 104, 0.16) 0%, rgba(216, 174, 104, 0) 60%),
    radial-gradient(90% 50% at 50% 100%, rgba(240, 122, 44, 0.08) 0%, rgba(240, 122, 44, 0) 70%),
    linear-gradient(180deg, #fbf8f2 0%, #f3ede2 100%);
  --loader-bg: radial-gradient(70% 50% at 50% 45%, #ffffff 0%, #efe7d8 100%);
  --actions-fade: linear-gradient(180deg, rgba(243, 237, 226, 0) 0%, rgba(243, 237, 226, 0.94) 30%, #f3ede2 100%);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 240, 0.92));
  color-scheme: light;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image: var(--page-bg);
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-loading { overflow: hidden; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
svg { display: block; }
img { max-width: 100%; }
[lang="en"] { letter-spacing: 0.02em; }
button { color: inherit; font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.noscript { margin: 0; padding: 24px; text-align: center; font-size: 1.125rem; color: var(--ink); }

.brand-name { font-family: "Aref Ruqaa", var(--font); font-weight: 700; }

.lockup {
  --lw: 150px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: calc(var(--lw) * 1.8);
  height: calc(var(--lw) * 1.55);
  margin: 0;
  line-height: 1;
}
.lockup__bird {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--lw);
  max-width: none;
  height: auto;
}
.lockup__name {
  position: absolute;
  top: calc(var(--lw) * 0.02);
  right: calc(var(--lw) * 0.76);
  font-size: calc(var(--lw) * 0.42);
  line-height: 1.5;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 55%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lockup--loader { --lw: 150px; opacity: 0; transform: translateY(10px) scale(0.94); animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards; }
.lockup--hero { --lw: min(17vw, 70px); }
.lockup--bar { --lw: 58px; width: calc(var(--lw) * 1.96); }
.lockup--bar .lockup__name { font-size: calc(var(--lw) * 0.5); top: 0; }
.lockup--receipt { --lw: 72px; }
.sheet__head .brand-name { font-size: 1.75rem; line-height: 1.6; color: var(--gold); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--loader-bg);
  display: grid;
  place-items: center;
}
.loader__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }

.loader__tagline { font-size: 0.875rem; letter-spacing: 0.3em; color: var(--muted); opacity: 0; animation: fadeUp 0.7s ease 0.45s forwards; }
.loader__bar { margin-top: 26px; width: 130px; height: 2px; border-radius: 2px; background: rgba(216, 174, 104, 0.15); overflow: hidden; opacity: 0; animation: fadeIn 0.4s ease 0.6s forwards; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--orange)); animation: barFill 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards; }
.loader.is-done { animation: loaderOut 0.5s ease forwards; pointer-events: none; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barFill { to { width: 100%; } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.is-ready .page { opacity: 1; }
.view { flex: 1 0 auto; }
.view.is-entering { animation: viewIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.round-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.round-btn svg { width: 21px; height: 21px; }
.round-btn:active { transform: scale(0.93); }
.round-btn--line { background: var(--tint); border: 1px solid var(--line); color: var(--gold); }
.round-btn--line:hover { border-color: var(--gold); background: rgba(216, 174, 104, 0.08); }
.round-btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(240, 122, 44, 0.35); }
.round-btn--orange:hover { background: var(--orange-2); }
.round-btn--sm { width: 40px; height: 40px; }
.round-btn--sm svg { width: 18px; height: 18px; }
.theme-btn__moon, :root[data-theme="light"] .theme-btn__sun { display: none; }
:root[data-theme="light"] .theme-btn__moon { display: block; }
.round-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--badge-bg);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.round-btn__dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px var(--bg); }
.is-bump { animation: bump 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bump { 40% { transform: scale(1.3); } }

.btn-orange, .btn-line {
  --bs-btn-padding-y: 13px;
  --bs-btn-padding-x: 20px;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(216, 174, 104, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 54px;
}
.btn-orange svg, .btn-line svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-orange {
  --bs-btn-bg: var(--orange);
  --bs-btn-color: #fff;
  --bs-btn-border-color: var(--orange);
  --bs-btn-hover-bg: var(--orange-2);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--orange-2);
  --bs-btn-active-bg: var(--orange-3);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: var(--orange-3);
  --bs-btn-disabled-bg: var(--disabled-bg);
  --bs-btn-disabled-color: var(--disabled-ink);
  --bs-btn-disabled-border-color: var(--disabled-bg);
  --bs-btn-disabled-opacity: 1;
  box-shadow: 0 14px 30px rgba(240, 122, 44, 0.28);
}
.btn-orange:disabled { box-shadow: none; }
.btn-line {
  --bs-btn-bg: transparent;
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: rgba(216, 174, 104, 0.08);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-active-bg: rgba(216, 174, 104, 0.14);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-border-color: var(--gold);
  position: relative;
}
.btn-line svg { color: var(--gold); }
.btn__amount { font-size: 0.875rem; font-weight: 600; opacity: 0.9; padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, 0.35); }
.btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.btn__arrow { transform: scaleX(-1); }

.plate {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 3.2%;
  background: radial-gradient(circle at 50% 35%, #f6f2ea 0%, #ddd6c9 60%, #b9b1a2 100%);
  box-shadow: var(--shadow-plate);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 3.2%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 8px 18px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.plate img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.welcome__wrap {
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  gap: 18px;
}
.welcome__branch { font-size: 0.875rem; color: var(--muted); min-width: 0; }
.welcome__branch svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }
.welcome__branch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand { margin-top: 0; }

.brand__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.brand__tagline::before, .brand__tagline::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.brand__tagline::after { transform: scaleX(-1); }

.welcome__hero { position: relative; width: min(62vw, 300px); margin: 10px 0 4px; }
.welcome__hero::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 174, 104, 0.18) 0%, rgba(216, 174, 104, 0) 65%);
}
.welcome__hero::after {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.plate--hero { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(4deg); } }

.welcome__headline { margin: 6px 0 4px; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.welcome__headline strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--ink); }

.order-type { border: 0; margin: 0; padding: 0; min-width: 0; }
.type-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--tint);
  color: var(--ink-2);
  font-size: 0.938rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.type-btn svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
.type-btn:hover { border-color: var(--gold); }
.btn-check:checked + .type-btn { border-color: var(--orange); background: rgba(240, 122, 44, 0.12); color: var(--ink); }
.btn-check:checked + .type-btn svg { color: var(--orange); }
.btn-check:focus-visible + .type-btn { outline: 2px solid var(--gold); outline-offset: 3px; }
.order-type--sm .type-btn { min-height: 46px; font-size: 0.875rem; }

.topbar { padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 6px; }


.menu__main { padding-bottom: 24px; }

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.plate--main { width: min(70vw, 330px); z-index: 2; }
.plate--main.is-off img { filter: grayscale(0.85) brightness(0.7); }
.plate--main.from-next { animation: inFromNext 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.plate--main.from-prev { animation: inFromPrev 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.plate--main.from-cat { animation: inFromCat 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes inFromNext { from { opacity: 0.2; transform: translateX(-62%) rotate(-110deg) scale(0.62); } }
@keyframes inFromPrev { from { opacity: 0.2; transform: translateX(62%) rotate(110deg) scale(0.62); } }
@keyframes inFromCat { from { opacity: 0; transform: translateY(18px) scale(0.86) rotate(-30deg); } }

.stage__side {
  position: absolute;
  top: 50%;
  width: min(48vw, 230px);
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: none;
  overflow: hidden;
  opacity: 0.55;
  filter: blur(1.5px) brightness(0.55);
  transform: translateY(-50%);
  transition: opacity 0.25s ease, filter 0.25s ease;
  box-shadow: var(--shadow);
  z-index: 1;
  cursor: pointer;
}
.stage__side img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.stage__side--prev { right: calc(-1 * min(34vw, 150px)); }
.stage__side--next { left: calc(-1 * min(34vw, 150px)); }
.stage__side:hover { opacity: 0.8; filter: blur(0) brightness(0.75); }
.stage__side.is-empty { visibility: hidden; }

.dial { position: relative; margin-top: 8px; }
.dial__arc { width: 100%; height: 46px; }
.dial__pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--gold);
  filter: drop-shadow(0 2px 6px rgba(216, 174, 104, 0.5));
}
.strip {
  display: flex;
  gap: 6px;
  margin-top: -26px;
  padding: 8px calc(50% - var(--thumb) / 2) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.strip::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 auto;
  width: var(--thumb);
  height: var(--thumb);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  scroll-snap-align: center;
  cursor: pointer;
}
.thumb__img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--line-2), var(--shadow);
  opacity: 0.75;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.thumb.is-off .thumb__img { filter: grayscale(1); }
.thumb.is-active .thumb__img {
  width: 58px;
  height: 58px;
  opacity: 1;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--gold), var(--shadow);
}
@supports (animation-timeline: view()) {
  .thumb { animation: thumbArc linear both; animation-timeline: view(inline); }
  @keyframes thumbArc {
    0% { transform: translateY(22px) scale(0.78); }
    50% { transform: translateY(0) scale(1); }
    100% { transform: translateY(22px) scale(0.78); }
  }
}

.cats { margin-top: 2px; }
.cats__track {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats__track::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}
.cat svg { width: 20px; height: 20px; flex: 0 0 auto; }
.cat:hover { color: var(--gold); }
.cat.is-active { background: var(--orange); color: #fff; padding: 0 14px 0 16px; }
.cat:not(.is-active) .cat__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.detail { padding: 18px 2px 0; }
.detail.is-fresh .detail__head, .detail.is-fresh .detail__meta { animation: fadeSlide 0.45s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.812rem;
  font-weight: 700;
  color: var(--gold);
}
.pill svg { width: 15px; height: 15px; }
.pill--tag { color: var(--ink-2); border-color: var(--line-2); background: var(--tint); }
.pill--deal { background: var(--orange); border-color: var(--orange); color: #fff; }
.pill--off { border-color: rgba(255, 107, 85, 0.4); color: var(--danger); }

.detail__head { margin-top: 12px; }
.detail__names { min-width: 0; }
.detail__name { margin: 0; font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 800; line-height: 1.35; color: var(--ink); }
.detail__en { margin: 0; font-size: 0.812rem; color: var(--gold); text-align: right; opacity: 0.85; }
.detail__desc { margin: 6px 0 0; font-size: 0.938rem; line-height: 1.85; color: var(--muted); }

.price { margin: 0; display: flex; flex-direction: column; align-items: flex-end; color: var(--gold); flex: 0 0 auto; text-align: left; }
.price del { font-size: 0.875rem; color: var(--muted); text-decoration-color: var(--danger); line-height: 1.2; }
.price__main { display: flex; align-items: flex-start; gap: 4px; }
.price strong {
  font-size: clamp(2.2rem, 10vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price small { font-size: 0.688rem; font-weight: 600; line-height: 1.35; margin-top: 4px; color: var(--gold); }

.detail__opts {
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line), var(--gold), var(--line), transparent) 1;
}
.opt { min-width: 0; }
.opt--size { flex: 1 1 auto; }
.opt--qty { flex: 0 0 auto; }
.opt__label { display: block; margin-bottom: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.opt--qty .opt__label { text-align: center; }

.seg {
  display: inline-flex;
  max-width: 100%;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.812rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg__btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.seg__btn--s2 svg { width: 19px; height: 19px; }
.seg__btn--s3 svg { width: 22px; height: 22px; }
.seg__btn + .seg__btn, .btn-check + .seg__btn { position: relative; }
.btn-check:checked + .seg__btn { background: var(--orange); color: #fff; }
.btn-check:focus-visible + .seg__btn { outline: 2px solid var(--gold); outline-offset: 1px; }
.seg__btn:hover { color: var(--ink); }
.seg--single .seg__btn { cursor: default; }
.seg--compact .btn-check:not(:checked) + .seg__btn { padding: 0 10px; }
.seg--compact .btn-check:not(:checked) + .seg__btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}
.qty button svg { width: 15px; height: 15px; }
.qty button:hover { background: var(--orange-2); }
.qty button:active { transform: scale(0.9); }
.qty button:disabled { background: var(--surface-3); color: var(--muted); }
.qty output { min-width: 34px; text-align: center; font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.qty--sm button { width: 28px; height: 28px; }
.qty--sm button svg { width: 13px; height: 13px; }
.qty--sm output, .qty--sm span { min-width: 26px; text-align: center; font-size: 1rem; font-weight: 800; }
.qty .is-trash { background: rgba(255, 107, 85, 0.16); color: var(--danger); }
.qty .is-trash:hover { background: rgba(255, 107, 85, 0.28); }

.detail__actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin-top: 18px;
  padding: 10px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--actions-fade);
}
.detail__actions .btn-line { flex: 0 0 auto; --bs-btn-padding-x: 16px; }
.detail__actions .btn-orange { min-width: 0; --bs-btn-padding-x: 16px; }
@media (max-width: 419.98px) {
  .detail__actions .btn__amount { display: none; }
}

.site-footer { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 0.812rem; color: var(--muted); letter-spacing: 0.04em; }
.site-footer p::before { content: ""; display: block; width: 60px; height: 1px; margin: 0 auto 12px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.offcanvas.sheet {
  --bs-offcanvas-height: auto;
  --bs-offcanvas-bg: var(--bg-2);
  --bs-offcanvas-color: var(--ink);
  --bs-offcanvas-border-width: 0;
  --bs-offcanvas-transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 88vh;
  max-height: 88dvh;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 30px 30px 0 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
}
.offcanvas.sheet--tall { max-height: 94vh; max-height: 94dvh; }
.offcanvas.sheet::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 44px;
  height: 4px;
  margin-left: -22px;
  border-radius: 2px;
  background: rgba(216, 174, 104, 0.35);
}
.offcanvas-backdrop { --bs-backdrop-bg: var(--backdrop); --bs-backdrop-opacity: 0.6; }
.sheet__head { padding: 24px 20px 10px; gap: 12px; }
.sheet__titles { min-width: 0; }
.sheet__head .offcanvas-title { font-size: 1.25rem; font-weight: 800; line-height: 1.5; margin: 0; }
.sheet__sub { margin: 0; font-size: 0.875rem; color: var(--muted); }
.offcanvas.sheet .offcanvas-body { padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); }

.addon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.addon .form-check-input { margin: 0; width: 1.3em; height: 1.3em; flex: 0 0 auto; background-color: transparent; border-color: var(--gold); cursor: pointer; }
.addon .form-check-input:checked { background-color: var(--orange); border-color: var(--orange); }
.addon .form-check-input:focus { box-shadow: 0 0 0 3px rgba(216, 174, 104, 0.3); }
.addon:has(input:checked) { border-color: var(--orange); background: rgba(240, 122, 44, 0.08); }
.addon__name { flex: 1 1 auto; font-weight: 600; }
.addon__price { font-size: 0.875rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.addons__empty { margin: 0; padding: 24px 12px; text-align: center; color: var(--muted); }

.cart__group { margin-top: 6px; }
.cart__group + .cart__group { margin-top: 16px; }
.cart__group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 0.812rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.cart__group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.line + .line { border-top: 1px solid var(--line-2); }
.line__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(216, 174, 104, 0.25); }
.line__info { min-width: 0; }
.line__name { font-weight: 700; line-height: 1.5; }
.line__meta { font-size: 0.812rem; color: var(--muted); line-height: 1.6; }
.line__price { font-size: 0.875rem; font-weight: 700; color: var(--gold); }
.cart__empty { text-align: center; padding: 30px 12px 10px; color: var(--muted); }
.cart__empty svg { width: 54px; height: 54px; margin: 0 auto 12px; color: var(--gold); opacity: 0.6; }
.cart__empty p { margin: 0; }
.cart__empty .btn { margin-top: 18px; }
.cart__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.field.form-control {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  color: var(--ink);
  font-size: 0.938rem;
  padding: 10px 14px;
}
.field.form-control::placeholder { color: var(--placeholder); }
.field.form-control:focus { background: var(--surface-2); border-color: var(--gold); box-shadow: none; color: var(--ink); }
.cart__foot .opt__label { margin-bottom: 6px; }
.cart__row { font-size: 1rem; }
.cart__row strong { font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.cart__row small { font-size: 0.75rem; font-weight: 600; }
.cart__row--save { margin-top: -8px; font-size: 0.875rem; color: var(--muted); }
.cart__row--save strong { font-size: 0.938rem; color: var(--orange-2); }
.cart__actions .btn-line { width: 54px; padding: 0; flex: 0 0 auto; }

.receipt {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.receipt__brand { margin-bottom: 4px; }
.receipt__code { margin: 14px 0 10px; padding: 12px; border-radius: 16px; border: 1px dashed var(--line); }
.receipt__code span { font-size: 0.812rem; color: var(--muted); }
.receipt__code strong { font-size: 2.2rem; font-weight: 900; letter-spacing: 0.12em; color: var(--orange-2); line-height: 1.3; }
.receipt__meta { gap: 6px 22px; margin: 0 0 12px; font-size: 0.875rem; }
.receipt__meta div { display: flex; gap: 6px; }
.receipt__meta dt { font-weight: 500; color: var(--muted); }
.receipt__meta dd { margin: 0; font-weight: 700; }
.receipt__items { margin: 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: grid; gap: 8px; }
.receipt__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; font-size: 0.938rem; }
.receipt__items .qty-x { font-weight: 800; color: var(--gold); }
.receipt__items .name { font-weight: 600; }
.receipt__items .sub { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.receipt__items .amt { font-weight: 700; white-space: nowrap; }
.receipt__note { margin: 10px 0 0; font-size: 0.875rem; color: var(--ink-2); padding: 8px 12px; border-radius: 12px; background: var(--tint); }
.receipt__total { margin-top: 12px; font-weight: 700; }
.receipt__total strong { font-size: 1.375rem; font-weight: 900; color: var(--gold); }
.receipt__total small { font-size: 0.75rem; }

.info__title { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.info__title:first-child { margin-top: 0; }
.info__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); }
.notice__icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(240, 122, 44, 0.14); color: var(--orange-2); flex: 0 0 auto; }
.notice__icon svg { width: 19px; height: 19px; }
.notice__text { margin: 0; font-size: 0.938rem; line-height: 1.8; color: var(--ink-2); padding-top: 3px; }
.info__list { display: grid; gap: 8px; margin: 0; }
.info__list a, .info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.info__list a:hover { border-color: var(--gold); }
.info__ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 174, 104, 0.1); color: var(--gold); flex: 0 0 auto; }
.info__ico svg { width: 19px; height: 19px; }
.info__chev { width: 18px; height: 18px; margin-inline-start: auto; color: var(--muted); }
.info__empty { color: var(--muted); font-size: 0.938rem; }

.toast-msg {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.938rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast-msg svg { width: 18px; height: 18px; color: var(--orange-2); flex: 0 0 auto; }
.toast-msg.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.preview-bar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px 16px;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.preview-bar a { color: #fff; font-weight: 800; }

@media (max-width: 359.98px) {
  :root { --thumb: 58px; }
  .thumb__img { width: 42px; height: 42px; }
  .thumb.is-active .thumb__img { width: 52px; height: 52px; }
  .detail__opts { flex-wrap: wrap; }
  .btn__amount { display: none; }
  .seg__btn { padding: 0 9px; }
}

@media (min-width: 576px) {
  .plate--main { width: min(60vw, 360px); }
  .stage__side { width: 220px; }
  .stage__side--prev { right: -110px; }
  .stage__side--next { left: -110px; }
}

@media (min-width: 992px) {
  :root { --thumb: 76px; }
  .welcome__wrap { justify-content: center; }
  .welcome__hero { width: 360px; }
  .menu__main { padding-top: 12px; padding-bottom: 40px; }
  .menu__main > .row { min-height: calc(100vh - 160px); }
  .stage { margin-top: 0; }
  .plate--main { width: 400px; }
  .stage__side { width: 210px; }
  .stage__side--prev { right: -40px; }
  .stage__side--next { left: -40px; }
  .thumb__img { width: 56px; height: 56px; }
  .thumb.is-active .thumb__img { width: 68px; height: 68px; }
  .detail {
    padding: 30px 32px 0;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .detail__actions { position: static; background: none; padding: 0 0 30px; margin-top: 24px; }
  .toast-msg { bottom: 32px; }
}

@media (min-width: 1200px) {
  .plate--main { width: 440px; }
  .stage__side { width: 230px; }
}

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