/* ============================================================
   Ayush Catering — custom style layer
   Built on top of Bootstrap 5 utilities/grid.
   Tokens live in :root. Palette/font overrides are applied at
   runtime by js/theme.js (progressive enhancement).
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Palette — "Saffron & Maroon" (default) */
  --c-bg:        #FBF6EC;   /* warm cream paper            */
  --c-bg-alt:    #F4EAD8;   /* deeper cream band           */
  --c-surface:   #FFFDF8;   /* cards                       */
  --c-ink:       #2A2422;   /* charcoal text               */
  --c-ink-soft:  #6B5F57;   /* muted body                  */
  --c-primary:   #6E1B22;   /* deep maroon                 */
  --c-primary-d: #54141A;   /* maroon pressed              */
  --c-saffron:   #E08A1E;   /* saffron                     */
  --c-gold:      #BE8B3D;   /* brass gold (CTA)            */
  --c-gold-d:    #A2742C;   /* gold pressed                */
  --c-line:      #E7DAC4;   /* hairline on cream           */
  --c-veg:       #1F8A3B;
  --c-nonveg:    #B22222;

  /* Typography */
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Shape & depth */
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  26px;
  --shadow-sm:  0 2px 10px rgba(42, 36, 34, .06);
  --shadow:     0 14px 40px -18px rgba(42, 36, 34, .28);
  --shadow-lg:  0 30px 70px -30px rgba(42, 36, 34, .42);

  /* Layout rhythm */
  --section-y:  clamp(64px, 9vw, 128px);
  --nav-h:      78px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0 0 .4em;
  text-wrap: balance;
}

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-gold-d); }

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

::selection { background: var(--c-gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--c-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.container-x { width: min(1200px, 92vw); margin-inline: auto; }
.container-narrow { width: min(820px, 92vw); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-alt); }
.section--ink { background: var(--c-ink); color: var(--c-bg); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--c-bg); }

/* ---------- 3. Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold-d);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: .5rem;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--c-ink-soft);
  max-width: 56ch;
}
.text-center .section-lead { margin-inline: auto; }

.gold-rule {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-saffron));
  border: 0; margin: 1.4rem 0;
}
.text-center .gold-rule { margin-inline: auto; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: .72rem 1.6rem;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--c-gold);
  color: #2A1A06;
  box-shadow: 0 10px 24px -12px rgba(190, 139, 61, .9);
}
.btn-gold:hover { background: var(--c-gold-d); color: #fff; transform: translateY(-2px); }

.btn-maroon { background: var(--c-primary); color: #fff; }
.btn-maroon:hover { background: var(--c-primary-d); color: #fff; transform: translateY(-2px); }

.btn-outline-maroon { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline-maroon:hover { background: var(--c-primary); color: #fff; }

.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--c-ink); }

.btn-lg-x { padding: .95rem 2rem; font-size: 1.05rem; }
.btn-block-x { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--c-primary);
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- 5. Navbar ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-nav .container-x { display: flex; align-items: center; width: min(1280px, 94vw); }

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: .01em;
  display: flex; align-items: center; gap: .55rem;
  color: var(--c-primary);
  white-space: nowrap;
}
.brand .brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-gold);
  font-size: 1.15rem; flex: none;
}
.brand small {
  display: block; font-family: var(--font-body);
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--c-gold-d); font-weight: 600; line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--c-ink); position: relative; padding: .35rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--c-gold); transition: right .25s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--c-primary); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.nav-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem;
  color: var(--c-ink); border: 1.5px solid var(--c-line); background: var(--c-surface);
  position: relative; transition: all .2s ease;
}
.nav-icon:hover { border-color: var(--c-primary); color: var(--c-primary); }
.nav-icon .badge-count {
  position: absolute; top: -5px; right: -5px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--c-gold); color: #2A1A06; font-size: .68rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center; line-height: 1;
}

.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.5rem; color: var(--c-ink);
  width: 44px; height: 44px;
}

/* overlay (transparent over dark hero) */
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) { background: transparent; }
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) .brand,
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) .nav-links a { color: #FBF6EC; }
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) .brand .brand-mark { background: var(--c-gold); color: var(--c-primary); }
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) .nav-icon {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff;
}
.site-nav[data-variant="overlay"]:not(.is-scrolled):not(.is-solid) .nav-toggle { color: #fff; }

/* solid state */
.site-nav.is-solid, .site-nav.is-scrolled {
  background: rgba(251, 246, 236, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line), var(--shadow-sm);
  height: 68px;
}

/* page offset when nav is solid from top */
body.has-fixed-offset { padding-top: var(--nav-h); }

/* ---------- 6. Mobile nav (offcanvas) ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(42,36,34,.5); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer .panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--c-bg); padding: 1.4rem 1.6rem;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; gap: .25rem;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .panel a {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--c-ink);
  padding: .6rem 0; border-bottom: 1px solid var(--c-line);
}
.mobile-drawer .panel a:hover { color: var(--c-primary); }
.mobile-drawer .panel .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-drawer .panel .drawer-close { background: none; border: 0; font-size: 1.6rem; color: var(--c-ink); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(105deg, rgba(54,16,20,.92) 0%, rgba(54,16,20,.55) 45%, rgba(54,16,20,.15) 100%),
    linear-gradient(0deg, rgba(20,8,9,.7), rgba(20,8,9,0) 40%);
}
.hero__inner { position: relative; z-index: 1; padding-block: calc(var(--nav-h) + 3rem) 4rem; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 600; max-width: 16ch;
}
.hero .hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.9); }
.hero .eyebrow { color: var(--c-gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-meta {
  display: flex; gap: 2.4rem; flex-wrap: wrap; margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.22); padding-top: 1.6rem;
}
.hero-meta .num { font-family: var(--font-head); font-size: 2.2rem; color: var(--c-gold); line-height: 1; }
.hero-meta .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-cue i { animation: bob 1.8s ease-in-out infinite; font-size: 1.2rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- 8. Cards ---------- */
.card-x {
  background: var(--c-surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; height: 100%;
  border: 1px solid var(--c-line);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-x__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-x__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-x:hover .card-x__media img { transform: scale(1.06); }
.card-x__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-x__body h3 { font-size: 1.5rem; margin: 0; }
.card-x__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(42,36,34,.78); color: #fff; backdrop-filter: blur(4px);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px;
}
.muted { color: var(--c-ink-soft); }

/* image fallback (no broken-image icons) */
.img-fallback {
  background:
    radial-gradient(120% 120% at 30% 20%, #8a2b22 0%, #5c1418 55%, #3a0d10 100%) !important;
  position: relative;
}
.img-fallback::after {
  content: "\F4D3"; /* bi egg-fried */
  font-family: "bootstrap-icons"; font-size: 2.4rem; color: rgba(255,255,255,.5);
  position: absolute; inset: 0; display: grid; place-items: center;
}
img.is-broken { visibility: hidden; }

/* ---------- 9. Veg / non-veg marker ---------- */
.diet-dot {
  width: 16px; height: 16px; border: 1.6px solid currentColor;
  border-radius: 3px; display: inline-grid; place-items: center; flex: none;
}
.diet-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.diet-dot.veg { color: var(--c-veg); }
.diet-dot.nonveg { color: var(--c-nonveg); }
.diet-dot.vegan { color: #0c7c59; }

/* ---------- 10. Intro / about strip ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split-media { order: -1; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.media-frame--tall img { aspect-ratio: 3/4; }
.media-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: var(--c-surface); border-radius: var(--radius-sm);
  padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; gap: .9rem; align-items: center;
}
.media-badge .num { font-family: var(--font-head); font-size: 2rem; color: var(--c-primary); line-height: 1; }
.media-badge .lbl { font-size: .78rem; color: var(--c-ink-soft); line-height: 1.25; }

.value-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.value-list li { display: flex; gap: .9rem; align-items: flex-start; }
.value-list .vi {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(190,139,61,.14); color: var(--c-gold-d);
}
.value-list h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin: 0 0 .15rem; }
.value-list p { font-size: .96rem; color: var(--c-ink-soft); margin: 0; }

/* ---------- 11. Stats band ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--c-gold); line-height: 1; }
.stat .lbl { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-soft); margin-top: .4rem; }
.section--ink .stat .lbl { color: rgba(255,255,255,.7); }

/* ---------- 12. Event types ---------- */
.event-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow);
}
.event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.event-card .scrim { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,8,9,.85), rgba(20,8,9,.05) 70%); }
.event-card:hover img { transform: scale(1.07); }
.event-card__body { position: relative; z-index: 1; padding: 1.6rem; width: 100%; }
.event-card__body h3 { color: #fff; font-size: 1.7rem; margin: 0 0 .3rem; }
.event-card__body p { color: rgba(255,255,255,.85); font-size: .94rem; margin: 0; }
.event-card .pill {
  display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--c-gold); margin-bottom: .6rem;
}

