/* v188 — the public 20% making-charges banner card, the Amrita ji dish photos,
   and a motion pass tuned for phones and tablets. Loaded last so it wins.
   Every animation is switched off for people who ask for reduced motion. */

/* ── Banner offer (home, for every customer) ─────────────────────────── */
.shv-offer-wrap { margin: 0 auto 18px; padding: 0 16px; }
.shv-offer-wrap[hidden] { display: none; }
.shv-offer-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px 16px; border-radius: 18px; text-decoration: none; color: #2a1d08;
  background: linear-gradient(135deg, #fbe7b2 0%, #e9c46a 46%, #c9952f 100%);
  box-shadow: 0 10px 30px -12px rgba(120, 80, 10, .55), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.shv-offer-card:hover, .shv-offer-card:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(120,80,10,.6), inset 0 1px 0 rgba(255,255,255,.6); }
.shv-offer-card:active { transform: scale(.985); }
.shv-offer-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%); animation: shv-offer-sweep 4.8s ease-in-out 1.2s infinite;
}
@keyframes shv-offer-sweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
.shv-offer-badge {
  align-self: flex-start; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(42,29,8,.88); color: #f7e3a4; font-weight: 600;
}
.shv-offer-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.shv-offer-pct { font-size: clamp(38px, 9vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.shv-offer-off { font-size: clamp(16px, 4vw, 20px); font-weight: 600; }
.shv-offer-sub { font-size: 14px; line-height: 1.45; max-width: 52ch; }
.shv-offer-code {
  display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(255,255,255,.55);
  letter-spacing: .06em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.shv-offer-go { margin-top: 4px; font-weight: 700; font-size: 14px; }

/* ── Amrita ji's dish cards: real photos ─────────────────────────────── */
.am-dish-art.has-photo { overflow: hidden; padding: 0; background: #1d1409; }
.am-dish-art.has-photo picture, .am-dish-art.has-photo img { display: block; width: 100%; height: 100%; }
.am-dish-art.has-photo img {
  object-fit: cover; transform: scale(1.02);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.am-dish:hover .am-dish-art.has-photo img, .am-dish.on .am-dish-art.has-photo img { transform: scale(1.09); }
.am-dish-art.has-photo::after { display: none; }
.am-dish-art.has-photo i { display: none; }

/* ── Motion: entrance for the offer card when it arrives ──────────────── */
@media (prefers-reduced-motion: no-preference) {
  .shv-offer-card { animation: shv-offer-in .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes shv-offer-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ── Phones and tablets ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .shv-offer-wrap { padding: 0 12px; margin-bottom: 14px; }
  .shv-offer-card { border-radius: 16px; padding: 16px 16px 14px; }
  .shv-offer-sub { font-size: 13px; }
  .am-dish-art.has-photo { width: 76px; height: 76px; border-radius: 14px; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .shv-offer-wrap { max-width: 720px; }
}

/* ── Reduced motion: keep everything, drop the movement ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .shv-offer-shine { animation: none; display: none; }
  .shv-offer-card, .am-dish-art.has-photo img { transition: none; }
  .shv-offer-card:hover, .shv-offer-card:focus-visible { transform: none; }
}

/* ── v189 · the same offer in the footer and the side menu (compact) ─── */
[data-banner-offer][hidden] { display: none !important; }
.shv-offer-foot { margin: 0 0 22px; }
.shv-offer-side { margin: 6px 12px 12px; }
.shv-offer-mini {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; color: inherit; border: 1px solid rgba(201,149,47,.55);
  background: linear-gradient(120deg, rgba(233,196,106,.22), rgba(201,149,47,.08));
  transition: background .3s ease, transform .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.shv-offer-mini:hover, .shv-offer-mini:focus-visible { transform: translateX(2px); background: linear-gradient(120deg, rgba(233,196,106,.34), rgba(201,149,47,.14)); }
.shv-offer-mini-pct { font-size: 22px; font-weight: 700; line-height: 1; color: #e9c46a; }
.shv-offer-mini-txt { font-size: 13px; line-height: 1.35; }
.shv-offer-mini-txt b { letter-spacing: .05em; }
@media (prefers-reduced-motion: reduce) { .shv-offer-mini, .shv-offer-mini:hover { transition: none; transform: none; } }

/* ── v190 · two offer cards side by side (stacked on phones), the free-delivery card ── */
.shv-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shv-offer-card.shv-offer-delivery {
  background: linear-gradient(135deg, #d9f2e3 0%, #8fd3a8 48%, #3d9b6a 100%);
  box-shadow: 0 10px 30px -12px rgba(20, 90, 50, .55), inset 0 1px 0 rgba(255,255,255,.55);
  color: #0d2b1b;
}
.shv-offer-card.shv-offer-delivery .shv-offer-badge { background: rgba(13,43,27,.88); color: #bdf0d2; }
.shv-offer-card.shv-offer-delivery .shv-offer-code { background: rgba(255,255,255,.6); }
.shv-offer-stack { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 640px) { .shv-offer-grid { grid-template-columns: 1fr; } }

/* ── v191 · the Premium card (free home delivery for life) ───────────── */
.shv-offer-card.shv-offer-premium {
  background: linear-gradient(135deg, #1d1630 0%, #3a2a5c 52%, #15102a 100%);
  color: #f5ecd0;
  box-shadow: 0 10px 30px -12px rgba(40, 20, 90, .7), inset 0 1px 0 rgba(233,196,106,.35);
}
.shv-offer-card.shv-offer-premium .shv-offer-badge { background: rgba(233,196,106,.95); color: #2a1d08; }
.shv-offer-card.shv-offer-premium .shv-offer-pct { color: #e9c46a; }
.shv-offer-card.shv-offer-premium .shv-offer-sub { color: #e8dcc0; }
.shv-premium-claim { all: unset; cursor: pointer; font-weight: 700; font-size: 14px; color: #e9c46a; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.shv-premium-claim:disabled { opacity: .6; cursor: default; }
.shv-premium-msg { font-size: 13px; color: #bdf0d2; min-height: 1em; }
.shv-premium-msg.bad { color: #ffb4a8; }
