/* Parzhan Market — storefront (RTL, mobile-first). Palette from the original theme. */
@font-face{font-family:Vazirmatn;src:url(../fonts/Vazirmatn-Variable.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--g:#234B3B;--g2:#1a3a2d;--g3:#2f6b52;--gl:#8DBF91;--gx:#e6efe8;--o:#F2A65A;--o2:#e68f3a;--cream:#FFF8EF;--sand:#EFE7DB;--t:#252A27;--mut:#6b746f;--line:#e8e4dc;--bg:#faf8f4;--red:#ef394e;--r:18px;--rs:12px;--sh:0 6px 24px rgba(35,75,59,.08);--sh2:0 14px 36px rgba(35,75,59,.14);--hdr:68px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;font-size:15px;line-height:1.8;color:var(--t);background:var(--bg);padding-bottom:64px;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--g);text-decoration:none}
a:hover{color:var(--o2)}
h1,h2,h3{line-height:1.45;margin:0 0 .5em;font-weight:800;color:var(--t)}
h1{font-size:1.45rem}h2{font-size:1.2rem}h3{font-size:1rem}
p{margin:0 0 1em}
button,input,select,textarea{font:inherit;color:inherit}
.wrap{width:min(1240px,100% - 24px);margin-inline:auto}
.narrow-wrap{width:min(980px,100% - 24px)}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{position:absolute!important;left:-9999px;opacity:0;width:1px;height:1px}
.skip{position:absolute;top:-60px;right:10px;background:var(--g);color:#fff;padding:8px 14px;border-radius:10px;z-index:100}.skip:focus{top:10px}
.muted{color:var(--mut)}.small{font-size:.85rem}.center{text-align:center}.mono{font-family:ui-monospace,Consolas,monospace;letter-spacing:.3px}
.ic{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.ic.sm{width:14px;height:14px}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 18px;border-radius:14px;border:0;background:var(--o);color:#fff;font-weight:800;cursor:pointer;transition:transform .15s,box-shadow .2s,background .2s;text-align:center;line-height:1.4}
.btn:hover{color:#fff;background:var(--o2)}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--g);color:#fff}.btn-primary:hover{background:var(--g2)}
.btn-o{background:var(--o);color:#fff}
.btn-ghost{background:#fff;color:var(--g);border:1.5px solid var(--line)}.btn-ghost:hover{background:var(--gx);color:var(--g)}
.btn-lg{min-height:52px;font-size:1.02rem;padding:10px 24px}
.btn-block{width:100%}.btn-sm{min-height:36px;padding:4px 12px;font-size:.85rem}
.ibtn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;border:0;background:transparent;color:var(--g);cursor:pointer;position:relative}
.ibtn.danger{color:var(--red)}
.link-more{font-weight:800}
/* alerts */
.alert{padding:12px 16px;border-radius:14px;margin:12px 0;font-weight:600;font-size:.93rem}
.alert-success{background:#e8f6ee;color:#17603b}.alert-error{background:#fdecee;color:#a8192b}.alert-info{background:#fff4e6;color:#8a4b0c}
/* topbar */
.topbar{background:var(--g);color:#e9f3ec;font-size:.8rem;overflow:hidden;white-space:nowrap}
.topbar-in{display:inline-flex;gap:46px;padding:6px 0;animation:tb 38s linear infinite}
.topbar-in span::before{content:"●";color:var(--o);margin-left:8px;font-size:.6rem;vertical-align:middle}
@keyframes tb{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media (prefers-reduced-motion:reduce){.topbar-in{animation:none}}
/* header */
.hdr{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 1px 0 var(--line)}
.hdr-in{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"logo . cart" "search search search";align-items:center;gap:6px 8px;padding:8px 0}
.hdr-menu{grid-area:cart;justify-self:end;order:3}
.logo{grid-area:logo;display:flex;align-items:center;gap:10px;color:var(--t)}
.logo img{width:44px;height:44px;border-radius:14px;box-shadow:0 6px 16px rgba(35,75,59,.25);transform:rotate(-6deg)}
.logo b{display:block;font-size:1.25rem;font-weight:900;color:var(--g);line-height:1.2}
.logo b em{font-style:normal;color:var(--o)}
.logo small{display:block;font-size:.72rem;color:var(--mut);line-height:1.2}
.logo-light b{color:#fff}.logo-light small{color:#cfe1d5}
.nav{display:none}
.hsearch{grid-area:search;position:relative;display:flex;align-items:center;background:#f1f1ef;border-radius:14px;padding:0 12px;border:1px solid transparent}
.hsearch:focus-within{border-color:var(--gl);background:#fff}
.hsearch .ic{color:var(--mut);width:20px}
.hsearch input{flex:1;border:0;background:transparent;padding:11px 8px;outline:0;min-width:0}
.cartbtn,.accbtn{display:none}
.hdr-in .cartbtn{display:inline-grid}
.hdr-in{grid-template-columns:auto 1fr auto auto;grid-template-areas:"logo . cart menu" "search search search search"}
.hdr-in .cartbtn{grid-area:cart;background:var(--cream);border-radius:50%}
.hdr-in .hdr-menu{grid-area:menu}
.cnt{position:absolute;top:2px;left:2px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--o);color:#fff;font-size:.7rem;font-weight:800;display:grid;place-items:center;line-height:1}
.cnt[hidden]{display:none}
/* dropdown */
.dd{position:relative}
.dd-menu{position:absolute;top:100%;right:0;min-width:220px;background:#fff;border-radius:16px;box-shadow:var(--sh2);padding:8px;display:none;z-index:50}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:grid}
.dd-menu a{padding:9px 12px;border-radius:10px;color:var(--t);font-weight:600}.dd-menu a:hover{background:var(--gx);color:var(--g)}
/* suggestions */
.sugg{position:absolute;top:calc(100% + 6px);right:0;left:0;background:#fff;border-radius:16px;box-shadow:var(--sh2);padding:6px;z-index:60;max-height:70vh;overflow:auto}
.sugg a{display:flex;gap:10px;align-items:center;padding:6px;border-radius:12px;color:var(--t)}
.sugg a:hover{background:var(--gx)}
.sugg img{width:44px;height:44px;object-fit:contain;border-radius:8px;background:#fff}
.sugg span{flex:1;font-size:.86rem;line-height:1.5}.sugg small{color:var(--g);font-weight:800;white-space:nowrap}
.sugg .all{justify-content:center;font-weight:800;color:var(--g)}
/* drawer */
.drawer,.msearch{position:fixed;inset:0;z-index:80}
.drawer[hidden],.msearch[hidden]{display:none}
.drawer-bg{position:absolute;inset:0;background:rgba(20,30,25,.45)}
.drawer-in{position:absolute;top:0;bottom:0;right:0;width:min(320px,86vw);background:#fff;padding:14px;overflow:auto;display:flex;flex-direction:column;gap:2px;animation:slin .25s ease}
@keyframes slin{from{transform:translateX(100%)}to{transform:none}}
.drawer-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.drawer-in>a{padding:11px 10px;border-radius:12px;color:var(--t);font-weight:600}.drawer-in>a:hover{background:var(--gx)}
.drawer-t{margin:10px 10px 2px;font-size:.78rem;color:var(--mut);font-weight:800}
.msearch-in{position:absolute;top:0;right:0;left:0;background:#fff;padding:14px;display:flex;gap:8px;box-shadow:var(--sh2)}
.msearch-in input{flex:1;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;outline:0;min-width:0}
.msearch-in .sugg{right:14px;left:14px}
/* bottom nav */
.bnav{position:fixed;bottom:0;right:0;left:0;z-index:45;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -4px 20px rgba(35,75,59,.1);padding-bottom:env(safe-area-inset-bottom)}
.bnav a{display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 0 6px;font-size:.72rem;color:#555;position:relative;font-weight:600}
.bnav a.on{color:var(--g)}.bnav a.on .ic{stroke-width:2.4}
.bnav .cnt{top:2px;left:calc(50% - 22px)}
.appbar{position:fixed;bottom:calc(66px + env(safe-area-inset-bottom));right:10px;left:10px;z-index:44;background:var(--g);color:#fff;border-radius:18px;padding:10px 12px;display:flex;align-items:center;gap:10px;box-shadow:var(--sh2)}
.appbar[hidden]{display:none}
.appbar img{border-radius:12px;background:#fff}
.appbar div{flex:1;line-height:1.5}.appbar b{display:block;font-size:.92rem}.appbar small{color:#cfe1d5;font-size:.75rem}
.appbar .btn{min-height:38px;padding:4px 16px}.appbar .ibtn{color:#fff;width:32px;height:32px;background:rgba(255,255,255,.12);border-radius:50%}
/* toast */
.toast{position:fixed;bottom:84px;right:50%;transform:translateX(50%);background:var(--t);color:#fff;padding:10px 18px;border-radius:14px;z-index:90;box-shadow:var(--sh2);font-size:.9rem;max-width:90vw;text-align:center}
.toast[hidden]{display:none}
.toast a{color:var(--o);font-weight:800;margin-right:8px}
/* hero */
.hero{display:grid;gap:12px;margin-top:14px}
.hs{position:relative;border-radius:24px;overflow:hidden;box-shadow:var(--sh)}
.hs-track{display:flex;transition:transform .5s ease;direction:ltr}
.hs-slide{direction:rtl;flex:0 0 100%;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:8px;padding:22px 18px 34px;background:linear-gradient(135deg,var(--a),var(--b));color:var(--t);min-height:210px}
.hs-txt{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.hs-tag{background:var(--c);color:#fff;font-size:.72rem;font-weight:800;padding:3px 12px;border-radius:999px}
.hs-cat{font-size:.78rem;color:var(--c);font-weight:700}
.hs-name{font-size:1.02rem;font-weight:900;margin:0;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hs-btn{margin-top:6px;background:var(--c);color:#fff;font-size:.8rem;font-weight:800;padding:7px 14px;border-radius:12px}
.hs-img{position:relative;display:grid;place-items:center}
.hs-blob{position:absolute;inset:8%;border-radius:50%;background:rgba(255,255,255,.65)}
.hs-img img{position:relative;width:100%;max-width:220px;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 10px 18px rgba(0,0,0,.12))}
.hs-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:var(--g);font-size:1.3rem;cursor:pointer;display:none}
.hs-nav.prev{right:10px}.hs-nav.next{left:10px}
.hs-dots{position:absolute;bottom:10px;right:0;left:0;display:flex;justify-content:center;gap:6px}
.hs-dots button{width:8px;height:8px;border-radius:999px;border:0;background:rgba(35,75,59,.25);padding:0;cursor:pointer;transition:width .25s}
.hs-dots button.on{width:22px;background:var(--o)}
.hside{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vs{position:relative;min-height:118px}
.hside-card{position:absolute;inset:0;display:flex;align-items:center;gap:8px;padding:12px;border-radius:20px;background:linear-gradient(135deg,var(--a),var(--b));color:var(--t);opacity:0;visibility:hidden;transition:opacity .5s}
.hside-card.on{opacity:1;visibility:visible}
.hside-card div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.55}
.hside-card small{color:var(--c);font-weight:700;font-size:.72rem}
.hside-card b{font-size:.82rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hside-card span{font-size:.75rem;color:var(--c);font-weight:800}
.hside-card img{width:68px;height:68px;object-fit:contain;background:#fff;border-radius:14px;padding:4px}
/* stories */
.stories{display:flex;gap:14px;overflow-x:auto;padding:16px 2px 6px;scrollbar-width:none}
.stories::-webkit-scrollbar{display:none}
.stories a{flex:0 0 78px;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--t);text-align:center}
.st-ring{width:74px;height:74px;border-radius:50%;padding:3px;background:conic-gradient(var(--o),#ef394e,#7c3aed,var(--g),var(--o))}
.st-ring img{width:100%;height:100%;border-radius:50%;object-fit:contain;background:#fff;border:3px solid #fff}
.stories em{font-style:normal;font-size:.7rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* deals */
.deals{margin-top:14px}
.deals-in{position:relative;background:linear-gradient(135deg,#ef394e,#c81e36);border-radius:24px;padding:12px 10px 14px}
.deals-hd{display:flex;align-items:center;gap:10px;color:#fff;margin-bottom:10px;padding:0 4px}
.deals-t{font-weight:900;font-size:1.05rem;line-height:1.3}
.cd{display:flex;gap:3px;align-items:center;font-weight:800}
.cd span{background:#fff;color:#ef394e;border-radius:8px;min-width:28px;text-align:center;padding:1px 4px;font-size:.85rem}
.gift{display:none}
.deals-all{margin-right:auto;color:#fff;font-size:.82rem;font-weight:700}.deals-all:hover{color:#ffe1c2}
.rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px}
.rail::-webkit-scrollbar{display:none}
.rail>*{scroll-snap-align:start}
.dcard{flex:0 0 148px;background:#fff;border-radius:16px;padding:10px;display:flex;flex-direction:column;gap:4px;color:var(--t)}
.dimg img{width:100%;aspect-ratio:1;object-fit:contain}
.dname{font-size:.78rem;line-height:1.6;height:3.2em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.dpr{display:flex;justify-content:space-between;align-items:center;gap:4px}
.doff{background:#ef394e;color:#fff;border-radius:999px;font-size:.72rem;font-weight:800;padding:0 7px}
.dnow{font-weight:900;font-size:.88rem}.dnow small{font-size:.65rem;font-weight:600}
.dold{text-decoration:line-through;color:#a1a1a1;font-size:.75rem;text-align:left}
.rail-nav{display:none;position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;background:#fff;box-shadow:var(--sh2);color:var(--g);font-size:1.3rem;cursor:pointer;z-index:3}
.rail-nav.prev{right:-6px}.rail-nav.next{left:-6px}
/* delivery banner */
.tp{position:relative;overflow:hidden;margin-top:14px;display:flex;align-items:center;gap:12px;background:linear-gradient(120deg,var(--g),var(--g3));color:#fff;border-radius:22px;padding:16px 14px 22px}
.tp-badge{flex:none;width:62px;height:62px;border-radius:50%;background:#fff;color:var(--g);display:grid;place-items:center;align-content:center;line-height:1;box-shadow:0 0 0 5px rgba(255,255,255,.18)}
.tp-badge b{font-size:1.5rem;font-weight:900}.tp-badge span{font-size:.65rem;font-weight:800}
.tp-txt{display:flex;flex-direction:column;gap:3px;position:relative;z-index:1}
.tp-txt strong{font-size:.95rem;line-height:1.7}
.tp-txt em{font-style:normal;color:var(--o);position:relative}
.tp-txt span{font-size:.78rem;color:#d7e8dc}
.tp-moto{position:absolute;bottom:2px;font-size:1.3rem;animation:moto 9s linear infinite}
@keyframes moto{from{left:-30px}to{left:105%}}
.tp-road{position:absolute;bottom:8px;right:0;left:0;display:flex;justify-content:space-around;opacity:.45}
.tp-road i{width:34px;height:3px;border-radius:3px;background:#fff}
/* section titles */
.sec{margin-top:30px}
.stitle{text-align:center;margin:0 auto 14px;display:flex;flex-direction:column;align-items:center}
.stitle-b{background:var(--cream);border:1px solid var(--sand);color:var(--o2);font-size:.75rem;font-weight:800;padding:2px 12px;border-radius:999px;margin-bottom:6px}
.stitle h2{font-size:1.3rem;font-weight:900;margin:0}
.stitle h2 span{color:var(--o)}
.swoosh{width:120px;height:12px;margin-top:-2px}
.stitle p{display:flex;align-items:center;gap:8px;color:var(--mut);font-size:.82rem;margin:2px 0 0}
.stitle p i{width:22px;height:1.5px;background:var(--gl)}
/* pets */
.pets{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.pets a{position:relative;border-radius:18px;overflow:hidden;color:#fff;aspect-ratio:3/4;box-shadow:var(--sh)}
.pets img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.pets a:hover img{transform:scale(1.06)}
.pets b{position:absolute;bottom:0;right:0;left:0;padding:24px 6px 8px;text-align:center;background:linear-gradient(transparent,rgba(0,0,0,.65));font-size:.9rem}
.pets em{display:none;font-style:normal;font-size:.72rem;font-weight:600}
/* product slider/cards */
.pslider{position:relative;background:linear-gradient(135deg,#eef5ef,var(--cream));border-radius:24px;padding:12px 10px}
.pslider .pcard{flex:0 0 168px}
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pcard{position:relative;background:#fff;border-radius:18px;box-shadow:0 2px 10px rgba(35,75,59,.06);display:flex;flex-direction:column;overflow:hidden;border:1px solid #f0ece5;transition:box-shadow .2s,transform .2s}
.pcard:hover{box-shadow:var(--sh2);transform:translateY(-2px)}
.pcard-img{display:block;padding:10px 10px 0}
.pcard-img img{width:100%;aspect-ratio:1;object-fit:contain}
.pcard.is-out .pcard-img img{opacity:.55;filter:grayscale(.6)}
.pbadge{position:absolute;top:10px;left:10px;font-size:.72rem;font-weight:800;padding:2px 9px;border-radius:999px;color:#fff;background:var(--o);z-index:1}
.pbadge.off{background:#ef394e}.pbadge.out{background:#8a8f8c}.pbadge.new{background:var(--o)}.pbadge.sale{background:var(--o);top:14px;left:14px;font-size:.8rem;padding:4px 12px}
.pbadge.inline{position:static;display:inline-block;vertical-align:middle}
.pcard-b{padding:8px 10px 10px;display:flex;flex-direction:column;gap:4px;flex:1}
.pcat{font-size:.7rem;color:var(--g3);font-weight:700}
.ptitle{font-size:.82rem;font-weight:700;line-height:1.65;margin:0;height:4.95em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.ptitle a{color:var(--t)}
.pprice{margin-top:auto;display:flex;flex-direction:column;align-items:flex-end;min-height:44px;justify-content:flex-end}
.pprice del{color:#a3a3a3;font-size:.75rem}
.pprice b{font-size:.98rem;font-weight:900;background:var(--g);color:#fff;border-radius:999px;padding:1px 12px}
.pprice b small{font-size:.68rem;font-weight:600}
.na{color:#8a8f8c;font-weight:800}
.btn-add{width:100%;min-height:40px;font-size:.82rem;border-radius:12px;margin-top:6px;background:linear-gradient(135deg,var(--o),#f7b977);padding:6px 8px}
.btn-add.btn-ghost{background:#fff}
.btn-add.done{background:var(--g)}
/* promos */
.promos{display:grid;gap:10px;margin-top:26px}
.promo{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border-radius:20px;background:#f3f0fb;color:var(--t);border:1px solid #ebe6f7}
.promo.g{background:#eef5ef;border-color:#e0ece2}
.promo span{font-size:.82rem;color:var(--mut);line-height:1.7}
.promo b{display:block;color:var(--g);font-size:1.05rem}
.promo em{display:inline-block;margin-top:6px;font-style:normal;background:var(--g);color:#fff;font-size:.75rem;font-weight:800;padding:3px 12px;border-radius:10px}
.promo img{width:88px;height:88px;object-fit:cover;border-radius:16px;flex:none}
/* blog cards */
.bcard{flex:0 0 250px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 2px 10px rgba(35,75,59,.06);display:flex;flex-direction:column;gap:4px;color:var(--t);padding-bottom:12px;border:1px solid #f0ece5}
.bcard img{width:100%;aspect-ratio:3/2;object-fit:cover}
.bcard b{padding:0 12px;font-size:.9rem;line-height:1.7}
.bcard small{padding:0 12px}
.bcat{align-self:flex-start;margin:8px 12px 0;background:var(--gx);color:var(--g);font-size:.7rem;font-weight:800;padding:1px 10px;border-radius:999px}
.bcard .more{padding:0 12px;color:var(--o2);font-size:.8rem;font-weight:800;margin-top:auto}
.bgrid{display:grid;grid-template-columns:1fr;gap:12px}
.bgrid .bcard{flex:auto}
/* listing */
.crumbs{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:.8rem;color:var(--mut);padding:12px 0 4px}
.crumbs a{color:var(--g);font-weight:600}.crumbs b{color:var(--t);font-weight:700}
.lhead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 0 10px}.lhead h1{margin:0}
.catchips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.catchips::-webkit-scrollbar{display:none}
.catchips a{flex:none;background:#fff;border:1px solid var(--line);color:var(--t);padding:6px 14px;border-radius:999px;font-size:.82rem;font-weight:600}
.catchips a.on{background:var(--g);border-color:var(--g);color:#fff}
.catchips small{opacity:.7}
.lbar{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px 12px;margin-bottom:12px;font-size:.85rem}
.lbar select{border:1px solid var(--line);border-radius:10px;padding:6px 8px;background:#fff}
.sel{display:flex;align-items:center;gap:6px}
.tog{display:flex;align-items:center;gap:6px;cursor:pointer}
.tog input,.check input,.radio input{width:18px;height:18px;accent-color:var(--g)}
.empty{text-align:center;padding:40px 10px;color:var(--mut)}
.empty .btn{margin-top:10px}
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:22px 0}
.pager a,.pager span{min-width:40px;height:40px;display:grid;place-items:center;padding:0 10px;border-radius:12px;background:#fff;border:1px solid var(--line);color:var(--t);font-weight:700}
.pager .on{background:var(--g);color:#fff;border-color:var(--g)}
.catdesc{background:#fff;border-radius:18px;padding:16px;margin:20px 0;border:1px solid var(--line)}
.cgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.ccard{background:#fff;border-radius:18px;padding:12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--t);box-shadow:var(--sh)}
.ccard img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}
.ccard b{font-size:.95rem}.ccard small{color:var(--mut)}
/* product page */
.pd{display:grid;gap:16px;margin-top:6px}
.pd-gal{background:#fff;border-radius:22px;padding:12px;border:1px solid var(--line)}
.pd-main{position:relative}
.pd-main img{width:100%;aspect-ratio:1;object-fit:contain}
.pd-thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:8px}
.pd-thumbs button{flex:none;width:64px;height:64px;border-radius:12px;border:2px solid var(--line);background:#fff;padding:2px;cursor:pointer}
.pd-thumbs button.on{border-color:var(--o)}
.pd-thumbs img{width:100%;height:100%;object-fit:contain}
.pd-info h1{font-size:1.2rem;line-height:1.7}
.pd-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:8px 0 14px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.pd-price del{color:#a3a3a3}
.pd-price b{font-size:1.45rem;font-weight:900;color:var(--g)}.pd-price b small{font-size:.8rem}
.pd-buy{display:flex;gap:10px;align-items:stretch;margin-bottom:12px}
.pd-buy .btn{flex:1}
.qty{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.qty button{width:40px;height:100%;min-height:44px;border:0;background:transparent;font-size:1.2rem;cursor:pointer;color:var(--g)}
.qty input{width:40px;text-align:center;border:0;outline:0;font-weight:800;background:transparent}
.qty.sm button{min-height:36px;width:34px}.qty.sm input{width:32px}
.pd-ship{background:linear-gradient(120deg,var(--g),var(--g3));color:#fff;border-radius:16px;padding:12px 14px;font-size:.88rem;line-height:1.8}
.pd-ship em{font-style:normal;color:var(--o);font-weight:800}
.pd-trust{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pd-trust li{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:.75rem;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 4px;color:var(--g);font-weight:700}
.pd-meta{font-size:.85rem;color:var(--mut)}
.pd-desc{background:#fff;border-radius:22px;padding:16px;margin-top:18px;border:1px solid var(--line)}
.pd-sticky{position:fixed;bottom:calc(58px + env(safe-area-inset-bottom));right:0;left:0;z-index:43;background:#fff;box-shadow:0 -4px 16px rgba(35,75,59,.1);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;transform:translateY(120%);transition:transform .25s}
.pd-sticky.show{transform:none}
.pd-sticky b{font-size:1.05rem;color:var(--g);font-weight:900}.pd-sticky del{display:block;color:#a3a3a3;font-size:.75rem}
body.has-sticky .appbar{display:none}
/* prose */
.prose{line-height:2;font-size:.95rem}
.prose h2{font-size:1.15rem;margin-top:1.4em;color:var(--g)}.prose h3{font-size:1.02rem;margin-top:1.2em}
.prose img{border-radius:14px;margin:12px auto}
.prose ul,.prose ol{padding-right:1.2em}
.prose a{text-decoration:underline;text-decoration-color:var(--gl)}
.prose table{width:100%;border-collapse:collapse;font-size:.9rem}.prose td,.prose th{border:1px solid var(--line);padding:6px}
.prose figure{margin:12px 0}
/* cards & forms */
.card{background:#fff;border-radius:20px;padding:16px;border:1px solid var(--line);box-shadow:0 2px 10px rgba(35,75,59,.04)}
.page-card{margin:8px 0 16px}
.post-cover{border-radius:16px;margin:8px 0 16px;width:100%;aspect-ratio:16/9;object-fit:cover}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.tags a{background:var(--gx);padding:2px 10px;border-radius:999px;font-size:.8rem}
.ptitle-h{margin:16px 0 12px}
.form{display:flex;flex-direction:column;gap:10px}
.frow{display:grid;gap:10px}
.field{display:flex;flex-direction:column;gap:4px}
.field label{font-weight:700;font-size:.88rem}
.field input,.field select,.field textarea,.bigsearch input{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:11px 14px;background:#fff;outline:0;min-height:46px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gl);box-shadow:0 0 0 3px rgba(141,191,145,.25)}
.field input:disabled{background:#f5f5f3;color:var(--mut)}
.field-error{color:#a8192b;font-size:.82rem;margin:2px 0 0}
.input-lg{font-size:1.1rem}
.otp-input{letter-spacing:10px;text-align:center;font-size:1.4rem!important;font-weight:800}
.check,.radio{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.9rem}
.radio{border:1.5px solid var(--line);border-radius:14px;padding:12px;font-weight:700}
.radio:has(input:checked){border-color:var(--g);background:var(--gx)}
.bigsearch{display:flex;gap:8px;margin:10px 0 16px}
.cart-grid{display:grid;gap:14px;align-items:start}
.cart-list{display:flex;flex-direction:column;gap:10px}
.cline{display:flex;gap:10px;background:#fff;border-radius:18px;padding:10px;border:1px solid var(--line)}
.cline img{width:84px;height:84px;object-fit:contain;border-radius:12px;background:#fff}
.cline.is-out{opacity:.7}
.cline-b{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.cline-t{color:var(--t);font-weight:700;font-size:.88rem;line-height:1.6}
.cline-r{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.cline-r b{color:var(--g)}
.summary{display:flex;flex-direction:column;gap:10px;position:sticky;top:calc(var(--hdr) + 12px)}
.summary h2{margin:0}
.srow{display:flex;justify-content:space-between;gap:10px}
.srow.total{border-top:1px dashed var(--line);padding-top:10px;font-size:1.05rem}.srow.total b{color:var(--g)}
.result{text-align:center;margin:20px 0}
.result-ic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;font-size:1.8rem;font-weight:900;background:var(--gx);color:var(--g)}
.result.fail .result-ic{background:#fdecee;color:#a8192b}
.facts{display:grid;gap:8px;margin:14px 0;text-align:right}
.facts div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line);padding-bottom:6px}
.facts dt{color:var(--mut)}.facts dd{margin:0;font-weight:700}
.facts.cols .full{grid-column:1/-1}
.btns{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.btns form{margin:0}
/* account */
.auth-wrap{display:grid;place-items:center;padding:24px 0}
.auth{width:min(440px,100%);text-align:center;display:flex;flex-direction:column;gap:10px}
.auth .brand img{margin:0 auto;border-radius:16px}
.auth form{display:flex;flex-direction:column;gap:12px;text-align:right}
.link-btn{background:none;border:0;color:var(--g);font-weight:800;cursor:pointer}
.link-btn:disabled{color:var(--mut);cursor:default}
.acc{display:grid;gap:14px;margin-top:14px}
.acc-nav{display:flex;gap:6px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px}
.acc-nav a,.acc-nav button{flex:none;padding:8px 14px;border-radius:12px;color:var(--t);font-weight:700;font-size:.88rem;background:none;border:0;cursor:pointer}
.acc-nav a.on{background:var(--g);color:#fff}
.acc-nav form{margin:0 auto 0 0}.acc-nav button{color:#a8192b}
.acc-main{display:flex;flex-direction:column;gap:12px;min-width:0}
.kpis3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kpis3 div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:10px;display:flex;flex-direction:column}
.kpis3 b{color:var(--g);font-size:1.05rem}
.table-wrap{overflow-x:auto}
.table{width:100%;border-collapse:collapse;font-size:.88rem}
.table th,.table td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:right}
.table th{color:var(--mut);font-weight:700}
.badge{display:inline-block;font-size:.72rem;font-weight:800;padding:2px 10px;border-radius:999px;background:#eee;color:#555;white-space:nowrap}
.st-pending{background:#fff4e6;color:#8a4b0c}.st-paid{background:#e7f0ff;color:#1e4fae}.st-processing{background:#efe9ff;color:#5b3fb5}.st-completed{background:#e8f6ee;color:#17603b}.st-cancelled{background:#f1f1f1;color:#666}.st-failed{background:#fdecee;color:#a8192b}
/* footer */
.ftr{margin-top:40px;background:var(--g2);color:#d7e8dc;font-size:.88rem}
.feats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:18px 0;transform:translateY(-24px);margin-bottom:-24px}
.feat{display:flex;align-items:center;gap:10px;background:#fff;color:var(--t);border-radius:16px;padding:10px 12px;box-shadow:var(--sh)}
.feat span{font-size:1.4rem}.feat b{display:block;font-size:.85rem}.feat small{color:var(--mut);font-size:.72rem}
.ftr-grid{display:grid;gap:22px;padding:18px 0 22px}
.ftr h3{color:#fff;font-size:.95rem;margin-bottom:8px}
.ftr ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.ftr a{color:#d7e8dc}.ftr a:hover{color:var(--o)}
.ftr-about p{margin-top:10px;line-height:2}
.ftr-contact p{margin:0 0 6px}
.social{display:flex;gap:10px;margin-top:8px}.social a{background:rgba(255,255,255,.1);padding:4px 12px;border-radius:999px}
.enamad{background:#fff;border-radius:16px;padding:8px;display:inline-flex;min-width:110px;min-height:110px;align-items:center;justify-content:center}
.enamad img{max-width:120px}
.copy{border-top:1px solid rgba(255,255,255,.1);padding:14px 0 18px;font-size:.8rem;color:#a9c3b2}
.copy .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
/* ---------- tablet ---------- */
@media (min-width:640px){
  .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bgrid{grid-template-columns:repeat(2,1fr)}
  .cgrid{grid-template-columns:repeat(4,1fr)}
  .frow{grid-template-columns:1fr 1fr}
  .promos{grid-template-columns:1fr 1fr}
  .hs-slide{padding:30px 30px 40px;min-height:260px}
  .hs-name{font-size:1.3rem}
  .feats{grid-template-columns:repeat(4,1fr)}
  .ftr-grid{grid-template-columns:repeat(2,1fr)}
}
/* ---------- desktop ---------- */
@media (min-width:1024px){
  body{padding-bottom:0;font-size:15.5px}
  .bnav,.hdr-menu{display:none!important}
  .appbar{bottom:16px;right:auto;left:50%;transform:translateX(-50%);width:440px}
  .hdr-in{grid-template-columns:auto 1fr minmax(220px,300px) auto auto;grid-template-areas:"logo nav search cart acc";gap:14px;padding:12px 0}
  .nav{grid-area:nav;display:flex;gap:4px;align-items:center}
  .nav>a,.dd>a{display:flex;align-items:center;gap:4px;padding:8px 12px;border-radius:12px;color:var(--t);font-weight:700;font-size:.92rem}
  .nav>a.on,.dd>a.on{background:var(--cream);color:var(--o2)}
  .nav>a:hover,.dd>a:hover{background:var(--gx);color:var(--g)}
  .hsearch{border-radius:999px;background:var(--cream);border-color:var(--sand)}
  .accbtn{grid-area:acc;display:flex;align-items:center;gap:6px;border:1.5px solid var(--line);border-radius:999px;padding:6px 14px;color:var(--g);font-weight:700}
  .hero{grid-template-columns:2fr 1fr;margin-top:22px;gap:16px}
  .hs{min-height:330px}.hs-slide{min-height:330px;padding:34px 44px 44px}
  .hs-name{font-size:1.65rem}.hs-img img{max-width:280px}
  .hs-nav{display:block}
  .hside{grid-template-columns:1fr;gap:16px}
  .vs{min-height:157px}.hside-card{padding:16px}.hside-card img{width:100px;height:100px}.hside-card b{font-size:.9rem}
  .stories{justify-content:center;gap:22px}
  .stories a{flex-basis:92px}.st-ring{width:88px;height:88px}
  .deals-in{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:18px}
  .deals-hd{flex-direction:column;justify-content:center;text-align:center;margin:0}
  .deals-t{font-size:1.4rem}.gift{display:block;font-size:2rem}.deals-all{margin:0}
  .dcard{flex-basis:178px}
  .rail-nav{display:block}
  .deals .rail-nav.prev{right:160px}
  .tp{padding:22px 30px 28px;gap:20px}.tp-txt strong{font-size:1.2rem}.tp-badge{width:80px;height:80px}.tp-badge b{font-size:2rem}
  .sec{margin-top:44px}
  .stitle h2{font-size:1.8rem}
  .pets{gap:16px}.pets a{aspect-ratio:4/5}.pets b{font-size:1.15rem;padding:40px 10px 14px}.pets em{display:block}
  .pslider{padding:18px 16px}.pslider .pcard{flex-basis:220px}
  .pgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .acc .pgrid{grid-template-columns:repeat(3,1fr)}
  .ptitle{font-size:.86rem}
  .promos{grid-template-columns:repeat(2,1fr);gap:16px}
  .promo{padding:18px 24px}.promo img{width:110px;height:110px}
  .bcard{flex-basis:280px}
  .bgrid{grid-template-columns:repeat(3,1fr)}
  .cgrid{grid-template-columns:repeat(4,1fr);gap:16px}
  .pd{grid-template-columns:1fr 1fr;gap:28px;align-items:start}
  .pd-gal{position:sticky;top:calc(var(--hdr) + 16px)}
  .pd-info h1{font-size:1.45rem}
  .pd-sticky{display:none}
  .cart-grid{grid-template-columns:1fr 340px}
  .acc{grid-template-columns:220px 1fr;align-items:start}
  .acc-nav{flex-direction:column;position:sticky;top:calc(var(--hdr) + 16px)}
  .acc-nav form{margin:8px 0 0}
  .ftr-grid{grid-template-columns:1.6fr 1fr 1fr 1.4fr auto}
  .crumbs{padding-top:18px}
  h1{font-size:1.7rem}
}
@media print{.topbar,.hdr,.bnav,.ftr,.appbar,.pd-sticky{display:none!important}body{background:#fff;padding:0}}
@media (max-width:1023px){
  .pets{gap:8px}
  .pets a{aspect-ratio:auto;box-shadow:none;border-radius:0;color:var(--t);display:flex;flex-direction:column;align-items:center;gap:6px;overflow:visible}
  .pets img{width:100%;aspect-ratio:1;border-radius:50%;border:3px solid var(--o);padding:2px;background:#fff}
  .pets b{position:static;background:none;padding:0;font-size:.85rem}
}

/* App download slide (hero) */
.hs-slide.hs-app{position:relative;overflow:hidden;background:radial-gradient(120% 140% at 85% 0%,#2f6b52 0%,#234B3B 45%,#163327 100%);color:#fff;grid-template-columns:1.15fr .85fr}
.hs-app:hover{color:#fff}
.ha-glow{position:absolute;width:340px;height:340px;left:-80px;bottom:-140px;border-radius:50%;background:radial-gradient(circle,rgba(242,166,90,.55),rgba(242,166,90,0) 70%);pointer-events:none}
.ha-paw{position:absolute;opacity:.12;font-size:2.2rem;transform:rotate(-20deg);pointer-events:none}
.ha-paw.p1{top:12px;right:46%}.ha-paw.p2{bottom:18px;right:8%;font-size:1.6rem;transform:rotate(15deg)}.ha-paw.p3{top:38%;left:4%;font-size:1.3rem}
.ha-txt{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ha-tag{display:inline-flex;align-items:center;gap:6px;background:rgba(141,191,145,.18);border:1px solid rgba(141,191,145,.45);color:#cfe8d3;font-size:.72rem;font-weight:800;padding:3px 12px;border-radius:999px}
.ha-tag svg{color:#8DBF91}
.ha-title{color:#fff;font-size:1.08rem;font-weight:900;margin:2px 0 0;line-height:1.6}
.ha-title em{font-style:normal;color:var(--o);display:inline-block}
.ha-sub{margin:0;color:#d6e6db;font-size:.8rem;line-height:1.8;max-width:34ch}
.ha-feat{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.ha-feat li{background:rgba(255,255,255,.1);border-radius:10px;padding:2px 9px;font-size:.7rem;font-weight:700;color:#eef5f0}
.ha-btn{margin-top:8px;display:inline-flex;align-items:center;gap:7px;background:linear-gradient(135deg,#F2A65A,#e68f3a);color:#fff;font-weight:900;font-size:.85rem;padding:9px 18px;border-radius:14px;box-shadow:0 8px 22px rgba(230,143,58,.45);transition:transform .2s}
.hs-app:hover .ha-btn{transform:translateY(-2px)}
.ha-meta{color:#a9c4b2;font-size:.66rem}
.ha-vis{position:relative;z-index:1;display:grid;place-items:center;min-height:190px}
.ha-phone{position:relative;width:118px;height:230px;border-radius:26px;background:#0f1f18;padding:7px;box-shadow:0 18px 40px rgba(0,0,0,.35),inset 0 0 0 2px #3a5a4b;transform:rotate(-6deg);animation:haFloat 5s ease-in-out infinite}
.ha-notch{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:38px;height:7px;border-radius:6px;background:#0f1f18;z-index:2}
.ha-scr{height:100%;border-radius:20px;background:var(--bg);overflow:hidden;padding:18px 7px 7px;display:flex;flex-direction:column;gap:6px}
.ha-bar{display:flex;align-items:center;gap:5px}.ha-bar img{border-radius:6px}.ha-bar b{font-size:.55rem;color:var(--g);font-weight:900}
.ha-hero{height:52px;border-radius:10px;background:linear-gradient(135deg,#E7F3EC,#BFE0CC)}
.ha-row{display:flex;gap:5px}.ha-row i{flex:1;height:22px;border-radius:50%;background:#f3e3cf;border:2px solid var(--o)}
.ha-cards{display:flex;gap:5px}.ha-cards span{flex:1;height:44px;border-radius:9px;background:#fff;box-shadow:0 2px 6px rgba(35,75,59,.12)}
.ha-chip{position:absolute;background:#fff;color:var(--g);font-size:.62rem;font-weight:800;padding:5px 9px;border-radius:12px;box-shadow:0 8px 20px rgba(0,0,0,.2);white-space:nowrap}
.ha-chip.c1{top:14%;right:-2%;animation:haFloat 4s ease-in-out infinite .5s}.ha-chip.c2{bottom:14%;left:-4%;animation:haFloat 4.5s ease-in-out infinite 1s}
.ha-icon{position:absolute;bottom:2%;right:6%;width:46px;height:46px;border-radius:14px;background:#fff;padding:3px;box-shadow:0 10px 24px rgba(0,0,0,.3);transform:rotate(8deg)}
@keyframes haFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media (prefers-reduced-motion:reduce){.ha-phone,.ha-chip{animation:none}}
@media (max-width:420px){.hs-slide.hs-app{grid-template-columns:1fr .7fr;padding-inline:14px}.ha-feat li:nth-child(3){display:none}.ha-sub{font-size:.74rem}.ha-phone{width:96px;height:190px}.ha-chip{font-size:.55rem}}
@media (min-width:768px){.ha-title{font-size:1.45rem}.ha-sub{font-size:.9rem}.ha-feat li{font-size:.78rem;padding:4px 12px}.ha-btn{font-size:.95rem;padding:11px 22px}.ha-phone{width:140px;height:272px;border-radius:30px}.ha-vis{min-height:250px}.ha-chip{font-size:.72rem}}
@media (min-width:1024px){.ha-title{font-size:1.8rem}.ha-phone{width:150px;height:290px}}

/* Tehranpars delivery banner — restored original design (2026-11-03) */
.tp{min-height:118px;gap:18px;padding:20px 28px;border-radius:24px;background:linear-gradient(120deg,#1d4a39 0%,#2f6b52 45%,#F2A65A 130%);box-shadow:0 14px 34px rgba(35,75,59,.28)}
.tp::before{content:"";position:absolute;inset:-40% auto auto -10%;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 65%);pointer-events:none}
.tp::after{content:"";position:absolute;top:0;bottom:0;width:120px;left:-160px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.28),transparent);animation:tpShine 4.5s ease-in-out infinite;pointer-events:none}
.tp-badge{position:relative;z-index:2;width:86px;height:86px;color:#ef394e;box-shadow:0 0 0 6px rgba(255,255,255,.25);animation:tpPulse 2s ease-in-out infinite}
.tp-badge b{font-size:38px;line-height:1;font-weight:900}.tp-badge span{font-size:13px;font-weight:800;color:#1d4a39}
.tp-txt{z-index:2;gap:6px;padding-left:90px}
.tp-txt strong{font-size:23px;font-weight:900;line-height:1.6;text-shadow:0 2px 8px rgba(0,0,0,.18)}
.tp-txt span{font-size:15px;opacity:.92;color:#fff}
.tp-txt em{font-style:normal;font-weight:900;color:#FFD23F;position:relative;display:inline-block;padding:0 4px;margin:0 2px;text-shadow:0 0 12px rgba(255,210,63,.55),0 2px 4px rgba(0,0,0,.25);animation:tpFree 2.2s ease-in-out infinite}
.tp-txt em::after{content:"";position:absolute;right:-2px;left:-2px;bottom:-3px;height:5px;border-radius:4px;background:linear-gradient(90deg,#FF7A1A,#FFD23F);transform:rotate(-4deg);box-shadow:0 2px 6px rgba(255,122,26,.5)}
.tp-moto{z-index:2;left:30px;right:auto;bottom:14px;font-size:58px;line-height:1;animation:tpRide 2.4s ease-in-out infinite}
.tp-road{bottom:8px;height:4px;justify-content:flex-start;gap:26px;opacity:.35;animation:tpRoad 1.2s linear infinite}
.tp-road i{flex:0 0 40px;width:40px;height:4px;border-radius:4px}
@keyframes tpShine{0%,55%{left:-160px}100%{left:110%}}
@keyframes tpPulse{0%,100%{box-shadow:0 0 0 6px rgba(255,255,255,.25)}50%{box-shadow:0 0 0 14px rgba(255,255,255,.08)}}
@keyframes tpFree{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes tpRide{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(-14px) rotate(-4deg)}}
@keyframes tpRoad{from{transform:translateX(0)}to{transform:translateX(66px)}}
@media (max-width:768px){.tp{gap:12px;padding:16px 14px 26px;min-height:0}.tp-badge{width:62px;height:62px}.tp-badge b{font-size:26px}.tp-badge span{font-size:10px}.tp-txt{padding-left:44px}.tp-txt strong{font-size:16px}.tp-txt span{font-size:12px}.tp-moto{font-size:34px;left:12px;bottom:6px}}
/* moto 2x (user, 2026-11-03) */
.tp{min-height:140px}
.tp-moto{font-size:116px;left:24px;bottom:2px}
.tp-txt{padding-left:170px}
@media (max-width:768px){.tp{min-height:0}.tp-moto{font-size:68px;left:8px;bottom:4px}.tp-txt{padding-left:78px}}

/* App poster (flips in, bottom-right) — 2026-11-03 */
.apz{position:fixed;z-index:60;right:14px;bottom:calc(76px + env(safe-area-inset-bottom));width:172px;perspective:900px;pointer-events:none}
.apz[hidden]{display:none}
.apz-paper{position:relative;pointer-events:auto;direction:rtl;text-align:center;padding:22px 12px 14px;border-radius:4px;color:#2b2a26;
 background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0) 40%),repeating-linear-gradient(0deg,transparent 0 23px,rgba(35,75,59,.06) 23px 24px),#FFF6E6;
 box-shadow:0 18px 40px rgba(0,0,0,.28),0 2px 0 rgba(0,0,0,.04);transform-origin:top right;transform:rotate(2.5deg);opacity:0;visibility:hidden}
.apz.in .apz-paper{visibility:visible;animation:apzIn 1.5s cubic-bezier(.2,.75,.3,1) forwards}
.apz.out .apz-paper{visibility:visible;opacity:1;animation:apzOut .6s ease-in forwards}
.apz-tape{position:absolute;top:-11px;left:50%;width:74px;height:22px;transform:translateX(-50%) rotate(-4deg);background:rgba(242,166,90,.55);box-shadow:0 1px 3px rgba(0,0,0,.12);border-left:2px dashed rgba(255,255,255,.5);border-right:2px dashed rgba(255,255,255,.5)}
.apz-x{position:absolute;top:6px;left:6px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(35,75,59,.1);color:var(--g);font-size:.8rem;line-height:1;cursor:pointer;display:grid;place-items:center}
.apz-x:hover{background:var(--g);color:#fff}
.apz-rib{display:inline-block;background:var(--g);color:#fff;font-size:.62rem;font-weight:800;padding:2px 10px;border-radius:999px;margin-bottom:8px}
.apz-ic{width:58px;height:58px;margin:0 auto 6px;border-radius:16px;background:#fff;padding:3px;box-shadow:0 6px 16px rgba(35,75,59,.22);transform:rotate(-5deg)}
.apz-t{display:block;font-size:.95rem;font-weight:900;line-height:1.55;color:var(--g)}
.apz-t em{font-style:normal;color:#e68f3a;position:relative;display:inline-block}
.apz-t em::after{content:"";position:absolute;right:-2px;left:-2px;bottom:-1px;height:4px;border-radius:4px;background:linear-gradient(90deg,#FF7A1A,#FFD23F);transform:rotate(-3deg);opacity:.8}
.apz-f{list-style:none;margin:8px 0 10px;padding:0;font-size:.7rem;font-weight:700;line-height:2;color:#4b514d}
.apz-btn{display:block;background:linear-gradient(135deg,#F2A65A,#e68f3a);color:#fff!important;font-weight:900;font-size:.82rem;padding:8px 6px;border-radius:12px;box-shadow:0 8px 18px rgba(230,143,58,.4);animation:apzBtn 2.4s ease-in-out 2.6s infinite}
.apz-m{display:block;margin-top:6px;color:#8a8f8b;font-size:.6rem}
.apz-fold{position:absolute;left:0;bottom:0;width:26px;height:26px;background:linear-gradient(45deg,var(--bg) 50%,#ead9bd 50%);box-shadow:3px -3px 6px rgba(0,0,0,.1);border-top-right-radius:4px}
@keyframes apzIn{0%{opacity:0;transform:translate(-55vw,-70vh) rotate(-35deg) rotateY(80deg) scale(.6)}35%{opacity:1;transform:translate(-20vw,-30vh) rotate(-12deg) rotateY(-50deg) scale(.85)}60%{transform:translate(0,0) rotate(6deg) rotateY(25deg) scale(1.02)}78%{transform:rotate(1deg) rotateY(-10deg)}90%{transform:rotate(3.5deg) rotateY(4deg)}100%{opacity:1;transform:rotate(2.5deg) rotateY(0)}}
@keyframes apzOut{0%{opacity:1;transform:rotate(2.5deg)}100%{opacity:0;transform:translate(40px,30px) rotate(18deg) rotateY(70deg) scale(.7)}}
@keyframes apzBtn{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@media (prefers-reduced-motion:reduce){.apz.in .apz-paper{animation:none;opacity:1}.apz-btn{animation:none}}
@media (min-width:1024px){.apz{right:22px;bottom:22px;width:200px}.apz-t{font-size:1.05rem}.apz-ic{width:66px;height:66px}}
body.has-sticky .apz{bottom:calc(140px + env(safe-area-inset-bottom))}
@media (max-width:767px){.apz{width:148px;right:10px}.apz-paper{padding:20px 10px 12px}.apz-f{display:none}.apz-ic{width:48px;height:48px}.apz-t{font-size:.85rem;margin-bottom:8px}.apz-btn{font-size:.76rem}}
/* auth v2 (Penta-style split login/register, 2026-11-17) */
.au-wrap{padding:28px 0 40px}
.au-box{display:grid;grid-template-columns:1fr;max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--sh2);overflow:hidden}
.au-card{padding:28px 22px;display:flex;flex-direction:column;gap:12px}
.au-card h1{margin:4px 0 0;font-size:1.35rem;color:var(--t)}
.au-card>.muted{margin:0 0 4px;font-size:.92rem;line-height:1.9}
.au-logo{display:flex;align-items:center;gap:10px;color:var(--g);font-weight:900;font-size:1.05rem;text-decoration:none}
.au-logo img{width:44px;height:44px;border-radius:12px}
.au-form{display:flex;flex-direction:column;gap:14px;text-align:right}
.au-form .field input{min-height:50px}
.frow2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.au-pw{position:relative}
.au-pw input{padding-left:46px!important}
.au-eye{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:none;color:var(--mut);border-radius:10px;cursor:pointer;display:grid;place-items:center}
.au-eye:hover,.au-eye.on{color:var(--g);background:var(--gx)}
.au-eye.on svg{opacity:.65}
.au-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.88rem}
.au-row a{color:var(--g);font-weight:800}
.au-check{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;font-size:.88rem}
.au-check input{width:18px;height:18px;accent-color:var(--g);flex:none}
.au-terms{align-items:flex-start;line-height:1.8}.au-terms a{color:var(--g);font-weight:800}
.au-or{display:flex;align-items:center;gap:10px;color:var(--mut);font-size:.82rem}
.au-or::before,.au-or::after{content:"";flex:1;height:1px;background:var(--line)}
.au-otp-btn{border:1.5px solid var(--g);color:var(--g);background:#fff;font-weight:800}
.au-otp-btn:hover{background:var(--gx)}
.au-pulse{animation:auPulse 1.6s ease-in-out 3}
@keyframes auPulse{50%{box-shadow:0 0 0 6px rgba(141,191,145,.35)}}
.au-foot{text-align:center;font-size:.9rem;margin:6px 0 0;color:var(--mut)}
.au-foot a{color:var(--g);font-weight:900}
.btn.busy{opacity:.75;pointer-events:none}
.au-side{display:none;background:linear-gradient(150deg,var(--g) 0%,var(--g3) 60%,#3d8566 100%);color:#fff;padding:40px 34px;flex-direction:column;justify-content:center;gap:14px;position:relative;overflow:hidden}
.au-side::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(242,166,90,.18);left:-90px;bottom:-90px}
.au-side-logo{border-radius:20px;background:#fff;padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.au-side h2{margin:6px 0 0;font-size:1.45rem;color:#fff}
.au-side p{margin:0;opacity:.9;line-height:1.9}
.au-side ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
.au-side li{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:12px 14px}
.au-side li span{font-size:1.4rem}
.au-side li div{display:flex;flex-direction:column}
.au-side li small{opacity:.85}
@media(min-width:860px){.au-box{grid-template-columns:1.05fr 1fr}.au-card{padding:40px 38px}.au-side{display:flex}}
@media(max-width:420px){.frow2{grid-template-columns:1fr}.au-card{padding:22px 16px}.au-box{border-radius:20px}}
/* profile v2 (Penta-style, 2026-11-17) */
.pf{gap:14px}
.pf-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;padding:18px 20px}
.pf-head h1{margin:2px 0;font-size:1.35rem}.pf-head .muted{margin:0;font-size:.9rem}
.pf-crumb{font-size:.8rem;color:var(--mut)}.pf-crumb a{color:var(--g);font-weight:700}
.pf-last{margin:0;font-size:.82rem;color:var(--mut);background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:6px 12px}.pf-last b{color:var(--t)}
.pf-grid{display:grid;gap:14px;align-items:start}
.pf-sum{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:22px 18px}
.pf-sum h2{margin:8px 0 0;font-size:1.15rem}.pf-sum p{margin:0}
.pf-av{position:relative;width:112px;height:112px}
.pf-av>img,.pf-av>span{width:112px;height:112px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:linear-gradient(140deg,var(--g),var(--g3));color:#fff;font-size:2.6rem;font-weight:900;border:4px solid #fff;box-shadow:var(--sh)}
.pf-avf{margin:0}
.pf-cam{position:absolute;left:2px;bottom:4px;width:34px;height:34px;border-radius:50%;background:var(--o);color:#fff;display:grid;place-items:center;cursor:pointer;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.pf-cam:hover{background:var(--o2)}.pf-cam input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.pf-pill{display:inline-block;background:#e8f6ee;color:#17603b;font-weight:800;font-size:.8rem;border-radius:999px;padding:4px 12px;margin:4px 0}
.pf-stat{width:100%;display:flex;align-items:center;gap:10px;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:10px 12px;font-size:.88rem}
.pf-stat i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--gx);color:var(--g);flex:none}
.pf-stat span{color:var(--mut)}.pf-stat b{margin-right:auto}
.pf-cards{display:flex;flex-direction:column;gap:14px;min-width:0}
.pf-card{display:flex;flex-direction:column;gap:12px;padding:18px}
.pf-ch{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.pf-ch h3{margin:0;font-size:1.02rem}.pf-ch p{margin:2px 0 0;color:var(--mut);font-size:.82rem}
.pf-sub{margin-top:8px;padding-top:14px;border-top:1px dashed var(--line)}
.pf-ch i,.pf-row i{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;font-style:normal}
.pf-row i{width:38px;height:38px}
i.b{background:#e7f0fb;color:#2563a8}i.g{background:var(--gx);color:var(--g)}i.a{background:#fff3e2;color:#c06a12}i.r{background:#fdecee;color:#c0283b}
.pf-note{margin:0;background:#f2f7f3;border-right:3px solid var(--gl);border-radius:10px;padding:9px 12px;font-size:.84rem;color:var(--g2)}
.pf-act{display:flex;justify-content:flex-end}
.pf-btn-g{background:#2f8a5b;color:#fff;display:inline-flex;align-items:center;gap:6px}.pf-btn-g:hover{background:#25724b}
.pf-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.pf-row:last-child{border-bottom:0}
.pf-row>div{display:flex;flex-direction:column;flex:1;min-width:0}.pf-row small{color:var(--mut);font-size:.8rem}
.pf-row form{margin:0}
.pf-tag{border:0;border-radius:999px;padding:6px 14px;font-weight:800;font-size:.8rem;cursor:pointer;white-space:nowrap;font-family:inherit}
.pf-tag.ok{background:#e8f6ee;color:#17603b;cursor:default}.pf-tag.warn{background:#fff3e2;color:#a85a0b}.pf-tag.bad{background:#fdecee;color:#b3192d}.pf-tag.bad:hover{background:#f9d5da}
@media(min-width:960px){.pf-grid{grid-template-columns:270px 1fr}.pf-sum{position:sticky;top:calc(var(--hdr) + 16px)}}
.accdd{position:relative;padding:0!important}
.accdd summary{list-style:none;display:flex;align-items:center;gap:6px;padding:5px 12px 5px 10px;cursor:pointer}
.accdd summary::-webkit-details-marker{display:none}
.accdd summary img,.accav{width:28px;height:28px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:var(--g);color:#fff;font-size:.8rem}
.accdd[open] summary .ic{transform:rotate(180deg)}
.accdd-m{position:absolute;left:0;top:calc(100% + 8px);min-width:220px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--sh2);padding:8px;display:flex;flex-direction:column;z-index:60}
.accdd-h{display:flex;flex-direction:column;padding:6px 10px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.accdd-h small{color:var(--mut);text-align:right}
.accdd-m a,.accdd-m button{padding:9px 10px;border-radius:10px;color:var(--t);font-weight:700;font-size:.88rem;text-align:right;background:none;border:0;cursor:pointer;font-family:inherit;width:100%}
.accdd-m a:hover{background:var(--gx)}.accdd-m form{margin:4px 0 0;border-top:1px solid var(--line);padding-top:4px}.accdd-m button{color:#b3192d}
.nav a{white-space:nowrap}.accdd summary span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-stat span,.pf-stat b{white-space:nowrap}

/* pz-a11y */
html,body{overflow-x:clip}
:focus-visible{outline:3px solid var(--o);outline-offset:2px}
:focus:not(:focus-visible){outline:none}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:3px solid var(--o);outline-offset:1px}
.tp-moto,.tp::after{will-change:left}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}html{scroll-behavior:auto}}
