/* ركن الخرطوم — واجهة المتجر بنمط تطبيقات Apple
   خلفية رمادية فاتحة (#F2F2F7) وبطاقات بيضاء، الخط: SF Arabic على أجهزة Apple، وعلى غيرها Inter + Noto Sans Arabic (الأقرب له)، لون واحد للإجراءات: برغندي. */
:root{
  --bg:#f2f2f7; --surface:#ffffff; --fill:#e9e9ee; --fill2:#f5f5f7;
  --line:#e2e2e7; --line2:#d1d1d6; --sep:rgba(60,60,67,.14);
  --soft:var(--fill2); --soft2:var(--fill); --sand:var(--fill2); --sand2:var(--fill);
  --ink:#1d1d1f; --ink2:#3a3a3c; --muted:#6e6e73;
  --brand:#8c1c3d; --brand-2:#6e1430; --brand-soft:#f7e8ed;
  --ok:#248a3d; --bad:#d70015; --info:#0a64c8; --gold:#b8862f; --saffron:#b8862f;
  --olive:#1d1d1f; --olive-2:#000; --olive-soft:var(--fill2);
  --f:-apple-system,BlinkMacSystemFont,"SF Arabic","SF Pro Arabic","SF Pro Text","SF Pro Display","Inter","Noto Sans Arabic","Helvetica Neue",Tahoma,sans-serif;
  --fh:var(--f); --fb:var(--f);
  --r:14px; --r-lg:20px; --r-xl:28px;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 8px 28px -12px rgba(0,0,0,.14);
  --shadow-lg:0 30px 80px -20px rgba(0,0,0,.35);
  --blur:saturate(180%) blur(20px);
  --ease:cubic-bezier(.25,.8,.25,1);
  color-scheme:light;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:env(safe-area-inset-bottom,0px)}
