/* ============================================================
   Ghar Ki Rasoi — Stylesheet
   Palette derived from the brand logo: deep maroon, warm gold,
   saffron orange accents on a homemade-cream canvas.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colours */
  --cream:        #FBF6EC;
  --cream-2:      #FFFDF8;
  --cream-line:   #EFE6D4;
  --maroon:       #7A1A1A;
  --maroon-deep:  #5E1414;
  --gold:         #C4922A;
  --gold-soft:    #E7CD8E;
  --orange:       #E86A25;   /* accent + prices */
  --orange-deep:  #CE5A19;
  --orange-soft:  #FBE3D3;
  --brown:        #43291B;   /* headings */
  --ink:          #2E241D;   /* body text */
  --muted:        #8C7C6C;
  --green:        #1F8A4C;
  --egg:          #C99A2E;
  --red:          #C0392B;

  /* Layout */
  --maxw:         720px;
  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       0 8px 24px -12px rgba(74, 41, 22, .28);
  --shadow-soft:  0 4px 14px -8px rgba(74, 41, 22, .22);

  /* Sticky heights */
  --h-header:     52px;
  --h-actionbar:  60px;
  --h-chips:      54px;
  --h-bottomnav:  62px;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  /* warm subtle texture */
  background-image:
    radial-gradient(circle at 12% 8%, rgba(196,146,42,.06), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(122,26,26,.05), transparent 40%);
  background-attachment: fixed;
  line-height: 1.5;
  padding-bottom: calc(var(--h-bottomnav) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
main { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: var(--cream);
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__pot {
  position: relative; width: 64px; height: 46px;
  border-radius: 6px 6px 30px 30px;
  background: linear-gradient(160deg, var(--gold), #A9781F);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.15);
}
.loader__pot::before {
  content: ""; position: absolute; top: -8px; left: -6px; right: -6px; height: 12px;
  border-radius: 8px; background: linear-gradient(160deg, var(--gold-soft), var(--gold));
}
.loader__steam {
  position: absolute; top: -26px; width: 5px; height: 22px; border-radius: 4px;
  background: rgba(122,26,26,.35);
  animation: steam 1.6s ease-in-out infinite;
}
.loader__steam:nth-child(1) { left: 18px; animation-delay: 0s; }
.loader__steam:nth-child(2) { left: 30px; animation-delay: .25s; }
.loader__steam:nth-child(3) { left: 42px; animation-delay: .5s; }
@keyframes steam {
  0%   { transform: translateY(6px) scaleY(.6); opacity: 0; }
  40%  { opacity: .7; }
  100% { transform: translateY(-14px) scaleY(1.1); opacity: 0; }
}
.loader__text {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.3rem; color: var(--maroon); letter-spacing: .3px;
}

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--h-header);
  background: rgba(251, 246, 236, .72);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--cream-line);
  transform: translateY(-100%);
  transition: transform .35s ease;
}
.site-header.is-visible { transform: translateY(0); }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
}
.site-header__logo { width: 34px; height: auto; }
.site-header__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--maroon); margin-right: auto;
}
.site-header__call {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; text-align: center;
  padding: 30px 20px 22px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 320px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(196,146,42,.22), transparent 62%);
}
.hero__logo {
  width: min(220px, 56vw); height: auto; margin: 0 auto 8px;
  filter: drop-shadow(0 10px 22px rgba(94, 20, 20, .28));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.05;
  color: var(--maroon); margin: 4px 0 2px; letter-spacing: .2px;
}
.hero__tagline {
  margin: 0 0 18px; color: var(--gold);
  font-weight: 600; letter-spacing: 2.5px; font-size: .82rem; text-transform: uppercase;
}
.hero__pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pill {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-width: 92px; padding: 10px 14px;
  background: var(--cream-2); border: 1px solid var(--cream-line);
  border-radius: 14px; box-shadow: var(--shadow-soft);
}
.pill__stars { color: var(--gold); font-size: .72rem; letter-spacing: 1px; }
.pill__value { font-weight: 700; color: var(--brown); font-size: 1.02rem; }
.pill__unit { font-weight: 600; font-size: .78rem; color: var(--muted); }
.pill__label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.pill--veg .pill__value { color: var(--green); }
.pill--promo {
  flex-direction: row; gap: 8px; align-items: center; min-width: 130px;
  background: var(--orange-soft); border-color: var(--orange);
}
.pill__promo-badge {
  display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: .78rem;
}
.pill__promo-text { font-size: .68rem; font-weight: 700; color: var(--orange-deep); line-height: 1.25; text-align: left; }