/* ---------- 13. Testimonials ---------- */
.quote-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); height: 100%;
}
.quote-card .stars { color: var(--c-gold); letter-spacing: .12em; margin-bottom: .9rem; font-size: 1rem; }
.quote-card blockquote { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; margin: 0 0 1.3rem; color: var(--c-ink); }
.quote-card .who { display: flex; align-items: center; gap: .8rem; }
.quote-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card .who .n { font-weight: 700; font-size: .98rem; }
.quote-card .who .r { font-size: .85rem; color: var(--c-ink-soft); }

/* ---------- 14. Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-wide { grid-column: span 2; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; padding: clamp(2.6rem, 6vw, 5rem); text-align: center;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .scrim { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(54,16,20,.95), rgba(54,16,20,.7)); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; margin-inline: auto; }

/* ---------- 16. Footer ---------- */
.site-footer { background: #201a18; color: #cfc4ba; padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer h5 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #cfc4ba; }
.site-footer a:hover { color: var(--c-gold); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand .brand-mark { background: var(--c-gold); color: var(--c-primary); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; font-size: .96rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; font-size: .96rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--c-gold); margin-top: .15rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.1rem; }
.footer-social a:hover { background: var(--c-gold); color: var(--c-primary); border-color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.4rem 0; font-size: .86rem; color: #998d83; }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter input { flex: 1; }

/* ---------- 17. Forms ---------- */
.form-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--c-ink); }
.form-label .req { color: var(--c-primary); }
.form-control, .form-select {
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  padding: .8rem 1rem; background: #fff; color: var(--c-ink); font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: #b3a99e; }
.form-control:focus, .form-select:focus {
  border-color: var(--c-gold); box-shadow: 0 0 0 4px rgba(190,139,61,.16); outline: none;
}
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--c-ink-soft); }
.input-icon .form-control { padding-left: 2.7rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--c-nonveg); }
.field-error { color: var(--c-nonveg); font-size: .84rem; margin-top: .35rem; display: none; }
.is-invalid ~ .field-error { display: block; }
.form-note { font-size: .86rem; color: var(--c-ink-soft); }

