/* Huynh Ca 3D – giao diện cửa hàng. Màu: mực tối + cam nhựa in. */
:root {
  --bg: #f7f5f1; --card: #ffffff; --text: #16181d; --muted: #646a76; --line: #e7e3dc; --chip: #efebe4;
  --ink: #16181d; --ink-2: #23262d; --on-ink: #f5f3ef; --on-ink-muted: #a9adb6;
  --accent: #d9480f; --accent-hi: #ff7a3d; --accent-text: #ffffff; --accent-soft: #fdebe1;
  --ok: #1f8a4c; --ok-soft: #e3f4ea; --danger: #c92a2a;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22,24,29,.05), 0 8px 24px rgba(22,24,29,.06);
  --shadow-hi: 0 2px 4px rgba(22,24,29,.06), 0 18px 40px rgba(22,24,29,.12);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111317; --card: #1a1d23; --text: #eceae6; --muted: #9ba0aa; --line: #2a2e36; --chip: #23272e;
    --ink: #0b0c0f; --ink-2: #181b20; --accent-soft: #3a1d10; --ok-soft: #12301f;
    --shadow: none; --shadow-hi: 0 18px 40px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --bg: #111317; --card: #1a1d23; --text: #eceae6; --muted: #9ba0aa; --line: #2a2e36; --chip: #23272e;
  --ink: #0b0c0f; --ink-2: #181b20; --accent-soft: #3a1d10; --ok-soft: #12301f;
  --shadow: none; --shadow-hi: 0 18px 40px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.2; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 12px 16px; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; flex-shrink: 0; }
.mark { width: 36px; height: 36px; }
.mark-bg { fill: var(--ink); stroke: var(--line); stroke-width: 1; }
.word { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.word-3d { background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 7px; border-radius: 6px; letter-spacing: 0; }
.search { flex: 1; position: relative; max-width: 520px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; padding-left: 42px; border-radius: 99px; background: var(--card); }
.nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 99px; }
.nav a:hover { background: var(--chip); }
.nav-custom { color: var(--accent) !important; }
.cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0 !important; }
.cart-link svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 11px; border-radius: 99px; padding: 0 5px; font-weight: 700; }

main { width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px 16px 64px; flex: 1; }
main:focus { outline: none; }

/* ---------- Controls ---------- */
input, select, textarea { font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  padding: 11px 20px; border-radius: 99px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .1s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn.light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn.ghost-ink { background: transparent; color: var(--on-ink); border-color: color-mix(in srgb, var(--on-ink) 30%, transparent); }
.btn.ghost-ink:hover { border-color: var(--on-ink); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.block { width: 100%; }
.btn.sm { padding: 6px 14px; font-size: 14px; }
.btn.lg { padding: 14px 26px; font-size: 17px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center;
  background: var(--ink); color: var(--on-ink); border-radius: 28px; padding: 56px 48px; margin-bottom: 20px; isolation: isolate; }
/* vân lớp in 3D */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255,255,255,.035) 7px 8px),
              radial-gradient(70% 90% at 95% 10%, color-mix(in srgb, var(--accent-hi) 45%, transparent), transparent 60%),
              radial-gradient(50% 70% at 0% 100%, rgba(255,165,119,.18), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-hi); background: rgba(255,122,61,.12);
  border: 1px solid rgba(255,122,61,.3); padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 4px rgba(255,122,61,.2); }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; margin: 0 0 16px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero p { margin: 0 0 28px; color: var(--on-ink-muted); font-size: 18px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--on-ink); }
.hero-stats span { font-size: 13px; color: var(--on-ink-muted); }
.showcase { position: relative; height: 380px; }
.showcase .tile { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: 0 24px 48px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08); text-decoration: none; transition: transform .25s; }
.showcase .tile img { width: 100%; height: 100%; object-fit: cover; }
.showcase .tile .tl { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(22,24,29,.78); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 6px 10px; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; }
.showcase .tile .tl b { color: var(--accent-hi); white-space: nowrap; }
.showcase .t0 { right: 4%; top: 0; transform: rotate(4deg); z-index: 2; }
.showcase .t1 { left: 0; bottom: 0; transform: rotate(-5deg); z-index: 3; }
.showcase .t2 { right: 0; bottom: 6%; width: 40%; transform: rotate(9deg); z-index: 1; opacity: .9; }
.showcase .tile:hover { transform: rotate(0) scale(1.03); z-index: 4; }
.showcase-empty { display: grid; place-items: center; height: 100%; }
.showcase-empty svg { width: 70%; max-width: 280px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 48px; }
.perk { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.perk .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.perk .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Product grid ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.section-head .sub { margin: 4px 0 0; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text); text-decoration: none; transition: all .15s; }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); }
.card .img { position: relative; aspect-ratio: 1; background: linear-gradient(160deg, var(--chip), color-mix(in srgb, var(--chip) 60%, var(--card))); display: grid; place-items: center; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .img img { transform: scale(1.05); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--card); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.badge.sale { background: var(--accent); color: #fff; }
.badge.hot { background: var(--text); color: var(--bg); }
.card .body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; }
.card .cat { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.dots { display: flex; gap: 3px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: block; }
.price { font-weight: 800; color: var(--accent); font-size: 18px; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 14px; }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--chip), var(--card), var(--chip)); background-size: 200% 100%; animation: sk 1.2s infinite; aspect-ratio: .78; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Custom print banner ---------- */
.how { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; background: var(--accent-soft); border-radius: 28px; padding: 44px; }
.how h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; font-weight: 800; }
.how p { color: var(--muted); margin: 0 0 22px; }
.steps { display: grid; gap: 12px; counter-reset: s; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 800; }
.step b { display: block; }
.step span { color: var(--muted); font-size: 14px; }

