/* VOICE: cheerful neighbourhood detergent shop, friendly to mothers, quick to order from
   IDEA: the shop's shelves at night, every item wearing a yellow shelf price tag
   PICTURE: hero of bright bottles on a shelf; below it, aisles (sections) and shelf rails
   COLOUR and TYPE: deep navy ground, sunny yellow (wordmark, tags, main buttons), fez blue support; Baloo Bhaijaan 2 + Cairo
   LAYOUT: sticky brand bar, mobile tab bar, pages: home > section > product > cart > order */
:root{color-scheme:dark;--bg:#0d1424;--bg2:#141d33;--card:#18233d;--line:#263354;--ink:#f3f5fb;--mute:#a4afc9;--sun:#ffc928;--sun2:#ffdf6e;--fez:#2f6bf0;--ok:#25d366;--warn:#ff8a7a;--r:16px}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 Cairo,Tahoma,sans-serif;overflow-x:clip;padding-bottom:env(safe-area-inset-bottom)}
img{max-width:100%;display:block}
a{color:var(--sun2);text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;top:-60px;right:8px;background:var(--sun);color:#1a1300;padding:8px 14px;border-radius:10px;z-index:99}.skip:focus{top:8px}
.wrap{max-width:1240px;margin:0 auto;padding-inline:max(4vw,14px)}
.narrow{max-width:760px}
h1,h2{line-height:1.2;text-wrap:balance;margin:0}
h1{font-size:clamp(26px,3.6vw,38px);font-weight:800}
h2{font-size:clamp(20px,2.4vw,26px);font-weight:800}
.pt{margin:18px 0 14px}

/* header */
.top{position:sticky;top:0;z-index:30;background:rgba(13,20,36,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:16px;padding-block:10px}
.brand{display:flex;align-items:center;gap:8px;flex:none}
.word{font:800 28px/1 "Baloo Bhaijaan 2",Cairo,sans-serif;color:var(--sun);text-shadow:0 2px 0 #b07d00;margin:0}
.word small{display:block;font:700 12.5px/1.3 Cairo,sans-serif;color:var(--ink);text-shadow:none;margin-top:2px}
.search{flex:1}
.search label{position:relative;display:block}
.search svg{position:absolute;right:13px;top:50%;translate:0 -50%;width:20px;height:20px;color:var(--mute)}
.search input{width:100%;height:46px;border-radius:14px;border:1px solid var(--line);background:var(--bg2);padding:0 44px 0 14px;font-size:16px}
.search.big{margin:6px 0 18px}.search.big input{height:54px;font-size:17px}
.desk{display:flex;gap:6px}
.desk a{display:flex;align-items:center;gap:6px;height:46px;padding:0 12px;border-radius:12px;color:var(--ink);font-weight:700;font-size:15px;position:relative}
.desk a svg{width:20px;height:20px}
.desk a:hover,.desk a.on{background:var(--bg2)}
.desk .cartlink{background:var(--sun);color:#1a1300}.desk .cartlink:hover,.desk .cartlink.on{background:var(--sun2)}
.cc{background:#e5484d;color:#fff;border-radius:99px;min-width:20px;height:20px;font-size:12px;display:grid;place-items:center;padding:0 5px;line-height:1}
.desk .cc{position:absolute;top:2px;left:2px}
[hidden]{display:none!important}

/* mobile tab bar */
.tabbar{display:none}
@media(max-width:760px){
  .desk{display:none}
  .bar{flex-wrap:wrap;gap:8px 10px}.search{flex-basis:100%;order:3}.word{font-size:25px}
  .tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;background:rgba(13,20,36,.97);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0 6px;color:var(--mute);font-size:12px;font-weight:700;position:relative;min-height:56px}
  .tabbar a svg{width:24px;height:24px}.tabbar a.on{color:var(--sun)}
  .tabbar .cc{position:absolute;top:3px;left:calc(50% - 22px)}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .foot{padding-bottom:10px}
}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border-radius:14px;border:0;background:var(--sun);color:#1a1300;font-weight:800;font-size:16px}
.btn svg{width:22px;height:22px}.btn:hover{background:var(--sun2)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}.btn.ghost:hover{background:var(--bg2)}
.btn.wide{width:100%}
.btn[disabled]{opacity:.5;cursor:wait}

/* hero */
.hero{background:radial-gradient(120% 90% at 85% 10%,#1c3a8a 0,transparent 55%),linear-gradient(180deg,#101b33,#0d1424);border-bottom:1px solid var(--line)}
.hero-in{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:24px;padding-block:clamp(26px,5vw,60px)}
.hero h1{font-size:clamp(30px,4.6vw,52px);line-height:1.1}.hero h1 span{color:var(--sun);display:block}
.hero-t p{color:#cdd5ea;font-size:17px;max-width:52ch;margin:14px 0 20px}
.hero-b{display:flex;gap:10px;flex-wrap:wrap}
.facts{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:8px 18px;color:#cdd5ea;font-size:14px;font-weight:600}
.facts li{display:flex;align-items:center;gap:6px}.facts svg{width:20px;height:20px;color:var(--sun)}
.hero-art svg{width:100%;max-height:340px}
@media(max-width:760px){.hero-in{grid-template-columns:1fr}.hero-art{order:-1;max-width:300px;margin-inline:auto}.hero-art svg{max-height:200px}}

/* blocks */
.block{padding-block:clamp(22px,3.5vw,40px) 0}
.bh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.bh a{font-weight:700;font-size:15px;white-space:nowrap}
.sections{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.sec{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px;border-radius:var(--r);background:var(--card);border:1px solid var(--line);color:var(--ink)}
.sec:hover{border-color:var(--c)}
.si{grid-row:span 2;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--c);color:#fff}.si svg{width:28px;height:28px}
.sec b{font-size:14.5px;line-height:1.35}.sec small{color:var(--mute);font-size:12.5px}
@media(max-width:420px){.sections{grid-template-columns:repeat(2,minmax(0,1fr))}.sec{grid-template-columns:1fr;text-align:center;justify-items:center;row-gap:6px}.si{grid-row:auto}}

/* product cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:12px}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,184px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:thin}
.rail .card{scroll-snap-align:start}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:10px;display:flex;flex-direction:column;gap:8px}
.cm{position:relative;display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#fff}
.cm img{width:100%;height:100%;object-fit:contain}
.ph{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(150deg,var(--c),color-mix(in srgb,var(--c) 60%,#0d1424));color:#fff}
.ph svg{width:42%;height:42%;opacity:.95}
.ph.big{aspect-ratio:1;border-radius:var(--r)}
.badge{position:absolute;top:8px;right:8px;background:#e5484d;color:#fff;font-size:12px;border-radius:8px;padding:1px 8px}
.cn{color:var(--ink);font-size:14px;font-weight:600;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px}
.cr{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}
.pr{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.tag{background:var(--sun);color:#1a1300;font-weight:800;border-radius:8px 8px 8px 2px;padding:2px 9px;white-space:nowrap;font-size:15px}
.tag small{font-size:11px}
.was{color:var(--mute);font-size:12.5px;margin-top:3px}
.add{height:42px;width:42px;border-radius:12px;border:0;background:var(--fez);color:#fff;font-weight:800;font-size:24px;line-height:1}
.qty{display:flex;align-items:center;background:var(--bg2);border:1px solid var(--line);border-radius:12px;height:42px}
.qty button{width:34px;height:40px;border:0;background:none;font-size:21px;font-weight:800;color:var(--sun)}
.qty span{min-width:20px;text-align:center;font-weight:800}
@media(max-width:600px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{padding:8px}}

/* listing pages */
.crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13.5px;color:var(--mute);padding-top:14px}
.crumbs a{color:var(--mute)}.crumbs a:hover{color:var(--sun2)}
.ph-head{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 12px}
.ph-head p{margin:4px 0 0;color:var(--mute);font-size:14.5px}
.sortf select{height:44px;border-radius:12px;border:1px solid var(--line);background:var(--bg2);padding:0 12px;font-size:15px}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:12px;margin-bottom:6px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chips a{flex:none;display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:99px;border:1px solid var(--line);background:var(--bg2);color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap}
.chips a svg{width:18px;height:18px}.chips a.on{background:var(--sun);color:#1a1300;border-color:var(--sun)}
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:22px 0 10px}
.pager a,.pager b,.pager span{min-width:44px;height:44px;display:grid;place-items:center;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:var(--bg2);color:var(--ink);font-weight:700}
.pager b{background:var(--sun);color:#1a1300;border-color:var(--sun)}.pager span{border:0;background:none}
.none{color:var(--mute);text-align:center;padding:36px 10px}
.empty-page{text-align:center;padding-block:60px}

/* product page */
.pd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(18px,4vw,44px);padding-top:14px}
.pd-m{position:relative;border-radius:var(--r);overflow:hidden;background:#fff;aspect-ratio:1;max-width:520px;width:100%}
.pd-m img{width:100%;height:100%;object-fit:contain}
.pd-sec{font-weight:700;font-size:14px}
.pd h1{font-size:clamp(24px,3vw,32px);margin:6px 0 12px}
.pd-pr{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px}.pd-pr .tag{font-size:24px;padding:4px 14px}.pd-pr .was{font-size:16px}
.save{background:#3a1d22;color:#ffb3ab;border-radius:8px;padding:2px 10px;font-size:14px;font-weight:700}
.buy{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.buy .btn{flex:1;min-width:180px}
.qty.big{height:50px}.qty.big button{width:44px;height:48px}
.qty input{width:44px;height:48px;border:0;background:none;text-align:center;font-weight:800;font-size:17px;-moz-appearance:textfield}
.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.wa{width:100%;margin-bottom:18px}.wa svg{color:var(--ok)}
.pd-info,.info-list{list-style:none;padding:0;margin:0;display:grid;gap:10px;color:#cdd5ea;font-size:14.5px}
.pd-info li,.info-list li{display:flex;gap:10px;align-items:flex-start}.pd-info svg,.info-list svg{flex:none;width:22px;height:22px;color:var(--sun)}
@media(max-width:760px){.pd{grid-template-columns:1fr}.pd-m{max-width:none}}

/* steps + visit */
.steps ol{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:s}
.steps li{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;display:grid;gap:4px;counter-increment:s}
.steps li::before{content:counter(s,arabic-indic);width:36px;height:36px;border-radius:50%;background:var(--sun);color:#1a1300;font-weight:800;display:grid;place-items:center;font-size:18px}
.steps b{font-size:16px}.steps span{color:var(--mute);font-size:14px}
@media(max-width:760px){.steps ol{grid-template-columns:1fr}}
.visit{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.visit>div{flex:1}.visit p{color:var(--mute);margin:6px 0 0}
.visit{padding-bottom:10px}

/* cart */
.cart-lines{display:grid;gap:0;margin-bottom:10px}
.line{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.line .th{grid-row:span 2;width:64px;height:64px;border-radius:12px;overflow:hidden}
.line a{color:var(--ink);font-weight:600;font-size:14.5px;line-height:1.4}
.line .lp{color:var(--mute);font-size:13.5px}
.line .qty{grid-row:span 2}
.checkout{display:grid;gap:12px;margin:16px 0 30px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.checkout label{display:grid;gap:4px;font-size:14px;font-weight:700}
.checkout input,.checkout select,.checkout textarea{height:48px;border-radius:12px;border:1px solid var(--line);background:var(--bg2);padding:0 12px;font-size:16px;font-weight:400}
.checkout textarea{height:78px;padding:10px 12px;resize:vertical}
.pay{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pay legend{font-size:14px;font-weight:700;margin-bottom:6px}
.pay label{position:relative;display:block}
.pay input{position:absolute;opacity:0;inset:0}
.pay span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;border:1px solid var(--line);border-radius:12px;background:var(--bg2);font-size:13.5px;padding:4px}
.pay input:checked+span{border-color:var(--sun);background:#2a2610;color:var(--sun2)}
.pay input:focus-visible+span{outline:3px solid var(--sun)}
.sum{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:4px}
.sum div{display:flex;justify-content:space-between;font-size:16px}.sum div:first-child b{font-size:20px}
.sum p{margin:0;color:var(--mute);font-size:13px}
.err{color:var(--warn);font-size:14px;margin:0;min-height:0}
.done{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:22px 0 30px;text-align:center}
.done .ok{width:64px;height:64px;border-radius:50%;background:var(--ok);color:#06210f;display:grid;place-items:center;margin:0 auto 10px;font-size:34px;font-weight:800}
.done ul{list-style:none;padding:0;margin:14px 0;text-align:start;display:grid;gap:6px;font-size:14.5px}
.done li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line);padding-bottom:6px}
.done .btn{margin-top:8px}.done .btn svg{color:#06210f}
.done .wa-go{background:var(--ok);color:#06210f;width:100%}

/* prose + footer */
.prose p{color:#cdd5ea;max-width:68ch}
.narrow h2{margin:24px 0 8px;font-size:20px}
.foot{background:var(--bg2);border-top:1px solid var(--line);margin-top:40px}
.fg{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:24px;padding-block:30px}
.foot h2{font-size:15px;color:var(--sun);margin-bottom:8px}
.foot p,.foot li{color:var(--mute);font-size:14px;margin:0}
.foot ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}.foot ul a{color:var(--mute)}.foot ul a:hover{color:var(--sun2)}
.foot .word{font-size:24px;margin-bottom:8px}
.wa-btn{display:inline-flex;align-items:center;gap:8px;margin-top:10px;min-height:44px;padding:0 14px;border-radius:12px;background:var(--ok);color:#06210f;font-weight:800}.wa-btn svg{width:20px;height:20px}
.copy{border-top:1px solid var(--line);padding-block:12px;color:var(--mute);font-size:12.5px;margin:0}
@media(max-width:860px){.fg{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.fg{grid-template-columns:1fr}}

.toast{position:fixed;left:50%;bottom:24px;translate:-50% 20px;opacity:0;pointer-events:none;background:#f3f5fb;color:#0d1424;font-weight:700;padding:10px 18px;border-radius:12px;z-index:50;transition:.2s;box-shadow:0 8px 24px rgba(0,0,0,.4);display:flex;gap:10px;align-items:center}
.toast.show{opacity:1;translate:-50% 0;pointer-events:auto}.toast a{color:#1d4bb3}
@media(max-width:760px){.toast{bottom:calc(76px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.toast{transition:none}}