/* ---------- 18. Auth pages ---------- */
.auth-wrap { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; overflow: hidden; }
.auth-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.auth-aside .scrim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(54,16,20,.92), rgba(54,16,20,.55)); z-index: 0; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { color: #fff; font-size: 2.6rem; }
.auth-aside .eyebrow { color: var(--c-gold); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; background: var(--c-bg); }
.auth-box { width: min(440px, 100%); }
.oauth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.btn-oauth {
  width: 100%; justify-content: center; gap: .6rem; background: #fff; color: var(--c-ink);
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); padding: .7rem 1rem; font-weight: 600;
}
.btn-oauth:hover { border-color: var(--c-ink); transform: translateY(-1px); }
.btn-oauth i { font-size: 1.2rem; }
.btn-oauth .bi-google { color: #DB4437; }
.btn-oauth .bi-facebook { color: #1877F2; }
.btn-oauth .bi-linkedin { color: #0A66C2; }
.btn-oauth .bi-apple { color: #111; }
.divider-or { display: flex; align-items: center; gap: 1rem; color: var(--c-ink-soft); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 1.4rem 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

/* ---------- 19. Page header (interior pages) ---------- */
.page-head { background: var(--c-primary); color: #fff; position: relative; overflow: hidden; padding-block: calc(var(--nav-h) + 2.4rem) 3.2rem; }
.page-head .scrim { position: absolute; inset: 0; background: radial-gradient(120% 140% at 90% -10%, rgba(190,139,61,.4), transparent 55%); }
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-head .eyebrow { color: var(--c-gold); }
.breadcrumb-x { display: flex; gap: .5rem; font-size: .86rem; color: rgba(255,255,255,.72); margin-top: .6rem; }
.breadcrumb-x a { color: rgba(255,255,255,.72); }
.breadcrumb-x a:hover { color: #fff; }

/* ---------- 20. Menu page ---------- */
.menu-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.menu-filter button, .diet-filter button, .cuisine-filter button {
  border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink);
  border-radius: 999px; padding: .5rem 1.2rem; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem; transition: all .2s ease;
}
.menu-filter button:hover, .diet-filter button:hover, .cuisine-filter button:hover { border-color: var(--c-primary); }
.menu-filter button.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.diet-filter button.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.diet-filter { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.cuisine-filter { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.cuisine-filter button.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.menu-item {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.menu-item__media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.menu-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-item:hover .menu-item__media img { transform: scale(1.06); }
.menu-item__spice { position: absolute; bottom: .7rem; right: .7rem; background: rgba(42,36,34,.78); color: #fff; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; backdrop-filter: blur(4px); }
.menu-item__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.menu-item__head { display: flex; align-items: flex-start; gap: .6rem; }
.menu-item__head h3 { font-size: 1.3rem; margin: 0; flex: 1; line-height: 1.15; }
.menu-item__desc { font-size: .92rem; color: var(--c-ink-soft); margin: 0; flex: 1; }
.menu-item__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; gap: .6rem; }
.price { font-family: var(--font-head); font-size: 1.45rem; color: var(--c-primary); font-weight: 600; }
.price small { font-family: var(--font-body); font-size: .72rem; color: var(--c-ink-soft); font-weight: 500; letter-spacing: .04em; }
.btn-add { border: 1.5px solid var(--c-primary); color: var(--c-primary); background: transparent; border-radius: 999px; padding: .45rem .9rem; font-weight: 600; font-size: .86rem; display: inline-flex; align-items: center; gap: .4rem; transition: all .2s ease; white-space: nowrap; }
.btn-add:hover { background: var(--c-primary); color: #fff; }
.btn-add.added { background: var(--c-veg); border-color: var(--c-veg); color: #fff; }
.menu-cat-title { display: flex; align-items: center; gap: 1rem; margin-bottom: .4rem; }
.menu-cat-title h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.menu-cat-title .count { font-size: .82rem; color: var(--c-ink-soft); letter-spacing: .1em; text-transform: uppercase; }
.menu-empty { text-align: center; padding: 3rem 0; color: var(--c-ink-soft); display: none; }

/* ---------- 21. Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.4rem; align-items: start; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); }
.cart-row__thumb { width: 92px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; }
.cart-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row h4 { margin: 0 0 .2rem; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }
.cart-row .meta { font-size: .86rem; color: var(--c-ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: 999px; overflow: hidden; }
.qty button { background: transparent; border: 0; width: 34px; height: 34px; font-size: 1.1rem; color: var(--c-ink); display: grid; place-items: center; }
.qty button:hover { background: var(--c-bg-alt); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.cart-row__end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cart-row .line-total { font-weight: 700; font-size: 1.05rem; }
.btn-remove { background: none; border: 0; color: var(--c-ink-soft); font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; }
.btn-remove:hover { color: var(--c-nonveg); }

.summary-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--nav-h) + 1rem); }
.summary-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--c-ink-soft); }
.summary-row.total { border-top: 1px solid var(--c-line); margin-top: .6rem; padding-top: 1rem; color: var(--c-ink); font-weight: 700; font-size: 1.25rem; }
.summary-row.total .font-head { font-family: var(--font-head); color: var(--c-primary); }

.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty .ic { font-size: 3.4rem; color: var(--c-line); }

.steps { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.step { display: flex; align-items: center; gap: .55rem; color: var(--c-ink-soft); font-weight: 600; font-size: .92rem; }
.step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-line); font-size: .9rem; }
.step.active { color: var(--c-primary); }
.step.active .n { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.step.done .n { background: var(--c-veg); color: #fff; border-color: var(--c-veg); }
.step-sep { width: 32px; height: 1.5px; background: var(--c-line); }

.pay-method { display: flex; gap: .7rem; flex-wrap: wrap; }
.pay-method label { flex: 1; min-width: 130px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); padding: .9rem 1rem; cursor: pointer; display: flex; align-items: center; gap: .6rem; font-weight: 600; transition: all .2s ease; }
.pay-method input { accent-color: var(--c-primary); }
.pay-method label:has(input:checked) { border-color: var(--c-primary); background: rgba(110,27,34,.05); }

/* ---------- 22. Profile / orders ---------- */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.4rem; align-items: start; }
.dash-side { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--nav-h) + 1rem); }
.dash-side .avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: .8rem; border: 3px solid var(--c-gold); }
.dash-nav { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .25rem; }
.dash-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: var(--radius-sm); color: var(--c-ink); font-weight: 600; font-size: .95rem; }
.dash-nav a:hover { background: var(--c-bg-alt); }
.dash-nav a.is-active { background: var(--c-primary); color: #fff; }
.dash-nav a.is-active i { color: var(--c-gold); }

.profile-field { display: grid; gap: .3rem; }
.order-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; }
.order-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--c-line); padding-bottom: 1rem; margin-bottom: 1rem; }
.order-id { font-family: var(--font-head); font-size: 1.3rem; color: var(--c-primary); }
.status-pill { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.status-pill.confirmed { background: rgba(31,138,59,.14); color: var(--c-veg); }
.status-pill.preparing { background: rgba(224,138,30,.16); color: var(--c-gold-d); }
.status-pill.delivered { background: rgba(42,36,34,.1); color: var(--c-ink-soft); }
.order-items-mini { display: flex; gap: .5rem; flex-wrap: wrap; }
.order-items-mini img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }

/* ---------- 23. 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; color: #fff; overflow: hidden; padding: 2rem; }
.notfound img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.notfound .scrim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(54,16,20,.94), rgba(20,8,9,.86)); z-index: 0; }
.notfound > * { position: relative; z-index: 1; }
.notfound .big { font-family: var(--font-head); font-size: clamp(6rem, 22vw, 13rem); line-height: .9; color: var(--c-gold); }

/* ---------- 24. Toast ---------- */
.toast-x {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%) translateY(150%);
  background: var(--c-ink); color: #fff; padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .94rem; box-shadow: var(--shadow-lg); z-index: 2000;
  display: flex; align-items: center; gap: .6rem; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast-x.show { transform: translateX(-50%) translateY(0); }
.toast-x i { color: var(--c-gold); }

/* ---------- 25. Reveal (robust, JS-driven) ----------
   Reduced motion / no-JS: everything visible. Otherwise elements start
   hidden and get .rv on scroll-in (CSS transition = the fade). A delayed
   .rv-now then snaps them visible with NO transition, so content always
   ends visible even if the environment freezes CSS transitions. */
html.aos-off [data-aos] { opacity: 1 !important; transform: none !important; }
html.aos-on  [data-aos] { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.aos-on  [data-aos="fade-up"]    { transform: translateY(28px); }
html.aos-on  [data-aos="fade-right"] { transform: translateX(-28px); }
html.aos-on  [data-aos="fade-left"]  { transform: translateX(28px); }
html.aos-on  [data-aos="zoom-in"]    { transform: scale(.95); }
html.aos-on  [data-aos].rv     { opacity: 1; transform: none; }
html.aos-on  [data-aos].rv-now { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1199.98px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991.98px) {
  .nav-links, .nav-actions .desktop-only { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-actions { gap: .5rem; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { min-height: 220px; padding: 2rem; }
}
@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .hero-meta { gap: 1.6rem; }
  .oauth-grid { grid-template-columns: 1fr; }
  .steps { gap: .3rem; }
  .step .lbl { display: none; }
  .step-sep { width: 18px; }
}
@media (max-width: 575.98px) {
  .gallery-grid .g-wide { grid-column: span 1; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row__end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 28. Print ---------- */
@media print {
  .site-nav, .mobile-drawer, .scroll-cue, .toast-x, #tweaks-root, .chat-widget { display: none !important; }
}

/* ============================================================
   29. Animated hero (home) — frozen-clock safe
   Slide 1 is the always-visible base (only its transform animates);
   slides 2–4 fade in over it on a timer. If the animation clock is
   paused (inactive tab / capture), slide 1 stays visible and the
   hero text is revealed by the site's data-aos rv-now safety.
   ============================================================ */
.hero__bg--slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; will-change: opacity, transform;
}
.hero__slide:nth-child(1) { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__slide:nth-child(1) { animation: heroKen 32s ease-in-out infinite; }
  .hero__slide:nth-child(2) { animation: heroOverlay 32s infinite; animation-delay: 8s; }
  .hero__slide:nth-child(3) { animation: heroOverlay 32s infinite; animation-delay: 16s; }
  .hero__slide:nth-child(4) { animation: heroOverlay 32s infinite; animation-delay: 24s; }
}
@keyframes heroKen { 0%, 100% { transform: scale(1.0); } 50% { transform: scale(1.09); } }
@keyframes heroOverlay {
  0%   { opacity: 0; transform: scale(1.1); }
  6%   { opacity: 1; }
  22%  { opacity: 1; transform: scale(1.0); }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero__steam { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__steam span {
  position: absolute; bottom: -60px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,250,240,.85), rgba(255,250,240,0) 60%),
    radial-gradient(circle at 50% 50%, rgba(255,246,230,.5), rgba(255,246,230,0) 72%);
  filter: blur(18px); opacity: 0; mix-blend-mode: screen; will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__steam span { animation: steam linear infinite; }
}
@keyframes steam {
  0%   { opacity: 0; transform: translateY(20px) translateX(0) scale(.5); }
  12%  { opacity: var(--peak, .45); }
  55%  { opacity: calc(var(--peak, .45) * .62); }
  100% { opacity: 0; transform: translateY(-80vh) translateX(var(--sway, 26px)) scale(2.2); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__steam { display: none; }
}

/* ============================================================
   30. Menu card enhancements — availability, tray size + spice
   ============================================================ */
.avail-row { display: flex; flex-wrap: wrap; gap: .35rem; margin: .1rem 0 .2rem; }
.avail-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .03em;
  color: var(--c-ink-soft); background: var(--c-bg-alt);
  border: 1px solid var(--c-line); border-radius: 999px; padding: .18rem .5rem;
}
.avail-tag i { font-size: .72rem; color: var(--c-gold-d); }
.item-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .2rem 0 .1rem; }
.ic-field { display: flex; flex-direction: column; gap: .25rem; margin: 0; }
.ic-label { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-soft); display: inline-flex; align-items: center; gap: .3rem; }
.ic-label i { color: var(--c-gold-d); }
.ic-select, .row-select {
  appearance: none; -webkit-appearance: none;
  border: 1.5px solid var(--c-line); border-radius: 10px; background: #fff;
  padding: .42rem 1.7rem .42rem .6rem; font-size: .82rem; font-weight: 600; color: var(--c-ink);
  font-family: var(--font-body); cursor: pointer; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%236B5F57' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .55rem center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ic-select:focus, .row-select:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(190,139,61,.16); }
.menu-item__media { position: relative; }
.item-flash { animation: itemFlash 2.1s ease; }
@keyframes itemFlash {
  0%, 100% { box-shadow: var(--shadow-sm); }
  20% { box-shadow: 0 0 0 3px var(--c-gold), var(--shadow); }
}
.menu-legend {
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center;
  font-size: .85rem; color: var(--c-ink-soft); margin-top: 1rem;
}
.menu-legend a { font-weight: 600; }

/* spice pips (shared) */
.spice-pips { display: inline-flex; gap: 3px; vertical-align: middle; }
.spice-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--c-line); }
.spice-pip.on { background: var(--c-primary); }

/* ============================================================
   31. Cart — rich rows, options, fulfillment, allergen, overall spice
   ============================================================ */
.cart-row--rich { grid-template-columns: 92px 1fr auto; align-items: start; }
.cart-row__main { min-width: 0; }
.cart-row__link { color: var(--c-ink); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.cart-row__link i { font-size: .8rem; color: var(--c-gold-d); }
.cart-row__link:hover { color: var(--c-primary); }
.cart-row--rich .cart-row__thumb { display: block; }
.row-opts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .55rem; }
.row-opt { display: flex; flex-direction: column; gap: .22rem; margin: 0; min-width: 150px; flex: 1; }
.row-opt > span { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-soft); display: inline-flex; align-items: center; gap: .3rem; }
.row-opt > span i { color: var(--c-gold-d); }

.cart-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  justify-content: space-between; margin: 1rem 0 .4rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); padding: .8rem 1rem;
}
.cart-toolbar label { font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.cart-toolbar .row-select { width: auto; min-width: 210px; }

/* fulfillment card */
.ful-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); margin-top: 1.6rem; }
.ful-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.ful-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1rem 0; }
.ful-opt {
  display: flex; align-items: flex-start; gap: .7rem; cursor: pointer;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); padding: .9rem 1rem;
  transition: border-color .2s ease, background .2s ease; margin: 0;
}
.ful-opt:hover { border-color: var(--c-primary); }
.ful-opt.is-on { border-color: var(--c-primary); background: rgba(110,27,34,.05); }
.ful-opt input { accent-color: var(--c-primary); margin-top: .2rem; }
.ful-opt .fo-ic { font-size: 1.3rem; color: var(--c-gold-d); }
.ful-opt strong { display: block; font-size: .98rem; }
.ful-opt small { color: var(--c-ink-soft); }
.ful-field { margin-top: .5rem; }
.ful-field .form-label { margin-bottom: .35rem; }
.postal-quote { font-size: .9rem; margin-top: .6rem; min-height: 1.2rem; }
.postal-quote.ok { color: var(--c-veg); }
.postal-quote.err { color: var(--c-nonveg); }
.postal-quote strong { color: inherit; }

