/* Ruaa — app-style site */
:root{
  --ink:#0F2433; --ink-2:#1C3A50; --sun:#5CC8EC; --sun-2:#7FD6F3; --brand-d:#1B86B8;
  --bg:#FFFFFF; --mist:#F1F4F8; --line:#E2E7EE; --text:#1B2233; --muted:#5E6A82; --ok:#1F7A5C; --bad:#B42318;
  --t-sky:#DCEBFA; --t-mint:#D8F1E6; --t-peach:#FCE4D2; --t-lilac:#E7E1FA; --t-sand:#FFF0C2;
  --i-sky:#1F5FA8; --i-mint:#1F7A5C; --i-peach:#B4561C; --i-lilac:#5B3FB0; --i-sand:#8A6400;
  --r-s:10px; --r-m:16px; --r-l:24px;
  --f:"Archivo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --safe-b:env(safe-area-inset-bottom,0px);
  --tabbar-h:64px; --ab-h:76px;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--f);font-size:16px;line-height:1.45;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
body.no-scroll{overflow:hidden}
body.has-tabbar{padding-bottom:calc(var(--tabbar-h) + var(--safe-b))}
body.in-flow{padding-bottom:calc(var(--ab-h) + var(--safe-b))}
img{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.01em}
h1{font-size:1.9rem;font-weight:800;font-stretch:108%}
h2{font-size:1.15rem;font-weight:750;font-stretch:104%}
h3{font-size:1rem;font-weight:700}
p{margin:0}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px;border-radius:6px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 14px;z-index:99}
.skip:focus{left:8px}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ic-fill{width:22px;height:22px;flex:none}
.t-sky{background:var(--t-sky);color:var(--i-sky)}.t-mint{background:var(--t-mint);color:var(--i-mint)}
.t-peach{background:var(--t-peach);color:var(--i-peach)}.t-lilac{background:var(--t-lilac);color:var(--i-lilac)}
.t-sand{background:var(--t-sand);color:var(--i-sand)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border-radius:999px;border:2px solid transparent;font-weight:750;font-size:16px;text-decoration:none;cursor:pointer;transition:transform .1s,background .15s}
.btn:active{transform:scale(.98)}
.btn-sun{background:var(--sun);color:var(--ink)}
.btn-sun:hover{background:var(--sun-2)}
.btn-ink{background:var(--ink);color:#fff}
.btn-line{border-color:var(--line);background:#fff;color:var(--ink)}
.btn-block{display:flex;width:100%}
.btn.is-off{opacity:.45}
.btn.is-busy{opacity:.7;pointer-events:none}
.link{border:0;background:none;color:var(--i-sky);font-weight:700;cursor:pointer;padding:6px}
.iconbtn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--mist);color:var(--ink);text-decoration:none;border:0;cursor:pointer}

