.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.5rem}
.shop-card{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;transition:all var(--dur) var(--ease)}
.shop-card:hover{box-shadow:var(--sh-md);transform:translateY(-3px)}
.shop-card-media{position:relative;display:block;aspect-ratio:1/1;background:var(--bg-3);overflow:hidden}
.shop-card-media img,.shop-product-media img,.shop-cart-img img{width:100%;height:100%;object-fit:contain;background:#fff}
.shop-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:2.4rem;color:var(--brand-light);opacity:.5}
.shop-flag{position:absolute;top:.6rem;left:.6rem;padding:.2rem .6rem;border-radius:var(--r-pill);background:#111;color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.shop-flag-sale{background:var(--danger)}
.shop-card-body{display:flex;flex-direction:column;gap:.6rem;padding:1rem 1.1rem 1.2rem;flex:1}
.shop-card-body h3{font-size:1rem;font-weight:700;line-height:1.3}
.shop-card-body h3 a:hover{color:var(--brand)}
.shop-card-body form,.shop-card-body>.btn{margin-top:auto}
.shop-card-body .btn{width:100%}
.shop-price{font-weight:800;color:var(--txt)}
.shop-price s{margin-left:.4rem;font-weight:500;color:var(--txt-3);font-size:.85em}
.shop-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem;color:var(--txt-3);font-size:.9rem}
.shop-sort{display:flex;flex-wrap:wrap;gap:.5rem}
.shop-h1{font-size:clamp(1.7rem,3.5vw,2.4rem);font-weight:800;margin-bottom:1.5rem}
.shop-h2{font-size:1.15rem;margin:1.75rem 0 .6rem}
.shop-crumb{justify-content:flex-start}
.shop-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:start}
.shop-product-media{aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;background:var(--bg-3);border:1px solid var(--border-subtle)}
.shop-product-info h1{font-size:clamp(1.6rem,3.2vw,2.3rem);font-weight:800;margin-bottom:.8rem}
.shop-product-price{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;font-size:1.4rem;margin-bottom:1rem}
.shop-product-summary{color:var(--txt-2);margin-bottom:1.25rem}
.shop-stock{font-size:.75rem;font-weight:700;padding:.2rem .7rem;border-radius:var(--r-pill)}
.shop-stock-ok{background:rgba(30,142,90,.12);color:var(--success)}
.shop-stock-low{background:rgba(183,121,31,.14);color:var(--warn)}
.shop-stock-out{background:rgba(192,57,43,.12);color:var(--danger)}
.shop-buy{display:flex;flex-wrap:wrap;gap:.75rem;align-items:stretch;margin-bottom:1rem}
.shop-qty{width:84px;padding:.7rem .6rem;text-align:center;background:var(--bg-card);border:1.5px solid var(--border);border-radius:var(--r-sm);font:inherit;color:var(--txt)}
.shop-note{font-size:.85rem;color:var(--txt-3);margin-top:.75rem}
.shop-note i{color:var(--brand-light);margin-right:.35rem}
.shop-desc{max-width:72ch;margin:3rem auto 0}
.shop-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:2rem;align-items:start}
.shop-cart-row{display:grid;grid-template-columns:72px minmax(0,1fr) 84px 110px 40px;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border-subtle)}
.shop-cart-img{width:72px;height:72px;border-radius:var(--r-sm);overflow:hidden;background:var(--bg-3)}
.shop-cart-info{display:flex;flex-direction:column;min-width:0}
.shop-cart-name{font-weight:700;overflow-wrap:anywhere}
.shop-cart-name:hover{color:var(--brand)}
.shop-cart-unit{font-size:.85rem;color:var(--txt-3)}
.shop-cart-total{text-align:right}
.shop-remove{width:40px;height:40px;border-radius:50%;color:var(--txt-3)}
.shop-remove:hover{color:var(--danger);background:var(--bg-2)}
.shop-cart-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;margin-top:1.25rem}
.shop-summary{background:var(--bg-1);border:1px solid var(--border);border-radius:var(--r);padding:1.5rem;position:sticky;top:calc(var(--nav-h) + 1rem)}
.shop-summary h2{font-size:1.1rem;margin-bottom:1rem}
.shop-sum-row,.shop-sum-item{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;font-size:.92rem}
.shop-sum-item{color:var(--txt-2)}
.shop-sum-total{border-top:1px solid var(--border);margin-top:.5rem;padding-top:.8rem;font-weight:800;font-size:1.1rem}
.shop-block{display:flex;width:100%;margin-top:1rem}
.shop-form h2{font-size:1.2rem;margin:0 0 1rem}
.shop-form h2:not(:first-of-type){margin-top:1.75rem}
.shop-form .field input[type=tel]{width:100%;padding:.75rem 1rem;background:var(--bg-card);border:1.5px solid var(--border);border-radius:var(--r-sm);font:inherit;color:var(--txt)}
.shop-two{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.shop-methods{display:grid;gap:.6rem}
.shop-method,.shop-check{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--bg-card);cursor:pointer;font-weight:600}
.shop-check{margin-bottom:.6rem}
.shop-method:has(input:checked){border-color:var(--brand);background:var(--brand-dim)}
.shop-badges{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:1.25rem}
.shop-when{font-size:.85rem;color:var(--txt-3)}
.shop-status{display:inline-flex;padding:.25rem .75rem;border-radius:var(--r-pill);font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;background:var(--bg-2);color:var(--txt-2)}
.shop-status-processing,.shop-status-shipped{background:var(--brand-dim);color:var(--brand)}
.shop-status-delivered,.shop-pay-paid{background:rgba(30,142,90,.12);color:var(--success)}
.shop-status-cancelled{background:rgba(192,57,43,.12);color:var(--danger)}
.shop-status-pending,.shop-pay-unpaid{background:rgba(183,121,31,.14);color:var(--warn)}
.shop-paybox{background:var(--bg-1);border:1px solid var(--border);border-radius:var(--r);padding:1.1rem 1.25rem;margin-bottom:1.5rem}
.shop-paybox p+p,.shop-paybox p+.btn{margin-top:.6rem}
.shop-order-items{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--r);padding:1rem 1.25rem}
.shop-addr{line-height:1.8;overflow-wrap:anywhere}
.shop-admin .field input[type=text],.shop-admin .field select,.shop-admin .field textarea,.shop-admin .field input[type=password]{width:100%;padding:.7rem .9rem;background:var(--bg-1);border:1.5px solid var(--border);border-radius:var(--r-sm);font:inherit;color:var(--txt)}
.shop-admin form{padding:1rem 1.25rem}
.shop-admin>header+p,.shop-admin>.shop-order-items,.shop-admin>.shop-addr,.shop-admin>.shop-h2,.shop-admin>p{margin-left:1.25rem;margin-right:1.25rem}
.shop-admin-row{display:flex;align-items:center;gap:1rem;color:inherit}
.shop-admin-main{flex:1;min-width:0}
.shop-admin-main small{display:block;color:var(--txt-3)}
.shop-admin-thumb{width:48px;height:48px;border-radius:8px;overflow:hidden;background:var(--bg-3);flex:none}
.shop-admin-thumb img,.shop-admin-photo img{width:100%;height:100%;object-fit:cover}
.shop-admin-photo{display:flex;align-items:center;gap:1rem;margin-bottom:.6rem}
.shop-admin-photo img{width:96px;height:96px;border-radius:8px}
.shop-admin-actions{display:flex;gap:.4rem}
.shop-admin-actions form{padding:0}
.shop-admin-forms{padding:0 .25rem}
.shop-inline{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.shop-inline select{padding:.5rem .8rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--bg-1);color:var(--txt);font:inherit}
@media (max-width:900px){.shop-product,.shop-cart-layout{grid-template-columns:1fr}.shop-summary{position:static}}
@media (max-width:640px){.shop-cart-row{grid-template-columns:64px minmax(0,1fr) 40px;grid-template-areas:"i n r" "i q t"}.shop-cart-img{grid-area:i;width:64px;height:64px}.shop-cart-info{grid-area:n}.shop-remove{grid-area:r}.shop-cart-row .shop-qty{grid-area:q;width:84px}.shop-cart-total{grid-area:t}.shop-two{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.shop-admin-row{flex-wrap:wrap}}
.shop-product-media{aspect-ratio:auto;border:0;background:none;overflow:visible}
.shop-main{aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;background:var(--bg-3);border:1px solid var(--border-subtle)}
.shop-main img{width:100%;height:100%;object-fit:cover}
.shop-thumbs{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.shop-thumb{width:68px;height:68px;border-radius:var(--r-sm);overflow:hidden;border:2px solid transparent;background:var(--bg-3);padding:0}
.shop-thumb.active{border-color:var(--brand)}
.shop-thumb img{width:100%;height:100%;object-fit:cover}
.shop-grid{gap:clamp(1rem,2.4vw,1.75rem)}
.shop-card{border-radius:calc(var(--r)*1.25);border-color:var(--border-subtle);box-shadow:0 1px 2px rgba(0,0,0,.04)}
.shop-card:hover{transform:translateY(-4px);box-shadow:var(--sh-md)}
.shop-card-media img{transition:transform .5s var(--ease)}
.shop-card:hover .shop-card-media img{transform:scale(1.06)}
.shop-card-body h3{font-size:.98rem;font-weight:650;letter-spacing:-.005em}
.shop-price{font-variant-numeric:tabular-nums;font-size:1.02rem}
.shop-flag{border-radius:6px;padding:.25rem .55rem;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.shop-flag-out{background:#374151}
.shop-flag-low{background:var(--warn);color:#fff}
.shop-save{display:inline-block;padding:.2rem .6rem;border-radius:var(--r-pill);background:var(--danger);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.02em}
.shop-trust{border-block:1px solid var(--border-subtle);background:var(--bg-1)}
.shop-trust ul{list-style:none;margin:0;padding:1rem 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.shop-trust li{display:flex;align-items:center;gap:.8rem;font-size:.88rem;color:var(--txt-2)}
.shop-trust li i{width:2.4rem;height:2.4rem;display:grid;place-items:center;border-radius:50%;background:var(--brand-dim);color:var(--brand);flex:none}
.shop-trust li span{display:flex;flex-direction:column;line-height:1.35}
.shop-trust li strong{color:var(--txt);font-size:.92rem}
.shop-trust li a{color:var(--brand);font-weight:600}
.shop-stepper{display:inline-flex;align-items:stretch;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--bg-card);overflow:hidden}
.shop-stepper button{width:2.4rem;border:0;background:transparent;color:var(--txt);font-size:1.15rem;cursor:pointer}
.shop-stepper button:hover{background:var(--bg-2)}
.shop-stepper .shop-qty{width:3.2rem;border:0;border-radius:0;padding:.7rem 0;-moz-appearance:textfield;appearance:textfield}
.shop-stepper .shop-qty::-webkit-outer-spin-button,.shop-stepper .shop-qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.shop-cart-row .shop-stepper{justify-self:start}
.shop-cart-row{grid-template-columns:72px minmax(0,1fr) auto 110px 40px}
.shop-assure{list-style:none;margin:1rem 0 0;padding:1rem 0 0;border-top:1px solid var(--border-subtle);display:grid;gap:.55rem;font-size:.88rem;color:var(--txt-2)}
.shop-assure i{color:var(--brand);width:1.2rem;margin-right:.35rem}
.shop-assure a{color:var(--brand);font-weight:600}
.shop-progress{height:8px;border-radius:99px;background:var(--bg-3);overflow:hidden;margin-top:1rem}
.shop-progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--brand),var(--brand-light));transition:width .4s var(--ease)}
.shop-note-ok{color:var(--success);font-weight:600}
.shop-note-ok i{color:var(--success)}
.shop-summary{border-radius:calc(var(--r)*1.25);box-shadow:var(--sh-sm)}
.shop-buy .btn-lg{flex:1;min-width:12rem;justify-content:center}
.shop-sticky{display:none}
:where(.shop-card a,.shop-stepper button,.shop-thumb,.shop-remove,.shop-buy .btn):focus-visible{outline:2px solid var(--brand);outline-offset:2px}
@media (max-width:900px){.shop-trust ul{grid-template-columns:1fr;gap:.6rem}}
@media (max-width:640px){.shop-cart-row{grid-template-columns:64px minmax(0,1fr) 40px}.shop-trust li i{width:2rem;height:2rem}
.shop-sticky{position:fixed;left:0;right:0;bottom:0;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom,0px));background:var(--bg-card);border-top:1px solid var(--border);box-shadow:0 -8px 24px rgba(0,0,0,.12)}
.shop-sticky-info{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.shop-sticky-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}
.shop-sticky-info span{font-weight:800}
.theme-fab{bottom:5rem}}
@media (prefers-reduced-motion:reduce){.shop-card,.shop-card-media img,.shop-progress span{transition:none}.shop-card:hover{transform:none}.shop-card:hover .shop-card-media img{transform:none}}
.shop-brand{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--txt-3)}
.shop-brand-lg{margin:0 0 .35rem;font-size:.8rem}
.shop-meta{display:flex;flex-wrap:wrap;gap:.4rem 1rem;margin:-.3rem 0 .9rem;font-size:.82rem;color:var(--txt-3)}
.shop-specs{max-width:72ch;margin:2.5rem auto 0}
.shop-specs h2{font-size:1.2rem;margin-bottom:1rem}
.shop-specs dl{margin:0;border:1px solid var(--border-subtle);border-radius:var(--r);overflow:hidden}
.shop-specs dl>div{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:1rem;padding:.7rem 1rem}
.shop-specs dl>div:nth-child(odd){background:var(--bg-1)}
.shop-specs dt{font-weight:650;color:var(--txt-2)}
.shop-specs dd{margin:0;overflow-wrap:anywhere}
.shop-specs ul{margin:1rem 0 0;padding-left:1.2rem;color:var(--txt-2)}
.shop-attrs{border:1px solid var(--border);border-radius:var(--r);padding:1rem 1.25rem;margin:0 0 1.25rem}
.shop-attrs legend{padding:0 .5rem;font-weight:700}
.shop-attrs select{width:100%;padding:.7rem .9rem;background:var(--bg-1);border:1.5px solid var(--border);border-radius:var(--r-sm);font:inherit;color:var(--txt)}
.shop-attrs .field input[type=text]{width:100%}
@media (max-width:640px){.shop-specs dl>div{grid-template-columns:1fr;gap:.2rem}}
.shop-coupon{display:flex;gap:.5rem;margin-top:1rem}
.shop-coupon input[type=text]{flex:1;min-width:0;padding:.6rem .8rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--bg-card);color:var(--txt);font:inherit;text-transform:uppercase}
.shop-coupon .shop-note{margin:0}
.shop-sum-discount{color:var(--success);font-weight:600}
.shop-note-err{color:var(--danger)}
.shop-link{border:0;background:none;padding:0;color:var(--brand);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}