/* allergen notice */
.allergen-note {
  border: 1.5px solid var(--c-gold); background: rgba(190,139,61,.08);
  border-radius: var(--radius-sm); padding: .9rem 1rem; margin: 1rem 0 .9rem;
}
.allergen-note .an-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; color: var(--c-primary); }
.allergen-note .an-head i { color: var(--c-gold-d); font-size: 1.1rem; }
.allergen-note p { font-size: .82rem; color: var(--c-ink-soft); margin: .4rem 0 .7rem; }
.allergen-check { display: flex; align-items: flex-start; gap: .55rem; font-size: .86rem; font-weight: 600; cursor: pointer; margin: 0; }
.allergen-check input { accent-color: var(--c-primary); margin-top: .15rem; width: 18px; height: 18px; flex: none; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.is-disabled:hover { transform: none; background: var(--c-gold); color: #2A1A06; }
.shake { animation: shake .5s; }
@keyframes shake { 0%,100%{transform:translateX(0);} 20%,60%{transform:translateX(-5px);} 40%,80%{transform:translateX(5px);} }

/* coupon */
.discount-row { color: var(--c-veg); font-weight: 600; }
.coupon { margin-top: 1rem; border-top: 1px solid var(--c-line); padding-top: 1rem; }
.coupon-entry { display: flex; gap: .5rem; }
.coupon-entry input {
  flex: 1; min-width: 0; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  padding: .6rem .8rem; font-size: .92rem; font-family: var(--font-body); color: var(--c-ink);
  background: #fff; text-transform: uppercase; letter-spacing: .04em;
}
.coupon-entry input::placeholder { text-transform: none; letter-spacing: normal; color: #b3a99e; }
.coupon-entry input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(190,139,61,.16); }
.coupon-entry .btn { padding: .6rem 1.1rem; white-space: nowrap; }
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: rgba(31,138,59,.1); border: 1px solid rgba(31,138,59,.3);
  border-radius: var(--radius-sm); padding: .55rem .8rem;
}
.coupon-applied .ca-info { display: flex; align-items: center; gap: .45rem; font-size: .9rem; flex-wrap: wrap; }
.coupon-applied .ca-info i { color: var(--c-veg); }
.coupon-applied .ca-info strong { color: var(--c-ink); letter-spacing: .03em; }
.coupon-applied .muted { font-size: .8rem; }
.coupon-remove { background: none; border: 0; color: var(--c-ink-soft); cursor: pointer; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.coupon-remove:hover { background: rgba(0,0,0,.06); color: var(--c-nonveg); }
.coupon-msg { font-size: .82rem; margin-top: .4rem; min-height: .2rem; }
.coupon-msg.err { color: var(--c-nonveg); }
.coupon-hint { font-size: .8rem; color: var(--c-ink-soft); margin: .55rem 0 0; }
.coupon-hint button { background: none; border: 0; color: var(--c-primary); font-weight: 700; cursor: pointer; padding: 0; font-size: .8rem; text-decoration: underline; }
.coupon-hint button:hover { color: var(--c-gold-d); }

/* ============================================================
   32. Quote page — cart items panel
   ============================================================ */
.quote-items-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.quote-items-card .qh { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.quote-items-card h3 { font-size: 1.25rem; margin: 0; }
.quote-line { display: grid; grid-template-columns: 54px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--c-line); }
.quote-line:last-of-type { border-bottom: 0; }
.quote-line__thumb { width: 54px; height: 48px; border-radius: 8px; overflow: hidden; display: block; }
.quote-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.quote-line__name { font-weight: 700; color: var(--c-ink); font-size: .98rem; }
.quote-line__name:hover { color: var(--c-primary); }
.quote-line__meta { font-size: .8rem; color: var(--c-ink-soft); }
.quote-line__price { font-weight: 700; }
.quote-total-row { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--c-line); font-weight: 700; }
.quote-total-row .font-head { font-family: var(--font-head); color: var(--c-primary); font-size: 1.3rem; }

/* ============================================================
   33. Tray Sizes page
   ============================================================ */
.tray-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.tray-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.tray-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tray-card.feature { border-color: var(--c-gold); }
.tray-card .tray-ribbon { position: absolute; top: 1rem; right: -2.2rem; transform: rotate(45deg); background: var(--c-gold); color: #2A1A06; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem 2.4rem; }
.tray-visual { height: 96px; display: grid; place-items: center; margin-bottom: 1rem; }
.tray-shape { background: linear-gradient(160deg, #d9d2c6, #b9b0a2); border-radius: 8px 8px 12px 12px; box-shadow: inset 0 3px 6px rgba(255,255,255,.5), inset 0 -6px 10px rgba(0,0,0,.18), var(--shadow-sm); position: relative; border: 1px solid rgba(0,0,0,.08); }
.tray-shape::after { content: ""; position: absolute; inset: 6px; border-radius: 5px 5px 8px 8px; background: linear-gradient(160deg, rgba(110,27,34,.12), rgba(224,138,30,.18)); }
.tray-card h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.tray-serves { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-gold-d); }
.tray-card p { font-size: .92rem; color: var(--c-ink-soft); margin: .6rem 0 0; }
.tray-card .tray-mult { display: inline-block; margin-top: .8rem; font-size: .82rem; color: var(--c-ink-soft); background: var(--c-bg-alt); border-radius: 999px; padding: .25rem .7rem; font-weight: 600; }
.tray-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.tray-table th, .tray-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.tray-table thead th { background: var(--c-primary); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.tray-table tbody tr:last-child td { border-bottom: 0; }
.tray-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.tray-table .t-name { font-weight: 700; color: var(--c-ink); }
.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.howto-step { display: flex; gap: .9rem; align-items: flex-start; }
.howto-step .hs-num { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--c-primary); color: var(--c-gold); font-family: var(--font-head); font-size: 1.2rem; }

/* ============================================================
   34. Floating chat widget
   ============================================================ */
.chat-widget { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 1900; }
.chat-fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-primary); color: var(--c-gold); font-size: 1.6rem;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform .25s ease, opacity .2s ease, background .2s ease;
  position: relative;
}
.chat-fab:hover { transform: scale(1.07); background: var(--c-primary-d); }
.chat-fab.hidden { opacity: 0; pointer-events: none; transform: scale(.6); }
.chat-fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c-gold); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .chat-fab__pulse { animation: chatPulse 2.6s ease-out infinite; } }
@keyframes chatPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