/* ---------- Sticky action bar ---------- */
.actionbar {
  position: sticky; top: var(--h-header); z-index: 30;
  display: flex; gap: 8px; align-items: center;
  padding: 10px 16px;
  background: rgba(251, 246, 236, .82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--cream-line);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border: none; border-radius: 12px;
  font-weight: 700; font-size: .9rem; letter-spacing: .2px;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--ghost { background: var(--cream-2); color: var(--brown); border: 1px solid var(--gold-soft); flex: 1 1 auto; }
.btn--wa { background: linear-gradient(160deg, #25D366, #1EB255); color: #fff; box-shadow: 0 8px 18px -8px rgba(30,178,85,.6); flex: 1.4 1 auto; }
.btn--call { background: var(--orange); color: #fff; box-shadow: 0 8px 18px -8px rgba(232,106,37,.6); flex: 0 0 auto; }
.btn--block { width: 100%; }
.btn__short { display: none; }

@media (max-width: 420px) {
  .actionbar { gap: 6px; padding: 10px 10px; }
  .btn { padding: 11px 8px; font-size: .82rem; gap: 5px; }
  .btn__full { display: none; }
  .btn__short { display: inline; }
}

/* Ripple */
.ripple .rip {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.5); pointer-events: none;
  animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* ---------- Search ---------- */
.searchwrap { padding: 14px 16px 6px; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-2); border: 1px solid var(--cream-line);
  border-radius: 14px; padding: 0 14px; box-shadow: var(--shadow-soft);
  color: var(--muted);
}
.search:focus-within { border-color: var(--gold); }
.search input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 13px 0; font-size: 1rem; color: var(--ink); font-family: inherit;
}
.search input::placeholder { color: #B4A594; }
.search__clear { border: none; background: transparent; font-size: 1.4rem; color: var(--muted); line-height: 1; padding: 4px; }

/* ---------- Category chips ---------- */
.chips {
  position: sticky; top: calc(var(--h-header) + var(--h-actionbar));
  z-index: 25;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 16px; margin-top: 4px;
  background: rgba(251, 246, 236, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-line);
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; scroll-snap-align: start;
  border: 1px solid var(--gold-soft); background: var(--cream-2);
  color: var(--brown); font-weight: 600; font-size: .84rem;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.chip:active { transform: scale(.95); }
.chip.is-active {
  background: var(--maroon); color: #fff; border-color: var(--maroon);
  box-shadow: 0 6px 14px -8px rgba(122,26,26,.7);
}

/* ---------- Menu sections ---------- */
.menu { padding: 8px 16px 30px; }
.section { scroll-margin-top: calc(var(--h-header) + var(--h-actionbar) + var(--h-chips) + 8px); }
.section__head { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; }
.section__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(160deg, var(--orange-soft), #F6D9C4); font-size: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.section__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  color: var(--brown); margin: 0; flex: 1;
}
.section__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-soft), transparent); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 12px; }
.card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--cream-2); border: 1px solid var(--cream-line);
  border-radius: var(--radius); padding: 13px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
  opacity: 0; transform: translateY(14px);
}
.card.in { opacity: 1; transform: none; }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.card__thumb {
  position: relative; flex: 0 0 76px; width: 76px; height: 76px;
  border-radius: 14px; display: grid; place-items: center;
  font-size: 2rem; cursor: zoom-in; overflow: hidden;
  background: linear-gradient(150deg, #FDEBDC, #F3D7BE);
}
.card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 55%);
}
.card__thumb--veg    { background: linear-gradient(150deg, #E7F3E4, #CFE8CC); }
.card__thumb--nonveg { background: linear-gradient(150deg, #FBE0DA, #F3C6BC); }
.card__thumb--egg    { background: linear-gradient(150deg, #FBF0D4, #F1DEA8); }
.card__thumb--photo  { background: #EFE6D4; }
.card__thumb-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.card__thumb--photo::after { display: none; }
.card__vegdot {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  width: 16px; height: 16px; border-radius: 4px; background: #fff;
  display: grid; place-items: center;
}
.veg-dot { width: 9px; height: 9px; border-radius: 50%; }
.veg-dot--veg { background: var(--green); box-shadow: 0 0 0 1.5px var(--green); }
.veg-dot--nonveg { background: var(--red); box-shadow: 0 0 0 1.5px var(--red); }
.veg-dot--egg { background: var(--egg); box-shadow: 0 0 0 1.5px var(--egg); }

.card__body { flex: 1; min-width: 0; }
.card__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--brown); margin: 0 0 3px; line-height: 1.2;
}
.card__desc { margin: 0 0 9px; font-size: .83rem; color: var(--muted); line-height: 1.4; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; line-height: 1;
}
.badge--bestseller { background: #FBEFCF; color: #8A6A11; }
.badge--chef       { background: #EDE1F3; color: #6A3A8A; }
.badge--special    { background: var(--orange-soft); color: var(--orange-deep); }
.badge--new        { background: #DFF0E4; color: #1F7A44; }
.badge--spicy      { background: #FBDAD3; color: #B23A25; }

/* Price chips */
.prices { display: flex; flex-wrap: wrap; gap: 6px; }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  border: 1px solid var(--orange-soft); background: #FFF6EF;
  border-radius: 10px; padding: 5px 9px;
  transition: transform .1s ease, background .15s ease, border-color .15s ease;
}
.price-chip:active { transform: scale(.94); }
.price-chip.is-added { border-color: var(--orange); background: var(--orange-soft); }
.price-chip__portion { font-size: .64rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.price-chip__amt { font-weight: 800; color: var(--orange); font-size: .92rem; }
.price-chip__amt::before { content: "₹"; font-size: .78em; margin-right: 1px; }
.price-chip__plus { color: var(--orange); font-weight: 800; font-size: .95rem; margin-left: 2px; }

/* ---------- Empty state ---------- */
.empty { text-align: center; color: var(--muted); padding: 40px 20px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center; padding: 30px 20px 40px; margin-top: 10px;
  border-top: 1px solid var(--cream-line);
  background: linear-gradient(180deg, transparent, rgba(196,146,42,.05));
}
.site-footer__logo { width: 66px; height: auto; margin: 0 auto 10px; opacity: .95; }
.site-footer__name { font-family: var(--font-display); font-weight: 600; color: var(--maroon); font-size: 1.2rem; margin: 0 0 6px; }
.site-footer__addr { color: var(--muted); font-size: .84rem; margin: 0 0 12px; line-height: 1.5; }
.site-footer__phones { display: flex; justify-content: center; gap: 10px; align-items: center; color: var(--orange-deep); font-weight: 700; margin-bottom: 12px; }
.site-footer__note { color: #B4A594; font-size: .72rem; margin: 0; }

/* ---------- Cart bar ---------- */
.cartbar {
  position: fixed; left: 0; right: 0;
  bottom: calc(var(--h-bottomnav) + env(safe-area-inset-bottom));
  z-index: 45;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 16px;
  background: var(--maroon); color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5);
  transform: translateY(120%); transition: transform .3s ease;
}
.cartbar.is-visible { transform: translateY(0); }
.cartbar__summary {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; color: #fff; font-weight: 700; padding: 6px 0;
}
.cartbar__count {
  display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px;
  background: var(--gold); color: var(--maroon-deep); border-radius: 8px; font-weight: 800; font-size: .85rem;
}
.cartbar__label { font-size: .92rem; }
.cartbar__chev { font-size: .7rem; opacity: .8; transition: transform .2s ease; }
.cartbar.is-open .cartbar__chev { transform: rotate(180deg); }
.cartbar__order {
  background: #25D366; color: #fff; font-weight: 800; font-size: .9rem;
  padding: 11px 16px; border-radius: 12px; white-space: nowrap;
}

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(46,36,29,.45); backdrop-filter: blur(2px); animation: fade .2s ease; }
.drawer__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--maxw); margin: 0 auto;
  background: var(--cream); border-radius: 22px 22px 0 0;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom));
  max-height: 82vh; display: flex; flex-direction: column;
  animation: slideUp .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer__panel::before {
  content: ""; width: 42px; height: 4px; border-radius: 4px; background: var(--cream-line);
  margin: 6px auto 12px;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer__head h2 { font-family: var(--font-display); color: var(--maroon); margin: 0; font-size: 1.35rem; }
.drawer__close { border: none; background: var(--cream-2); width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; color: var(--muted); line-height: 1; }
.drawer__items { overflow-y: auto; flex: 1; margin: 0 -4px; padding: 0 4px; }
.citem { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--cream-line); }
.citem__info { flex: 1; min-width: 0; }
.citem__name { font-weight: 700; color: var(--brown); font-size: .95rem; }
.citem__meta { font-size: .76rem; color: var(--muted); }
.citem__price { font-weight: 800; color: var(--orange); white-space: nowrap; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button {
  width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--gold-soft);
  background: var(--cream-2); color: var(--maroon); font-size: 1.1rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
}
.qty__n { min-width: 18px; text-align: center; font-weight: 800; color: var(--brown); }
.drawer__foot { padding-top: 14px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 1.05rem; color: var(--brown); }
.drawer__total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); }
.drawer__clear { display: block; margin: 12px auto 0; background: none; border: none; color: var(--muted); font-size: .82rem; text-decoration: underline; }

/* Category sheet */
.drawer__panel--cat { max-height: 70vh; }
.catsheet {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  overflow-y: auto; padding-bottom: 10px;
}
.catsheet__item {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-2); border: 1px solid var(--cream-line);
  border-radius: 14px; padding: 12px 14px; text-align: left;
  font-weight: 700; color: var(--brown); font-size: .92rem;
}
.catsheet__item:active { transform: scale(.97); }
.catsheet__icon { font-size: 1.3rem; }
.catsheet__item.is-active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; z-index: 44; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; border: none;
  box-shadow: 0 10px 22px -8px rgba(0,0,0,.4);
  transition: transform .2s ease, opacity .2s ease;
}
.fab:active { transform: scale(.92); }
.fab--wa {
  right: 16px; bottom: calc(var(--h-bottomnav) + 16px + env(safe-area-inset-bottom));
  background: #25D366; color: #fff;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 10px 22px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.4); } 50% { box-shadow: 0 10px 22px -8px rgba(0,0,0,.4), 0 0 0 10px rgba(37,211,102,0); } }
.fab--top {
  left: 16px; bottom: calc(var(--h-bottomnav) + 16px + env(safe-area-inset-bottom));
  background: var(--cream-2); color: var(--maroon); border: 1px solid var(--gold-soft);
}
.fab[hidden] { display: none; }

/* When cart bar visible, lift the FABs */
body.cart-open .fab--wa,
body.cart-open .fab--top { transform: translateY(-56px); }

/* ---------- Bottom nav ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: var(--maxw); margin: 0 auto;
  height: calc(var(--h-bottomnav) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; align-items: stretch;
  background: rgba(255,253,248,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--cream-line);
}
.bottomnav__item {
  flex: 1; position: relative; border: none; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font-size: .66rem; font-weight: 600;
}
.bottomnav__item svg { color: var(--muted); }
.bottomnav__item--cart svg { color: var(--maroon); }
.bottomnav__badge {
  position: absolute; top: 6px; left: 54%; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--orange); color: #fff; border-radius: 9px;
  font-size: .62rem; font-weight: 800; display: grid; place-items: center;
}
.bottomnav__badge[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 70;
  display: grid; place-items: center; padding: 24px;
  background: rgba(46,36,29,.9); backdrop-filter: blur(4px);
  animation: fade .25s ease;
}
.lightbox__close { position: absolute; top: 16px; right: 18px; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; }
.lightbox__figure { text-align: center; }
.lightbox__art {
  width: min(320px, 74vw); aspect-ratio: 1; margin: 0 auto 16px;
  border-radius: 26px; display: grid; place-items: center; font-size: 7rem;
  background: linear-gradient(150deg, #FDEBDC, #F3D7BE);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  animation: pop .3s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__art.has-photo { font-size: 0; overflow: hidden; background: #EFE6D4; }
.lightbox__art.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox figcaption { color: #fff; font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; z-index: 80;
  bottom: calc(var(--h-bottomnav) + 84px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--brown); color: #fff; font-weight: 600; font-size: .86rem;
  padding: 10px 18px; border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  max-width: 84vw; text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive: tablet / desktop ---------- */
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 44px; }
  .bottomnav { display: none; }
  body { padding-bottom: 0; }
  .cartbar { bottom: 0; border-radius: 16px; margin-bottom: 16px; }
  .fab--wa { bottom: 20px; }
  .fab--top { bottom: 20px; }
  body.cart-open .fab--wa, body.cart-open .fab--top { transform: translateY(-64px); }
}
@media (min-width: 700px) {
  .chips { top: calc(var(--h-header) + var(--h-actionbar)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .card { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .actionbar, .searchwrap, .chips, .cartbar, .drawer,
  .fab, .bottomnav, .loader, .toast, .card__thumb, .price-chip__plus { display: none !important; }
  body { padding: 0; background: #fff; }
  .card { break-inside: avoid; box-shadow: none; border-color: #ddd; opacity: 1; transform: none; }
  .cards { grid-template-columns: 1fr 1fr; }
}