.shop-method-group{margin:0 0 1.2rem}
.shop-method-title{margin:0 0 .2rem;font-size:1rem}
.shop-method-hint{margin:0 0 .6rem;font-size:.88rem;color:var(--text-muted,inherit);opacity:.8}
.shop-method>span{display:block}
.shop-method-acct{display:block;margin-top:.15rem;font-weight:400;font-size:.88rem;opacity:.75}
.shop-wallet{margin:0 0 .8rem}

.pay-card{--pc-a:#1f2937;--pc-b:#0b0f1a;--pc-fg:#fff;position:relative;display:flex;flex-direction:column;gap:.7rem;width:100%;max-width:360px;aspect-ratio:1.586/1;min-height:200px;padding:1.1rem 1.25rem;border-radius:16px;color:var(--pc-fg);background:linear-gradient(135deg,var(--pc-a),var(--pc-b));box-shadow:0 14px 30px -14px rgba(0,0,0,.45);overflow:hidden;box-sizing:border-box}
.pay-card:before{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}
.pay-card:after{content:"";position:absolute;left:-40px;bottom:-90px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}
.pay-card-mtn{--pc-a:#ffd400;--pc-b:#e0a100;--pc-fg:#1a1400}
.pay-card-telecel{--pc-a:#e60000;--pc-b:#8f0000}
.pay-card-atmoney{--pc-a:#1d3f9e;--pc-b:#d3122f}
.pay-card-bank{--pc-a:#2b3445;--pc-b:#0d1118}
.pay-card-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}
.pay-card-brand{font-weight:800;font-size:1.05rem;letter-spacing:.02em}
.pay-card-wave{transform:rotate(90deg);opacity:.8}
.pay-card-chip{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:2px;width:42px;height:32px;padding:3px;border-radius:7px;background:linear-gradient(135deg,#f3dc8b,#c79b2f)}
.pay-card-chip span{border:1px solid rgba(90,60,0,.35);border-radius:2px}
.pay-card-number{position:relative;z-index:1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(1.15rem,4.6vw,1.45rem);font-weight:600;letter-spacing:.12em;text-shadow:0 1px 1px rgba(0,0,0,.2);word-break:break-all}
.pay-card-lines{position:relative;z-index:1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.82rem;line-height:1.45;letter-spacing:.04em;max-height:5.8em;overflow:hidden}
.pay-card-bottom{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-end;gap:.6rem;margin-top:auto}
.pay-card-bottom small{display:block;font-size:.58rem;letter-spacing:.14em;text-transform:uppercase;opacity:.75}
.pay-card-bottom strong{display:block;font-size:.92rem;letter-spacing:.06em;text-transform:uppercase;overflow-wrap:anywhere}
.pay-card-tag{font-style:italic;font-weight:800;font-size:1.15rem;opacity:.9}
.pay-card-copy{position:absolute;z-index:2;right:.9rem;top:3.1rem;padding:.3rem .6rem;border:1px solid currentColor;border-radius:999px;background:rgba(255,255,255,.14);color:inherit;font-size:.72rem;font-weight:600;cursor:pointer}
.pay-card-copy:hover{background:rgba(255,255,255,.3)}
.shop-method-card{display:block;padding:0;border:0;background:none;cursor:pointer}
.shop-method-card>input{position:absolute;opacity:0;pointer-events:none}
.shop-method-card .pay-card{outline:3px solid transparent;outline-offset:3px;transition:outline-color .15s,transform .15s}
.shop-method-card:has(input:checked) .pay-card{outline-color:var(--brand);transform:translateY(-2px)}
.shop-method-card:has(input:focus-visible) .pay-card{outline-color:var(--brand)}
.shop-method-card:has(input:checked){border:0;background:none}
.shop-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.1rem;margin-bottom:.7rem}
.shop-card-pick{display:block;margin:.1rem 0 0;font-size:.85rem;text-align:center;opacity:.7}
.shop-wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,320px);gap:1.2rem;align-items:start}
.shop-wallet-grid .pay-card{max-width:320px}
@media(max-width:720px){.shop-wallet-grid{grid-template-columns:1fr}.pay-card-copy{top:auto;bottom:3.1rem}}
.shop-paybox .pay-card{margin:.4rem 0 .8rem}