.chat-panel {
  position: absolute; right: 0; bottom: 0; width: min(370px, 92vw); height: min(560px, 78vh);
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-panel.open-now { transform: none !important; opacity: 1 !important; transition: none; }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--c-primary); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-gold); color: var(--c-primary); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.chat-id { line-height: 1.2; flex: 1; }
.chat-id strong { font-size: 1rem; display: block; }
.chat-id span { font-size: .76rem; color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: .35rem; }
.chat-id .dot { width: 8px; height: 8px; border-radius: 50%; background: #58d68d; display: inline-block; }
.chat-close { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.chat-close:hover { background: rgba(255,255,255,.26); }

.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--c-bg); }
.chat-msg { display: flex; gap: .5rem; align-items: flex-end; max-width: 90%; }
.chat-msg.me { margin-left: auto; flex-direction: row-reverse; }
.chat-msg__av { width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: var(--c-gold); display: grid; place-items: center; font-size: .8rem; flex: none; }
.chat-msg__bubble { padding: .6rem .85rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.chat-msg.bot .chat-msg__bubble { background: var(--c-surface); border: 1px solid var(--c-line); border-bottom-left-radius: 4px; color: var(--c-ink); }
.chat-msg.me .chat-msg__bubble { background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing .chat-msg__bubble { display: flex; gap: 4px; }
.chat-typing .td { width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink-soft); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .chat-typing .td { animation: chatType 1s infinite; }
  .chat-typing .td:nth-child(2) { animation-delay: .15s; }
  .chat-typing .td:nth-child(3) { animation-delay: .3s; }
}
@keyframes chatType { 0%,100%{ transform: translateY(0); opacity:.4; } 50%{ transform: translateY(-4px); opacity:.9; } }

.chat-quick { display: flex; gap: .4rem; overflow-x: auto; padding: .5rem .8rem; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.chat-quick button { white-space: nowrap; border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-primary); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 600; cursor: pointer; transition: all .18s ease; }
.chat-quick button:hover { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.chat-input { display: flex; gap: .5rem; padding: .7rem .8rem; background: var(--c-surface); border-top: 1px solid var(--c-line); }
.chat-input input { flex: 1; border: 1.5px solid var(--c-line); border-radius: 999px; padding: .6rem 1rem; font-size: .9rem; font-family: var(--font-body); color: var(--c-ink); background: #fff; }
.chat-input input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(190,139,61,.16); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--c-gold); color: #2A1A06; cursor: pointer; flex: none; display: grid; place-items: center; font-size: 1rem; transition: background .2s ease; }
.chat-input button:hover { background: var(--c-gold-d); color: #fff; }

@media (max-width: 575.98px) {
  .item-controls { grid-template-columns: 1fr; }
  .ful-grid { grid-template-columns: 1fr; }
  .cart-row--rich { grid-template-columns: 70px 1fr; }
  .cart-row--rich .cart-row__end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   34. Referral — profile "Invite & earn" section
   ============================================================ */
.ref-hero {
  position: relative; overflow: hidden; color: #fff;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 150% at 88% -20%, rgba(190,139,61,.55), transparent 55%),
    linear-gradient(150deg, var(--c-primary) 0%, var(--c-primary-d) 70%);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 1.6rem; align-items: center;
  box-shadow: var(--shadow);
}
.ref-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12); pointer-events: none;
}
.ref-hero .eyebrow { color: var(--c-gold); margin-bottom: .8rem; }
.ref-hero h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 .5rem; }
.ref-hero h2 em { font-style: normal; color: var(--c-gold); }
.ref-hero p { color: rgba(255,255,255,.86); font-size: .98rem; max-width: 42ch; margin: 0; }
.ref-balance {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 1.3rem 1.5rem; text-align: center;
  backdrop-filter: blur(4px);
}
.ref-balance .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ref-balance .amt { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--c-gold); margin: .35rem 0 .2rem; }
.ref-balance .sub { font-size: .82rem; color: rgba(255,255,255,.78); }
.ref-balance .sub strong { color: #fff; }

.ref-block { margin-top: 1.6rem; }
.ref-block + .ref-block { margin-top: 1.8rem; }
.ref-block > h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 .2rem; display: flex; align-items: center; gap: .5rem; }
.ref-block > h3 i { color: var(--c-gold-d); }
.ref-block > .ref-sub { font-size: .9rem; color: var(--c-ink-soft); margin: 0 0 .9rem; }

