/* NASINAI customer app. Loaded after app.css.
   Look: deep green curved headers, white cards with 3D product art, lime actions, a floating pill nav.
   Motion: 150–300ms, spring for things that appear, faster exits, transform/opacity only. */
.shop { background: var(--sand); --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.2, .8, .2, 1); --sage: #eef2e6; --sage-2: #e9ece4; --pink: #f9d3d6; --yellow: #fbe3a7; --mint: #d5f0dc; --violet: #8b5cf6; }
.shop #view { overflow-x: clip; width: min(640px, 100%); margin-inline: auto; padding-bottom: calc(96px + env(safe-area-inset-bottom)); min-height: 100dvh; }
.shop .wrap { width: calc(100% - 32px); }
@media (min-width: 680px) { body.shop { background: #e9ece3; } .shop #view { background: var(--sand); box-shadow: 0 0 0 1px var(--line); } }

/* every chrome icon is a stroked SVG; the few filled ones carry their own fill attribute */
.shop svg[viewBox="0 0 24 24"]:not([fill]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.e3d { display: inline-grid; place-items: center; font-size: 1em; line-height: 1; }
img.e3d, .shop img[data-e] { object-fit: contain; -webkit-user-drag: none; user-select: none; }
.shop a, .shop button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.shop :focus-visible { outline: 3px solid var(--sea-2); outline-offset: 2px; border-radius: 12px; }

/* prices: whole number big, fraction and currency raised */
.price { font: 700 17px/1 var(--display); color: var(--sea-deep); white-space: nowrap; letter-spacing: -.01em; }
.price sup { font-size: .55em; font-weight: 600; vertical-align: .75em; margin-inline-start: 1px; letter-spacing: 0; }

/* ---------- floating pill nav ---------- */
.tabs { position: fixed; z-index: 70; inset-inline: 0; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(300px, calc(100% - 64px)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 99px; background: #fff; box-shadow: 0 14px 34px -14px rgba(14,59,43,.45), 0 0 0 1px rgba(14,59,43,.05); view-transition-name: tabs; }
/* The product page has its own action bar; the nav steps aside. */
body:has(.pbar) .tabs { translate: 0 calc(100% + 24px); opacity: 0; pointer-events: none; }
.tabs { transition: translate .25s var(--out), opacity .2s; }
.tabs a { position: relative; z-index: 1; display: grid; place-items: center; height: 48px; color: #5f6b64; text-decoration: none; transition: color .2s; }
.tabs a svg { width: 23px; height: 23px; transition: transform .25s var(--spring); }
.tabs a.on { color: var(--sea-deep); }
.tabs a.on svg { transform: scale(1.06); }
.tabs a:active svg { transform: scale(.88); }
.tabs__ind { position: absolute; z-index: 0; top: 6px; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); opacity: 0; transition: transform .38s var(--spring), opacity .2s; pointer-events: none; }
.tabs__ind.on { opacity: 1; }

.shop .cartbar { bottom: calc(76px + env(safe-area-inset-bottom)); width: min(640px, 100%); margin-inline: auto; padding: 8px 16px; background: none; view-transition-name: cartbar; }
.shop .cartbar .btn { background: var(--sea-deep); border-radius: 99px; min-height: 54px; padding: 0 8px 0 8px; box-shadow: 0 14px 30px -14px rgba(14,59,43,.7); animation: rise .3s var(--out); }
.shop .cartbar .btn > span:nth-child(2) { flex: 1; text-align: start; padding-inline: 6px; }
.shop .cartbar__count { min-width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--sea-deep); font-weight: 700; }
.shop .cartbar .btn > span:last-child { padding-inline-end: 12px; font-weight: 700; }
.shop .toast { bottom: calc(150px + env(safe-area-inset-bottom)); border-radius: 99px; background: var(--sea-deep); }

/* ---------- home header ---------- */
.hdr { position: relative; z-index: 1; padding: calc(12px + env(safe-area-inset-top)) 16px 14px; background: var(--sea-deep); color: #fff; }
/* the curved bottom edge that the category bubbles ride along */
.hdr::after { content: ""; position: absolute; z-index: -1; left: -18%; width: 136%; height: 88px; bottom: -44px; border-radius: 50%; background: var(--sea-deep); }
.hdr__top { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; animation: rise .4s var(--out) both; }
.brand__logo { flex: none; width: 46px; height: 46px; padding: 3px 5px; border-radius: 14px; background: #fbf5ea; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.brand__name { display: grid; gap: 3px; margin: 0; font: 800 22px/1 var(--display); letter-spacing: .08em; color: #fff; }
.brand__name small { font: 500 13px/1.2 var(--font); letter-spacing: 0; color: rgba(255,255,255,.72); }
.searchbox { position: relative; display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 99px; background: #fff; color: #7b857f; text-decoration: none; font-size: 15px; transition: transform .15s; }
.searchbox:active { transform: scale(.98); }
.searchbox svg { flex: none; width: 21px; height: 21px; color: var(--sea-deep); }
.searchbox > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.searchbox input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; color: var(--ink); font-size: 16px; }
.hbtn { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--sea-deep); text-decoration: none; transition: transform .15s; }
.hbtn:active { transform: scale(.92); }
.hbtn svg { width: 23px; height: 23px; }
.hbtn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hbtn b { font: 700 18px var(--display); color: var(--sea-deep); }
.dot { position: absolute; top: 2px; inset-inline-end: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.loc { display: grid; justify-items: center; gap: 0; width: 100%; margin-top: 12px; padding: 4px 0; border: 0; background: none; color: inherit; }
.loc small { font-size: 12.5px; color: rgba(255,255,255,.7); }
.loc b { display: inline-flex; align-items: center; gap: 7px; font: 600 17px/1.35 var(--display); color: var(--lime); }
.loc b svg { width: 16px; height: 16px; }
[dir=rtl] .loc b svg { transform: scaleX(-1); }

/* category bubbles placed on the header's curve; JS moves each one down the arc as it scrolls */
.arc { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: -34px; padding: 0 12px 52px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.arc::-webkit-scrollbar, .hscroll::-webkit-scrollbar, .ctabs::-webkit-scrollbar { display: none; }
.arc a { flex: none; display: grid; justify-items: center; gap: 5px; width: 78px; color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.2; will-change: transform; }
.arc i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fbe7b5; border: 3px solid var(--sea-deep); transition: transform .2s var(--spring); }
.arc i img { width: 42px; height: 42px; }
.arc a:active i { transform: scale(.92); }
.arc__ind { display: flex; justify-content: center; margin: -10px 0 6px; }
.arc__ind i { display: block; width: 46px; height: 12px; border-bottom: 4px solid var(--coral); border-radius: 0 0 50% 50%; transition: transform .15s linear; }

/* the compact bar that takes over once the big header scrolls away */
.mini { position: fixed; z-index: 65; top: 0; inset-inline: 0; width: min(640px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 12px; background: var(--sea-deep); border-radius: 0 0 24px 24px; transform: translateY(-110%); transition: transform .28s var(--out); box-shadow: 0 10px 24px -16px rgba(0,0,0,.6); }
.mini.on { transform: none; }
.mini .searchbox, .mini .hbtn { height: 44px; }
.mini .hbtn { width: 44px; }

/* ---------- sections ---------- */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 16px 12px; }
.sec-h h2 { margin: 0; font: 700 20px/1.3 var(--display); color: var(--sea-deep); letter-spacing: -.01em; }
.sec-h a { font-size: 14px; font-weight: 600; color: var(--coral); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.hscroll { display: flex; gap: 12px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.hscroll > * { flex: none; width: 148px; scroll-snap-align: start; }

/* ---------- product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 8px 8px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 8px 22px -18px rgba(14,59,43,.55); transition: transform .18s var(--out); }
.pcard:has(.pcard__img:active) { transform: scale(.97); }
.pcard__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1.15; text-decoration: none; }
.pcard__img img, .pcard__img .e3d { width: 76%; height: 76%; font-size: 54px; transition: transform .3s var(--spring); }
.pcard__img:hover img { transform: scale(1.05) rotate(-3deg); }
.pcard__name { margin: 6px 2px 0; font-weight: 600; font-size: 14px; line-height: 1.3; min-height: 2.6em; color: var(--sea-deep); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__unit { font-size: 12px; color: #858e88; }
.pcard__shops { font-size: 11.5px; color: var(--muted); }
.pcard .price { margin: 8px 0 10px; font-size: 19px; }
.pcard__foot { width: 100%; margin-top: auto; }
.pcard--out { opacity: .6; }
.heart { position: absolute; z-index: 2; top: 8px; inset-inline-end: 8px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #8a948e; }
.heart svg { width: 18px; height: 18px; }
.heart.on { color: #e5484d; }
.heart.on svg { fill: currentColor; }
.heart.pop svg { animation: heartPop .4s var(--spring); }
@keyframes heartPop { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* add: a wide sage pill that turns into a lime stepper */
.shop .add { display: grid; place-items: center; width: 100%; height: 40px; border: 0; border-radius: 14px; background: var(--sage); color: var(--sea-deep); transition: transform .15s, background .2s; }
.shop .add svg { width: 22px; height: 22px; }
.shop .add:active { transform: scale(.95); background: #e1e8d4; }
.shop .stepper { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 40px; padding: 0 4px; border-radius: 14px; background: var(--lime); }
.shop .stepper button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; padding: 0; background: none; color: var(--sea-deep); transition: transform .15s; }
.shop .stepper button:active { transform: scale(.82); }
.shop .stepper button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.shop .stepper span { min-width: 22px; font: 700 17px/1 var(--display); color: var(--sea-deep); text-align: center; }
.just .stepper { animation: morph .32s var(--spring); }
.just .stepper span { animation: tick .3s var(--out); }
@keyframes morph { from { transform: scaleX(.6); opacity: .4; } }
@keyframes tick { from { transform: translateY(-8px); opacity: 0; } }
.out-tag { display: grid; place-items: center; height: 40px; border-radius: 14px; background: #f3f1ee; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.grid3 { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 12px; }
.grid3 .pcard { padding: 8px 6px 6px; border-radius: 18px; }
.grid3 .pcard__name { font-size: 13px; }
.grid3 .price { font-size: 16px; margin: 6px 0 8px; }
.grid3 .heart { top: 4px; inset-inline-end: 4px; width: 30px; height: 30px; }
.grid3 .heart svg { width: 16px; height: 16px; }
.grid3 .add, .grid3 .stepper { height: 36px; border-radius: 12px; }
.grid3 .stepper button { width: 30px; }
.grid3 .stepper button svg { width: 21px; height: 21px; }
@media (max-width: 359px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 520px) { .grid3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.bumped .stepper span { animation: tick .3s var(--out); }

/* things that arrive on a new page come in one after another */
.enter .pcard, .enter .promo, .enter .scard, .enter .catlist a, .enter .offer, .enter .orow { animation: rise .34s var(--out) both; animation-delay: calc(min(var(--i, 0), 9) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- promo tiles ---------- */
.promos { display: flex; gap: 12px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.promos::-webkit-scrollbar { display: none; }
.promo { position: relative; flex: none; width: min(250px, 72vw); min-height: 112px; display: grid; align-content: start; gap: 2px; padding: 14px 16px; border-radius: 20px; overflow: hidden; text-decoration: none; color: #6b4a00; background: var(--yellow); scroll-snap-align: start; transition: transform .18s var(--out); }
.promo:active { transform: scale(.97); }
.promo b { font: 700 18px/1.25 var(--display); max-width: 11ch; }
.promo span { font-size: 12.5px; line-height: 1.4; max-width: 15ch; opacity: .85; }
.promo img, .promo .e3d { position: absolute; inset-inline-end: -4px; bottom: -6px; width: 92px; height: 92px; font-size: 64px; transform: rotate(-8deg); transition: transform .35s var(--spring); }
.promo:hover img { transform: rotate(0) scale(1.06); }
.promo--pink { background: var(--pink); color: #7d1d33; }
.promo--mint { background: var(--mint); color: #0b5c38; }

/* ---------- store cards: a shopfront with a scalloped awning ---------- */
.stores { display: flex; gap: 12px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.stores::-webkit-scrollbar { display: none; }
.scard { position: relative; flex: none; width: 200px; display: grid; gap: 4px; padding: 0 0 12px; border-radius: 20px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; scroll-snap-align: start; box-shadow: 0 8px 22px -18px rgba(14,59,43,.55); transition: transform .18s var(--out); }
.scard:active { transform: scale(.97); }
.awning { position: relative; height: 50px; --w: color-mix(in srgb, var(--c) 22%, #fff); background: repeating-linear-gradient(90deg, var(--c) 0 22px, var(--w) 22px 44px); }
.awning::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 11px; background: radial-gradient(circle at 11px 0, var(--c) 10.5px, transparent 11px) 0 0 / 44px 11px repeat-x, radial-gradient(circle at 11px 0, var(--w) 10.5px, transparent 11px) 22px 0 / 44px 11px repeat-x; }
.scard__logo { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: -6px 12px 0; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.scard__logo img, .scard__logo .e3d { width: 36px; height: 36px; font-size: 26px; }
.scard h3 { margin: 2px 12px 0; font: 600 15.5px/1.3 var(--display); color: var(--sea-deep); }
.scard p { margin: 0 12px; font-size: 12.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; background: var(--sage); font-size: 12px; font-weight: 600; color: var(--sea-deep); }
.chip svg { width: 13px; height: 13px; color: var(--sun); }
.chip--open { background: var(--foam); }
.chip--closed { background: #f6e1dc; color: var(--bad); }
.stack { display: grid; gap: 12px; padding: 0 16px; }
/* orders reuse the store card as a row */
.orow { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 8px 22px -18px rgba(14,59,43,.55); transition: transform .18s var(--out); }
.orow:active { transform: scale(.98); }
.orow__logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, #fff); }
.orow__logo img, .orow__logo .e3d { width: 38px; height: 38px; font-size: 28px; }
.orow h3 { margin: 0; font: 600 15.5px/1.3 var(--display); color: var(--sea-deep); }
.orow p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.orow .chips { margin: 6px 0 0; }

/* ---------- sub-page header: green, with a sand hump rising into it ---------- */
.phead { position: sticky; top: 0; z-index: 30; padding: calc(10px + env(safe-area-inset-top)) 16px 30px; background: var(--sea-deep); color: #fff; }
.phead::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -1px; height: 26px; background: var(--sand); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.phead__row { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.phead h1 { flex: 1; margin: 0; font: 700 19px/1.3 var(--display); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phead__row > :first-child:not(.rbtn) { margin-inline-start: 54px; }
.phead__row:not(:has(> :last-child.rbtn)) h1 { margin-inline-end: 54px; }
.rbtn { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--sea-deep); text-decoration: none; transition: transform .15s; }
.rbtn:active { transform: scale(.9); }
.rbtn svg { width: 22px; height: 22px; }
.rbtn.on { color: #e5484d; }
.rbtn.on svg { fill: currentColor; }
.rbtn.pop svg { animation: heartPop .4s var(--spring); }
.ctabs { display: flex; gap: 6px; margin: 10px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
.ctabs a, .ctabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 99px; border: 0; background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, transform .15s; }
.ctabs img { width: 22px; height: 22px; }
.ctabs .on { background: var(--lime); color: var(--sea-deep); }
.ctabs a:active, .ctabs button:active { transform: scale(.95); }
.ctabs--top { position: sticky; top: 0; z-index: 25; margin: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 12px; background: var(--sand); }
.ctabs--top button { background: #fff; color: var(--ink); }
.ctabs--top .on { background: var(--sea-deep); color: #fff; }
.catlist { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 16px; }
.catlist a { display: grid; justify-items: start; gap: 6px; padding: 14px; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 22px -18px rgba(14,59,43,.55); transition: transform .18s var(--out); }
.catlist a:active { transform: scale(.97); }
.catlist i { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fbe7b5; }
.catlist i img { width: 40px; height: 40px; }
.catlist b { font: 600 15px/1.3 var(--display); color: var(--sea-deep); }
.catlist span { font-size: 12px; color: var(--muted); }

/* ---------- product details: white sheet over the green header ---------- */
.psheet { position: relative; z-index: 31; margin-top: -26px; padding: 4px 18px 6px; border-radius: 50% 50% 0 0 / 34px 34px 0 0; background: #fff; display: grid; gap: 14px; }
.psheet__grip { justify-self: center; width: 44px; height: 4px; margin-top: 6px; border-radius: 99px; background: #dfe3dc; }
.phero { display: grid; place-items: center; height: 230px; }
.phero img, .phero .e3d { width: 210px; height: 210px; font-size: 150px; animation: float 5s ease-in-out infinite 1s; }
@keyframes float { 50% { translate: 0 -6px; } }
.pname { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pname h2 { margin: 0; font: 700 23px/1.25 var(--display); color: var(--sea-deep); letter-spacing: -.01em; }
.pname p { margin: 3px 0 0; color: #858e88; font-size: 14px; }
.pname .rbtn { background: #fff; color: #5f6b64; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(0,0,0,.4); }
.pname .rbtn.on { color: #e5484d; }
.pmeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pmeta .price { font-size: 30px; }
.fast { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #6b7570; }
.fast i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--violet); color: #fff; }
.fast i svg { width: 13px; height: 13px; }
.psheet hr { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); }
.psec { margin: 4px 0 0; font: 700 17px/1.3 var(--display); color: var(--sea-deep); }
.offers { display: grid; gap: 10px; }
.offer { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1.5px solid transparent; border-radius: 18px; background: #f3f5f1; color: inherit; text-align: start; text-decoration: none; overflow: hidden; transition: transform .15s, border-color .2s, background .2s; }
.offer:active { transform: scale(.98); }
.offer.sel { background: #f7fde9; border-color: #cfe98b; }
.offer__logo { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.offer__logo img, .offer__logo .e3d { width: 30px; height: 30px; font-size: 22px; }
.offer__t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.offer__t b { font-weight: 600; font-size: 15px; color: var(--sea-deep); }
.offer__t small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #6b7570; }
.offer__t small svg { width: 14px; height: 14px; color: var(--sun); }
.offer__t .bad { color: var(--bad); }
.offer .price { margin-top: 3px; font-size: 17px; }
.offer > svg { flex: none; width: 20px; height: 20px; color: #9aa39d; }
.best { position: absolute; top: 0; inset-inline-end: 0; padding: 3px 10px; border-end-start-radius: 12px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; }
.acc { border-radius: 18px; background: #f3f5f1; }
.acc summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; list-style: none; cursor: pointer; font: 600 15px/1.3 var(--display); color: var(--sea-deep); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary img { width: 30px; height: 30px; }
.acc summary > svg { width: 20px; height: 20px; margin-inline-start: auto; color: var(--muted); transition: transform .25s var(--out); }
.acc[open] summary > svg { transform: rotate(180deg); }
.acc__body { padding: 0 14px 14px; font-size: 14px; color: var(--ink); }
.acc[open] .acc__body { animation: rise .25s var(--out); }
.nutri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.nutri div { padding: 10px 4px; border-radius: 14px; background: #fff; }
.nutri b { display: block; font: 700 17px/1.2 var(--display); }
.nutri span { font-size: 11px; color: var(--muted); }
.ai-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.pwhite { background: #fff; padding-bottom: 4px; }
.pwhite .pcard { background: #f6f7f3; box-shadow: none; }
.pbar { position: fixed; z-index: 66; inset-inline: 0; bottom: 0; width: min(640px, 100%); margin-inline: auto; display: flex; gap: 10px; padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 40%); animation: rise .3s var(--out) .1s both; }
.pbar .btn--lime { min-width: 0; gap: 8px; padding-inline: 14px; white-space: nowrap; font-size: 15px; }
.pbar .btn--lime b { padding-inline-start: 8px; margin-inline-start: 2px; border-inline-start: 1.5px solid rgba(14,59,43,.25); }
.qbox { display: flex; align-items: center; justify-content: space-between; min-width: 136px; padding: 0 6px; border-radius: 99px; background: var(--sage); box-shadow: 0 8px 20px -14px rgba(0,0,0,.5); }
.qbox button { display: grid; place-items: center; width: 44px; height: 54px; border: 0; background: none; color: var(--sea-deep); transition: transform .15s; }
.qbox button:active { transform: scale(.82); }
.qbox button svg { width: 26px; height: 26px; stroke-width: 1.7; }
.qbox span { min-width: 28px; text-align: center; font: 700 18px/1 var(--display); color: var(--sea-deep); }
.btn--lime { flex: 1; min-height: 54px; border-radius: 99px; background: var(--lime); color: var(--sea-deep); font-size: 16px; box-shadow: 0 10px 22px -14px rgba(90,130,0,.7); }
.btn--lime svg { width: 21px; height: 21px; }

/* ---------- store profile ---------- */
.shead { position: relative; padding: calc(10px + env(safe-area-inset-top)) 16px 40px; background: var(--sea-deep); color: #fff; }
.shead::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -1px; height: 26px; background: var(--sand); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.shead__bar { display: flex; justify-content: space-between; gap: 10px; }
.shead__main { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.shead__logo { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 60%, transparent); }
.shead__logo img, .shead__logo .e3d { width: 50px; height: 50px; font-size: 38px; }
.shead h1 { margin: 0; font: 700 23px/1.25 var(--display); }
.shead p { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.78); }
.shead .chips { margin: 8px 0 0; }
.shead .chip { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- bottom sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 900; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10,25,19,.5); animation: fade .22s ease-out; }
.bsheet { position: absolute; inset-inline: 0; bottom: 0; width: min(640px, 100%); margin-inline: auto; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #fff; animation: sheetIn .34s var(--spring); }
.sheet-wrap.closing .sheet-bg { animation: fade .18s ease-in reverse forwards; }
.sheet-wrap.closing .bsheet { animation: sheetOut .2s ease-in forwards; }
.bsheet__grip { display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 99px; background: #dfe3dc; }
.bsheet h2 { margin: 0 0 6px; font: 700 21px/1.3 var(--display); color: var(--sea-deep); text-align: center; }
.bsheet .sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; text-align: center; }
@keyframes sheetIn { from { transform: translateY(100%); } }
@keyframes sheetOut { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- sign-in ---------- */
.auth { display: grid; gap: 12px; }
.auth__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.abtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 0 16px; border: 1.5px solid #e3e7df; border-radius: 18px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .15s, border-color .2s; }
.abtn:active { transform: scale(.97); }
.abtn svg { width: 24px; height: 24px; flex: none; }
.abtn--wa { background: #25d366; border-color: #25d366; color: #063f2a; }
.or { display: flex; align-items: center; gap: 10px; margin: 2px 0; font-size: 12.5px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth .field input { min-height: 54px; border-radius: 16px; border: 1.5px solid #e3e7df; font-size: 16px; }
.auth .btn { min-height: 54px; border-radius: 16px; background: var(--sea-deep); }
.linkbtn { border: 0; background: none; padding: 10px; color: var(--sea); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.code { display: flex; justify-content: center; gap: 6px; margin: 6px 0 14px; direction: ltr; }
.code span { display: grid; place-items: center; width: 44px; height: 54px; border-radius: 12px; background: #fff; font: 700 26px/1 'IBM Plex Sans', monospace; color: var(--sea-deep); box-shadow: inset 0 0 0 1.5px var(--sand-2); animation: rise .3s var(--spring) both; }
.code span:nth-child(2) { animation-delay: 40ms; } .code span:nth-child(3) { animation-delay: 80ms; } .code span:nth-child(4) { animation-delay: 120ms; } .code span:nth-child(5) { animation-delay: 160ms; } .code span:nth-child(6) { animation-delay: 200ms; }
.waiting { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.waiting::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #25d366; animation: pulse 1.2s infinite; }
.otp { letter-spacing: .4em; text-align: center; font-size: 22px !important; direction: ltr; }
.me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--sage); }
.me__av { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--lime); color: var(--sea-deep); font: 700 20px/1 var(--display); overflow: hidden; flex: none; }
.me__av img { width: 100%; height: 100%; object-fit: cover; }
.me b { display: block; }
.me span { font-size: 13px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.menu { display: grid; margin-top: 14px; border-radius: 18px; background: var(--sage); overflow: hidden; }
.menu > * { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; text-align: start; font-size: 15px; }
.menu > *:last-child { border-bottom: 0; }
.menu img { width: 26px; height: 26px; }
.menu select { margin-inline-start: auto; border: 0; background: #fff; border-radius: 10px; padding: 6px 8px; }
.signed { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--foam); font-size: 14px; }

/* zone choice (onboarding and the location sheet) */
.zones { display: grid; gap: 10px; }
.zrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 8px 14px 8px 8px; padding-inline: 8px 14px; border: 2px solid transparent; border-radius: 20px; background: #fff; color: var(--ink); text-align: start; box-shadow: 0 6px 18px -16px rgba(14,59,43,.6); transition: transform .15s, border-color .2s, background .2s; }
.zrow:active { transform: scale(.98); }
.zrow__art { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--sage); }
.zrow__art img, .zrow__art .e3d { width: 34px; height: 34px; font-size: 26px; }
.zrow__t { flex: 1; display: grid; }
.zrow__t b { font-weight: 600; font-size: 15.5px; color: var(--sea-deep); }
.zrow__t small { font-size: 12.5px; color: var(--muted); }
.tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #d7dcd2; color: #fff; transition: background .2s, border-color .2s; }
.tick svg { width: 17px; height: 17px; stroke-width: 3; transform: scale(0); transition: transform .3s var(--spring); }
.zrow.on { border-color: var(--sea); background: #f7fbef; }
.zrow.on .tick { background: var(--sea); border-color: var(--sea); }
.zrow.on .tick svg { transform: scale(1); }
.zrow--geo { border: 2px dashed #cfd6c8; box-shadow: none; background: transparent; }
.zrow--geo .tick { display: none; }
.bsheet .zrow { background: #f6f7f3; box-shadow: none; }
.bsheet .zrow.on { background: #f7fbef; }

/* ================= onboarding ================= */
.onboard { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: var(--sage-2); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.onboard.out { animation: obOut .26s ease-in forwards; }
@keyframes obOut { to { opacity: 0; transform: scale(1.03); } }
.ob { flex: 1; display: flex; flex-direction: column; width: min(480px, 100%); margin-inline: auto; padding: calc(12px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom)); }
.ob__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.ob__mark { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--display); letter-spacing: .1em; color: var(--sea-deep); }
.ob__mark img { width: 32px; height: 32px; padding: 2px 3px; border-radius: 9px; background: #fbf5ea; object-fit: contain; }
.ob--light .ob__top { flex-direction: row; }
.ob--light .ob__mark { margin-inline-start: auto; }
.circ { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--sea-deep); box-shadow: 0 6px 16px -12px rgba(0,0,0,.5); transition: transform .15s; }
.circ:active { transform: scale(.9); }
.circ svg { width: 22px; height: 22px; }
.ob__prog { display: flex; gap: 6px; margin-bottom: 10px; }
.ob__prog i { position: relative; flex: 1; height: 5px; border-radius: 99px; background: rgba(14,59,43,.12); overflow: hidden; }
.ob__prog i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--sea); transform: scaleX(0); transform-origin: left; }
[dir=rtl] .ob__prog i::after { transform-origin: right; }
.ob__prog i.on::after { transform: none; }
.ob__prog i.now::after { animation: fill .45s var(--out) forwards; }
@keyframes fill { to { transform: none; } }

.ob__body { flex: 1; display: flex; flex-direction: column; }
.ob__body > * { animation: obIn .42s var(--out) both; }
.ob__body > :nth-child(2) { animation-delay: 60ms; } .ob__body > :nth-child(3) { animation-delay: 110ms; } .ob__body > :nth-child(4) { animation-delay: 160ms; } .ob__body > :nth-child(5) { animation-delay: 200ms; }
@keyframes obIn { from { opacity: 0; translate: calc(var(--dir, 1) * 32px) 0; } }
.ob h2 { margin: 6px 0 0; font: 700 clamp(26px, 7.4vw, 32px)/1.22 var(--display); letter-spacing: -.015em; color: var(--sea-deep); text-align: center; }
.ob h2 em { font-style: italic; color: var(--sea-2); background: #fff; padding: 0 .32em; border-radius: 99px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ob p { margin: 10px auto 0; max-width: 34ch; color: #5b6660; font-size: 15.5px; line-height: 1.55; text-align: center; }
.ob .left { text-align: start; margin-inline: 0; }
.ob h2.left { margin-top: 18px; }
.ticks { display: grid; gap: 8px; margin: 18px auto 0; padding: 0; list-style: none; width: min(340px, 100%); }
.ticks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.7); font-size: 14px; color: var(--ink); }
.ticks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sea); color: #fff; stroke-width: 3; }
.ob__foot { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 22px; }
.ob__foot .linkbtn { color: #5b6660; text-decoration: none; }
#obZones, #obAuth { margin-top: 18px; }

/* the main button: a white tile holding the arrow, then the label */
.obcta { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 6px; border: 0; border-radius: 20px; background: var(--sea-deep); color: #fff; font: 600 16.5px/1 var(--display); box-shadow: 0 14px 28px -16px rgba(14,59,43,.8); transition: transform .15s, opacity .2s, background .2s; }
.obcta > span:last-child { flex: 1; padding-inline-end: 48px; text-align: center; }
.obcta:active { transform: scale(.97); }
.obcta:disabled { opacity: .4; box-shadow: none; cursor: default; }
.obcta__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: #fff; color: var(--sea-deep); }
.obcta__ic svg { width: 22px; height: 22px; stroke-width: 2.4; }
.obcta:not(:disabled) .obcta__ic svg { animation: nudge 2.4s ease-in-out infinite 1.2s; }
@keyframes nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: var(--nd, 4px) 0; } 90% { translate: 0 0; } }
[dir=rtl] .obcta { --nd: -4px; }
.obcta--lime { background: var(--lime); color: var(--sea-deep); }
.obcta--lime .obcta__ic { background: var(--sea-deep); color: var(--lime); }
.obcta--quiet { background: #fff; color: var(--sea-deep); box-shadow: 0 6px 16px -12px rgba(0,0,0,.4); }
.obcta--quiet .obcta__ic { background: var(--sage); }

/* illustrations: white cards floating on the sage background, springing in one by one */
.col { position: relative; width: min(340px, 100%); height: 290px; margin: 10px auto 14px; }
.pop { animation: popIn .55s var(--spring) both; animation-delay: calc(var(--k, 0) * 110ms + 120ms); }
@keyframes popIn { from { opacity: 0; scale: .6; } }
.cc { position: absolute; background: #fff; border-radius: 22px; box-shadow: 0 18px 36px -22px rgba(14,59,43,.55); }
.cc--photo { left: 0; top: 8px; width: 150px; height: 170px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, #f4f1e6); }
.cc--photo img { width: 116px; height: 116px; }
.cc--logo { right: 6px; top: 22px; display: flex; align-items: center; gap: 8px; padding: 10px 14px 10px 10px; border-radius: 99px; font: 700 13px/1 var(--display); letter-spacing: .08em; color: var(--sea-deep); }
.cc--logo img { width: 28px; height: 28px; border-radius: 8px; }
.cc--list { right: 0; top: 86px; width: 196px; padding: 10px; display: grid; gap: 6px; }
.cc--list .li { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 12px; animation: rise .35s var(--out) both; animation-delay: calc(var(--n) * 90ms + 520ms); }
.cc--list .li:nth-child(odd) { background: #f6f8f2; }
.cc--list .li img { width: 30px; height: 30px; }
.cc--list .li > span:not(.radio) { flex: 1; display: grid; gap: 4px; }
.cc--list .li b { font-size: 12px; color: var(--sea-deep); }
.cc--list .li i { display: block; width: 70%; height: 5px; border-radius: 99px; background: #e5e9e0; }
.radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d3d9cd; }
.radio.on { border: 5.5px solid var(--sea); }
.cc--float { left: 22px; bottom: 6px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; }
.cc--float img { width: 46px; height: 46px; animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -6px; } }
.col__arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.draw { stroke: var(--sea); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .6s var(--out) forwards; animation-delay: calc(var(--k, 0) * 150ms + 650ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.chat { left: 50%; top: 20px; width: 262px; margin-left: -131px; overflow: hidden; }
.chat__bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #075e54; color: #fff; }
.chat__av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #25d366; }
.chat__av svg { width: 18px; height: 18px; }
.chat__bar b { font-size: 13.5px; }
.chat__bar small { margin-inline-start: auto; font-size: 11px; opacity: .75; }
.chat__body { position: relative; display: grid; gap: 8px; padding: 14px 12px; min-height: 170px; align-content: start; background: #efe7dd; }
.bub { max-width: 82%; margin: 0; padding: 8px 11px; border-radius: 14px; font-size: 13px; line-height: 1.4; text-align: start; color: var(--ink); opacity: 0; animation: bubIn .3s var(--spring) var(--d) forwards; }
.ob .bub { margin: 0; max-width: 82%; font-size: 13px; color: var(--ink); text-align: start; }
.bub--me { justify-self: end; background: #d9fdd3; border-end-end-radius: 4px; }
.bub--them { justify-self: start; background: #fff; border-end-start-radius: 4px; }
.bub--typing { position: absolute; bottom: 14px; inset-inline-start: 12px; display: flex; gap: 4px; background: #fff; animation: bubIn .25s var(--out) var(--d) forwards, gone .15s ease-in calc(var(--d) + .6s) forwards; }
.bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa39d; animation: dot 1s ease-in-out infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; } .bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes gone { to { opacity: 0; } }
@keyframes dot { 50% { transform: translateY(-3px); opacity: .5; } }
.cc--f1 { left: auto; right: -2px; top: 0; bottom: auto; width: 62px; height: 62px; }
.cc--f2 { left: 0; bottom: 4px; width: 66px; height: 66px; }
.cc--f1 img, .cc--f2 img { width: 40px; height: 40px; }
.cc--f2 img { animation-delay: -1.6s; }

.mapcard { left: 50%; top: 24px; width: 300px; height: 220px; margin-left: -150px; overflow: hidden; background: #f3f6ee; }
.map { display: block; width: 100%; height: 100%; }
.map__st { stroke: #e3e8dc; stroke-width: 12; fill: none; }
.map__road { stroke: #d6decd; stroke-width: 16; fill: none; stroke-linecap: round; }
.map__trail { stroke: var(--sea); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 2 9; animation: trail 1s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -11; } }
.map__pin { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 8px 16px -8px rgba(0,0,0,.45); transform: translate(-50%, -50%); }
.map__pin img { width: 30px; height: 30px; }
.map__pin--a { left: 13.3%; top: 77.3%; }
.map__pin--b { left: 89.3%; top: 27.3%; }
.cc--eta { left: 0; top: 0; padding: 9px 14px; border-radius: 99px; font: 700 14px/1 var(--display); color: var(--sea-deep); background: var(--lime); }
.cc--lock { right: 0; bottom: 6px; display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; font-weight: 600; color: var(--sea-deep); }
.cc--lock svg { flex: none; width: 18px; height: 18px; }
.col--done { display: grid; place-items: center; height: 200px; }
.col--done img { width: 150px; height: 150px; }
.ob .signed { margin-top: 16px; justify-content: center; }

/* the splash: deep green, the cart in a glow, groceries orbiting it */
.onboard:has(.ob--splash) { background: var(--sea-deep); }
.ob--splash { color: #fff; }
.ob--splash .ob__mark { color: #fff; }
.ob--splash .ob__top .linkbtn { color: rgba(255,255,255,.75); text-decoration: none; }
.splash__art { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; }
.splash__glow { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(200,241,105,.35), rgba(200,241,105,.08) 55%, rgba(200,241,105,0) 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.08; opacity: .8; } }
.splash__main { position: relative; }
.splash__hero { width: 200px; height: 200px; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); animation: bob 4s ease-in-out infinite .8s; }
.splash__bit { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; transform: translate(var(--x), var(--y)); animation: popIn .5s var(--spring) both; animation-delay: calc(var(--k) * 90ms); }
.splash__bit img { width: 100%; height: 100%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.3)); animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * -.5s); }
@media (max-width: 360px) { .splash__bit { scale: .8; } }
.splash__copy { text-align: center; animation: obIn .5s var(--out) .3s both; --dir: 0; translate: 0 0; }
.splash__copy h1 { margin: 0; font: 700 clamp(28px, 8vw, 34px)/1.2 var(--display); letter-spacing: -.015em; }
.splash__copy h1 em { font-style: italic; color: var(--lime); }
.splash__copy p { margin: 10px auto 0; max-width: 32ch; color: rgba(255,255,255,.75); font-size: 15px; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 20px; }
.langs button { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: #fff; font-size: 15px; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.langs button:active { transform: scale(.95); }
.langs button.on { background: var(--lime); border-color: var(--lime); color: var(--sea-deep); }

/* the 3D product flying into the cart */
.flyer { position: fixed; z-index: 950; pointer-events: none; }
.flyer > * { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }

/* page changes: slide in the reading direction, back goes the other way */
html { --vd: 1; }
html[dir=rtl] { --vd: -1; }
html[data-nav=back] { --vd: -1; }
html[dir=rtl][data-nav=back] { --vd: 1; }
::view-transition-old(root) { animation: vtOut .18s ease-in both; }
::view-transition-new(root) { animation: vtIn .3s var(--out, ease-out) both; }
html[data-nav=tab]::view-transition-old(root) { animation: fade .15s ease-in reverse both; }
html[data-nav=tab]::view-transition-new(root) { animation: fade .22s ease-out both; }
::view-transition-group(pimg) { animation-duration: .36s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
@keyframes vtOut { to { opacity: 0; transform: translateX(calc(var(--vd) * -40px)); } }
@keyframes vtIn { from { opacity: 0; transform: translateX(calc(var(--vd) * 60px)); } }

/* ---------- checkout and leftovers ---------- */
.shop .sheet { padding-top: 0; }
.shop .card { border: 0; border-radius: 22px; box-shadow: 0 8px 22px -18px rgba(14,59,43,.55); }
.shop .card h2 { display: flex; align-items: center; gap: 8px; color: var(--sea-deep); }
.shop .card h2 img { width: 30px; height: 30px; }
.shop .btn--coral { background: var(--sea-deep); border-radius: 99px; }
.shop .line__emoji { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sage); }
.shop .line__emoji img { width: 34px; height: 34px; }
.shop .line .qty { width: 112px; flex: none; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.empty i { display: block; margin: 0 auto 8px; font-style: normal; }
.empty i img { width: 96px; height: 96px; animation: bob 3.4s ease-in-out infinite; }
.empty .btn { border-radius: 99px; background: var(--sea-deep); }
.who { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.who .btn { white-space: nowrap; }
.box { padding: 14px; border-radius: 20px; background: #fff; }
[dir=rtl] .flip { transform: scaleX(-1); }
body.has-cart #view { padding-bottom: 170px; }
.pspace { height: 100px; }
/* Leaflet's controls sit at z-index 1000; keep them inside the map so sheets cover them. */
.leaflet-container { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
