/* GlamLipCare shop — "Pocket" app design. Layout: phone-app column with a bottom tab bar; product and checkout screens slide over from the right. */
:root {
  --bg: #f8f1f3; --outer: #efe3e7; --surface: #ffffff; --fg: #2b1720; --muted: #7f6670; --line: #ead9df; --field: #f4eaee;
  --accent: #a3124f; --accent-fg: #ffffff; --gold: #a57a2c; --ok: #1f9d6a; --err: #c62f3b; --tint: #f2dde5;
  --font-d: "Fraunces", Georgia, "Times New Roman", serif;
  --font-b: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #130c0f; --outer: #0c0709; --surface: #1d1418; --fg: #f6e9ee; --muted: #b49aa5; --line: #36262d; --field: #271b20;
    --accent: #ff5f98; --accent-fg: #22070f; --gold: #e2bb72; --ok: #4fd39d; --err: #ff7a84; --tint: #2c1a21;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--outer); color: var(--fg); font: 15px/1.5 var(--font-b); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#app { height: 100%; }

.app { position: relative; height: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }
@media (min-width: 600px) { .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgb(0 0 0 / .12); } }
.views { position: relative; flex: 1; min-height: 0; }
.view { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pad { padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 22px; }
.view.enter .pad { animation: rise .32s ease; }
.pad > * { flex-shrink: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* top bars */
.bar { display: flex; align-items: center; gap: 12px; padding-top: 16px; min-height: 60px; }
.bar h1 { margin: 0; flex: 1; font: 700 1.8rem/1.1 var(--font-d); letter-spacing: -.01em; }
.logo { flex: 1; font: 700 1.75rem/1 var(--font-d); color: var(--accent); letter-spacing: -.01em; }
.logo small { display: block; font: 800 .56rem var(--font-b); letter-spacing: .34em; color: var(--gold); margin-top: 4px; }
.iconbtn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--surface); color: var(--fg); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: transform .12s; }
.iconbtn:active { transform: scale(.9); }
.iconbtn svg, .tab svg, .igband svg, .bigicon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.iconbtn.soft { background: var(--tint); color: var(--accent); }
.banner { background: var(--accent); color: var(--accent-fg); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .9rem; text-align: center; }
.hello { margin: -6px 0 0; color: var(--muted); }
.hello b, .hello h1 { display: block; margin: 0; color: var(--fg); font: 500 1.4rem/1.25 var(--font-d); }
.note { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--tint); color: var(--fg); font-weight: 600; }