/* copy field (code + link) */
.copy-field { display: flex; align-items: stretch; gap: .5rem; margin-bottom: .8rem; }
.copy-field .cf-box {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem;
  border: 1.5px dashed var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-bg-alt); padding: .65rem .9rem;
}
.copy-field .cf-box i { color: var(--c-gold-d); flex: none; }
.copy-field .cf-val {
  font-weight: 700; color: var(--c-ink); font-size: 1rem; letter-spacing: .02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0;
}
.copy-field.is-code .cf-val { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .06em; color: var(--c-primary); }
.copy-field .cf-val.small { font-size: .9rem; font-weight: 500; color: var(--c-ink-soft); letter-spacing: 0; }
.btn-copy {
  flex: none; border: 1.5px solid var(--c-primary); background: var(--c-primary); color: #fff;
  border-radius: var(--radius-sm); padding: .55rem 1.1rem; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; transition: all .2s ease;
  font-family: var(--font-body); white-space: nowrap;
}
.btn-copy:hover { background: var(--c-primary-d); border-color: var(--c-primary-d); }
.btn-copy.copied { background: var(--c-veg); border-color: var(--c-veg); }

/* share buttons */
.ref-share { display: flex; flex-wrap: wrap; gap: .6rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink);
  border-radius: 999px; padding: .55rem 1.05rem; font-weight: 600; font-size: .9rem;
  font-family: var(--font-body); transition: transform .18s ease, border-color .2s ease, color .2s ease;
}
.share-btn i { font-size: 1.1rem; }
.share-btn:hover { transform: translateY(-2px); border-color: currentColor; }
.share-btn.wa { color: #1c8a4a; }
.share-btn.fb { color: #1877F2; }
.share-btn.tw { color: #15131a; }
.share-btn.em { color: var(--c-gold-d); }
.share-btn.lk { color: var(--c-primary); }

/* how it works steps */
.ref-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ref-step {
  position: relative; background: var(--c-bg-alt); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem;
}
.ref-step .rs-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-gold); font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 600; margin-bottom: .7rem;
}
.ref-step .rs-ic { font-size: 1.5rem; color: var(--c-gold-d); position: absolute; top: 1.2rem; right: 1.2rem; }
.ref-step h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin: 0 0 .25rem; }
.ref-step p { font-size: .88rem; color: var(--c-ink-soft); margin: 0; }

