:root {
  --green: #1F4D2B; --green-2: #2E6B3D; --maroon: #8B1E2D; --maroon-2: #A52A3A; --yellow: #F2B705;
  --cream: #FFF8EC; --card: #FFFFFF; --ink: #23201C; --muted: #6B6358; --line: #E8DCC6; --ok: #1E7B3A;
  --err: #B3261E; --radius: 14px;
  --font: "Noto Sans Devanagari", "Mukta", "Hind", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 var(--font); padding-bottom: 96px; }
small { font-size: .8em; color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.hp { position: absolute; left: -5000px; height: 0; width: 0; opacity: 0; }

.hero { background: linear-gradient(160deg, var(--green) 0%, #163A20 70%); color: #fff; padding: 16px 14px 22px; }
.hero-in { max-width: 640px; margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kicker { margin: 0; font-weight: 800; letter-spacing: 2px; color: var(--yellow); font-size: 14px; }
.lang { display: inline-flex; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: 14px; font-weight: 700; color: #F4EEDF; background: none; border: 0; border-radius: 999px; padding: 6px 11px; min-height: 36px; cursor: pointer; }
.lang button[aria-pressed=true] { background: var(--yellow); color: #2A2000; }
.hero h1 { margin: 10px 0 6px; font-size: 25px; line-height: 1.25; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--yellow); }
.hero .sub { margin: 0 0 10px; color: #F4EEDF; font-size: 15px; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 7px 8px; font-weight: 600; font-size: 13px; line-height: 1.35; text-align: center; }

main { max-width: 640px; margin: -12px auto 0; padding: 0 12px; position: relative; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(60, 40, 10, .08); padding: 16px; margin-bottom: 14px; border: 1px solid #F0E6D3; }
h2 { font-size: 19px; margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
h2 .n { background: var(--maroon); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 14px; flex: none; align-self: center; }
.hint { margin: -4px 0 12px; color: var(--muted); font-size: 14px; }
.banner { background: var(--yellow); color: #3A2A00; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-weight: 600; }

.round { display: grid; gap: 8px; }
.round .line { display: flex; gap: 12px; align-items: flex-start; }
.round .lbl { display: block; font-size: 13.5px; color: var(--muted); }
.sub2 { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.round .ic { font-size: 22px; line-height: 1.2; }
.round b { display: block; font-size: 17px; }
.countdown { display: inline-block; margin-top: 4px; background: #FDECEE; color: var(--maroon); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 14px; }
.loading { color: var(--muted); }

.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pack { border: 2px solid var(--line); border-radius: 12px; padding: 12px 10px 10px; position: relative; background: #FFFDF8; transition: border-color .15s, background .15s; display: flex; flex-direction: column; }
.pack.on { border-color: var(--maroon); background: #FFF4F2; }
.pack .badge { position: absolute; top: -11px; left: 8px; right: 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.pack .kg { font-size: 22px; font-weight: 800; color: var(--green); margin-top: 2px; }
.pack .price { font-size: 26px; font-weight: 800; color: var(--maroon); line-height: 1.1; margin: 2px 0; }
.pack .was { text-decoration: line-through; color: var(--muted); font-size: 14px; margin-left: 4px; font-weight: 400; }
.pack .per { font-size: 13px; color: var(--muted); }
.pack .save { display: inline-block; align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; background: #FFF1C2; color: #6A4A00; border-radius: 999px; padding: 1px 8px; font-size: 12.5px; font-weight: 700; }
.step { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 6px; }
.step button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 24px; font-weight: 700; color: var(--green); cursor: pointer; touch-action: manipulation; }
.step button:disabled { opacity: .35; }
.step .q { font-size: 20px; font-weight: 800; min-width: 28px; text-align: center; }
.step .add { flex: 1; width: auto; min-width: 0; background: var(--green); color: #fff; border: 0; font-size: 16px; white-space: nowrap; }

.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; }
label b, legend b { color: var(--err); }
input[type=text], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1.5px solid #D9CCB3; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(242, 183, 5, .7); outline-offset: 1px; border-color: var(--green); }
.invalid input, .invalid select, .invalid .tel { border-color: var(--err); }
.field-error { color: var(--err); font-size: 14px; margin: 6px 0 0; font-weight: 600; }
.field-msg { font-size: 14px; margin: 6px 0 0; font-weight: 600; }
.field-msg.ok { color: var(--ok); }
.field-msg.bad { color: var(--err); }
.tel { display: flex; border: 1.5px solid #D9CCB3; border-radius: 10px; overflow: hidden; background: #fff; }
.tel span { padding: 12px 10px; background: #F6EFE1; font-weight: 700; color: var(--muted); }
.tel input { border: 0; border-radius: 0; }
.row3 { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 8px; }
.row3 .field { margin-bottom: 4px; }
.row3 label { font-size: 15px; }

.combo { position: relative; }
.combo ul { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1.5px solid #D9CCB3; border-radius: 10px; max-height: 280px; overflow: auto; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.combo li { padding: 11px 10px; border-radius: 8px; cursor: pointer; }
.combo li small { display: block; }
.combo li[aria-selected=true], .combo li:hover { background: #FFF4D6; }
.combo li.other { border-top: 1px dashed var(--line); font-weight: 700; color: var(--maroon); }
.combo .empty { color: var(--muted); cursor: default; }
.picked { margin-top: 6px; font-size: 14px; color: var(--ok); font-weight: 600; }

.radios { display: grid; gap: 8px; }
.radio { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.radio input { width: 22px; height: 22px; accent-color: var(--maroon); }
.pay { background: #EEF6EF; border: 1px solid #CFE6D3; border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; text-align: center; font-weight: 700; color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-bottom: 14px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--green); flex: none; }
.coupon summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 6px 0; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; text-transform: uppercase; }

.btn { font: inherit; border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 800; cursor: pointer; min-height: 48px; touch-action: manipulation; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.btn small { color: inherit; opacity: .85; font-weight: 600; }
.btn.primary { background: var(--maroon); color: #fff; }
.btn.primary[disabled] { background: #B9A8A0; }
.btn.wa { background: #1FA855; color: #fff; }
.btn.ghost { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn.alt { background: var(--green); color: #fff; }
.link { background: none; border: 0; color: var(--maroon); text-decoration: underline; font: inherit; font-size: 14px; padding: 4px 0; cursor: pointer; }

.err-summary { background: #FDECEC; border: 1.5px solid var(--err); color: var(--err); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-weight: 600; }
.err-summary ul { margin: 6px 0 0; padding-left: 20px; }
.privacy { text-align: center; color: var(--muted); font-size: 13.5px; margin: 4px 0 8px; }
.contact-line { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.contact-line a, .foot a { color: var(--green); font-weight: 700; }

.bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); z-index: 8; }
.bar-in { max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.bar .sum { flex: none; min-width: 92px; }
.bar .sum b { display: block; font-size: 22px; color: var(--maroon); line-height: 1.1; }
.bar .btn { flex: 1; font-size: 18px; }

.done { text-align: left; }
.done .tick { font-size: 44px; line-height: 1; }
.done h2, .closed h2 { display: block; color: var(--ok); margin-top: 6px; }
.closed h2 { color: var(--maroon); }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 14px 0; }
.done dt { color: var(--muted); font-size: 14px; }
.done dd { margin: 0; font-weight: 700; }
.done .amount { font-size: 24px; color: var(--maroon); }
.done .actions { display: grid; gap: 10px; margin-top: 14px; }
.done .note { background: #FFF8E1; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.closed { text-align: center; }
.closed .big { font-size: 42px; }

.foot { text-align: center; color: var(--muted); font-size: 13.5px; padding: 8px 16px 20px; }
.foot p { margin: 4px 0; }
[hidden] { display: none !important; }

@media (min-width: 560px) {
  .hero h1 { font-size: 32px; }
  .packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step button { width: 38px; height: 40px; }
}
@media (max-width: 359px) {
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .field:first-child { grid-column: 1 / -1; }
  .pack .price { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