/* ---------- Product page ---------- */
.crumb { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.crumb:hover { color: var(--text); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: 84px; }
.gallery .main { aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--chip), var(--card)); border: 1px solid var(--line); display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--chip); }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .cat { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.product h1 { margin: 6px 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.product .price { font-size: 28px; }
.save { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 99px; vertical-align: middle; }
.opts { display: grid; gap: 18px; margin: 24px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opt-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.opt-label span { color: var(--muted); font-weight: 400; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); border-radius: 99px; padding: 7px 14px 7px 8px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; }
.swatches button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatches button.on { border-color: var(--accent); background: var(--accent-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; overflow: hidden; width: max-content; background: var(--card); }
.qty button { border: 0; background: none; color: var(--text); width: 44px; height: 44px; font-size: 20px; cursor: pointer; }
.qty button:hover { background: var(--chip); }
.qty input { width: 52px; border: 0; text-align: center; padding: 0; background: none; font-weight: 600; box-shadow: none; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 160px; }
.assure { display: grid; gap: 8px; margin: 22px 0; font-size: 14px; color: var(--muted); }
.assure div { display: flex; gap: 10px; align-items: center; }
.assure svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pinfo h3 { font-size: 17px; margin: 24px 0 8px; }
.desc { white-space: pre-line; color: var(--muted); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 14px; margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }

/* ---------- Cart / forms / panels ---------- */
.page-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0 0 20px; }
.layout-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.layout-2 > *, .product > * { min-width: 0; }
body[data-page="/cart"] .zalo-fab, body[data-page="/checkout"] .zalo-fab { display: none !important; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 16px; font-size: 20px; font-weight: 700; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img, .line .ph { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--chip); display: grid; place-items: center; }
.sum { display: flex; justify-content: space-between; margin: 8px 0; }
.sum.total { font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; }
.form { display: grid; gap: 14px; }
.auth { max-width: 440px; margin: 32px auto; padding: 32px; }
.auth h2 { font-size: 26px; font-weight: 800; }
.radio { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; color: var(--text); font-weight: 400; }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio input { width: auto; margin-top: 5px; accent-color: var(--accent); }
.status { display: inline-block; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 600; background: var(--chip); }
.status.new { background: #fff3cd; color: #7a5a00; } .status.printing { background: #dbeafe; color: #1e40af; }
.status.ready { background: #ede9fe; color: #5b21b6; }
.status.shipped, .status.done { background: var(--ok-soft); color: var(--ok); } .status.cancelled { background: #fde2e2; color: var(--danger); }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 16px; text-align: center; cursor: pointer; background: var(--bg); font-weight: 500; transition: all .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.notice { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 12px 14px; white-space: pre-line; }
.warn { color: var(--danger); }
.success { text-align: center; max-width: 520px; margin: 32px auto; }
.success .big { font-size: 56px; line-height: 1; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-ink); margin-top: 32px; }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 48px 16px 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-ink-muted); }
.foot a { display: block; color: var(--on-ink); text-decoration: none; margin: 6px 0; opacity: .9; }
.foot a:hover { opacity: 1; color: var(--accent-hi); }
.foot .muted { color: var(--on-ink-muted); }
.foot-logo b { font-size: 22px; font-weight: 800; }
.foot-brand p { margin: 8px 0; max-width: 28em; }
.contact-btn { display: inline-flex !important; align-items: center; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 99px; margin: 0 0 8px !important; font-weight: 600; }
.contact-btn svg { width: 16px; height: 16px; fill: currentColor; }
.foot-bottom { max-width: 1200px; margin: 0 auto; padding: 16px; border-top: 1px solid rgba(255,255,255,.08); color: var(--on-ink-muted) !important; }

/* Nút Zalo nổi */
.zalo-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #0068ff; color: #fff; text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 99px; font-weight: 700; box-shadow: 0 10px 28px rgba(0,104,255,.35); transition: transform .15s; }
.zalo-fab:hover { transform: translateY(-2px); }
.zalo-fab svg { width: 22px; height: 22px; fill: #fff; }

#toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--on-ink); padding: 12px 20px; border-radius: 99px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: all .2s; max-width: calc(100vw - 32px); z-index: 50; box-shadow: var(--shadow-hi); }
#toast.show { opacity: 1; transform: translateX(-50%); }

/* Chính sách bảo mật, đồng ý, quyền dữ liệu */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; }
.check input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.prose { max-width: 780px; margin: 0 auto; padding: 36px 40px; }
.prose h1 { margin-top: 0; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.prose h2 { font-size: 19px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.privacy-box { border-top: 1px solid var(--line); padding-top: 12px; }
.privacy-box summary { cursor: pointer; font-weight: 600; }
.danger-zone { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--danger); border-radius: var(--radius-sm); }
.danger-zone input { max-width: 240px; }
.btn.danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.acc-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .showcase { height: 300px; max-width: 440px; width: 100%; margin: 0 auto; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; padding: 32px 24px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .word { font-size: 17px; }
  .hero { padding: 32px 20px; border-radius: 22px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 18px; }
  .showcase { display: none; }
  .perks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .perk { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .product, .layout-2 { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 10px 12px 12px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 16px; }
  .card .dots { display: none; }
  .card .price s { display: block; margin: 0; font-size: 12px; }
  .hero-stats > div:last-child { display: none; }
  .prose { padding: 24px 20px; }
  .auth { padding: 24px 20px; }
  .zalo-fab span { display: none; }
  .zalo-fab { padding: 14px; }
}
@media (max-width: 420px) { .nav-custom { display: none; } .foot-in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