/* referred friends list */
.ref-friends { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ref-friend {
  display: flex; align-items: center; gap: .9rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); padding: .75rem .9rem;
}
.ref-friend .rf-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  background: rgba(190,139,61,.16); color: var(--c-gold-d);
}
.ref-friend .rf-main { flex: 1; min-width: 0; line-height: 1.3; }
.ref-friend .rf-name { font-weight: 700; color: var(--c-ink); }
.ref-friend .rf-meta { font-size: .82rem; color: var(--c-ink-soft); }
.ref-friend .rf-end { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.ref-friend .rf-bonus { font-weight: 700; color: var(--c-veg); font-size: .98rem; }
.ref-friend .rf-bonus.pending { color: var(--c-ink-soft); }
.ref-status { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; }
.ref-status.ordered { background: rgba(31,138,59,.14); color: var(--c-veg); }
.ref-status.joined { background: rgba(224,138,30,.16); color: var(--c-gold-d); }
.ref-status.invited { background: rgba(42,36,34,.08); color: var(--c-ink-soft); }
.ref-empty { font-size: .9rem; color: var(--c-ink-soft); text-align: center; padding: 1.4rem 0; }

.ref-terms { font-size: .8rem; color: var(--c-ink-soft); margin: 1.2rem 0 0; display: flex; align-items: flex-start; gap: .45rem; }
.ref-terms i { color: var(--c-gold-d); margin-top: .1rem; }

@media (max-width: 991.98px) {
  .ref-hero { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .ref-steps { grid-template-columns: 1fr; }
  .ref-share .share-btn { flex: 1; justify-content: center; }
}

/* ============================================================
   35. Subscriptions — profile "My subscriptions" section
   ============================================================ */
.sub-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.4rem; }
.sub-stat {
  background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1rem 1.1rem; display: flex; align-items: center; gap: .8rem;
}
.sub-stat .ss-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.25rem; background: rgba(190,139,61,.16); color: var(--c-gold-d); }
.sub-stat .ss-num { font-family: var(--font-head); font-size: 1.6rem; line-height: 1; color: var(--c-primary); }
.sub-stat .ss-lbl { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-soft); }

.sub-list { display: grid; gap: 1.1rem; }
.sub-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: opacity .25s ease;
}
.sub-card.is-cancelled { opacity: .62; }
.sub-card__top { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.1rem; padding: 1.2rem 1.3rem; align-items: start; }
.sub-card__thumb { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.sub-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sub-card__main { min-width: 0; }
.sub-card__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .15rem; }
.sub-card__head h3 { font-size: 1.3rem; margin: 0; font-family: var(--font-head); }
.sub-card__desc { font-size: .9rem; color: var(--c-ink-soft); margin: 0 0 .6rem; }
.sub-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.sub-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; color: var(--c-ink-soft); background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: 999px; padding: .25rem .7rem; }
.sub-tag i { color: var(--c-gold-d); font-size: .82rem; }
.sub-card__price { text-align: right; flex: none; }
.sub-card__price .amt { font-family: var(--font-head); font-size: 1.5rem; color: var(--c-primary); line-height: 1; }
.sub-card__price .per { font-size: .76rem; color: var(--c-ink-soft); }