body.lock{overflow:hidden}
h1,h2,h3{font-family:var(--f);font-weight:700;line-height:1.25;margin:0;text-wrap:balance}
h1{font-size:clamp(28px,4vw,40px)} h2{font-size:clamp(22px,2.8vw,28px)} h3{font-size:19px}
p{margin:0}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid rgba(140,28,61,.35);outline-offset:2px;border-radius:10px}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)} .small{font-size:14px}
[hidden]{display:none!important}
.wrap{max-width:1200px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
svg.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- buttons (iOS filled / tinted / plain) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:12px 22px;min-height:48px;font-weight:600;font-size:16px;transition:background .2s,opacity .2s,transform .12s;white-space:nowrap;background:none}
.btn:active{transform:scale(.97)}
.btn[disabled]{opacity:.4;pointer-events:none}
.btn-primary{background:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-2)}
.btn-tint{background:var(--brand-soft);color:var(--brand)}.btn-tint:hover{background:#f1d9e1}
.btn-dark{background:var(--ink);color:#fff}
.btn-light{background:#fff;color:var(--ink)}.btn-light:hover{background:var(--fill2)}
.btn-ghost{background:rgba(255,255,255,.18);color:#fff;backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur)}.btn-ghost:hover{background:rgba(255,255,255,.28)}
.btn-outline{background:var(--fill);color:var(--ink)}.btn-outline:hover{background:var(--line)}
.btn-olive{background:#25d366;color:#fff}
.btn-sm{padding:7px 14px;min-height:36px;font-size:14.5px;border-radius:999px}
.btn.block{width:100%}
.btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}
.danger{color:var(--bad)!important}
.link{border:0;background:none;color:var(--brand);font-weight:600;padding:0}

/* ---------- announcement + header */
.ann{background:var(--ink);color:#f5f5f7;text-align:center;font-size:14px;padding:7px 16px}
.top{position:sticky;top:0;z-index:40;background:rgba(242,242,247,.78);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);border-bottom:.5px solid transparent;transition:border-color .2s}
.top.scrolled{border-color:var(--line2)}
.top-in{display:flex;align-items:center;gap:10px;height:64px}
.logo{display:flex;align-items:center;gap:10px;flex:none}
.logo img{width:46px;height:46px;border-radius:50%;box-shadow:0 2px 8px -2px rgba(0,0,0,.25)}
.logo b{display:block;font-size:18px;line-height:1.15;letter-spacing:0}
.logo small{display:block;font-size:13px;color:var(--muted);line-height:1.3}
.search{flex:1;max-width:520px;position:relative;margin-inline:12px auto}
.search>svg{position:absolute;right:12px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--muted);stroke-width:2}
.search input{width:100%;height:40px;border:0;background:var(--fill);border-radius:12px;padding:0 38px 0 14px;outline:none;font-size:16px;transition:background .2s,box-shadow .2s}
.search input:focus{background:#fff;box-shadow:0 0 0 1px var(--line2),0 8px 24px -12px rgba(0,0,0,.2)}
.suggest{position:absolute;top:calc(100% + 8px);inset-inline:0;background:rgba(255,255,255,.96);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);border-radius:16px;box-shadow:var(--shadow-lg);padding:6px;z-index:5;max-height:70vh;overflow:auto}
.suggest a{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px}
.suggest a:hover,.suggest a.on{background:var(--fill2)}
.suggest img,.suggest .noimg{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:none;font-size:14px}
.suggest b{display:block;font-size:15px;font-weight:600}
.suggest span{font-size:14px;color:var(--muted)}
.suggest .all{justify-content:center;color:var(--brand);font-weight:600;font-size:15px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 10px;border:0;border-radius:999px;background:transparent;position:relative;font-weight:500;font-size:15px;color:var(--ink)}
.icon-btn:hover{background:var(--fill)}
.icon-btn svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.top-act{display:flex;align-items:center;gap:2px}
.count{position:absolute;top:0;left:0;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:var(--brand);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;line-height:1}
/* category tabs under the header */
.cattabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-bottom:8px;margin-top:-2px}
.cattabs::-webkit-scrollbar{display:none}
.cattabs a{white-space:nowrap;padding:6px 14px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink2);transition:background .2s,color .2s}
.cattabs a:hover{background:var(--fill)}
.cattabs a.on{background:var(--ink);color:#fff}
.cattabs a.hot{color:var(--brand);font-weight:600}

/* ---------- side menu (iOS sheet from the right) */
.side{position:fixed;z-index:80;top:0;bottom:0;right:0;width:min(380px,88vw);background:var(--bg);transform:translateX(102%);transition:transform .38s var(--ease);display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.side.on{transform:none;box-shadow:var(--shadow-lg)}
.side-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 6px}
.side-head b{font-size:28px;font-weight:700}
.side-body{flex:1;overflow:auto;padding:4px 16px 28px;overscroll-behavior:contain}
.hello{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:14px;padding:14px;margin:8px 0 18px}
.ava{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#b23a5c,#6e1430);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:700;flex:none}
.hello b{display:block;font-size:17px}.hello span{font-size:14px;color:var(--muted)}
.hello .btns{display:flex;gap:8px;margin-top:10px}
/* grouped list (UITableView inset grouped) */
.glabel{font-size:13px;color:var(--muted);font-weight:500;margin:18px 14px 6px;text-transform:none}
.group{background:var(--surface);border-radius:14px;overflow:hidden}
.group>a,.group>button,.group>details>summary,.group .row-link{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:10px 14px;border:0;background:none;text-align:start;font-size:16px;color:var(--ink);position:relative;cursor:pointer;list-style:none}
.group>details>summary::-webkit-details-marker{display:none}
.group>*+*>:first-child,.group>*+*:is(a,button){box-shadow:inset 0 .5px 0 var(--sep)}
.group>a:hover,.group>button:hover,.group>details>summary:hover{background:var(--fill2)}
.group .gi{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;flex:none;background:var(--brand)}
.group .gi svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.group .gi.g{background:#34c759}.group .gi.b{background:#007aff}.group .gi.o{background:#ff9500}.group .gi.p{background:#af52de}.group .gi.k{background:#8e8e93}.group .gi.r{background:#ff3b30}.group .gi.t{background:#30b0c7}
.group .gt{flex:1;min-width:0}
.group .gt small{display:block;font-size:14px;color:var(--muted)}
.group .chev{width:16px;height:16px;flex:none;color:#c4c4c7;fill:none;stroke:currentColor;stroke-width:2.4;transform:scaleX(-1)}
.group details[open]>summary .chev{transform:rotate(-90deg)}
.group .badge-n{font-size:14px;color:var(--muted)}
.sub{background:var(--fill2);padding:4px 0}
.sub a{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 14px;padding-inline-start:56px;font-size:15px}
.sub a:hover{background:var(--fill)}
.sub a img,.sub a .noimg{width:36px;height:36px;border-radius:8px;object-fit:cover;flex:none;font-size:12px}
.sub a .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sub a .price{font-size:14px;color:var(--muted)}
.sub a.all{color:var(--brand);font-weight:600}

/* ---------- hero: light, big title, real photos floating in 3D */
.hero{padding-top:14px}
.hero3{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:24px;min-height:540px;padding:clamp(28px,4vw,56px);border-radius:var(--r-xl);overflow:hidden;background:radial-gradient(70% 90% at 15% 60%,#fbeef2 0%,rgba(251,238,242,0) 60%),radial-gradient(60% 80% at 90% 10%,#f4f1ea 0%,rgba(244,241,234,0) 60%),#fff}
.hero-text{position:relative;z-index:2;display:flex;flex-direction:column;gap:16px;max-width:560px}
.kicker{display:inline-block;align-self:flex-start;font-size:15px;font-weight:600;color:var(--brand)}
.hero h1{font-size:clamp(46px,6.4vw,84px);font-weight:800;line-height:1.04;color:var(--ink)}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,#b0244f,#6e1430);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);max-width:42ch;font-size:18.5px;line-height:1.75}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.stage{--rx:0deg;--ry:0deg;position:relative;height:440px;perspective:1100px}
.stack{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform .1s linear}
.tile{position:absolute;display:block;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -24px rgba(40,10,20,.45),0 8px 18px -8px rgba(0,0,0,.18);transform-style:preserve-3d;animation:float 7s ease-in-out infinite;will-change:transform}
.tile img{width:100%;height:100%;object-fit:cover}
.tile.t0{width:46%;aspect-ratio:4/5;left:27%;top:6%;--z:120px;--r:-3deg;z-index:5}
.tile.t1{width:34%;aspect-ratio:3/4;left:2%;top:16%;--z:20px;--r:-9deg;animation-delay:-2s;z-index:3}
.tile.t2{width:32%;aspect-ratio:3/4;right:1%;top:2%;--z:60px;--r:8deg;animation-delay:-4s;z-index:4}
.tile.t3{width:26%;aspect-ratio:1;left:10%;bottom:0;--z:80px;--r:6deg;animation-delay:-1s;z-index:4}
.tile.t4{width:26%;aspect-ratio:1;right:8%;bottom:2%;--z:40px;--r:-6deg;animation-delay:-3s;z-index:3}
@keyframes float{0%,100%{transform:translateZ(var(--z)) rotate(var(--r)) translateY(0)}50%{transform:translateZ(var(--z)) rotate(var(--r)) translateY(-12px)}}
.chip{position:absolute;inset:auto 10px 10px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;border-radius:14px;background:rgba(255,255,255,.78);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);font-size:14px;color:var(--ink);white-space:nowrap}
.chip b{font-size:14px;overflow:hidden;text-overflow:ellipsis}
.chip .num{color:var(--brand);font-weight:700}

/* ---------- trust */
.trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.trust>div{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 16px;background:var(--surface);border-radius:var(--r-lg)}
.trust i{flex:none;width:42px;height:42px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.trust svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trust b{display:block;font-size:15.5px;line-height:1.4}
.trust span{display:block;font-size:14px;color:var(--muted);line-height:1.4}

/* ---------- sections */
.sec{padding-top:52px}
.page{padding-top:20px;padding-bottom:48px;min-height:60vh}
.narrow{max-width:760px}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.sec-head>div{display:flex;flex-direction:column;gap:2px}
.sec-head a.more,.sec-head>a{color:var(--brand);font-weight:500;font-size:16px;display:inline-flex;align-items:center;gap:2px}
.sec-head a.more::after{content:"›";font-size:22px;line-height:1;transform:scaleX(-1);display:inline-block;margin-inline-start:2px}
.large-title{font-size:clamp(30px,4.6vw,42px);font-weight:800}
.crumbs{display:flex;gap:6px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:10px}
.crumbs a{color:var(--brand)}
.cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cat{position:relative;display:block;aspect-ratio:3/4;border-radius:var(--r-lg);overflow:hidden;background:var(--fill);isolation:isolate}
.cat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .8s var(--ease)}
.cat::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.1) 50%,transparent 70%)}
.cat:hover img{transform:scale(1.05)}
.cat span{position:absolute;inset:auto 0 0 0;padding:16px;color:#fff;font-size:19px;font-weight:700;line-height:1.3}
.cat span small{display:block;font-size:14px;font-weight:500;opacity:.85}
.chips,.seg{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:18px}
.chips a{white-space:nowrap;background:var(--surface);border-radius:999px;padding:7px 16px;font-size:15px;font-weight:500}
.chips a.on{background:var(--ink);color:#fff}
.sort{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--muted)}
.sort select{border:0;border-radius:10px;padding:8px 12px;background:var(--surface);min-height:0}

/* ---------- product cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:14px}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 56px) / 5);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:none}
.rail::-webkit-scrollbar{display:none}
.rail>*{scroll-snap-align:start}
.card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--surface);border-radius:var(--r-lg);padding:8px;transition:box-shadow .3s var(--ease),transform .3s var(--ease)}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card-img{position:relative;display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--fill2)}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.card:hover .card-img img{transform:scale(1.05)}
.noimg{width:100%;height:100%;display:grid;place-items:center;font-size:28px;font-weight:700;color:var(--muted);background:var(--fill2)}
.badge{position:absolute;top:10px;right:10px;background:rgba(255,255,255,.9);backdrop-filter:var(--blur);color:var(--ink);font-size:13px;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap}
.badge.sale{background:var(--brand);color:#fff}
.badge.low{top:auto;bottom:10px;background:rgba(0,0,0,.65);color:#fff}
.fav{position:absolute;top:14px;left:14px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.88);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);display:grid;place-items:center;color:var(--ink);transition:transform .15s}
.fav:active{transform:scale(.88)}
.fav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}
.fav.on{color:var(--brand)}.fav.on svg{fill:currentColor}
.card-body{padding:10px 6px 4px;display:flex;flex-direction:column;gap:1px;flex:1}
.card-name{font-weight:600;font-size:16px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-unit{font-size:14px;color:var(--muted)}
.card-price{display:flex;align-items:baseline;gap:4px;margin-top:6px;white-space:nowrap}
.card-price b{font-size:19px;font-weight:700}
.card-price small{font-size:14px;color:var(--ink2);font-weight:500}
.card-price s{font-size:14px;color:var(--muted);margin-inline-start:8px}
.card-ctl{margin-top:auto;padding-top:10px}
.add{width:100%;height:42px;border:0;border-radius:12px;background:var(--brand-soft);color:var(--brand);font-weight:600;font-size:15px;transition:background .2s,color .2s;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.add::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.add:hover{background:var(--brand);color:#fff}
.stepper{display:flex;align-items:center;justify-content:space-between;height:42px;border-radius:12px;background:var(--brand);color:#fff;overflow:hidden}
.stepper button{width:46px;height:100%;border:0;background:none;color:#fff;font-size:22px;font-weight:500}
.stepper button:hover{background:rgba(255,255,255,.14)}
.stepper span{font-weight:700}
.soldout{display:flex;align-items:center;justify-content:center;height:42px;border-radius:12px;background:var(--fill2);color:var(--muted);font-size:15px;font-weight:600}
.sk .card-img{animation:sk 1.4s infinite}
.sk i{display:block;height:12px;border-radius:6px;background:var(--fill);margin-top:10px;animation:sk 1.4s infinite}
.sk i+i{width:50%}
@keyframes sk{50%{opacity:.5}}
.empty{text-align:center;color:var(--muted);padding:56px 16px;display:flex;flex-direction:column;align-items:center;gap:12px}
.empty svg{width:54px;height:54px;color:#c7c7cc;fill:none;stroke:currentColor;stroke-width:1.4}
.empty b{color:var(--ink);font-size:19px}
.empty a{color:var(--brand);font-weight:600}

/* ---------- promos, story, visit */
.promos{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.promo{position:relative;min-height:300px;border-radius:var(--r-xl);overflow:hidden;color:#fff;display:flex;align-items:flex-end;isolation:isolate}
.promo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .8s var(--ease)}
.promo::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.4) 45%,rgba(0,0,0,.05) 85%),linear-gradient(0deg,rgba(0,0,0,.5),transparent 55%)}
.promo:hover img{transform:scale(1.04)}
.promo div{padding:28px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.promo .kicker{color:#ffb4c6}
.promo h3{font-size:clamp(24px,2.8vw,30px);font-weight:800}
.promo p{color:rgba(255,255,255,.88);max-width:36ch}
.promo .btn{margin-top:8px}
.story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);border-radius:var(--r-xl);overflow:hidden;background:#1d1d1f;color:#f5f5f7}
.story-ph{position:relative;min-height:380px}
.story-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story-tx{padding:clamp(28px,5vw,56px);display:flex;flex-direction:column;justify-content:center;gap:14px}
.story .kicker{color:#ffb4c6}
.story h2{font-size:clamp(28px,3.6vw,38px);font-weight:800}
.story p{color:rgba(245,245,247,.82);font-size:17px;max-width:52ch}
.story ul{list-style:none;padding:0;margin:6px 0 0;display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:8px 32px}
.story li b{display:block;font-size:32px;color:#fff;line-height:1.2}
.story li span{font-size:14px;color:rgba(245,245,247,.75)}
.visit{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;padding-bottom:56px}
.visit-ph{position:relative;border-radius:var(--r-xl);overflow:hidden;min-height:320px}
.visit-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.visit-tx{background:var(--surface);border-radius:var(--r-xl);padding:28px;display:flex;flex-direction:column;gap:16px}
.visit-tx dl{margin:0;display:grid;gap:14px}
.visit-tx dl div{display:flex;gap:12px;align-items:flex-start}
.visit-tx dt{flex:none;width:40px;height:40px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.visit-tx dt svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.visit-tx dd{margin:0;display:flex;flex-direction:column;font-size:15px;color:var(--muted)}
.visit-tx dd b{color:var(--ink);font-size:16px}
.visit-tx .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.info{display:none}
.band-tour,.band-share{margin-top:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--surface);border-radius:var(--r-xl);padding:28px}
.band-tour p,.band-share p{color:var(--muted);margin-top:4px}

/* ---------- product page */
.pdp{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:44px;align-items:start}
.pdp-img{position:relative;aspect-ratio:1;border-radius:var(--r-xl);overflow:hidden;background:var(--surface)}
.pdp-img img{width:100%;height:100%;object-fit:cover}
.pdp-img .fav{top:16px;left:16px;width:42px;height:42px}
.pdp-info{display:flex;flex-direction:column;gap:16px;position:sticky;top:120px}
.pdp-info h1{font-size:clamp(30px,4vw,42px);font-weight:800}
.pdp-cat{font-size:15px;font-weight:600;color:var(--brand)}
.pdp-price{display:flex;align-items:center;gap:8px;white-space:nowrap}
.pdp-price b{font-size:32px;font-weight:700}
.pdp-price small{font-size:17px;color:var(--ink2)}
.pdp-price s{color:var(--muted);margin-inline-start:6px}
.pdp-desc{color:var(--ink2);font-size:17px;line-height:1.85}
.facts{margin:0;background:var(--surface);border-radius:14px;overflow:hidden;display:block}
.facts div{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;min-height:48px}
.facts div+div{box-shadow:inset 0 .5px 0 var(--sep)}
.facts dt{font-size:16px;color:var(--ink)}.facts dd{margin:0;font-size:16px;color:var(--muted)}
.pdp-ctl .add,.pdp-ctl .stepper{height:54px;font-size:17px;border-radius:14px}
.pdp-ctl .add{background:var(--brand);color:#fff}.pdp-ctl .add:hover{background:var(--brand-2)}
.pdp-tools{display:flex;gap:8px}
.pdp-tools .btn{flex:1}
.pdp-note{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:14px;background:var(--surface);color:var(--ink2);font-size:15px}
.pdp-note div{display:flex;gap:10px;align-items:center}
.pdp-note svg{width:21px;height:21px;flex:none;fill:none;stroke:var(--brand);stroke-width:1.8}

/* ---------- support & account */
.faq details{background:var(--surface)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;font-weight:600;cursor:pointer;list-style:none;min-height:52px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:var(--brand);font-weight:400;transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 16px 16px;color:var(--ink2);line-height:1.85}
.faq details+details{box-shadow:inset 0 .5px 0 var(--sep)}
.profile-card{display:flex;align-items:center;gap:14px;background:var(--surface);border-radius:var(--r-lg);padding:18px}
.profile-card .ava{width:62px;height:62px;font-size:26px}
.profile-card b{display:block;font-size:21px}
.profile-card span{color:var(--muted);font-size:15px}

/* ---------- panels & forms (iOS grouped) */
.panel{background:var(--surface);border-radius:var(--r-lg);padding:20px;margin-bottom:14px}
.panel h2{margin-bottom:12px;font-size:20px}
.form{display:grid;gap:12px}
.form.two{grid-template-columns:1fr 1fr}
.form .full{grid-column:1/-1}
.form label,.panel>label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;color:var(--muted)}
input:where(:not([type=radio]):not([type=checkbox])),select,textarea{width:100%;border:0;border-radius:12px;padding:12px 14px;background:var(--fill2);outline:none;font-size:16px;min-height:48px;color:var(--ink);transition:background .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{background:#fff;box-shadow:0 0 0 2px var(--brand)}
input:disabled{color:var(--muted)}
.row{display:flex;gap:8px;align-items:center}.row .grow,.row input{flex:1;min-width:0}
.wrap-row{flex-wrap:wrap}
.err{color:var(--bad);font-size:14px;min-height:1em}
.notice{background:#fff8e6;color:#7a5200;border-radius:14px;padding:12px 16px;margin-bottom:14px;font-size:15px}
.notice.bad{background:#ffeceb;color:#a3000f}
.auth{max-width:440px;margin:0 auto}
.auth-head{text-align:center;margin-bottom:16px}
.auth-head img{width:96px;height:96px;border-radius:50%;margin:0 auto 10px}
.auth-head p{color:var(--muted)}
.tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--fill);border-radius:10px;padding:2px;margin-bottom:16px}
.tabs button{border:0;background:none;border-radius:8px;padding:7px;font-weight:600;font-size:15px;color:var(--ink)}
.tabs button[aria-selected=true]{background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.12),0 1px 1px rgba(0,0,0,.04)}
.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;margin:14px 0}
.or::before,.or::after{content:"";flex:1;height:.5px;background:var(--line2)}
.auth .btn-outline{width:100%;background:var(--fill2)}
.opts{display:grid;gap:8px;margin-bottom:12px}
.opt{display:flex;gap:12px;align-items:flex-start;border-radius:14px;padding:12px 14px;cursor:pointer;background:var(--fill2);border:2px solid transparent}
.opt:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.opt input{margin-top:5px;accent-color:var(--brand);width:18px;height:18px}
.opt b{display:block;font-size:16px}.opt small{color:var(--muted);font-size:14px}
.opt.soon{opacity:.6;cursor:not-allowed}
.soon-tag{font-style:normal;font-size:13px;font-weight:700;background:var(--gold);color:#fff;border-radius:99px;padding:1px 8px;margin-inline-start:6px;vertical-align:middle}
.mysr-form{max-width:420px}
.checkout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:start;margin-top:14px}
.co-side{position:sticky;top:120px}
.li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;box-shadow:inset 0 -.5px 0 var(--sep);font-size:15px}
.li:last-of-type{box-shadow:none}
.li.total{font-weight:700;font-size:18px;box-shadow:inset 0 .5px 0 var(--line2);margin-top:4px;padding-top:12px}
.addr{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;box-shadow:inset 0 -.5px 0 var(--sep)}
.addr b{display:block}
.order-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:12px 0;box-shadow:inset 0 -.5px 0 var(--sep)}
.order-row:last-child{box-shadow:none}
.order-row b{display:block}
.pill{display:inline-block;font-size:13px;font-weight:600;padding:3px 10px;border-radius:99px;background:var(--fill);color:var(--ink2);white-space:nowrap}
.s-new{background:#e8f1fd;color:var(--info)} .s-confirmed,.s-ready{background:#fff4dd;color:#8a5a00}
.s-picked,.s-onway{background:var(--brand-soft);color:var(--brand)} .s-delivered{background:#e7f6ec;color:var(--ok)} .s-cancelled{background:var(--fill);color:var(--muted)}
.track{list-style:none;margin:8px 0 14px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.track li{font-size:13px;color:var(--muted)}
.track i{display:block;height:5px;border-radius:99px;background:var(--fill);margin-bottom:8px}
.track li.done{color:var(--ink);font-weight:600}.track li.done i{background:var(--brand)}

/* ---------- cart sheet */
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.32);z-index:60;opacity:0;pointer-events:none;transition:opacity .3s}
.scrim.on{opacity:1;pointer-events:auto}
.cart{position:fixed;z-index:70;top:0;bottom:0;left:0;width:min(420px,100vw);background:var(--bg);display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .38s var(--ease);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.cart.on{transform:none;box-shadow:var(--shadow-lg)}
.cart header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 8px}
.cart header h2{font-size:28px;font-weight:800}
.cart-body{flex:1;overflow:auto;padding:4px 16px;overscroll-behavior:contain}
.line{display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 12px;padding:12px;background:var(--surface);border-radius:14px;margin-bottom:8px}
.line-img{grid-row:span 2;width:64px;height:64px;border-radius:10px;overflow:hidden;background:var(--fill2)}
.line-img img{width:100%;height:100%;object-fit:cover}
.line-info{display:flex;flex-direction:column;font-size:15px}
.line-info a{font-weight:600}
.line .stepper,.line .add{height:36px;width:140px;border-radius:10px}
.cart footer{background:var(--surface);border-radius:20px 20px 0 0;padding:16px 18px;display:flex;flex-direction:column;gap:4px;box-shadow:0 -8px 30px -18px rgba(0,0,0,.25)}
.cart-zone{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);margin-bottom:4px}
.cart-zone select{padding:8px 10px;min-height:40px}
.hint{font-size:14px;color:var(--ok);min-height:1em;margin:0}
.hint.bad{color:#a3000f}
.co-cpn{display:flex;gap:8px;margin:10px 0 2px}
.co-cpn input{flex:1;min-width:0;text-transform:uppercase;letter-spacing:.5px}
.co-cpn input:disabled{opacity:.7;background:var(--surface)}

/* ---------- footer & tab bar */
.foot{background:var(--surface);margin-top:24px;padding:40px 0 24px;font-size:15px;color:var(--muted)}
.foot-in{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:24px}
.foot b{display:block;color:var(--ink);font-size:16px;margin-bottom:8px}
.foot p{line-height:2}
.foot a{color:var(--ink2)}.foot a:hover{color:var(--brand)}
.foot-brand{display:flex;flex-direction:column;gap:10px}
.copy{margin-top:24px;padding-top:16px;box-shadow:inset 0 .5px 0 var(--sep);color:var(--muted);font-size:13.5px}
.bnav{display:none}
.toast{position:fixed;z-index:100;left:50%;top:calc(14px + env(safe-area-inset-top,0px));transform:translate(-50%,-20px) scale(.96);background:rgba(29,29,31,.88);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);color:#fff;padding:12px 20px;border-radius:999px;font-size:15px;font-weight:500;opacity:0;pointer-events:none;transition:.35s var(--ease);max-width:calc(100vw - 32px);text-align:center;box-shadow:var(--shadow-lg)}
.toast.on{opacity:1;transform:translate(-50%,0) scale(1)}
.toast[data-kind=bad]{background:rgba(215,0,21,.92)}

@media (max-width:1000px){
  .cats{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory}
  .cat{scroll-snap-align:start}
  .trust{grid-template-columns:1fr 1fr}
  .hero3{grid-template-columns:1fr}.stage{height:380px}
  .rail{grid-auto-columns:calc((100% - 28px) / 3)}
  .pdp{grid-template-columns:1fr;gap:20px}.pdp-info{position:static}
  .checkout{grid-template-columns:1fr}.co-side{position:static}
  .story{grid-template-columns:1fr}.story-ph{min-height:240px}
  .visit{grid-template-columns:1fr}
  .foot-in{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}
}
@media (max-width:720px){
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
  .ann{font-size:13px;padding:6px 12px}
  .top-in{height:auto;flex-wrap:wrap;padding-top:8px;padding-bottom:8px;gap:4px}
  .logo b{font-size:17px}.logo img{width:40px;height:40px}
  .top-act{margin-inline-start:auto}
  .search{order:3;flex-basis:100%;max-width:none;margin:4px 0 0}
  .acc span{display:none}
  .top .cart-btn,.top .fav-btn{display:none}
  .hero{padding-top:8px}
  .hero3{grid-template-columns:1fr;min-height:0;padding:26px 20px 10px;border-radius:24px;gap:6px}
  .hero h1{font-size:46px}
  .hero p{font-size:16.5px}
  .stage{height:330px;margin-inline:-6px}
  .chip{inset:auto 6px 6px 6px;padding:6px 9px;font-size:13px}.chip b{font-size:13px}
  .hero-cta .btn{flex:1}
  .trust{gap:8px}
  .trust>div{min-height:60px;padding:10px;gap:8px;border-radius:16px}
  .trust i{width:36px;height:36px;border-radius:10px}
  .trust svg{width:20px;height:20px}
  .trust span{display:none}
  .trust b{font-size:14px}
  .sec{padding-top:40px}
  .cats{grid-template-columns:repeat(5,42%);gap:10px}
  .promos{grid-template-columns:1fr}
  .promo{min-height:240px;border-radius:24px}
  .story{border-radius:24px}.visit-ph,.visit-tx{border-radius:24px}
  .story ul{gap:8px 20px}
  .story li b{font-size:26px}
  .form.two{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .card{padding:6px;border-radius:18px}
  .card-img{border-radius:13px}
  .card-name{font-size:15px}
  .card-body{padding:8px 4px 2px}
  .add,.stepper,.soldout{height:40px}
  .fav{top:12px;left:12px;width:32px;height:32px}
  .rail{grid-auto-columns:46%}
  .bnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:50;left:0;right:0;bottom:0;background:rgba(249,249,249,.86);backdrop-filter:var(--blur);-webkit-backdrop-filter:var(--blur);box-shadow:inset 0 .5px 0 var(--line2);padding:6px max(4px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px))}
  .bnav a,.bnav button{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12.5px;color:#8e8e93;padding:3px 0;border:0;background:none}
  .bnav .on{color:var(--brand)}
  .bnav svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .bnav .on svg{stroke-width:2.1}
  .bnav .count{top:-2px;left:calc(50% - 24px)}
  .order-row{grid-template-columns:1fr auto}
  .order-row>b{grid-column:1/-1}
  .foot-in{grid-template-columns:1fr 1fr;gap:20px}
  .toast{top:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px)}
  .toast.on{transform:translate(-50%,0)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}

/* ---------- legal pages */
.foot-legal{margin-top:6px}
.foot-legal a{color:inherit;text-decoration:underline}
.legal{max-width:820px;padding-block:28px 60px;line-height:1.95}
.legal-head{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.legal-head h1{font-size:clamp(24px,4vw,32px);margin:0 0 4px}
.legal h2{font-size:17px;margin:26px 0 6px}
.legal ul{padding-inline-start:22px;margin:6px 0}
.legal a{color:var(--brand)}
.legal-table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14.5px}
.legal-table th,.legal-table td{border:1px solid var(--line);padding:10px 12px;text-align:start;vertical-align:top}
.legal-table th{background:var(--fill2);font-weight:600;width:34%}

/* ---------- delivery location map (checkout) */
.map-box{margin-bottom:12px}
.map-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.co-map{height:320px;border-radius:14px;border:1px solid var(--line);overflow:hidden;background:#eef0ea;z-index:0}
.co-map .map-wait{padding:40px 16px;text-align:center;color:var(--muted);direction:rtl}
.map-q{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:var(--sand);font-size:14px;line-height:1.8}
.map-q.ok{background:var(--brand-soft)}
.map-q.bad{background:#fdecea;color:#7a1b12}
.rk-pin{background:none;border:0}
.rk-shop-dot{width:36px;height:36px;border-radius:50%;background:#fff;border:3px solid var(--brand);display:grid;place-items:center;font-size:18px;box-shadow:0 2px 6px rgba(0,0,0,.3)}
.leaflet-container{font-family:inherit}
@media (max-width:640px){.co-map{height:280px}}
img.media-ld{background:linear-gradient(100deg,rgba(127,127,127,.12) 30%,rgba(127,127,127,.24) 50%,rgba(127,127,127,.12) 70%) 0 0/200% 100%;animation:sk 1.4s infinite}

.foot-brand .logo img{width:72px;height:72px}
