/* Droppins customer website: shared design (Phase 4).
   Tokens copied from 04_Brand_Design/.../droppins_ui_kit/design/tokens.css.
   Do not add new colours here; use the variables. */

:root {
  --p: #16A34A;   --pd: #15803D;  --pl: #DCFCE7;
  --bg: #F5FAF6;  --ln: #E2ECE5;
  --ink: #0F172A; --mu: #64748B;  --label: #475569;
  --or: #EA580C;  --orl: #FFEDD5;
  --red: #DC2626; --redl: #FEE2E2;
  --am: #F59E0B;  --aml: #FEF3C7;
  --bl: #2563EB;  --bll: #DBEAFE;
  --hero: linear-gradient(160deg, #22C55E, #16A34A 55%, #15803D);
  --font-head: 'Outfit', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Work Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-card: 22px; --r-btn: 16px; --r-tile: 14px; --r-sheet: 28px; --r-pill: 999px;
  --sh-card: 0 6px 22px rgba(15, 23, 42, .06);
  --sh-cta: 0 8px 20px rgba(22, 163, 74, .28);
  --sh-float: 0 4px 12px rgba(15, 23, 42, .08);
  --pad: 20px; --gap: 12px; --tab-h: 84px; --cta-h: 54px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.45 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--ink); }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { display: none; }
svg.i { flex: none; display: inline-block; vertical-align: middle; }

/* page frame: phone width, centred on big screens */
.dp-page { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; padding-bottom: 24px; }
.dp-page.has-tabs { padding-bottom: calc(var(--tab-h) + 16px); }
.dp-page.has-cta { padding-bottom: 120px; }
.px { padding-left: var(--pad); padding-right: var(--pad); }

/* type */
.hd { font-family: var(--font-head); letter-spacing: -.3px; }
.h-tab { font: 800 28px/1.1 var(--font-head); letter-spacing: -.5px; margin: 0; }
.h-page { font: 700 22px/1.15 var(--font-head); letter-spacing: -.4px; margin: 0; }
.h-sec { font: 800 20px/1.2 var(--font-head); letter-spacing: -.4px; margin: 0; }
.h-card { font: 700 16px/1.25 var(--font-head); letter-spacing: -.3px; margin: 0; }
.mu { color: var(--mu); }
.sm { font-size: 12px; }
.b { font-weight: 700; }
.green { color: var(--pd); }
.red { color: var(--red); }
.lbl { font: 700 11px/1.3 var(--font-body); letter-spacing: .9px; text-transform: uppercase; color: var(--label); }
.money { font-family: var(--font-head); font-weight: 700; letter-spacing: -.3px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* top bar for pages with back button */
.topbar { display: flex; align-items: center; gap: 14px; padding: 18px var(--pad) 14px; }
.topbar .t { flex: 1; min-width: 0; }
.topbar .sub { color: var(--mu); font-size: 14px; margin-top: 2px; }
.ibtn { width: 44px; height: 44px; border-radius: var(--r-tile); background: #fff; box-shadow: var(--sh-float); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink); position: relative; }
.ibtn.round { border-radius: 50%; }
.ibtn.glass { background: rgba(255,255,255,.2); box-shadow: none; color: #fff; }
.ibtn .dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }

/* hero header (home, profile) */
.hero { background: var(--hero); color: #fff; border-radius: 0 0 30px 30px; padding: 22px var(--pad) 24px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.07); top: -120px; right: -110px; }
.hero::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.05); bottom: -120px; left: -80px; }
.hero > * { position: relative; z-index: 1; }

/* cards */
.card { background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-card); }
.card.pad { padding: 16px; }
.card.outline { box-shadow: none; border: 1.5px solid var(--ln); }
.card.sel { box-shadow: none; border: 2px solid var(--p); }
.card + .card, .stack > * + * { margin-top: var(--gap); }
.divider { height: 1px; background: var(--ln); margin: 14px 0; border: 0; }
.dash { border-top: 1.5px dashed var(--ln); margin: 14px 0; }