.sub-status { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; }
.sub-status.active { background: rgba(31,138,59,.14); color: var(--c-veg); }
.sub-status.paused { background: rgba(224,138,30,.16); color: var(--c-gold-d); }
.sub-status.cancelled { background: rgba(178,34,34,.12); color: var(--c-nonveg); }

/* tracker */
.sub-track { border-top: 1px solid var(--c-line); padding: .9rem 1.3rem; background: var(--c-bg); }
.sub-track__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sub-next { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: var(--c-ink); }
.sub-next i { color: var(--c-gold-d); font-size: 1.05rem; }
.sub-next .muted { font-weight: 500; }
.sub-track__count { font-size: .82rem; color: var(--c-ink-soft); }
.sub-progress { height: 7px; border-radius: 999px; background: var(--c-bg-alt); margin-top: .7rem; overflow: hidden; border: 1px solid var(--c-line); }
.sub-progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--c-saffron), var(--c-gold)); transition: width .4s ease; }
.sub-track.paused .sub-progress > span { background: var(--c-line); }

/* actions */
.sub-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: .9rem 1.3rem 1.1rem; border-top: 1px solid var(--c-line); }
.sub-btn {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink);
  border-radius: 999px; padding: .48rem 1rem; font-weight: 600; font-size: .86rem;
  font-family: var(--font-body); transition: all .18s ease;
}
.sub-btn i { font-size: .95rem; }
.sub-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.sub-btn.danger:hover { border-color: var(--c-nonveg); color: var(--c-nonveg); }
.sub-btn.primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.sub-btn.primary:hover { background: var(--c-primary-d); color: #fff; }
.sub-actions .spacer { flex: 1; }

/* modify panel */
.sub-edit { border-top: 1px dashed var(--c-line); padding: 1.1rem 1.3rem 1.3rem; background: var(--c-bg-alt); display: none; }
.sub-edit.open { display: block; }
.sub-edit h4 { font-family: var(--font-body); font-weight: 700; font-size: .95rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .45rem; }
.sub-edit h4 i { color: var(--c-gold-d); }
.sub-edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.sub-field { display: flex; flex-direction: column; gap: .3rem; }
.sub-field > label { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-ink-soft); }
.sub-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; width: fit-content; }
.sub-stepper button { background: transparent; border: 0; width: 38px; height: 40px; font-size: 1.15rem; color: var(--c-ink); cursor: pointer; display: grid; place-items: center; }
.sub-stepper button:hover { background: var(--c-bg-alt); }
.sub-stepper span { min-width: 46px; text-align: center; font-weight: 700; }
.sub-edit__foot { display: flex; gap: .5rem; margin-top: 1rem; align-items: center; }
.sub-edit__note { font-size: .82rem; color: var(--c-ink-soft); margin-left: auto; }

/* confirm cancel */
.sub-confirm { display: none; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .9rem 1.3rem; background: rgba(178,34,34,.06); border-top: 1px solid rgba(178,34,34,.2); }
.sub-confirm.open { display: flex; }
.sub-confirm p { margin: 0; font-size: .9rem; font-weight: 600; color: var(--c-ink); }
.sub-confirm .spacer { flex: 1; }

.sub-add {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  border: 1.5px dashed var(--c-line); border-radius: var(--radius); padding: 1rem;
  color: var(--c-primary); font-weight: 600; background: transparent; transition: all .2s ease;
}
.sub-add:hover { border-color: var(--c-primary); background: rgba(110,27,34,.04); }

@media (max-width: 575.98px) {
  .sub-summary { grid-template-columns: 1fr; }
  .sub-card__top { grid-template-columns: 72px 1fr; }
  .sub-card__thumb { width: 72px; height: 72px; }
  .sub-card__price { grid-column: 2; text-align: left; margin-top: .3rem; }
  .sub-edit-grid { grid-template-columns: 1fr; }
}

/* ---------- 21. Menu detail page ---------- */
.product-gallery__main { border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line); }
.product-gallery__main img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.pg-thumb { position: relative; width: 72px; height: 60px; border-radius: 8px; overflow: hidden; border: 2px solid var(--c-line); background: none; padding: 0; cursor: pointer; }
.pg-thumb.is-active { border-color: var(--c-primary); }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__video { width: 100%; border-radius: 14px; border: 1px solid var(--c-line); }

.product-head { display: flex; align-items: center; gap: .6rem; }
.product-title { margin: 0; }
.product-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.ptag { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-ink); }
.product-rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.product-desc { color: var(--c-ink); }
.product-price .price { font-size: 1.6rem; }
.product-controls { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.product-aside { margin-bottom: 1.5rem; }
.aside-title { font-size: 1.1rem; display: flex; align-items: center; gap: .45rem; }

/* stars */
.stars { display: inline-flex; gap: .12rem; color: #e0a106; }
.stars--sm { font-size: .85rem; }
.rating-input { display: flex; gap: .25rem; }
.rating-star { background: none; border: none; padding: .1rem; font-size: 1.5rem; color: #e0a106; cursor: pointer; line-height: 1; }
.rating-star .bi-star { color: var(--c-line); }

/* reviews */
.review-list { display: grid; gap: 1rem; }
.review-card { border: 1px solid var(--c-line); border-radius: 12px; padding: 1rem 1.2rem; background: var(--c-surface); }
.review-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-card__title { margin: .5rem 0 .2rem; font-size: 1.05rem; }
.review-card__body { margin: 0; color: var(--c-ink); }
.review-form .rating-input { margin-bottom: .3rem; }

/* menu card detail links */
.menu-item__link { color: inherit; text-decoration: none; }
.menu-item__link:hover { color: var(--c-primary); }
.menu-item__media { display: block; }