/* hero carousel */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
.carousel::-webkit-scrollbar, .chips::-webkit-scrollbar, .rowscroll::-webkit-scrollbar, .track::-webkit-scrollbar { display: none; }
.hero { position: relative; flex: 0 0 88%; scroll-snap-align: center; aspect-ratio: 4 / 4.4; max-width: 100%; border: 0; padding: 0; border-radius: 26px; overflow: hidden; cursor: pointer; background: var(--field); text-align: left; }
.carousel .hero:only-child { flex-basis: 100%; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.hero:active { transform: scale(.985); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgb(20 6 12 / 0) 50%, rgb(20 6 12 / .72) 100%); pointer-events: none; }
.hero .cap { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; color: #fff; display: grid; gap: 3px; }
.hero small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.hero b { font: 500 1.65rem/1.1 var(--font-d); }
.cdots { display: flex; justify-content: center; gap: 6px; margin-top: -12px; }
.cdots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: .3s; }
.cdots i.on { width: 22px; background: var(--accent); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.chip { flex: none; font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: -10px; }
.sec-h h2 { margin: 0; font: 600 1.25rem var(--font-d); }
.sec-h button { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: .88rem; cursor: pointer; padding: 6px 0; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; background: var(--surface); border-radius: 22px; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 8px; color: var(--fg); text-decoration: none; transition: transform .15s; }
.card:active { transform: scale(.97); }
.cardlink { position: absolute; inset: 0; z-index: 1; border: 0; background: none; border-radius: 22px; cursor: pointer; display: block; }
.card .ph { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 8px; left: 8px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--surface); color: var(--fg); }
.tag.out { background: var(--fg); color: var(--bg); }
.card > b { font-size: .95rem; line-height: 1.25; padding: 0 4px; }
.card .pr { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 4px; font-weight: 800; min-height: 34px; }
.card .pr s, .pp s { color: var(--muted); font-weight: 500; font-size: .85em; }
.card .pr small { color: var(--muted); font-weight: 700; }
.plus { position: relative; z-index: 2; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-fg); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: transform .12s; }
.plus:active { transform: scale(.85); }
.sw { width: 62%; aspect-ratio: 1; max-width: 100%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, rgb(255 255 255 / .55), transparent 42%), var(--hue); box-shadow: inset 0 -8px 18px rgb(0 0 0 / .22), 0 10px 22px rgb(0 0 0 / .12); }
.sw b { font: italic 600 clamp(.9rem, 4vw, 1.3rem) var(--font-d); color: rgb(255 255 255 / .9); }
.sw.big { width: 56%; } .sw.big b { font-size: 2.2rem; }
.card.sk .ph { background: var(--field); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.rowscroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.rowscroll .card { flex: 0 0 44%; }
.promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.promise div { background: var(--surface); border-radius: 16px; padding: 12px 10px; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.promise b { display: block; color: var(--fg); font-size: .9rem; margin-bottom: 2px; }
.igband { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--tint); color: var(--fg); text-decoration: none; }
.igband > svg:first-child { color: var(--accent); width: 28px; height: 28px; }
.igband span { flex: 1; min-width: 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.igband b { display: block; color: var(--fg); font-size: 1rem; }
.foot { display: grid; gap: 10px; color: var(--muted); font-size: .8rem; padding-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot a { color: var(--muted); }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 36px 12px; color: var(--muted); }
.empty b { color: var(--fg); font: 600 1.3rem var(--font-d); }
.bigicon { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.bigicon svg { width: 30px; height: 30px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 0 20px; border-radius: 16px; border: 0; font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.pri { background: var(--accent); color: var(--accent-fg); }
.btn.soft { background: var(--tint); color: var(--accent); }
.btn.ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 12px; }
.btn.big { min-height: 56px; }
.btn.wide { width: 100%; }
.btn.grow { flex: 1; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--accent); font-weight: 700; cursor: pointer; }
.linkbtn:disabled { color: var(--muted); cursor: default; }

/* bag */
.line { position: relative; border-radius: 20px; overflow: hidden; background: var(--err); }
.line .del { position: absolute; right: 0; top: 0; bottom: 0; width: 96px; border: 0; background: none; color: #fff; font-weight: 800; cursor: pointer; }
.line .in { position: relative; background: var(--surface); padding: 12px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; touch-action: pan-y; transition: transform .25s; }
.line .ph, .osum-p .ph { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.line .ph img, .osum-p .ph img { width: 100%; height: 100%; object-fit: cover; }
.line .ph .sw, .osum-p .ph .sw { width: 70%; }
.li b { display: block; }
.li small { color: var(--muted); }
.li .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-weight: 800; }
.qty { display: inline-flex; align-items: center; flex: none; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); }
.qty button { width: 42px; height: 48px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.qty.sm button { width: 36px; height: 38px; }
.tip { margin: -12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.box { background: var(--surface); border-radius: 20px; padding: 16px; display: grid; gap: 10px; }
.box > div { display: flex; justify-content: space-between; gap: 12px; }
.box .t { border-top: 1px dashed var(--line); padding-top: 10px; font-weight: 800; font-size: 1.1rem; }
.box.flat { border: 1px solid var(--line); }
.hint { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.hint.c { text-align: center; }

/* account */
.me { background: var(--surface); border-radius: 22px; padding: 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.me > div:not(.two) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.me b { display: block; font-size: 1.05rem; }
.me small { color: var(--muted); }
.me.col .two { flex-basis: 100%; }
.av { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font: 700 1.4rem var(--font-d); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.list { background: var(--surface); border-radius: 22px; overflow: hidden; }
.list > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 600; }
.list > *:last-child { border-bottom: 0; }
.list .muted { color: var(--muted); font-weight: 500; }
.navlist a svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.order > div:first-child { min-width: 0; display: grid; gap: 2px; }
.order small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.ord-r { display: grid; justify-items: end; gap: 8px; flex: none; }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); white-space: nowrap; }
.pill.s-Delivered, .pill.s-Shipped { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.pill.s-Cancelled { background: var(--field); color: var(--muted); }
.fine { margin: 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* tab bar */
.tabs { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.tab { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--muted); font-weight: 700; font-size: .7rem; cursor: pointer; }
.tab svg { width: 24px; height: 24px; transition: transform .2s; }
.tab.on { color: var(--accent); }
.tab.on svg { transform: translateY(-2px); }
.tab .badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-fg); font-size: .66rem; display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.tab .badge.on { transform: scale(1); }
.tab .badge.pop { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 50% { transform: scale(1.5); } }

/* screens that slide over */
.screen { position: absolute; inset: 0; z-index: 20; background: var(--bg); display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .34s cubic-bezier(.2,.85,.25,1), visibility 0s .34s; }
.screen.on { transform: none; visibility: visible; box-shadow: -20px 0 40px rgb(0 0 0 / .14); transition: transform .34s cubic-bezier(.2,.85,.25,1); }
.scr-top { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); }
.scr-top b { font: 600 1.1rem var(--font-d); }
.scr-top .sp { flex: 1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.steps span { display: grid; gap: 5px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps span::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.steps span.on { color: var(--fg); }
.steps span.on::before { background: var(--accent); }
.scr-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 18px; }
.scr-body > * { flex-shrink: 0; }
.scr-body.enter { animation: slidein .3s ease; }
@keyframes slidein { from { opacity: 0; transform: translateX(16px); } }
.screen.bare .scr-body { padding: 0 0 24px; gap: 0; }
.actbar { display: flex; gap: 10px; align-items: center; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); }

/* product screen */
.gal { position: relative; }
.gal .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal .track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; scroll-snap-align: start; }
.gal-art { aspect-ratio: 1 / .9; display: grid; place-items: center; }
.gal .count { position: absolute; right: 16px; bottom: 16px; font-weight: 700; font-size: .8rem; padding: 6px 10px; border-radius: 999px; background: rgb(20 8 14 / .55); color: #fff; }
.iconbtn.float { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top, 0px)); left: max(14px, env(safe-area-inset-left, 0px)); box-shadow: 0 4px 14px rgb(0 0 0 / .16); }
.pinfo { padding: 20px max(18px, env(safe-area-inset-right, 0px)) 8px max(18px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 12px; }
.eyebrow { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pinfo h1, .policy h1, .form h1, .h { margin: 0; font: 600 2rem/1.08 var(--font-d); letter-spacing: -.01em; text-wrap: balance; }
.form h1, .h { font-size: 1.65rem; }
.pp { font-size: 1.4rem; font-weight: 800; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.pp small { flex-basis: 100%; font-size: .78rem; color: var(--muted); font-weight: 600; }
.pinfo p { margin: 0; color: var(--muted); line-height: 1.6; }
.pinfo .lede { color: var(--fg); font-size: 1.05rem; }
.acc { border-top: 1px solid var(--line); margin-top: 4px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding-bottom: 16px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.sub { margin: -4px 0 0; color: var(--muted); }
.sub b { color: var(--fg); overflow-wrap: anywhere; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.fld small { color: var(--muted); font-size: .8rem; }
.fld input, .fld select { font: inherit; font-size: 16px; width: 100%; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); outline: none; transition: border-color .15s; }
.fld input:focus, .fld select:focus { border-color: var(--accent); }
.fld input.code { text-align: center; letter-spacing: .5em; font-size: 1.6rem; font-weight: 800; padding-left: calc(14px + .5em); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--field); }
.seg button { border: 0; background: none; min-height: 42px; border-radius: 12px; font-weight: 700; font-size: .9rem; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 2px 8px rgb(0 0 0 / .08); }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.error { margin: 0; color: var(--err); font-weight: 600; font-size: .9rem; }
.okmsg { margin: 0; color: var(--ok); font-weight: 600; font-size: .9rem; }
.osum { display: grid; gap: 12px; }
.osum-p { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.osum-p .ph { width: 64px; height: 64px; }
.osum-p b { display: block; }
.osum-p small, .muted { color: var(--muted); }
.shipto { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border-radius: 18px; padding: 14px 16px; }
.shipto div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.shipto small { color: var(--muted); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.shipto span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.methods { display: grid; gap: 10px; }
.method { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s; }
.method[aria-checked="true"] { border-color: var(--accent); background: var(--tint); }
.method .dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.method[aria-checked="true"] .dot { border-color: var(--accent); }
.method[aria-checked="true"] .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.method b { display: block; }
.method small { color: var(--muted); }

/* UPI */
.upi { background: var(--surface); border-radius: 22px; padding: 16px; display: grid; gap: 12px; }
.upi > small { color: var(--muted); font-weight: 700; }
.upi-id { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--field); }
.upi-id code { flex: 1; min-width: 0; font-size: 1.02rem; font-weight: 800; overflow-wrap: anywhere; color: var(--fg); }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.qr summary { cursor: pointer; font-weight: 700; color: var(--accent); padding: 4px 0; }
.qr-box { width: min(240px, 100%); margin: 10px auto; padding: 10px; border-radius: 16px; background: #fff; }
.qr-box svg { width: 100%; height: auto; display: block; }
.howto { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--muted); }
.howto b { color: var(--fg); }

/* done */
.done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 24px 6px; }
.done svg { width: 96px; height: 96px; }
.done circle { fill: none; stroke: var(--ok); stroke-width: 4; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .6s ease forwards; }
.done path { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .35s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { margin: 0; font: 600 2.2rem var(--font-d); }
.done p { margin: 0; color: var(--muted); max-width: 34ch; line-height: 1.55; }
.done p b { color: var(--fg); }

/* policy pages */
.policy { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; max-width: 65ch; }
.policy h2 { margin: 12px 0 0; font: 600 1.2rem var(--font-d); }
.policy p, .policy li { margin: 0; color: var(--muted); line-height: 1.65; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.policy b { color: var(--fg); }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.missing { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--fg); padding: 0 4px; border-radius: 4px; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.policy-nav a { padding: 8px 12px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 700; font-size: .85rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: max-content; max-width: min(calc(100% - 32px), 480px); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 14px; background: #241219; color: #fff; font-weight: 700; font-size: .9rem; line-height: 1.35; box-shadow: 0 10px 30px rgb(0 0 0 / .25); transition: .25s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* coming soon: blurred teaser photo */
.veil { position: relative; overflow: hidden; }
.veil img { filter: blur(5px) saturate(1.1); transform: scale(1.06); }
.gal.veil .track img { filter: blur(9px) saturate(1.1); transform: scale(1.06); }
.veil-txt { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / .82); color: #2b1720; font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 18px rgb(0 0 0 / .12); }
.veil-txt.big { padding: 12px 22px; font-size: .95rem; }
.card .pr small { font-size: .78rem; }

/* card buttons */
.card { justify-content: flex-start; }
.cacts { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: auto; padding: 0 2px; }
.cacts .btn { min-height: 40px; padding: 0 8px; font-size: .84rem; border-radius: 12px; width: 100%; }
.cacts.one .btn { font-size: .78rem; }

/* home slider motion: each slide moves differently, a soft sheen passes over the photos, captions arrive in steps */
.hero img { transform-origin: 50% 50%; object-position: 50% 45%; animation: kb-in 9s ease-in-out infinite alternate; will-change: transform; }
.hero:nth-child(2) img { animation-name: kb-pan; animation-duration: 10s; }
.hero:nth-child(3) img { animation-name: kb-out; animation-duration: 9.5s; }
.carousel .hero img.tall { object-position: 50% 0%; transform-origin: 50% 0%; }
@keyframes kb-in { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes kb-pan { from { transform: scale(1.08) translateX(-2.2%); } to { transform: scale(1.08) translateX(2.2%); } }
@keyframes kb-out { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; z-index: 2; inset: -30% -60%; pointer-events: none; background: linear-gradient(105deg, rgb(255 255 255 / 0) 42%, rgb(255 255 255 / .26) 50%, rgb(255 255 255 / 0) 58%); transform: translateX(-60%); animation: sheen 5.5s cubic-bezier(.45,.05,.25,1) infinite; }
.hero:nth-child(2)::before { animation-delay: 1.8s; }
.hero:nth-child(3)::before { animation-delay: 3.6s; }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.hero .cap > * { animation: capin .6s cubic-bezier(.2,.8,.2,1) both; }
.hero .cap > :nth-child(2) { animation-delay: .1s; }
.hero .cap > :nth-child(3) { animation-delay: .2s; }
.carousel .hero:not(.on) .cap > * { animation: none; }
@keyframes capin { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.hero small { display: inline-flex; align-items: center; gap: 8px; }
.hero small::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .8; }
.carousel.intro .hero { animation: heroin .9s cubic-bezier(.2,.8,.2,1) both; }
.carousel.intro .hero:nth-child(2) { animation-delay: .12s; }
.carousel.intro .hero:nth-child(3) { animation-delay: .24s; }
@keyframes heroin { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.cdots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; transition: width .3s, background .3s; }
.cdots button { position: relative; overflow: hidden; }
.cdots button.on { width: 28px; background: color-mix(in srgb, var(--accent) 28%, transparent); }
.cdots button.on::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: dotfill 3.5s linear both; }
@keyframes dotfill { from { transform: scaleX(0); } }

.navlist .sub2 { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.foot .footmail { color: var(--fg); font-weight: 700; text-decoration: none; font-size: .9rem; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img, .tabs-brand img { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 4px 14px rgb(163 18 79 / .25); }
.logo > span { display: block; font-size: 1.35rem; color: var(--fg); }
.tabs-brand img { width: 50px; height: 50px; }

/* ---------- Big screens: full-width shop with a top menu ---------- */
.tabs-brand { display: none; }
@media (min-width: 860px) {
  body { background: var(--bg); }
  .app { max-width: none; box-shadow: none; }
  .tabs { order: -1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(32px, calc((100% - 1116px) / 2)) 10px; border-top: 0; border-bottom: 1px solid var(--line); }
  .tabs-brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font: 700 1.5rem/1 var(--font-d); color: var(--fg); letter-spacing: -.01em; }
  .tabs-brand > span { display: block; }
  .tabs-brand small { display: block; font: 800 .56rem var(--font-b); letter-spacing: .34em; color: var(--gold); margin-top: 4px; }
  .tab { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: .92rem; }
  .tab svg { width: 20px; height: 20px; }
  .tab.on { background: var(--tint); }
  .tab.on svg { transform: none; }
  .tab .badge { position: static; transform: scale(0); width: 0; min-width: 0; padding: 0; overflow: hidden; }
  .tab .badge.on { transform: none; width: auto; min-width: 20px; padding: 0 6px; height: 20px; font-size: .72rem; }

  .pad { max-width: 1180px; margin: 0 auto; padding: 8px 32px 56px; gap: 28px; }
  #view[data-tab="bag"] .pad, #view[data-tab="me"] .pad { max-width: 760px; }
  #view[data-tab="home"] .pad > .bar { display: none; }
  .bar h1 { font-size: 2.4rem; }
  .hello { margin-top: 18px; }
  .hello b, .hello h1 { font-size: 2.4rem; }
  .carousel, .chips, .rowscroll { margin: 0; padding: 0; }
  .hero { flex: 0 0 calc((100% - 24px) / 3); aspect-ratio: 1 / 1; }
  .carousel:has(.hero:nth-child(3):last-child) + .cdots, .carousel:has(.hero:nth-child(2):last-child) + .cdots { display: none; }
  .hero b { font-size: 2rem; }
  .carousel .hero:not(.on) .cap > * { animation: capin .6s cubic-bezier(.2,.8,.2,1) both; }
  .hero:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(43 23 32 / .18); }
  .cdots { margin-top: -16px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .rowscroll .card { flex: 0 0 calc(25% - 15px); }
  .card { padding: 10px 10px 14px; }
  .card:hover .ph img { transform: scale(1.04); }
  .card .ph img { transition: transform .5s ease; }
  .promise div { padding: 18px; font-size: .9rem; }
  .promise b { font-size: 1.05rem; }

  /* checkout and policy screens: one centred column */
  .scr-top, .steps { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
  .scr-top { padding-top: 22px; }
  .scr-body { align-items: center; padding: 16px 20px 48px; }
  .scr-body > * { width: 100%; max-width: 720px; }
  .actbar { padding-left: max(20px, calc((100% - 720px) / 2)); padding-right: max(20px, calc((100% - 720px) / 2)); }

  /* product screen: photos left, details right */
  .screen.bare .scr-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 32px max(32px, calc((100% - 1116px) / 2)) 48px; }
  .screen.bare .scr-body > * { max-width: none; }
  .gal { position: sticky; top: 0; border-radius: 28px; overflow: hidden; }
  .gal .track img { aspect-ratio: 1 / 1; }
  .pinfo { padding: 12px 0 0; }
  .pinfo h1 { font-size: 2.8rem; }
  .screen.bare .actbar { padding-left: calc(50% + 24px); padding-right: max(32px, calc((100% - 1116px) / 2)); }
  .toast { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 860px) { .cacts { grid-template-columns: 1fr 1fr; } .cacts.one { grid-template-columns: 1fr; } }

/* Plain version of each page sent by the server (search engines, and what shows until the app has loaded) */
.pre { box-sizing: border-box; height: 100vh; height: 100dvh; overflow-y: auto; max-width: 1116px; margin: 0 auto; padding: 16px 16px 40px; color: var(--fg); font-family: var(--font-b, system-ui), system-ui, sans-serif; }
.pre a { color: inherit; }
.pre-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-bottom: 14px; }
.pre-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem/1 var(--font-d, Georgia), Georgia, serif; text-decoration: none; }
.pre-brand img { border-radius: 50%; }
.pre-nav, .pre-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
.pre-nav a, .pre-foot a { text-decoration: none; opacity: .8; }
.pre h1 { font: 500 clamp(1.6rem, 4vw, 2.4rem)/1.2 var(--font-d, Georgia), Georgia, serif; margin: 14px 0 8px; }
.pre h2 { font: 600 1.2rem/1.3 var(--font-d, Georgia), Georgia, serif; margin: 26px 0 10px; }
.pre p { line-height: 1.55; max-width: 62ch; }
.pre-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.pre-grid a { display: block; text-decoration: none; }
.pre-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: #f3e4e8; }
.pre-grid h3 { font-size: 1rem; margin: 8px 0 2px; }
.pre-grid p { margin: 0; font-size: .9rem; opacity: .8; }
.pre-photo { display: block; width: 100%; max-width: 480px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; }
.pre .veil { filter: blur(14px) saturate(.9); }
.pre-price { font-weight: 700; }
.pre-crumbs { font-size: .85rem; opacity: .75; margin: 6px 0 12px; }
.pre-foot { margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
