/* ==========================================================================
   STOREFRONT THEME — modern marketplace look (loaded after main.css)
   Brand colours come from Admin → Branding via CSS variables (--brand…).
   ========================================================================== */
:root {
  --brand:#F68B1E; --brand-rgb:246,139,30; --brand-dark:#c9701a; --brand-darker:#995512; --brand-light:#fde0c2; --brand-pale:#fef4ea;
  --ink:#1F2937; --ink-soft:#4b5563; --accent:#E11D48; --accent-dark:#b4173a;
  --bg:#f4f5f7; --card:#fff; --line:#e9eaee; --muted:#6b7280; --muted-2:#9ca3af; --ok:#16a34a; --warn:#d97706; --err:#dc2626;
  --r-sm:8px; --r:12px; --r-lg:18px;
  --sh-1:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.06);
  --sh-2:0 6px 18px -6px rgba(16,24,40,.14);
  --sh-3:0 18px 40px -12px rgba(16,24,40,.25);
}
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body { font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; background:var(--bg); color:#111827; font-size:14px; line-height:1.5; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font-family:inherit; }
.ic { flex-shrink:0; vertical-align:middle; }
.container { max-width:1240px; padding:0 14px; }
[hidden] { display:none !important; }
a:focus-visible, button:focus-visible, input:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }

/* ── Buttons ── */
.btn-brand,.btn-dark,.btn-ghost,.btn-accent { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:10px; padding:11px 20px; font-weight:700; font-size:14px; cursor:pointer; text-decoration:none; transition:transform .12s, filter .12s, background .12s, box-shadow .12s; line-height:1.2; }
.btn-brand { background:var(--brand); color:#fff; box-shadow:0 6px 16px -6px rgba(var(--brand-rgb),.6); }
.btn-brand:hover { filter:brightness(1.06); transform:translateY(-1px); }
.btn-dark { background:var(--ink); color:#fff; }
.btn-accent { background:var(--accent); color:#fff; }
.btn-ghost { background:#fff; color:#111827; border:1.5px solid var(--line); }
.btn-ghost:hover { border-color:var(--brand); color:var(--brand-dark); }
.btn-brand.lg,.btn-dark.lg,.btn-ghost.lg { padding:14px 26px; font-size:15px; border-radius:12px; }
.btn-brand.block,.btn-dark.block,.btn-ghost.block { display:flex; width:100%; }
.btn-brand[disabled],.btn-dark[disabled] { opacity:.6; cursor:not-allowed; transform:none; }
.eyebrow { display:inline-block; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-dark); background:var(--brand-pale); padding:4px 10px; border-radius:20px; }
.eyebrow.light { background:rgba(255,255,255,.12); color:#fff; }

/* ── Top strip ── */
.topstrip { background:var(--ink); color:rgba(255,255,255,.78); font-size:12px; }
.topstrip-in { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:34px; }
.topstrip-msg { display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.topstrip-links { display:flex; gap:18px; }
.topstrip-links a { color:rgba(255,255,255,.78); display:inline-flex; align-items:center; gap:5px; }
.topstrip-links a:hover { color:#fff; }

/* ── Header ── */
.site-header { background:#fff; position:sticky; top:0; z-index:300; box-shadow:0 1px 0 var(--line); transition:box-shadow .2s; }
.site-header.scrolled { box-shadow:var(--sh-2); }
.hdr { display:flex; align-items:center; gap:18px; padding-top:14px; padding-bottom:14px; }
.hdr-burger { display:none; background:none; border:0; padding:6px; margin-left:-6px; color:var(--ink); cursor:pointer; }
.brand { display:flex; align-items:center; gap:10px; color:var(--ink); flex-shrink:0; text-decoration:none; }
.brand-logo { height:42px; max-width:180px; object-fit:contain; }
.brand-name { font-size:21px; font-weight:900; letter-spacing:-.03em; }
.brand.light, .brand.light .brand-name { color:#fff; }
.logo-mark { width:40px; height:40px; border-radius:12px; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:15px; letter-spacing:-.02em; box-shadow:0 6px 14px -6px rgba(var(--brand-rgb),.8); }
.logo-mark.big { width:72px; height:72px; font-size:26px; border-radius:20px; margin:0 auto; }
.hsearch { flex:1; display:flex; max-width:680px; height:46px; border:2px solid var(--brand); border-radius:12px; overflow:hidden; background:#fff; }
.hsearch input { flex:1; border:0; outline:0; padding:0 16px; font-size:14.5px; min-width:0; background:transparent; }
.hsearch input::-webkit-search-cancel-button { display:none; }
.hsearch button { border:0; background:var(--brand); color:#fff; padding:0 22px; font-weight:700; display:flex; align-items:center; gap:8px; cursor:pointer; font-size:14px; }
.hsearch button:hover { background:var(--brand-dark); }
.hdr-actions { display:flex; align-items:center; gap:4px; margin-left:auto; }
.hact { position:relative; }
.hact-btn { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:10px; color:var(--ink); text-decoration:none; }
.hact-btn:hover { background:var(--bg); color:var(--brand-dark); }
.hact-txt { display:flex; flex-direction:column; line-height:1.15; }
.hact-txt small { font-size:11px; color:var(--muted); }
.hact-txt b { font-size:13.5px; font-weight:700; }
.hact-ico { position:relative; display:flex; }
.cart-count { position:absolute; top:-7px; right:-9px; min-width:19px; height:19px; padding:0 5px; border-radius:10px; background:var(--accent); color:#fff; font-size:11px; font-weight:800; display:flex; align-items:center; justify-content:center; border:2px solid #fff; }
.cart-count.bump { animation:bump .35s ease; }
@keyframes bump { 50% { transform:scale(1.35); } }
.hact-menu { position:absolute; right:0; top:calc(100% + 6px); background:#fff; border-radius:14px; box-shadow:var(--sh-3); padding:8px; min-width:220px; opacity:0; visibility:hidden; transform:translateY(6px); transition:all .16s; z-index:50; border:1px solid var(--line); }
.hact-account:hover .hact-menu, .hact-account.open .hact-menu { opacity:1; visibility:visible; transform:none; }
.hact-menu a { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:9px; color:#111827; font-weight:500; }
.hact-menu a:hover { background:var(--bg); }
.hact-menu a.danger { color:var(--err); }
.hact-menu .hact-menu-cta { background:var(--brand); color:#fff; justify-content:center; font-weight:700; margin-bottom:4px; }
.hact-menu .hact-menu-cta:hover { background:var(--brand-dark); }

/* Category nav */
.catnav { border-top:1px solid var(--line); background:#fff; }
.catnav-in { display:flex; align-items:center; gap:10px; height:44px; }
.allcats { position:relative; flex-shrink:0; }
.allcats-btn { height:44px; display:flex; align-items:center; gap:8px; background:var(--brand); color:#fff; border:0; padding:0 16px; font-weight:700; font-size:13.5px; cursor:pointer; border-radius:0; min-width:220px; }
.allcats-btn .ic:last-child { margin-left:auto; }
.allcats-menu { position:absolute; left:0; top:100%; width:260px; background:#fff; box-shadow:var(--sh-3); border-radius:0 0 14px 14px; padding:6px 0; opacity:0; visibility:hidden; transition:all .15s; z-index:60; max-height:70vh; overflow:auto; }
.allcats:hover .allcats-menu, .allcats.open .allcats-menu { opacity:1; visibility:visible; }
.allcats-menu a { display:flex; align-items:center; gap:10px; padding:9px 16px; color:#111827; font-size:13.5px; }
.allcats-menu a:hover { background:var(--brand-pale); color:var(--brand-dark); }
.allcats-menu a .ar { margin-left:auto; color:var(--muted-2); }
.allcats-menu .allcats-all { border-top:1px solid var(--line); margin-top:6px; padding-top:12px; font-weight:700; color:var(--brand-dark); }
.allcats-empty { display:block; padding:12px 16px; color:var(--muted); font-size:13px; }
.ci { width:22px; text-align:center; font-size:16px; }
.catnav-links { display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; flex:1; }
.catnav-links::-webkit-scrollbar { display:none; }
.catnav-links a { padding:0 12px; height:44px; display:flex; align-items:center; gap:6px; white-space:nowrap; font-weight:600; font-size:13.5px; color:#374151; border-bottom:2px solid transparent; }
.catnav-links a:hover { color:var(--brand-dark); border-bottom-color:var(--brand); }
.catnav-links .cn-flash { color:var(--accent); font-weight:800; }
.cn-wa { display:flex; align-items:center; gap:6px; font-weight:700; color:#128C7E; white-space:nowrap; font-size:13px; }

/* Drawer */
.drawer { position:fixed; top:0; bottom:0; left:0; width:min(320px,86vw); background:#fff; z-index:1001; transform:translateX(-102%); transition:transform .25s ease; display:flex; flex-direction:column; }
.drawer-scrim { position:fixed; inset:0; background:rgba(15,23,42,.5); z-index:1000; opacity:0; visibility:hidden; transition:opacity .2s; }
body.drawer-open { overflow:hidden; }
body.drawer-open .drawer { transform:none; }
body.drawer-open .drawer-scrim { opacity:1; visibility:visible; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--line); }
.drawer-head button { background:none; border:0; cursor:pointer; color:#111827; }
.drawer-body { overflow:auto; padding:14px 12px 30px; display:flex; flex-direction:column; gap:2px; }
.drawer-label { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); padding:16px 8px 6px; }
.drawer-link { display:flex; align-items:center; gap:10px; padding:11px 8px; border-radius:9px; color:#111827; font-weight:500; }
.drawer-link:hover { background:var(--bg); }
.drawer-user { display:flex; align-items:center; gap:10px; padding:12px; background:var(--bg); border-radius:12px; font-weight:700; }
.drawer-flash { margin-top:10px; display:flex; align-items:center; gap:8px; padding:12px; border-radius:12px; color:#fff; font-weight:800; background:linear-gradient(100deg,var(--accent),var(--brand)); }

/* ── Generic section card ── */
.home { padding-top:16px; padding-bottom:10px; }
.sec { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); margin-bottom:16px; overflow:hidden; }
.sec-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px 6px; }
.sec-head h2 { font-size:19px; font-weight:800; letter-spacing:-.02em; display:flex; align-items:center; gap:8px; color:#111827; }
.sec-head.center { justify-content:center; text-align:center; padding-bottom:18px; }
.sec-head .see { font-weight:700; color:var(--brand-dark); display:flex; align-items:center; gap:4px; font-size:13.5px; white-space:nowrap; }
.sec-body { padding:10px 18px 18px; }
.rail-wrap { position:relative; }
.rail { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 5*12px)/6); gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:2px 0 4px; }
.rail::-webkit-scrollbar { display:none; }
.rail > * { scroll-snap-align:start; }
.rail-btn { position:absolute; top:38%; width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid var(--line); box-shadow:var(--sh-2); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:3; color:#111827; }
.rail-btn.prev { left:-14px; } .rail-btn.prev .ic { transform:rotate(180deg); } .rail-btn.next { right:-14px; }
.pgrid { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.pgrid.cols-5 { grid-template-columns:repeat(5,1fr); }
.pgrid.cols-4 { grid-template-columns:repeat(4,1fr); }

/* ── Product card ── */
.pc { position:relative; background:#fff; border-radius:14px; border:1px solid var(--line); display:flex; flex-direction:column; overflow:hidden; transition:box-shadow .18s, transform .18s, border-color .18s; min-width:0; }
.pc:hover { box-shadow:var(--sh-2); transform:translateY(-2px); border-color:transparent; }
.pc-img { position:relative; display:block; aspect-ratio:1/1; background:#f7f7f9; overflow:hidden; }
.pc-img img { width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.pc:hover .pc-img img { transform:scale(1.04); }
.pc-noimg { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#cbd0d8; }
.pc-badge { position:absolute; top:8px; left:8px; background:var(--brand-pale); color:var(--brand-darker); font-size:11.5px; font-weight:800; padding:3px 7px; border-radius:6px; display:flex; align-items:center; gap:3px; }
.pc-badge-flash { background:var(--accent); color:#fff; }
.pc-soldout { position:absolute; inset:auto 0 0 0; background:rgba(17,24,39,.75); color:#fff; text-align:center; font-weight:700; font-size:12px; padding:6px; }
.pc-out .pc-img img { filter:grayscale(.6); opacity:.8; }
.pc-wish { position:absolute; top:8px; right:8px; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.92); border:0; display:flex; align-items:center; justify-content:center; color:#6b7280; cursor:pointer; box-shadow:var(--sh-1); z-index:2; transition:transform .12s, color .12s; }
.pc-wish:hover { transform:scale(1.1); color:var(--accent); }
.pc-wish.on { color:var(--accent); } .pc-wish.on svg { fill:currentColor; }
.pc-body { padding:10px 12px 8px; display:flex; flex-direction:column; gap:2px; flex:1; }
.pc-name { font-size:13.5px; color:#1f2937; line-height:1.35; height:2.7em; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; margin-bottom:4px; }
.pc-name:hover { color:var(--brand-dark); }
.pc-price { font-size:16px; font-weight:800; color:#111827; letter-spacing:-.01em; }
.pc-old { font-size:12.5px; color:var(--muted-2); text-decoration:line-through; min-height:18px; }
.pc-old-empty { text-decoration:none; }
.pc-rating { font-size:12px; color:var(--muted); display:flex; align-items:center; gap:4px; margin-top:2px; }
.stars { color:#f59e0b; letter-spacing:1px; font-size:12.5px; }
.stars-off { color:#e5e7eb; }
.pc-store { font-size:11.5px; color:var(--muted); display:flex; align-items:center; gap:4px; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc-flashtxt { font-size:11.5px; font-weight:700; color:var(--accent); margin-top:6px; display:flex; justify-content:space-between; }
.pc-flashtxt small { color:var(--muted); font-weight:500; }
.pc-flashbar { height:6px; border-radius:6px; background:#ffe1e7; overflow:hidden; margin-top:4px; }
.pc-flashbar-fill { height:100%; background:linear-gradient(90deg,#fb7185,var(--accent)); border-radius:6px; }
.pc-add { margin:0 10px 10px; border:1.5px solid var(--brand); background:#fff; color:var(--brand-dark); border-radius:9px; padding:8px; font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; transition:all .15s; }
.pc-add:hover { background:var(--brand); color:#fff; }
.pc-add.loading { opacity:.6; pointer-events:none; }
@media (hover:hover) and (min-width:900px) {
  .pc-add { position:absolute; left:10px; right:10px; bottom:10px; margin:0; background:var(--brand); color:#fff; opacity:0; transform:translateY(8px); transition:all .18s; }
  .pc:hover .pc-add { opacity:1; transform:none; }
  .pc .pc-body { padding-bottom:12px; }
}

/* ── Home hero (category list | slider | promo column) ── */
.hero3 > * { min-width:0; }
.hero3 { display:grid; grid-template-columns:230px 1fr 250px; gap:14px; margin-bottom:16px; }
.hero-cats { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:8px 0; max-height:400px; overflow:auto; }
.hero-cats a { display:flex; align-items:center; gap:10px; padding:8.5px 16px; font-size:13.5px; color:#1f2937; }
.hero-cats a:hover { background:var(--brand-pale); color:var(--brand-dark); }
.hero-cats a .ar { margin-left:auto; color:var(--muted-2); }
.hero-slider { position:relative; border-radius:var(--r-lg); overflow:hidden; min-height:400px; background:linear-gradient(120deg,var(--ink),var(--brand-darker)); box-shadow:var(--sh-1); }
.hs-slide { position:absolute; inset:0; opacity:0; transition:opacity .6s; background-size:cover; background-position:center; display:flex; align-items:flex-end; }
.hs-slide.on { opacity:1; z-index:1; }
.hs-slide a.hs-link { position:absolute; inset:0; z-index:1; }
.hs-cap { position:relative; z-index:2; padding:28px 30px; color:#fff; max-width:560px; pointer-events:none; }
.hs-slide.has-cap::before { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.6),rgba(0,0,0,.05) 60%); }
.hs-cap h2 { font-size:clamp(22px,3vw,34px); font-weight:900; letter-spacing:-.03em; line-height:1.1; }
.hs-cap p { opacity:.9; margin-top:6px; font-size:15px; }
.hs-cap .btn-brand { margin-top:14px; pointer-events:auto; }
.hs-dots { position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:6px; z-index:3; }
.hs-dot { width:8px; height:8px; border-radius:8px; background:rgba(255,255,255,.55); border:0; cursor:pointer; padding:0; transition:width .2s; }
.hs-dot.on { width:22px; background:#fff; }
.hs-prev,.hs-next { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:38px; height:38px; border-radius:50%; border:0; background:rgba(255,255,255,.85); cursor:pointer; display:flex; align-items:center; justify-content:center; color:#111827; opacity:0; transition:opacity .2s; }
.hero-slider:hover .hs-prev,.hero-slider:hover .hs-next { opacity:1; }
.hs-prev { left:12px; } .hs-prev .ic { transform:rotate(180deg); } .hs-next { right:12px; }
.hero-default { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; padding:36px 40px; color:#fff; overflow:hidden; }
.hero-default::after { content:''; position:absolute; right:-80px; top:-80px; width:340px; height:340px; border-radius:50%; background:rgba(var(--brand-rgb),.35); filter:blur(10px); }
.hero-default::before { content:''; position:absolute; right:80px; bottom:-120px; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.07); }
.hero-default h1 { font-size:clamp(28px,4vw,46px); font-weight:900; letter-spacing:-.04em; line-height:1.05; max-width:560px; position:relative; z-index:1; }
.hero-default h1 span { color:var(--brand); }
.hero-default .eyebrow { align-self:flex-start; position:relative; z-index:1; }
.hero-default p { font-size:16px; opacity:.85; max-width:460px; margin:12px 0 22px; position:relative; z-index:1; }
.hero-default .btns { display:flex; gap:10px; flex-wrap:wrap; position:relative; z-index:1; }
.hero-side { display:flex; flex-direction:column; gap:14px; }
.hero-user { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:18px; }
.hero-user .hu-top { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.hero-user .hu-av { width:42px; height:42px; border-radius:50%; background:var(--brand-pale); color:var(--brand-dark); display:flex; align-items:center; justify-content:center; }
.hero-user .hu-top b { display:block; font-size:14px; } .hero-user .hu-top small { color:var(--muted); font-size:12px; }
.hero-user .hu-btns { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hero-user .hu-btns a { padding:9px; font-size:13px; }
.hero-perks { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:6px 16px; flex:1; display:flex; flex-direction:column; justify-content:space-around; }
.hero-perks div { display:flex; align-items:center; gap:12px; padding:9px 0; border-bottom:1px dashed var(--line); }
.hero-perks div:last-child { border:0; }
.hero-perks .ic { color:var(--brand); }
.hero-perks b { font-size:13px; display:block; } .hero-perks small { color:var(--muted); font-size:11.5px; }

/* Category bubbles */
.catbubbles { display:grid; grid-template-columns:repeat(8,1fr); gap:10px; padding:6px 18px 18px; }
.cb { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; padding:8px 4px; border-radius:14px; transition:background .15s; }
.cb:hover { background:var(--brand-pale); }
.cb-ico { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; overflow:hidden; }
.cb-ico img { width:100%; height:100%; object-fit:cover; }
.cb span { font-size:12.5px; font-weight:600; color:#1f2937; line-height:1.25; }

/* ── Flash sale ── */
.flash { border-radius:var(--r-lg); overflow:hidden; background:#fff; box-shadow:var(--sh-1); margin-bottom:16px; }
.flash-head { display:flex; align-items:center; gap:16px; padding:14px 18px; color:#fff; background:linear-gradient(100deg,var(--accent) 0%,var(--accent-dark) 45%,var(--brand) 120%); position:relative; overflow:hidden; flex-wrap:wrap; }
.flash-head::after { content:''; position:absolute; right:12%; top:-60px; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,.08); }
.flash-title { display:flex; align-items:center; gap:8px; font-size:20px; font-weight:900; letter-spacing:-.02em; font-style:italic; }
.flash-title .ic { animation:flick 1.4s infinite; }
@keyframes flick { 0%,100% { opacity:1; } 50% { opacity:.55; } }
.flash-sub { font-size:12.5px; opacity:.9; }
.flash-head .see { margin-left:auto; color:#fff; font-weight:700; display:flex; align-items:center; gap:4px; position:relative; z-index:1; }
.cd { display:flex; align-items:center; gap:4px; font-variant-numeric:tabular-nums; position:relative; z-index:1; }
.cd-label { font-size:12.5px; font-weight:600; margin-right:6px; opacity:.95; }
.cd-box { min-width:32px; height:30px; padding:0 4px; border-radius:7px; background:#111827; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; }
.cd-sep { font-weight:800; opacity:.9; }
.cd [data-u="d"], .cd [data-u="d"] + .cd-sep { display:none; }
.cd.has-days [data-u="d"], .cd.has-days [data-u="d"] + .cd-sep { display:inline-flex; }
.cd.light .cd-box { background:#fff; color:var(--accent); }
.flash-body { padding:14px 18px 18px; }
.flash-upcoming { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:14px 18px; border-radius:var(--r-lg); background:linear-gradient(100deg,#111827,#1f2937); color:#fff; margin-bottom:16px; }
.flash-upcoming b { font-size:16px; }

/* Flash sale page */
.fs-hero { border-radius:var(--r-lg); padding:28px; color:#fff; margin:16px 0; background:linear-gradient(110deg,var(--accent),var(--accent-dark) 50%,var(--brand)); position:relative; overflow:hidden; }
.fs-hero h1 { font-size:clamp(26px,4vw,40px); font-weight:900; letter-spacing:-.03em; font-style:italic; display:flex; align-items:center; gap:10px; }
.fs-hero p { opacity:.9; margin:4px 0 16px; }
.fs-hero .cd-box { background:#fff; color:var(--accent); min-width:44px; height:42px; font-size:20px; border-radius:10px; }
.fs-tabs { display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.fs-tab { padding:10px 16px; border-radius:12px; background:#fff; font-weight:700; box-shadow:var(--sh-1); color:#374151; display:flex; flex-direction:column; line-height:1.2; }
.fs-tab small { font-weight:500; color:var(--muted); font-size:11.5px; }
.fs-tab.on { background:var(--ink); color:#fff; } .fs-tab.on small { color:rgba(255,255,255,.7); }

/* Promo tiles row */
.tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:16px; }
.tile { border-radius:var(--r-lg); padding:18px; min-height:120px; color:#fff; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:space-between; background:var(--ink); }
.tile b { font-size:16px; font-weight:800; display:block; } .tile small { opacity:.85; }
.tile .go { align-self:flex-start; background:rgba(255,255,255,.18); padding:6px 12px; border-radius:20px; font-size:12px; font-weight:700; margin-top:10px; }
.tile::after { content:''; position:absolute; right:-30px; bottom:-30px; width:120px; height:120px; border-radius:50%; background:rgba(255,255,255,.1); }
.tile.t1 { background:linear-gradient(130deg,var(--brand),var(--brand-darker)); }
.tile.t2 { background:linear-gradient(130deg,#0f766e,#134e4a); }
.tile.t3 { background:linear-gradient(130deg,#4338ca,#1e1b4b); }
.tile.t4 { background:linear-gradient(130deg,var(--accent),#7f1d1d); }

/* Store rail */
.stores { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.store-card { border:1px solid var(--line); border-radius:14px; padding:16px 12px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; transition:box-shadow .15s; }
.store-card:hover { box-shadow:var(--sh-2); }
.store-av { width:56px; height:56px; border-radius:50%; background:var(--brand-pale); color:var(--brand-dark); display:flex; align-items:center; justify-content:center; font-weight:900; overflow:hidden; }
.store-av img { width:100%; height:100%; object-fit:cover; }
.store-card b { font-size:13.5px; } .store-card small { color:var(--muted); font-size:12px; }

/* Empty store hint */
.empty-hint { text-align:center; padding:56px 20px; }
.empty-hint .ic { color:var(--muted-2); }
.empty-hint h3 { font-size:20px; margin:12px 0 6px; }
.empty-hint p { color:var(--muted); margin-bottom:16px; }

/* ── Testimonials ── */
.tsec { padding:24px 0 8px; }
.tgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.tcard { background:#fff; border-radius:var(--r-lg); padding:20px; box-shadow:var(--sh-1); margin:0; display:flex; flex-direction:column; gap:12px; }
.tcard blockquote { font-size:14.5px; color:#1f2937; line-height:1.6; flex:1; }
.tcard figcaption { display:flex; align-items:center; gap:10px; }
.tcard figcaption img, .tcard-av { width:40px; height:40px; border-radius:50%; object-fit:cover; background:var(--brand-pale); color:var(--brand-dark); display:flex; align-items:center; justify-content:center; font-weight:800; }
.tcard figcaption small { display:block; color:var(--muted); font-size:12px; }
.vbadge { font-style:normal; font-size:10.5px; font-weight:700; color:var(--ok); background:#dcfce7; padding:1px 6px; border-radius:10px; display:inline-flex; align-items:center; gap:2px; }

/* ── Seller CTA, assurance, footer ── */
.sell-cta { margin-top:24px; background:linear-gradient(110deg,var(--ink),#0b1220); color:#fff; }
.sell-cta-in { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:34px 14px; flex-wrap:wrap; }
.sell-cta h2 { font-size:clamp(20px,3vw,28px); font-weight:800; letter-spacing:-.02em; margin:8px 0 4px; }
.sell-cta p { color:rgba(255,255,255,.7); }
.assure { background:#fff; border-top:1px solid var(--line); margin-top:24px; }
.sell-cta + .assure { margin-top:0; }
.assure-in { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding:22px 14px; }
.assure-in > div { display:flex; align-items:center; gap:12px; }
.assure-in .ic { color:var(--brand); }
.assure-in b { display:block; font-size:14px; } .assure-in small { color:var(--muted); font-size:12.5px; }
.site-footer { background:var(--ink); color:rgba(255,255,255,.72); font-size:13.5px; }
.fgrid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.3fr; gap:28px; padding:40px 14px 30px; }
.fbrand p { margin:14px 0; line-height:1.65; max-width:320px; }
.fcontact { list-style:none; display:flex; flex-direction:column; gap:8px; }
.fcontact li { display:flex; align-items:center; gap:8px; }
.fcontact a:hover, .fcol a:hover { color:#fff; }
.fsocial { display:flex; gap:8px; margin-top:16px; }
.fsocial a { width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:13px; }
.fsocial a:hover { background:var(--brand); }
.fsocial .s-wa { background:#25D366; }
.fcol { display:flex; flex-direction:column; gap:9px; }
.fcol h4 { color:#fff; font-size:14px; font-weight:700; margin-bottom:4px; }
.fsmall { font-size:12px; margin-top:10px; display:flex; gap:6px; align-items:flex-start; line-height:1.5; }
.paybadges { display:flex; flex-wrap:wrap; gap:6px; }
.paybadge { height:28px; padding:0 10px; border-radius:6px; background:#fff; color:#111; font-weight:900; font-size:11px; display:inline-flex; align-items:center; letter-spacing:.02em; }
.pb-mpesa { color:#16a34a; } .pb-visa { color:#1a1f71; font-style:italic; font-size:13px; } .pb-airtel { color:#e40000; font-weight:800; text-transform:lowercase; }
.pb-mc { gap:0; } .pb-mc i { width:16px; height:16px; border-radius:50%; background:#eb001b; display:block; } .pb-mc i + i { background:#f79e1b; margin-left:-6px; mix-blend-mode:multiply; }
.fbottom { border-top:1px solid rgba(255,255,255,.08); padding:14px 0; font-size:12.5px; }
.fbottom .container { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.wa-float { position:fixed; right:18px; bottom:22px; width:54px; height:54px; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -6px rgba(37,211,102,.6); z-index:400; transition:transform .15s; }
.wa-float:hover { transform:scale(1.07); }

/* Mobile bottom nav */
.mnav { display:none; }
.toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:#111827; color:#fff; padding:12px 18px; border-radius:12px; font-weight:600; font-size:14px; z-index:3000; box-shadow:var(--sh-3); opacity:0; visibility:hidden; transition:all .2s; max-width:90vw; display:block !important; }
.toast.show { opacity:1; visibility:visible; transform:translate(-50%,0); }
.toast.err { background:var(--err); } .toast.ok::before { content:'✓  '; color:#4ade80; font-weight:900; }

/* Maintenance */
.maint { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; background:var(--bg); }
.maint-card { background:#fff; padding:40px 30px; border-radius:22px; max-width:420px; text-align:center; box-shadow:var(--sh-2); }
.maint-card h1 { margin:16px 0 8px; font-size:24px; } .maint-card p { color:var(--muted); margin-bottom:18px; }
.maint-logo { max-height:64px; margin:0 auto; }

/* ── Forms & cards used by inner pages ── */
.page { padding:18px 0 32px; }
.crumbs { display:flex; gap:6px; align-items:center; color:var(--muted); font-size:12.5px; margin-bottom:14px; flex-wrap:wrap; }
.crumbs a:hover { color:var(--brand-dark); }
.card { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:20px; }
.card + .card { margin-top:14px; }
.card-title { font-size:16px; font-weight:800; margin-bottom:14px; display:flex; align-items:center; gap:10px; }
.step-no { width:26px; height:26px; border-radius:50%; background:var(--brand); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; }
.fld { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.fld label { font-size:13px; font-weight:600; color:#374151; }
.fld label i { color:var(--err); font-style:normal; }
.inp, .form-input, .form-control { width:100%; border:1.5px solid #dfe2e7; border-radius:10px; padding:11px 13px; font-size:14.5px; background:#fff; outline:none; transition:border-color .15s, box-shadow .15s; color:#111827; }
.inp:focus, .form-input:focus, .form-control:focus { border-color:var(--brand); box-shadow:0 0 0 4px rgba(var(--brand-rgb),.14); }
.fld-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hint { font-size:12px; color:var(--muted); }
.alert { border-radius:12px; padding:12px 14px; font-size:13.5px; margin-bottom:14px; display:flex; gap:10px; align-items:flex-start; }
.alert-error, .alert.err { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.alert-success, .alert.ok { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.alert-warning, .alert.warn { background:#fffbeb; color:#92400e; border:1px solid #fde68a; }
.alert.info { background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }
.form-card { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); border:0; }

/* ── Cart & checkout ── */
.co-grid { display:grid; grid-template-columns:1fr 380px; gap:18px; align-items:start; }
.co-side { position:sticky; top:130px; }
.cart-line { display:grid; grid-template-columns:84px 1fr auto; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); align-items:center; }
.cart-line:last-child { border-bottom:0; }
.cart-line img, .cart-line .noimg { width:84px; height:84px; border-radius:12px; object-fit:cover; background:#f3f4f6; display:flex; align-items:center; justify-content:center; color:#cbd0d8; }
.cl-name { font-weight:600; color:#111827; line-height:1.35; }
.cl-meta { font-size:12.5px; color:var(--muted); margin-top:2px; }
.cl-flash { display:inline-flex; align-items:center; gap:3px; font-size:11px; font-weight:800; color:#fff; background:var(--accent); padding:2px 7px; border-radius:6px; margin-top:4px; }
.cl-warn { font-size:12px; color:var(--err); font-weight:600; margin-top:4px; }
.cl-note { font-size:12px; color:var(--warn); margin-top:4px; }
.cl-right { text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.cl-price { font-weight:800; font-size:15.5px; }
.cl-old { font-size:12px; color:var(--muted-2); text-decoration:line-through; }
.qty { display:inline-flex; align-items:center; border:1.5px solid var(--line); border-radius:10px; overflow:hidden; }
.qty button { width:32px; height:32px; border:0; background:#fff; font-size:17px; cursor:pointer; color:#374151; }
.qty button:hover { background:var(--bg); }
.qty input { width:40px; height:32px; border:0; text-align:center; font-weight:700; font-size:14px; -moz-appearance:textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance:none; }
.linkbtn { background:none; border:0; color:var(--muted); font-size:12.5px; cursor:pointer; display:inline-flex; align-items:center; gap:4px; padding:0; }
.linkbtn:hover { color:var(--err); }
.sum-row { display:flex; justify-content:space-between; gap:10px; padding:6px 0; font-size:14px; color:#374151; }
.sum-row.green { color:var(--ok); font-weight:600; }
.sum-total { display:flex; justify-content:space-between; align-items:baseline; border-top:1px dashed var(--line); margin-top:8px; padding-top:12px; font-weight:800; font-size:18px; }
.sum-total b { font-size:22px; color:#111827; letter-spacing:-.02em; }
.freebar { background:var(--brand-pale); border-radius:10px; padding:10px 12px; font-size:12.5px; color:var(--brand-darker); margin:8px 0; }
.freebar-track { height:6px; background:#fff; border-radius:6px; margin-top:6px; overflow:hidden; }
.freebar-track div { height:100%; background:var(--brand); border-radius:6px; }
.coupon-form { display:flex; gap:8px; margin-top:10px; }
.coupon-form .inp { padding:9px 12px; font-size:13.5px; text-transform:uppercase; }
.mini-items { max-height:260px; overflow:auto; margin-bottom:8px; }
.mini-item { display:flex; gap:10px; align-items:center; padding:8px 0; }
.mini-item img, .mini-item .noimg { width:46px; height:46px; border-radius:9px; object-fit:cover; background:#f3f4f6; flex-shrink:0; }
.mini-item .mi-name { font-size:13px; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mini-item .mi-q { font-size:12px; color:var(--muted); }
.mini-item .mi-p { margin-left:auto; font-weight:700; font-size:13px; white-space:nowrap; }

/* Payment method cards */
.pm-list { display:flex; flex-direction:column; gap:10px; }
.pm { position:relative; border:1.5px solid var(--line); border-radius:14px; padding:14px; cursor:pointer; transition:border-color .15s, background .15s, box-shadow .15s; display:block; }
.pm:hover { border-color:#c9ccd3; }
.pm input[type=radio] { position:absolute; opacity:0; pointer-events:none; }
.pm-top { display:flex; align-items:center; gap:12px; }
.pm-radio { width:20px; height:20px; border-radius:50%; border:2px solid #c9ccd3; flex-shrink:0; position:relative; transition:border-color .15s; }
.pm input:checked ~ .pm-top .pm-radio { border-color:var(--brand); }
.pm input:checked ~ .pm-top .pm-radio::after { content:''; position:absolute; inset:3px; border-radius:50%; background:var(--brand); }
.pm:has(input:checked) { border-color:var(--brand); background:var(--brand-pale); box-shadow:0 0 0 3px rgba(var(--brand-rgb),.12); }
.pm-logo { width:46px; height:32px; border-radius:7px; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:10.5px; flex-shrink:0; letter-spacing:.02em; }
.pm-logo.mpesa { background:#e8f7ee; color:#0a8a3a; }
.pm-logo.card { background:#eef2ff; color:#1a1f71; }
.pm-logo.cash { background:#fef3c7; color:#92400e; }
.pm-logo.whatsapp { background:#dcfce7; color:#128C7E; }
.pm-txt b { display:block; font-size:14.5px; color:#111827; }
.pm-txt small { color:var(--muted); font-size:12.5px; }
.pm-badge { margin-left:auto; font-size:11px; font-weight:700; padding:3px 8px; border-radius:20px; background:#dcfce7; color:#166534; white-space:nowrap; }
.pm-extra { display:none; margin-top:12px; padding-top:12px; border-top:1px dashed #d8dbe1; }
.pm:has(input:checked) .pm-extra { display:block; }
.pm-cards { display:flex; gap:6px; margin-top:8px; }
.place-btn { width:100%; margin-top:16px; padding:16px; font-size:16px; border-radius:14px; }
.secure-note { display:flex; align-items:center; justify-content:center; gap:6px; color:var(--muted); font-size:12px; margin-top:10px; }

/* Payment waiting / status */
.paywrap { max-width:520px; margin:24px auto; }
.paycard { background:#fff; border-radius:22px; box-shadow:var(--sh-2); padding:30px 26px; text-align:center; }
.paycard h1 { font-size:22px; font-weight:800; letter-spacing:-.02em; margin:16px 0 6px; }
.paycard p { color:var(--muted); line-height:1.6; }
.phone-anim { width:84px; height:84px; margin:0 auto; border-radius:24px; background:#e8f7ee; color:#0a8a3a; display:flex; align-items:center; justify-content:center; position:relative; }
.phone-anim::before, .phone-anim::after { content:''; position:absolute; inset:-6px; border-radius:28px; border:2px solid #0a8a3a; opacity:0; animation:ring 2s infinite; }
.phone-anim::after { animation-delay:1s; }
@keyframes ring { 0% { transform:scale(.9); opacity:.6; } 100% { transform:scale(1.35); opacity:0; } }
.status-ico { width:84px; height:84px; margin:0 auto; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.status-ico.ok { background:#dcfce7; color:var(--ok); } .status-ico.err { background:#fee2e2; color:var(--err); } .status-ico.wait { background:#fef3c7; color:var(--warn); }
.paysteps { text-align:left; background:var(--bg); border-radius:14px; padding:14px 16px; margin:18px 0; font-size:13.5px; }
.paysteps li { margin:6px 0 6px 18px; }
.payamt { font-size:30px; font-weight:900; letter-spacing:-.03em; margin:8px 0 2px; color:#111827; }
.paymeta { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; color:var(--muted); font-size:12.5px; }
.spinner { width:18px; height:18px; border:2.5px solid rgba(0,0,0,.12); border-top-color:var(--brand); border-radius:50%; animation:spin .8s linear infinite; display:inline-block; vertical-align:middle; }
@keyframes spin { to { transform:rotate(360deg); } }
.waitline { display:flex; align-items:center; justify-content:center; gap:8px; font-weight:600; color:#374151; margin:16px 0; }
.tillbox { border:2px dashed #0a8a3a; border-radius:16px; padding:16px; margin:16px 0; background:#f3fbf6; text-align:left; }
.tillbox .row { display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px solid #d7efe0; font-size:14px; }
.tillbox .row:last-child { border:0; }
.tillbox .row b { font-size:16px; letter-spacing:.02em; }
.copy { background:none; border:0; color:#0a8a3a; font-weight:700; cursor:pointer; font-size:12px; margin-left:6px; }
.order-steps { display:flex; justify-content:space-between; margin:18px 0 6px; position:relative; }
.order-steps::before { content:''; position:absolute; top:13px; left:8%; right:8%; height:2px; background:var(--line); }
.order-steps div { position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:11.5px; color:var(--muted); flex:1; }
.order-steps i { width:28px; height:28px; border-radius:50%; background:#fff; border:2px solid var(--line); display:flex; align-items:center; justify-content:center; font-style:normal; }
.order-steps .done i { background:var(--ok); border-color:var(--ok); color:#fff; }
.order-steps .done { color:#111827; font-weight:600; }

/* Listing */
.ls-grid { display:grid; grid-template-columns:250px 1fr; gap:18px; align-items:start; }
.ls-side { position:sticky; top:130px; }
.ls-box { background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:16px; margin-bottom:12px; }
.ls-box h4 { font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:10px; }
.ls-box a.opt, .ls-box label.opt { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:7px 8px; border-radius:8px; font-size:13.5px; color:#1f2937; cursor:pointer; }
.ls-box a.opt:hover, .ls-box a.opt.on { background:var(--brand-pale); color:var(--brand-darker); font-weight:600; }
.ls-box a.opt small { color:var(--muted); }
.ls-top { display:flex; justify-content:space-between; align-items:center; gap:12px; background:#fff; border-radius:var(--r-lg); box-shadow:var(--sh-1); padding:12px 16px; margin-bottom:12px; flex-wrap:wrap; }
.ls-top h1 { font-size:18px; font-weight:800; letter-spacing:-.02em; }
.ls-top small { color:var(--muted); }
.ls-sort { display:flex; gap:8px; align-items:center; }
.ls-sort select { border:1.5px solid var(--line); border-radius:10px; padding:8px 10px; font-size:13.5px; background:#fff; }
.chips { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.chip { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--line); border-radius:20px; padding:6px 12px; font-size:12.5px; font-weight:600; }
.chip .ic { color:var(--muted); }
.ls-filter-btn { display:none; }
.pager { display:flex; justify-content:center; gap:6px; margin:20px 0; flex-wrap:wrap; }
.pager a, .pager span { min-width:38px; height:38px; padding:0 10px; border-radius:10px; background:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; box-shadow:var(--sh-1); }
.pager .on { background:var(--brand); color:#fff; }
.cat-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.cat-tile { background:#fff; border-radius:14px; padding:16px 10px; text-align:center; box-shadow:var(--sh-1); display:flex; flex-direction:column; align-items:center; gap:8px; font-weight:600; font-size:13px; }

/* ── Responsive ── */
@media (max-width:1200px) {
  .rail { grid-auto-columns:calc((100% - 4*12px)/5); }
  .pgrid { grid-template-columns:repeat(5,1fr); }
  .hero3 { grid-template-columns:220px 1fr; }
  .hero-side { display:none; }
  .fgrid { grid-template-columns:1.4fr 1fr 1fr 1fr; } .fgrid .fcol:last-child { grid-column:1/-1; }
}
@media (max-width:1024px) {
  .rail { grid-auto-columns:calc((100% - 3*12px)/4); }
  .pgrid, .pgrid.cols-5 { grid-template-columns:repeat(4,1fr); }
  .catbubbles { grid-template-columns:repeat(6,1fr); }
  .stores { grid-template-columns:repeat(4,1fr); }
  .co-grid { grid-template-columns:1fr 340px; }
  .ls-grid { grid-template-columns:220px 1fr; }
  .hact-txt { display:none; }
  .topstrip-links a:not(:first-child):not(:nth-child(2)) { display:none; }
}
@media (max-width:860px) {
  .hero3 { grid-template-columns:1fr; }
  .hero-cats { display:none; }
  .hero-slider { min-height:220px; }
  .hero-slider:has(.hs-slide) { aspect-ratio:16/8; min-height:0; }
  .hero-default { position:relative; padding:26px 22px; }
  .hero-default p { font-size:14px; margin:8px 0 16px; }
  .tiles { grid-template-columns:repeat(2,1fr); }
  .co-grid, .ls-grid { grid-template-columns:1fr; }
  .co-side, .ls-side { position:static; }
  .ls-side { display:none; } .ls-side.open { display:block; }
  .ls-filter-btn { display:inline-flex; }
  .tgrid { grid-template-columns:1fr; }
  .assure-in { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  body { font-size:14px; }
  .topstrip-links { display:none; }
  .topstrip-msg { margin:0 auto; }
  .hdr { flex-wrap:wrap; gap:8px 12px; padding-top:10px; padding-bottom:10px; }
  .hdr-burger { display:flex; }
  .brand-logo { height:34px; } .brand-name { font-size:18px; } .logo-mark { width:34px; height:34px; font-size:13px; border-radius:10px; }
  .hsearch { order:5; flex-basis:100%; max-width:none; height:42px; border-width:1.5px; }
  .hsearch button span { display:none; } .hsearch button { padding:0 16px; }
  .hact-wish, .hact-account { display:none; }
  .catnav { display:none; }
  .container { padding:0 10px; }
  .home { padding-top:10px; }
  .sec { border-radius:14px; margin-bottom:10px; }
  .sec-head { padding:14px 12px 4px; } .sec-head h2 { font-size:16.5px; }
  .sec-body, .flash-body { padding:8px 12px 14px; }
  .rail { grid-auto-columns:42%; gap:10px; }
  .rail-btn { display:none; }
  .pgrid, .pgrid.cols-5, .pgrid.cols-4 { grid-template-columns:repeat(2,1fr); gap:8px; }
  .catbubbles { grid-template-columns:repeat(4,1fr); padding:4px 8px 12px; gap:4px; }
  .cb-ico { width:54px; height:54px; font-size:24px; }
  .cb span { font-size:11.5px; }
  .stores { grid-template-columns:repeat(2,1fr); }
  .flash-head { padding:12px; gap:8px 12px; } .flash-title { font-size:17px; }
  .flash-head .see { margin-left:0; font-size:13px; }
  .cd-box { min-width:28px; height:26px; font-size:13.5px; }
  .tiles { gap:10px; } .tile { min-height:100px; padding:14px; }
  .pc-body { padding:8px 10px 6px; } .pc-name { font-size:12.5px; } .pc-price { font-size:15px; }
  .pc-add { margin:0 8px 8px; padding:7px; font-size:12.5px; }
  .pc-add span { display:none; } .pc-add::after { content:'Add to cart'; }
  .fld-row { grid-template-columns:1fr; gap:0; }
  .cart-line { grid-template-columns:70px 1fr; }
  .cart-line img, .cart-line .noimg { width:70px; height:70px; }
  .cl-right { grid-column:2; flex-direction:row; justify-content:space-between; align-items:center; width:100%; }
  .card { padding:16px; border-radius:16px; }
  .fgrid { grid-template-columns:1fr 1fr; gap:22px; padding:28px 14px; } .fbrand { grid-column:1/-1; }
  .assure-in { grid-template-columns:1fr 1fr; gap:12px; padding:16px 12px; } .assure-in small { display:none; }
  .wa-float { bottom:84px; right:14px; width:50px; height:50px; }
  .toast { bottom:84px; }
  .mnav { display:flex; position:fixed; left:0; right:0; bottom:0; background:#fff; border-top:1px solid var(--line); z-index:500; padding-bottom:env(safe-area-inset-bottom); box-shadow:0 -6px 20px rgba(0,0,0,.06); }
  .mnav a { flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 0 7px; font-size:10.5px; font-weight:600; color:var(--muted); }
  .mnav a.on { color:var(--brand-dark); }
  .mnav .mnav-flash { color:var(--accent); }
  .mnav-ico { position:relative; display:flex; }
  .mnav-badge { top:-6px; right:-10px; min-width:17px; height:17px; font-size:10px; }
  body { padding-bottom:calc(62px + env(safe-area-inset-bottom)); }
  .sell-cta-in { padding:26px 14px; }
  .fs-hero { padding:20px; }
  .fs-hero .cd-box { min-width:36px; height:34px; font-size:16px; }
  .cat-tiles { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:380px) { .cat-tiles { grid-template-columns:repeat(2,1fr); } }

/* Product detail additions */
.pd-price { font-size:28px; font-weight:900; letter-spacing:-.03em; color:#111827; margin:10px 0 4px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.pd-price s { font-size:15px; color:var(--muted-2); font-weight:500; }
.pd-price em { font-style:normal; font-size:13px; font-weight:800; color:var(--brand-darker); background:var(--brand-pale); padding:3px 8px; border-radius:6px; }
.pd-flash { border-radius:14px; overflow:hidden; border:1px solid #fecdd3; margin:12px 0; }
.pd-flash-top { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; color:#fff; background:linear-gradient(100deg,var(--accent),var(--brand)); font-weight:800; font-style:italic; flex-wrap:wrap; }
.pd-flash-top > span { display:flex; align-items:center; gap:6px; }
.pd-flash-top .cd-label { font-style:normal; }
.pd-flash-body { padding:10px 14px 14px; background:#fff5f6; }
.pd-flash-body .pd-price { margin-top:0; color:var(--accent); }
.btn-buy-now { border:0; cursor:pointer; font-family:inherit; }
.detail-info h1 { letter-spacing:-.02em; }
