:root{--pink:#ff1f7a;--pink2:#ff5aa5;--dark:#171927;--muted:#777b8b;--line:#ececf5;--bg:#f7f8fc;--gold:#ffb703;--green:#21bf73;--shadow:0 18px 48px rgba(20,24,40,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,"Noto Sans Thai",sans-serif;background:linear-gradient(180deg,#fff 0,#fff4f9 24%,var(--bg) 62%);color:var(--dark);padding-bottom:92px}.topbar{position:sticky;top:0;z-index:50;height:72px;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,4vw)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--dark)}.logo{width:42px;height:42px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,var(--pink),#ff7cc2);color:#fff;box-shadow:0 12px 30px rgba(255,31,122,.28);font-size:24px}.brand b{font-size:22px;letter-spacing:-.03em}.brand small{display:block;color:var(--muted);font-size:12px}.lang-picker select{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;font-weight:800;color:var(--dark);box-shadow:0 10px 22px rgba(20,24,40,.06)}.page,.admin-page{max-width:1220px;margin:auto;padding:18px}.search-card{margin:6px 0 18px}.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--pink);padding:6px;border-radius:0;box-shadow:0 12px 35px rgba(255,31,122,.12)}.hot-badge{background:var(--pink);color:#fff;font-weight:900;padding:8px 10px}.search-box input{flex:1;border:0;outline:0;font-size:22px;font-weight:800;color:var(--pink);min-width:0}.search-box button,button,.btn{border:0;background:var(--pink);color:#fff;padding:14px 22px;font-weight:900;border-radius:2px;cursor:pointer;text-decoration:none;display:inline-block;box-shadow:0 12px 25px rgba(255,31,122,.18)}.hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:24px;border-radius:30px;background:radial-gradient(circle at top left,#fff,#ffe5f1 36%,#fff 68%);box-shadow:var(--shadow);margin-bottom:18px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:220px;height:220px;background:linear-gradient(135deg,var(--pink),transparent);border-radius:50%;right:-80px;top:-90px;opacity:.18}.hero h1{margin:0;font-size:clamp(28px,5vw,58px);letter-spacing:-.055em}.hero p{color:var(--muted);font-size:16px;max-width:650px}.hero-btn,.deal-btn{white-space:nowrap;text-decoration:none;color:#fff;background:var(--dark);padding:14px 20px;border-radius:999px;font-weight:900}.flash-zone{margin:18px 0 20px;padding:16px;border-radius:28px;background:linear-gradient(135deg,#171927,#3b1742 55%,#ff1f7a);box-shadow:var(--shadow);color:#fff}.flash-head h2{color:#fff}.flash-global-countdown,.countdown{font-variant-numeric:tabular-nums;background:#fff;color:var(--pink);border-radius:999px;padding:8px 12px;font-weight:1000;box-shadow:0 10px 25px rgba(0,0,0,.12)}.countdown.small{padding:4px 8px;font-size:12px}.flash-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(155px,210px);gap:14px;overflow:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.flash-card{scroll-snap-align:start;background:#fff;color:var(--dark);border-radius:18px;padding:10px;box-shadow:0 12px 30px rgba(0,0,0,.18);position:relative;transition:.25s transform}.flash-card:hover{transform:translateY(-5px)}.flash-card a{display:block;position:relative}.flash-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#f3f4f8}.flash-card b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.25;min-height:36px;margin-top:8px}.mini-price{display:flex;justify-content:space-between;gap:6px;align-items:center;color:var(--muted);font-size:12px}.mini-price strong{color:var(--pink);font-size:18px}.flash-card del{display:block;color:#969baa;font-size:12px}.chips{display:flex;gap:10px;overflow:auto;padding:4px 0 18px}.chips a{white-space:nowrap;text-decoration:none;color:var(--dark);background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:999px;box-shadow:0 8px 20px rgba(20,24,40,.05);font-weight:800}.chips small{color:var(--pink)}.section-title{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}.section-title h2{margin:0}.section-title span{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.card{background:#fff;border-radius:3px;overflow:hidden;box-shadow:0 10px 30px rgba(20,24,40,.08);transition:.22s transform,.22s box-shadow;position:relative}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card.rise{animation:rise .7s ease both}@keyframes rise{from{transform:translateY(24px);opacity:.6}to{transform:translateY(0);opacity:1}}.image-wrap{position:relative;display:block;background:#f1f3f8;aspect-ratio:1/1;overflow:hidden}.image-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:.32s transform}.card:hover img{transform:scale(1.05)}.badge,.discount{position:absolute;z-index:2;left:10px;top:10px;background:#fff;color:var(--pink);font-weight:1000;padding:5px 8px;border-radius:4px;font-size:12px}.discount{left:auto;right:10px;background:linear-gradient(135deg,#ff315c,var(--pink));color:#fff;border-radius:999px}.card-body{padding:12px}.shop{font-weight:1000;color:var(--pink);font-size:13px}.title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--dark);text-decoration:none;font-size:18px;line-height:1.28;font-weight:900;min-height:47px}.card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);font-size:13px;height:36px;margin:8px 0}.special-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;color:#a24e00;font-weight:900;background:#fff7e5;border:1px solid #ffe1a6;border-radius:12px;padding:6px 8px;font-size:12px}.price-stack{margin:7px 0}.before-price{font-size:12px;color:#8d92a3}.now-price{display:flex;align-items:baseline;gap:6px;color:var(--pink);font-weight:900}.now-price b{font-size:26px;letter-spacing:-.04em}.meta{color:var(--muted);margin-top:6px;font-size:13px;min-height:18px}.deal-btn{display:block;text-align:center;margin-top:10px;background:linear-gradient(135deg,var(--pink),#ff73b7);padding:10px 12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:min(7vw,70px);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.bottom-nav a{text-decoration:none;color:#777b8b;font-size:13px;text-align:center;font-weight:800}.bottom-nav a span{display:block;font-size:25px}.bottom-nav .active{color:var(--pink)}.footer{text-align:center;color:var(--muted);font-size:12px;padding:24px 14px}.empty,.alert{background:#fff;padding:18px;border-radius:18px;box-shadow:var(--shadow)}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.admin-head h1{margin-bottom:0;font-size:42px}.admin-head p{color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:26px;padding:20px;margin:16px 0;box-shadow:var(--shadow)}.login-panel{max-width:420px;margin:40px auto}.panel input,.panel textarea,.panel select{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px;margin:6px 0 14px;font:inherit}.panel textarea{min-height:90px}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex!important;gap:10px;align-items:center}.check input{width:auto}.ghost{background:#fff;color:var(--dark);border:1px solid var(--line);box-shadow:none}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-grid div{background:linear-gradient(135deg,#fff,#ffeaf4);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow)}.stat-grid b{font-size:34px;color:var(--pink)}.stat-grid span{display:block;color:var(--muted)}.ok{border-left:6px solid #20b26b}.error{border-left:6px solid #ff315c;color:#b0002f}.hint{color:var(--muted);font-size:13px;line-height:1.6}.list-head{display:flex;align-items:center;justify-content:space-between}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:940px}th,td{border-bottom:1px solid var(--line);padding:12px;text-align:left}td small{display:block;color:var(--muted)}td a{color:var(--pink);font-weight:800;text-decoration:none}.image-preview{margin:10px 0 16px;border:1px solid var(--line);border-radius:18px;padding:10px;background:#fff;max-width:240px}.image-preview img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;display:block}.check.inline{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0 8px;color:#555;font-size:13px}.upload{gap:10px;flex-wrap:wrap}.pulse{animation:pulse .6s ease}@keyframes pulse{50%{transform:scale(1.08)}}
@media(max-width:980px){.grid{grid-template-columns:repeat(3,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.page,.admin-page{padding:12px}.topbar{height:62px;padding:0 12px}.brand small{display:none}.brand b{font-size:18px}.lang-picker select{max-width:126px}.hero{display:block;padding:18px;border-radius:22px}.hero-btn{display:inline-block}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.search-box{padding:5px}.search-box input{font-size:16px}.search-box button{padding:12px 14px}.title{font-size:15px;min-height:40px}.card-body{padding:10px}.now-price b{font-size:22px}.two,.stat-grid{grid-template-columns:1fr}.admin-head h1{font-size:32px}.admin-head{align-items:flex-start}.bottom-nav{justify-content:space-around;gap:0}.bottom-nav a{font-size:12px}.panel{border-radius:20px;padding:16px}.flash-strip{grid-auto-columns:minmax(145px,170px)}}@media(max-width:380px){.grid{gap:9px}.now-price b{font-size:19px}.card p{display:none}.hot-badge{display:none}.deal-btn{font-size:13px}}
.brand-img{width:48px;height:48px;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(20,24,40,.10)}
.trust-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.trust-pills span{background:rgba(255,255,255,.76);border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900;color:#36394a}.load-wrap{text-align:center;padding:26px}.load-more{border-radius:999px;background:#171927}.sale-pop{position:relative;overflow:hidden}.sale-pop:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);transform:translateX(-100%);animation:shine 4s linear infinite}@keyframes shine{60%,100%{transform:translateX(120%)}}.deal-toast{position:fixed;z-index:99;left:50%;bottom:86px;transform:translate(-50%,30px) scale(.96);opacity:0;pointer-events:none;width:min(92vw,430px);background:rgba(23,25,39,.94);color:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:0 22px 60px rgba(0,0,0,.25);border-radius:24px;padding:10px;backdrop-filter:blur(16px);transition:.28s ease;display:flex;gap:12px;align-items:center}.deal-toast.show{opacity:1;transform:translate(-50%,0) scale(1)}.toast-img{width:86px;height:86px;object-fit:cover;border-radius:18px;background:#fff;flex:0 0 auto}.toast-copy{min-width:0}.deal-toast b{display:block;color:#ffd166;font-size:13px}.toast-disc{font-style:normal;background:#ff1f7a;color:#fff;border-radius:999px;padding:2px 7px;margin-left:4px}.deal-toast span{display:block;font-weight:800;line-height:1.25;margin:3px 0}.toast-before{display:block;color:#b8bac8;text-decoration:line-through;font-size:11px}.deal-toast strong{font-size:25px;color:#ff73b7}.deal-toast em{display:block;font-style:normal;color:#d8dae6;font-size:12px}.toast-count{background:rgba(255,255,255,.14);border-radius:8px;padding:1px 5px;color:#fff}.before-price del{opacity:.62;text-decoration-thickness:1px}.now-price{align-items:center}.now-price:before{content:"";width:7px;height:7px;background:#ff1f7a;border-radius:50%;box-shadow:0 0 0 6px rgba(255,31,122,.12)}
@media(max-width:720px){.brand-img{width:40px;height:40px}.trust-pills span{font-size:12px;padding:7px 9px}.deal-toast{bottom:76px}.toast-img{width:74px;height:74px}.deal-toast strong{font-size:21px}}

/* V6 autocomplete search with product images */
.autocomplete-wrap{position:relative;z-index:80}.suggest-box{position:absolute;left:8px;right:8px;top:calc(100% + 10px);background:rgba(255,255,255,.98);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px rgba(20,24,40,.18);overflow:hidden;display:none;max-height:min(72vh,560px);overflow-y:auto}.suggest-box.show{display:block}.suggest-item{display:grid;grid-template-columns:74px 1fr;gap:12px;align-items:center;padding:10px 12px;text-decoration:none;color:var(--dark);border-bottom:1px solid #f0f1f5;transition:.15s background,.15s transform}.suggest-item:last-child{border-bottom:0}.suggest-item:hover,.suggest-item.active{background:linear-gradient(135deg,#fff7fb,#f6f8ff);transform:translateX(2px)}.suggest-item img,.suggest-noimg{width:74px;height:74px;border-radius:18px;object-fit:cover;background:#f2f4f8;box-shadow:0 8px 22px rgba(20,24,40,.08)}.suggest-noimg{display:grid;place-items:center;font-size:28px}.suggest-copy{min-width:0;display:block}.suggest-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.22;font-weight:1000}.suggest-copy small{display:block;color:var(--muted);font-weight:800;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggest-price{display:flex;align-items:center;gap:8px;margin-top:5px;flex-wrap:wrap}.suggest-price b{color:var(--pink);font-size:18px}.suggest-price del{font-size:12px;color:#9aa0ad;opacity:.68}.suggest-price i{font-style:normal;background:linear-gradient(135deg,#ff315c,var(--pink));color:#fff;border-radius:999px;padding:2px 7px;font-weight:1000;font-size:11px}.suggest-loading,.suggest-empty{padding:18px;color:var(--muted);font-weight:800;text-align:center}
@media(max-width:720px){.suggest-box{left:0;right:0;top:calc(100% + 8px);border-radius:20px}.suggest-item{grid-template-columns:62px 1fr;padding:9px 10px}.suggest-item img,.suggest-noimg{width:62px;height:62px;border-radius:15px}.suggest-copy strong{font-size:14px}.suggest-price b{font-size:16px}}
.sort-zone{display:flex;gap:10px;align-items:center;overflow:auto;padding:4px 0 16px;margin-top:-4px}.sort-zone span{color:var(--muted);font-weight:900;white-space:nowrap}.sort-zone a{text-decoration:none;color:var(--dark);background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:999px;font-weight:900;white-space:nowrap}.sort-zone a.active{background:var(--dark);color:#fff;border-color:var(--dark)}.share-row{display:flex;gap:6px;align-items:center;margin:9px 0 0;flex-wrap:wrap}.share-row span{font-size:11px;color:var(--muted);font-weight:900;text-transform:uppercase}.share-row a,.share-row button{border:1px solid var(--line);background:#fff;color:var(--pink);min-width:30px;height:30px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:1000;text-decoration:none;padding:0 8px;box-shadow:0 8px 16px rgba(20,24,40,.05);cursor:pointer}.share-row button{font-size:15px}.filters{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr auto;gap:10px;align-items:end;margin:12px 0}.filters input,.filters select{border:1px solid var(--line);border-radius:14px;padding:11px;font:inherit;background:#fff}.bulk-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.danger,.mini-danger{background:#ff315c!important;color:#fff!important}.mini-danger{padding:8px 10px;border-radius:10px;font-size:12px}.table-wrap input[type=checkbox]{width:auto}.admin-check{margin-top:26px!important}.deal-toast{grid-template-columns:82px 1fr}.toast-img{width:74px;height:74px;border-radius:18px;object-fit:cover;box-shadow:0 8px 20px rgba(0,0,0,.16)}@media(max-width:760px){.filters{grid-template-columns:1fr}.share-row a,.share-row button{min-width:28px;height:28px;font-size:10px}.deal-toast{left:12px;right:12px;bottom:92px}}

/* V8: marketplace-style card actions */
.media-wrap{position:relative;overflow:visible}.media-wrap .image-wrap{border-radius:0}.media-wrap .discount,.image-wrap .discount{left:10px!important;right:auto!important;top:10px!important;background:linear-gradient(135deg,#ff315c,var(--pink));color:#fff;border-radius:999px;box-shadow:0 8px 18px rgba(255,31,122,.28);font-size:13px;padding:6px 10px}.media-wrap .badge{left:10px;top:auto;bottom:10px;background:rgba(0,190,150,.92);color:#fff;border-radius:4px}.share-menu{position:absolute;z-index:8;right:10px;top:10px}.share-toggle{width:36px;height:36px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:var(--pink);display:grid;place-items:center;font-weight:1000;font-size:18px;box-shadow:0 8px 22px rgba(20,24,40,.16);cursor:pointer;backdrop-filter:blur(10px)}.share-menu.open .share-toggle{background:var(--pink);color:#fff}.share-pop{position:absolute;right:0;top:44px;min-width:142px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 60px rgba(20,24,40,.20);padding:7px;display:none}.share-menu.open .share-pop{display:block;animation:sharePop .16s ease}.share-pop a,.share-pop button{width:100%;border:0;background:#fff;color:var(--dark);text-decoration:none;font:inherit;font-size:13px;font-weight:900;text-align:left;padding:9px 10px;border-radius:12px;display:block;cursor:pointer}.share-pop a:hover,.share-pop button:hover{background:#fff1f7;color:var(--pink)}@keyframes sharePop{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.card .share-row,.card .deal-btn{display:none!important}.card-body{padding-bottom:14px}.special-line{margin-top:8px}.deal-toast{left:50%!important;right:auto!important;bottom:86px!important;transform:translate(-50%,30px) scale(.96)!important;width:min(92vw,430px)!important;margin:0 auto!important}.deal-toast.show{transform:translate(-50%,0) scale(1)!important}@media(max-width:760px){.share-toggle{width:34px;height:34px;font-size:17px}.share-pop{top:40px;min-width:132px}.deal-toast{left:50%!important;right:auto!important;bottom:92px!important;width:min(92vw,390px)!important}.deal-toast.show{transform:translate(-50%,0) scale(1)!important}}


/* V9 hard override: Lazada-style card controls */
.product-card .media-wrap{position:relative!important;overflow:visible!important;}
.product-card .image-wrap{position:relative!important;display:block!important;}
.product-card .discount,
.product-card .media-wrap .discount,
.product-card .image-wrap .discount{left:8px!important;right:auto!important;top:8px!important;z-index:12!important;background:linear-gradient(135deg,#ff315c,#ff1f7a)!important;color:#fff!important;border-radius:999px!important;padding:5px 9px!important;font-weight:1000!important;font-size:13px!important;line-height:1!important;box-shadow:0 8px 18px rgba(255,31,122,.28)!important;}
.product-card .share-menu{position:absolute!important;right:8px!important;top:8px!important;left:auto!important;z-index:14!important;display:block!important;}
.product-card .share-toggle{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border-radius:999px!important;background:rgba(255,255,255,.96)!important;color:#ff1f7a!important;border:0!important;display:grid!important;place-items:center!important;font-size:18px!important;font-weight:1000!important;box-shadow:0 8px 22px rgba(20,24,40,.16)!important;}
.product-card .share-menu.open .share-toggle{background:#ff1f7a!important;color:#fff!important;}
.product-card .share-pop{position:absolute!important;right:0!important;top:40px!important;left:auto!important;display:none!important;min-width:140px!important;background:#fff!important;border:1px solid #ececf5!important;border-radius:18px!important;box-shadow:0 22px 60px rgba(20,24,40,.22)!important;padding:7px!important;z-index:50!important;}
.product-card .share-menu.open .share-pop{display:block!important;}
.product-card .share-pop a,
.product-card .share-pop button{display:block!important;width:100%!important;text-align:left!important;background:#fff!important;color:#171927!important;border:0!important;border-radius:12px!important;padding:9px 10px!important;font-size:13px!important;font-weight:900!important;box-shadow:none!important;text-decoration:none!important;}
.product-card .share-pop a:hover,
.product-card .share-pop button:hover{background:#fff1f7!important;color:#ff1f7a!important;}
.product-card .share-row,
.product-card .deal-btn,
.product-card a.deal-btn{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
.deal-toast{position:fixed!important;left:50%!important;right:auto!important;bottom:88px!important;transform:translate(-50%,30px) scale(.96)!important;width:min(92vw,430px)!important;max-width:430px!important;margin:0!important;z-index:9999!important;display:flex!important;align-items:center!important;}
.deal-toast.show{transform:translate(-50%,0) scale(1)!important;opacity:1!important;}
@media(max-width:760px){.deal-toast{left:50%!important;right:auto!important;bottom:92px!important;width:min(92vw,390px)!important;max-width:390px!important}.product-card .share-pop{right:0!important;left:auto!important}}


/* V10: requested share icon, centered promo burst, and full-card click feel */
.product-card{cursor:pointer;touch-action:manipulation;}
.product-card a,.product-card button{cursor:pointer;}
.product-card .share-toggle{
  background:rgba(255,255,255,.97)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.08)!important;
  box-shadow:0 7px 18px rgba(17,24,39,.18)!important;
}
.product-card .share-menu.open .share-toggle{background:#fff!important;color:#ff1f7a!important;}
.product-card .share-icon{width:25px;height:25px;display:block;overflow:visible;}
.product-card .share-icon path{fill:#fff;stroke:#111827;stroke-width:4.2;stroke-linejoin:round;stroke-linecap:round;paint-order:stroke fill;filter:drop-shadow(0 1px 0 rgba(255,255,255,.7));}
.product-card .share-toggle:active{transform:scale(.94)!important;}
.product-card .share-pop{top:42px!important;}
.product-card .share-pop a,.product-card .share-pop button{font-size:14px!important;}
.deal-toast{
  cursor:pointer!important;
  left:50%!important;
  right:auto!important;
  bottom:92px!important;
  transform:translate(-50%,26px) scale(.94)!important;
  width:min(92vw,420px)!important;
  max-width:420px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 22px 70px rgba(20,24,40,.38),0 0 0 8px rgba(255,31,122,.06)!important;
  isolation:isolate!important;
  overflow:visible!important;
}
.deal-toast.show{transform:translate(-50%,0) scale(1)!important;}
.deal-toast:active{transform:translate(-50%,0) scale(.985)!important;}
.deal-toast:before{
  content:"";position:absolute;inset:-10px;border-radius:30px;z-index:-1;
  background:radial-gradient(circle at 18% 18%,rgba(255,255,255,.95) 0 2px,transparent 3px),radial-gradient(circle at 82% 20%,rgba(255,222,87,.95) 0 3px,transparent 4px),radial-gradient(circle at 12% 80%,rgba(255,31,122,.8) 0 3px,transparent 4px),radial-gradient(circle at 88% 78%,rgba(0,214,180,.85) 0 3px,transparent 4px);
  opacity:0;pointer-events:none;
}
.deal-toast.burst:before{animation:promoBurst .9s ease-out;}
.toast-spark{position:absolute;width:9px;height:9px;border-radius:50%;background:#ffe15a;box-shadow:0 0 0 5px rgba(255,225,90,.16);opacity:0;pointer-events:none;}
.toast-spark.s1{left:10%;top:-8px;background:#ff1f7a}.toast-spark.s2{right:14%;top:-5px;background:#00d6b4}.toast-spark.s3{right:7%;bottom:10px;background:#ffe15a}
.deal-toast.burst .toast-spark.s1{animation:sparkOne 1s ease-out}.deal-toast.burst .toast-spark.s2{animation:sparkTwo 1s ease-out}.deal-toast.burst .toast-spark.s3{animation:sparkThree 1s ease-out}
.deal-toast .toast-copy em{font-weight:800;}
@keyframes promoBurst{0%{opacity:0;transform:scale(.6) rotate(0deg)}18%{opacity:1;transform:scale(1.05) rotate(8deg)}100%{opacity:0;transform:scale(1.35) rotate(22deg)}}
@keyframes sparkOne{0%{opacity:0;transform:translate(0,12px) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(-38px,-32px) scale(1.1)}}
@keyframes sparkTwo{0%{opacity:0;transform:translate(0,10px) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(38px,-30px) scale(1.1)}}
@keyframes sparkThree{0%{opacity:0;transform:translate(0,-8px) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(34px,28px) scale(1.1)}}
@media(max-width:760px){
  .product-card .share-toggle{width:35px!important;height:35px!important;}
  .product-card .share-icon{width:25px;height:25px;}
  .deal-toast{left:50%!important;right:auto!important;bottom:98px!important;width:min(92vw,388px)!important;max-width:388px!important;}
}

/* V11: product landing page, rich social sharing preview, related items */
.product-page{max-width:1180px;margin:0 auto;padding:18px 16px 94px}.product-redirect-card{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:22px;background:linear-gradient(145deg,#fff,#fff7fb);border:1px solid var(--line);border-radius:34px;box-shadow:0 24px 70px rgba(20,24,40,.12);padding:18px;overflow:hidden}.product-hero-img{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 12px 36px rgba(20,24,40,.10);min-height:280px;display:grid;place-items:center}.product-hero-img img{width:100%;height:100%;max-height:430px;object-fit:cover}.product-hero-info{padding:10px 8px;display:flex;flex-direction:column;gap:12px}.product-hero-info h1{font-size:clamp(24px,4vw,44px);line-height:1.05;margin:0;color:var(--dark)}.product-hero-info p{font-size:16px;color:var(--muted);margin:0;line-height:1.55}.product-price{background:#fff;border:1px solid var(--line);border-radius:22px;padding:14px 16px;max-width:420px}.product-discount{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff315c,var(--pink));color:#fff;border-radius:999px;font-weight:1000;padding:7px 12px;margin-top:4px;box-shadow:0 10px 22px rgba(255,31,122,.22)}.redirect-box{display:inline-flex;align-items:center;gap:8px;background:#fff8e8;border:1px solid #ffe1a9;color:#8a5700;border-radius:18px;padding:12px 14px;font-weight:900;max-width:max-content}.redirect-box b{background:#fff;border-radius:999px;padding:4px 10px;color:var(--pink);box-shadow:0 6px 16px rgba(20,24,40,.08)}.go-aff-btn{display:inline-flex;width:max-content;align-items:center;justify-content:center;border:0;border-radius:999px;background:linear-gradient(135deg,#ff315c,var(--pink));color:#fff!important;text-decoration:none;font-weight:1000;font-size:18px;padding:14px 22px;box-shadow:0 14px 32px rgba(255,31,122,.28)}.related-section{margin-top:26px}.related-section .section-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 14px}.related-section h2{font-size:28px;margin:0}.related-section .section-head span{color:var(--muted);font-weight:900}.related-grid{margin-top:0}@media(max-width:760px){.product-page{padding:12px 10px 86px}.product-redirect-card{grid-template-columns:1fr;border-radius:26px;padding:12px;gap:14px}.product-hero-img{min-height:220px;border-radius:20px}.product-hero-info{padding:4px}.go-aff-btn{width:100%;font-size:16px}.redirect-box{max-width:none;justify-content:center}.related-section h2{font-size:23px}}

/* V14: cache consent + manual cache clear + product-page safety */
.clear-cache-btn{margin-left:8px;border:1px solid rgba(255,31,122,.22);background:#fff;color:#ff1f7a;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px;cursor:pointer}
.cache-consent{position:fixed;left:16px;right:16px;bottom:86px;z-index:10020;display:flex;gap:14px;align-items:center;justify-content:space-between;background:rgba(255,255,255,.96);border:1px solid #ececf5;border-radius:22px;box-shadow:0 22px 70px rgba(20,24,40,.20);padding:14px 16px;backdrop-filter:blur(16px)}
.cache-consent[hidden]{display:none!important}.cache-consent b{display:block;color:#171927;font-size:15px;margin-bottom:3px}.cache-consent p{margin:0;color:#626779;font-size:12px;line-height:1.45}.cache-actions{display:flex;gap:8px;flex:0 0 auto}.cache-actions button,.admin-page button[data-clear-cache]{border:0;border-radius:999px;background:#ff1f7a;color:#fff;padding:10px 14px;font-weight:1000;cursor:pointer;box-shadow:0 10px 22px rgba(255,31,122,.18)}.cache-actions .ghost{background:#fff;color:#171927;border:1px solid #ececf5;box-shadow:none}.product-redirect-card.empty-state{min-height:340px;display:grid;place-items:center;text-align:center}.product-page{min-height:70vh}@media(max-width:760px){.cache-consent{left:10px;right:10px;bottom:82px;display:block}.cache-actions{margin-top:10px}.cache-actions button{flex:1}.clear-cache-btn{display:inline-block;margin-top:8px}}

/* V16 hero slider + flash sale page */
.hero-slider{position:relative;margin:18px 0 22px;border-radius:34px;overflow:hidden;min-height:280px;background:#111827;box-shadow:0 22px 55px rgba(17,24,39,.18)}
.hero-track{position:relative;height:100%;min-height:280px}.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .55s ease,transform .7s ease;transform:scale(1.02);color:#fff;text-decoration:none;display:block}.hero-slide.active{opacity:1;pointer-events:auto;transform:scale(1)}
.hero-slide img{width:100%;height:100%;min-height:280px;object-fit:cover;display:block}.hero-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,11,22,.86),rgba(255,31,122,.34) 55%,rgba(9,11,22,.12))}.hero-slide-copy{position:absolute;left:22px;right:22px;bottom:24px;max-width:720px}.hero-kicker{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:8px 12px;font-weight:900;backdrop-filter:blur(14px)}.hero-slide h1{margin:12px 0 8px;font-size:clamp(28px,6vw,56px);line-height:1.02;letter-spacing:-1.8px;text-shadow:0 8px 30px rgba(0,0,0,.45);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hero-price-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-price-row strong{font-size:clamp(30px,6vw,56px);color:#ff4fa0;text-shadow:0 8px 25px rgba(0,0,0,.5)}.hero-price-row del{opacity:.72;font-weight:800}.hero-disc{background:#ff1f7a;color:#fff;border-radius:999px;padding:7px 12px;font-size:20px}.hero-cta{display:inline-flex;margin-top:12px;background:#fff;color:#111827;border-radius:16px;padding:10px 14px;font-weight:1000}.hero-dots{position:absolute;right:18px;bottom:18px;display:flex;gap:7px;z-index:4}.hero-dots button{width:9px;height:9px;border-radius:999px;border:0;background:rgba(255,255,255,.48);padding:0}.hero-dots button.active{width:28px;background:#fff}.view-all-link{margin-left:auto;text-decoration:none;background:#111827;color:#fff;border-radius:999px;padding:9px 13px;font-weight:900;white-space:nowrap}
.flash-page{padding-bottom:110px}.flash-hero-page{display:flex;justify-content:space-between;gap:18px;align-items:stretch;margin:18px 0 16px;border-radius:34px;padding:24px;background:radial-gradient(circle at top left,#ffedf6,#fff 44%,#fff6dd);border:1px solid rgba(255,31,122,.18);box-shadow:0 18px 45px rgba(17,24,39,.08)}.flash-hero-page h1{margin:10px 0;font-size:clamp(30px,6vw,58px);line-height:1;letter-spacing:-1.7px}.flash-hero-page p{margin:0;color:#667085;font-weight:700;max-width:760px}.flash-clock-card{min-width:190px;background:#111827;color:#fff;border-radius:28px;padding:18px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;box-shadow:0 18px 40px rgba(17,24,39,.18)}.flash-clock-card small{opacity:.65;font-weight:800}.flash-clock-card b{font-size:28px}.flash-clock-card .countdown{margin-top:8px;background:#ff1f7a;color:#fff}.flash-page-tabs{display:flex;gap:10px;overflow:auto;padding:4px 0 14px;position:sticky;top:0;z-index:20;background:linear-gradient(#fff,#fff8)}.flash-page-tabs a{text-decoration:none;color:#111827;background:#fff;border:1px solid rgba(17,24,39,.1);border-radius:999px;padding:11px 14px;font-weight:1000;white-space:nowrap;box-shadow:0 8px 20px rgba(17,24,39,.05)}.flash-page-tabs a.active,.flash-page-tabs a:hover{background:#111827;color:#fff}.flash-block{margin:20px 0 30px}.flash-grid{margin-top:14px}.next-strip{padding-bottom:8px}.schedule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.schedule-hour{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:24px;padding:14px;box-shadow:0 10px 25px rgba(17,24,39,.05)}.schedule-hour.now-hour{border-color:rgba(255,31,122,.38);box-shadow:0 14px 35px rgba(255,31,122,.12)}.schedule-hour header{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}.schedule-hour header b{font-size:17px}.schedule-hour header span{background:#fff0f6;color:#ff1f7a;border-radius:999px;padding:5px 9px;font-weight:900}.schedule-products{display:grid;gap:8px}.schedule-products a{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px;text-decoration:none;color:#111827;font-weight:800}.schedule-products img{width:48px;height:48px;object-fit:cover;border-radius:14px;background:#f2f4f7}.schedule-products span{font-size:13px;line-height:1.25;color:#344054}
@media(max-width:720px){.hero-slider,.hero-track,.hero-slide img{min-height:250px}.hero-slide-copy{left:16px;right:16px;bottom:18px}.hero-slide-shade{background:linear-gradient(0deg,rgba(9,11,22,.88),rgba(9,11,22,.2) 70%)}.flash-hero-page{display:block;padding:19px;border-radius:26px}.flash-clock-card{margin-top:16px;min-width:0}.schedule-grid{grid-template-columns:1fr}.view-all-link{padding:8px 11px;font-size:13px}.section-title.flash-head{gap:8px}}

/* V17 manual banner slider, promo popup control, and split admin UX */
.hero-arrow{position:absolute;z-index:6;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.92);color:#171927;font-size:34px;line-height:1;display:grid;place-items:center;box-shadow:0 14px 32px rgba(0,0,0,.18);cursor:pointer;backdrop-filter:blur(12px);padding:0}.hero-prev{left:14px}.hero-next{right:14px}.hero-arrow:hover{background:#ff1f7a;color:#fff}.hero-track{outline:0}.hero-track:focus-visible{box-shadow:0 0 0 4px rgba(255,31,122,.35) inset;border-radius:34px}.hero-dots button{cursor:pointer}.toast-close{position:absolute;right:9px;top:8px;width:28px;height:28px;border:0;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:20px;line-height:1;display:grid;place-items:center;box-shadow:none;padding:0;z-index:5}.toast-close:hover{background:#ff1f7a}.toast-progress{display:block;width:100%;height:4px;background:rgba(255,255,255,.16);border-radius:99px;overflow:hidden;margin-top:7px}.toast-progress:before{content:"";display:block;height:100%;width:calc(var(--p,1) * 100%);background:linear-gradient(90deg,#ff1f7a,#ffd166);border-radius:inherit;transition:width .28s linear}.deal-toast{cursor:pointer}.deal-toast .toast-copy{padding-right:18px}.admin-nav{display:flex;gap:10px;overflow:auto;margin:14px 0 18px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 28px rgba(20,24,40,.07);position:sticky;top:76px;z-index:30}.admin-nav a{white-space:nowrap;text-decoration:none;color:#171927;border-radius:999px;padding:11px 15px;font-weight:1000;background:#fff;border:1px solid transparent}.admin-nav a.active,.admin-nav a:hover{background:#171927;color:#fff;border-color:#171927}.admin-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.admin-shortcuts .btn{text-align:center;border-radius:18px;background:#171927}.admin-page .panel h2{letter-spacing:-.02em}@media(max-width:720px){.hero-arrow{width:38px;height:38px;font-size:29px}.hero-prev{left:8px}.hero-next{right:8px}.admin-nav{top:64px;border-radius:18px}.admin-shortcuts{grid-template-columns:1fr 1fr}.deal-toast .toast-copy{padding-right:22px}}


/* V18 final interaction repair: Flash zone always visible, popup close clickable, bottom nav reliable. */
.flash-zone{display:block!important;visibility:visible!important;opacity:1!important;position:relative;z-index:1;min-height:170px}
.flash-strip{min-height:150px}.flash-empty{min-width:min(88vw,520px);align-self:stretch;display:flex;align-items:center}
.deal-toast{pointer-events:none!important;z-index:10000!important}.deal-toast.show{pointer-events:auto!important}.deal-toast .toast-close{pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important}
.toast-close{font-weight:1000!important;border:1px solid rgba(255,255,255,.28)!important}
.bottom-nav{z-index:12050!important;pointer-events:auto!important}.bottom-nav a{pointer-events:auto!important;touch-action:manipulation!important;min-width:64px;padding:3px 8px;border-radius:16px}.bottom-nav a:active{transform:translateY(1px)}.bottom-nav a.active{color:var(--pink)!important;background:#fff1f7}
.cache-consent{z-index:10020!important}.cache-consent:not([hidden]){bottom:calc(92px + env(safe-area-inset-bottom))!important}.deal-toast.show{bottom:calc(92px + env(safe-area-inset-bottom))!important}
@media(max-width:720px){.bottom-nav{z-index:12050!important}.flash-zone{margin-top:14px}.deal-toast.show{bottom:calc(94px + env(safe-area-inset-bottom))!important}}

/* V19 hardening */
#flashSale.flash-zone{display:block!important;visibility:visible!important;opacity:1!important}
.bottom-nav{z-index:2147483000!important}
.bottom-nav a{position:relative;z-index:2147483001!important}
.deal-toast .toast-close{z-index:2147483100!important}
.deal-toast:not(.show){pointer-events:none!important}
/* V20 flash sale management + compact admin table */
.admin-nav{display:flex;gap:10px;overflow:auto;padding:8px 0 14px;position:sticky;top:72px;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(12px)}
.admin-nav a{white-space:nowrap;text-decoration:none;color:#202436;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-weight:900;box-shadow:0 8px 22px rgba(20,24,40,.05)}
.admin-nav a.active{background:var(--pink);color:#fff;border-color:var(--pink)}
.compact-table{min-width:1080px}.compact-table th,.compact-table td{padding:8px 10px;vertical-align:middle}.compact-table small{font-size:11px}.prod-cell{display:flex;align-items:center;gap:10px;min-width:340px}.prod-cell img{width:44px;height:44px;object-fit:cover;border-radius:12px;background:#f1f3f8;flex:0 0 auto}.prod-cell b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}.bulk-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.bulk-actions input,.bulk-actions select{width:auto;min-width:140px;margin:0}.admin-schedule .schedule-hour{min-height:230px}.admin-schedule .schedule-products{max-height:190px;overflow:auto}.admin-schedule .schedule-products a{grid-template-columns:42px 1fr}.admin-schedule .schedule-products img{width:42px;height:42px}.mini-danger,.danger{background:#e11d48!important;color:#fff!important}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.filters input,.filters select{width:auto;min-width:180px;margin:0}.batch-actions{display:flex;gap:8px;flex-wrap:wrap}.settings-form small{display:block;color:var(--muted);font-size:12px}
@media(max-width:720px){.admin-nav{top:62px}.prod-cell{min-width:260px}.bulk-actions input,.bulk-actions select,.filters input,.filters select{width:100%;min-width:0}.admin-schedule{grid-template-columns:1fr}.compact-table{min-width:920px}}

/* V22: Separate Flash Sale from Hot Deal */
.hot-deal-zone{margin:18px 0 22px;padding:16px;border-radius:28px;background:linear-gradient(135deg,#fff7e8,#fff 42%,#fff1f7);border:1px solid rgba(255,31,122,.13);box-shadow:0 16px 42px rgba(20,24,40,.08)}
.hot-deal-head h2{color:#171927}.zone-note{margin:-4px 0 14px;color:#667085;font-weight:700;font-size:14px}.hot-deal-strip .card{min-width:0}.hot-deal-strip .product-card{scroll-snap-align:start}.hot-deal-strip{grid-auto-columns:minmax(175px,230px)}.hot-deal-card{border:1px solid rgba(255,31,122,.14)}.hot-deal-card .discount{left:10px;right:auto}.hot-deal-timer{background:#111827;color:#fff;border-color:#111827}.hot-deal-timer .countdown{background:#ff1f7a;color:#fff}.hot-page .hot-hero-page{display:flex;justify-content:space-between;gap:18px;align-items:stretch;margin:18px 0 16px;border-radius:34px;padding:24px;background:radial-gradient(circle at top left,#fff3d6,#fff 45%,#ffeaf4);border:1px solid rgba(255,31,122,.18);box-shadow:0 18px 45px rgba(17,24,39,.08)}.hot-page .hot-hero-page h1{margin:10px 0;font-size:clamp(30px,6vw,58px);line-height:1;letter-spacing:-1.7px}.hot-page .hot-hero-page p{margin:0;color:#667085;font-weight:700;max-width:760px}.hot-clock-card{background:linear-gradient(135deg,#ff1f7a,#171927)!important}.waiting-rounds{display:grid;gap:18px}.waiting-round{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:26px;padding:14px;box-shadow:0 12px 30px rgba(17,24,39,.06)}.waiting-round header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.waiting-round header b{font-size:20px}.waiting-round header span{background:#fff0f6;color:#ff1f7a;border-radius:999px;padding:6px 10px;font-weight:1000}.flash-page .flash-grid .special-line{display:none}.flash-page #waiting .countdown{display:none!important}.bottom-nav a[href="hot_deal"] span{filter:drop-shadow(0 4px 10px rgba(255,31,122,.25))}@media(max-width:720px){.hot-page .hot-hero-page{display:block;padding:19px;border-radius:26px}.hot-clock-card{margin-top:16px}.hot-deal-strip{grid-auto-columns:minmax(165px,78vw)}}
/* V23 admin flash mode radio cards */
.mode-choice{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px 16px;box-shadow:0 8px 22px rgba(17,24,39,.04)}
.mode-choice>b{font-size:13px;color:#667085;text-transform:uppercase;letter-spacing:.4px}.mode-choice .check{margin:0!important;align-items:flex-start}.mode-choice input[type=radio]{margin-top:2px;accent-color:#ff1f7a}

/* V26: Flash Sale / Hot Deal final polish */
.corner-deal-tag{position:absolute;left:8px;bottom:8px;z-index:4;border-radius:999px;padding:5px 8px;font-weight:900;font-size:11px;box-shadow:0 8px 20px rgba(0,0,0,.16);backdrop-filter:blur(10px)}
.flash-tag{background:linear-gradient(135deg,#ff2b8a,#ff8a00);color:#fff}.hot-tag{background:linear-gradient(135deg,#111827,#ff2b8a);color:#fff}.deal-tag-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 4px;padding:8px 10px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa}.deal-tag{font-weight:900}.hot-countdown,.countdown.small{font-weight:900;color:#ff1675}.flash-clock-card .countdown{font-size:18px;background:#ff1675;color:#fff;border-radius:999px;padding:6px 10px;display:inline-block}.waiting-card{min-width:150px}.setting-preview{padding:12px 14px;border-radius:16px;background:#fff7ed;border:1px solid #ffd2a8;margin:12px 0;font-weight:700}.version-pill{display:inline-flex;margin-top:10px;padding:8px 12px;border-radius:999px;background:#111827;color:#fff;font-weight:900;box-shadow:0 10px 24px rgba(17,24,39,.12)}.version-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e8eaf2;border-radius:18px;padding:16px;background:linear-gradient(135deg,#fff,#fff7fb)}.version-card span{font-weight:900;color:#ff1675}.bottom-nav a[data-nav="admin"]{color:#111827;font-weight:900}.bottom-nav a[data-nav="admin"] span{filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}.hot-clock-card .countdown{margin-top:8px}.media-wrap,.image-wrap{position:relative}.flash-page .card .corner-deal-tag,.hot-page .card .corner-deal-tag{font-size:10px}.flash-page-tabs a{white-space:nowrap}.flash-block .section-title span{line-height:1.35}

/* V28: mobile app compact UI + clean product image overlays */
:root{--card-gap:10px}body{background:#fff7fb;padding-bottom:76px}.page,.admin-page{max-width:1240px;padding:10px 10px 84px}.topbar{height:62px;padding:0 10px}.brand{gap:9px}.logo{width:42px;height:42px;border-radius:14px}.brand b{font-size:20px}.brand small{font-size:11px;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-card{margin:8px 0}.hero-slider,.hero,.flash-zone,.hot-deal-zone,.panel,.flash-hero-page,.hot-hero-page{border-radius:18px;margin:10px 0;padding:12px;box-shadow:0 8px 28px rgba(17,24,39,.06)}.section-title{margin:10px 0 8px;gap:8px}.section-title h2{font-size:clamp(20px,5.5vw,34px);letter-spacing:-.03em}.grid{gap:10px}.flash-strip{gap:10px;padding:2px 0 8px;scroll-padding-left:2px}.card,.flash-card{border-radius:12px;box-shadow:none;border:1px solid rgba(17,24,39,.08);overflow:hidden}.card-body{padding:8px}.shop{font-size:11px;margin-bottom:2px}.title,.flash-card b{font-size:14px;line-height:1.18;-webkit-line-clamp:2}.card p,.before-price,.now-price::before,.before-price::before,.mini-price span,.special-line,.corner-deal-tag,.badge,.image-wrap .discount,.media-wrap .discount{display:none!important}.price-stack{margin-top:5px}.price-stack b,.now-price b,.mini-price strong{font-size:18px;color:var(--pink);letter-spacing:-.02em}.meta{font-size:11px;margin-top:5px}.image-wrap{border-radius:0!important}.media-wrap{overflow:hidden}.deal-corner-chip{position:absolute;left:7px;bottom:7px;z-index:4;display:inline-flex!important;align-items:center;justify-content:center;min-height:18px;max-width:80%;padding:3px 6px;border-radius:4px;background:rgba(255,31,122,.94);color:#fff;font-size:10px;font-weight:1000;line-height:1;letter-spacing:-.01em;box-shadow:0 4px 12px rgba(255,31,122,.18);backdrop-filter:blur(8px)}.deal-corner-chip.flash-chip{background:rgba(255,122,0,.94)}.deal-corner-chip.hot-chip{background:rgba(255,31,122,.94)}.share-menu{right:7px!important;top:7px!important}.share-toggle{width:30px!important;height:30px!important;background:rgba(255,255,255,.86)!important}.share-icon{width:20px;height:20px}.deal-time-row{margin-top:7px}.deal-time-row .countdown{display:inline-flex;border-radius:999px;padding:4px 8px;background:#fff4f8;color:var(--pink);font-size:11px;font-weight:1000}.bottom-nav{height:64px;z-index:1000}.bottom-nav a{padding:6px 2px;font-size:11px}.bottom-nav a span{font-size:23px}.footer{display:none}.chips,.sort-zone{gap:6px;margin:8px 0;overflow:auto;padding:2px}.chips a,.sort-zone a{padding:9px 12px;border-radius:999px;white-space:nowrap}.hero-slide{border-radius:18px}.hero-slide-copy{padding:16px}.hero-slide-copy h1{font-size:clamp(24px,7vw,54px)}.hero-price-row del{display:none}.toast-before{display:none!important}.deal-toast{border-radius:22px!important;padding:10px!important;gap:10px!important}.toast-img{width:74px!important;height:74px!important;border-radius:14px!important}.toast-copy b{font-size:16px}.toast-copy span{font-size:14px;line-height:1.2}.toast-copy strong{font-size:24px}.toast-close{z-index:5}.admin-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.admin-toggle-grid .check{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px!important}.compact-admin-panel{padding:14px!important}
@media(max-width:760px){.page,.admin-page{padding:8px 8px 78px}.topbar{height:58px}.brand small{display:none}.lang-picker select{max-width:112px}.search-box{padding:5px}.search-box input{font-size:18px}.search-box button{padding:10px 13px}.hot-badge{padding:7px 8px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card-body{padding:7px}.price-stack b,.now-price b,.mini-price strong{font-size:17px}.meta{font-size:10px}.flash-zone,.hot-deal-zone{padding:10px;margin:8px 0;border-radius:16px}.section-title .view-all-link{padding:8px 11px}.flash-strip{grid-auto-columns:minmax(145px,45vw)}.flash-card{min-width:145px}.flash-card img{aspect-ratio:1/1}.admin-menu{overflow:auto;justify-content:flex-start}.admin-toggle-grid{grid-template-columns:1fr}.two{grid-template-columns:1fr!important}table{min-width:760px}.prod-cell b{max-width:220px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}

/* V29: marketplace compact card + mobile flash waiting fix */
.product-card .image-wrap .discount,
.product-card .media-wrap .discount,
.product-card .badge,
.product-card .deal-corner-chip,
.product-card .corner-deal-tag,
.flash-card .discount,
.flash-card .corner-deal-tag{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.product-card{border-radius:10px!important;background:#fff!important;box-shadow:none!important;border:1px solid rgba(17,24,39,.08)!important;overflow:hidden!important}
.product-card .media-wrap{overflow:hidden!important;border-radius:0!important;background:#f5f6fa!important}
.product-card .image-wrap{aspect-ratio:1/1!important;background:#f5f6fa!important;overflow:hidden!important;border-radius:0!important}
.product-card .image-wrap img{width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
.product-card .card-body{padding:7px 8px 8px!important;display:flex!important;flex-direction:column!important;gap:4px!important;min-height:0!important}
.brand-deal-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-height:16px!important;margin:0!important}
.brand-deal-row .shop{font-size:10.5px!important;line-height:1!important;font-weight:900!important;color:#ff1f7a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;max-width:58%!important;margin:0!important}
.muted-shop{color:#9aa0ad!important}.inline-badges{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;flex:0 0 auto!important}.mini-tag{display:inline-flex!important;align-items:center!important;height:16px!important;padding:2px 5px!important;border-radius:4px!important;font-size:10px!important;line-height:1!important;font-weight:1000!important;letter-spacing:-.01em!important;white-space:nowrap!important}.flash-mini{background:#fff1e8!important;color:#ff6a00!important}.hot-mini{background:#fff1f7!important;color:#ff1f7a!important}.discount-mini{background:#ff1f7a!important;color:#fff!important}.product-card .title{font-size:13px!important;line-height:1.16!important;min-height:30px!important;-webkit-line-clamp:2!important;margin:0!important;color:#111827!important;letter-spacing:-.01em!important}.compact-price{margin:1px 0 0!important;display:flex!important;align-items:baseline!important;gap:6px!important;flex-wrap:wrap!important}.compact-price .orig-price{display:inline!important;color:#a1a6b3!important;font-size:11px!important;line-height:1!important;text-decoration:line-through!important;text-decoration-thickness:1px!important;order:1!important}.compact-price b{font-size:17px!important;line-height:1!important;color:#ff1f7a!important;font-weight:1000!important;order:2!important}.card-bottom-line{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:5px!important;margin-top:1px!important}.product-card .meta{font-size:10.5px!important;color:#777b8b!important;margin:0!important;min-height:13px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.product-card .share-menu{position:relative!important;top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;z-index:18!important;margin-left:auto!important;display:block!important;flex:0 0 auto!important}.product-card .share-toggle{width:24px!important;height:24px!important;min-width:24px!important;border-radius:999px!important;background:#fff!important;border:1px solid #ececf5!important;box-shadow:none!important;color:#111827!important}.product-card .share-icon{width:18px!important;height:18px!important}.product-card .share-pop{top:auto!important;bottom:28px!important;right:0!important;min-width:126px!important;border-radius:12px!important;padding:5px!important;box-shadow:0 16px 45px rgba(17,24,39,.18)!important}.deal-time-row{margin-top:1px!important}.deal-time-row .countdown{font-size:10px!important;padding:3px 6px!important;background:#fff4f8!important;color:#ff1f7a!important;box-shadow:none!important}.flash-page .flash-grid,.hot-page .grid,.grid{gap:8px!important}.flash-hero-page,.hot-hero-page{padding:10px!important;margin:8px 0!important;border-radius:14px!important}.flash-hero-page h1,.hot-hero-page h1{font-size:clamp(23px,7vw,42px)!important;line-height:1.05!important;margin:4px 0!important}.flash-hero-page p,.hot-hero-page p{font-size:12px!important;line-height:1.35!important}.flash-page-tabs{display:flex!important;gap:6px!important;overflow:auto!important;padding:4px 0 8px!important;margin:0!important}.flash-page-tabs a{padding:8px 10px!important;border-radius:999px!important;font-size:11px!important}.waiting-rounds{display:block!important}.waiting-round{margin:10px 0!important;padding:10px 0 8px!important;border-radius:0!important;background:transparent!important;border:0!important;border-top:1px solid rgba(17,24,39,.08)!important;box-shadow:none!important;overflow:hidden!important}.waiting-round header{padding:0 2px 8px!important;margin:0!important}.waiting-round header b{font-size:18px!important}.waiting-round header span{font-size:11px!important;padding:5px 8px!important;background:#fff1f7!important;color:#ff1f7a!important}.waiting-round .flash-strip,.next-strip{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(132px,42vw)!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;padding:0 2px 6px!important;-webkit-overflow-scrolling:touch!important}.waiting-round .product-card{min-width:0!important;scroll-snap-align:start!important}.flash-strip::-webkit-scrollbar,.chips::-webkit-scrollbar,.sort-zone::-webkit-scrollbar{height:0!important;width:0!important}
@media(max-width:760px){body{background:#f7f8fc!important}.page{padding:6px 6px 74px!important}.topbar{height:56px!important}.brand b{font-size:18px!important}.logo{width:38px!important;height:38px!important}.section-title{align-items:flex-start!important;gap:4px!important}.section-title h2{font-size:21px!important}.section-title span{font-size:11px!important;text-align:right!important}.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.product-card .card-body{padding:6px!important}.brand-deal-row .shop{font-size:10px!important}.mini-tag{height:15px!important;font-size:9.5px!important;padding:2px 4px!important}.product-card .title{font-size:12.5px!important;min-height:29px!important}.compact-price .orig-price{font-size:10.5px!important}.compact-price b{font-size:16px!important}.product-card .meta{font-size:10px!important}.product-card .share-toggle{width:23px!important;height:23px!important;min-width:23px!important}.waiting-round{margin:8px 0!important;padding-top:8px!important}.waiting-round header b{font-size:16px!important}.waiting-round .flash-strip,.next-strip{grid-auto-columns:minmax(128px,43vw)!important;gap:7px!important}.flash-clock-card{padding:10px!important;border-radius:14px!important}.flash-clock-card b{font-size:16px!important}.flash-clock-card .countdown{font-size:13px!important}.flash-page .flash-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flash-page .flash-block{margin-top:10px!important}}

/* V31: app-style top navigation + sticky search, no bottom nav */
body{padding-bottom:0!important}.bottom-nav{display:none!important}.app-topbar{height:auto;min-height:64px;gap:14px;flex-wrap:wrap;padding:10px max(12px,3vw)!important}.top-menu{display:flex;align-items:center;gap:8px;overflow:auto;max-width:58vw}.top-menu a{white-space:nowrap;text-decoration:none;color:#4b5263;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-weight:900;box-shadow:0 8px 18px rgba(20,24,40,.04)}.top-menu a.active{background:var(--dark);color:#fff;border-color:var(--dark)}.sticky-searchbar{position:sticky;top:64px;z-index:49;background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(236,236,245,.8);padding:8px max(8px,3vw)}.global-search-card{max-width:1220px;margin:0 auto!important;display:flex;align-items:center;gap:8px}.global-search-card .search-box{flex:1;border-radius:18px!important;border:1px solid var(--line)!important;box-shadow:0 10px 28px rgba(20,24,40,.08)!important}.global-search-card .search-box input{color:var(--dark)!important;font-size:18px!important}.global-search-card .search-box button{border-radius:14px!important;padding:11px 16px!important}.back-btn{width:40px;height:40px;padding:0!important;border-radius:14px!important;background:#fff!important;color:var(--dark)!important;border:1px solid var(--line)!important;box-shadow:0 8px 20px rgba(20,24,40,.05)!important;font-size:30px;line-height:1}.hero-slider{margin-top:10px}.hero-kicker,.hero-cta{display:none!important}.hero-slide-copy{bottom:0!important;top:auto!important;max-width:100%!important}.hero-slide-copy h1{font-size:clamp(22px,5vw,44px)!important;margin:0 0 8px!important}.hero-price-row{margin-top:2px!important}.hero-arrow{display:none!important}.footer{padding-bottom:18px!important}.page{padding-top:10px!important}.admin-page{padding-top:18px!important}.admin-menu{position:sticky;top:125px;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}
@media(max-width:760px){.app-topbar{min-height:58px;padding:8px!important;gap:8px}.brand{min-width:0}.brand b{font-size:16px!important}.logo{width:36px!important;height:36px!important}.top-menu{order:3;width:100%;max-width:100%;gap:6px;padding-bottom:2px}.top-menu a{font-size:12px;padding:8px 10px}.lang-picker{margin-left:auto}.sticky-searchbar{top:96px;padding:6px 6px}.global-search-card{gap:6px}.back-btn{width:36px;height:36px;border-radius:12px!important}.global-search-card .search-box{border-radius:14px!important;padding:4px!important}.global-search-card .search-box input{font-size:15px!important}.global-search-card .search-box button{padding:9px 11px!important}.page{padding:6px 6px 18px!important}.hero-slider{margin:6px 0 10px!important}.hero-slide{min-height:160px!important}.hero-slide-copy{padding:12px!important}.hero-slide-copy h1{font-size:19px!important;line-height:1.1!important}.hero-price-row strong{font-size:24px!important}.admin-menu{top:132px}}
/* V31 Health Check UI */
.health-runner{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.health-runner select{max-width:220px}.health-progress{height:12px;background:#f0f1f7;border-radius:999px;overflow:hidden;margin:12px 0}.health-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#21bf73,#ff1f7a);border-radius:999px;transition:.25s width}.health-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:12px}.health-badge.ok{background:#e9fff3;color:#108b4f}.health-badge.bad{background:#fff1f3;color:#d7003c}.health-stats div:nth-child(3),.health-stats div:nth-child(4){background:linear-gradient(135deg,#fff,#fff2f5)}
@media(max-width:760px){.topbar+.sticky-searchbar{box-shadow:0 10px 24px rgba(20,24,40,.08)}.health-runner>*{width:100%;max-width:100%!important}.health-runner .check.inline{width:auto}.hero-dots{bottom:8px!important}.hero-dots button{width:7px!important;height:7px!important}.hero-arrow{width:30px!important;height:42px!important;opacity:.55!important}}


/* V33 fixes: app header scrolls away; only search remains sticky. Broken image products are hidden client-side/server-side. */
body{padding-bottom:0!important;}
.topbar.app-topbar{position:relative!important;top:auto!important;z-index:30!important;box-shadow:none!important;}
.sticky-searchbar{position:sticky!important;top:0!important;z-index:80!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;box-shadow:0 10px 24px rgba(20,24,40,.08)!important;}
.global-search-card{max-width:1220px!important;margin:0 auto!important;}
.back-btn[hidden]{display:none!important;}
.product-card.image-broken-client,.flash-card.image-broken-client,.hero-slide.image-broken-client,.suggest-item.image-broken-client{display:none!important;}
.image-wrap img[src=""],.image-wrap img:not([src]){display:none!important;}
.top-menu a[href="admin"]{background:linear-gradient(135deg,#111827,#ff1f7a)!important;color:#fff!important;border-color:transparent!important;}
@media(max-width:760px){
  .app-topbar{position:relative!important;min-height:56px!important;padding:7px 8px!important;}
  .sticky-searchbar{top:0!important;padding:5px 6px!important;}
  .top-menu{order:3;width:100%;max-width:100%;gap:6px;display:flex!important;}
  .top-menu a{font-size:12px!important;padding:7px 9px!important;}
  .global-search-card .search-box{min-height:42px!important;}
  .global-search-card .search-box input{font-size:15px!important;}
  .back-btn{width:34px!important;height:34px!important;font-size:26px!important;}
}

/* V34 mobile app polish: header scrolls normally, search never overlaps menu */
.topbar.app-topbar{height:auto!important;min-height:0!important;position:relative!important;display:flex!important;align-items:center!important;overflow:visible!important;z-index:30!important;}
.sticky-searchbar{clear:both!important;position:sticky!important;top:0!important;z-index:90!important;margin:0!important;}
.global-search-card .back-btn[hidden]{display:none!important;}
.admin-dashboard .admin-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 18px;padding:18px 20px;border-radius:24px;background:linear-gradient(135deg,#fff,#fff2f7);box-shadow:var(--shadow)}
.admin-dashboard .admin-hero h1{margin:0;font-size:clamp(30px,5vw,54px);letter-spacing:-.05em}.admin-dashboard .admin-hero p{margin:6px 0 0;color:var(--muted)}
.admin-dashboard-tabs{display:flex;gap:8px;overflow:auto;padding:10px;margin:10px 0 16px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.9);box-shadow:var(--shadow);position:sticky;top:0;z-index:70;backdrop-filter:blur(16px)}
.admin-dashboard-tabs a{white-space:nowrap;text-decoration:none;color:#1f2432;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-weight:900}.admin-dashboard-tabs a.active{background:var(--pink);color:#fff;border-color:var(--pink)}
.dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dash-card{display:block;text-decoration:none;color:var(--dark);background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--shadow)}.dash-card b{display:block;font-size:32px;color:var(--pink)}.dash-card span{color:var(--muted);font-weight:900}.category-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-tree>div{background:#fff7fb;border:1px solid var(--line);border-radius:16px;padding:12px}.category-tree b{display:block;margin-bottom:8px}.category-tree span{display:inline-flex;margin:3px;padding:4px 8px;background:#fff;border-radius:999px;font-size:12px}.version-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff4f9;border:1px solid #ffd2e5;border-radius:18px;padding:14px 16px}.version-card span{font-weight:1000;color:var(--pink)}
@media(max-width:760px){.topbar.app-topbar{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px!important;padding:8px!important}.topbar.app-topbar .brand{grid-column:1 / 3}.topbar.app-topbar .lang-picker{grid-column:3}.topbar.app-topbar .top-menu{grid-column:1 / 4;order:initial!important;width:100%!important;max-width:100%!important;display:flex!important;overflow-x:auto!important;padding:2px 0 4px!important}.sticky-searchbar{top:0!important;padding:6px!important}.global-search-card .search-box{box-shadow:0 10px 24px rgba(20,24,40,.11)!important}.admin-dashboard .admin-hero{padding:14px;border-radius:18px}.admin-dashboard-tabs{border-radius:18px;padding:8px;top:0}.admin-dashboard-tabs a{font-size:12px;padding:8px 10px}.dash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dash-card{padding:12px;border-radius:16px}.dash-card b{font-size:24px}.category-tree{grid-template-columns:1fr}.panel{margin:10px 0!important}.table-wrap table{font-size:12px}.prod-cell img{width:42px!important;height:42px!important}}

/* V35 admin/dashboard and mobile top navigation fixes */
.admin-shell{max-width:1480px;display:grid;grid-template-columns:250px 1fr;gap:22px;align-items:start;padding:24px;margin:0 auto}.admin-sidebar{position:sticky;top:14px;background:#fff;border:1px solid #ececf5;border-radius:28px;padding:16px;box-shadow:0 18px 50px rgba(15,23,42,.08)}.admin-side-brand{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 16px;border-bottom:1px solid #f0f1f7}.admin-side-brand small{background:#111827;color:#fff;border-radius:999px;padding:5px 9px;font-weight:800}.admin-side-menu{display:grid;gap:7px;margin-top:12px}.admin-side-menu a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#24283a;padding:11px 12px;border-radius:15px;font-weight:800}.admin-side-menu a:hover,.admin-side-menu a.active{background:#ff1f7a;color:#fff;box-shadow:0 10px 22px rgba(255,31,122,.22)}.admin-workspace{min-width:0}.logout-side{width:100%;margin-top:14px;text-align:center}.admin-dashboard-tabs{display:none!important}.version-card{display:inline-flex;gap:10px;align-items:center;margin:6px 10px 6px 0;padding:12px 16px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px}.icon-top-menu a{position:relative;display:inline-flex;align-items:center;gap:7px}.icon-top-menu a span{font-size:20px}.icon-top-menu a em{position:absolute;right:-8px;top:-7px;background:#ff1f7a;color:#fff;border-radius:999px;padding:1px 6px;font-size:11px;font-style:normal;border:2px solid #fff}.sticky-searchbar{z-index:60}.app-topbar{z-index:50}.global-search-card{margin-top:0}
@media(max-width:820px){.admin-shell{display:block;padding:12px}.admin-sidebar{position:relative;top:auto;border-radius:0;margin:-12px -12px 14px;padding:10px;box-shadow:0 10px 24px rgba(15,23,42,.08)}.admin-side-brand{padding:8px}.admin-side-menu{display:flex;overflow-x:auto;gap:8px;padding-bottom:6px}.admin-side-menu a{white-space:nowrap;flex:0 0 auto;padding:9px 12px;border:1px solid #eef0f5;background:#fff}.logout-side{display:none}.topbar.app-topbar{position:relative;display:block;padding:14px 14px 8px}.brand{display:inline-flex;margin-bottom:10px}.top-menu.icon-top-menu{display:flex;gap:8px;overflow-x:auto;white-space:nowrap;padding:8px 0 10px;border-bottom:1px solid #e8e8ef}.top-menu.icon-top-menu a{flex:0 0 auto;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #e9eaf2;box-shadow:0 5px 16px rgba(15,23,42,.06)}.top-menu.icon-top-menu a b{font-size:14px}.lang-picker{position:absolute;right:12px;top:14px}.sticky-searchbar{position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);padding:8px 12px;border-bottom:1px solid #edf0f6}.search-card.global-search-card{padding:0;margin:0}.search-box{width:100%;display:flex}.search-box input{min-width:0;flex:1}.search-box button{flex:0 0 auto}.hero-slider{margin-top:10px}}

/* V37 marketplace + performance polish */
.direct-actions{display:flex;gap:6px;margin-top:6px;align-items:center}
.cart-mini,.buy-mini{flex:1;text-align:center;border-radius:12px;padding:7px 6px;font-size:12px;font-weight:800;text-decoration:none;border:1px solid #e8eaf4;background:#fff;color:#111827;line-height:1}
.buy-mini,.go-aff-btn.hot{background:#ff1f7a;color:#fff;border-color:#ff1f7a;box-shadow:0 8px 20px rgba(255,31,122,.18)}
.product-edit-form .affiliate-fields{border:1px dashed #e6e8f2;border-radius:18px;padding:12px;margin:10px 0;background:#fafbff}
.pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:14px;flex-wrap:wrap;font-weight:800;color:#697084}
.checkout-form textarea{min-height:90px}.checkout-page .panel{max-width:860px;margin-inline:auto}
.nav-cart{position:relative}.nav-cart em{position:absolute;top:-7px;right:-7px;background:#ff1f7a;color:white;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;font-size:11px;font-style:normal;border:2px solid #fff}
.admin-shell{align-items:flex-start}.admin-sidebar{position:sticky;top:14px;max-height:calc(100vh - 28px);overflow:auto}.admin-workspace{min-width:0}.compact-table{font-size:13px}.compact-table td,.compact-table th{padding:8px}.prod-cell img{width:42px;height:42px;object-fit:cover;border-radius:10px}.prod-cell{min-width:260px}.prod-cell span{display:flex;flex-direction:column}.prod-cell b{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prod-cell small{color:#7a8193;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.direct-actions{gap:4px}.cart-mini,.buy-mini{font-size:11px;padding:6px 4px}.admin-sidebar{position:relative;top:0;max-height:none}.pagination{font-size:12px}.checkout-form .two{grid-template-columns:1fr}.prod-cell{min-width:210px}}

/* V38 ad manager, admin, gallery, mobile polish */
.ad-zone{margin:10px auto;max-width:1180px;display:grid;gap:10px}.ad-card{position:relative;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.08)}.ad-card picture,.ad-card img{display:block;width:100%;height:auto}.ad-code{padding:8px}.ad-close{position:absolute;right:6px;top:6px;z-index:3;width:28px;height:28px;border:0;border-radius:99px;background:rgba(15,23,42,.8);color:#fff;font-size:18px;line-height:1}.side-ad{position:fixed;top:155px;width:var(--side-ad-w,120px);z-index:7;display:block}.side-ad-left{left:8px}.side-ad-right{right:8px}.side-ad .ad-zone{margin:0;display:block}.side-ad .ad-card{margin-bottom:10px}.ad-mobile{display:none!important}@media(max-width:860px){.side-ad{display:none}.ad-desktop{display:none!important}.ad-mobile{display:block!important}.ad-zone{margin:7px 8px}.global-top-ad{margin-top:4px}}
.category-showcase{margin:12px 0}.category-showcase .section-title.compact{padding:0 4px;margin:0 0 6px}.category-strip{gap:8px;overflow-x:auto;scroll-snap-type:x proximity}.category-strip .product-card{min-width:154px;scroll-snap-align:start}.product-gallery{cursor:zoom-in}.product-gallery .gallery-main{display:none}.product-gallery .gallery-main.active{display:block}.gallery-thumbs{display:flex;gap:6px;overflow:auto;margin-top:8px}.gallery-thumbs button{border:1px solid #e7e9f3;background:#fff;border-radius:10px;padding:2px}.gallery-thumbs img{width:56px;height:56px;object-fit:cover;border-radius:8px}.lightbox{position:fixed;inset:0;background:rgba(2,6,23,.88);z-index:9999;display:grid;place-items:center}.lightbox[hidden]{display:none}.lightbox img{max-width:92vw;max-height:86vh;object-fit:contain;border-radius:14px}.lightbox-close,.lightbox-prev,.lightbox-next{position:absolute;border:0;border-radius:99px;background:rgba(255,255,255,.92);color:#111827;font-size:28px;width:46px;height:46px}.lightbox-close{right:18px;top:18px}.lightbox-prev{left:18px;top:50%}.lightbox-next{right:18px;top:50%}.member-tabs{display:flex;gap:8px;overflow:auto;padding:8px 0}.member-tabs a{white-space:nowrap;border:1px solid #e8eaf4;border-radius:999px;padding:8px 12px;background:#fff;font-weight:800}.inline-admin-form{display:flex;gap:8px;align-items:center}.inline-admin-form select{min-width:110px}.admin-sidebar{position:sticky;top:10px}.admin-workspace{min-width:0}.dash-grid.compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.product-hero-img img{max-height:560px;object-fit:contain}.product-price del,.before-price del{color:#9aa0ad}.product-price .now-price b{font-size:clamp(28px,4vw,46px);color:#ff1f7a}@media(max-width:760px){.admin-shell{display:block}.admin-sidebar{position:relative;top:0;margin-bottom:10px}.admin-side-menu{display:flex;overflow:auto;gap:8px}.admin-side-menu a{min-width:max-content}.product-v15-card{border-radius:0;margin-left:-8px;margin-right:-8px}.product-hero-img img{max-height:70vh}.gallery-thumbs img{width:46px;height:46px}}