/* Add / stepper */
.add{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 12px 0 14px;border-radius:999px;border:0;background:var(--ink);color:#fff;font-weight:700;font-size:14px;cursor:pointer;position:relative;z-index:2}
.add .ic{width:18px;height:18px;stroke-width:2.4}
.stepper{display:inline-flex;align-items:center;gap:2px;height:36px;border-radius:999px;background:var(--mist);position:relative;z-index:2}
.stepper button{width:36px;height:36px;border-radius:50%;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.stepper button .ic{width:18px;height:18px;stroke-width:2.4}
.stepper b{min-width:18px;text-align:center;font-size:15px}
.stepper-big{height:50px}.stepper-big button{width:50px;height:50px}

/* Desktop top bar (hidden on mobile) */
.dtop{display:none}

/* Screens + transitions */
#view{outline:none;min-height:60vh}
.screen{animation:none}
.screen.in-fwd{animation:inR .28s cubic-bezier(.2,.8,.2,1)}
.screen.in-bwd{animation:inL .28s cubic-bezier(.2,.8,.2,1)}
@keyframes inR{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes inL{from{transform:translateX(-24px);opacity:0}to{transform:none;opacity:1}}

/* Home */
.home-top{padding:14px 18px 6px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
.ht-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.lockup{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.lg-m{width:40px;height:40px;border-radius:50%}
.lg-w{height:28px;width:auto}
.foot-logo{width:92px;height:auto;margin-bottom:4px}
.ht-wa{width:42px;height:42px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center}
.loc-line{display:flex;align-items:center;gap:6px;border:0;background:none;padding:6px 0;font-weight:700;font-size:15px;cursor:pointer;max-width:100%}
.loc-line .ic{width:18px;height:18px;color:var(--ink)}
.loc-line span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-fake{display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border-radius:14px;background:var(--mist);color:var(--muted);text-decoration:none;font-size:15px;margin-top:4px}
.search-fake .ic{width:20px;height:20px}

.rail{display:flex;gap:12px;overflow-x:auto;padding:4px 18px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rail::-webkit-scrollbar{display:none}
.rail-snap{scroll-snap-type:x mandatory;scroll-padding:0 18px}
.rail-snap>*{scroll-snap-align:start}

.offers{padding-top:10px}
.offer{flex:0 0 86%;max-width:420px;border-radius:var(--r-l);padding:20px 20px 18px;text-decoration:none;min-height:150px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.offer h2{font-size:1.4rem;font-stretch:112%;font-weight:850;max-width:16ch}
.offer p{margin:6px 0 14px;font-size:14px;max-width:30ch}
.offer-cta{margin-top:auto;align-self:flex-start;font-weight:750;font-size:14px;padding:8px 14px;border-radius:999px}
.o-sun{background:var(--sun);color:var(--ink)}
.o-sun .offer-cta{background:var(--ink);color:#fff}
.o-ink{background:var(--ink);color:#fff}
.o-ink p{color:#C9D2E3}
.o-ink .offer-cta{background:var(--sun);color:var(--ink)}
.offer::after{content:"";position:absolute;right:-40px;bottom:-60px;width:180px;height:180px;border-radius:50%;border:26px solid rgba(255,255,255,.18)}

.block{padding:18px 0 6px}
.block-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 18px 10px}
.block-head p{font-size:13px;color:var(--muted)}
.block-head a{font-size:14px;font-weight:700;color:var(--i-sky);text-decoration:none}
.cats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:0 12px}
.cat{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;font-size:12.5px;font-weight:650;text-align:center;line-height:1.2}
.cat-ic{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;flex:none}
.cat-ic .ic{width:28px;height:28px}

.stories-rail{gap:10px}
.story-card{flex:0 0 112px;height:168px;border-radius:var(--r-m);border:0;padding:12px;display:flex;flex-direction:column;justify-content:flex-end;text-align:left;cursor:pointer;position:relative;overflow:hidden;box-shadow:inset 0 0 0 3px #fff, 0 0 0 2px var(--sun)}
.story-card .story-ic{position:absolute;top:16px;left:12px;width:44px;height:44px;stroke-width:1.5;opacity:.9}
.sc-title{font-weight:800;font-size:15px;line-height:1.15;color:var(--ink)}
.sc-from{font-size:12px;font-weight:600;margin-top:2px;opacity:.85}

.card{flex:0 0 168px;position:relative;display:flex;flex-direction:column;gap:6px}
.card-hit{position:absolute;inset:0;z-index:1;border:0;background:none;cursor:pointer;border-radius:var(--r-m)}
.thumb{border-radius:var(--r-m);overflow:hidden;aspect-ratio:4/3;display:grid;place-items:center}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb.ill .ic{width:40%;height:40%;stroke-width:1.4}
.card h3{font-size:14.5px;line-height:1.25;min-height:2.5em}
.card-price,.row-price{display:flex;align-items:baseline;gap:6px;font-size:14px}
.card-price s,.row-price s,.sh-price s{color:var(--muted);font-size:13px}
.card-act{margin-top:2px}
.badge{position:absolute;top:8px;left:8px;background:#fff;color:var(--ink);font-size:11.5px;font-weight:750;padding:3px 8px;border-radius:999px;z-index:1}

.trust{padding:24px 18px 8px}
.trust ul{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.trust li{display:flex;gap:12px;align-items:flex-start;background:var(--mist);border-radius:var(--r-m);padding:14px}
.trust li .ic{color:var(--ink);margin-top:2px}
.trust b{display:block;font-size:15px}
.trust span{font-size:14px;color:var(--muted)}
.foot{padding:28px 18px 24px;margin-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted);display:grid;gap:8px}

.foot a{color:var(--ink);font-weight:650;text-decoration:none;margin-right:14px;white-space:nowrap}
.foot-small{font-size:12.5px}
.cart-float{position:fixed;left:12px;right:12px;bottom:calc(var(--tabbar-h) + var(--safe-b) + 10px);z-index:25}
.cart-float .btn{justify-content:space-between;box-shadow:0 10px 30px rgba(20,33,61,.35)}

/* Tab bar */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;height:calc(var(--tabbar-h) + var(--safe-b));padding-bottom:var(--safe-b);background:#fff;border-top:1px solid var(--line);display:none;grid-template-columns:repeat(4,1fr)}
body.has-tabbar .tabbar{display:grid}
.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;font-size:11.5px;font-weight:650;color:var(--muted)}
.tabbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabbar a.on{color:var(--ink)}
.tabbar a.on svg{stroke-width:2.3}

/* Flow screens */
.appbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 0}
.titlebar{padding:12px 18px 10px}
.titlebar-top{padding-top:22px}
.step{font-size:13px;font-weight:650;color:var(--muted);margin-bottom:4px}
.chips-bar{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.chips{display:flex;gap:8px;overflow-x:auto;padding:10px 18px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;height:38px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}
.chip.on{border-color:var(--ink);background:var(--ink);color:#fff}
.cat-hero{margin:14px 18px 4px;border-radius:var(--r-l);padding:22px 20px;display:flex;gap:16px;align-items:center}
.cat-hero .ic{width:54px;height:54px;stroke-width:1.4}
.cat-hero p{font-size:15px;font-weight:600;color:var(--ink)}
.sub{padding:18px 18px 6px}
.sub>h2{margin-bottom:10px;display:flex;align-items:center;gap:8px}
.sub>h2 .ic{width:18px;height:18px}
.sub-note{font-size:14px;color:var(--muted);margin:-4px 0 12px}
.row{position:relative;display:grid;grid-template-columns:96px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
.row.in::before{content:"";position:absolute;left:-18px;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--sun)}
.row-hit{position:absolute;inset:0;border:0;background:none;cursor:pointer;z-index:1}
.row .thumb{aspect-ratio:1}
.row-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.row-meta{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted)}
.row-meta .ic{width:15px;height:15px}
.row-desc{font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.row-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:6px}
.mini-cats{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding-bottom:6px}
.mini-cats a{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.5px;font-weight:650;text-decoration:none;flex:none;width:70px;text-align:center}
.mini-cats .cat-ic{width:52px;height:52px;border-radius:16px}

/* Action bar */
.actionbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + var(--safe-b));background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(20,33,61,.06)}
.ab-total{flex:1;border:0;background:none;text-align:left;padding:2px 0;cursor:pointer;min-width:0}
.ab-total small{display:block;font-size:12.5px;color:var(--muted)}
.ab-total small s{margin-left:4px}
.ab-total b{display:flex;align-items:center;gap:4px;font-size:1.2rem;font-stretch:106%}
.ab-total b .ic{width:18px;height:18px}
.ab-total:disabled b .ic{display:none}
.ab-next{flex:0 0 auto;min-width:150px}
.aside{display:none}

/* Frequency, dates, slots */
.freq{display:grid;gap:10px}
.freq-opt{position:relative;display:block;padding:14px 16px;border:2px solid var(--line);border-radius:var(--r-m);cursor:pointer}
.freq-opt input{position:absolute;opacity:0}
.freq-opt.on,.freq-opt:has(input:checked){border-color:var(--ink);background:#F7F9FC}
.freq-opt input:focus-visible+.fo-top{outline:3px solid var(--sun);outline-offset:4px}
.fo-top{display:flex;justify-content:space-between;align-items:center}
.fo-top em{font-style:normal;font-size:12.5px;font-weight:750;background:var(--t-mint);color:var(--i-mint);padding:3px 9px;border-radius:999px}
.fo-note{font-size:13.5px;color:var(--muted)}
.dates{padding:4px 0 8px;margin:0 -18px;padding-left:18px;padding-right:18px}
.date{flex:0 0 64px;height:84px;border-radius:var(--r-m);border:2px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer}
.date small{font-size:12px;color:var(--muted);font-weight:600}
.date b{font-size:1.35rem;font-stretch:108%}
.date.on{background:var(--ink);border-color:var(--ink);color:#fff}
.date.on small{color:#C9D2E3}
.date:disabled{opacity:.35;cursor:not-allowed}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.slot{height:48px;border-radius:12px;border:2px solid var(--line);background:#fff;font-weight:700;font-size:15px;cursor:pointer}
.slot.on{background:var(--ink);border-color:var(--ink);color:#fff}

/* Forms */
.f{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:14px;font-weight:700;color:var(--ink)}
.f em{font-style:normal;font-weight:500;color:var(--muted)}
.f input,.f select,.f textarea{font:inherit;font-size:16px;font-weight:400;color:var(--text);padding:13px 14px;border:2px solid var(--line);border-radius:12px;background:#fff;width:100%;appearance:none}
.f select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2314213D' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:20px;padding-right:40px}
.f input:focus,.f select:focus,.f textarea:focus{outline:none;border-color:var(--ink)}
.seg{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.seg label{position:relative}
.seg input{position:absolute;opacity:0;inset:0}
.seg span{display:flex;align-items:center;justify-content:center;height:46px;border:2px solid var(--line);border-radius:12px;font-weight:700;font-size:14px;cursor:pointer}
.seg input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.seg input:focus-visible+span{outline:3px solid var(--sun);outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{color:var(--bad);font-weight:650;font-size:14px}
.err-box{margin:12px 18px;background:#FDECEA;padding:12px 14px;border-radius:12px}

/* Review */
.card-sec{margin:12px 18px 0;padding:16px;border:1.5px solid var(--line);border-radius:var(--r-m)}
.card-sec h2{font-size:1rem;margin-bottom:8px}
.card-sec p{font-size:15px;color:var(--text)}
.sec-row{display:flex;justify-content:space-between;align-items:center}
.sec-row h2{margin-bottom:8px}
.sec-row a{font-size:14px;font-weight:700;color:var(--i-sky);text-decoration:none}
.sum-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14.5px}
.sum-lines li{display:flex;justify-content:space-between;gap:12px}
.sum-lines b{white-space:nowrap}
.sum-tot{margin:12px 0 0;padding-top:12px;border-top:1px dashed var(--line);display:grid;gap:6px;font-size:14.5px}
.sum-tot div{display:flex;justify-content:space-between}
.sum-tot dt{color:var(--muted)}.sum-tot dd{margin:0;font-weight:650}
.sum-tot .disc dd{color:var(--ok)}
.sum-tot .grand{font-size:1.15rem;padding-top:6px}
.sum-tot .grand dt,.sum-tot .grand dd{color:var(--ink);font-weight:800}
.sum-tot .vat{font-size:13px}
.sum-pay{display:flex;gap:8px;align-items:center;font-size:13.5px;color:var(--muted);margin-top:12px}
.sum-pay .ic{width:18px;height:18px}
.price-sec .sum-tot{margin-top:0;padding-top:0;border-top:0}
.pay{display:grid;gap:8px}
.pay-opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border:2px solid var(--line);border-radius:12px;cursor:pointer;font-weight:650}
.pay-opt input{accent-color:var(--ink);width:18px;height:18px;margin:0}
.pay-opt:has(input:checked){border-color:var(--ink)}
.fine{font-size:12.5px;color:var(--muted);padding:14px 18px 0}

/* Done */
.done{padding:48px 22px 30px;max-width:520px;margin:0 auto;text-align:center;display:grid;gap:12px}
.done-mark{width:84px;height:84px;border-radius:50%;background:var(--t-mint);color:var(--ok);display:grid;place-items:center;margin:0 auto 6px;animation:pop .45s cubic-bezier(.2,1.4,.4,1)}
.done-mark .ic{width:44px;height:44px;stroke-width:2.6}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.done-ref{font-size:15px}
.done>p{color:var(--muted)}
.done-card{text-align:left;background:var(--mist);border-radius:var(--r-m);padding:16px;display:grid;gap:6px;font-size:14.5px;margin:6px 0}
.done-total{font-size:1.15rem;font-weight:800;color:var(--ink)}
.done-total span{font-size:13px;font-weight:500;color:var(--muted)}

/* Bookings, help, services, search */
.empty{text-align:center;padding:40px 24px;display:grid;gap:8px;justify-items:center;color:var(--muted)}
.empty>.ic{width:48px;height:48px;color:var(--ink);stroke-width:1.5}
.empty h2{color:var(--ink)}
.empty .btn{margin-top:8px}
.bk-list{list-style:none;margin:0;padding:0 18px;display:grid;gap:12px}
.bk{border:1.5px solid var(--line);border-radius:var(--r-m);padding:16px;display:grid;gap:8px}
.bk.past{opacity:.75}
.bk-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pill{font-size:12px;font-weight:750;padding:3px 9px;border-radius:999px;background:var(--t-sand);color:var(--i-sand)}
.bk.past .pill{background:var(--mist);color:var(--muted)}
.bk p{font-size:14px;color:var(--muted)}
.bk-foot{display:flex;justify-content:space-between;font-size:13.5px;font-weight:650}
.bk-act{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bk-act .btn{min-height:42px;font-size:14px;padding:0 10px}
.help-acts{display:grid;gap:10px;padding:0 18px}
.help-act{display:flex;align-items:center;gap:14px;padding:16px;border-radius:var(--r-m);background:var(--mist);text-decoration:none}
.help-act span{display:grid;font-size:14px;color:var(--muted)}
.help-act b{color:var(--ink);font-size:16px}
.help-act:first-child{background:#E3F8EC}
.help-act:first-child .ic-fill{color:#1A9E52}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:16px 0;font-weight:700;display:flex;justify-content:space-between;gap:12px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{transition:transform .2s;width:18px;height:18px}
.faq details[open] summary .ic{transform:rotate(180deg)}
.faq details p{padding:0 0 16px;color:var(--muted);font-size:15px}
.sub .btn-line{margin-top:12px}
.svc-grid{display:grid;gap:10px;padding:0 18px}
.svc-tile{display:flex;align-items:center;gap:14px;padding:14px;border:1.5px solid var(--line);border-radius:var(--r-m);text-decoration:none}
.svc-tile h2{font-size:1.05rem}
.svc-tile p{font-size:13.5px;color:var(--muted);margin:2px 0 4px}
.svc-tile b{font-size:13.5px}
.svc-tile .go{transform:rotate(180deg);margin-left:auto;color:var(--muted)}
.search-top{display:flex;gap:10px;align-items:center;padding:12px 16px;position:sticky;top:0;background:#fff;z-index:10;border-bottom:1px solid var(--line)}
.search-box{flex:1;display:flex;align-items:center;gap:8px;height:46px;padding:0 6px 0 14px;border-radius:14px;background:var(--mist)}
.search-box input{flex:1;border:0;background:none;font:inherit;font-size:16px;outline:none;min-width:0}
.search-box input::-webkit-search-cancel-button{display:none}
.search-box .ic{color:var(--muted);width:20px;height:20px}
.clear{border:0;background:none;width:34px;height:34px;display:grid;place-items:center;cursor:pointer}
.recent{list-style:none;margin:0;padding:0}
.recent button{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:11px 0;font-size:15px;cursor:pointer;text-align:left}
.recent .ic{width:18px;height:18px;color:var(--muted)}
.pop{display:flex;flex-wrap:wrap;gap:8px}
.res{list-style:none;margin:0;padding:0;display:grid}
.res a,.res button{display:flex;align-items:center;gap:12px;padding:10px 0;width:100%;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;text-decoration:none;cursor:pointer}
.res span{display:grid}
.res small{font-size:13px;color:var(--muted)}
.res .cat-ic{width:48px;height:48px;border-radius:14px}
.thumb-sm{width:48px;height:48px;aspect-ratio:1;border-radius:12px;flex:none}

/* Bottom sheet */
.sheet-wrap{position:fixed;inset:0;z-index:60}
.sheet-scrim{position:absolute;inset:0;background:rgba(14,24,48,.45);opacity:0;transition:opacity .2s}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:92vh;overflow-y:auto;background:#fff;border-radius:var(--r-l) var(--r-l) 0 0;transform:translateY(100%);transition:transform .26s cubic-bezier(.2,.8,.2,1);outline:none;padding-bottom:var(--safe-b)}
.sheet-wrap.open .sheet{transform:none}
.sheet-wrap.open .sheet-scrim{opacity:1}
.grab{width:40px;height:5px;border-radius:3px;background:var(--line);margin:8px auto 0;position:relative;z-index:2}
.sheet-item .grab{position:absolute;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.8)}
.thumb-hero{border-radius:0;aspect-ratio:16/9}
.thumb-hero.ill .ic{width:26%;height:26%}
.sh-body{padding:18px 20px 12px}
.sh-cat{font-size:13px;color:var(--muted);font-weight:650;margin-bottom:4px}
.sh-body h2{font-size:1.4rem;font-stretch:106%}
.sh-price{display:flex;align-items:center;gap:8px;margin:8px 0 10px;font-size:1.05rem}
.sh-price span{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;color:var(--muted);margin-left:auto}
.sh-price span .ic{width:16px;height:16px}
.sh-desc{color:var(--muted);font-size:15px}
.sh-body h3{margin:18px 0 8px}
.inc{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px}
.inc li{display:flex;gap:10px;align-items:flex-start}
.inc .ic{width:18px;height:18px;color:var(--ok);stroke-width:2.6;margin-top:2px}
.note{display:flex;gap:8px;align-items:center;margin-top:16px;padding:12px;border-radius:12px;background:var(--t-mint);color:var(--i-mint);font-size:14px;font-weight:650}
.note .ic{width:18px;height:18px}
.sh-foot{position:sticky;bottom:0;background:#fff;padding:12px 20px 16px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center}
.sh-foot .btn-ink{flex:1}
.pick-list{list-style:none;margin:12px 0 0;padding:0}
.pick-list button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 4px;border:0;border-bottom:1px solid var(--line);background:none;font-size:15.5px;text-align:left;cursor:pointer}
.pick-list .ic{width:18px;height:18px;color:var(--muted)}
.pick-list .on{font-weight:750}
.pick-list .tick{margin-left:auto;color:var(--ok);stroke-width:2.6}

/* Stories */
.story{position:fixed;inset:0;z-index:70;background:#0A1226;display:flex;justify-content:center;outline:none}
.st-frame{position:relative;width:100%;max-width:460px;height:100%;overflow:hidden;user-select:none;-webkit-user-select:none}
.st-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.st-ill{position:absolute;inset:0;display:grid;place-items:center}
.st-ill .ic{width:46%;height:46%;stroke-width:1.1;opacity:.85;margin-top:-30%}
.st-bars{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));left:12px;right:12px;display:flex;gap:4px;z-index:3}
.st-bars span{flex:1;height:3px;border-radius:2px;background:rgba(20,33,61,.18);overflow:hidden}
.st-bars i{display:block;height:100%;background:var(--ink)}
.st-head{position:absolute;top:calc(22px + env(safe-area-inset-top,0px));left:14px;right:8px;display:flex;justify-content:space-between;align-items:center;z-index:3;color:var(--ink)}
.st-head span{display:flex}
.st-btn{width:44px;height:44px;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.st-text{position:absolute;left:22px;right:22px;bottom:170px;z-index:2;color:var(--ink)}
.st-line{font-size:2rem;font-weight:850;font-stretch:112%;line-height:1.08;max-width:14ch}
.st-sub{font-size:1.05rem;margin-top:10px;font-weight:600;opacity:.85}
.st-prev,.st-next{position:absolute;top:80px;bottom:150px;z-index:1;border:0;background:none;cursor:pointer}
.st-prev{left:0;width:35%}.st-next{right:0;width:65%}
.st-card{position:absolute;left:12px;right:12px;bottom:calc(16px + var(--safe-b));z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 14px 18px;border-radius:var(--r-m);background:rgba(255,255,255,.92);backdrop-filter:blur(10px)}
.st-card div{display:grid}
.st-card span{font-size:13.5px;color:var(--muted)}
.st-card .btn{min-height:44px;padding:0 24px}

/* Toast */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--ab-h) + var(--safe-b) + 16px);z-index:80;background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:650;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.25);white-space:nowrap}


/* ---------- Photos and shading ---------- */
.thumb:not(.ill){background:linear-gradient(110deg,var(--mist) 30%,#E8EDF3 50%,var(--mist) 70%) 0 0/300% 100%;animation:shimmer 1.4s linear infinite}
.thumb img{animation:none}
@keyframes shimmer{to{background-position:-300% 0}}
.story-card.has-img{background:var(--ink);box-shadow:inset 0 0 0 3px #fff,0 0 0 2px var(--sun)}
.story-card.has-img img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:cover;border-radius:calc(var(--r-m) - 3px)}
.story-card.has-img::after{content:"";position:absolute;inset:3px;border-radius:calc(var(--r-m) - 3px);background:linear-gradient(to top,rgba(10,18,38,.82) 0%,rgba(10,18,38,.35) 40%,rgba(10,18,38,0) 65%)}
.story-card.has-img .sc-title,.story-card.has-img .sc-from{position:relative;z-index:1;color:#fff}
.cat-hero-img{position:relative;overflow:hidden;padding:0;min-height:170px;align-items:flex-end;background:var(--ink)}
.cat-hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cat-hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,18,38,.85),rgba(10,18,38,.15) 60%,rgba(10,18,38,0))}
.cat-hero-img p{position:relative;z-index:1;color:#fff;padding:20px;max-width:40ch}
.offer.has-img{color:#fff}
.offer.has-img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.offer.has-img::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(100deg,rgba(10,18,38,.88) 0%,rgba(10,18,38,.55) 50%,rgba(10,18,38,.05) 100%)}
.offer.has-img::after{display:none}
.offer.has-img h2,.offer.has-img p,.offer.has-img .offer-cta{position:relative;z-index:1}
.offer.has-img p{color:#E3E8F2}
.offer.has-img .offer-cta{background:var(--sun);color:var(--ink)}
.st-frame.has-media::before,.st-frame.has-media::after{content:"";position:absolute;left:0;right:0;z-index:1;pointer-events:none}
.st-frame.has-media::before{top:0;height:160px;background:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,0))}
.st-frame.has-media::after{bottom:0;height:55%;background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.35) 55%,rgba(0,0,0,0))}
.st-frame.has-media .st-head,.st-frame.has-media .st-btn,.st-frame.has-media .st-text{color:#fff}
.st-frame.has-media .st-bars span{background:rgba(255,255,255,.35)}
.st-frame.has-media .st-bars i{background:#fff}
@media (prefers-reduced-motion:reduce){.thumb:not(.ill){animation:none}}

/* ---------- Desktop ---------- */
@media (min-width:980px){
  body.has-tabbar,body.in-flow{padding-bottom:0}
  .tabbar,body.has-tabbar .tabbar{display:none}
  .dtop{display:block;position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
  .dtop-in{max-width:1180px;margin:0 auto;padding:0 28px;height:72px;display:flex;align-items:center;gap:20px}
  .dtop-logo .lg-m{width:46px;height:46px}
  .dtop-logo .lg-w{height:32px}
  .loc-btn{display:flex;align-items:center;gap:6px;border:0;background:var(--mist);height:42px;padding:0 14px;border-radius:999px;font-weight:700;font-size:14px;cursor:pointer;max-width:220px}
  .loc-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
  .loc-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dtop-search{flex:1;max-width:380px;display:flex;align-items:center;gap:10px;height:42px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);color:var(--muted);text-decoration:none;font-size:14.5px}
  .dtop-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .dtop-nav{margin-left:auto;display:flex;gap:6px}
  .dtop-nav a{text-decoration:none;font-weight:650;font-size:15px;color:var(--muted);padding:10px 14px;border-radius:999px}
  .dtop-nav a.on{color:var(--ink);background:var(--mist)}
  #view{max-width:1180px;margin:0 auto;padding:0 28px 40px}
  .home-top{display:none}
  .offers{padding-top:28px}
  .rail{padding-left:4px;padding-right:4px;margin:0 -4px}
  .offers .rail{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .offer{max-width:none;min-height:190px;padding:30px}
  .offer h2{font-size:1.9rem}
  .block{padding-top:30px}
  .block-head{padding:0 0 14px}
  .cats{padding:0;gap:16px;grid-template-columns:repeat(5,1fr)}
  .cat{flex-direction:row;justify-content:flex-start;gap:14px;padding:14px;border:1.5px solid var(--line);border-radius:var(--r-m);font-size:15px;text-align:left}
  .story-card{flex:0 0 150px;height:210px}
  .card{flex:0 0 210px}
  .trust{padding:36px 0 8px}
  .trust ul{grid-template-columns:repeat(3,1fr)}
  .foot{padding:28px 0 24px}
  .cart-float{left:auto;right:32px;bottom:28px;width:360px}

  .flow{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:36px;align-items:start;padding-top:12px}
  .actionbar{display:none}
  .aside{display:block;position:sticky;top:96px}
  .aside-card{border:1.5px solid var(--line);border-radius:var(--r-l);padding:22px;display:grid;gap:14px}
  .aside-card h2{font-size:1.1rem}
  .aside-meta{margin:0;display:grid;gap:6px;font-size:14px}
  .aside-meta div{display:flex;justify-content:space-between;gap:10px}
  .aside-meta dt{color:var(--muted)}.aside-meta dd{margin:0;font-weight:650;text-align:right}
  .aside-empty{font-size:14px;color:var(--muted)}
  .aside .sum-tot{margin-top:4px}
  .appbar{padding:12px 0 0}
  .appbar .iconbtn[href="#/search"]{display:none}
  .titlebar{padding:10px 0 12px}
  .chips-bar{top:72px}
  .chips{padding:12px 0}
  .cat-hero{margin:16px 0 4px}
  .sub{padding:22px 0 6px}
  .row{grid-template-columns:140px 1fr;gap:20px;padding:18px 0}
  .row.in::before{left:-14px}
  .card-sec{margin:14px 0 0}
  .fine{padding:14px 0 0}
  .err-box{margin:12px 0}
  .slots{grid-template-columns:repeat(6,1fr)}
  .help-acts{grid-template-columns:repeat(3,1fr);padding:0}
  .svc-grid{grid-template-columns:1fr 1fr;padding:0}
  .bk-list{padding:0;grid-template-columns:1fr 1fr}
  .titlebar-top{padding:28px 0 16px}
  .search-top{padding:16px 0;top:72px}
  .search-top .iconbtn{display:none}
  .sheet-wrap{display:grid;place-items:center}
  .sheet{position:relative;max-width:560px;width:100%;max-height:86vh;border-radius:var(--r-l);transform:translateY(30px) scale(.98);opacity:0;transition:transform .22s,opacity .22s}
  .sheet-wrap.open .sheet{transform:none;opacity:1}
  .grab{display:none}
  .thumb-hero{border-radius:var(--r-l) var(--r-l) 0 0}
  .toast{bottom:32px}
  .story{background:rgba(10,18,38,.92)}
  .st-frame{height:min(92vh,820px);margin:auto;border-radius:var(--r-l)}
}
@media (max-width:370px){
  .cats{grid-template-columns:repeat(5,1fr);gap:2px}
  .cat-ic{width:52px;height:52px}
  .ab-next{min-width:120px}
}
@media (prefers-reduced-motion:reduce){
  .screen.in-fwd,.screen.in-bwd,.done-mark{animation:none}
  .sheet,.sheet-scrim{transition:none}
}
