/* Product cards with real pizza photos, size prices and topping price labels. */
.card .pic .pz-img {
  width: 100%; aspect-ratio: 1; height: auto; display: block; object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45));
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.card:hover .pic .pz-img { transform: rotate(8deg) scale(1.03); }
.card .pic .vmark { z-index: 1; }

/* S / M / L with the price under each letter */
.sizes button { width: 40px; height: 36px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; gap: 2px; }
.sizes .sz-p { font-size: 9.5px; font-weight: 700; opacity: .85; font-variant-numeric: tabular-nums; }
.sizes .sz-p:empty { display: none; }

/* topping chips: "Included" or "+₹20" */
.chip .tp { margin-top: -3px; font-size: 10px; font-weight: 700; color: var(--muted); opacity: .8; font-variant-numeric: tabular-nums; }
.chip.paid .tp { color: var(--gold, #f5b942); opacity: 1; }

@media (prefers-reduced-motion: reduce) { .card .pic .pz-img { transition: none; } }

/* "₹200 OFF" tag on the photo + crossed-out old price */
.card .pic .off {
  position: absolute; left: -2px; bottom: 8px; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 4px;
  border-radius: 6px 2px 2px 6px; background: linear-gradient(180deg, #2fbf4a, #158a2c); color: #fff;
  font: 800 10.5px/1.2 var(--f-ui); letter-spacing: .2px; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}
.card .pic .off i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: #ffd23f; color: #6b3b00; font: 900 9.5px/1 var(--f-ui); font-style: normal; }
.card .from s { color: var(--muted); font: 600 11.5px/1.2 var(--f-ui); opacity: .85; }

/* 12 toppings: two rows of six so the 3D pizza keeps its space */
.builder .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px 0; padding-block: 6px 10px; }
.builder .chip { gap: 3px; font-size: 9.5px; line-height: 1.15; }
.builder .chip .ico { width: 38px; height: 38px; border-width: 1.5px; }
.builder .chip .ico canvas { width: 28px; height: 28px; }
.builder .chip .badge { top: -4px; right: -5px; min-width: 16px; height: 16px; font-size: 8.5px; padding: 0 3px; }
.builder .chip .ring { inset: -5px; -webkit-mask: radial-gradient(circle, transparent 22px, #000 23px); mask: radial-gradient(circle, transparent 22px, #000 23px); }
.builder .chip .nm { min-height: 2.3em; display: flex; align-items: center; }
.builder .chip .tp { display: none; }   /* price stays in the aria-label and the total */

/* builder: no pizza-name line under the title (the element stays for the app code) */
.builder #pname { display: none; }

/* builder title in Zrestro red */
.builder .pname, .builder .pname .tx-l { color: #ff3b30; }
.builder .pname .tx-l { text-shadow: 0 2px 14px rgba(255, 59, 48, .35); }

/* menu header: Zrestro brand logo */
.mt-logo { overflow: hidden; background: #f0441f; }
.mt-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* "How your pizza is made": 3D step icons */
.how-steps i:has(.how-ico) { font-size: 0; margin-top: 4px; filter: drop-shadow(0 5px 5px rgba(120, 30, 0, .28)); }
.how-steps .how-ico { width: 48px; height: 48px; display: block; animation: how-bob 2.8s ease-in-out infinite; }
.how-steps li:nth-child(2) .how-ico { animation-delay: -.7s; }
.how-steps li:nth-child(3) .how-ico { animation-delay: -1.4s; }
.how-steps li:nth-child(4) .how-ico { animation-delay: -2.1s; }
@keyframes how-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@media (prefers-reduced-motion: reduce) { .how-steps .how-ico { animation: none; } }

/* "More flavours on the Zrestro app" banner: brand logo */
.ma-ico { overflow: hidden; background: #f0441f; }
.ma-ico img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* footer: room below so it is never cut off */
.menu .menu-foot { margin: 16px 0 24px; padding-bottom: env(safe-area-inset-bottom, 0); text-align: center; }

/* Happy Hour ₹99 badge: 3D green-and-gold coin (img/hh-coin.webp), glowing ripple ring and a light sweep */
.menu .hh .hh-pct {
  background: url(img/hh-coin.webp) center / 100% 100% no-repeat, radial-gradient(circle, #22b14c 60%, #c9962a 62%);
  color: #fff; text-shadow: 0 2px 4px rgba(0, 60, 20, .45);
  box-shadow: 0 10px 24px -8px #19a046, 0 0 0 0 rgba(255, 210, 80, .55);
  overflow: visible;
}
.menu .hh .hh-pct,
.menu .hh[data-mode="open"] .hh-pct { animation-name: hh-float, hh-pulse, hh-ripple; animation-duration: 2.6s, 7.8s, 1.8s; animation-timing-function: ease-in-out, ease-in-out, ease-out; animation-iteration-count: infinite; }
.menu .hh[data-mode="open"] .hh-pct { animation-name: wobble, hh-float, hh-pulse, hh-ripple; animation-duration: 2.6s, 2.6s, 7.8s, 1.8s; }
.menu .hh[data-mode="locked"] .hh-pct { filter: none; }
@keyframes hh-ripple {
  0% { box-shadow: 0 10px 24px -8px #19a046, 0 0 0 0 rgba(255, 210, 80, .6); }
  100% { box-shadow: 0 10px 24px -8px #19a046, 0 0 0 16px rgba(255, 210, 80, 0); }
}
/* shine sweeping across the price */
.menu .hh .hh-pct #hhPrice {
  background: linear-gradient(110deg, #fff 40%, #eaffc8 48%, #fff 56%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 2px rgba(0, 60, 20, .5));
  animation: hh-shine 2.4s linear infinite;
}
@keyframes hh-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .menu .hh .hh-pct, .menu .hh .hh-pct #hhPrice { animation: none !important; } }

/* trust chips as a marquee: endless slide to the left, pauses on touch / hover */
.menu .trust.marquee { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.menu .trust.marquee li { animation: trust-mq var(--mq-t, 18s) linear infinite; }
.menu .trust.marquee:hover li, .menu .trust.marquee:active li { animation-play-state: paused; }
@keyframes trust-mq { from { translate: 0 0; } to { translate: calc(-1 * var(--mq-w, 0px)) 0; } }
@media (prefers-reduced-motion: reduce) { .menu .trust.marquee { overflow-x: auto; } .menu .trust.marquee li { animation: none; } .menu .trust.marquee li[aria-hidden] { display: none; } }

/* header: room between the name and the ~60 min chip */
.menu .menu-top .mt-name { margin-right: 8px; }
.menu .menu-top .brand { font-size: clamp(14px, 4.4vw, 22px); letter-spacing: -.02em; }
.menu .mt-eta { padding: 0 10px; gap: 5px; }
.menu .mt-eta { margin-left: auto; }

/* ~60 min chip: ticking stopwatch, hand sweeps round, button clicks down, soft gold glow */
.mt-eta svg { overflow: visible; }
.mt-eta .eta-min { transform-origin: 12px 13px; animation: eta-sweep 4s linear infinite; }
.mt-eta .eta-hr { transform-origin: 12px 13px; animation: eta-sweep 48s linear infinite; }
.mt-eta .eta-top { transform-origin: 12px 2px; animation: eta-press 4s ease-in-out infinite; }
.mt-eta { animation: eta-glow 4s ease-in-out infinite; }
@keyframes eta-sweep { to { transform: rotate(360deg); } }
@keyframes eta-press { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(1.6px); } }
@keyframes eta-glow { 0%, 85%, 100% { box-shadow: 0 0 0 0 rgba(255, 197, 49, 0); } 92% { box-shadow: 0 0 0 3px rgba(255, 197, 49, .28), 0 0 14px rgba(255, 197, 49, .35); } }
@media (prefers-reduced-motion: reduce) { .mt-eta, .mt-eta .eta-min, .mt-eta .eta-hr, .mt-eta .eta-top { animation: none; } }

/* "Start Now": breathing glow, a light sweep across the button, and the pizza slice wiggles */
.menu .hero-cta { overflow: hidden; isolation: isolate; animation: cta-breathe 2.4s ease-in-out infinite; }
.menu .hero-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%) -150% 0 / 250% 100% no-repeat;
  animation: cta-sweep 2.4s ease-in-out infinite;
}
.menu .hero-cta .cta-slice { animation: cta-wiggle 2.4s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes cta-breathe { 0%, 100% { scale: 1; filter: drop-shadow(0 0 0 rgba(255, 190, 40, 0)); } 50% { scale: 1.035; filter: drop-shadow(0 0 14px rgba(255, 190, 40, .55)); } }
@keyframes cta-sweep { 0%, 35% { background-position: 150% 0; } 75%, 100% { background-position: -150% 0; } }
@keyframes cta-wiggle { 0%, 60%, 100% { rotate: 0deg; } 68% { rotate: -14deg; } 76% { rotate: 10deg; } 84% { rotate: -6deg; } 92% { rotate: 3deg; } }
@media (prefers-reduced-motion: reduce) { .menu .hero-cta, .menu .hero-cta::after, .menu .hero-cta .cta-slice { animation: none; } }

/* builder header: "Zrestro" wordmark with fire burning inside the letters */
.b-logo { position: relative; display: block; width: 92px; height: 27px; justify-self: center; animation: bl-glow 1.3s ease-in-out infinite alternate; }
.bl-word {
  position: absolute; inset: 0; display: block;
  background:
    radial-gradient(40% 55% at 20% 100%, rgba(255, 244, 170, .95), transparent 70%) 0 0 / 50% 100% repeat-x,
    radial-gradient(35% 60% at 70% 100%, rgba(255, 210, 70, .9), transparent 70%) 0 0 / 40% 100% repeat-x,
    linear-gradient(0deg, #ffe066 0%, #ffb02e 30%, #ff6a1a 60%, #e8261b 100%);
  -webkit-mask: url(img/zrestro-wordmark.webp) center / contain no-repeat; mask: url(img/zrestro-wordmark.webp) center / contain no-repeat;
  animation: bl-flicker 1.1s ease-in-out infinite alternate, bl-lick 2.2s linear infinite;
}
@keyframes bl-lick { to { background-position: 100% -6px, -80% -4px, 0 0; } }
@keyframes bl-flicker { 0% { filter: brightness(1) saturate(1.1); } 40% { filter: brightness(1.18) saturate(1.25); } 70% { filter: brightness(.95) saturate(1.05); } 100% { filter: brightness(1.12) saturate(1.2); } }
@keyframes bl-glow { from { filter: drop-shadow(0 0 3px rgba(255, 90, 20, .5)); } to { filter: drop-shadow(0 0 8px rgba(255, 140, 40, .8)); } }
@media (prefers-reduced-motion: reduce) { .b-logo, .bl-word { animation: none; } }

/* EN / हिं language button in the menu header */
.lang-btn {
  flex: none; height: 36px; min-width: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #ffe066, #ffc531 60%, #f6a90f); color: #3a0d05; border: 0;
  font: 800 13.5px/1 var(--f-ui); box-shadow: 0 6px 14px -6px rgba(255, 170, 20, .7);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.lang-btn:active { transform: scale(.92); }
.menu .menu-top { gap: 8px; }
/* Hindi: Devanagari needs a little more line height, and the long header name gets smaller */
.lang-hi body { line-height: 1.5; }
.lang-hi .menu .menu-top .brand { font-size: clamp(13px, 4vw, 20px); }
.lang-hi .mt-eta { font-size: 12px; }
/* header with the language button: keep logo, name, time and button on one row */
.menu .mt-logo { width: 42px; height: 42px; flex: none; }
.menu .menu-top .brand { font-size: clamp(13px, 4.1vw, 22px); }
.menu .mt-eta { padding: 0 9px; gap: 4px; font-size: 12px; height: 34px; }
.menu .mt-eta svg { width: 15px; height: 15px; }
.lang-btn { height: 34px; min-width: 36px; padding: 0 8px; font-size: 13px; }
