/* ================================================================
   Khor Kuthi — customer app (mobile-first)
   ================================================================ */
:root {
  --red: #B3261E; --red-d: #7E1710; --saffron: #F4A52A; --yellow: #FFD166;
  --green: #2F7A35; --leaf: #4C9A3F; --purple: #5B2A86; --teal: #0F7C80;
  --cream: #FFF8EC; --paper: #FFFDF8; --ink: #2B1A12; --muted: #7A6A5D; --line: #F0E2CC;
  --radius: 18px;
  --shadow: 0 6px 20px -8px rgba(110, 42, 16, .28);
  --shadow-lg: 0 18px 40px -12px rgba(110, 42, 16, .45);
  --font: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --display: 'Baloo Da 2', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(rgba(244,165,42,.13) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; position: relative; overflow-x: clip; }
.hidden { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 22px 18px 74px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,209,102,.35) 0, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(91,42,134,.55) 0, transparent 45%),
    linear-gradient(150deg, #C8321F 0%, var(--red) 45%, var(--red-d) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M18 22h20l-3 18q-7 3-14 0z' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M24 18q-3-4 0-8M32 18q3-4 0-8' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}
.hero::after { /* wavy bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38px;
  background: var(--cream);
  -webkit-mask: radial-gradient(28px 22px at 50% 0, transparent 98%, #000) 0 0/56px 100%;
          mask: radial-gradient(28px 22px at 50% 0, transparent 98%, #000) 0 0/56px 100%;
}
.hero-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.hero-logo {
  width: 84px; height: 84px; flex: none; border-radius: 50%; background: #fff; padding: 3px;
  box-shadow: 0 0 0 4px rgba(255,209,102,.55), 0 10px 24px rgba(0,0,0,.25);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-4px) rotate(-2deg); } }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 29px; line-height: 1.05; margin: 0; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.hero .sub { font-family: var(--display); font-weight: 600; color: var(--yellow); font-size: 17px; margin-top: 2px; }
.hero .tag { font-size: 14px; opacity: .92; margin-top: 4px; }
.hero-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 6px 12px;
  font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25); text-decoration: none; color: #fff;
}
.chip-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #7CFC8A; box-shadow: 0 0 0 3px rgba(124,252,138,.3); }
.chip-pill.closed .dot { background: #ffb3b3; box-shadow: 0 0 0 3px rgba(255,179,179,.3); }

.hut-card {
  position: relative; z-index: 2; margin: -58px 16px 0; border-radius: 22px; padding: 14px 16px;
  background: linear-gradient(120deg, var(--purple), #7B3FB0); color: #fff; box-shadow: var(--shadow-lg); z-index: 5;
  display: flex; align-items: center; gap: 14px; border: 2px solid rgba(255,209,102,.6);
}
.hut-card .hut-num {
  flex: none; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--yellow); color: var(--purple); font-family: var(--display); font-weight: 800; font-size: 32px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
}
.hut-card b { font-family: var(--display); font-size: 20px; display: block; line-height: 1.1; }
.hut-card small { opacity: .9; font-size: 13.5px; }
.hut-card.browse { background: linear-gradient(120deg, #3a3a3a, #5a4a3a); }
.hut-card.browse .hut-num { font-size: 28px; }

/* ---------- Notice banners ---------- */
.banner { margin: 14px 16px 0; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; display: flex; gap: 10px; align-items: center; }
.banner.warn { background: #FFF1D6; border: 1px solid #F6CF85; color: #7A4A00; }
.banner.info { background: #E9F6EA; border: 1px solid #B8DFBB; color: #1F5E25; }
.banner a.btn-mini { margin-left: auto; white-space: nowrap; }
.btn-mini { background: var(--red); color: #fff; border: 0; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 13px; text-decoration: none; }

/* ---------- Sticky search + categories ---------- */
.sticky { position: sticky; top: 0; z-index: 20; background: rgba(255,248,236,.94); backdrop-filter: blur(10px); padding: 12px 0 8px; margin-top: 10px; }
.sticky.shadow { box-shadow: 0 6px 18px -12px rgba(0,0,0,.35); }
.search { display: block; margin: 0 16px; position: relative; }
.search input {
  width: 100%; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 14px 11px 42px;
  font: inherit; font-size: 15.5px; outline: none; transition: .2s;
}
.search input:focus { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(244,165,42,.18); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: flex; align-items: center; gap: 6px; border: 2px solid var(--line); background: #fff;
  border-radius: 99px; padding: 7px 14px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: .2s;
}
.cat .ic { font-size: 18px; }
.cat.active { color: #fff; border-color: transparent; background: var(--c, var(--red)); box-shadow: 0 6px 14px -6px var(--c, var(--red)); transform: translateY(-1px); }

/* ---------- Sections ---------- */
main { padding: 4px 0 130px; }
.section { padding: 14px 16px 4px; scroll-margin-top: 120px; }
.section-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.section-h .badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--c); box-shadow: 0 6px 14px -6px var(--c); }
.section-h h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1; }
.section-h small { color: var(--muted); font-size: 13px; display: block; }

/* Popular carousel */
.pop-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 16px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pop-row::-webkit-scrollbar { display: none; }
.pop {
  flex: none; width: 150px; scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); position: relative; border: 1px solid var(--line);
}
.pop .ph { height: 104px; }
.pop .bd { padding: 8px 10px 10px; }
.pop .nm { font-weight: 700; font-size: 15px; line-height: 1.2; height: 36px; overflow: hidden; }
.pop .pr { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 18px; }
.pop .add-fab { position: absolute; right: 8px; top: 72px; }

/* Item card */
.item {
  display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 10px; margin-bottom: 12px;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; transition: transform .15s;
}
.item:active { transform: scale(.99); }
.item .ph { width: 96px; height: 96px; flex: none; border-radius: 14px; }
.item .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item .nm { font-weight: 700; font-size: 16.5px; line-height: 1.2; display: flex; gap: 6px; align-items: flex-start; }
.item .en { color: var(--muted); font-size: 12.5px; }
.item .ds { color: var(--muted); font-size: 13.5px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 6px; }
.price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--red); line-height: 1; }
.price small { font-family: var(--font); font-weight: 500; font-size: 11.5px; color: var(--muted); display: block; }
.item.sold { opacity: .6; }
.item.sold .ph { filter: grayscale(1); }
.sold-tag { background: #eee; color: #666; border-radius: 99px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; }
.hot { position: absolute; top: -7px; left: 12px; background: linear-gradient(90deg, var(--saffron), #FF7A3D); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; box-shadow: 0 4px 10px -4px #FF7A3D; }

/* photo / emoji tile */
.ph { position: relative; overflow: hidden; background: var(--c, var(--saffron)); display: grid; place-items: center; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .emo { font-size: 44px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.ph.gen { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.45), transparent 55%), var(--c, var(--saffron)); }

/* veg mark */
.vg { flex: none; width: 15px; height: 15px; border: 2px solid #2E8B3A; border-radius: 3px; display: grid; place-items: center; margin-top: 3px; }
.vg::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2E8B3A; }
.vg.egg { border-color: #D9A400; } .vg.egg::after { background: #D9A400; }
.vg.nonveg { border-color: #B3261E; } .vg.nonveg::after { background: #B3261E; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.vg.none { display: none; }

/* Add buttons & stepper */
.add {
  border: 0; background: linear-gradient(180deg, #3E9B45, var(--green)); color: #fff; font-weight: 700; font-size: 15px;
  padding: 8px 16px; border-radius: 12px; box-shadow: 0 6px 12px -6px var(--green); display: inline-flex; gap: 4px; align-items: center;
}
.add:active { transform: scale(.95); }
.add-fab { width: 38px; height: 38px; border-radius: 50%; padding: 0; justify-content: center; font-size: 22px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--green); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { border: 0; background: #E9F6EA; color: var(--green); width: 34px; height: 34px; font-size: 20px; font-weight: 700; }
.stepper span { min-width: 32px; text-align: center; font-weight: 800; color: var(--green); font-size: 16px; }
.custom-note { font-size: 11.5px; color: var(--muted); text-align: right; margin-top: 2px; }

.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.empty .big { font-size: 52px; }

/* ---------- Cart bar ---------- */
.cartbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); width: calc(100% - 28px); max-width: 612px; z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 18px; border: 0; color: #fff; text-align: left;
  background: linear-gradient(110deg, #2F7A35, #3FA046); box-shadow: 0 16px 30px -10px rgba(47,122,53,.7);
  transition: transform .3s cubic-bezier(.2,1.4,.4,1), opacity .2s;
}
.cartbar.off { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.cartbar.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: translateX(-50%) scale(1.04); } 60% { transform: translateX(-50%) scale(.98); } }
.cartbar .cnt { background: rgba(255,255,255,.22); border-radius: 12px; padding: 4px 10px; font-weight: 800; font-size: 15px; }
.cartbar .tt { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; }
.cartbar .tt small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; opacity: .9; }
.cartbar .go { margin-left: auto; font-weight: 700; display: flex; align-items: center; gap: 4px; font-size: 16px; }

/* ---------- Bottom sheet ---------- */
.overlay { position: fixed; inset: 0; background: rgba(30,12,6,.55); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 105%); width: 100%; max-width: 640px; z-index: 70;
  background: var(--paper); border-radius: 26px 26px 0 0; max-height: 92vh; display: flex; flex-direction: column;
  transition: transform .32s cubic-bezier(.2,.9,.3,1); box-shadow: 0 -20px 40px -20px rgba(0,0,0,.4);
}
.sheet.on { transform: translate(-50%, 0); }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: #DCCBB3; margin: 9px auto 0; flex: none; }
.sheet .x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; z-index: 2; }
.sheet .scroll { overflow-y: auto; padding: 0 18px 18px; -webkit-overflow-scrolling: touch; }
.sheet .foot { padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; display: flex; gap: 12px; align-items: center; flex: none; }
.sheet h3 { font-family: var(--display); font-size: 24px; font-weight: 800; margin: 12px 0 0; line-height: 1.1; }
.sheet .sh-ph { height: 180px; margin: 10px -18px 0; border-radius: 0; }
.sheet .sh-ph.gen .emo { font-size: 84px; }

.og { margin-top: 18px; }
.og-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.og-h b { font-size: 16.5px; }
.og-h .req { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--red); border-radius: 99px; padding: 1px 8px; }
.og-h .opt { font-size: 11.5px; font-weight: 700; color: var(--muted); background: #F1E7D8; border-radius: 99px; padding: 1px 8px; }
.og.err .og-h b { color: var(--red); }
.og.err { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn {
  border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 9px 14px; font-size: 15px; font-weight: 600;
  display: inline-flex; gap: 6px; align-items: center; color: var(--ink); transition: .15s;
}
.opt-btn small { color: var(--muted); font-weight: 600; }
.opt-btn.on { background: #FFF1D6; border-color: var(--saffron); color: #6E3A00; box-shadow: 0 4px 10px -6px var(--saffron); }
.opt-btn.on::before { content: "✓"; font-weight: 800; color: var(--saffron); }
textarea, .inp {
  width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; outline: none;
}
textarea:focus, .inp:focus { border-color: var(--saffron); }
.big-btn {
  flex: 1; border: 0; border-radius: 16px; padding: 14px 16px; font-size: 17px; font-weight: 800; color: #fff;
  background: linear-gradient(100deg, var(--red), #D8452A); box-shadow: 0 10px 20px -10px var(--red);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.big-btn.green { background: linear-gradient(100deg, var(--green), #3FA046); box-shadow: 0 10px 20px -10px var(--green); }
.big-btn.purple { background: linear-gradient(100deg, var(--purple), #8146B8); box-shadow: 0 10px 20px -10px var(--purple); }
.big-btn[disabled] { opacity: .6; }
.big-btn.center { justify-content: center; }

/* cart lines */
.cl { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cl .ph { width: 54px; height: 54px; border-radius: 12px; flex: none; }
.cl .ph .emo { font-size: 26px; }
.cl .mid { flex: 1; min-width: 0; }
.cl .nm { font-weight: 700; }
.cl .op { font-size: 13px; color: #8A5A1F; background: #FFF4DC; border-radius: 8px; padding: 2px 8px; display: inline-block; margin-top: 3px; }
.cl .nt { font-size: 12.5px; color: var(--muted); font-style: italic; }
.cl .rt { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cl .stepper button { width: 30px; height: 30px; font-size: 18px; }
.cl .stepper span { min-width: 26px; font-size: 15px; }
.bill { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-top: 14px; }
.bill .r { display: flex; justify-content: space-between; padding: 3px 0; }
.bill .r.tot { border-top: 2px dashed var(--line); margin-top: 6px; padding-top: 8px; font-family: var(--display); font-size: 21px; font-weight: 800; }
.lbl { font-weight: 700; font-size: 14.5px; margin: 14px 0 6px; display: block; }
.lbl small { color: var(--muted); font-weight: 500; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 16px; transform: translate(-50%, -150%); z-index: 99; background: var(--ink); color: #fff;
  border-radius: 14px; padding: 10px 16px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .3s, opacity .3s; max-width: 90%; opacity: 0; pointer-events: none;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Order / payment page ---------- */
.topbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(120deg, var(--red), var(--red-d)); color: #fff; }
.topbar img { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 2px; }
.topbar b { font-family: var(--display); font-size: 19px; line-height: 1; }
.topbar small { display: block; opacity: .85; font-size: 12.5px; }
.topbar .back { margin-left: auto; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.18); padding: 6px 12px; border-radius: 99px; }
.card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; margin: 14px 16px; }
.ord-head { display: flex; align-items: center; gap: 12px; }
.ord-head .hut-num { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--purple); color: var(--yellow); font-family: var(--display); font-size: 28px; font-weight: 800; flex: none; }
.ord-head b { font-family: var(--display); font-size: 21px; display: block; line-height: 1.1; }
.ord-head .amt { margin-left: auto; text-align: right; font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--red); line-height: 1; }
.ord-head .amt small { display: block; font-family: var(--font); font-size: 12px; color: var(--muted); font-weight: 600; }
.pay-title { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 0 0 4px; }
.muted { color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: #fff; font-weight: 800; font-size: 14px; margin-right: 6px; }
.upi-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.upi-app { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 2px solid var(--line); background: #fff; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--ink); }
.upi-app .lg { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.qr-box { display: flex; flex-direction: column; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(160deg, #FFF4DC, #fff); border: 2px dashed var(--saffron); margin: 10px 0; }
.qr-box .qr { background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
.qr-box .qr img, .qr-box .qr canvas { width: 200px; height: 200px; image-rendering: pixelated; }
.upi-id { display: flex; gap: 8px; align-items: center; margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 12px; font-weight: 700; }
.upi-id button { border: 0; background: var(--purple); color: #fff; border-radius: 9px; padding: 6px 10px; font-weight: 700; font-size: 13px; }
.utr-inp { font-size: 22px; letter-spacing: 3px; text-align: center; font-weight: 700; font-family: var(--display); }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.status-hero { text-align: center; padding: 18px 10px 6px; }
.status-hero .ico { width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 48px; }
.status-hero .ico.ok { background: radial-gradient(circle, #6FD07A, var(--green)); box-shadow: 0 0 0 10px rgba(63,160,70,.15), 0 0 0 22px rgba(63,160,70,.07); animation: pop .6s cubic-bezier(.2,1.6,.4,1); color: #fff; }
.status-hero .ico.wait { background: radial-gradient(circle, #FFE19A, var(--saffron)); box-shadow: 0 0 0 10px rgba(244,165,42,.15); }
.status-hero .ico.wait span { animation: spin 2.2s linear infinite; display: inline-block; }
.status-hero .ico.bad { background: radial-gradient(circle, #FF9A8F, var(--red)); color: #fff; }
@keyframes pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.status-hero h2 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 6px 0 2px; }
.tracker { display: flex; justify-content: space-between; position: relative; margin: 18px 4px 6px; }
.tracker::before { content: ""; position: absolute; left: 22px; right: 22px; top: 20px; height: 4px; background: #EADBC4; border-radius: 4px; }
.tracker .bar { position: absolute; left: 22px; top: 20px; height: 4px; background: linear-gradient(90deg, var(--green), #6FD07A); border-radius: 4px; transition: width .6s; }
.tracker .st { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 25%; font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; }
.tracker .st i { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid #EADBC4; display: grid; place-items: center; font-style: normal; font-size: 20px; transition: .3s; }
.tracker .st.done { color: var(--green); }
.tracker .st.done i { border-color: var(--green); background: #E9F6EA; }
.tracker .st.cur i { animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,160,70,.5); } 100% { box-shadow: 0 0 0 14px rgba(63,160,70,0); } }
.oi { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.oi:last-child { border-bottom: 0; }
.oi .q { font-weight: 800; color: var(--purple); min-width: 28px; }
.oi .n { flex: 1; }
.oi .n small { display: block; color: #8A5A1F; font-size: 13px; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.footer { text-align: center; color: var(--muted); font-size: 12.5px; padding: 10px 16px 30px; }
.footer a { color: var(--red); font-weight: 700; text-decoration: none; }

@media (min-width: 700px) {
  .hero { border-radius: 0 0 28px 28px; }
  .item .ph { width: 110px; height: 110px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ================================================================
   v2 — photo hero, taglines, offers, membership, gallery, prices
   ================================================================ */
.hero { padding: 0; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; background: #1a0d08; }
.hero::before { display: none; }
.hero::after { z-index: 3; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.08); }
.slide.on { opacity: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.0); } }
.slide .cap { position: absolute; right: 12px; top: 12px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,.45); padding: 3px 10px; border-radius: 99px; backdrop-filter: blur(4px); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(20,8,4,0) 0%, rgba(20,8,4,.05) 30%, rgba(90,18,10,.72) 70%, rgba(126,23,16,.95) 100%); }
.hero .slide { filter: brightness(1.12) saturate(1.1); }
.hero-in { position: relative; z-index: 2; padding: 90px 18px 74px; }
.hero h1 { font-size: 34px; }
.tagline { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; margin-top: 12px; color: #FFF4DC; min-height: 50px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5); transition: opacity .5s, transform .5s; }
.tagline.out { opacity: 0; transform: translateY(8px); }
.dots { display: flex; gap: 6px; margin-top: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255,255,255,.45); transition: .3s; }
.dots i.on { width: 22px; background: var(--yellow); }

/* offers */
.offers { display: flex; gap: 12px; overflow-x: auto; padding: 16px 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.offers::-webkit-scrollbar { display: none; }
.offer { flex: none; width: 82%; max-width: 360px; scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 20px; padding: 14px 16px 14px 72px;
  color: #fff; text-decoration: none; background: radial-gradient(circle at 100% 0, rgba(255,255,255,.25), transparent 45%), var(--c); box-shadow: 0 12px 22px -14px var(--c); min-height: 86px; }
.offer .oe { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 28px; }
.offer .ob { display: inline-block; font-size: 11px; font-weight: 800; background: var(--yellow); color: #3a2000; border-radius: 99px; padding: 1px 8px; margin-bottom: 3px; }
.offer b { display: block; font-family: var(--display); font-size: 18px; line-height: 1.15; }
.offer small { display: block; opacity: .92; font-size: 13px; line-height: 1.3; margin-top: 2px; }

/* VIP strip */
.vip { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 18px; text-decoration: none; color: #3a2000;
  background: linear-gradient(110deg, #FFE7A3, #F7C44C 45%, #FFE7A3 70%, #F2B536); background-size: 200% 100%; animation: shine 4s linear infinite;
  box-shadow: 0 10px 20px -12px #B7860B; border: 1px solid #E8B640; }
@keyframes shine { to { background-position: -200% 0; } }
.vip .crown { font-size: 30px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.2)); }
.vip b { display: block; font-family: var(--display); font-size: 17px; line-height: 1.1; }
.vip small { font-size: 12.5px; font-weight: 600; }
.vip .go { margin-left: auto; background: #3a2000; color: #FFD166; border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: 13px; white-space: nowrap; }

/* prices */
.price { display: inline-flex; align-items: baseline; gap: 1px; background: linear-gradient(180deg, #FFF6E3, #FFE9BF); border: 1.5px solid #F6CF85;
  color: var(--red-d); border-radius: 12px; padding: 4px 10px 2px; font-size: 21px; }
.price .cur { font-size: .7em; font-weight: 700; margin-right: 1px; }
.price small { display: none; }
.custom-tag { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.pop .pr { display: inline-flex; align-items: baseline; background: #FFF1D6; border-radius: 10px; padding: 1px 8px; margin-top: 4px; }
.sheet .price { margin-top: 8px; }

/* member / whatsapp in cart */
.member-ok { margin-top: 8px; background: linear-gradient(110deg, #FFF1C7, #FFE08A); border: 1px solid #E8B640; border-radius: 12px; padding: 8px 12px; font-weight: 700; color: #5A3B00; font-size: 14px; }
.wa-opt { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 14.5px; background: #E8FBEF; border: 1px solid #A8E6BE; border-radius: 12px; padding: 8px 12px; }
.wa-opt input { width: 20px; height: 20px; accent-color: #25D366; }
.bill .r.disc { color: #8A5A00; font-weight: 700; }

/* gallery */
.gal { padding: 18px 0 6px; }
.gal-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-row::-webkit-scrollbar { display: none; }
.gal figure { flex: none; margin: 0; width: 150px; height: 210px; border-radius: 18px; overflow: hidden; position: relative; scroll-snap-align: start; box-shadow: var(--shadow); cursor: zoom-in; }
.gal figure img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; gap: 10px; color: #fff; font-weight: 600; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; }

/* bill buttons on order page */
.bill-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bill-btns a { text-align: center; text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 9px; border: 2px solid var(--line); background: #fff; color: var(--ink); }

/* membership page */
.plans { display: grid; gap: 14px; padding: 0 16px; }
.plan { position: relative; border-radius: 22px; padding: 18px; color: #fff; overflow: hidden; box-shadow: 0 16px 30px -16px var(--c);
  background: radial-gradient(circle at 110% -10%, rgba(255,255,255,.35), transparent 45%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, #000)); }
.plan h3 { margin: 0; font-family: var(--display); font-size: 26px; display: flex; align-items: center; gap: 8px; }
.plan .pc { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; margin: 6px 0 2px; }
.plan .pc small { font-size: 14px; font-weight: 600; opacity: .9; }
.plan .off { position: absolute; right: 14px; top: 14px; background: var(--yellow); color: #3a2000; border-radius: 16px; padding: 6px 10px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; }
.plan .off small { display: block; font-size: 11px; font-family: var(--font); }
.plan ul { margin: 10px 0 14px; padding: 0; list-style: none; }
.plan li { padding: 3px 0; font-size: 14.5px; }
.plan li::before { content: "✓ "; font-weight: 800; color: var(--yellow); }
.plan button { width: 100%; border: 0; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 16px; background: #fff; color: var(--c); }
