:root{--g:#0b4fa8;--g2:#1b6fd1;--g3:#e8f1fc;--y:#ff8a00;--tx:#1b1f1c;--mu:#6b746d;--bd:#e1e7f0;--bg:#f4f7fb;--r:14px;--sh:0 2px 10px rgba(0,0,0,.07)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--tx);font-size:15px;line-height:1.45;padding-bottom:72px}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
h1,h2,h3{margin:0 0 .5em;line-height:1.25}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 12px}
.main{padding-top:10px;min-height:60vh}
.muted{color:var(--mu);font-size:13px}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 8px rgba(0,0,0,.08);padding-bottom:8px}
.hdr-in{display:flex;align-items:center;justify-content:space-between;gap:10px;height:58px}
.logo img{height:38px;width:auto}
.dnav{display:none;gap:22px;font-weight:600;margin-left:auto;margin-right:18px}
.dnav a:hover{color:var(--g2)}
.hicons{display:flex;align-items:center;gap:8px}
.ib{position:relative;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:0;background:#f0f3f0;color:var(--tx);cursor:pointer}
.ib.green{background:var(--g);color:#fff}
.cnt{position:absolute;top:-3px;right:-3px;background:#e53935;color:#fff;font-style:normal;font-size:10px;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.dd{position:relative}
.dd-menu{display:none;position:absolute;right:0;top:48px;width:230px;background:#fff;border-radius:var(--r);box-shadow:0 10px 30px rgba(0,0,0,.18);overflow:hidden;z-index:60}
.dd-menu.open{display:block}
.dd-menu a{display:flex;gap:10px;align-items:center;padding:12px 14px;border-top:1px solid var(--bd);font-weight:500}
.dd-menu a:hover{background:var(--g3)}.dd-menu a.red{color:#c62828}
.dd-head{padding:12px 14px;background:var(--g3);display:flex;flex-direction:column}
.dd-head small{color:var(--mu);word-break:break-all}
.search{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--bd);border-radius:30px;padding:4px 4px 4px 14px}
.search svg{color:var(--mu);flex:none}
.search input{flex:1;border:0;background:transparent;font-size:15px;padding:8px 0;outline:0;min-width:0}
.search button{background:var(--g);color:#fff;border:0;border-radius:24px;padding:9px 16px;font-weight:600;cursor:pointer}

/* flash / buttons / forms */
.flash{padding:11px 14px;border-radius:10px;margin:8px 0;font-weight:500}
.flash.ok{background:#e3eefb;color:#0b4fa8}.flash.err{background:#fdeaea;color:#b71c1c}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--g);color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:700;font-size:15px;cursor:pointer;text-align:center}
.btn:hover{background:var(--g2)}.btn.block{display:flex;width:100%}
.btn.ghost{background:#fff;color:var(--g);border:1.5px solid var(--g)}
.btn.red{background:#d32f2f}.btn.yel{background:var(--y);color:#222}.btn.sm{padding:7px 12px;font-size:13px;border-radius:9px}
.card{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px;margin-bottom:12px}
.form label{display:block;font-weight:600;font-size:13px;margin:12px 0 4px}
.form input,.form select,.form textarea{width:100%;padding:12px;border:1.5px solid var(--bd);border-radius:10px;font-size:15px;background:#fff;font-family:inherit}
.form input:focus,.form select:focus,.form textarea:focus{outline:0;border-color:var(--g2)}
.form .row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.form .btn{margin-top:16px}
.auth{max-width:420px;margin:14px auto}
.auth .logo-c{text-align:center;margin-bottom:8px}.auth .logo-c img{height:52px;margin:0 auto}
.center{text-align:center}
.sec-h{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}
.sec-h h2{font-size:18px;margin:0}.sec-h a{color:var(--g2);font-weight:600;font-size:13px}

/* slider */
/* banner slider: fluid, always 5:2 (500x200 ratio) - scales with the screen */
.slider{position:relative;width:100%;max-width:100%;aspect-ratio:5/2;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);margin:10px auto 0;background:#ddd}
.sl-track{display:flex;height:100%;transition:transform .5s ease}
.sl-track a,.sl-track div.s{flex:0 0 100%;height:100%;display:block}
.sl-track img{width:100%;height:100%;object-fit:cover}
.sl-dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.sl-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer}.sl-dots i.on{background:var(--g);width:18px;border-radius:5px}

/* categories */
.cats{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cat{flex:0 0 auto;white-space:nowrap;padding:9px 16px;border-radius:24px;background:#fff;border:1.5px solid var(--g3);font-size:13px;font-weight:700;color:var(--g);box-shadow:var(--sh);text-align:center}
.cat:hover,.cat.on{background:var(--g);color:#fff;border-color:var(--g)}
.catgrid{display:flex;flex-wrap:wrap;gap:10px}
.catgrid .cat{flex:0 0 auto}

/* products */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pc{background:#fff;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;display:flex;flex-direction:column;position:relative}
.pc .pi{aspect-ratio:1/1;background:#f0f0f0;overflow:hidden}
.pc .pi img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.pc:hover .pi img{transform:scale(1.04)}
.pc .pb{padding:10px;display:flex;flex-direction:column;gap:4px;flex:1}
.pc .pn{font-weight:600;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.price{font-weight:800;color:var(--g);font-size:16px}.price s{color:var(--mu);font-weight:400;font-size:12px;margin-left:5px}
.off{position:absolute;top:8px;left:8px;background:var(--y);color:#222;font-size:11px;font-weight:800;padding:3px 8px;border-radius:8px}
.oos{position:absolute;top:36px;left:8px;background:#444;color:#fff;font-size:11px;padding:3px 8px;border-radius:8px}
.pc .btn{margin-top:auto}

.pdp{display:grid;gap:14px}
.gal .main-i{aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--sh)}
.gal .main-i img{width:100%;height:100%;object-fit:contain}
.thumbs{display:flex;gap:8px;margin-top:8px;overflow-x:auto}
.thumbs img{width:62px;height:62px;object-fit:cover;border-radius:10px;border:2px solid transparent;cursor:pointer}
.thumbs img.on{border-color:var(--g)}
.desc{white-space:pre-line}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--bd);border-radius:10px;overflow:hidden;background:#fff}
.qty button{width:34px;height:34px;border:0;background:#f0f3f0;font-size:18px;cursor:pointer}
.qty span{min-width:34px;text-align:center;font-weight:700}
.stickybar{position:fixed;left:0;right:0;bottom:62px;background:#fff;padding:8px 12px;display:flex;gap:10px;box-shadow:0 -3px 14px rgba(0,0,0,.1);z-index:40}
.stickybar .btn{flex:1}

/* cart / orders */
.ci-row{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--bd)}
.ci-row:last-child{border:0}.ci-row img{width:70px;height:70px;border-radius:10px;object-fit:cover;flex:none}
.ci-row .inf{flex:1;min-width:0}.ci-row .nm{font-weight:600}
.sum div{display:flex;justify-content:space-between;padding:5px 0}.sum .t{font-weight:800;font-size:17px;border-top:1px dashed var(--bd);margin-top:4px;padding-top:9px}
.badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:700;background:#eee}
.st-placed{background:#fff3cd;color:#8a6d00}.st-confirmed{background:#dbeafe;color:#1e4fa3}.st-packed{background:#ede0ff;color:#5b2fa3}
.st-out_for_delivery{background:#ffe5d0;color:#b4500b}.st-delivered{background:#d9f3de;color:#0b4fa8}.st-cancelled{background:#fde0e0;color:#b71c1c}
.tl{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--g3)}
.tl li{position:relative;padding:0 0 12px 14px}.tl li:before{content:"";position:absolute;left:-22px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--g)}
.notif{display:block;padding:12px;border-bottom:1px solid var(--bd);background:#fff}.notif.un{background:var(--g3)}

/* footer */
.foot{background:#fff;margin-top:24px;padding:20px 0 12px;text-align:center;border-top:1px solid var(--bd)}
.flogo{height:42px;margin:0 auto 6px}
.flinks{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;margin:10px 0;font-size:13px;font-weight:600;color:var(--g)}
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -2px 14px rgba(0,0,0,.12);padding-bottom:env(safe-area-inset-bottom)}
.bnav a{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 6px;font-size:11px;font-weight:600;color:var(--mu)}
.bnav a.on{color:var(--g)}
.pagetxt h3{margin-top:18px;color:var(--g)}.pagetxt ul,.pagetxt ol{padding-left:20px}
.empty{text-align:center;padding:40px 10px;color:var(--mu)}
.pager{display:flex;gap:6px;justify-content:center;margin:16px 0}.pager a,.pager b{padding:7px 12px;border-radius:9px;background:#fff;box-shadow:var(--sh)}.pager b{background:var(--g);color:#fff}

/* tablet / desktop */
@media(min-width:640px){.grid{grid-template-columns:repeat(3,1fr);gap:14px}.logo img{height:44px}}
@media(min-width:768px){.pdp{grid-template-columns:1fr 1fr;gap:28px}.stickybar{position:static;box-shadow:none;padding:0;margin-top:14px}.pdp-wrap{padding-bottom:0}}
@media(min-width:1024px){body{padding-bottom:0}.bnav{display:none}.dnav{display:flex}.grid{grid-template-columns:repeat(4,1fr);gap:18px}.hdr{padding-bottom:10px}.hdr .wrap:last-child{max-width:640px}.cartlay{display:grid;grid-template-columns:1fr 360px;gap:16px;align-items:start}.logo img{height:48px}}
@media(min-width:1280px){.grid{grid-template-columns:repeat(5,1fr)}}

/* admin / delivery panel */
body.panel{padding-bottom:70px;background:#f1f4f1}
.ahdr{background:var(--g);color:#fff;position:sticky;top:0;z-index:50}
.ahdr .in{display:flex;align-items:center;justify-content:space-between;height:54px;max-width:1300px;margin:0 auto;padding:0 12px}
.ahdr img{height:34px;background:#fff;border-radius:8px;padding:3px 8px}
.ahdr a.x{color:#fff;font-weight:600;font-size:13px}
.anav{position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;overflow-x:auto;box-shadow:0 -2px 14px rgba(0,0,0,.12);z-index:55;padding-bottom:env(safe-area-inset-bottom)}
.anav a{flex:1 0 auto;min-width:70px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px;font-size:11px;font-weight:600;color:var(--mu)}
.anav a.on{color:var(--g)}
.pw{max-width:1300px;margin:0 auto;padding:12px}
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.stat{background:#fff;border-radius:var(--r);padding:14px;box-shadow:var(--sh)}.stat b{display:block;font-size:22px;color:var(--g)}.stat span{font-size:12px;color:var(--mu)}
.tbl{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);font-size:14px}
.tbl th,.tbl td{padding:10px;text-align:left;border-bottom:1px solid var(--bd);vertical-align:middle}.tbl th{background:var(--g3);font-size:12px;text-transform:uppercase;color:var(--g)}
.tbl img{width:44px;height:44px;border-radius:8px;object-fit:cover}
.tw{overflow-x:auto;border-radius:var(--r)}
.acts{display:flex;gap:6px;flex-wrap:wrap}
.inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.inline select,.inline input{padding:8px;border:1.5px solid var(--bd);border-radius:9px}
.tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:10px}.tabs a{padding:7px 14px;background:#fff;border-radius:20px;white-space:nowrap;font-weight:600;font-size:13px;box-shadow:var(--sh)}.tabs a.on{background:var(--g);color:#fff}
@media(min-width:768px){.stats{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1024px){body.panel{padding-bottom:0}.anav{position:static;box-shadow:var(--sh);max-width:1300px;margin:10px auto 0;border-radius:var(--r);padding:0}.anav a{flex-direction:row;justify-content:center;gap:6px;font-size:13px;padding:12px}}


/* ---- wishlist heart ---- */
.wish{position:absolute;top:6px;right:6px;z-index:3;margin:0}
.heart{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.94);display:grid;place-items:center;cursor:pointer;color:#8d968f;box-shadow:0 1px 6px rgba(0,0,0,.22);padding:0;transition:transform .15s}
.heart:hover{color:#e53935;transform:scale(1.08)}
.heart.on{color:#e53935}.heart.on svg{fill:#e53935}
.h-wish svg{fill:none}
@media(max-width:419px){.h-wish{display:none}}

/* ---- ratings & reviews ---- */
.stars{color:#f5a300;letter-spacing:1px;white-space:nowrap}
.rt{font-size:13px;line-height:1.2}.rt small{color:var(--mu)}
.spec{width:100%;border-collapse:collapse;font-size:14px}
.spec th{text-align:left;font-weight:600;color:var(--mu);width:42%;padding:7px 0;border-bottom:1px solid var(--bd);vertical-align:top}
.spec td{padding:7px 0;border-bottom:1px solid var(--bd)}
.spec tr:last-child th,.spec tr:last-child td{border-bottom:0}
.rv-sum{display:flex;gap:22px;flex-wrap:wrap;align-items:center;margin:8px 0 14px}
.rv-big{text-align:center;min-width:96px}.rv-big b{font-size:36px;display:block;line-height:1.1}
.rv-bars{flex:1;min-width:200px}.rv-bars div{display:flex;align-items:center;gap:8px;font-size:12px;margin:3px 0}
.rv-bars span{width:26px;color:var(--mu)}.rv-bars span:last-child{text-align:right}
.rv-bars i{flex:1;height:7px;background:#eee;border-radius:5px;overflow:hidden}.rv-bars em{display:block;height:100%;background:#f5a300}
.rv-form{border-top:1px solid var(--bd);padding-top:6px;margin-bottom:8px}
.form .starin{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.form .starin input{position:absolute;opacity:0;width:1px;height:1px;padding:0;border:0;margin:0}
.form .starin label{font-size:32px;line-height:1;cursor:pointer;color:#cfd4d0;margin:0;font-weight:400}
.form .starin input:checked~label,.form .starin label:hover,.form .starin label:hover~label{color:#f5a300}
.form .starin input:focus-visible+label{outline:2px solid var(--g2);border-radius:4px}
.rv{padding:12px 0;border-top:1px solid var(--bd)}.rv p{margin:6px 0 0}
.rv-h{display:flex;gap:10px;align-items:center}

/* ---- avatar / profile ---- */
.av{border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;flex:none;vertical-align:middle}
.av-t{background:var(--g3);color:var(--g);font-weight:800}
.ib .av{width:40px;height:40px}
.prof-top{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.prof-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.prof-links a{display:inline-flex;gap:6px;align-items:center;padding:7px 12px;background:var(--g3);color:var(--g);border-radius:20px;font-weight:600;font-size:13px}

/* ---- admin forms ---- */
.fs{border:1px solid var(--bd);border-radius:12px;padding:2px 12px 12px;margin:14px 0 0;min-width:0}
.fs legend{font-weight:800;color:var(--g);padding:0 6px}
.form .row3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media(max-width:520px){.form .row3{grid-template-columns:1fr}}
.form .chk{display:flex;gap:8px;align-items:center;font-weight:500}.form .chk input{width:auto}
.tbl .av{width:40px;height:40px}
.ro{background:var(--g3);border-radius:10px;padding:12px;font-weight:700;color:var(--g)}

/* ---- 4 image boxes under the banner (continuous slow zoom) ---- */
.zboxes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0 0}
@media(min-width:640px){.zboxes{grid-template-columns:repeat(4,1fr)}}
.zb{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);background:#e8ece9}
.zb img{width:100%;height:100%;object-fit:cover;transform-origin:center;animation:zbzoom 6s ease-in-out infinite alternate}
.zb:hover img{animation-play-state:paused}
.zb .zt{position:absolute;left:0;right:0;bottom:0;padding:18px 8px 7px;color:#fff;font-weight:700;font-size:13px;text-align:center;background:linear-gradient(transparent,rgba(0,0,0,.6))}
@keyframes zbzoom{from{transform:scale(1)}to{transform:scale(1.18)}}
@media(prefers-reduced-motion:reduce){.zb img{animation:none}}

/* centered "Shop Now" with animated light-pink border on the zoom boxes */
.zb .sn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px 18px;border:2px solid #f8b6cd;border-radius:30px;color:#fff;font-weight:800;font-size:14px;white-space:nowrap;background:rgba(0,0,0,.22);text-shadow:0 1px 3px rgba(0,0,0,.5);animation:pinkglow 1.8s ease-in-out infinite}
@keyframes pinkglow{0%,100%{border-color:#f8b6cd;box-shadow:0 0 0 0 rgba(248,182,205,.65)}50%{border-color:#ffd3e2;box-shadow:0 0 0 9px rgba(248,182,205,0)}}
@media(prefers-reduced-motion:reduce){.zb .sn{animation:none}}
/* one card per category: full-width image with bold name + transparent Shop Now button on top */
.ccards{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:600px){.ccards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.ccards{grid-template-columns:repeat(4,1fr)}}
.cc{position:relative;display:block;aspect-ratio:16/10;border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;background:#dfe5e1}
@media(min-width:900px){.cc{aspect-ratio:1/1}}
.cc img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.cc:hover img{transform:scale(1.08)}
.cc::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.38)}
.ccv{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:10px;text-align:center}
.ccv b{color:#fff;font-size:clamp(18px,2.4vw,24px);font-weight:800;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.shopbtn{display:inline-block;padding:7px 22px;border:2px solid #fff;border-radius:30px;background:transparent;color:#fff;font-weight:700;font-size:14px;transition:background .2s,color .2s}
.cc:hover .shopbtn{background:rgba(255,255,255,.92);color:var(--g)}

/* footer: logo left + app badges right (always one row), contact boxes */
.foot{text-align:left}
.ftop{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:nowrap}
.fl-l{min-width:0}.fl-l .flogo{margin:0;height:38px;width:auto;max-width:100%}.fl-l p{margin:4px 0 0;font-size:12px}
.fl-r{display:flex;gap:8px;align-items:center;flex:none}.fl-r img{height:44px;width:auto;display:block}
.foot .flinks{justify-content:center}.foot>.wrap>p.muted{text-align:center}
.fcontact{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px auto;max-width:520px}
.fc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 8px;border-radius:14px;color:#fff;font-weight:700;font-size:14px;box-shadow:0 3px 8px rgba(0,0,0,.18);transition:transform .15s,filter .15s}
.fc svg{width:28px;height:28px}
.fc:hover{transform:translateY(-2px);filter:brightness(1.08)}
.fc.wa{background:#1fa855}.fc.call{background:#1976d2}.fc.mail{background:#e53935}
@media(max-width:560px){.fl-l .flogo{height:28px}.fl-l p{display:none}.fl-r img{height:34px}.fl-r{gap:6px}}
@media(max-width:360px){.fl-r img{height:30px}}

/* preloader: full-width logo zooms IN, then the home page is revealed */
#preloader{position:fixed;inset:0;z-index:9999;background:#fff;display:grid;place-items:center;overflow:hidden;animation:plfade .7s ease 2.7s forwards}
#preloader img{width:94vw;max-width:1400px;height:auto;transform:scale(.3);opacity:0;animation:plzoom 2.9s cubic-bezier(.22,.61,.36,1) forwards}
@keyframes plzoom{0%{transform:scale(.3);opacity:0}30%{opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes plfade{to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){#preloader{animation-duration:.01s;animation-delay:.3s}#preloader img{animation:none;transform:none;opacity:1}}

/* home: why shop / about */
.whys{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0 0}
@media(min-width:768px){.whys{grid-template-columns:repeat(4,1fr)}}
.why{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px 10px;text-align:center}
.why .wi{width:44px;height:44px;border-radius:50%;background:var(--g3);color:var(--g);display:grid;place-items:center;margin:0 auto 8px}
.why b{display:block;font-size:14px}.why span{display:block;color:var(--mu);font-size:12px;margin-top:2px}
.abouth{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:16px;margin:16px 0}
.abouth h2{font-size:18px}.abouth p{margin:0 0 10px;color:#444}.abouth p:last-child{margin:0}


/* =====================================================================
   STOREFRONT THEME - red / orange / yellow festive "shopping app" look
   (applies to every customer page; admin & delivery panels are untouched)
   ===================================================================== */
body:not(.panel){--g:#e8261c;--g2:#f2531d;--g3:#fff1ee;--y:#ffc400;--bg:#f2f2f6;--bd:#ececf1;--r:18px;--sh:0 2px 10px rgba(0,0,0,.06);--fk:#111;padding-bottom:100px}
@media(min-width:1024px){body:not(.panel){padding-bottom:24px}}
body:not(.panel) .flash.ok{background:#e8f6ec;color:#1b7f3b}

/* ---- header: red -> orange bar, sparkle dots, white search pill ---- */
body:not(.panel) .hdr{background:linear-gradient(180deg,#e51d1d 0%,#ee3b1d 100%);box-shadow:none;padding-bottom:12px}
body:not(.panel) .hdr::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.55;background:radial-gradient(circle,rgba(255,255,255,.55) 0 1.5px,transparent 2.5px) 0 0/34px 34px}
body:not(.panel) .hdr>*{position:relative}
body:not(.panel) .hdr .logo{background:#fff;border-radius:12px;padding:3px 10px;display:inline-flex}
body:not(.panel) .hdr .dnav{color:#fff}
body:not(.panel) .hdr .dnav a:hover{color:#ffe08a}
body:not(.panel) .hdr .ib,body:not(.panel) .hdr .ib.green{background:#fff;color:var(--g)}
body:not(.panel) .hdr .cnt{background:#111}
body:not(.panel) .hdr .search{background:#fff;border:0;border-radius:18px;padding:5px 6px 5px 14px;min-height:52px;box-shadow:0 3px 10px rgba(0,0,0,.2)}
body:not(.panel) .hdr .search svg{color:#222}
body:not(.panel) .hdr .search input{font-size:16px}
body:not(.panel) .hdr .search button{width:42px;height:42px;padding:0;border-radius:50%;background:#111;display:grid;place-items:center}
body:not(.panel) .hdr .search button svg{color:#fff}

/* home: top tiles + location row scroll away, search + category tabs stay stuck (like the app) */
.hdr-up{display:none}
body.is-home .hdr-up{display:block;height:140px;padding-top:12px}
body.is-home .hdr-row{display:none}
body.is-home .hdr{top:-140px}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;height:76px;margin-bottom:10px}
.tile{background:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:4px;text-align:center;font-weight:800;font-size:12.5px;line-height:1.1;color:#222;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.tile svg{color:var(--g)}.tile img{height:32px;width:auto}
.tile.yel{background:#ffd21f;box-shadow:0 0 0 2px #fff3b0,0 2px 6px rgba(0,0,0,.18)}
.locrow{display:flex;gap:8px;height:42px}
.loc,.lq,.lp{border-radius:14px;display:flex;align-items:center}
.loc{flex:1;min-width:0;gap:8px;background:rgba(110,0,12,.55);color:#fff;padding:0 12px}
.loc b{font-weight:800}.loc span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lq{position:relative;flex:none;width:48px;justify-content:center;background:rgba(110,0,12,.55);color:#fff}
.lq .cnt{top:4px;right:8px}
.lp{flex:none;min-width:48px;justify-content:center;background:#fff;color:var(--g);font-weight:800;padding:0 8px}
.lp.txt{padding:0 14px}
.lp .av{width:30px;height:30px}
@media(min-width:1024px){body.is-home .hdr-up{display:none}body.is-home .hdr-row{display:flex}body.is-home .hdr{top:0}}

/* category tabs */
.ctabs{display:flex;gap:4px;overflow-x:auto;padding:10px 0 0;scrollbar-width:none}
.ctabs::-webkit-scrollbar{display:none}
.ctabs a{position:relative;flex:none;width:78px;display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff;font-size:13px;font-weight:600;padding-bottom:8px}
.ctabs a i{font-style:normal;width:48px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:24px;background:rgba(255,255,255,.2)}
.ctabs a.on i{background:#fff}
.ctabs a span{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ctabs a.on::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:3px;background:#fff}

/* festive strip under the header */
.fest{position:relative;overflow:hidden;color:#fff;text-align:center;padding:12px 0 46px;background:radial-gradient(circle,rgba(255,255,255,.5) 0 1.5px,transparent 2.5px) 0 0/34px 34px,linear-gradient(180deg,#ee3b1d,#f8841e)}
.fest .lan{position:absolute;top:-8px;font-size:36px;line-height:1}.fest .lan.l{left:12%}.fest .lan.r{right:12%}
.fest-in{position:relative}
.fest h2{margin:8px 0 0;font-size:clamp(32px,10vw,50px);font-weight:900;letter-spacing:-1px;color:#fff;-webkit-text-stroke:2px #3a1200;paint-order:stroke fill;text-shadow:0 3px 0 #3a1200}
.fest p{margin:2px 0 0;font-size:clamp(22px,7vw,32px);font-weight:900;font-style:italic;color:#d4145a;display:flex;align-items:center;justify-content:center;gap:10px}
.fest .go{display:inline-grid;place-items:center;width:34px;height:26px;border-radius:13px;background:#111;color:#fff}

/* white rounded sheet with a grab handle */
body.is-home .main{padding-top:0}
.sheet{position:relative;background:#fff;border-radius:28px 28px 0 0;margin:-34px -12px 0;padding:10px 12px 16px;box-shadow:0 -4px 14px rgba(0,0,0,.08)}
.sheet::before{content:"";display:block;width:46px;height:4px;border-radius:4px;background:#d3d3d9;margin:0 auto 14px}
.sheet .pc{background:#f6f6f9;border-color:transparent}

/* banner: rounded, dash-style dots underneath */
.slider{aspect-ratio:auto;overflow:visible;box-shadow:none;background:none;margin:0}
.sl-clip{border-radius:22px;overflow:hidden;aspect-ratio:5/2;background:#ddd;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.sl-dots{position:static;margin:12px 0 2px}
.sl-dots i{width:22px;height:5px;border-radius:3px;background:#d9d9de}
.sl-dots i.on{width:44px;background:#111}

/* "Deals for you" strip: red title bar + yellow body + white mini cards */
.deals{border-radius:24px;overflow:hidden;margin:16px 0;background:linear-gradient(180deg,#ffd43b,#ffb300);box-shadow:0 4px 14px rgba(0,0,0,.1)}
.deals-h{position:relative;color:#fff;font-weight:900;font-size:20px;padding:15px 18px;background:radial-gradient(circle,rgba(255,255,255,.4) 0 1.5px,transparent 2.5px) 0 0/26px 26px,linear-gradient(90deg,#e8261c,#f2701d)}
.deals-h::after{content:"🏮";position:absolute;right:16px;top:2px;font-size:32px}
.deals-b{display:flex;gap:10px;overflow-x:auto;padding:12px;scrollbar-width:none}
.deals-b::-webkit-scrollbar{display:none}
.deal{position:relative;flex:0 0 38%;max-width:170px;background:#fff;border-radius:18px;padding:6px 6px 10px}
.deal .di{aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#f3f3f3}
.deal .di img{width:100%;height:100%;object-fit:cover}
.deal .dp{position:absolute;top:10px;left:10px;background:#2874f0;color:#fff;font-weight:800;font-size:12px;padding:3px 8px;border-radius:7px}
.deal .dn{color:#777;font-size:13px;margin:7px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deal .dpr{font-weight:800;font-size:15px;margin:0 4px}
@media(min-width:640px){.deal{flex-basis:22%}}

/* section heading with round black arrow */
.sug-h{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px}
.sug-h h2{font-size:26px;font-weight:800;margin:0;letter-spacing:-.3px}
.round-go{width:62px;height:42px;border-radius:22px;background:#111;color:#fff;display:grid;place-items:center}
.sec-h h2{font-weight:800}

/* product cards */
.pc{border:1px solid #eeeef3;box-shadow:none;border-radius:20px}
.pc .pi{margin:6px 6px 0;border-radius:15px;background:#fff}
.pc .pn{font-weight:500;color:#555;font-size:14px}
.price{color:#111;font-size:17px}
.pc .off{top:14px;left:14px;background:#2874f0;color:#fff;border-radius:7px;font-size:12px}
.pc .oos{top:42px;left:14px}
.pc .wish{top:12px;right:12px}
body:not(.panel) .btn:not(.ghost):not(.yel):not(.red){background:linear-gradient(90deg,#e8261c,#f2631d);border-radius:26px}
body:not(.panel) .btn.ghost{border-radius:26px}
.cat{border-color:#ffd6cc}

/* floating bottom bar + round support button */
body:not(.panel) .bnav{left:10px;right:80px;bottom:calc(10px + env(safe-area-inset-bottom));border-radius:32px;padding:4px;gap:2px;box-shadow:0 6px 22px rgba(0,0,0,.22)}
body:not(.panel) .bnav a{position:relative;border-radius:26px;color:#222;padding:8px 0 6px}
body:not(.panel) .bnav a.on{background:#e6edfb;color:#2a55d6}
body:not(.panel) .bnav .cnt{top:2px;right:12px}
.sup{position:fixed;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));width:60px;height:60px;border-radius:50%;z-index:56;display:grid;place-items:center;color:#fff;border:3px solid #fff;background:conic-gradient(from 200deg,#4f46e5,#9333ea,#ec4899,#3b82f6,#4f46e5);box-shadow:0 6px 18px rgba(80,60,200,.45)}
@media(max-width:767px){body:not(.panel) .stickybar{bottom:86px}}
@media(min-width:1024px){.sheet{margin:-34px 0 0;border-radius:28px}.sup{bottom:24px;right:24px}}

/* all categories as small icons on the home page */
.cgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 6px;margin:14px 0 4px}
.cgrid a{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:11px;font-weight:600;line-height:1.15;color:#333}
.cgrid i{font-style:normal;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:22px;background:#fff1ee;border:1px solid #ffe0d8}
.cgrid img{border-radius:6px;object-fit:cover}
.cgrid span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
@media(min-width:640px){.cgrid{grid-template-columns:repeat(8,1fr)}}

/* ---- logo ---- */
.tile.logo{padding:3px;background:#fff}
.tile.logo img{height:100%;width:auto;max-width:100%;object-fit:contain}
body:not(.panel) .hdr .logo img{height:44px}
.flogo{height:52px}.fl-l .flogo{height:52px}
@media(max-width:560px){.fl-l .flogo{height:40px}}
#preloader img{width:min(78vw,60vh);max-width:560px;height:auto}

/* ---- footer: small contact + social row ---- */
.fcontact{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:none;margin:14px auto 6px}
.fc{flex-direction:row;width:38px;height:38px;padding:0;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.fc svg{width:19px;height:19px}
.fc.telegram{background:#229ed9}.fc.youtube{background:#e60000}.fc.facebook{background:#1877f2}
.fc.instagram{background:linear-gradient(45deg,#feda75,#fa7e1e 30%,#d62976 60%,#962fbf 85%,#4f5bd5)}
.fcinfo{text-align:center;margin:0 0 6px}

/* ---- bottom bar with 6 items ---- */
body:not(.panel) .bnav{grid-template-columns:repeat(6,1fr);right:72px;padding:3px;gap:0}
body:not(.panel) .bnav a,body:not(.panel) .bnav button{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:transparent;font:inherit;font-size:10px;font-weight:600;color:#222;padding:8px 0 6px;border-radius:24px;cursor:pointer;min-width:0}
body:not(.panel) .bnav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:not(.panel) .bnav .cnt{right:6px}
.sup{width:52px;height:52px}
@media(min-width:1024px){.mnu{display:none}}

/* ---- menu sheet ---- */
.mnu[hidden]{display:none}
.mnu{position:fixed;inset:0;z-index:90}
.mnu-bg{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.mnu-sh{position:absolute;left:0;right:0;bottom:0;max-height:86vh;overflow-y:auto;background:#fff;border-radius:26px 26px 0 0;padding:8px 14px calc(18px + env(safe-area-inset-bottom));animation:mnuup .25s ease}
@keyframes mnuup{from{transform:translateY(40%);opacity:.4}to{transform:none;opacity:1}}
.mnu-grab{width:44px;height:4px;border-radius:4px;background:#d3d3d9;margin:4px auto 12px}
.mnu-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.mnu-top div{flex:1;min-width:0;display:flex;flex-direction:column}.mnu-top small{color:var(--mu)}
.mnu-x{border:0;background:#f2f2f6;width:36px;height:36px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.mnu-list a{display:flex;align-items:center;gap:14px;padding:14px 12px;border-radius:14px;font-weight:600}
.mnu-list a svg{color:var(--g)}
.mnu-list a+a{border-top:1px solid #f0f0f4}
.mnu-list a.first{background:linear-gradient(90deg,#e8261c,#f2631d);color:#fff;margin-bottom:6px}
.mnu-list a.first svg{color:#fff}
.mnu-list a.out,.mnu-list a.out svg{color:#c62828}

/* ---- profile photo ---- */
.phform{display:flex;align-items:center;gap:14px;background:var(--g3);border-radius:18px;padding:12px}
.phbtn{position:relative;cursor:pointer;flex:none}
.phbtn .av{border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.phcam{position:absolute;right:0;bottom:0;width:30px;height:30px;border-radius:50%;background:var(--g);color:#fff;display:grid;place-items:center;border:2px solid #fff}
.phtxt{display:flex;flex-direction:column;gap:2px}.phtxt small{color:var(--mu)}
.phrm{align-self:flex-start;margin-top:4px;border:0;background:#fff;color:#c62828;font-weight:700;font-size:12px;padding:5px 12px;border-radius:14px;cursor:pointer}