/* list rows (profile, about) */
.rows { padding: 4px 16px; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.rows .row + .row { border-top: 1px solid var(--ln); }
.row .t { flex: 1; min-width: 0; }
.row .t .h { font-weight: 700; font-size: 15px; }
.row .t .s { color: var(--mu); font-size: 13px; margin-top: 1px; }
.row .chev { color: #94A3B8; }

/* icon tiles */
.tile { width: 40px; height: 40px; border-radius: var(--r-tile); display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--pl); color: var(--pd); }
.tile.lg { width: 48px; height: 48px; }
.tile.or { background: var(--orl); color: #C2410C; }
.tile.red { background: var(--redl); color: var(--red); }
.tile.am { background: var(--aml); color: #B45309; }
.tile.bl { background: var(--bll); color: #1D4ED8; }
.tile.grey { background: #F1F5F9; color: #475569; }

/* tags + pills */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); font: 700 11px/1.4 var(--font-body); white-space: nowrap; }
.tag.lg { padding: 5px 12px; font-size: 13px; }
.tag .d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.t-green { background: var(--pl); color: var(--pd); }
.t-orange { background: var(--orl); color: #C2410C; }
.t-red { background: var(--redl); color: var(--red); }
.t-amber { background: var(--aml); color: #B45309; }
.t-blue { background: var(--bll); color: #1D4ED8; }
.t-grey { background: #F1F5F9; color: #475569; }
.pills { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--pad); scrollbar-width: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); font: 600 14px/1.3 var(--font-body); background: #fff; border: 1px solid var(--ln); white-space: nowrap; color: var(--ink); cursor: pointer; }
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.gon { background: var(--pl); color: var(--pd); border: 1.5px solid var(--p); }

/* buttons */
.cta { height: var(--cta-h); display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--r-btn); background: var(--p); color: #fff; font: 700 17px var(--font-head); letter-spacing: -.3px; box-shadow: var(--sh-cta); width: 100%; cursor: pointer; }
.cta.secondary { background: #fff; color: var(--ink); border: 1px solid var(--ln); box-shadow: none; }
.cta.wa { background: #25D366; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.cta:disabled, .cta.off { background: #A7DDB8; box-shadow: none; cursor: default; }
.cta.split { justify-content: space-between; padding: 0 22px; }
.btn-sm { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 12px; background: var(--p); color: #fff; font: 700 14px var(--font-head); }
.link { color: var(--pd); font: 700 14px var(--font-head); letter-spacing: -.2px; display: inline-flex; align-items: center; gap: 6px; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 16px 26px; background: linear-gradient(180deg, rgba(245,250,246,0), var(--bg) 26%); z-index: 50; }
.bottom-bar .in { max-width: 448px; margin: 0 auto; }
.bottom-bar .note { text-align: center; color: var(--mu); font-size: 12px; margin-top: 10px; }

/* inputs */
.field { width: 100%; height: 52px; border-radius: 16px; border: 1px solid var(--ln); background: #fff; padding: 0 16px; font-size: 15px; outline: none; }
.field:focus { border: 2px solid var(--p); box-shadow: 0 0 0 4px rgba(22,163,74,.12); }
textarea.field { height: auto; min-height: 52px; padding: 14px 16px; resize: none; }
.search { display: flex; align-items: center; gap: 12px; height: 52px; background: #fff; border-radius: 16px; padding: 0 16px; box-shadow: var(--sh-float); }
.search input { flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; min-width: 0; }
.search input::placeholder { color: #94A3B8; }
.search.focus { border: 2px solid var(--p); box-shadow: 0 0 0 4px rgba(22,163,74,.12); }
.search .sep { width: 1px; height: 26px; background: var(--ln); }

/* toggle */
.toggle { width: 52px; height: 30px; border-radius: 15px; background: #CBD5E1; position: relative; flex: none; cursor: pointer; transition: background .2s; }
.toggle.on { background: var(--p); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.toggle.on::after { left: 25px; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.seg span { padding: 7px 14px; border-radius: 999px; font: 700 14px var(--font-body); color: var(--label); cursor: pointer; }
.seg span.on { background: var(--p); color: #fff; }

/* tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: var(--tab-h); background: #fff; border-top: 1px solid var(--ln); z-index: 60; }
.tabbar .in { max-width: 480px; margin: 0 auto; display: flex; justify-content: space-around; padding-top: 10px; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 5px; font: 600 12px var(--font-body); color: #94A3B8; width: 76px; position: relative; }
.tabbar a.on { color: var(--pd); }
.tabbar .badge { position: absolute; top: -4px; right: 16px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--or); color: #fff; font: 700 11px/18px var(--font-body); text-align: center; }

/* veg mark */
.veg { width: 14px; height: 14px; border: 1.5px solid var(--p); border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.veg::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--p); }
.veg.non { border-color: var(--red); } .veg.non::after { background: var(--red); }

/* photos */
.photo { border-radius: 16px; overflow: hidden; background: var(--pl); flex: none; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .letter { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 800 28px var(--font-head); color: var(--pd); }
.photo.grey img { filter: grayscale(1); opacity: .6; }

/* steppers */
.add { height: 40px; min-width: 96px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--p); background: #fff; color: var(--pd); font: 800 16px var(--font-head); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.add.off { border-color: var(--ln); color: #94A3B8; cursor: default; }
.qty { height: 40px; min-width: 96px; border-radius: 14px; background: var(--p); color: #fff; display: inline-flex; align-items: center; justify-content: space-between; font: 800 17px var(--font-head); box-shadow: var(--sh-cta); }
.qty button { width: 34px; height: 40px; color: #fff; font: 800 20px var(--font-head); }
.qty.line { background: #fff; color: var(--pd); border: 2px solid var(--p); box-shadow: none; height: 36px; min-width: 84px; }
.qty.line button { color: var(--pd); height: 32px; width: 28px; }

/* bill */
.bill .r { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; color: var(--mu); font-size: 15px; }
.bill .r span:last-child { color: var(--ink); }
.bill .total { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: 8px; border-top: 1.5px solid var(--ln); font: 800 18px var(--font-head); }

/* banners */
.note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; font-size: 14px; }
.note.am { background: var(--aml); border: 1px solid #FDE68A; color: #78350F; }
.note.or { background: var(--orl); color: #9A3412; }
.note.gr { background: var(--pl); color: var(--pd); }
.note.red { background: var(--redl); color: #991B1B; }
.note.bl { background: var(--bll); color: #1E3A8A; }

/* sheet + overlay */
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 90; display: none; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; background: #fff; border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: 12px var(--pad) 28px; max-width: 480px; margin: 0 auto; transform: translateY(110%); transition: transform .25s ease; max-height: 85vh; overflow-y: auto; }
.sheet.open { transform: none; }
.sheet .handle { width: 40px; height: 5px; border-radius: 3px; background: #CBD5E1; margin: 0 auto 14px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; z-index: 120; opacity: 0; transition: all .25s; pointer-events: none; max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* skeleton + empty */
.sk { background: linear-gradient(90deg, #E9F1EB 25%, #F3F8F4 50%, #E9F1EB 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 48px 24px; }
.empty .tile { width: 72px; height: 72px; border-radius: 24px; margin-bottom: 14px; }
.empty .h { font: 700 18px var(--font-head); margin-bottom: 6px; }
.empty .s { color: var(--mu); margin-bottom: 18px; }

/* stars */
.stars { display: flex; gap: 14px; justify-content: center; }
.stars button { color: #CBD5E1; }
.stars button.on { color: var(--am); }

/* utilities */
.flex { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; } .gap14 { gap: 14px; }
.grow { flex: 1; min-width: 0; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; }
.center { text-align: center; }
.hide { display: none !important; }

/* Sticky cart bar on every page (dp_cart_strip) */
.cartstrip { position: fixed; left: 12px; right: 12px; bottom: 18px; z-index: 58; max-width: 456px; margin: 0 auto; background: linear-gradient(160deg, #22C55E, #16A34A); border-radius: 20px; padding: 8px 8px 8px 10px; display: flex; align-items: center; gap: 12px; color: #fff; box-shadow: var(--sh-cta); animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.has-tabs ~ .cartstrip, .tabbar ~ .cartstrip { bottom: calc(var(--tab-h) + 10px); }
.cartstrip .th { width: 42px; height: 42px; border-radius: 13px; border: 2px solid #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); flex: none; }
.cartstrip .th img { width: 100%; height: 100%; object-fit: cover; }
.cartstrip .go { background: #fff; color: var(--pd); height: 42px; padding: 0 14px; border-radius: 14px; font: 800 15px var(--font-head); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.with-cart .dp-page { padding-bottom: calc(var(--tab-h) + 100px) !important; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Auto-adjust to the phone (Ayush, 27 Nov 2026): same layout, text stays normal size */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.t, .grow, .h, .s { overflow-wrap: anywhere; }
img, svg, video { max-width: 100%; }
@media (max-width: 360px) {
  :root { --pad: 14px; --gap: 10px; }
  body { font-size: 13.5px; }
  .h-tab { font-size: 26px !important; }
  .h-page { font-size: 20px; }
  .h-sec { font-size: 18px; }
  .ibtn { width: 40px; height: 40px; }
  .cta { font-size: 16px; height: 50px; }
  .pill { padding: 7px 12px; font-size: 13px; }
  .tabbar a { width: 64px; font-size: 11px; }
  .add, .qty { min-width: 84px; }
  .card.pad { padding: 14px; }
}
@media (max-width: 330px) {
  .tabbar a span { font-size: 10px; }
  .cartstrip .go { padding: 0 10px; font-size: 14px; }
}
@media (min-height: 860px) { .dp-page { padding-top: env(safe-area-inset-top); } }
.pills > * { flex: none; }
.cartstrip .grow { min-width: 0; }
.cartstrip .grow .sm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Refined look (Ayush, 27 Nov 2026: "sab bada bada, cartoonic lag raha, depth add karo").
   Smaller, lighter type + layered shadows + hairline borders. Delete this block to go back. */
:root {
  --r-card: 18px; --r-btn: 14px; --r-tile: 12px;
  --hair: rgba(15, 23, 42, .06);
  --sh-card: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 6px rgba(15, 23, 42, .04), 0 10px 24px -6px rgba(15, 23, 42, .08);
  --sh-float: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -4px rgba(15, 23, 42, .10);
  --sh-cta: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 2px 4px rgba(21, 128, 61, .18), 0 10px 22px -6px rgba(22, 163, 74, .45);
  --cta-h: 50px;
}
body { font-size: 14px; color: #111827; }
.h-tab { font-weight: 700; font-size: 24px; letter-spacing: -.4px; }
.h-page { font-size: 20px; }
.h-sec { font-weight: 700; font-size: 17px; letter-spacing: -.3px; }
.h-card { font-weight: 600; font-size: 15px; }
.card { border: 1px solid var(--hair); }
.card.outline { border: 1px solid var(--ln); }
.ibtn { width: 40px; height: 40px; border: 1px solid var(--hair); }
.ibtn.glass { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero { border-radius: 0 0 24px 24px; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 8px 24px -10px rgba(21, 128, 61, .5); }
.tile { width: 38px; height: 38px; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset; }
.tag { font-weight: 600; }
.tag.lg { padding: 4px 10px; font-size: 12px; }
.pill { padding: 7px 13px; font-size: 13px; font-weight: 500; border-color: var(--hair); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.pill.on { background: linear-gradient(180deg, #1E293B, #0F172A); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 4px 10px -2px rgba(15, 23, 42, .35); }
.cta { font-size: 16px; font-weight: 600; background: linear-gradient(180deg, #1DB954, #16A34A 60%, #15803D); }
.cta:active, .btn-sm:active, .add:active, .card:active { transform: scale(.985); }
.cta, .btn-sm, .add, .card { transition: transform .12s ease, box-shadow .2s; }
.cta.secondary { background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.btn-sm { height: 34px; font-weight: 600; font-size: 13px; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 4px 10px -3px rgba(22, 163, 74, .5); }
.link { font-weight: 600; font-size: 13px; }
.search { height: 48px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .04); box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 20px -8px rgba(15, 23, 42, .25); }
.search input { font-size: 14px; }
.field { height: 48px; border-radius: 14px; font-size: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04) inset; }
.add { height: 34px; min-width: 84px; border-width: 1.5px; font-weight: 700; font-size: 14px; border-radius: 12px; box-shadow: 0 2px 6px -2px rgba(22, 163, 74, .3); }
.qty { height: 34px; min-width: 84px; font-weight: 700; font-size: 15px; border-radius: 12px; }
.qty button { height: 34px; font-size: 18px; font-weight: 700; }
.photo .letter { font-weight: 700; font-size: 24px; }
.bill .total { font-weight: 700; font-size: 17px; }
.empty .h { font-weight: 600; font-size: 17px; }
.tabbar { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-top: 1px solid var(--hair); box-shadow: 0 -6px 20px -10px rgba(15, 23, 42, .15); }
.tabbar a { font-weight: 500; font-size: 11px; }
.tabbar a.on { font-weight: 600; }
.cartstrip { border-radius: 18px; background: linear-gradient(180deg, #1DB954, #16A34A 60%, #15803D); }
.cartstrip .go { font-weight: 700; font-size: 14px; height: 40px; box-shadow: 0 2px 6px rgba(15, 23, 42, .15); }
.toast { font-weight: 500; box-shadow: 0 10px 30px -8px rgba(15, 23, 42, .5); }
.sheet { box-shadow: 0 -10px 40px -10px rgba(15, 23, 42, .3); }
