/* ═══════════════════════════════════════════════════════════════
   SubStorePk — original white & blue marketplace design
   Clean · minimal · typography-focused · generous whitespace
   Brand: deep navy #001045 + vivid blue #0051f0
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #FBF7F1;
  --bg-soft: #F6EFE4;
  --bg-mute: #F1E8D8;
  --card: #FFFDF9;
  --line: #EADDCB;
  --line-soft: #F3EADB;
  --text: #3A2415;
  --body: #6B5340;
  --muted: #9A7F66;
  --navy: #3A2415;
  --navy-2: #2C1A0E;
  --blue: #C4703F;
  --blue-h: #A85A2E;
  --blue-soft: #FBE9D7;
  --blue-ghost: rgba(196, 112, 63, .08);
  --green: #4A7C59;
  --green-soft: #E9F2EA;
  --red: #C0392B;
  --red-soft: #FBE9E4;
  --amber: #C4703F;
  --amber-soft: #FBE9D7;
  --peach: #F5D7B8;
  --peach-deep: #E8B88A;
  --terra: #C4703F;
  --terra-dark: #A85A2E;
  --cocoa: #3A2415;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --r: 14px;
  --r-lg: 20px;
  --hdr-h: 72px;
  --util-h: 36px;
  --shadow-sm: 0 1px 2px rgba(58, 36, 21, .06);
  --shadow: 0 8px 28px rgba(58, 36, 21, .08);
  --shadow-lg: 0 20px 60px rgba(196, 112, 63, .14);
  --shadow-warm: 0 6px 24px rgba(196, 112, 63, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body:has(.drawer.open, .mini-cart.open) { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-h); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 13px; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 28px; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.lead { color: var(--body); font-size: 16px; max-width: 640px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.link-arrow { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: var(--terra); color: #fff; border: 1px solid var(--terra); border-radius: 14px; font-weight: 600; font-size: 14.5px; transition: background .15s, transform .1s, box-shadow .15s; box-shadow: 0 4px 14px rgba(196, 112, 63, .3); }
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; box-shadow: 0 6px 20px rgba(196, 112, 63, .4); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--terra-dark); border-color: var(--peach-deep); box-shadow: none; }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--terra); color: var(--terra-dark); box-shadow: none; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--terra); color: var(--terra-dark); background: #fff; box-shadow: none; }
.btn-lg { padding: 15px 32px; font-size: 15.5px; border-radius: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── Utility bar ─────────────────────────────────────────── */
.utilbar { background: var(--navy); color: #cdd8f0; font-size: 12.5px; height: var(--util-h); }
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.utilbar ul { display: flex; gap: 22px; list-style: none; }
.utilbar li { display: inline-flex; align-items: center; gap: 7px; }
.utilbar svg { width: 14px; height: 14px; color: #7ea2ff; }
.utilbar a { color: #cdd8f0; }
.utilbar a:hover { color: #fff; }
.util-right { display: flex; align-items: center; gap: 18px; }
.cur-select { background: transparent; border: none; color: #cdd8f0; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cur-select option { color: #0e1a30; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 247, 241, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo-mark { width: 40px; height: 40px; object-fit: contain; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--font); font-weight: 500; font-size: 9.5px; letter-spacing: .14em; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 10px 14px; border-radius: 8px; color: var(--body); font-weight: 500; font-size: 14.5px; position: relative; }
.nav a:hover { color: var(--blue); background: var(--blue-ghost); }
.nav a.active { color: var(--blue); font-weight: 600; }
.nav a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); }
.hdr-search { display: flex; align-items: center; flex: 1; max-width: 340px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 0 6px 0 14px; }
.hdr-search:focus-within { border-color: var(--blue); background: #fff; }
.hdr-search svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.hdr-search input { flex: 1; border: none; background: transparent; padding: 10px 8px; font-size: 14px; min-width: 0; color: var(--text); }
.hdr-search input:focus { outline: none; }
.hdr-search button { background: var(--blue); color: #fff; border: none; border-radius: 7px; width: 34px; height: 34px; display: grid; place-items: center; }
.hdr-search button:hover { background: var(--blue-h); }
.hdr-search button svg { color: #fff; width: 16px; height: 16px; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--text); }
.cart-btn:hover { border-color: var(--blue); color: var(--blue); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none !important; }
.login-link { font-size: 14px; font-weight: 600; color: var(--body); white-space: nowrap; }
.login-link:hover { color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: var(--bg); overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: min(640px, 60vw); height: min(640px, 60vw); background: radial-gradient(closest-side, rgba(232, 184, 138, .55), rgba(245, 215, 184, .28) 55%, transparent 72%); border-radius: 46% 54% 52% 48% / 48% 46% 54% 52%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -160px; left: -100px; width: min(420px, 40vw); height: min(420px, 40vw); background: radial-gradient(closest-side, rgba(196, 112, 63, .14), transparent 70%); border-radius: 50%; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 80px; position: relative; z-index: 1; }
.hero h1 { font-family: var(--display); font-size: clamp(2rem, 9vw, 3.9rem); overflow-wrap: break-word; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; color: var(--cocoa); }
.hero h1 .hl { color: var(--terra); }
.hero .sub { color: var(--body); font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.trust-row li { display: flex; gap: 12px; align-items: flex-start; }
.trust-ic { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.trust-ic svg { width: 20px; height: 20px; }
.trust-row b { display: block; font-size: 13.5px; }
.trust-row span { font-size: 12.5px; color: var(--muted); }
.hero-art { position: relative; min-height: 420px; }
.hero-ring { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-ring::before { content: ''; width: min(440px, 90%); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 48% 46% 54% 52%; border: 2px solid rgba(196, 112, 63, .22); box-shadow: 0 0 0 44px rgba(196, 112, 63, .06), 0 0 0 88px rgba(196, 112, 63, .03), 0 0 90px rgba(196, 112, 63, .14); }
.hero-badge-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.hero-badge-card .bi { width: 42px; height: 42px; border-radius: 11px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.hero-badge-card .bi svg { width: 22px; height: 22px; }
.hero-badge-card b { display: block; font-size: 13.5px; }
.hero-badge-card span { font-size: 12px; color: var(--muted); }
.hb1 { top: 6%; left: 4%; }
.hb2 { top: 38%; right: 0; }
.hb3 { bottom: 8%; left: 12%; }
.hero-logo-big { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 190px; opacity: .95; }
/* ── Categories ──────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-card:hover { border-color: #b9ccf5; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.cat-ic svg { width: 26px; height: 26px; }
.cat-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.cat-card span { font-size: 13px; color: var(--muted); display: block; }
.cat-card .go { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex: none; }
.cat-card:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-card .go svg { width: 15px; height: 15px; }

/* ── Product cards ───────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; box-shadow: 0 2px 12px rgba(58, 36, 21, .05); }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-warm); border-color: var(--peach-deep); }
.pcard .btn { position: relative; overflow: hidden; }
.pcard .btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.pcard .btn:hover::after, .pcard .btn:focus::after { left: 130%; }
@keyframes badge-breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(0,81,240,.35); } 50% { box-shadow: 0 0 0 6px rgba(0,81,240,0); } }
.pill.hot { background: #F5D7B8; color: #7A4A1F; }
@keyframes badge-glow { 0%,100% { border-color: #f5ddb0; } 50% { border-color: #f0b429; box-shadow: 0 0 12px rgba(240,180,41,.45); } }
.pill.deal { background: #F5D7B8; color: #7A4A1F; }
.pcard-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #FBE9D7, #FFF8EF); display: grid; place-items: center; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-ic { width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--terra); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.pcard-ic svg { width: 32px; height: 32px; }
.pill { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #F5D7B8; color: #7A4A1F; box-shadow: var(--shadow-sm); }
.pcard-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard-name { font-size: 15.5px; font-weight: 650; line-height: 1.35; }
.pcard-name a { color: var(--text); }
.pcard-name a:hover { color: var(--blue); }
.pcard-desc { font-size: 13px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--display); font-weight: 700; font-size: 18px; }
.price small { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--muted); display: block; }
.price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.stock { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--green); }
.stock.low { color: var(--amber); }
.stock.out { color: var(--red); }
.pcard .btn { margin-top: 6px; }

/* ── Why section ─────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.why-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.why-ic svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.why-card p { font-size: 14px; color: var(--body); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero { background: linear-gradient(180deg, #f2f6ff, #fff); border-bottom: 1px solid var(--line-soft); padding: 48px 0 40px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(1.5rem, 4.5vw + .5rem, 2.6rem); letter-spacing: -.02em; margin-bottom: 8px; overflow-wrap: break-word; text-wrap: balance; line-height: 1.15; }
.page-hero p { color: var(--body); max-width: 640px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

/* ── Filters ─────────────────────────────────────────────── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.fchip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--body); }
.fchip:hover { border-color: var(--blue); color: var(--blue); }
.fchip.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.fsearch { margin-left: auto; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.fsearch input { border: none; padding: 10px 4px; font-size: 14px; min-width: 180px; }
.fsearch input:focus { outline: none; }
.sortsel { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; background: #fff; color: var(--body); }

/* ── Product detail ──────────────────────────────────────── */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.pd-media { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; }
.pd-visual { aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, #e9f0ff 0%, #f7faff 60%, #eef4ff 100%); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.pd-visual img { width: 100%; height: 100%; object-fit: cover; }
.pd-visual .pbig { width: 120px; height: 120px; border-radius: 30px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow); }
.pd-visual .pbig svg { width: 60px; height: 60px; }
.pd-info h1 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 10px 0 12px; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.pd-price .now { font-family: var(--display); font-size: 32px; font-weight: 700; }
.pd-price .alt { color: var(--muted); font-size: 15px; }
.pd-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.pd-meta div { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.pd-meta dt { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.pd-meta dd { font-weight: 600; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: none; background: #fff; font-size: 18px; color: var(--body); }
.qty button:hover { background: var(--bg-soft); color: var(--blue); }
.qty input { width: 52px; text-align: center; border: none; font-size: 15px; font-weight: 600; }
.qty input:focus { outline: none; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 18px; }
.pd-actions .btn { flex: 1; }
.pd-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pd-trust span { display: inline-flex; align-items: center; gap: 7px; }
.pd-trust svg { width: 16px; height: 16px; color: var(--green); }
.supplier-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 8px; }
.supplier-box .kicker2 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.rich-text { color: var(--body); font-size: 14.5px; line-height: 1.75; }
.rich-text a { color: var(--blue); text-decoration: underline; word-break: break-all; }
.about-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-top: 18px; background: #fff; }
.about-box h2 { font-family: var(--display); font-size: 20px; margin-bottom: 12px; }
.about-box .guide-lead { color: var(--body); margin-bottom: 16px; }
.feat-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feat-list li { position: relative; padding-left: 28px; font-size: 14px; color: var(--body); }
.feat-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); border-radius: 2px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.spec-table th { color: var(--muted); font-weight: 500; width: 38%; }
/* ── Cart ────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 44px 0 64px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-row:last-child { border-bottom: none; }
.cart-thumb { width: 92px; height: 72px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 34px; height: 34px; }
.cart-row h3 { font-size: 15px; margin-bottom: 2px; }
.cart-row h3 a { color: var(--text); }
.cart-row .u { font-size: 12.5px; color: var(--muted); }
.cart-row .qty { margin-top: 10px; }
.cart-row .qty button { width: 32px; height: 34px; }
.cart-row .qty input { width: 40px; }
.cart-line { text-align: right; }
.cart-line .lp { font-family: var(--display); font-weight: 700; font-size: 17px; }
.cart-line .rm { background: none; border: none; color: var(--muted); font-size: 12.5px; margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.cart-line .rm:hover { color: var(--red); }
.cart-line .rm svg { width: 14px; height: 14px; }
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty .ce-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); display: grid; place-items: center; margin: 0 auto 20px; }
.cart-empty .ce-ic svg { width: 40px; height: 40px; }
.cart-empty h2 { font-family: var(--display); margin-bottom: 8px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.summary h2 { font-family: var(--display); font-size: 18px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--body); padding: 7px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; color: var(--text); font-weight: 700; font-size: 16px; }
.sum-row.total .t { font-family: var(--display); font-size: 22px; color: var(--blue); }
.summary .note { font-size: 12.5px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; }
.summary .note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* ── Checkout / payment / order ──────────────────────────── */
.co-layout { display: grid; grid-template-columns: 1fr 400px; gap: 28px; padding: 44px 0 64px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 18px; }
.co-card h2 { font-family: var(--display); font-size: 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.co-step { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 81, 240, .12); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field .err { font-size: 12.5px; color: var(--red); margin-top: 5px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-methods { display: grid; gap: 12px; }
.pay-opt { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: #b9ccf5; }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--blue); }
.pay-opt.sel { border-color: var(--blue); background: var(--blue-ghost); }
.pay-opt .pm-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-weight: 700; color: var(--blue); font-size: 13px; flex: none; }
.rec-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #e8f5e9; color: #2e7d32; padding: 3px 10px; border-radius: 999px; margin-left: auto; flex-shrink: 0; }
.pay-opt.manual-pay { text-decoration: none; color: inherit; border-style: dashed; }
.pay-opt.manual-pay:hover { border-color: var(--blue); background: var(--blue-ghost); }
.pay-opt b { display: block; font-size: 14.5px; }
.pay-opt span { font-size: 12.5px; color: var(--muted); }
.co-items { display: grid; gap: 14px; }
.co-item { display: flex; gap: 14px; align-items: center; }
.co-item .ct { width: 56px; height: 48px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; overflow: hidden; }
.co-item .ct img { width: 100%; height: 100%; object-fit: cover; }
.co-item .ct svg { width: 24px; height: 24px; }
.co-item b { font-size: 13.5px; display: block; }
.co-item span { font-size: 12.5px; color: var(--muted); }
.co-item .p { margin-left: auto; font-weight: 700; font-size: 14px; white-space: nowrap; }
.charge-box { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 30px; text-align: center; }
.charge-box .lbl { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9db4e8; margin-bottom: 10px; }
.charge-amt { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.charge-box .ccy { font-size: 14px; color: #9db4e8; }
.copy-row { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.addr-box { background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25); border-radius: 10px; padding: 14px 16px; font-family: ui-monospace, monospace; font-size: 13px; word-break: break-all; margin-top: 16px; }
.timer { display: inline-flex; align-items: center; gap: 8px; background: var(--amber-soft); color: var(--amber); font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 999px; margin-top: 18px; }
.timer svg { width: 16px; height: 16px; }
.steps { display: grid; gap: 0; margin-top: 24px; }
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.step:last-child { border: none; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; display: grid; place-items: center; flex: none; font-size: 14px; }
.step b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.step p { font-size: 13.5px; color: var(--body); }
.order-status { text-align: center; padding: 56px 24px; }
.os-ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.os-ic svg { width: 42px; height: 42px; }
.os-ic.pending { background: var(--amber-soft); color: var(--amber); }
.os-ic.paid { background: var(--blue-soft); color: var(--blue); }
.os-ic.done { background: var(--green-soft); color: var(--green); }
.os-ic.bad { background: var(--red-soft); color: var(--red); }
.spin { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-status h1 { font-family: var(--display); margin-bottom: 8px; }
.cred-box { background: #0e1a30; color: #d9e6ff; border-radius: var(--r-lg); padding: 24px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; text-align: left; margin-top: 24px; max-height: 420px; overflow: auto; }
.cred-box a { color: #7ea2ff; }
/* ── Account / auth ──────────────────────────────────────── */
.auth-card { max-width: 440px; margin: 56px auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; box-shadow: var(--shadow); }
.auth-card h1 { font-family: var(--display); font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 8px; color: var(--muted); display: flex; align-items: center; }
.pw-toggle:hover { color: var(--text); }
.pw-toggle svg { width: 20px; height: 20px; }
.forgot-link { text-align: right; margin: -8px 0 16px; font-size: 13.5px; }
.forgot-link a { color: var(--blue); text-decoration: none; font-weight: 600; }
.forgot-link a:hover { text-decoration: underline; }
.alert { border-radius: 10px; padding: 13px 16px; font-size: 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert.err { background: var(--red-soft); color: #a11; border: 1px solid #f3c2c2; }
.alert.ok { background: var(--green-soft); color: #146c36; border: 1px solid #bfe6cd; }
.alert.info { background: var(--blue-soft); color: #1a43b8; border: 1px solid #c3d4f6; }
.acct-grid { display: grid; grid-template-columns: 264px 1fr; gap: 28px; padding: 44px 0 64px; align-items: start; }
.acct-nav { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; position: sticky; top: calc(var(--hdr-h) + 24px); font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }
.acct-nav .nav-section { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .03em; padding: 14px 12px 6px; }
.acct-nav .nav-section:first-child { padding-top: 0; }
.acct-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #3d4a61; font-size: 13.5px; font-weight: 500; }
.acct-nav a svg { width: 17px; height: 17px; color: #6b7a93; flex-shrink: 0; }
.acct-nav a:hover { background: #f4f6fa; color: var(--text); text-decoration: none; }
.acct-nav a.on { background: #eef1f6; color: var(--text); font-weight: 600; }
.acct-nav a.on svg { color: var(--text); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 18px; }
.panel h2 { font-family: var(--display); font-size: 18px; margin-bottom: 18px; }
.wallet-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 16px; }
.wallet-hero .wl { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #9db4e8; margin-bottom: 8px; }
.wallet-hero .wa { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; }
.order-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 -16px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.order-row:last-child { border: none; }
.order-row:hover { background: var(--bg-soft); }
.order-oid { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.order-row .oid { font-family: ui-monospace, monospace; font-size: 12.5px; color: var(--muted); }
.status-pill { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em; }
.status-pill.pending { background: var(--amber-soft); color: var(--amber); }
.status-pill.paid { background: var(--blue-soft); color: var(--blue); }
.status-pill.delivered { background: var(--green-soft); color: var(--green); }
.status-pill.cancelled, .status-pill.expired { background: #f1f4f9; color: var(--muted); }
.status-pill.partial { background: #f3e8ff; color: #7c3aed; }

/* ── FAQ / legal / support ───────────────────────────────── */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--display); font-size: 20px; margin: 32px 0 12px; }
.prose h3 { font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--body); font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 18px; }
.prose li { margin-bottom: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 20px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text); }
.faq-q:hover { color: var(--blue); }
.faq-q .chev { transition: transform .2s; color: var(--muted); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a .in { padding: 0 20px 20px; color: var(--body); font-size: 14.5px; }
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.support-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: center; background: #fff; }
.support-card .why-ic { margin: 0 auto 14px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #2C1A0E; color: #D8C3A8; margin-top: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.foot-brand .logo-text { color: #fff; }
.foot-brand .logo-text small { color: #B99B78; }
.foot-brand p { font-size: 13.5px; margin: 16px 0 20px; max-width: 300px; color: #B99B78; }
.foot-col h3 { color: #fff; font-size: 14px; font-weight: 650; margin-bottom: 18px; letter-spacing: .02em; }
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { color: #D8C3A8; font-size: 13.5px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: #8ea3cc; flex-wrap: wrap; }
.pay-badges { display: flex; gap: 8px; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; padding: 4px 11px; font-size: 11.5px; font-weight: 600; color: #cdd8f0; }

/* ── 404 ─────────────────────────────────────────────────── */
.e404 { text-align: center; padding: 100px 24px; }
.e404 .code { font-family: var(--display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; color: var(--blue-soft); line-height: 1; }
.e404 h1 { font-family: var(--display); margin: 8px 0 12px; }
.e404 p { color: var(--body); margin-bottom: 28px; }

/* ── Toasts ──────────────────────────────────────────────── */
#toasts { position: fixed; bottom: 24px; left: 24px; z-index: 9999; display: grid; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: tin .25s ease; }
.toast svg { width: 18px; height: 18px; color: #7ea2ff; }
@keyframes tin { from { transform: translateY(12px); opacity: 0; } }

/* ── Mobile drawer ───────────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 20, 40, .5); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(270px, 70vw); background: #fff; padding: 14px 18px 22px; overflow-y: auto; animation: din .25s ease; box-shadow: -12px 0 40px rgba(14,26,48,.12); }
@keyframes din { from { transform: translateX(40px); opacity: 0; } }
.drawer-panel .nav { display: flex; flex-direction: column; margin: 12px 0 0; }
.drawer-panel .nav a { padding: 13px 6px; font-size: 15px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
.drawer-panel .nav a:last-child { border-bottom: none; }
.drawer-panel .hdr-search { margin-bottom: 4px; }
.drawer-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; margin-left: auto; }

/* ── Cart drawer (mini) ──────────────────────────────────── */
.mini-cart { position: fixed; inset: 0; z-index: 200; display: none; }
.mini-cart.open { display: block; }
.mini-cart .drawer-panel { display: flex; flex-direction: column; }
.mc-items { flex: 1; overflow-y: auto; display: grid; gap: 14px; align-content: start; margin: 18px 0; }
.mc-item { display: flex; gap: 12px; align-items: center; }
.mc-item .ct { width: 60px; height: 50px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.mc-item b { font-size: 13px; display: block; }
.mc-item span { font-size: 12px; color: var(--muted); }
.mc-item .p { margin-left: auto; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.mc-foot { border-top: 1px solid var(--line); padding-top: 16px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .header-inner { gap: 14px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hdr-search { max-width: none; flex: 1; }
}
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 60px; }
  .hero-art { min-height: 320px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .cart-layout, .co-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .support-cards { grid-template-columns: 1fr; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; max-width: 100%; }
  .acct-nav a { flex: none; white-space: nowrap; }
}
@media (max-width: 768px) {
  .hero-art { min-height: 200px; }
  .hero-badge-card { display: none; }
  .hero-badge-card { padding: 10px 12px; }
  .hero-badge-card .bi { width: 34px; height: 34px; }
  .hero-badge-card b { font-size: 12px; }
  .hero-badge-card span { font-size: 11px; }
  .hb1 { top: 0; left: 0; }
  .hb2 { top: 34%; right: 0; }
  .hb3 { bottom: 0; left: 6%; }
  .hero-logo-big { width: 140px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; flex: none; }
  .hdr-search { display: none; }
  .utilbar ul li:nth-child(n+2) { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-body { padding: 14px; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd-media { position: static; }
  .feat-list { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 32px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .prod-grid { gap: 10px; }
  .pcard-name { font-size: 13.5px; }
  .price { font-size: 16px; }
  .trust-row { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Product guide (supplier notes + official info) ────────── */
.guide-wrap { display: grid; gap: 18px; margin-top: 8px; }
.guide-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.guide-supplier-top { background: var(--bg-soft); }
.guide-box .kicker, .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.guide-about h2 { font-family: var(--display); font-size: 20px; margin-bottom: 12px; }
.guide-lead { color: var(--body); margin-bottom: 16px; }
.guide-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.guide-feats li { position: relative; padding-left: 28px; font-size: 14px; color: var(--body); }
.guide-feats li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); border-radius: 2px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.detail-grid > div { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; }
.detail-grid dt { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.detail-grid dd { font-weight: 600; font-size: 14px; }
@media (max-width: 768px) { .guide-feats, .detail-grid { grid-template-columns: 1fr; } }

/* ── Floating WhatsApp button ──────────────────────────────── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .18s, box-shadow .18s; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .6); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px); background: #fff; color: var(--text); font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; border: 1px solid var(--line); }
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 768px) { .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; } .wa-tip { display: none; } }

/* ── Scroll reveal animations ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Animated ambient background ───────────────────────────── */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: blob-drift 22s ease-in-out infinite alternate; }
.blob.b1 { width: 480px; height: 480px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(0,81,240,.16), transparent 70%); }
.blob.b2 { width: 420px; height: 420px; right: -120px; top: 32%; background: radial-gradient(circle, rgba(0,81,240,.12), transparent 70%); animation-delay: -7s; animation-duration: 26s; }
.blob.b3 { width: 520px; height: 520px; left: 22%; bottom: -200px; background: radial-gradient(circle, rgba(0,16,69,.10), transparent 70%); animation-delay: -14s; animation-duration: 30s; }
@keyframes blob-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(46px, -34px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(.94); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.hdr-acct { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hdr-acct svg { flex: none; }
@media (max-width: 480px) {
  .hdr-acct span { display: none; }
  .hdr-acct { padding: 8px 10px; }
  .logo-text small { display: none; }
  .logo-text { font-size: 15px; }
}

.page-hero { overflow: hidden; }
.page-hero .wrap > * { min-width: 0; }

/* ── Account hero: always fits, never overflows ───────────── */
.acct-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.acct-hero-text { min-width: 0; flex: 1 1 260px; }
.acct-hero-text h1 { overflow-wrap: break-word; }
.acct-hero-text .muted { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .acct-hero { display: block; }
  .acct-hero-text { margin-bottom: 14px; }
  .acct-hero-text h1 { font-size: 1.45rem; line-height: 1.2; }
}

.auth-switch { text-align: center; font-size: 14.5px; color: var(--body); margin: 20px 0 4px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.auth-switch a { font-weight: 700; }
.deal-box { background: #fff8ec; border: 1px solid #f5ddb0; border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: 13px; }
.deal-box p { margin: 4px 0; }
.deal-ends { color: #b45309; font-weight: 600; }
.deal-tiers { color: #7c5a1e; }

/* ── Public sidebar layout (hPanel style) ── */
.pub-layout{display:flex;min-height:100vh}
.pub-side{width:264px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden;z-index:60;font-family:'Inter',ui-sans-serif,system-ui,sans-serif}
.pub-logo{display:flex;align-items:center;gap:10px;padding:20px 20px 16px;text-decoration:none;color:var(--text)}
.pub-logo .logo-text{font-weight:800;font-size:15px;letter-spacing:.05em;line-height:1.2}
.pub-logo .logo-text small{display:block;font-size:9px;font-weight:600;letter-spacing:.14em;color:var(--muted)}
.pub-search{display:flex;align-items:center;gap:8px;background:#f4f6fa;border:1px solid var(--line);border-radius:10px;padding:9px 12px;margin:0 16px 14px}
.pub-search svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}
.pub-search input{border:none;background:none;outline:none;font:inherit;font-size:13px;width:100%;color:var(--text)}
.pub-menu{flex:1;padding:0 12px 16px;display:flex;flex-direction:column;gap:2px}
.pub-menu a.item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#3d4a61;font-size:13.5px;font-weight:500;text-decoration:none}
.pub-menu a.item:hover{background:#f4f6fa;color:var(--text)}
.pub-menu a.item.active{background:#eef1f6;color:var(--text);font-weight:600}
.pub-menu a.item svg{width:17px;height:17px;color:#6b7a93;flex-shrink:0}
.pub-menu a.item.active svg{color:var(--text)}
.pub-menu .cart-count{background:var(--blue);color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:1px 7px;margin-left:auto}
.pub-menu .cart-count[hidden]{display:none!important}
.pub-section{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.03em;padding:16px 12px 6px}
.pub-side-bg{display:none}
.pub-content{flex:1;min-width:0;display:flex;flex-direction:column}
.pub-content main{flex:1}
.pub-topbar{display:none}
@media(max-width:900px){
  .pub-side{position:fixed;left:0;top:0;transform:translateX(-100%);transition:transform .25s;box-shadow:0 0 40px rgba(0,0,0,.15)}
  .pub-side.open{transform:none}
  .pub-side.open + .pub-side-bg{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:55}
  .pub-topbar{display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid var(--line);padding:10px 16px;position:sticky;top:0;z-index:50}
  .pub-logo-sm{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--text);font-size:14px}
}

.pub-cur{margin:0 16px 12px}
.pub-cur .cur-select{width:100%;background:#f4f6fa;border:1px solid var(--line);border-radius:10px;padding:9px 12px;font-size:13px;font-weight:600;color:var(--text);cursor:pointer;appearance:none;-webkit-appearance:none}
.pub-menu a.item.cart-item{background:var(--blue);color:#fff;font-weight:600;margin-top:4px}
.pub-menu a.item.cart-item:hover{background:var(--acc-dark,#003ec4);color:#fff}
.pub-menu a.item.cart-item svg{color:#fff}
.pub-menu a.item.cart-item .cart-count{background:#fff;color:var(--blue)}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Hero ambient glow ── */
.hero-glow { position: relative; }
.hero-glow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 480px; height: 480px; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(0,81,240,.16) 0%, rgba(124,58,237,.1) 40%, transparent 70%); filter: blur(40px); animation: glow-drift 8s ease-in-out infinite alternate; pointer-events: none; z-index: 0; }
@keyframes glow-drift { from { transform: translate(-52%,-48%) scale(1); } to { transform: translate(-48%,-52%) scale(1.12); } }
.hero-glow > * { position: relative; z-index: 1; }

/* ── Glass wallet card ── */
.wallet-hero.glass { background: linear-gradient(135deg, rgba(0,40,120,.85), rgba(0,81,240,.75)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid transparent; background-clip: padding-box; position: relative; color: #fff; }
.wallet-hero.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(to bottom right, rgba(255,255,255,.35), transparent 50%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.wallet-hero.glass .muted, .wallet-hero.glass p { color: rgba(255,255,255,.8); }

/* ── Glowing search/inputs ── */
.pub-search:focus-within, .hdr-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,81,240,.15), 0 0 18px rgba(0,81,240,.12); }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(0,81,240,.15), 0 0 14px rgba(0,81,240,.1); }

/* ── Credential box with copy button ── */
.cred-wrap { margin: 0 0 4px; }
.cred-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cred-head h3 { font-family: var(--display); font-size: 16px; margin: 0; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; border: none; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, transform .1s; }
.copy-btn:hover { background: #003ec4; }
.copy-btn:active { transform: scale(.96); }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn.copied { background: var(--green); }

/* ── Mini-cart qty + remove controls ── */
.mc-item { position: relative; }
.mc-info { flex: 1; min-width: 0; }
.mc-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.mc-qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 16px; font-weight: 700; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.mc-qty button:active { transform: scale(.92); }
.mc-qty span { font-size: 13px; font-weight: 600; min-width: 18px; text-align: center; }
.mc-rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; border: none; background: #fee2e2; color: #dc2626; cursor: pointer; display: grid; place-items: center; }
.mc-rm:active { transform: scale(.92); }
.mc-item .p { padding-right: 28px; }

/* ── SEO tagline on product page ── */
.seo-tagline { font-size: 15px; color: var(--cocoa); margin: 8px 0 0; font-weight: 600; line-height: 1.45; }
/* ── Homepage blog section ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
a.blog-card, .blog-card { background: #ffffff; border: 1px solid var(--peach); border-radius: 20px; overflow: hidden; text-decoration: none !important; color: var(--cocoa) !important; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
a.blog-card:hover, .blog-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 40, 120, .10); text-decoration: none !important; }
.blog-card .bc-img { height: 150px; display: grid; place-items: center; font-size: 44px; background: linear-gradient(135deg, #FBEEDD, #F5D7B8); }
.blog-card .bc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card .bc-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--terra-dark) !important; }
.blog-card h3, a.blog-card h3 { font-size: 16.5px; line-height: 1.35; margin: 0; color: var(--cocoa) !important; font-weight: 700; }
.blog-card p, a.blog-card p { font-size: 13.5px; color: var(--muted) !important; line-height: 1.55; margin: 0; flex: 1; }
.blog-card .bc-more { font-size: 13px; font-weight: 700; color: var(--terra-dark) !important; }
/* ── Blog post page ── */
.blog-post { max-width: 760px; margin: 0 auto; padding: 36px 20px 60px; }
.blog-post .bp-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.blog-post h1 { font-size: 30px; line-height: 1.25; margin: 10px 0 8px; }
.blog-post .bp-meta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.blog-post .bp-hero { font-size: 64px; text-align: center; background: linear-gradient(135deg, var(--blue-soft), #F5D7B8); border-radius: 18px; padding: 40px 20px; margin-bottom: 28px; }
.blog-post .bp-body { font-size: 16px; line-height: 1.75; color: var(--text); }
.blog-post .bp-body h2 { font-size: 21px; margin: 32px 0 12px; color: var(--ink); }
.blog-post .bp-body h3 { font-size: 17px; margin: 24px 0 8px; color: var(--ink); }
.blog-post .bp-body p { margin: 0 0 16px; }
.blog-post .bp-body ul, .blog-post .bp-body ol { margin: 0 0 16px 22px; }
.blog-post .bp-body li { margin-bottom: 8px; }
.blog-post .bp-body a { color: var(--blue); font-weight: 600; }
.blog-post .bp-cta { margin-top: 36px; background: var(--blue-soft); border-radius: 16px; padding: 26px; text-align: center; }
.blog-post .bp-cta h3 { margin: 0 0 8px; font-size: 18px; }
.blog-post .bp-cta p { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
  .blog-card .bc-body { padding: 16px; }
  .blog-card h3, a.blog-card h3 { font-size: 16px; }
  .blog-card p, a.blog-card p { font-size: 13px; }
  .blog-post h1 { font-size: 24px; }
  /* Prevent any horizontal overflow in blog section */
  .blog-grid, .blog-card { max-width: 100%; min-width: 0; }
}

/* ── Coupon banner (warm) ── */
.coupon-banner { background: linear-gradient(120deg, #F5D7B8, #EFC39A); border-radius: 24px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.coupon-banner h3 { font-size: 19px; color: var(--cocoa); margin: 0 0 4px; }
.coupon-banner p { font-size: 14px; color: #6B4A2E; margin: 0; }
.coupon-banner p code { background: rgba(255,255,255,.6); padding: 2px 8px; border-radius: 6px; font-weight: 700; color: var(--terra-dark); }
.coupon-banner .btn { background: #FFFDF9; color: var(--terra-dark); border-color: #FFFDF9; box-shadow: var(--shadow-sm); white-space: nowrap; }
.coupon-banner .btn:hover { background: #fff; color: var(--cocoa); }
@media (max-width: 600px) { .coupon-banner { padding: 22px; border-radius: 20px; } }

/* ── Warm marketplace card style (mockup 8C) ── */
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.pcard-brand { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.pcard-tag { font-size: 11px; font-weight: 700; background: #F5D7B8; color: #7A4A1F; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pcard-name { font-size: 19px; font-weight: 700; color: var(--cocoa); line-height: 1.3; margin: 0; }
.pcard-name a { color: inherit; text-decoration: none; }
.pcard-name a:hover { color: var(--terra-dark); }
.pcard-desc { font-size: 13px; color: var(--muted); margin: 0; }
.pcard-action { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.pcard-action .price { font-size: 19px; font-weight: 700; color: var(--terra-dark); }
.pcard-action .price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.btn-add { display: inline-flex; align-items: center; padding: 8px 18px; border: 1.5px solid var(--peach-deep); background: transparent; color: var(--terra-dark); border-radius: 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap; }
.btn-add:hover { background: var(--terra); border-color: var(--terra); color: #fff; }

/* ── Mockup 8C: trust pill, centered footer, bottom nav, warm logo ── */
.trust-pill { display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; border: 1px solid var(--peach); border-radius: 18px; padding: 14px 8px; margin: 22px 0 0; box-shadow: 0 4px 18px rgba(150, 90, 40, .08); list-style: none; }
.trust-pill li { display: flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 14px; }
.trust-pill li + li { border-left: 1px solid var(--peach); }
.trust-pill b { font-weight: 600; color: var(--cocoa); white-space: nowrap; }
.trust-pill .trust-ic { width: 26px; height: 26px; color: var(--terra); flex: none; }
.trust-pill .trust-ic svg { width: 100%; height: 100%; }

.foot-centered { text-align: center; padding: 40px 20px 30px; }
.foot-tagline { font-size: 16px; font-weight: 600; color: var(--cocoa); margin: 0 0 12px; }
.foot-links { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.foot-links a { color: var(--terra-dark); font-size: 14px; font-weight: 500; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links span { color: var(--muted); }
.foot-meta { font-size: 12.5px; color: var(--muted); margin: 0; }

.bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--peach); padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 500; padding: 4px 0; }
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--terra-dark); }
@media (max-width: 760px) {
  .trust-pill li { padding: 0 8px; }
  .trust-pill li b { font-size: 11.5px; white-space: normal; text-align: center; line-height: 1.25; }
  .trust-pill .trust-ic { width: 20px; height: 20px; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 64px; }
  .trust-pill { gap: 0; padding: 12px 4px; }
  .trust-pill li { padding: 0 10px; font-size: 12.5px; }
  .trust-pill .trust-ic { width: 22px; height: 22px; }
}

.logo-text { font-size: 20px !important; font-weight: 800 !important; color: var(--cocoa) !important; letter-spacing: -0.01em !important; }
.logo-text small { display: none !important; }
.logo-mark { border-radius: 12px; }

@media (max-width: 760px) {
  .wa-float { bottom: 76px !important; }
}

@media (max-width: 760px) {
  .foot-centered { padding-bottom: 90px; }
}

.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.foot-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand p { font-size: 13.5px; line-height: 1.6; color: #B89B7D; margin: 0 0 16px; }
.foot-col h3 { font-size: 14px; font-weight: 700; color: #FFF6EA; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: #B89B7D; font-size: 13.5px; text-decoration: none; }
.foot-col a:hover { color: var(--peach-deep); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #8A6F55; flex-wrap: wrap; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 4px 12px; border-radius: 999px; font-size: 12px; color: #D8C3A8; }
.foot-brand .btn-ghost { border-color: rgba(255,255,255,.2); color: #FFF6EA; }
.foot-brand .btn-ghost:hover { border-color: var(--terra); color: #fff; background: var(--terra); }
@media (max-width: 768px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
  .foot-brand { grid-column: 1 / -1; }
}

.site-footer .logo-text { color: #FFF6EA !important; }

/* ── SEO package: price table, FAQ, all-products link list (warm theme) ── */
.pt-wrap { max-width: 720px; }
.pt-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.pt-table th, .pt-table td { padding: 12px 16px; text-align: left; font-size: 14px; }
.pt-table thead th { background: var(--bg-soft); color: var(--body); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.pt-table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.pt-table tbody tr:first-child td { background: var(--blue-soft); }
.pt-table td b { color: var(--terra-dark); }
.faq-list { max-width: 760px; display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--terra); font-weight: 400; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 18px 16px; color: var(--body); font-size: 14px; }
.allprod-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.allprod-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 10px; font-size: 14px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.allprod-list a:hover { border-color: var(--peach-deep); box-shadow: var(--shadow-sm); color: var(--text); }
.allprod-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.allprod-list a b { color: var(--terra-dark); font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .allprod-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .allprod-list { grid-template-columns: 1fr; } }

/* ── Buyer reviews ── */
.rev-summary { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.rev-summary .stars { color: #E8A33D; font-size: 18px; letter-spacing: 2px; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.rev-card { background: #fff; border: 1px solid var(--peach); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.rev-card .stars { color: #E8A33D; font-size: 15px; letter-spacing: 2px; }
.rev-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--cocoa); }
.rev-card .rev-meta { font-size: 12px; color: var(--muted); margin-top: auto; }

/* -- Checkout overflow fix + selected-method address (2026-10-21) -- */
.co-layout > *, .cart-layout > * { min-width: 0; }
.pay-opt { flex-wrap: wrap; row-gap: 6px; }
.pay-opt > span:not(.pm-ic) { min-width: 0; }
.pay-opt .pm-addr { display: none; font-family: ui-monospace, monospace; font-size: 12px; color: var(--blue); word-break: break-all; margin-top: 3px; }
.pay-opt.sel .pm-addr { display: block; }
.co-item > div { min-width: 0; }
.co-item b { overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .co-card { padding: 22px 18px; }
  .summary { padding: 22px 18px; }
  .pay-opt { padding: 14px; }
  .charge-box { padding: 24px 18px; }
}
