﻿:root{
  --brand:#dc2626;
  --brand-dark:#991b1b;
  --btn-bg:#fee2e2;
  --btn-text:#b91c1c;
  --danger:#e53935;
  --badge-a:#ff5f5f;
  --badge-b:#ff4b3e;
  --orange:#f59e0b;
  --bg:#f7f8fb;
  --card:#ffffff;
  --text:#212121;
  --muted:#64748b;
  --border:#e6e9ef;
  --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif;
  background:#fff;
  color:var(--text);
  padding-bottom:70px;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
img{max-width:100%;display:block}
h1,h2,h3,h4,h5,h6{font-family:"Be Vietnam Pro",Arial,Helvetica,sans-serif}
.container{max-width:1222px;margin:0 auto;padding:0 15px}

/* ---------- Side category nav ---------- */
.side-nav{
  position:fixed;top:0;left:0;bottom:0;width:60px;z-index:41;
  background:#fff;border-right:1px solid rgba(119,119,119,.12);
  display:none;flex-direction:column;align-items:center;padding-top:8px;
}
.side-nav-toggle{
  width:44px;height:44px;border-radius:999px;background:#dc2626;color:#fff;border:none;
  display:flex;align-items:center;justify-content:center;margin-bottom:8px;flex-shrink:0;
}
.side-nav-toggle svg{width:20px;height:20px}
.side-nav-item{
  width:100%;height:45px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;color:#333;
}
.side-nav-item:hover{background:#f5f7fb;color:var(--brand)}
.side-nav-item svg{width:20px;height:20px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:40;
  background:#fff;border-bottom:1px solid var(--border);
}

/* Thanh chữ chạy cảnh báo / giới thiệu (ngoài sticky header) */
.site-ticker{
  background:#fff;
  border-bottom:1px solid #fee2e2;
  overflow:hidden;
  height:34px;
  display:flex;
  align-items:center;
  contain:layout paint style;
  transform:translateZ(0);
}
.site-ticker__track{
  display:flex;
  width:max-content;
  align-items:center;
  animation:siteTickerRtl 70s linear infinite;
  transform:translate3d(0,0,0);
  backface-visibility:hidden;
}
.site-ticker__unit{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  white-space:nowrap;
  padding-right:4rem;
}
.site-ticker__intro,
.site-ticker__warn{
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  color:#dc2626;
}
.site-ticker__gap{
  display:inline-block;
  width:4.5rem;
  flex:0 0 auto;
  height:1px;
}
.site-ticker:hover .site-ticker__track{animation-play-state:paused}
@keyframes siteTickerRtl{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@media (prefers-reduced-motion:reduce){
  .site-ticker__track{animation:none;transform:none;max-width:100%}
  .site-ticker{height:auto;min-height:34px;padding:6px 12px}
  .site-ticker__unit{white-space:normal;flex-wrap:wrap;padding-right:0}
  .site-ticker__unit + .site-ticker__unit{display:none}
  .site-ticker__gap{display:block;width:100%;height:6px}
}
.header-inner{display:flex;align-items:center;gap:16px;padding-top:11px;padding-bottom:11px}
.header-inner .search-bar{flex:1}
.header-phone{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--text);white-space:nowrap}
.header-phone img{width:22px;height:22px}
.hide-desktop{display:flex}
.hide-mobile{display:none}

/* ---------- Desktop nav row ---------- */
.nav-row{display:none;background:#fdecec}
.nav-row-inner{display:flex;align-items:center;gap:28px;padding:10px 0;width:100%}
.cat-menu-btn{display:flex;align-items:center;gap:10px;background:#fff;color:#333;border:none;border-radius:999px;padding:3px 14px 3px 3px;height:42px;font-weight:600;font-size:13px;white-space:nowrap}
.cat-menu-icon{width:36px;height:36px;border-radius:50%;background:#dc2626;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cat-menu-icon svg{width:18px;height:18px;color:#fff}
.nav-links{display:flex;align-items:center;gap:12px;flex:1;flex-wrap:wrap;min-width:0}
.nav-links > a{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#333;white-space:nowrap}
.nav-links > a img,
.nav-ico{
  width:18px;height:18px;object-fit:contain;flex-shrink:0;
  border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
}
.nav-ico svg{width:10px;height:10px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nav-ico--blue{background:#3b82f6}
.nav-ico--red{background:#dc2626}
.nav-ico--orange{background:#f59e0b}
.nav-ico--green{background:#10b981}
.nav-ico--purple{background:#8b5cf6}
.nav-ico--teal{background:#14b8a6}
.nav-ico--pink{background:#ec4899}
.nav-links > a:hover{color:var(--brand)}
.nav-links-dropdown{position:relative}
.nav-links-drop-btn{
  display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:#333;
  background:none;border:none;padding:0;font-family:inherit;cursor:pointer;white-space:nowrap;
}
.nav-links-drop-btn > svg.chev{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.5}
.nav-links-drop-btn:hover,
.nav-links-dropdown:hover > .nav-links-drop-btn{color:var(--brand)}
.nav-links-drop-menu{
  position:absolute;top:calc(100% + 10px);left:0;min-width:170px;background:#fff;
  border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.12);
  padding:8px 0;z-index:50;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease,transform .18s ease;transform:translateY(4px);
}
.nav-links-drop-menu::before{
  content:"";position:absolute;top:-6px;left:18px;
  border:6px solid transparent;border-bottom-color:#fff;filter:drop-shadow(0 -1px 0 #e5e7eb);
}
.nav-links-dropdown:hover .nav-links-drop-menu,
.nav-links-dropdown:focus-within .nav-links-drop-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);
}
.nav-links-drop-menu a{
  display:block;padding:10px 14px;color:#374151;font-size:13px;font-weight:600;white-space:nowrap;
}
.nav-links-drop-menu a:hover{background:#fef2f2;color:var(--brand)}
.nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;flex-wrap:nowrap}
.nav-actions .icon-btn{position:relative;width:42px;height:42px;border-radius:50%;color:#333;background:#fff}
.nav-actions .wish-btn,
.nav-actions .account-btn{background:#fff}
.nav-actions .account-btn:hover,
.nav-actions .wish-btn:hover{background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.nav-badge{position:absolute;top:-2px;right:-2px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.cart-btn{display:flex;align-items:center;gap:8px;background:transparent;color:#333;border:none;padding:0;font-weight:600;font-size:13px;text-decoration:none}
.header-wallet-balance{
  display:inline-flex;align-items:center;font-weight:700;font-size:13px;color:#0f172a;
  text-decoration:none;white-space:nowrap;margin-left:2px;line-height:1;
}
.header-wallet-balance:hover{color:#dc2626}
.wallet-balance-badge,.wallet-balance-email,.wallet-balance-amt{display:none!important}
.cart-icon-circle{position:relative;width:42px;height:42px;border-radius:50%;background:#dc2626;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cart-icon-circle svg{width:20px;height:20px;color:#fff}
.icon-btn{
  width:38px;height:38px;border:none;background:transparent;color:var(--text);
  display:flex;align-items:center;justify-content:center;border-radius:10px;
}
.icon-btn:hover{background:#f1f3f8}
.icon-btn svg{width:22px;height:22px}
.logo{display:flex;align-items:center;gap:8px;justify-content:center}
.logo-img{height:58px;width:auto}
.logo-text{font-size:19px;font-weight:600;color:var(--brand-dark);display:flex;flex-direction:column;line-height:1.1}
.logo-text b{font-weight:800}
.logo-text small{font-size:10px;color:var(--muted);font-weight:500;letter-spacing:.2px}
.search-bar{
  display:flex;align-items:center;gap:8px;background:var(--bg);
  border:1px solid var(--border);border-radius:999px;padding:0 16px;height:44px;
}
.search-bar svg{width:18px;height:18px;color:var(--muted);flex-shrink:0}
.search-bar input{border:none;background:transparent;outline:none;width:100%;font-size:14px;color:var(--text)}

/* ---------- Drawer ---------- */
.drawer{
  position:fixed;top:0;left:0;bottom:0;width:260px;background:#fff;z-index:60;
  transform:translateX(-100%);transition:transform .25s ease;box-shadow:2px 0 24px rgba(0,0,0,.12);
}
.drawer.open{transform:translateX(0)}
.drawer-inner{padding:20px}
.drawer-title{font-weight:700;margin-bottom:14px;color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.4px}
.drawer-inner a{display:block;padding:12px 6px;border-bottom:1px solid var(--border);font-weight:500}
.drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.4);z-index:55;opacity:0;pointer-events:none;transition:opacity .25s ease}
.drawer-backdrop.open{opacity:1;pointer-events:auto}

/* ---------- Hero (menu + slider + side) ---------- */
.hero{margin-top:16px}
.hero-layout{
  display:grid;
  grid-template-columns:minmax(148px,16%) minmax(0,1fr) minmax(180px,24%);
  gap:12px;
  align-items:stretch;
  min-height:460px;
}

/* Left icon menu */
.hero-menu{
  display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:1fr;
  background:#fff;border:1px solid #ededed;border-radius:12px;overflow:hidden;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.hero-menu-item{
  display:flex;align-items:center;justify-content:center;
  border-right:1px solid #ededed;border-bottom:1px solid #ededed;
  padding:8px;background:#fff;min-height:0;
  transition:background .2s ease;
}
.hero-menu-item:nth-child(3n){border-right:none}
.hero-menu-item:nth-last-child(-n+3){border-bottom:none}
.hero-menu-item:hover{background:#f8fafc}
.hero-menu-item img{
  width:78%;max-width:52px;aspect-ratio:1;object-fit:contain;display:block;
  transition:transform .3s cubic-bezier(0,0,.44,1.18);
}
.hero-menu-item:hover img{transform:scale(1.12)}

/* Center slider — fills full column height (no gap) */
.hero-slider{
  position:relative;border-radius:16px;overflow:hidden;background:#1a1010;
  min-height:100%;height:100%;
  box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.hero-slider-viewport{position:absolute;inset:0}
.hero-slider-track{position:relative;width:100%;height:100%}
.hero-slide{
  position:absolute;inset:0;display:block;opacity:0;pointer-events:none;
  transition:opacity .45s ease;z-index:1;
}
.hero-slide.is-active{opacity:1;pointer-events:auto;z-index:2}
.hero-slide img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
  transition:transform .45s cubic-bezier(0,0,.44,1.18);
}
.hero-slide:hover img{transform:scale(1.06)}
.hero-slide::after{
  content:"";position:absolute;inset:18px;border:5px solid rgba(255,255,255,.28);
  border-radius:12px;opacity:0;transform:scale(.5);z-index:3;pointer-events:none;
  transition:transform .35s cubic-bezier(.05,.2,.1,1),opacity .35s cubic-bezier(.05,.2,.1,1);
}
.hero-slide:hover::after{opacity:1;transform:scale(1)}
.hero-slider-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:42px;height:42px;border-radius:50%;border:none;
  background:rgba(255,255,255,.22);color:#fff;backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s ease,transform .2s ease;
}
.hero-slider-nav:hover{background:rgba(255,255,255,.38)}
.hero-slider-nav svg{width:20px;height:20px}
.hero-slider-prev{left:12px}
.hero-slider-next{right:12px}
.hero-slider-dots{
  position:absolute;left:50%;bottom:14px;transform:translateX(-50%);
  display:flex;gap:7px;z-index:5;
}
.hero-slider-dots button{
  width:8px;height:8px;border-radius:50%;border:none;padding:0;
  background:rgba(255,255,255,.45);cursor:pointer;transition:transform .2s,background .2s;
}
.hero-slider-dots button.active{background:#fff;transform:scale(1.25)}

/* Right banners — equal split, flush with slider */
.hero-side{display:flex;flex-direction:column;gap:12px;min-height:0;height:100%}
.hero-side-banner{
  position:relative;flex:1 1 0;min-height:0;border-radius:14px;overflow:hidden;display:block;
  background:#1a1010;box-shadow:0 8px 22px rgba(15,23,42,.07);
}
.hero-side-banner img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
  transition:transform .45s cubic-bezier(0,0,.44,1.18);
}
.hero-side-banner:hover img{transform:scale(1.09)}
.hero-side-banner::after{
  content:"";position:absolute;inset:14px;border:4px solid rgba(255,255,255,.25);
  border-radius:10px;opacity:0;transform:scale(.5);z-index:2;pointer-events:none;
  transition:transform .35s cubic-bezier(.05,.2,.1,1),opacity .35s cubic-bezier(.05,.2,.1,1);
}
.hero-side-banner:hover::after{opacity:1;transform:scale(1)}

.campaign-banner{margin-top:16px;border-radius:16px;overflow:hidden}
.campaign-banner img{width:100%;display:block}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:10px;font-weight:700;font-size:14px;border:none;text-align:center;box-sizing:border-box;line-height:1.25}
.btn-light{background:#fff;color:var(--brand-dark)}
.btn-primary{background:var(--btn-bg);color:var(--btn-text);width:100%;font-weight:800;border-radius:10px;min-height:42px}
.btn-primary:hover{background:#fecaca}
.btn-outline{background:#fff;border:1px solid var(--border);color:var(--text)}
.btn-block{display:block;width:100%;margin-top:14px;padding:12px}

/* ---------- Sections ---------- */
.section{margin-top:34px}
.eyebrow{color:var(--brand);font-weight:700;font-size:13px;margin:0 0 4px;text-transform:uppercase;letter-spacing:.4px}
.eyebrow.light{color:#fca5a5}
.section-title{font-size:20px;font-weight:500;color:var(--brand);margin:0 0 4px}
.section-sub{color:var(--muted);font-size:14px;margin:0 0 18px}

/* ---------- Quick pick shell (shared card grid) ---------- */
.quick-shell{background:#f8fafc;border-radius:12px;padding:12px}
.quick-actions{display:flex;justify-content:center;gap:10px;margin-top:18px}
.see-more-btn{height:40px;padding:0 20px;border-radius:999px;background:transparent;border:1px solid #fca5a5;color:#dc2626;font-size:15px;font-weight:700}
.see-less-btn{height:40px;padding:0 16px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid #e5e7eb;color:#64748b;font-size:14px;font-weight:700}
.stock-bar{height:26px;border-radius:999px;background:#d9dce2;margin:12px 0;position:relative;display:flex;align-items:center;overflow:hidden}
.stock-fill{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#ffd46e 0%,#ffc535 60%,#ffb31a 100%);border-radius:999px}
.stock-label{position:relative;z-index:1;font-size:11px;font-weight:800;color:#161616;padding:0 12px;width:100%;text-align:left;white-space:nowrap}

/* ---------- Product cards (one style sitewide) ---------- */
.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;align-items:stretch}
.product-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;position:relative;height:100%;
  transition:transform .15s ease,box-shadow .15s ease;
}
.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(15,23,42,.08)}
.product-thumb{
  display:block;width:100%;aspect-ratio:1/1;height:auto;flex:0 0 auto;
  position:relative;overflow:hidden;background:#f1f5f9;padding:0;
}
.product-thumb img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;display:block;
}
.badge-discount{position:absolute;top:10px;left:10px;background:#ff5a55;color:#fff;font-weight:800;font-size:12px;padding:6px 11px;border-radius:999px;z-index:2}
.badge-wish{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.12);cursor:pointer}
.badge-wish svg{width:16px;height:16px}
.badge-wish.active svg{fill:var(--danger);stroke:var(--danger)}
.product-body{
  padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0;
}
.product-body h3{
  font-size:14px;margin:0;font-weight:700;line-height:1.35;
  min-height:2.7em;max-height:2.7em;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.product-body h3 a{color:inherit}
.product-shop{
  font-size:12px;font-weight:600;color:#64748b;line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:1.3em;
  text-decoration:none;display:block;
}
.product-shop:hover{color:#dc2626}
.product-shop::before{content:"Shop · ";font-weight:500;color:#94a3b8}
.product-body .rating{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  font-size:12.5px;color:var(--muted);margin:0;min-height:1.4em;
}
.product-body .rating .stars{color:var(--orange);letter-spacing:1px}
.price-row{
  display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;
  min-height:1.6em;
}
.price-now{color:var(--danger);font-size:16px;font-weight:800;line-height:1.2}
.price-old{font-size:12px;color:var(--muted);text-decoration:line-through}
.price-label{font-size:12px;color:var(--muted)}
.product-body > .btn{
  margin-top:auto;flex:0 0 auto;width:100%;
}
/* ---------- Bestseller banner ---------- */
.bestseller-band{
  position:relative;
  overflow:hidden;
  background:#9f1239;
  padding:40px 0 20px;
  isolation:isolate;
}
.bestseller-band::before{
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:url("https://khotaikhoan.net/wp-content/uploads/2026/02/Blue-Gradient-Modern-Coming-Soon-Banner.gif") repeat fixed 0% 0%/cover;
}
.bestseller-band::after{
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(125deg,#be123c 0%,#e11d48 45%,#ea580c 100%);
  mix-blend-mode:color;
  opacity:.92;
}
@media(max-width:900px){
  .bestseller-band::before{background-attachment:scroll}
}
.bestseller-band > .container{position:relative;z-index:1}
.bestseller-title{color:#fff;font-size:22px;font-weight:500;margin:0 0 20px;padding:0 10px}
.pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin:22px 0 4px;flex-wrap:wrap}
.pagination button{width:34px;height:34px;border-radius:8px;border:1px solid var(--border);background:#fff;font-weight:600;font-size:13px}
.pagination button.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.pagination span{color:var(--muted)}

/* ---------- Tabs ---------- */
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);margin-bottom:18px;flex-wrap:wrap}
.tab{background:none;border:none;padding:10px 2px;font-size:14.5px;color:var(--muted);font-weight:600;border-bottom:2px solid transparent}
.tab.active{color:var(--brand);border-color:var(--brand)}

/* ---------- Stats ---------- */
.stats-card{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#fef2f2 0%,#fee2e2 45%,#fff4ec 100%);
  border:1px solid rgba(220,38,38,.08);
  border-radius:28px;padding:48px 32px 36px;
  box-shadow:0 20px 60px rgba(220,38,38,.09),0 4px 12px rgba(220,38,38,.04);
}
.stats-card::before,.stats-card::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.stats-card::before{width:280px;height:280px;top:-100px;left:-80px;background:radial-gradient(circle,rgba(220,38,38,.13) 0%,transparent 70%)}
.stats-card::after{width:260px;height:260px;right:-80px;bottom:-100px;background:radial-gradient(circle,rgba(249,115,22,.11) 0%,transparent 70%)}
.stats-head{position:relative;z-index:1;text-align:center;margin:0 auto 32px;max-width:780px}
.stats-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 16px;border-radius:999px;background:rgba(220,38,38,.07);border:1px solid rgba(220,38,38,.15);color:#dc2626;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;line-height:1.2;margin:0}
.stats-eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#dc2626,#f97316);box-shadow:0 0 0 3px rgba(220,38,38,.14);flex-shrink:0}
.stats-title{margin:14px 0 0;font-size:34px;font-weight:800;line-height:1.25;letter-spacing:-.02em;color:#0f172a}
.stats-highlight{background-image:linear-gradient(90deg,#dc2626,#ef4444);background-clip:text;-webkit-background-clip:text;color:transparent}
.stats-brand{color:#0f172a}
.stats-sub{margin:10px auto 0;max-width:600px;font-size:15px;line-height:1.6;color:#64748b}
.stats-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.stat{
  display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto auto;
  gap:0 14px;align-items:center;text-align:left;
  padding:18px 20px;border-radius:20px;background:#fff;
  border:1px solid rgba(226,232,240,.9);box-shadow:0 4px 20px rgba(15,23,42,.06);
  transition:transform .2s,box-shadow .2s,border-color .2s;
}
.stat:hover{transform:translateY(-4px);border-color:rgba(220,38,38,.2);box-shadow:0 12px 32px rgba(220,38,38,.12)}
.stat-icon{grid-area:1 / 1 / 4;align-self:center;width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.stat-icon::before{content:"";display:block;width:26px;height:26px;background-repeat:no-repeat;background-position:center;background-size:contain}
.stat-icon--bag{background:linear-gradient(135deg,#fee2e2,#fef2f2);box-shadow:0 4px 14px rgba(220,38,38,.16)}
.stat-icon--bag::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")}
.stat-icon--gear{background:linear-gradient(135deg,#fef3c7,#fffbeb);box-shadow:0 4px 14px rgba(217,119,6,.15)}
.stat-icon--gear::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E")}
.stat-icon--star{background:linear-gradient(135deg,#fce7f3,#fdf2f8);box-shadow:0 4px 14px rgba(219,39,119,.13)}
.stat-icon--star::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23db2777'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")}
.stat-icon--flash{background:linear-gradient(135deg,#d1fae5,#ecfdf5);box-shadow:0 4px 14px rgba(5,150,105,.14)}
.stat-icon--flash::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E")}
.stat-num{grid-area:1 / 2;margin:0;font-size:38px;font-weight:900;letter-spacing:-.03em;line-height:1;background-image:linear-gradient(135deg,#dc2626 0%,#ef4444 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.stat-label{grid-area:2 / 2;margin-top:3px;font-size:14px;font-weight:700;color:#111827;line-height:1.3}
.stat-desc{grid-area:3 / 2;margin-top:1px;font-size:12px;color:#64748b;line-height:1.4}

/* ---------- AI Promo CTA ---------- */
.ai-promo{background:#fbeaea;border-radius:16px;padding:12px}
.ai-promo-card{background:#fff;border-radius:10px;display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center;padding:24px}
.ai-promo-media{aspect-ratio:1/1;border-radius:10px;overflow:hidden}
.ai-promo-media img{width:100%;height:100%;object-fit:fill;display:block}
.ai-promo-content h2{font-size:35px;font-weight:500;color:#242424;margin:0 0 10px;line-height:1.4}
.ai-promo-content p{color:#1f2937;font-size:16px;margin:0 0 20px;line-height:1.6}
.ai-promo-buttons{display:flex;flex-wrap:wrap;gap:10px}
.ai-promo-btn{display:inline-flex;flex-direction:row-reverse;align-items:center;background:#dc2626;color:#fff;font-size:13px;font-weight:600;padding:5px 20px;border-radius:5px;white-space:nowrap}
.ai-promo-btn:hover{background:#b91c1c}
.ai-promo-btn-icon{display:flex;width:14px;height:14px;margin-right:5px;flex-shrink:0}
.ai-promo-btn-icon svg{width:100%;height:100%}

/* ---------- Narrow centered wrapper ---------- */
.narrow-wrap{max-width:1100px;margin:0 auto}

/* ---------- Steps ---------- */
.process-band{background:#f9fafb;padding:60px 0}
.process-title{font-size:28px;font-weight:700;color:#111;text-align:center;margin:0 0 8px}
.process-sub{font-size:15px;color:#1f2937;text-align:center;margin:0 0 40px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step{background:#fff;border-radius:16px;box-shadow:0 10px 25px rgba(0,0,0,.05);padding:26px 22px;text-align:center}
.step-num{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(90deg,#ef4444,#dc2626);color:#fff;font-weight:700;font-size:18px;margin-bottom:14px}
.step h3{margin:0 0 6px;font-size:17px;font-weight:600;color:#111}
.step p{margin:0;color:#1f2937;font-size:15px;line-height:1.6}

/* ---------- Reviews ---------- */
.title-liner{display:flex;align-items:center;gap:20px;margin:0 0 6px}
.title-liner .liner-line{flex:1;height:1px;border-bottom:1px solid rgba(0,0,0,.106)}
.reviews-title{font-size:22px;font-weight:500;color:#242424;text-align:center;margin:0;white-space:nowrap}
.reviews-sub{font-size:14px;color:var(--muted);text-align:center;margin:0 0 28px}
.review-carousel{position:relative}
.review-slider{overflow:hidden}
.review-track{display:flex;transition:transform .4s ease}
.review-item{flex:0 0 33.3333%;box-sizing:border-box;padding:0 15px}
.review-card{background:#fff;border-radius:10px;box-shadow:0 0 5px rgba(0,0,0,.1);padding:30px;text-align:center}
.review-stars{display:flex;justify-content:center;gap:3px;margin-bottom:10px}
.review-stars svg{width:20px;height:20px;fill:#eabe12}
.review-nav{
  position:absolute;top:50%;width:40px;height:40px;border-radius:50%;background:#fff;border:none;
  box-shadow:1px 1px 9px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:2;padding:0;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-50%) translateY(10px);
  transition:opacity .25s,transform .25s,visibility .25s;
}
.review-nav svg{width:18px;height:18px}
.review-nav:hover{background:#f5f5f5}
.review-carousel:hover .review-nav{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) translateY(0)}
@media(max-width:1200px){.review-nav{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%)}}
.review-nav-prev{left:-35px}
.review-nav-next{right:-35px}
@media(max-width:1200px){.review-nav-prev{left:5px}.review-nav-next{right:5px}}
.review-card p{margin:0 0 20px;font-size:16px;line-height:25.6px;color:#1f2937}
.review-who{display:block;margin-top:15px;font-size:16px;font-weight:600;color:#242424}
.review-who span{display:inline;font-weight:400;color:#777}
.review-who span::before{content:" - "}
.review-dots{margin-top:5px;text-align:center}
.review-dots .dot{display:inline-block;margin-top:10px;cursor:pointer;background:none;border:none;padding:0}
.review-dots .dot span{display:block;margin:5px;width:10px;height:10px;border:2px solid #bbb;border-radius:50%;transition:.25s}
.review-dots .dot.active span{border-color:#333;background:#333}
@media(max-width:1023px){.review-item{flex:0 0 50%}}
@media(max-width:699px){.review-item{flex:0 0 100%}}

/* ---------- Footer ---------- */
.site-footer{background:#fff;color:#242424;margin-top:50px;padding-top:40px;border-top:1px solid var(--border)}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-bottom:28px}
.footer-col-brand .logo-img{width:100%;max-width:265px;height:auto;margin-bottom:16px;display:block}
.footer-desc{font-size:14px;line-height:1.6;color:#777;margin:0 0 10px}
.footer-desc strong{font-weight:600}
.footer-heading{font-size:18px;font-weight:500;color:#242424;margin:20px 0 14px}
.footer-col-brand .footer-heading{margin-top:20px}
.footer-col{display:flex;flex-direction:column;gap:10px}
.footer-col a{font-size:14px;color:#848484}
.footer-col a:hover{color:var(--brand)}
.social-icons{display:flex;gap:8px;flex-wrap:wrap}
.social-icons .social-icon{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.social-icons .social-icon:hover{color:#fff;opacity:.85}
.social-icon svg{width:14px;height:14px;fill:currentColor}
.social-fb{background:#365493}
.social-tw{background:#33ccff}
.social-ig{background:#774430}
.social-yt{background:#cb2027}
.social-pin{background:#cb2027}
.social-tt{background:#010101}
.footer-bottom{border-top:1px solid rgba(0,0,0,.106);padding:20px 16px;font-size:16px;color:#777;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-bottom a{color:#777}
.footer-bottom b{color:#242424}
.footer-bottom-right img{height:20px;width:auto}

/* ---------- Floating buttons ---------- */
.floating-btns{position:fixed;right:16px;bottom:86px;display:flex;flex-direction:column;gap:10px;z-index:45}
.fab{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.fab img{width:30px;height:30px;object-fit:contain}

/* ---------- Bottom nav ---------- */
.bottom-nav{
  position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--border);
  display:flex;z-index:50;
}
.bn-item{flex:1;background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 0 8px;color:var(--text);position:relative}
.bn-item svg{width:22px;height:22px}
.bn-item small{font-size:11px;color:var(--muted)}
.bn-badge{position:absolute;top:2px;left:50%;transform:translateX(6px);background:var(--danger);color:#fff;font-size:10px;font-weight:700;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* ---------- Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:80px;transform:translate(-50%,20px);
  background:#0f172a;color:#fff;padding:10px 18px;border-radius:999px;font-size:13.5px;font-weight:600;
  opacity:0;pointer-events:none;transition:all .25s ease;z-index:80;white-space:nowrap;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- Responsive ---------- */
@media(min-width:520px){
  .card-grid{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:760px){
  .card-grid{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:1024px){
  .card-grid{grid-template-columns:repeat(5,1fr)}
}
@media(max-width:1023px){
  .hero-layout{grid-template-columns:1fr;min-height:0}
  .hero-menu{display:none}
  .hero-slider{min-height:280px;aspect-ratio:16/9;height:auto}
  .hero-side{flex-direction:row;height:auto}
  .hero-side-banner{min-height:140px;aspect-ratio:16/9}
}
@media(max-width:600px){
  .hero-side{flex-direction:column}
  .hero-slider{min-height:200px}
}
@media(max-width:700px){
  .ai-promo-card{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .reviews-title{white-space:normal;font-size:18px}
  .title-liner .liner-line{display:none}
}
@media(min-width:900px){
  body{padding-bottom:0;margin-left:60px}
  .bottom-nav{display:none}
  .floating-btns{bottom:24px}
  .hide-desktop{display:none}
  .hide-mobile{display:flex}
  .nav-row{display:block}
  .side-nav{display:flex}
}
@media(max-width:600px){
  .footer-grid{grid-template-columns:1fr}
  .header-inner{flex-wrap:wrap}
}

/* ==================== INNER PAGES ==================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb{font-size:13px;color:var(--muted);margin:18px 0 20px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--brand)}
.breadcrumb .sep{color:#cbd5e1}
.breadcrumb .current{color:var(--text);font-weight:500}

/* ---------- Category page ---------- */
.category-hero h1{font-size:26px;font-weight:700;margin:0 0 12px;color:var(--text)}
.category-hero p{color:#1f2937;font-size:14.5px;line-height:1.75;margin:0 0 20px;max-width:900px}
.category-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}
.category-chip{background:#fef2f2;color:var(--brand-dark);font-size:13px;font-weight:600;padding:9px 16px;border-radius:10px}
.category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 18px;padding-bottom:14px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.category-toolbar select{border:1px solid var(--border);border-radius:8px;padding:9px 12px;font-size:13px;color:var(--text);background:#fff}
.category-count{font-size:13px;color:var(--muted)}
.category-empty{padding:60px 0;text-align:center;color:var(--muted)}

/* ---------- Product detail page ---------- */
.product-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin:8px 0 40px;align-items:start}
.product-media{display:flex;flex-direction:column;gap:14px;position:sticky;top:16px}
.product-gallery{aspect-ratio:1/1;border-radius:14px;overflow:hidden;background:#f1f5f9;border:1px solid var(--border);position:static}
.product-gallery img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.product-info h1{font-size:23px;font-weight:700;margin:0 0 12px;line-height:1.35;color:var(--text)}
.product-meta{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);margin-bottom:14px;flex-wrap:wrap}
.product-meta .stars{color:#eabe12;letter-spacing:1px}
.product-meta .dot{color:#cbd5e1}
.product-meta-seller{color:var(--brand);text-decoration:none;font-weight:700}
.product-meta-seller:hover{text-decoration:underline}
.product-verified{
  display:inline-flex;align-items:center;gap:5px;margin-left:2px;padding:3px 9px;border-radius:999px;
  background:rgba(22,163,74,.1);color:#15803d;font-size:12px;font-weight:700;line-height:1.2;
}
.product-verified svg{flex-shrink:0}
.product-notify{display:flex;align-items:center;gap:10px;background:#f5f7fb;border-radius:10px;padding:10px 14px;font-size:13px;margin-bottom:18px;color:#1f2937}
.product-notify b{color:var(--text)}
.product-price-box{background:linear-gradient(135deg,#fff5f5,#fff);border:1px solid #ffd9d9;border-radius:14px;padding:18px 20px;margin-bottom:20px}
.product-price-now{font-size:27px;font-weight:700;color:#f80c0c}
.product-price-old{font-size:16px;color:#94a3b8;text-decoration:line-through;margin-left:10px}
.product-countdown{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.product-countdown-badge{background:#f80c0c;color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
.countdown-blocks{display:flex;gap:6px;align-items:center}
.countdown-blocks b{display:block;background:#242424;color:#fff;min-width:32px;text-align:center;border-radius:6px;padding:5px 4px;font-size:13px;font-weight:700}
.countdown-blocks small{display:block;text-align:center;font-size:9.5px;color:var(--muted);margin-top:2px}
.countdown-sep{color:#94a3b8;font-weight:700}
.product-stock-line{margin-top:14px;font-size:12.5px;color:var(--muted)}
.product-options{margin:20px 0}
.product-options label{display:block;font-size:13.5px;font-weight:600;margin-bottom:10px;color:var(--text)}
.variant-pills{display:flex;flex-wrap:wrap;gap:10px}
.variant-pill{
  appearance:none;border:1px solid #d1d5db;background:#fff;color:#0f172a;
  border-radius:10px;padding:11px 14px;font-size:13.5px;font-weight:700;
  line-height:1.35;text-align:center;cursor:pointer;min-width:0;
  flex:1 1 calc(50% - 10px);max-width:100%;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.variant-pill:hover{border-color:#f87171;background:#fff5f5}
.variant-pill.is-active{
  border-color:var(--brand);background:#fff1f2;color:#9f1239;
  box-shadow:0 0 0 1px var(--brand);
}
.variant-pill-price{display:block;margin-top:4px;font-size:12px;font-weight:600;color:#64748b}
.variant-pill.is-active .variant-pill-price{color:#be123c}
@media(min-width:700px){
  .variant-pill{flex:1 1 calc(33.333% - 10px)}
}
@media(max-width:520px){
  .variant-pill{flex:1 1 100%}
}
.product-qty-row{display:flex;align-items:center;gap:14px;margin:16px 0}
.product-qty-row label{font-size:13.5px;font-weight:600}
.qty-stepper{display:flex;align-items:center;border:1px solid var(--border);border-radius:8px}
.qty-stepper button{width:34px;height:36px;background:none;border:none;font-size:16px;color:var(--text)}
.qty-stepper input{width:40px;text-align:center;border:none;font-size:14px}
.product-buy-row{display:flex;gap:12px;margin-top:10px;flex-wrap:wrap}
.product-buy-row .btn{flex:1;padding:14px;font-size:14.5px;border-radius:10px;min-width:120px}
.product-wish-btn{
  flex:0 0 auto!important;width:auto!important;display:inline-flex!important;align-items:center;gap:8px;
  min-width:0!important;padding:0 16px!important;color:#dc2626;border-color:#fecaca;background:#fff;
}
.product-wish-btn.active,
.product-wish-btn.active svg{color:#dc2626}
.product-wish-btn.active svg{fill:#dc2626}
.btn-outline{background:#fff;border:1.5px solid var(--brand);color:var(--brand)}
.product-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:26px;padding-top:22px;border-top:1px solid var(--border)}
.product-trust div{text-align:center;font-size:12px;color:var(--muted);line-height:1.4}
.product-trust svg{width:22px;height:22px;color:var(--brand);margin-bottom:6px}
.product-desc{max-width:900px;margin:10px auto 50px;font-size:14.5px;line-height:1.85;color:#1f2937}
.product-desc h2{font-size:19px;margin:30px 0 12px;color:var(--text)}
.product-desc h3{font-size:16px;margin:22px 0 10px;color:var(--text)}
.product-desc ul{padding-left:20px;margin:0 0 14px}
.product-desc li{margin-bottom:6px}
.product-related h2{font-size:20px;margin:0 0 18px}

/* ---------- Cart page ---------- */
.cart-empty{text-align:center;padding:50px 20px 30px;background:#fff;border:1px solid var(--border);border-radius:16px;margin-bottom:28px}
.cart-empty svg{width:70px;height:70px;color:#cbd5e1;margin-bottom:16px}
.cart-empty h2{font-size:19px;margin:0 0 8px;color:var(--text)}
.cart-empty p{color:var(--muted);margin:0 0 20px;font-size:14px}
.cart-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cart-perks{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;margin-bottom:44px;font-size:13px;color:var(--muted);padding-bottom:36px;border-bottom:1px solid var(--border)}
.cart-perks span{display:flex;align-items:center;gap:6px}
.cart-suggest h2{font-size:20px;margin:0 0 18px;display:flex;align-items:center;justify-content:space-between}
.cart-suggest h2 a{font-size:13px;font-weight:600;color:var(--brand)}

/* ---------- Simple content pages (FAQs, policy, contact...) ---------- */
.simple-page{padding:28px 0 40px;max-width:860px}
.simple-page h1{font-size:clamp(24px,3.5vw,32px);font-weight:800;color:#0f172a;margin:0 0 12px;line-height:1.25}
.simple-page h2{font-size:18px;font-weight:700;color:#0f172a;margin:28px 0 10px}
.simple-page .lead{font-size:16px;color:#64748b;line-height:1.7;margin:0 0 28px}
.simple-page p{color:#475569;font-size:15px;line-height:1.7;margin:0 0 14px}
.simple-page ul,.simple-page ol{color:#475569;font-size:15px;line-height:1.8;margin:0 0 16px;padding-left:20px}
.simple-page a{color:var(--brand);font-weight:600}
.simple-page details{border:1px solid #e2e8f0;border-radius:10px;margin-bottom:8px;overflow:hidden;background:#fff}
.simple-page summary{padding:14px 18px;font-weight:600;font-size:15px;cursor:pointer;color:#0f172a;list-style:none}
.simple-page summary::-webkit-details-marker{display:none}
.simple-page summary::after{content:"＋";float:right;color:var(--brand)}
.simple-page details[open] summary::after{content:"－"}
.simple-page details>p{padding:0 18px 14px;margin:0;color:#475569;font-size:14px;line-height:1.7}
.simple-page .info-note{
  background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:18px 20px;margin:0 0 24px;
  color:#7f1d1d;font-size:14px;line-height:1.65;
}
.simple-page .info-note strong{display:inline;color:#7f1d1d;margin-bottom:0}
.simple-page .info-note ul,.simple-page .info-note ol{margin-bottom:0}
.policy-page .seller-crumb{margin-bottom:18px}
.policy-toc{
  margin-top:36px;padding:18px 20px 16px;border:1px solid #fecaca;border-radius:14px;background:#fff7f7;
}
.policy-toc-title{margin:0 0 12px;font-size:15px;font-weight:800;color:#0f172a}
.policy-toc-links{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.policy-toc-links li{margin:0;padding:0}
.policy-toc-links a{
  display:block;padding:11px 14px;border-radius:10px;
  background:#fff;border:1px solid #fee2e2;
  color:#0f172a !important;font-size:14.5px;font-weight:600;line-height:1.4;
  text-decoration:none;
}
.policy-toc-links a:hover{border-color:#f87171;color:var(--brand) !important}
.policy-toc-links a[aria-current="page"]{
  border-color:#dc2626;background:#fef2f2;color:var(--brand) !important;font-weight:800;
}
.contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:8px}
.contact-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:22px 20px}
.contact-card h3{font-size:16px;font-weight:700;margin:0 0 10px;color:#0f172a}
.contact-card .muted,.contact-card p.muted{color:#94a3b8;font-size:13px}

/* ---------- Giới thiệu (.ktk-about) — measured verbatim from real site ---------- */
.ktk-about{line-height:1.7}
.ktk-about .container{max-width:860px;margin:0 auto;padding:0}
.ktk-about section,.ktk-about .section{margin-bottom:56px}
.ktk-about p,.ktk-about .cat-grid p,.ktk-about .cards p,.ktk-about .steps p,.ktk-about .split p{margin:0}
.ktk-about .hero{text-align:center;padding:48px 0 32px}
.ktk-about .eyebrow{display:inline-block;background:#fef2f2;color:#dc2626;font-size:13px;font-weight:600;padding:4px 14px;border-radius:20px;letter-spacing:.4px;margin-bottom:16px}
.ktk-about .hero h1{font-size:clamp(26px,4vw,40px);font-weight:800;color:#0f172a;margin:0 0 16px;line-height:1.25}
.ktk-about .hero .lead{font-size:17px;color:#475569;max-width:640px;margin:0 auto 28px}
.ktk-about .pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ktk-about .pill{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;font-size:13px;color:#334155;padding:5px 14px}
.ktk-about h2{font-size:22px;font-weight:700;color:#0f172a;margin:0 0 8px}
.ktk-about .section-sub{color:#64748b;margin:0 0 24px;font-size:15px}
.ktk-about .cat-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.ktk-about .cat{background:#f1f5f9;border-radius:10px;padding:12px 14px;font-size:13px;font-weight:600;color:#334155;text-align:center}
.ktk-about .cards{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.ktk-about .card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:22px 20px}
.ktk-about .card h3{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 8px}
.ktk-about .card>p{font-size:14px;color:#475569;margin:0;line-height:1.6}
.ktk-about .steps{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.ktk-about .step{background:#f8fafc;border-radius:12px;padding:20px 16px}
.ktk-about .step b{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#dc2626;color:#fff;border-radius:50%;font-size:14px;font-weight:800;margin-bottom:10px}
.ktk-about .step h4{font-size:14px;font-weight:700;color:#0f172a;margin:0 0 6px}
.ktk-about .step>p{font-size:13px;color:#475569;margin:0;line-height:1.6}
.ktk-about .split{display:grid !important;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:56px}
.ktk-about .box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:22px 20px}
.ktk-about .box h3{font-size:15px;font-weight:700;color:#0f172a;margin:0 0 12px}
.ktk-about .box ul{margin:0;padding-left:18px;color:#475569;font-size:14px;line-height:1.8}
.ktk-about details{border:1px solid #e2e8f0;border-radius:10px;margin-bottom:8px;overflow:hidden}
.ktk-about summary{padding:14px 18px;font-weight:600;font-size:15px;cursor:pointer;color:#0f172a;list-style:none;display:block}
.ktk-about summary::-webkit-details-marker{display:none}
.ktk-about summary::after{content:"＋";float:right;color:#dc2626;font-weight:400}
.ktk-about details[open] summary::after{content:"－"}
.ktk-about details>p{padding:0 18px 14px;margin:0;color:#475569;font-size:14px;line-height:1.7}
.ktk-about .cta{background:linear-gradient(135deg,#7f1d1d 0%,#dc2626 100%);border-radius:16px;padding:40px 32px;text-align:center;color:#fff}
.ktk-about .cta h3{font-size:22px;font-weight:800;margin:0 0 10px;color:#fff}
.ktk-about .cta>p{margin:0 0 24px;color:#fecaca;font-size:15px}
.ktk-about .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.ktk-about .btn{display:inline-block;width:auto;padding:11px 24px;border-radius:8px;font-weight:700;font-size:14px;line-height:normal;text-decoration:none;transition:opacity .2s}
.ktk-about .btn-primary{background:#fff;color:#7f1d1d}
.ktk-about .btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5)}
.ktk-about .btn:hover{opacity:.85}
@media(max-width:600px){
  .ktk-about .split{grid-template-columns:1fr !important}
  .ktk-about .hero{padding:32px 0 20px}
  .ktk-about .cta{padding:28px 20px}
}

/* ---------- Page-with-sidebar layout (Giới thiệu / Hướng dẫn mua hàng) ---------- */
.page-with-sidebar{display:grid;grid-template-columns:1fr 305px;gap:30px;align-items:start;margin:24px 0 60px}
.page-main{min-width:0}
.page-sidebar{padding-top:4px}
.sb-block{padding-bottom:30px;margin-bottom:30px;border-bottom:1px solid rgba(0,0,0,.106)}
.sb-block:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.sb-social-title{font-size:16px;font-weight:500;color:#333;text-transform:uppercase;text-align:center;margin:0 0 20px}
.sb-social-icons{display:flex;justify-content:center;gap:5px}
.sb-social-icon{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.sb-social-icon svg{width:16px;height:16px;fill:currentColor}
.widget-title{font-size:16px;font-weight:500;color:#333;text-transform:uppercase;margin:0 0 20px}
.sb-posts{list-style:none;margin:0;padding:0}
.sb-posts li{margin-bottom:15px}
.sb-posts li:last-child{margin-bottom:0}
.sb-posts a{display:block;color:#333;font-size:16px;font-weight:500;line-height:1.4;text-decoration:none}
.sb-posts a:hover{color:var(--brand)}
.sb-post-date{display:block;margin-top:5px;color:#bbb;font-size:12px}
.sb-cats{list-style:none;margin:0;padding:0}
.sb-cats li{margin-bottom:15px}
.sb-cats li:last-child{margin-bottom:0}
.sb-cats a{color:#777;font-size:16px;text-decoration:none}
.sb-cats a:hover{color:var(--brand)}
@media(max-width:992px){
  .page-with-sidebar{grid-template-columns:1fr}
  .page-sidebar{padding-top:0}
}

/* ---------- Blog ---------- */
.blog-feat{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;margin:24px 0 44px;padding-bottom:44px;border-bottom:1px solid var(--border)}
.blog-feat img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;display:block}
.blog-feat-tag{font-size:11px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.04em}
.blog-feat h2{font-size:24px;margin:10px 0;line-height:1.35;color:var(--text)}
.blog-feat p{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 16px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0 0 40px}
.blog-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--border)}
.blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.blog-card-body{padding:16px}
.blog-tag{font-size:11px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.03em}
.blog-card h3{font-size:15px;margin:8px 0;line-height:1.4;color:var(--text)}
.blog-meta{font-size:12px;color:var(--muted)}

/* ---------- Account (login/register) ---------- */
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:960px;margin:0 auto 40px}
.account-box h2{font-size:18px;margin:0 0 18px;color:var(--text)}
.account-box p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.account-box label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:var(--text)}
.account-box input{width:100%;border:1px solid var(--border);border-radius:8px;padding:11px 14px;font-size:14px;margin-bottom:14px}
.account-remember{margin-bottom:16px}
.account-remember label{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:0;
  font-size:13px;font-weight:500;color:var(--muted);cursor:pointer;line-height:1.3;
}
.account-remember input[type="checkbox"]{
  width:auto;margin:0;padding:0;flex-shrink:0;accent-color:var(--brand);
}
.account-links{font-size:13px;color:var(--brand);margin-top:10px}
.account-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:20px 0}
.account-divider::before,.account-divider::after{content:"";flex:1;height:1px;background:var(--border)}
.btn-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:1px solid var(--border);border-radius:8px;padding:11px;font-size:14px;font-weight:600;background:#fff;color:var(--text)}
@media(max-width:900px){
  .product-page-grid{grid-template-columns:1fr}
  .product-media{position:static}
  .product-gallery{position:static}
  .account-grid{grid-template-columns:1fr}
  .blog-feat{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:1fr 1fr}
  .blog-grid{grid-template-columns:1fr 1fr}
  .product-trust{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .feature-grid{grid-template-columns:1fr}
  .blog-grid{grid-template-columns:1fr}
}

/* ---------- AI account info block ---------- */
.info-block{background:#fff;border:1px solid var(--border);border-radius:20px;padding:32px 36px 28px}
.info-block h2{font-size:22px;font-weight:700;color:#111;margin:0 0 14px}
.info-block>p{color:#334155;font-size:14.5px;line-height:1.75;margin:0 0 14px;max-width:980px}
.info-collapsible{overflow:hidden;max-height:2000px;transition:max-height .35s ease,opacity .3s ease;opacity:1}
.info-collapsible.collapsed{max-height:0;opacity:0}
.info-collapsible h3{font-size:19px;font-weight:700;color:#111;margin:22px 0 16px}
.info-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:22px}
.info-card{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:20px 22px}
.info-card h4{font-size:15.5px;font-weight:700;color:#111;margin:0 0 8px}
.info-card p{font-size:13.5px;color:#64748b;line-height:1.6;margin:0 0 10px}
.info-card a{font-size:13px;font-weight:700;color:var(--brand);display:inline-flex;align-items:center;gap:5px}
.info-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:6px}
.tag-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid var(--border);border-radius:999px;font-size:13px;font-weight:600;color:#334155}
.tag-pill:hover{border-color:var(--brand);color:var(--brand)}
.info-toggle{display:flex;align-items:center;gap:8px;justify-content:center;margin:22px auto 0;background:#3d4a5c;color:#fff;border:none;border-radius:10px;padding:11px 26px;font-weight:700;font-size:13px;letter-spacing:.03em}
.info-toggle:hover{opacity:.9}

/* ---------- Hot products band ---------- */
.hot-band{background:#f4f7fb;padding:50px 0;margin-top:16px}
.hot-head{text-align:center;max-width:640px;margin:0 auto 32px}
.hot-eyebrow{color:var(--brand);font-weight:700;font-size:12.5px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}
.hot-title{font-size:28px;font-weight:800;color:#111;margin:0 0 10px}
.hot-sub{color:#64748b;font-size:14.5px;margin:0}
.hot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hot-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px 20px;text-align:center;transition:transform .15s ease,box-shadow .15s ease}
.hot-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(15,23,42,.08)}
.hot-icon{width:56px;height:56px;border-radius:14px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f1f5f9}
.hot-icon img{width:100%;height:100%;object-fit:contain}
.hot-card h3{font-size:15.5px;font-weight:700;color:#111;margin:0 0 8px}
.hot-card a{font-size:13px;font-weight:700;color:var(--brand);display:inline-flex;align-items:center;gap:5px}
@media(max-width:900px){
  .info-cards{grid-template-columns:1fr}
  .hot-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .info-block{padding:24px 20px 22px}
}

/* ---------- Live chat widget ---------- */
.chat-widget{position:fixed;right:16px;bottom:86px;z-index:70}
.chat-fab{width:54px;height:54px;border-radius:50%;background:var(--brand);color:#fff;border:none;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.2);position:relative}
.chat-fab svg{width:24px;height:24px}
.chat-fab-badge{position:absolute;top:-2px;right:-2px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;width:17px;height:17px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.chat-panel{position:absolute;right:0;bottom:66px;width:320px;max-width:calc(100vw - 32px);background:#fff;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.2);overflow:hidden;display:flex;flex-direction:column}
[hidden]{display:none!important}
.chat-panel-header{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--brand);color:#fff}
.chat-avatar{width:34px;height:34px;border-radius:50%;object-fit:contain;background:#fff;flex-shrink:0;padding:3px}
.chat-panel-title{font-size:14px;font-weight:700;margin:0}
.chat-panel-sub{font-size:11.5px;margin:2px 0 0;opacity:.9;display:flex;align-items:center;gap:5px}
.chat-online-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;display:inline-block;flex-shrink:0}
.chat-panel-close{margin-left:auto;background:none;border:none;color:#fff;font-size:20px;cursor:pointer;line-height:1;padding:4px}
.chat-panel-body{padding:14px 16px;height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#f8fafc}
.chat-msg{max-width:82%;padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.5}
.chat-msg-bot{background:#fff;border:1px solid var(--border);align-self:flex-start;border-bottom-left-radius:2px;color:var(--text)}
.chat-msg-user{background:var(--brand);color:#fff;align-self:flex-end;border-bottom-right-radius:2px}
.chat-panel-input{display:flex;border-top:1px solid var(--border)}
.chat-panel-input input{flex:1;border:none;padding:12px 14px;font-size:13.5px;outline:none;min-width:0}
.chat-panel-input button{width:44px;flex-shrink:0;border:none;background:none;color:var(--brand);display:flex;align-items:center;justify-content:center}
.chat-panel-input button svg{width:18px;height:18px}
.footer-chat-btn{display:inline-flex;align-items:center;gap:6px;background:var(--brand);color:#fff !important;font-weight:700;font-size:13px;padding:9px 16px;border-radius:8px;margin-top:2px;width:fit-content}
.footer-chat-btn:hover{opacity:.9;color:#fff !important}
.header-phone svg{width:20px;height:20px;color:var(--brand)}
@media(min-width:900px){
  .chat-widget{bottom:24px}
}
@media(max-width:600px){
  .chat-widget{right:12px}
  .chat-panel{width:calc(100vw - 24px)}
}

/* ---------- Listing page (tat-ca-san-pham) ---------- */
.listing-page{padding-bottom:48px}
.listing-title{font-size:28px;font-weight:800;color:#0f172a;margin:0 0 22px;line-height:1.25}
.listing-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.listing-filters{
  background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 14px;
  position:sticky;top:90px;max-height:calc(100vh - 110px);overflow-y:auto;
}
.listing-filters-title{font-size:16px;font-weight:800;margin:0 0 6px;color:#0f172a}
.listing-filters-sub{font-size:13px;color:var(--muted);margin:0 0 12px;font-weight:600}
.listing-filter-list{display:flex;flex-direction:column}
.listing-filter-item{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:11px 8px;border-bottom:1px solid #f1f5f9;font-size:14px;font-weight:600;color:#334155;
}
.listing-filter-item:last-child{border-bottom:none}
.listing-filter-item:hover{color:var(--brand)}
.listing-filter-item.is-active{color:#2563eb}
.listing-filter-arrow{color:#94a3b8;font-size:16px;line-height:1}
.listing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.listing-toolbar select{border:1px solid var(--border);border-radius:8px;padding:9px 12px;font-size:13px;background:#fff}
.listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.listing-card-grid{margin-top:0 !important}
.listing-main .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:760px){
  .listing-main .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1100px){
  .listing-main .card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.listing-filter-item small{font-weight:500;color:#94a3b8}
.listing-filter-item.is-active small{color:#93c5fd}
.listing-filter-group{border-bottom:1px solid #f1f5f9}
.listing-filter-group:last-child{border-bottom:none}
.listing-filter-parent-row{display:flex;align-items:stretch;gap:2px}
.listing-filter-parent-row .listing-filter-parent{
  flex:1;border-bottom:none;font-weight:700;color:#0f172a;padding-right:4px;
}
.listing-filter-toggle{
  flex:0 0 32px;border:0;background:transparent;cursor:pointer;color:#94a3b8;
  display:flex;align-items:center;justify-content:center;padding:0;
}
.listing-filter-toggle:hover{color:var(--brand)}
.listing-filter-chevron{
  width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:6px solid currentColor;transition:transform .15s ease;
}
.listing-filter-group.is-open .listing-filter-chevron{transform:rotate(180deg)}
.listing-filter-children{display:flex;flex-direction:column;padding:0 0 6px 10px}
.listing-filter-child{font-weight:500;font-size:13px;padding-top:8px;padding-bottom:8px;border-bottom:none}
.listing-filter-all{font-weight:700;color:#0f172a}
.listing-filter-group.is-parent-active .listing-filter-parent{color:#2563eb}
.list-card{
  display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:stretch;
  background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:12px;
  box-shadow:0 6px 18px rgba(15,23,42,.04);
}
.list-card-media{display:block;border-radius:10px;overflow:hidden;background:#f1f5f9;aspect-ratio:1;position:relative}
.list-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.list-card-body{display:flex;flex-direction:column;min-width:0;position:relative;padding-right:4px}
.list-card-body h3{font-size:15px;font-weight:700;margin:0 0 8px;line-height:1.35}
.list-card-body h3 a:hover{color:var(--brand)}
.list-card-meta{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:8px}
.list-card-rating .stars{color:#eab308}
.list-card-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-top:auto;padding-bottom:36px}
.list-card-price .price-now{font-size:16px;font-weight:800;color:var(--brand)}
.list-card-cta{
  position:absolute;right:0;bottom:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--brand);color:#fff;font-size:13px;font-weight:700;
  padding:8px 16px;border-radius:999px;
}
.list-card-cta:hover{opacity:.92;color:#fff}
.listing-intro,.listing-faq,.listing-reviews{margin-top:48px;max-width:920px}
.listing-intro h2,.listing-faq h2,.listing-reviews h2{font-size:24px;font-weight:800;color:#0f172a;margin:0 0 14px}
.listing-intro h2 + h2,
.listing-intro-body h2:not(:first-child){margin-top:28px}
.listing-intro-body p{font-size:15px;line-height:1.75;color:#334155;margin:0 0 12px}
.listing-faq-item{padding:18px 0;border-bottom:1px solid #e5e7eb}
.listing-faq-item:last-child{border-bottom:none}
.listing-faq-item h3{font-size:16px;font-weight:700;margin:0 0 8px;color:#0f172a}
.listing-faq-item p{margin:0;font-size:14.5px;line-height:1.7;color:#475569}
.listing-reviews-summary{margin:0 0 16px;color:#64748b;font-size:14px}
.listing-reviews-summary .stars{color:#eab308}
.listing-reviews-empty{color:#64748b;font-size:14.5px;margin:8px 0 0}
.listing-review-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px;margin-bottom:12px;background:#fff}
.listing-review-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;flex-wrap:wrap}
.listing-review-stars{color:#eab308;letter-spacing:1px;font-size:14px}
.listing-review-stars strong{color:#0f172a;letter-spacing:0;margin-left:8px;font-weight:700}
.listing-review-date{font-size:12px;color:#94a3b8}
.listing-review-card p{margin:0;font-size:14.5px;line-height:1.65;color:#334155}
.listing-reviews .product-review-filters{margin-bottom:14px}
.listing-reviews .product-review-pagination{margin-top:8px}
@media(max-width:900px){
  .listing-layout{grid-template-columns:1fr}
  .listing-filters{position:static}
  .listing-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .list-card{grid-template-columns:96px minmax(0,1fr);gap:10px;padding:10px}
  .listing-title{font-size:22px}
}

/* ---------- Product detail: FAQ / reviews / seller ---------- */
.product-faq,.product-reviews,.product-seller{margin:36px 0 44px;max-width:920px}
.product-faq{padding:24px 26px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.product-faq h2,.product-reviews h2,.product-seller h2,.product-related h2{font-size:22px;font-weight:800;color:#0f172a;margin:0 0 16px}
.product-faq-item{padding:14px 0;border-bottom:1px solid #eef2f7}
.product-faq-item:last-child{border-bottom:none;padding-bottom:0}
.product-faq-item h3{font-size:15.5px;font-weight:700;margin:0 0 8px;color:#0f172a}
.product-faq-item p{margin:0;font-size:14.5px;line-height:1.7;color:#475569}
.product-reviews-summary{margin:0 0 16px;font-size:14.5px;color:#64748b}
.product-reviews-summary .stars,.product-review-item .stars,.product-meta .stars{color:#eab308;letter-spacing:1px}
.product-review-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.review-filter-btn{
  border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:13px;font-weight:600;
  padding:7px 12px;border-radius:999px;cursor:pointer;line-height:1.2
}
.review-filter-btn span{color:#94a3b8;font-weight:500}
.review-filter-btn:hover{border-color:#cbd5e1;background:#f8fafc}
.review-filter-btn.is-active{background:var(--brand,#e11d48);border-color:var(--brand,#e11d48);color:#fff}
.review-filter-btn.is-active span{color:rgba(255,255,255,.85)}
.product-review-list{display:grid;gap:12px}
.product-review-item{border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;background:#fff}
.product-review-item header{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:8px}
.product-review-item time{margin-left:auto;font-size:12px;color:#94a3b8}
.product-review-item .review-verified{
  font-size:11px;font-weight:700;color:#047857;background:#ecfdf5;border-radius:999px;padding:2px 8px;
}
.product-review-item p{margin:0;font-size:14.5px;line-height:1.65;color:#334155}
.product-reviews-empty{margin:8px 0 0;color:#64748b;font-size:14.5px}
.product-review-pagination{margin-top:18px}
.product-related-grid{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:14px;
}
@media(max-width:1100px){
  .product-related-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:700px){
  .product-related-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
.product-seller{padding:22px 24px;background:#f8fafc;border-radius:12px}
.product-seller p{margin:0 0 12px;font-size:14.5px;line-height:1.8;color:#334155}
.product-seller p:last-child{margin-bottom:0}
.product-seller a{color:var(--brand);font-weight:600}

/* ---------- Chia sẻ (blog) ---------- */
.share-page-head{margin:8px 0 28px;max-width:820px}
.share-page-head h1{font-size:clamp(26px,3vw,34px);font-weight:800;margin:0 0 12px;letter-spacing:-.02em;color:#0f172a}
.share-page-head .lead{font-size:16px;line-height:1.7;color:#475569;margin:0 0 14px}
.share-result-count{font-size:13.5px;font-weight:600;color:#64748b;margin:0 0 14px}
.share-cat-filters{display:flex;flex-wrap:wrap;gap:8px}
.share-cat-chip{
  display:inline-flex;align-items:center;gap:4px;padding:8px 14px;border-radius:999px;
  border:1px solid #e2e8f0;background:#fff;font-size:13px;font-weight:600;color:#334155;
}
.share-cat-chip span{color:#94a3b8;font-weight:500}
.share-cat-chip:hover{border-color:var(--brand);color:var(--brand)}
.share-cat-chip.is-active{background:var(--brand);border-color:var(--brand);color:#fff}
.share-cat-chip.is-active span{color:rgba(255,255,255,.85)}
.share-layout{margin-top:8px;margin-bottom:56px}
.share-feat{
  display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center;
  margin-bottom:28px;padding-bottom:28px;border-bottom:1px solid var(--border);
}
.share-feat-media{display:block;border-radius:14px;overflow:hidden;background:#f1f5f9}
.share-feat-media img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.share-feat-body h2{font-size:24px;margin:10px 0;line-height:1.35}
.share-feat-body h2 a:hover{color:var(--brand)}
.share-feat-body p{color:#64748b;font-size:14.5px;line-height:1.7;margin:0}
.share-card .share-card-excerpt{
  font-size:13.5px;line-height:1.55;color:#64748b;margin:6px 0 8px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.share-card h3 a:hover{color:var(--brand)}
.share-empty{color:#64748b;padding:24px 0}
.share-article h1{font-size:clamp(24px,2.8vw,32px);font-weight:800;line-height:1.3;margin:10px 0 8px;color:#0f172a}
.share-article-cover{
  width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:18px 0 22px;
  background:#f1f5f9;border:1px solid var(--border);
}
.share-article-body{font-size:16px;line-height:1.8;color:#334155}
.share-article-body h2{font-size:22px;font-weight:800;color:#0f172a;margin:28px 0 12px}
.share-article-body h3{font-size:17px;font-weight:700;color:#0f172a;margin:0 0 8px}
.share-article-body p{margin:0 0 14px}
.share-article-body ul,.share-article-body ol{margin:0 0 16px;padding-left:1.25em}
.share-article-body li{margin:0 0 8px}
.share-article-body a{color:var(--brand);font-weight:600}
.share-figure{margin:20px 0 24px}
.share-figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;border:1px solid var(--border);background:#f1f5f9}
.share-figure figcaption{margin-top:8px;font-size:13px;color:#64748b;line-height:1.5}
.share-quote{margin:18px 0 22px;padding:14px 18px;border-left:4px solid var(--brand);background:#fff5f5;border-radius:0 10px 10px 0;color:#334155}
.share-quote p{margin:0;font-style:italic}
.share-prompt{margin:14px 0 20px;padding:14px 16px;background:#0f172a;color:#e2e8f0;border-radius:10px;overflow-x:auto;font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word}
.share-prompt code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:inherit}
.share-faq-item{margin:0 0 16px;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}
.share-faq-item h3{margin:0 0 6px}
.share-faq-item p{margin:0;color:#475569}
.share-related{margin-top:48px;padding-top:28px;border-top:1px solid #e5e7eb}
.share-related h2{font-size:22px;font-weight:800;margin:0 0 18px}
.share-related-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){
  .share-related-grid{grid-template-columns:1fr}
  .share-feat{grid-template-columns:1fr}
}

/* ---------- Đăng ký người bán ---------- */
.seller-page{padding-bottom:48px}
.seller-hero{
  position:relative;min-height:auto;display:flex;align-items:center;
  overflow:hidden;color:#0f172a;isolation:isolate;
}
.seller-hero-bg{
  position:absolute;inset:0;z-index:-1;overflow:hidden;
  background:linear-gradient(125deg,#fff 0%,#fff1f2 28%,#ffe4e6 55%,#ffedd5 100%);
  background-size:180% 180%;
  animation:sellerBgShift 16s ease-in-out infinite alternate;
}
.seller-mesh{
  position:absolute;inset:-15%;
  background:
    radial-gradient(circle at 12% 20%, rgba(220,38,38,.16), transparent 38%),
    radial-gradient(circle at 88% 35%, rgba(249,115,22,.12), transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(220,38,38,.1), transparent 42%);
  animation:sellerMeshPulse 11s ease-in-out infinite alternate;
}
.seller-orb{
  position:absolute;border-radius:50%;pointer-events:none;will-change:transform;
}
.seller-orb-a{
  width:min(42vw,320px);height:min(42vw,320px);left:-12%;top:10%;
  background:radial-gradient(circle at 40% 40%, rgba(248,113,113,.32), transparent 68%);
  animation:sellerOrbA 16s ease-in-out infinite alternate;
}
.seller-orb-b{
  width:min(38vw,300px);height:min(38vw,300px);right:-6%;top:8%;
  background:radial-gradient(circle at 50% 50%, rgba(251,146,60,.2), transparent 68%);
  animation:sellerOrbB 20s ease-in-out infinite alternate;
}
.seller-orb-c{
  width:min(32vw,240px);height:min(32vw,240px);left:42%;bottom:-20%;
  background:radial-gradient(circle at 40% 40%, rgba(254,202,202,.5), transparent 70%);
  animation:sellerOrbC 14s ease-in-out infinite alternate;
}
.seller-grid{
  position:absolute;inset:0;opacity:.38;
  background-image:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 85% 75% at 55% 50%, #000 20%, transparent 75%);
  animation:sellerGridDrift 26s linear infinite;
}
@keyframes sellerBgShift{
  0%{background-position:0% 30%}
  100%{background-position:100% 70%}
}
@keyframes sellerMeshPulse{
  0%{opacity:.9;transform:scale(1)}
  100%{opacity:1;transform:scale(1.03)}
}
@keyframes sellerOrbA{
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(6%,5%) scale(1.08)}
}
@keyframes sellerOrbB{
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(-6%,8%) scale(1.1)}
}
@keyframes sellerOrbC{
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(-5%,-6%) scale(1.06)}
}
@keyframes sellerGridDrift{
  0%{background-position:0 0}
  100%{background-position:52px 26px}
}
@keyframes sellerStageFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes sellerStageFloatAlt{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(8px)}
}
@keyframes sellerBarGrow{
  0%,100%{width:62%}
  50%{width:88%}
}
@keyframes sellerPulse{
  0%,100%{transform:scale(1);opacity:.35}
  50%{transform:scale(1.15);opacity:.15}
}
@media (prefers-reduced-motion:reduce){
  .seller-hero-bg,.seller-mesh,.seller-orb,.seller-grid,
  .seller-stage-card,.seller-stage-bar span,.seller-stage-pulse,.seller-stage-ring{animation:none}
}
.seller-hero-inner{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.92fr);
  gap:32px 40px;align-items:center;justify-items:stretch;
  width:100%;padding-top:24px;padding-bottom:48px;
}
.seller-hero-main{min-width:0;width:100%;max-width:none;justify-self:start}
.seller-crumb{
  margin:0 0 18px;font-size:13.5px;font-weight:500;color:#64748b;
}
.seller-crumb a{color:#64748b;font-weight:600}
.seller-crumb a:hover{color:var(--brand)}
.seller-crumb .current{color:#0f172a;font-weight:700}
.seller-crumb .sep{margin:0 8px;color:#cbd5e1}
.seller-brand{
  font-size:15px;font-weight:800;letter-spacing:-.01em;text-transform:none;
  color:var(--brand);margin:0 0 10px;
}
.seller-hero h1{
  font-size:clamp(28px,3.6vw,42px);font-weight:800;line-height:1.18;letter-spacing:-.03em;
  margin:0 0 14px;color:#0f172a;max-width:18ch;
}
.seller-hero-lead{
  font-size:16px;line-height:1.7;color:#475569;margin:0 0 24px;max-width:42ch;
}
.seller-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.seller-hero-cta{
  display:inline-flex;width:auto;padding:14px 24px;font-size:15px;font-weight:700;
  border-radius:10px;background:var(--brand) !important;color:#fff !important;border:none;
  min-height:48px;
}
.seller-hero-cta:hover{background:var(--brand-dark) !important;color:#fff !important}
.seller-hero-link{
  font-size:15px;font-weight:700;color:#0f172a;border-bottom:2px solid #fecaca;
  padding-bottom:2px;
}
.seller-hero-link:hover{color:var(--brand);border-color:var(--brand)}
.seller-hero-stage{
  position:relative;min-height:340px;width:100%;max-width:420px;margin-left:auto;
  display:flex;align-items:center;justify-content:center;
  padding:28px 12px 20px;
}
.seller-stage-ring{
  position:absolute;width:min(92%,340px);aspect-ratio:1;border-radius:50%;
  border:1.5px solid rgba(220,38,38,.14);z-index:0;
  box-shadow:0 0 0 28px rgba(220,38,38,.04);
  animation:sellerPulse 7s ease-in-out infinite;
}
.seller-stage-pulse{
  position:absolute;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle, rgba(220,38,38,.16), transparent 70%);
  animation:sellerPulse 4.5s ease-in-out infinite;z-index:0;
}
.seller-stage-card{
  position:relative;z-index:1;
  background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.95);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-radius:16px;box-shadow:0 20px 44px rgba(185,28,28,.1);
}
.seller-stage-card--main{
  width:min(100%,292px);padding:22px 20px 18px;
  animation:sellerStageFloat 7s ease-in-out infinite;
}
.seller-stage-badge{
  display:inline-block;font-size:11px;font-weight:800;letter-spacing:.06em;
  text-transform:uppercase;color:#fff;background:var(--brand);
  padding:5px 10px;border-radius:999px;margin-bottom:12px;
}
.seller-stage-shop{
  margin:0 0 14px;font-size:17px;font-weight:800;color:#0f172a;line-height:1.3;
}
.seller-stage-cats{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:8px}
.seller-stage-cats li{
  display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#334155;
}
.seller-stage-cats .dot{
  width:8px;height:8px;border-radius:50%;background:var(--brand);flex-shrink:0;
}
.seller-stage-meta{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin:0 0 10px;font-size:12.5px;color:#64748b;font-weight:600;
}
.seller-stage-meta strong{font-size:13.5px;color:#0f172a;font-weight:800}
.seller-stage-bar{
  height:8px;border-radius:999px;background:#fee2e2;overflow:hidden;
}
.seller-stage-bar span{
  display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#dc2626,#f97316);
  animation:sellerBarGrow 5s ease-in-out infinite;
}
.seller-stage-card--a,
.seller-stage-card--b{
  position:absolute;z-index:2;padding:12px 14px;min-width:138px;
}
.seller-stage-card--a{
  top:12%;left:0;
  animation:sellerStageFloatAlt 6.5s ease-in-out infinite;
}
.seller-stage-card--b{
  bottom:10%;right:0;
  animation:sellerStageFloat 8s ease-in-out infinite .4s;
}
.seller-stage-card strong{display:block;font-size:13.5px;color:#0f172a;margin-bottom:2px}
.seller-stage-card em{font-style:normal;font-size:12px;color:#64748b;font-weight:500}
.seller-sticky-cta{
  display:none;position:fixed;left:12px;right:12px;bottom:78px;z-index:35;
  padding:14px 18px;border-radius:12px;background:var(--brand);color:#fff;
  font-weight:800;font-size:15px;text-align:center;justify-content:center;
}
@media(max-width:760px){
  .seller-sticky-cta{display:flex}
  .seller-sticky-cta.is-hidden{display:none}
}
.seller-section{padding:52px 0}
.seller-section h2{
  font-size:clamp(22px,2.6vw,30px);font-weight:800;letter-spacing:-.02em;
  color:#0f172a;margin:0 0 16px;
}
.seller-section-sub{margin:0 0 28px;color:#64748b;font-size:15.5px;max-width:48ch}
.seller-narrow{max-width:720px}
.seller-intro{background:#fff;border-top:1px solid rgba(254,202,202,.5)}
.seller-intro-grid{
  display:grid;grid-template-columns:minmax(200px,.72fr) minmax(0,1.28fr);
  gap:36px 48px;align-items:center;
}
.seller-intro-media{
  margin:0;max-width:340px;width:100%;justify-self:start;
}
.seller-intro-media img{
  display:block;width:100%;height:auto;border-radius:18px;
  object-fit:cover;aspect-ratio:1;
  box-shadow:0 16px 36px rgba(185,28,28,.08);
}
.seller-intro-copy{min-width:0}
.seller-intro-copy h2{margin-bottom:14px}
.seller-intro p{font-size:16.5px;line-height:1.8;color:#334155;margin:0 0 16px}
.seller-intro-copy p:last-child{margin-bottom:0}
@media(max-width:800px){
  .seller-intro-grid{grid-template-columns:1fr;gap:22px}
  .seller-intro-media{max-width:260px;margin:0 auto}
}
.seller-benefits{background:#f8fafc;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}
.seller-benefit-list{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 32px;
}
.seller-benefit-list li{
  display:flex;flex-direction:column;gap:6px;padding:0 0 0 16px;
  border-left:3px solid var(--brand);
}
.seller-benefit-list strong{font-size:16px;color:#0f172a}
.seller-benefit-list span{font-size:14.5px;line-height:1.6;color:#64748b}
.seller-steps-list{
  list-style:none;margin:28px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
}
.seller-steps-list li{display:flex;gap:14px;align-items:flex-start}
.seller-step-num{
  flex:0 0 36px;height:36px;border-radius:10px;background:#fee2e2;color:var(--brand);
  font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center;
}
.seller-steps-list strong{display:block;font-size:16px;color:#0f172a;margin-bottom:6px}
.seller-steps-list p{margin:0;font-size:14.5px;line-height:1.55;color:#64748b}
.seller-form-section{background:#fff}
.seller-form-wrap{max-width:720px}
.seller-form-intro p{margin:0 0 22px;color:#64748b;font-size:15px;line-height:1.6}
.seller-form{
  padding:24px 22px 28px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;
  box-shadow:none;
}
.seller-form-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;margin-bottom:16px;
}
.seller-field{display:flex;flex-direction:column;gap:7px;font-size:13.5px;font-weight:600;color:#334155}
.seller-field-full{grid-column:1 / -1}
.seller-field abbr{color:var(--brand);text-decoration:none}
.seller-field input,
.seller-field select,
.seller-field textarea{
  font:inherit;font-weight:500;font-size:14.5px;color:#0f172a;
  border:1px solid #e2e8f0;border-radius:10px;padding:11px 12px;background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.seller-field textarea{resize:vertical;min-height:110px}
.seller-field input:focus,
.seller-field select:focus,
.seller-field textarea:focus{
  outline:none;border-color:#f87171;box-shadow:0 0 0 3px rgba(220,38,38,.12);
}
.seller-check{
  display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#475569;
  margin:4px 0 14px;font-weight:500;cursor:pointer;
}
.seller-check input{margin-top:3px;accent-color:var(--brand)}
.seller-check a{color:var(--brand);font-weight:700}
.seller-form-error{margin:0 0 12px;color:#b91c1c;font-size:13.5px;font-weight:600}
.seller-submit{width:100%;padding:14px 18px;font-size:15px;font-weight:700;border-radius:10px}
.seller-form-note{margin:12px 0 0;font-size:12.5px;color:#94a3b8;line-height:1.5}
.seller-faq{background:#f8fafc;border-top:1px solid #eef2f7}
.seller-faq-list{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.seller-faq-item{
  padding:16px 18px;border-left:3px solid #fecaca;background:#fff;border-radius:0 12px 12px 0;
}
.seller-faq-item h3{margin:0 0 6px;font-size:15.5px;font-weight:700;color:#0f172a}
.seller-faq-item p{margin:0;font-size:14.5px;line-height:1.65;color:#475569}
.seller-reveal{
  opacity:0;transform:translateY(16px);
  transition:opacity .55s ease, transform .55s ease;
  transition-delay:var(--d,0s);
}
.seller-reveal.is-in{opacity:1;transform:none}
.seller-hero .seller-reveal{opacity:0}
.seller-hero .seller-reveal.is-in{opacity:1}
@media(max-width:900px){
  .seller-hero-inner{
    grid-template-columns:1fr;gap:20px;padding-top:18px;padding-bottom:36px;
  }
  .seller-hero h1{max-width:none}
  .seller-hero-lead{max-width:none}
  .seller-hero-stage{min-height:280px;max-width:360px;margin:0 auto;padding:16px 8px}
  .seller-stage-card--main{width:min(100%,270px)}
  .seller-stage-card--a{left:2%}
  .seller-stage-card--b{right:2%}
  .seller-benefit-list{grid-template-columns:1fr}
  .seller-steps-list{grid-template-columns:1fr}
  .seller-form-grid{grid-template-columns:1fr}
  .seller-section{padding:40px 0}
}

/* ===== Wallet / checkout ===== */
.account-menu-wrap{
  position:relative!important;display:inline-flex!important;align-items:center;
  flex:0 0 auto;flex-direction:row;z-index:70;
}
.account-dropdown{
  position:absolute!important;top:calc(100% + 8px);right:0;left:auto;z-index:90;min-width:220px;
  background:#fff;border:1px solid #e2e8f0;border-radius:12px;
  box-shadow:0 12px 28px rgba(15,23,42,.12);padding:8px;
  display:none!important;visibility:hidden;pointer-events:none;
}
.account-menu-wrap.is-open .account-dropdown{
  display:block!important;visibility:visible;pointer-events:auto;
}
.account-dropdown-head{
  padding:10px 12px 12px;border-bottom:1px solid #f1f5f9;margin-bottom:6px;
}
.account-dropdown-name{margin:0 0 2px;font-size:14px;font-weight:700;color:#0f172a}
.account-dropdown-email{margin:0;font-size:12px;color:#64748b;word-break:break-all}
.account-dropdown-item{
  display:block;width:100%;text-align:left;border:0;background:transparent;
  padding:10px 12px;border-radius:8px;font:inherit;font-size:13.5px;font-weight:600;
  color:#0f172a;text-decoration:none;cursor:pointer;
}
.account-dropdown-item:hover{background:#fff1f2;color:#dc2626}
.account-dropdown-logout{color:#dc2626;margin-top:4px;border-top:1px solid #f1f5f9;border-radius:0 0 8px 8px}
.account-box--full{grid-column:1/-1}
.account-dash-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.account-page{background:#f8fafc;padding-bottom:56px}
.account-page-head{max-width:720px;margin:8px 0 28px}
.account-kicker{margin:0 0 6px;color:#dc2626;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.account-page-head h1,.wish-page-head h1,.topup-page-head h1{margin:0 0 10px;font-size:clamp(26px,3.5vw,34px);color:#0f172a;font-weight:800;line-height:1.2}
.account-page-lead,.wish-page-lead,.topup-page-lead{margin:0;color:#64748b;font-size:15px;line-height:1.65}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:960px;margin:0 auto 40px}
.account-box--card{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.account-box--card h2{font-size:18px;margin:0 0 8px}
.account-cta{width:100%;background:#dc2626;color:#fff;min-height:44px}
.account-cta:hover{background:#b91c1c;color:#fff}
.account-benefits{margin:18px 0 0;padding-left:18px;color:#64748b;font-size:13px;line-height:1.7}
.account-dash{
  grid-column:1/-1;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:28px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.account-dash-hero h2{margin:0 0 6px;font-size:24px}
.account-dash-email{margin:0 0 18px;color:#64748b}
.account-dash-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.account-stat{
  background:#fff1f2;border:1px solid #fecaca;border-radius:12px;padding:14px 16px;
}
.account-stat span{display:block;font-size:12px;color:#9f1239;font-weight:600;margin-bottom:4px}
.account-stat strong{font-size:18px;color:#0f172a}
.account-quick-links{list-style:none;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:14px}
.account-quick-links a{color:#dc2626;font-weight:600;font-size:13px}

.header-wallet-balance,
#headerWalletBalance{display:none!important}
.account-dropdown{min-width:240px}
.account-dropdown-bal{
  margin:10px 0 0;padding:8px 10px;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;
  font-size:13px;color:#64748b;
}
.account-dropdown-bal strong{display:block;margin-top:2px;font-size:16px;font-weight:800;color:#dc2626}

/* ===== Tài khoản (logged-in) ===== */
.account-grid--acct{display:block;max-width:min(1200px,100%);margin:0 auto 40px}
.acct{min-width:0}
.acct-hero{
  display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;
  background:linear-gradient(135deg,#fff 0%,#fff8f8 100%);
  border:1px solid #fecaca;border-radius:16px;padding:18px 20px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);margin-bottom:14px;
}
.acct-hero-main{display:flex;align-items:center;gap:14px;min-width:0}
.acct-avatar{
  flex:0 0 auto;width:52px;height:52px;border-radius:14px;
  background:#dc2626;color:#fff;font-size:22px;font-weight:800;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.acct-avatar-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 auto}
.acct-avatar--img{background:#fee2e2;padding:0}
.acct-avatar--img img{width:100%;height:100%;object-fit:cover;display:block}
.acct-avatar--pick{border:0;cursor:pointer;padding:0;font:inherit}
.acct-avatar--pick:hover{opacity:.92}
.acct-avatar-change{
  border:0;background:transparent;color:#dc2626;font-size:12px;font-weight:700;
  cursor:pointer;padding:0;line-height:1.2;
}
.acct-avatar-change:hover{text-decoration:underline}
.acct-avatar-change:disabled{opacity:.6;cursor:wait;text-decoration:none}
.acct-file-input{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;opacity:0!important;
}
.account-btn.account-btn--avatar{
  padding:0!important;overflow:hidden;border-radius:999px;width:36px;height:36px;
  display:inline-flex;align-items:center;justify-content:center;
}
.account-btn.account-btn--avatar .account-btn-img{
  width:100%;height:100%;object-fit:cover;display:block;border-radius:999px;
}
.account-dropdown-avatar{
  width:40px;height:40px;border-radius:10px;object-fit:cover;display:block;margin:0 0 8px;background:#fee2e2;
}
.acct-hero-kicker{margin:0 0 2px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#dc2626}
.acct-hero-name{margin:0 0 2px;font-size:20px;font-weight:800;color:#0f172a}
.acct-hero-email{margin:0;font-size:13px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-hero-side{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.acct-bal-box{
  background:#fff;border:1px solid #fecaca;border-radius:12px;padding:10px 14px;min-width:140px;
}
.acct-hero-bal-label{display:block;font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;margin-bottom:2px}
.acct-bal-box strong,.acct-hero-bal strong{display:block;font-size:22px;font-weight:800;color:#dc2626;line-height:1.2}
.acct-hero-actions{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}
.acct-btn{
  display:inline-flex!important;align-items:center;justify-content:center;
  height:36px;padding:0 16px!important;border-radius:9px!important;
  font-size:13px!important;font-weight:700!important;line-height:1!important;
  text-decoration:none;cursor:pointer;border:1px solid transparent;box-sizing:border-box;
  width:auto!important;min-width:108px;white-space:nowrap;
}
.acct-btn--primary{
  background:#dc2626!important;color:#fff!important;border-color:#dc2626!important;
}
.acct-btn--primary:hover{background:#b91c1c!important;color:#fff!important}
.acct-btn--ghost{
  background:#fff!important;color:#dc2626!important;border-color:#fecaca!important;
}
.acct-btn--ghost:hover{background:#fff1f2!important}
.acct-body .dash-form{max-width:420px}
.acct-body .dash-form .acct-btn{margin-top:8px;width:auto!important}
.acct-body .dash-form .btn-primary{
  width:auto!important;min-width:140px;min-height:36px!important;height:36px;
  padding:0 18px!important;font-size:13px!important;
}
.acct-tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding:10px;background:#fff;
  border:1px solid #e2e8f0;border-radius:14px;
}
.acct-tab{
  border:1px solid transparent;background:#f8fafc;color:#334155;border-radius:999px;
  padding:8px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;
}
.acct-tab:hover{background:#fff1f2;color:#dc2626}
.acct-tab.is-active{background:#dc2626;color:#fff;border-color:#dc2626}
.acct-tab--out{margin-left:auto;background:#fff;border-color:#fecaca;color:#dc2626}
.acct-body{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px 20px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);min-width:0;
}
.acct-panel h2{margin:0 0 8px;font-size:22px;color:#0f172a}
.acct-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;align-items:center}
.acct-search,.acct-select{
  border:1px solid #e2e8f0;border-radius:10px;padding:9px 12px;font:inherit;font-size:13.5px;background:#fff;
}
.acct-search{flex:1 1 220px;min-width:180px}
.acct-select{flex:0 0 auto}
.acct-result-meta{margin:0 0 8px;font-size:12.5px;color:#64748b}
.acct-pager{display:flex;align-items:center;gap:10px;margin-top:14px}
.acct-pager-info{font-size:13px;color:#64748b;font-weight:600}
.acct-wallet-table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:480px}
.acct-wallet-table th,.acct-wallet-table td{padding:11px 12px;border-bottom:1px solid #f1f5f9;text-align:left;white-space:nowrap}
.acct-wallet-table th{font-size:12px;color:#64748b;background:#f8fafc;text-transform:uppercase}
.amt-plus{color:#047857}.amt-minus{color:#b91c1c}
@media(max-width:700px){
  .acct-hero{grid-template-columns:1fr}
  .acct-hero-side{width:100%;justify-content:space-between}
  .acct-tab--out{margin-left:0}
}

/* ===== Account dashboard (legacy sidebar kept for safety) ===== */
.account-grid--dash{display:block;max-width:min(1280px,100%);margin:0 auto 40px}
.dash{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}
.dash-side{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px 14px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);position:sticky;top:88px;
}
.dash-side-head{padding:4px 8px 14px;border-bottom:1px solid #f1f5f9;margin-bottom:10px}
.dash-side-kicker{margin:0 0 4px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#dc2626}
.dash-side-name{margin:0 0 2px;font-size:16px;font-weight:800;color:#0f172a}
.dash-side-email{margin:0;font-size:12px;color:#64748b;word-break:break-all}
.dash-side-bal{margin:10px 0 0;font-size:13px;color:#64748b}
.dash-side-bal strong{color:#dc2626;font-weight:800}
.dash-nav{display:flex;flex-direction:column;gap:4px}
.dash-nav-btn{
  display:block;width:100%;text-align:left;border:0;background:transparent;cursor:pointer;
  padding:11px 12px;border-radius:10px;font:inherit;font-size:13.5px;font-weight:600;color:#334155;
}
.dash-nav-btn:hover{background:#f8fafc;color:#0f172a}
.dash-nav-btn.is-active{background:#fff1f2;color:#dc2626}
.dash-logout{width:100%;margin-top:14px}
.dash-main{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px 18px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);min-height:420px;min-width:0;overflow:hidden;
}
.dash-panel h2{margin:0 0 8px;font-size:22px;color:#0f172a}
.dash-sub{margin:22px 0 12px;font-size:15px;color:#0f172a}
.dash-lead{margin:0 0 16px;color:#64748b;font-size:14px;line-height:1.6}
.dash-form label{display:block;font-size:13px;font-weight:600;margin:0 0 6px;color:#0f172a}
.dash-form input{
  width:100%;max-width:420px;border:1px solid #e2e8f0;border-radius:10px;
  padding:11px 14px;font-size:14px;margin:0 0 14px;display:block;background:#fff;
}
.dash-form input:disabled{background:#f8fafc;color:#64748b}
.dash-form .btn{margin-top:4px}
.dash-orders{display:flex;flex-direction:column;gap:12px;min-width:0}
.dash-table-wrap{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid #e2e8f0;border-radius:12px;background:#fff;width:100%;
}
.dash-orders-table{
  width:100%;border-collapse:separate;border-spacing:0;
  table-layout:fixed;min-width:1240px;font-size:13px;
}
.dash-orders-table th,.dash-orders-table td{
  padding:10px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #f1f5f9;
}
.dash-orders-table th{
  font-size:11.5px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.02em;
  background:#f8fafc;white-space:nowrap;
}
.dash-orders-table col.col-code{width:112px}
.dash-orders-table col.col-name{width:24%}
.dash-orders-table col.col-money{width:88px}
.dash-orders-table col.col-recv{width:16%}
.dash-orders-table col.col-time{width:130px}
.dash-orders-table col.col-status{width:140px}
.dash-orders-table col.col-actions{width:360px}
.dash-orders-table tbody tr:hover{background:#fafafa}
.dash-orders-table td b{font-weight:700;color:#0f172a}
.dash-orders-table td.cell-name{
  white-space:normal;word-break:break-word;line-height:1.4;overflow:visible;
}
.dash-orders-table td.cell-recv{
  max-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.dash-orders-table td.cell-code,
.dash-orders-table td.cell-time{
  white-space:nowrap;
}
.dash-orders-table td.cell-actions{
  overflow:visible;white-space:nowrap;vertical-align:middle;
}
.dash-recv{
  display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;
  background:#f1f5f9;border-radius:6px;padding:5px 8px;color:#334155;
}
.dash-recv code{font:inherit;background:transparent;padding:0;display:inline}
.dash-recv-more,.dash-recv-note{font-size:12px;color:#64748b;white-space:nowrap}
.dash-order-actions{
  display:inline-flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:flex-start;
  white-space:nowrap;width:max-content;
}
.dash-act{
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:0 0 auto;width:auto!important;min-width:0;min-height:30px!important;
  height:30px;padding:0 10px!important;border-radius:8px!important;
  font-size:12px!important;font-weight:700!important;line-height:1!important;
  white-space:nowrap;box-sizing:border-box;cursor:pointer;text-decoration:none;
}
.dash-act--outline{
  background:#fff!important;border:1px solid #fecaca!important;color:#dc2626!important;
}
.dash-act--outline:hover{background:#fff1f2!important}
.dash-act--warn{
  background:#fff7ed!important;border:1px solid #fdba74!important;color:#c2410c!important;
}
.dash-act--warn:hover{background:#ffedd5!important}
.dash-act--chat{
  background:#eff6ff!important;border:1px solid #93c5fd!important;color:#1d4ed8!important;
}
.dash-act--chat:hover{background:#dbeafe!important}
.dash-act--solid{
  background:#fff1f2!important;border:1px solid #fecaca!important;color:#b91c1c!important;
}
.dash-act--ghost{
  background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#475569!important;
}
.dash-act--ghost:hover{background:#f1f5f9!important}
.dash-action-muted{font-size:12px;color:#94a3b8;white-space:nowrap}
.dash-review-stars{margin:8px 0;font-size:22px;color:#f59e0b;letter-spacing:2px}
.dash-review-body{
  margin:10px 0 14px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;
  border-radius:10px;font-size:14px;line-height:1.55;color:#334155;white-space:pre-wrap;
}
.dash-muted{font-size:13px;color:#94a3b8}
.myrev-panel{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px 22px;margin-bottom:40px;
}
.myrev-toolbar{margin-bottom:14px}
.myrev-count{margin:0 0 14px;font-size:13.5px;color:#64748b}
.myrev-list{list-style:none;padding:0;margin:0}
.myrev-item{padding:16px 0;border-bottom:1px solid #f1f5f9}
.myrev-item:last-child{border-bottom:0}
.myrev-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:6px}
.myrev-stars{color:#f59e0b;font-size:18px;letter-spacing:1px}
.myrev-time{font-size:12.5px;color:#94a3b8}
.myrev-product{margin:0 0 6px;font-size:15px;font-weight:700;color:#0f172a}
.myrev-body{margin:0 0 10px;font-size:14px;line-height:1.55;color:#475569;white-space:pre-wrap}
.myrev-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:13px;color:#64748b}
.myrev-meta a{color:#dc2626;font-weight:700;text-decoration:none}
.myrev-meta a:hover{text-decoration:underline}
.myrev-empty{padding:28px 8px;text-align:center;color:#64748b}
.myrev-empty .acct-btn{margin-top:12px}
.dash-status{
  display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600;
  background:#f1f5f9;color:#334155;white-space:nowrap;max-width:none;
  overflow:visible;text-overflow:clip;
}
.dash-status--delivered,.dash-status--paid{background:#ecfdf5;color:#047857}
.dash-status--disputed{background:#fff7ed;color:#c2410c}
.dash-status--released{background:#eff6ff;color:#1d4ed8}
.dash-status--refunded{background:#fef2f2;color:#b91c1c}
.dash-modal{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:16px}
.dash-modal[hidden]{display:none!important}
.dash-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}
.dash-modal-card{
  position:relative;z-index:1;width:min(640px,100%);max-height:min(86vh,720px);overflow:auto;
  background:#fff;border-radius:14px;padding:18px 20px;box-shadow:0 20px 50px rgba(15,23,42,.25);
}
.dash-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.dash-modal-head h3{margin:0;font-size:18px}
.dash-modal-card > p{margin:8px 0;font-size:14px;line-height:1.5;color:#334155}
.dash-modal-card label{display:block;font-size:13px;font-weight:600;margin:10px 0 6px}
.dash-modal-card textarea{
  width:100%;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font:inherit;resize:vertical;
}
.dash-modal-actions{
  display:flex;flex-wrap:nowrap;gap:8px;margin-top:14px;align-items:center;
}
.dash-modal-actions .dash-act,
.dash-modal-actions .btn{
  flex:0 0 auto!important;width:auto!important;min-width:96px;min-height:32px!important;height:32px;
  padding:0 12px!important;font-size:12.5px!important;border-radius:8px!important;
}
.dash-modal-actions .btn-primary{
  width:auto!important;background:#fff1f2!important;color:#b91c1c!important;
  border:1px solid #fecaca!important;min-height:32px!important;
}
.dash-modal-recv{margin-top:12px;padding:12px;background:#f8fafc;border-radius:10px}
.dash-modal-recv-title{margin:0 0 8px;font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase}
.dash-modal-recv code{display:block;font-size:12px;margin:4px 0;word-break:break-all;white-space:normal}
.dash-stars{display:flex;gap:4px;margin:4px 0 12px}
.dash-star{
  border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#cbd5e1;padding:0;
}
.dash-star.is-on{color:#f59e0b}
.orders-seo-note{margin:6px 0 0;font-size:13px;color:#64748b;max-width:720px}
.dash-order{
  border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;background:#f8fafc;
}
.dash-order-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:14px}
.dash-order p{margin:4px 0;font-size:14px;color:#334155}
.dash-meta{font-size:12.5px!important;color:#64748b!important}
.dash-more{margin:8px 0 0}
.dash-more a{color:#dc2626;font-weight:700;font-size:13px}
.dash-empty{text-align:center;padding:28px 12px}
.dash-empty p{margin:0 0 14px;color:#64748b}
.dash-error{color:#dc2626}
.dash-cart-list{list-style:none;padding:0;margin:0 0 12px}
.dash-cart-list li{
  display:flex;justify-content:space-between;gap:12px;padding:12px 0;
  border-bottom:1px solid #f1f5f9;font-size:14px;
}
.dash-cart-foot{
  display:flex;justify-content:space-between;align-items:center;padding:12px 0 16px;
  font-size:15px;font-weight:700;
}

/* Shopee-style cart (account + cart.html) */
.scart{margin-top:4px}
.scart-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;
  background:#fff7ed;border:1px solid #fed7aa;border-radius:12px 12px 0 0;
}
.scart-continue{margin-left:auto;font-size:13px;font-weight:700;color:#dc2626;text-decoration:none}
.scart-continue:hover{text-decoration:underline}
.scart-check{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#334155;cursor:pointer;user-select:none}
.scart-check input{width:16px;height:16px;accent-color:#dc2626;cursor:pointer}
.scart-list{list-style:none;padding:0;margin:0;border:1px solid #e2e8f0;border-top:0}
.scart-item{
  display:grid;grid-template-columns:28px 72px minmax(0,1fr) 110px 100px 56px;
  gap:12px;align-items:center;padding:14px;border-bottom:1px solid #f1f5f9;background:#fff;
}
.scart-item:last-child{border-bottom:0}
.scart-item.is-on{background:#fffafa}
.scart-img{width:72px;height:72px;border-radius:10px;object-fit:cover;border:1px solid #f1f5f9;background:#f8fafc}
.scart-img--empty{background:linear-gradient(135deg,#fff1f2,#f8fafc)}
.scart-info{min-width:0}
.scart-title{margin:0 0 4px;font-size:14px;font-weight:700;color:#0f172a;line-height:1.4}
.scart-meta{margin:0 0 4px;font-size:12.5px;color:#64748b}
.scart-unit{margin:0;font-size:12.5px;color:#64748b}
.scart-unit b{color:#0f172a}
.scart-qty{
  display:inline-flex;align-items:center;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;
}
.scart-qty button{
  width:32px;height:32px;border:0;background:#f8fafc;font-size:16px;font-weight:700;cursor:pointer;color:#334155;
}
.scart-qty button:hover{background:#fff1f2;color:#dc2626}
.scart-qty-n{min-width:36px;text-align:center;font-size:13.5px;font-weight:700}
.scart-line{font-size:15px;font-weight:800;color:#dc2626;text-align:right}
.scart-del{
  border:0;background:transparent;color:#94a3b8;font-size:13px;font-weight:700;cursor:pointer;padding:6px;
}
.scart-del:hover{color:#dc2626}
.scart-foot{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-top:0;border-radius:0 0 12px 12px;
  position:sticky;bottom:0;box-shadow:0 -6px 18px rgba(15,23,42,.06);
}
.scart-foot-left{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.scart-foot-meta{font-size:13px;color:#64748b}
.scart-foot-right{display:flex;align-items:center;gap:14px;margin-left:auto}
.scart-total{font-size:14px;color:#334155}
.scart-total strong{display:inline-block;margin-left:6px;font-size:20px;font-weight:800;color:#dc2626}
@media(max-width:800px){
  .scart-item{
    grid-template-columns:28px 64px minmax(0,1fr);
    grid-template-areas:
      "check img info"
      "check img qty"
      "check img line"
      ". . del";
  }
  .scart-check--row{grid-area:check}
  .scart-img,.scart-img--empty{grid-area:img;width:64px;height:64px}
  .scart-info{grid-area:info}
  .scart-qty{grid-area:qty;justify-self:start}
  .scart-line{grid-area:line;text-align:left}
  .scart-del{grid-area:del;justify-self:start}
  .scart-foot-right{width:100%;justify-content:space-between}
}
.dash-actions{display:flex;flex-wrap:wrap;gap:10px}
.dash-wallet-card{
  background:linear-gradient(135deg,#fff1f2 0%,#fff 60%);
  border:1px solid #fecaca;border-radius:14px;padding:16px 18px;margin-bottom:8px;max-width:100%;
}
.dash-wallet-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.dash-wallet-label{margin:0 0 4px;font-size:12px;font-weight:700;color:#9f1239;text-transform:uppercase}
.dash-wallet-value{margin:0;font-size:28px;font-weight:800;color:#dc2626}
.dash-ledger{list-style:none;padding:0;margin:0;max-width:560px}
.dash-ledger li{
  display:flex;justify-content:space-between;gap:12px;padding:12px 0;
  border-bottom:1px solid #f1f5f9;font-size:14px;
}
.dash-ledger small{display:block;font-weight:500;color:#94a3b8;font-size:11.5px;margin-top:2px}
.dash-ledger-empty{color:#94a3b8}
@media(max-width:900px){
  .dash{grid-template-columns:1fr}
  .dash-side{position:static}
  .dash-nav{flex-direction:row;flex-wrap:wrap}
  .dash-nav-btn{width:auto;flex:1 1 auto}
}

.wish-page{background:#f8fafc;padding-bottom:48px}
.wish-page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin:4px 0 22px}
.wish-count{
  margin:0;font-weight:700;color:#dc2626;font-size:13px;white-space:nowrap;
  background:#fff1f2;border:1px solid #fecaca;border-radius:999px;padding:8px 14px;
}
.wish-count:empty,.wish-count[hidden]{display:none!important}
.wish-empty{
  text-align:center;padding:56px 24px 40px;background:#fff;border:1px solid var(--border);
  border-radius:16px;margin-bottom:28px;box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.wish-empty-icon{
  width:72px;height:72px;margin:0 auto 16px;color:#cbd5e1;
  display:flex;align-items:center;justify-content:center;
}
.wish-empty-icon svg{width:100%;height:100%}
.wish-empty h2,.wish-empty-title{
  font-size:20px;margin:0 0 10px;color:var(--text);font-weight:800;
}
.wish-empty-desc{
  color:var(--muted);margin:0 auto 22px;font-size:14.5px;line-height:1.7;max-width:420px;
}
.wish-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:4px}
.wish-empty-actions .btn{
  width:auto!important;min-width:0;min-height:42px;padding:0 22px;font-size:14px;
}
.wish-empty-actions .btn-primary{background:#dc2626;color:#fff;border:0;border-radius:10px}
.wish-empty-actions .btn-primary:hover{background:#b91c1c;color:#fff}
.wish-page.wish-has-items #wishEmpty,
.wish-page.wish-is-empty #wishFilled{display:none!important}
.wish-empty-hint{margin:16px 0 0;font-size:12.5px;color:#94a3b8;line-height:1.5}
.wish-filled{margin-bottom:28px}
.wish-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  margin-bottom:16px;
}
.wish-continue{font-size:14px;font-weight:600;color:#64748b;text-decoration:none}
.wish-continue:hover{color:#dc2626}
.wish-clear-btn{min-height:40px;font-size:13px}
.wish-grid.card-grid{margin-top:4px}
.wish-item{
  display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;
  background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.wish-item:hover{border-color:#fecaca;box-shadow:0 10px 24px rgba(220,38,38,.08)}
.wish-item-thumb{
  display:block;width:112px;height:112px;border-radius:10px;overflow:hidden;background:#f1f5f9;
}
.wish-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.wish-item-ph{display:block;width:100%;height:100%;background:#e2e8f0}
.wish-item-body{display:flex;flex-direction:column;min-width:0;gap:6px}
.wish-item-shop{margin:0;font-size:12px;font-weight:600;color:#94a3b8}
.wish-item-title{margin:0;font-size:16px;font-weight:700;line-height:1.35}
.wish-item-title a{color:#0f172a;text-decoration:none}
.wish-item-title a:hover{color:#dc2626}
.wish-item-price{display:flex;align-items:baseline;gap:8px}
.wish-item-price strong{font-size:18px;color:#dc2626;font-weight:800}
.wish-item-old{font-size:13px;color:#94a3b8;text-decoration:line-through}
.wish-item-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:8px}
.wish-item-actions .btn{min-height:40px;padding:0 14px;font-size:13px;width:auto}
.wish-item-actions .btn-primary{background:#dc2626;color:#fff;border:0}
.wish-remove{
  display:inline-flex;align-items:center;gap:6px;margin-left:auto;
  border:0;background:transparent;color:#94a3b8;font:inherit;font-size:13px;font-weight:600;
  cursor:pointer;padding:8px 4px;
}
.wish-remove:hover{color:#dc2626}
.wish-list{display:flex;flex-direction:column;gap:12px}
.wish-seo{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px 24px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);max-width:100%;
}
.wish-seo h2{margin:0 0 10px;font-size:18px;color:#0f172a}
.wish-seo > p{margin:0 0 16px;font-size:14.5px;line-height:1.7;color:#475569}
.wish-faq details{border-top:1px solid #f1f5f9;padding:12px 0}
.wish-faq summary{
  cursor:pointer;font-weight:700;font-size:14px;color:#0f172a;list-style:none;
}
.wish-faq summary::-webkit-details-marker{display:none}
.wish-faq summary::after{content:"＋";float:right;color:#94a3b8;font-weight:600}
.wish-faq details[open] summary::after{content:"－"}
.wish-faq details p{margin:10px 0 0;font-size:14px;line-height:1.65;color:#64748b}
.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
@media(max-width:700px){
  .wish-item{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px}
  .wish-item-thumb{width:88px;height:88px}
  .wish-item-title{font-size:14.5px}
  .wish-remove{margin-left:0;width:100%;justify-content:flex-start}
  .wish-page-head{flex-direction:column;align-items:flex-start}
}

.topup-page{background:#f8fafc;padding-bottom:48px}
.topup-page-head{max-width:720px;margin:4px 0 22px}
.topup-trust{margin-top:14px;justify-content:flex-start}
.topup-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr);gap:20px;align-items:start;margin-bottom:28px}
.topup-card{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.topup-balance-card{
  background:linear-gradient(135deg,#fff1f2 0%,#fff 55%);
  border:1px solid #fecaca;border-radius:14px;padding:18px 18px 16px;margin-bottom:18px;
}
.topup-balance-label{margin:0 0 4px;font-size:12px;font-weight:700;color:#9f1239;text-transform:uppercase;letter-spacing:.04em}
.topup-balance-value{margin:0 0 6px;font-size:32px;font-weight:800;color:#dc2626;line-height:1.1}
.topup-balance-hint{margin:0;font-size:13px;color:#64748b}
.topup-section-title,.topup-field-label{display:block;font-size:13px;font-weight:700;color:#0f172a;margin:0 0 10px}
.topup-field-label{margin-top:14px}
.topup-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 4px}
.topup-preset{
  border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:12px 10px;
  cursor:pointer;font-weight:700;font-size:13px;color:#0f172a;transition:.15s ease;
}
.topup-preset.active,.topup-preset:hover{border-color:#dc2626;color:#dc2626;background:#fff1f2}
.topup-amount-wrap{
  display:flex;align-items:center;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;max-width:100%;margin-bottom:16px;background:#fff;
}
.topup-amount-wrap input{
  flex:1;border:0;padding:12px 14px;font-size:16px;font-weight:700;outline:none;width:100%;margin:0;
}
.topup-amount-wrap span{padding:0 14px;font-weight:700;color:#64748b;background:#f8fafc;align-self:stretch;display:flex;align-items:center}
.topup-cta{width:100%;background:#dc2626;color:#fff;min-height:46px;margin-top:4px}
.topup-cta:hover{background:#b91c1c;color:#fff}
.topup-result{margin-top:16px}
.topup-success,.topup-pending{
  border-radius:12px;padding:14px 16px;border:1px solid #bbf7d0;background:#f0fdf4;
}
.topup-pending{border-color:#fecaca;background:#fff1f2}
.topup-success p,.topup-pending p{margin:6px 0 10px;color:#475569;font-size:14px}
.topup-pending .btn{margin-top:8px;width:100%}
.topup-side-title{margin:0 0 14px;font-size:16px}
.topup-ledger-list{list-style:none;padding:0;margin:0}
.topup-ledger-list li{
  display:flex;justify-content:space-between;gap:12px;padding:12px 0;
  border-bottom:1px solid #f1f5f9;font-size:14px;
}
.topup-ledger-type{font-weight:600;color:#0f172a}
.topup-ledger-empty{color:#94a3b8;font-size:13px;padding:8px 0;display:block}
.amt-plus{color:#059669}.amt-minus{color:#dc2626}
.topup-side-link{display:inline-block;margin-top:14px;color:#dc2626;font-weight:700;font-size:13px}
.topup-locked{text-align:center;max-width:480px;margin:0 auto;padding:28px 12px}
.topup-locked-icon{font-size:28px;margin-bottom:8px}
.topup-locked h2{margin:0 0 8px;font-size:22px}
.topup-locked p{margin:0 0 18px;color:#64748b;line-height:1.6}
.topup-locked-actions{display:flex;flex-direction:column;gap:10px}
.topup-guide{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px 24px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.topup-guide h2{margin:0 0 12px;font-size:18px}
.topup-guide-steps{margin:0;padding-left:18px;color:#475569;line-height:1.8;font-size:14.5px}
.topup-guide-more{margin:14px 0 0;font-size:13px;color:#64748b}
.topup-loading{color:#64748b}
@media(max-width:900px){
  .account-grid,.topup-layout,.account-dash-cards{grid-template-columns:1fr}
  .topup-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wish-page-head{flex-direction:column;align-items:flex-start}
}
.cart-page{background:#f8fafc;padding-bottom:48px}
.cart-steps{background:#dc2626;color:#fff;margin-bottom:22px}
.cart-steps-inner{
  display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  padding:12px 16px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
}
.cart-step{opacity:.7}
.cart-step.is-active{opacity:1}
.cart-step-sep{opacity:.55;font-weight:500}
.cart-page-inner{padding-top:4px}
.cart-filled{margin:0 0 36px}
.cart-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.cart-panel{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px 22px 8px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.cart-kicker{margin:0 0 6px;color:#dc2626;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.cart-panel h1{margin:0 0 8px;font-size:26px;line-height:1.25;color:#0f172a}
.cart-lead{margin:0 0 14px;color:#64748b;font-size:14px;line-height:1.55;max-width:54ch}
.cart-trust{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.cart-trust span{
  display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;
  background:#f1f5f9;color:#475569;font-size:12px;font-weight:600;
}
.cart-continue{
  display:inline-flex;align-items:center;gap:4px;margin-bottom:16px;
  color:#dc2626;font-size:13px;font-weight:700;text-decoration:none;
}
.cart-continue:hover{text-decoration:underline}
.cart-table-wrap{border-top:1px solid #f1f5f9;margin:0 -6px}
.cart-table-head{
  display:grid;grid-template-columns:minmax(0,1.6fr) .7fr .85fr .7fr;gap:12px;
  padding:12px 14px 8px;font-size:11px;font-weight:800;letter-spacing:.05em;
  text-transform:uppercase;color:#94a3b8;
}
.cart-table-head span:nth-child(2),
.cart-table-head span:nth-child(3),
.cart-table-head span:nth-child(4){text-align:center}
.cart-lines{list-style:none;padding:0;margin:0}
.cart-line-card{
  position:relative;
  display:grid;grid-template-columns:minmax(0,1.6fr) .7fr .85fr .7fr;gap:12px;align-items:center;
  margin:0 6px 14px;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.03);transition:box-shadow .2s ease, transform .2s ease;
}
.cart-line-card:hover{box-shadow:0 10px 22px rgba(15,23,42,.07);transform:translateY(-1px)}
.cart-line-x{
  position:absolute;top:10px;right:10px;width:28px;height:28px;border:0;border-radius:50%;
  background:#fef2f2;color:#dc2626;font-size:18px;line-height:1;cursor:pointer;z-index:2;
}
.cart-line-x:hover{background:#fee2e2}
.cart-line-product{display:flex;align-items:center;gap:14px;min-width:0;padding-right:18px}
.cart-line-img{
  width:88px;height:88px;object-fit:cover;border-radius:12px;background:#f8fafc;
  border:1px solid #f1f5f9;flex-shrink:0;
}
.cart-line-img--empty{background:linear-gradient(135deg,#fff1f2,#f8fafc)}
.cart-line-info{min-width:0}
.cart-line-info h3{
  margin:0 0 6px;font-size:14.5px;line-height:1.4;color:#0f172a;font-weight:700;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.cart-line-meta{margin:0;font-size:12.5px;color:#64748b;line-height:1.45}
.cart-line-cell{font-size:14px;font-weight:700;color:#0f172a;text-align:center}
.cart-line-cell--sub{color:#dc2626;font-size:15px}
.cart-qty{
  display:inline-flex;align-items:center;gap:0;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff;
}
.cart-qty button{
  width:34px;height:34px;border:0;background:#fff;color:#0f172a;font-size:16px;cursor:pointer;
}
.cart-qty button:hover{background:#fff1f2;color:#dc2626}
.cart-qty span{
  min-width:36px;text-align:center;font-weight:700;font-size:14px;border-left:1px solid #e2e8f0;border-right:1px solid #e2e8f0;
}
.cart-summary-card{
  background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:20px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);position:sticky;top:90px;
}
.cart-summary-card h2{margin:0 0 16px;font-size:18px;color:#0f172a}
.cart-sum-row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:8px 0;font-size:14px;color:#64748b;border-bottom:1px solid #f1f5f9;
}
.cart-sum-row strong{color:#0f172a;font-weight:700}
.cart-sum-row--total{border-bottom:0;padding-top:12px;margin-top:4px}
.cart-sum-row--total span{font-weight:700;color:#0f172a}
.cart-sum-row--total strong{color:#dc2626;font-size:22px;font-weight:800}
.cart-checkout-btn{display:block;text-align:center;margin-top:16px;min-height:46px;font-size:15px;background:#dc2626;color:#fff}
.cart-checkout-btn:hover{background:#b91c1c;color:#fff}
.cart-sum-note{margin:12px 0 0;font-size:12.5px;color:#64748b;line-height:1.5}
.cart-sum-note a{color:#dc2626;font-weight:700}
.cart-together{margin:8px 0 20px}
.cart-together h2{margin:0 0 16px;font-size:20px;color:#0f172a}
.cart-together-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
@media(max-width:1100px){
  .cart-together-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .cart-checkout-grid{grid-template-columns:1fr}
  .cart-summary-card{position:static}
  .cart-table-head{display:none}
  .cart-line-card{grid-template-columns:1fr;gap:10px}
  .cart-line-cell{display:flex;justify-content:space-between;align-items:center;text-align:left}
  .cart-line-cell::before{
    content:attr(data-label);font-size:12px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;
  }
  .cart-together-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .cart-panel{padding:16px 14px 6px}
  .cart-panel h1{font-size:22px}
  .cart-line-img{width:72px;height:72px}
  .cart-together-grid{grid-template-columns:1fr 1fr}
}
.checkout-layout,.checkout-app{margin:20px 0 48px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}
.checkout-items ul,.checkout-side{list-style:none;padding:0}
.checkout-items li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9}
.checkout-side{border:1px solid var(--border);border-radius:12px;padding:18px;background:#fff}
.checkout-note{font-size:13px;color:var(--muted);line-height:1.5;margin-top:14px}
.checkout-promo-box{
  margin-top:18px;padding:14px;border:1px solid #fee2e2;border-radius:12px;background:#fffafa;
}
.checkout-promo-box h3{margin:0 0 8px;font-size:15px;font-weight:800;color:#0f172a}
.checkout-promo-hint{margin:0 0 10px;font-size:13px;color:#64748b;line-height:1.45}
.checkout-promo-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.checkout-promo-chip{
  appearance:none;border:1px solid #fecaca;background:#fff;color:#9f1239;
  border-radius:999px;padding:6px 12px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;
}
.checkout-promo-chip:hover{background:#fff1f2;border-color:#dc2626}
.checkout-promo-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.checkout-promo-form input{
  flex:1;min-width:160px;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;font:inherit;text-transform:uppercase;
}
.checkout-promo-msg{margin:10px 0 0;font-size:13px;color:#64748b;min-height:1.2em}
.checkout-promo-msg.ok{color:#166534}
.checkout-promo-msg.err{color:#dc2626}
.checkout-sum{margin:12px 0 16px;display:flex;flex-direction:column;gap:8px}
.checkout-sum > div{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#475569}
.checkout-sum-disc strong{color:#16a34a}
.checkout-sum-pay{padding-top:8px;border-top:1px dashed #e2e8f0;font-size:15px;color:#0f172a}
.checkout-sum-pay strong{font-size:18px;font-weight:800;color:#dc2626}
.orders-head{margin:12px 0 22px}
.orders-head h1{margin:0 0 8px;font-size:22px}
.orders-list{display:flex;flex-direction:column;gap:14px;margin-bottom:48px}
.order-card{border:1px solid var(--border);border-radius:12px;padding:16px;background:#fff}
.order-card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}
.order-meta,.order-note{font-size:13px;color:var(--muted)}
.order-note{white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px;overflow:auto}
.order-delivery{margin:12px 0;padding:12px;border-radius:10px;background:#f0fdf4;border:1px solid #bbf7d0}
.order-delivery-title{margin:0 0 8px;font-weight:800;color:#166534;font-size:13.5px}
.order-delivery-block{margin:0 0 10px}
.order-delivery-block:last-child{margin-bottom:0}
.order-delivery-block code{
  display:block;margin-top:6px;padding:8px 10px;border-radius:8px;background:#fff;
  border:1px solid #dcfce7;font-size:12.5px;word-break:break-all;color:#0f172a
}
.stock-app{max-width:920px;margin:0 auto 40px}
.stock-import{margin:18px 0 28px;padding:20px;border:1px solid var(--border);border-radius:14px;background:#fff}
.stock-import h2,.stock-list-sec h2{font-size:18px;margin:0 0 12px}
.stock-help{font-size:13.5px;color:var(--muted);line-height:1.6;margin:0 0 16px}
.stock-help code{display:inline-block;background:#f1f5f9;padding:2px 8px;border-radius:6px;margin:4px 0;font-size:12.5px}
.stock-form label{display:block;font-size:13px;font-weight:600;margin:12px 0 6px}
.stock-form select,.stock-form input,.stock-form textarea{
  width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;font:inherit;background:#fff
}
.stock-form textarea{font-family:ui-monospace,Consolas,monospace;font-size:13px;line-height:1.5}
.stock-form .btn{margin-top:14px}
.stock-msg{margin-top:12px;font-size:14px;font-weight:600}
.stock-msg-ok{color:#15803d}
.stock-msg-err{color:#b91c1c}
.stock-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px}
.stock-table{width:100%;border-collapse:collapse;font-size:13.5px;background:#fff}
.stock-table th,.stock-table td{padding:12px 14px;border-bottom:1px solid #eef2f7;text-align:left;vertical-align:top}
.stock-table th{background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.03em;color:#64748b}
.stock-muted{color:#64748b;font-size:12.5px}
.stock-ok{color:#15803d}
.dispute-form{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.dispute-form textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:10px;font:inherit}
.linkish{background:none;border:0;color:#dc2626;cursor:pointer;text-decoration:underline;padding:0;font:inherit}
@media(max-width:800px){
  .checkout-layout{grid-template-columns:1fr}
}

/* ===== Shop profile (sidebar + product grid) ===== */
.shop-page{background:#eef1f4;padding-bottom:56px}
.shop-layout{
  display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start;margin:8px 0 28px;
}
.shop-side{display:flex;flex-direction:column;gap:14px;position:sticky;top:88px}
.shop-seller-card,.shop-lang-card{
  background:#1a1d21;color:#e5e7eb;border-radius:16px;padding:16px 16px 18px;
  box-shadow:0 10px 28px rgba(15,23,42,.18);
}
.shop-seller-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.shop-seller-label{font-size:14px;font-weight:700;color:#f3f4f6}
.shop-online{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#86efac;
  background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.28);padding:4px 10px;border-radius:999px;
}
.shop-online-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.shop-seller-profile{text-align:center}
.shop-avatar{
  width:84px;height:84px;margin:0 auto 12px;border-radius:50%;
  background:linear-gradient(145deg,#334155,#0f172a);border:3px solid #334155;
  color:#f8fafc;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:26px;letter-spacing:.02em;
}
.shop-avatar-wrap{
  width:88px;height:88px;margin:0 auto 12px;border-radius:50%;padding:3px;
  background:linear-gradient(135deg,#64748b,#0f172a);box-shadow:0 8px 20px rgba(0,0,0,.28);
}
.shop-avatar-img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;background:#0f172a}
.shop-city-line{margin:8px 0 0;font-size:12.5px;color:#94a3b8}
.chat-fab--shop{background:#0f172a}
.chat-panel-header .chat-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#fff}
.shop-seller-name-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.shop-seller-name{margin:0;font-size:20px;font-weight:800;color:#fff;line-height:1.2}
.shop-level{
  display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;
  background:#0ea5e9;color:#fff;font-size:11px;font-weight:800;letter-spacing:.02em;
}
.shop-success{margin:0 0 12px;font-size:13px;font-weight:600;color:#86efac}
.shop-meta-line{
  margin:0 0 8px;display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:13px;color:#cbd5e1;
}
.shop-meta-line svg{flex-shrink:0;opacity:.85}
.shop-token-line{margin:10px 0 0;font-size:11.5px;color:#94a3b8}
.shop-token-line code{
  font-size:11px;background:#0f172a;color:#e2e8f0;padding:2px 7px;border-radius:6px;word-break:break-all;
}
.shop-seller-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.shop-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:40px;padding:8px 10px;border-radius:999px;font-size:13px;font-weight:700;
  text-decoration:none;white-space:nowrap;line-height:1;
}
.shop-btn svg{flex-shrink:0}
.shop-btn-chat{background:#2a2f36;color:#f8fafc;border:1px solid #3f4650}
.shop-btn-chat:hover{background:#343b44;color:#fff}
.shop-btn-view{
  background:linear-gradient(90deg,#ef4444,#f97316);color:#fff;
  box-shadow:0 8px 18px rgba(239,68,68,.28);
}
.shop-btn-view:hover{filter:brightness(1.05);color:#fff}
.shop-side-title{margin:0 0 12px;font-size:14px;font-weight:700;color:#f3f4f6}
.shop-lang-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.shop-lang-item{
  background:#111417;border:1px solid #2a2f36;border-radius:12px;padding:12px 10px;text-align:center;
}
.shop-lang-item strong{display:block;font-size:13px;color:#f8fafc;margin-bottom:4px}
.shop-lang-item span{font-size:11px;color:#94a3b8;font-weight:600}
.shop-main{
  background:#fff;border-radius:16px;padding:18px 18px 22px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);border:1px solid #e5e7eb;min-width:0;
}
.shop-search{display:flex;gap:10px;margin:0 0 16px}
.shop-search input{
  flex:1;min-width:0;height:44px;border:1px solid #e5e7eb;border-radius:999px;padding:0 18px;
  font:inherit;font-size:14px;background:#f8fafc;color:#0f172a;
}
.shop-search input:focus{outline:none;border-color:#94a3b8;background:#fff}
.shop-search-btn{
  flex:0 0 auto;min-width:88px;height:44px;border:0;border-radius:999px;padding:0 20px;
  background:#111827;color:#fff;font:inherit;font-size:14px;font-weight:800;letter-spacing:.04em;cursor:pointer;
}
.shop-search-btn:hover{background:#000}
.shop-products-bar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 14px}
.shop-products-bar h2{margin:0;font-size:18px;color:#0f172a}
.shop-products-count{margin:0;color:#64748b;font-size:13.5px}
.shop-search-empty{margin:18px 0 0;text-align:center;color:#64748b;font-size:14px}
.product-shop-token{margin:10px 0;font-size:13px;color:#64748b}
.product-shop-token code{background:#f1f5f9;padding:2px 8px;border-radius:6px}
.product-shop-token a{color:#dc2626;font-weight:700}
.product-seller-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.product-seller-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid #e2e8f0;background:#fff}
.product-seller-sub{margin:4px 0 0;font-size:13px;color:#64748b}
.product-seller-verified-inline{color:#15803d;font-weight:700}
.product-shop-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.product-seller-bar{
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  padding:14px 16px;border-radius:12px;background:#fff;border:1px solid #e5e7eb;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.product-seller-bar-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 220px}
.product-seller-bar-avatar{
  flex-shrink:0;width:56px;height:56px;border-radius:50%;overflow:hidden;
  border:1px solid #e2e8f0;background:#f8fafc;display:block;
}
.product-seller-bar-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.product-seller-bar-info{min-width:0;flex:1}
.product-seller-bar-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.product-seller-bar-name{
  font-size:15px;font-weight:800;color:#0f172a;text-decoration:none;line-height:1.2;
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.product-seller-bar-name:hover{color:var(--brand)}
.product-seller-bar-level{
  display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;
  background:#eff6ff;color:#2563eb;font-size:11px;font-weight:800;
}
.product-seller-bar-online{
  display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:#16a34a;
}
.product-seller-bar-online-dot{width:6px;height:6px;border-radius:50%;background:#22c55e}
.product-seller-bar-stats{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  font-size:12px;color:#64748b;font-weight:600;margin-bottom:2px;
}
.product-seller-bar-sep{color:#cbd5e1}
.product-seller-bar-verified{display:inline-flex;align-items:center;gap:4px;color:#15803d;font-weight:700}
.product-seller-bar-meta{font-size:11.5px;color:#94a3b8}
.product-seller-bar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.product-seller-bar-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:36px;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:700;
  text-decoration:none;white-space:nowrap;line-height:1;
}
.product-seller-bar-btn-chat{
  color:var(--brand);background:#fff;border:1px solid var(--brand);
}
.product-seller-bar-btn-chat:hover{background:#fff5f5;color:var(--brand)}
.product-seller-bar-btn-shop{
  color:#fff;background:var(--brand);border:1px solid var(--brand);
}
.product-seller-bar-btn-shop:hover{filter:brightness(1.05);color:#fff}
@media (max-width:640px){
  .product-seller-bar{align-items:stretch}
  .product-seller-bar-actions{width:100%}
  .product-seller-bar-btn{flex:1}
}
@media(max-width:980px){
  .shop-layout{grid-template-columns:1fr}
  .shop-side{position:static}
}
@media(max-width:560px){
  .shop-main{padding:14px}
  .shop-search{flex-direction:column}
  .shop-search-btn{width:100%}
  .shop-seller-actions{grid-template-columns:1fr}
}
