/* ═══════════════════════════════════════════════════════════════
   AHM7 Store — original white & blue marketplace design
   Clean · minimal · typography-focused · generous whitespace
   Brand: deep navy #001045 + vivid blue #0051f0
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-mute: #eef3fc;
  --card: #ffffff;
  --line: #e4eaf5;
  --line-soft: #eef2f9;
  --text: #0e1a30;
  --body: #46566e;
  --muted: #7b8aa0;
  --navy: #001045;
  --navy-2: #0a1c4e;
  --blue: #0051f0;
  --blue-h: #003ec4;
  --blue-soft: #e8efff;
  --blue-ghost: rgba(0, 81, 240, .07);
  --green: #16a34a;
  --green-soft: #e7f7ee;
  --red: #dc2626;
  --red-soft: #fdeaea;
  --amber: #d97706;
  --amber-soft: #fef4e2;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
  --r: 12px;
  --r-lg: 16px;
  --hdr-h: 72px;
  --util-h: 36px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 48, .05);
  --shadow: 0 8px 28px rgba(14, 26, 48, .08);
  --shadow-lg: 0 20px 60px rgba(0, 40, 120, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
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(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); 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(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 10px; font-weight: 600; font-size: 14.5px; transition: background .15s, transform .1s, box-shadow .15s; box-shadow: 0 4px 14px rgba(0, 81, 240, .25); }
.btn:hover { background: var(--blue-h); border-color: var(--blue-h); color: #fff; box-shadow: 0 6px 20px rgba(0, 81, 240, .35); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--blue); border-color: #c9d8f8; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-h); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: #fff; box-shadow: none; }
.btn-lg { padding: 15px 32px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.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(255, 255, 255, .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; }
.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: linear-gradient(180deg, #f2f6ff 0%, #ffffff 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue); }
.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: 50%; border: 2px solid rgba(0, 81, 240, .18); box-shadow: 0 0 0 44px rgba(0, 81, 240, .05), 0 0 0 88px rgba(0, 81, 240, .025), 0 0 90px rgba(0, 81, 240, .12); }
.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: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s, border-color .18s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c3d4f6; }
.pcard-media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #e9f0ff, #f7faff); 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: 18px; background: #fff; color: var(--blue); 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; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--blue); border: 1px solid #d5e2fb; box-shadow: var(--shadow-sm); }
.pill.hot { background: var(--blue); color: #fff; border-color: var(--blue); }
.pill.deal { background: var(--amber-soft); color: var(--amber); border-color: #f5ddb0; }
.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.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 8px; }
.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; }
.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; }
.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: 280px 1fr; gap: 28px; padding: 44px 0 64px; align-items: start; }
.acct-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.acct-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--body); font-size: 14px; font-weight: 500; }
.acct-nav a svg { width: 18px; height: 18px; color: var(--muted); }
.acct-nav a:hover { background: var(--bg-soft); color: var(--text); }
.acct-nav a.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.acct-nav a.on svg { color: var(--blue); }
.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: 32px; margin-bottom: 18px; }
.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: 40px; font-weight: 700; }
.order-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.order-row:last-child { border: none; }
.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: var(--navy); color: #b9c8e8; 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: #8ea3cc; }
.foot-brand p { font-size: 13.5px; margin: 16px 0 20px; max-width: 300px; color: #8ea3cc; }
.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: #b9c8e8; 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(340px, 88vw); background: #fff; padding: 24px; overflow-y: auto; animation: din .25s ease; }
@keyframes din { from { transform: translateX(40px); opacity: 0; } }
.drawer-panel .nav { display: flex; flex-direction: column; margin: 20px 0; }
.drawer-panel .nav a { padding: 13px 14px; font-size: 15px; }
.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: 1150px) {
  .header-inner { gap: 16px; }
  .nav a { padding: 10px 10px; font-size: 13.5px; }
  .hdr-search { max-width: 230px; }
}
@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; }
}
@media (max-width: 768px) {
  .hero-art { min-height: 280px; }
  .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; }
  .nav, .hdr-search { display: none; }
  .menu-btn { display: grid; }
  .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; } }
