/* ==========================================================================
   Makxim ProChef — design system
   Clean modern light UI · Be Vietnam Pro · ember accent (induction glow)
   ========================================================================== */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-2: #f5f5f4;
  --surface-3: #eeedeb;
  --ink: #0c0a09;
  --ink-2: #292524;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #57534e;
  --subtle: #78716c;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;

  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fff1e8;
  --accent-glow: #ff6a1a;

  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --warning: #a16207;
  --warning-soft: #fefce8;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(28 25 23 / 0.06);
  --shadow: 0 1px 2px rgb(28 25 23 / 0.04), 0 8px 24px -8px rgb(28 25 23 / 0.12);
  --shadow-lg: 0 24px 60px -20px rgb(28 25 23 / 0.28);
  --ring: 0 0 0 3px rgb(194 65 12 / 0.28);

  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: #fed7aa; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.icon { flex-shrink: 0; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type scale ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.display { font-size: clamp(2.5rem, 5.4vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.04; }
.h1 { font-size: clamp(2rem, 4vw, 3rem); }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.625rem); }
.h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head > div:first-child { max-width: 640px; display: grid; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.9375rem; line-height: 1; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 8px 20px -8px rgb(12 10 9 / 0.5); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 10px 24px -10px rgb(194 65 12 / 0.7); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 14px; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; border-radius: 999px; }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges & pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--surface); color: var(--ink); border: 1px solid var(--border); white-space: nowrap; }
.badge-accent { background: var(--accent); color: #fff; border-color: transparent; }
.badge-dark { background: var(--ink); color: #fff; border-color: transparent; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-accent { background: var(--accent-soft); color: var(--accent-hover); }
.tone-warning { background: var(--warning-soft); color: var(--warning); }
.tone-success { background: var(--success-soft); color: var(--success); }
.tone-danger { background: var(--danger-soft); color: var(--danger); }
.tone-neutral { background: var(--surface-2); color: var(--text-2); }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-size: 0.8125rem; font-weight: 500; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #e7e5e4; font-size: 0.8125rem; }
.announce .container { display: flex; justify-content: center; gap: 24px; min-height: 36px; align-items: center; text-align: center; }
.announce b { color: #fff; font-weight: 600; }
.announce .sep { opacity: 0.35; }
@media (max-width: 720px) { .announce .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgb(250 250 249 / 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 0.2s, background-color 0.2s; }
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgb(250 250 249 / 0.92); }
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.0625rem; color: var(--ink); }
.brand picture { display: block; }
.brand-logo { height: 40px; width: auto; }
.site-footer .brand-logo { height: 48px; }
@media (max-width: 480px) { .brand-logo { height: 34px; } }
.brand small { display: block; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); line-height: 1; margin-top: 2px; }
.brand-text { line-height: 1.1; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); transition: background-color 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-hotline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; padding: 8px 14px; border-radius: 999px; }
.nav-hotline:hover { background: var(--surface-2); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-count[data-count='0'] { display: none; }
.cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

.mobile-nav { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav .scrim { position: absolute; inset: 0; background: rgb(12 10 9 / 0.4); opacity: 0; transition: opacity 0.25s; }
.mobile-nav.is-open .scrim { opacity: 1; }
.mobile-nav .panel { position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px; transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto; }
.mobile-nav.is-open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; font-size: 1.0625rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav .panel .btn { margin-top: 16px; }

@media (max-width: 980px) {
  .nav-links, .nav-hotline span { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, rgb(255 106 26 / 0.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lead { max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars .icon { fill: currentColor; stroke: none; }
.hero-visual { position: relative; }
.hero-visual .stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #f3f2f0 60%, #ebe9e6 100%); border: 1px solid var(--border); overflow: hidden; }
.hero-visual .stage img { width: 100%; height: 100%; object-fit: contain; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
/* Photo hero: product floats, CSS shadow breathes with it, burner rings glow */
.hero-visual .stage-photo { display: grid; place-items: center; }
.hero-product { position: relative; width: 86%; }
.hero-float { position: relative; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 22px 26px rgb(28 25 23 / 0.28)); }
.hero-visual .stage-photo img { width: 100%; height: auto; object-fit: initial; animation: none; }
.burner-glow {
  position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle closest-side, transparent 74%, rgb(255 106 26 / 0.35) 84%, rgb(255 122 46 / 0.95) 93%, rgb(255 61 0 / 0.4) 98%, transparent 100%);
  box-shadow: 0 0 36px 4px rgb(255 106 26 / 0.3);
  animation: burner 3.2s ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes burner { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.hero-shadow { display: block; width: 88%; height: 22px; margin: 7% auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(28 25 23 / 0.3), transparent); animation: hero-shadow 6s ease-in-out infinite; }
@keyframes hero-shadow { 50% { transform: scaleX(0.86); opacity: 0.65; } }
/* Scene hero: full-bleed lifestyle photo with a slow push-in */
.hero-visual .stage-scene { border-color: transparent; box-shadow: var(--shadow-lg); }
.hero-visual .stage-scene .scene { position: absolute; inset: 0; transform-origin: 50% 55%; animation: scene-zoom 18s ease-in-out infinite alternate; }
.hero-visual .stage-scene img { object-fit: cover; animation: none; }
.scene-glow {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  transform: translate(-50%, -50%) rotate(var(--r)); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, transparent 72%, rgb(255 106 26 / 0.3) 83%, rgb(255 122 46 / 0.95) 93%, rgb(255 61 0 / 0.45) 98%, transparent 100%);
  box-shadow: 0 0 22px 2px rgb(255 106 26 / 0.35);
  animation: burner 3.2s ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes scene-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.spec-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgb(255 255 255 / 0.9); border-radius: 14px; box-shadow: var(--shadow); font-size: 0.8125rem; line-height: 1.25; }
.spec-float b { display: block; font-size: 1rem; color: var(--ink); }
.spec-float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.spec-float.f1 { top: 8%; left: -4%; }
.spec-float.f2 { bottom: 12%; right: -3%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .spec-float.f1 { left: 8px; } .spec-float.f2 { right: 8px; }
}
@media (max-width: 480px) { .spec-float.f2 { bottom: 4%; } }

/* ---------- Trust bar ---------- */
.trust { position: relative; margin-top: clamp(-40px, -3vw, -16px); padding-bottom: clamp(16px, 3vw, 32px); z-index: 2; }
.trust-panel { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-xl); background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%); overflow: hidden; isolation: isolate; box-shadow: 0 1px 2px rgb(28 25 23 / 0.04), 0 24px 48px -24px rgb(194 65 12 / 0.28); }
.trust-panel::before { content: ''; position: absolute; inset: auto -10% -80% -10%; height: 140%; background: radial-gradient(50% 50% at 50% 100%, rgb(255 106 26 / 0.14), transparent 70%); z-index: -1; pointer-events: none; }
.trust-panel::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, var(--border), rgb(255 106 26 / 0.45) 50%, var(--border)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.trust-item { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding: clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 28px); transition: background 0.35s var(--ease); }
.trust-item + .trust-item::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--border-strong), transparent); }
.trust-item:hover { background: rgb(255 241 232 / 0.6); }
.trust-item .ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--accent-glow), var(--accent)); box-shadow: 0 10px 22px -10px rgb(194 65 12 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.35); transition: transform 0.35s var(--ease); }
.trust-item:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.trust-copy { display: grid; gap: 4px; min-width: 0; }
.trust-kicker { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.trust-fig { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.trust-fig small { font-size: 0.875rem; font-weight: 700; letter-spacing: 0; color: var(--accent); }
.trust-sub { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); white-space: nowrap; }
@media (max-width: 1024px) {
  .trust-panel { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3)::before { display: none; }
  .trust-item:nth-child(n + 3) { box-shadow: inset 0 1px 0 var(--border); }
}
@media (max-width: 520px) {
  .trust-panel { border-radius: var(--radius-lg); }
  .trust-item { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 18px 14px; }
  .trust-sub { white-space: normal; }
  .trust-item .ico { width: 40px; height: 40px; border-radius: 12px; }
}

/* ---------- Line cards ---------- */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.line-card { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-xl); background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); isolation: isolate; }
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.line-card .copy { padding: clamp(24px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px) 0; display: grid; gap: 10px; }
.line-card .price-from { font-size: 0.9375rem; color: var(--muted); }
.line-card .price-from b { color: var(--ink); }
.line-card img { width: 78%; margin: 8px auto -6%; transition: transform 0.6s var(--ease); }
.line-card:hover img { transform: scale(1.04); }
.line-card.photo { aspect-ratio: 4 / 5; background: #f1f1f3; border-color: transparent; }
.line-card.photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center bottom; }
.line-card.dark.photo { background: #0c0a09; }
.line-card.dark.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.75) 28%, rgba(12, 10, 9, 0) 55%); }
.line-card.dark { background: linear-gradient(160deg, #292524, #0c0a09); color: #d6d3d1; border-color: transparent; }
.line-card.dark h3 { color: #fff; }
.line-card.dark .price-from { color: #a8a29e; }
.line-card.dark .price-from b { color: #fff; }
.line-card.dark .link { color: #fdba74; }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } .line-card.photo { aspect-ratio: auto; } .line-card.photo .copy { position: relative; z-index: 1; } .line-card.photo img { position: static; height: auto; margin-top: -25%; } .line-card.dark.photo img { margin-top: 8px; } }

/* ---------- Segmented tabs ---------- */
.segmented { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.segmented a, .segmented button { min-height: 40px; padding: 0 18px; border: 0; background: transparent; border-radius: 999px; font-weight: 600; font-size: 0.875rem; color: var(--muted); display: inline-flex; align-items: center; transition: background-color 0.2s, color 0.2s; }
.segmented a:hover, .segmented button:hover { color: var(--ink); }
.segmented [aria-selected='true'], .segmented [aria-current='page'] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; gap: 16px; } }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card .media { position: relative; display: block; aspect-ratio: 1 / 0.86; background: linear-gradient(180deg, #f7f6f5, #efeeec); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; padding: 4% 8%; transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.product-card .media .alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .media .alt { opacity: 1; }
.product-card:hover .media img { transform: scale(1.03); }
.product-card .badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 1; }
.product-card .body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; flex: 1; }
.product-card .line-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.product-card h3 { font-size: 1.1875rem; }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; }
.product-card .tagline { font-size: 0.9375rem; color: var(--muted); }
.product-card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card .foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.product-card .foot .btn { position: relative; z-index: 1; }
.price { display: grid; gap: 2px; }
.price .now { font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .was { font-size: 0.875rem; color: var(--subtle); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price .save { color: var(--accent); font-weight: 600; font-size: 0.8125rem; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.tile { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); margin-bottom: auto; }
.tile h3 { font-size: 1.1875rem; margin-top: 20px; }
.tile p { color: var(--muted); font-size: 0.9375rem; }
.tile.hero-tile { grid-column: span 2; grid-row: span 2; gap: 24px; justify-content: space-between; min-height: 460px; background: radial-gradient(90% 70% at 85% 0%, #ffe4d1 0%, transparent 60%), linear-gradient(180deg, #fffaf6 0%, #ffffff 100%); border-color: #fed7aa; }
.tile.hero-tile h3 { margin-top: 0; font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.tile.hero-tile p { max-width: 460px; font-size: 1rem; }
.tile .big-num { display: grid; font-size: clamp(3rem, 6vw, 4.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--ink); }
.tile .big-num b { font-weight: inherit; white-space: nowrap; }
.tile .big-num small { font-size: 0.45em; color: var(--accent); }
.tile .big-num span { margin-top: 6px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.inv-copy { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: end; }

/* Inverter stage: tilted ProChef cooktop + floating chart card */
.inv-stage { position: relative; min-height: clamp(300px, 30vw, 380px); }
.inv-cooktop { position: absolute; left: 3%; top: 4%; width: 74%; perspective: 1400px; }
.inv-glass { position: relative; transform: rotateX(48deg) rotateZ(-10deg); transform-origin: 50% 60%; border-radius: 3%; filter: drop-shadow(0 30px 24px rgb(28 25 23 / 0.32)); }
.inv-glass img { display: block; width: 100%; height: auto; border-radius: 2.4%; }
.inv-glass::after { content: ''; position: absolute; inset: 0; border-radius: 2.4%; background: linear-gradient(115deg, rgb(255 255 255 / 0.18) 0%, transparent 30%, transparent 70%, rgb(255 255 255 / 0.06)); pointer-events: none; }
.inv-zone { position: absolute; top: 42.8%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; }
.inv-zone.z-left { left: 23.2%; background: radial-gradient(closest-side, transparent 72%, rgb(255 106 26 / 0.95) 82%, rgb(255 60 0 / 0.55) 88%, transparent 100%), radial-gradient(closest-side, rgb(255 90 20 / 0.28), transparent 75%); box-shadow: 0 0 40px 6px rgb(255 106 26 / 0.35); animation: inv-breathe 3.2s ease-in-out infinite; }
.inv-zone.z-right { left: 76.6%; background: radial-gradient(closest-side, transparent 74%, rgb(255 106 26 / 0.35) 84%, transparent 96%); opacity: 0.55; }
@keyframes inv-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.inv-shadow { display: block; width: 80%; height: 26px; margin: -6% auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(28 25 23 / 0.18), transparent); }
.inv-badge { position: absolute; left: 2%; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid #fed7aa; font-size: 0.75rem; font-weight: 700; color: var(--accent-hover); box-shadow: var(--shadow-sm); }
.inv-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-glow); box-shadow: 0 0 0 4px rgb(255 106 26 / 0.2); animation: inv-breathe 1.6s ease-in-out infinite; }
.inv-chart { position: absolute; right: 0; bottom: 0; width: min(56%, 400px); margin: 0; padding: 14px 14px 10px; border-radius: var(--radius); background: rgb(255 255 255 / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / 0.9); box-shadow: 0 24px 48px -20px rgb(194 65 12 / 0.45), 0 0 0 1px var(--border); }
.inv-chart svg { display: block; width: 100%; height: clamp(96px, 10vw, 130px); overflow: visible; }
.inv-legend { display: grid; gap: 4px; margin-bottom: 10px; font-size: 0.75rem; font-weight: 600; color: var(--text-2); }
.inv-key { display: inline-flex; align-items: center; gap: 8px; }
.inv-key i { width: 18px; height: 3px; border-radius: 2px; }
.inv-key.on-off i { background: repeating-linear-gradient(90deg, #a8a29e 0 4px, transparent 4px 7px); }
.inv-key.inverter i { background: linear-gradient(90deg, var(--accent-glow), var(--accent)); height: 4px; }
.inv-grid line { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.inv-target { stroke: var(--accent); stroke-opacity: 0.35; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.inv-onoff { fill: none; stroke: #a8a29e; stroke-width: 1.75; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.inv-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 4px 8px rgb(255 106 26 / 0.45)); }
.inv-area { opacity: 0; }
.reveal.is-in .inv-onoff { animation: inv-draw 2.4s var(--ease) 0.2s forwards; }
.reveal.is-in .inv-line { animation: inv-draw 1.8s var(--ease) 0.6s forwards; }
.reveal.is-in .inv-area { animation: inv-fade 1s ease 1.4s forwards; }
@keyframes inv-draw { to { stroke-dashoffset: 0; } }
@keyframes inv-fade { to { opacity: 1; } }
.inv-tag { position: absolute; right: 4px; font-size: 0.6875rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--subtle); }
.inv-plot { position: relative; }
.inv-tag.t-max { top: calc(18% - 28px); }
.inv-tag.t-low { top: calc(67% - 30px); color: var(--accent-hover); background: var(--accent-soft); border-color: #fed7aa; }
.inv-tag.t-off { top: calc(91% - 11px); }
@media (prefers-reduced-motion: reduce) { .inv-zone, .inv-badge i { animation: none; } .inv-onoff, .inv-line { stroke-dashoffset: 0; animation: none !important; } .inv-area { opacity: 1; animation: none !important; } }
.no-js .inv-onoff, .no-js .inv-line { stroke-dashoffset: 0; } .no-js .inv-area { opacity: 1; }
.tile.accent-tile { background: var(--accent-soft); border-color: #fed7aa; }
.tile.accent-tile .ico { background: #fff; color: var(--accent); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.hero-tile { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile.hero-tile { grid-column: auto; }
  .inv-copy { grid-template-columns: 1fr; gap: 12px; }
  .inv-tag.t-off { display: none; }
  .inv-stage { min-height: 0; display: grid; gap: 12px; }
  .inv-cooktop { position: relative; left: 0; width: 92%; margin: 28px auto 0; }
  .inv-chart { position: relative; width: 100%; margin-top: -18%; }
}

/* ---------- Guide (don vs doi) ---------- */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); display: grid; gap: 16px; align-content: start; }
.guide-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.guide-card li .icon { color: var(--success); margin-top: 3px; }
.guide-card .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 24px 0; border-top: 2px solid var(--ink); display: grid; gap: 6px; }
.stat b { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 0.875rem; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; color: var(--ink); }
.review footer b { display: block; color: var(--ink); }
.review footer span { color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .sticky { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.25s var(--ease); color: var(--subtle); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sticky { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, #1c1917, #0c0a09); color: #d6d3d1; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band::after { content: ''; position: absolute; right: -120px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 106 26 / 0.45), transparent); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #a8a29e; margin-top: 12px; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.3); }
.cta-band .btn-outline:hover { border-color: #fff; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(64px, 8vw, 112px); background: var(--surface); border-top: 1px solid var(--border); padding-block: 56px 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h3 { font-size: 0.875rem; letter-spacing: 0.02em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-grid .about p { color: var(--muted); margin-top: 14px; max-width: 340px; }
.footer-contact li { display: flex; gap: 10px; color: var(--muted); }
.footer-contact .icon { margin-top: 3px; color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--subtle); font-size: 0.8125rem; }
.pay-logos { display: flex; gap: 8px; align-items: center; }
.pay-logos span { height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; display: inline-flex; align-items: center; font-weight: 700; font-size: 0.75rem; color: var(--text-2); }
.pay-logos .momo { color: #a50064; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating chat ---------- */
.float-chat { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; gap: 12px; }
.float-chat a { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgb(12 10 9 / 0.45); transition: transform 0.2s var(--ease); }
.float-chat a:hover { transform: scale(1.06); }
.float-chat .zalo { background: #0068ff; font-weight: 800; font-size: 0.8125rem; letter-spacing: -0.02em; }
.float-chat .messenger { background: linear-gradient(45deg, #0a7cff, #a033ff 60%, #ff5c87); }
.float-chat .phone { background: var(--accent); }
.float-chat .phone::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
.float-chat .tip { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.float-chat a:hover .tip, .float-chat a:focus-visible .tip { opacity: 1; }
body.has-buybar .float-chat { bottom: 96px; }
@media (max-width: 600px) { .float-chat { right: 12px; bottom: 12px; gap: 8px; } .float-chat a { width: 46px; height: 46px; } .float-chat .zalo { font-size: .75rem; } }

/* ---------- Drawer & toast ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgb(12 10 9 / 0.4); opacity: 0; transition: opacity 0.25s; }
.drawer.is-open .scrim { opacity: 1; }
.drawer .panel { position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--ease); }
.drawer.is-open .panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.125rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--border); display: grid; gap: 12px; background: var(--surface); }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 600; }
.mini-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.mini-item img { width: 72px; height: 72px; object-fit: contain; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.mini-item b { display: block; font-size: 0.9375rem; color: var(--ink); }
.mini-item span { font-size: 0.8125rem; color: var(--muted); }
.mini-item .p { font-weight: 600; font-variant-numeric: tabular-nums; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 12px; color: var(--muted); }
.empty-state .ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.ship-progress { display: grid; gap: 8px; font-size: 0.8125rem; color: var(--muted); }
.ship-progress .bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width 0.4s var(--ease); }

.toasts { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 0.9375rem; font-weight: 500; animation: toast-in 0.35s var(--ease); pointer-events: auto; }
.toast.error { background: var(--danger); }
.toast.leaving { animation: toast-out 0.25s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- Alerts (server flash) ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 0.9375rem; border: 1px solid; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--success-soft); color: #14532d; border-color: #bbf7d0; }
.alert-error { background: var(--danger-soft); color: #7f1d1d; border-color: #fecaca; }
.alert-info { background: var(--info-soft); color: #1e3a8a; border-color: #bfdbfe; }
.flash-stack { display: grid; gap: 8px; margin-top: 16px; }

/* ---------- Page header / breadcrumbs ---------- */
.page-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--subtle); }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 14px; height: 14px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 28px; }
.select { min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 0.875rem; font-weight: 500; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 12px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.gallery .main { aspect-ratio: 1; border-radius: var(--radius-xl); background: linear-gradient(180deg, #f7f6f5, #edebe9); border: 1px solid var(--border); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.25s; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 84px; height: 84px; padding: 4px; border-radius: 14px; border: 2px solid transparent; background: var(--surface-2); transition: border-color 0.2s; }
.thumbs button[aria-pressed='true'] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info { display: grid; gap: 20px; }
.pdp-info h1 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.pdp-price .now { font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pdp-price .was { color: var(--subtle); text-decoration: line-through; font-size: 1.0625rem; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.highlights div { padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 0.875rem; font-weight: 600; color: var(--ink); display: grid; gap: 6px; }
.highlights .icon { color: var(--accent); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); height: 56px; }
.stepper button { width: 48px; height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { width: 44px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm { height: 40px; } .stepper.sm button { width: 36px; } .stepper.sm input { width: 32px; font-size: 0.875rem; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--success); font-weight: 500; }
.stock-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-note.low { color: var(--warning); }
.stock-note.out { color: var(--danger); }
.perks { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.perks div { display: flex; gap: 14px; align-items: center; padding: 14px 16px; font-size: 0.9375rem; }
.perks div + div { border-top: 1px solid var(--border); }
.perks .icon { color: var(--ink); }
.perks b { color: var(--ink); font-weight: 600; }
.pdp-tabs { margin-top: clamp(48px, 7vw, 96px); }
.tab-panels { margin-top: 28px; }
.tab-panel[hidden] { display: none; }
.prose { display: grid; gap: 16px; max-width: 760px; color: var(--text-2); font-size: 1.0625rem; }
.feature-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.feature-list .icon { color: var(--success); margin-top: 3px; }
.spec-table { width: 100%; max-width: 820px; border-collapse: collapse; font-size: 0.9375rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: var(--surface); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform 0.3s var(--ease); }
.buybar.is-visible { transform: none; }
.buybar .meta { flex: 1; min-width: 0; }
.buybar .meta b { display: block; font-size: 0.875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar .meta span { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .buybar { display: flex; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .highlights { grid-template-columns: 1fr; } .highlights div { grid-template-columns: auto 1fr; align-items: center; } }

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.compare { border-collapse: collapse; width: 100%; min-width: 880px; font-size: 0.9375rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare thead th { vertical-align: bottom; background: var(--surface); position: sticky; top: 0; }
.compare thead img { width: 120px; height: 100px; object-fit: contain; margin-bottom: 8px; }
.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; position: sticky; left: 0; background: var(--surface); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--surface-2); }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0 24px; }
.cart-row { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; padding: 22px 0; align-items: center; }
.cart-row + .cart-row { border-top: 1px solid var(--border); }
.cart-row .thumb { width: 104px; height: 104px; border-radius: 16px; background: var(--surface-2); padding: 6px; }
.cart-row .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-row .info { display: grid; gap: 6px; }
.cart-row .info a { font-weight: 600; color: var(--ink); }
.cart-row .controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-row .total { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 16px; }
.summary h2 { font-size: 1.125rem; }
.summary dl { margin: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.summary .grand { padding-top: 14px; border-top: 1px solid var(--border); font-size: 1.0625rem; }
.summary .grand dd { font-size: 1.375rem; letter-spacing: -0.02em; }
.summary .discount dd { color: var(--success); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; }
.summary-items { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.summary-items .mini-item { grid-template-columns: 56px 1fr auto; padding: 0; border: 0; }
.summary-items .mini-item img { width: 56px; height: 56px; }
.summary-items .qty-badge { position: relative; }
.summary-items .qty-badge em { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; font-style: normal; font-size: 0.6875rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 560px) {
  .cart-list { padding: 0 16px; }
  .cart-row { grid-template-columns: 76px 1fr; gap: 14px; }
  .cart-row .thumb { width: 76px; height: 76px; }
  .cart-row .total { grid-column: 2; text-align: left; }
}

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.form-card h2 { font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.form-card h2 .step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8125rem; display: grid; place-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--subtle); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 1rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--subtle); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.field .hint { font-size: 0.8125rem; color: var(--subtle); }
.field .error { font-size: 0.8125rem; color: var(--danger); font-weight: 500; display: flex; gap: 6px; align-items: center; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.pay-options { display: grid; gap: 12px; }
.pay-option { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--border-strong); border-radius: 16px; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.pay-option:hover { border-color: var(--subtle); }
.pay-option input { position: absolute; opacity: 0; }
.pay-option .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; transition: border-color 0.2s; }
.pay-option .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform 0.2s var(--ease); }
.pay-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pay-option:has(input:checked) .radio { border-color: var(--accent); }
.pay-option:has(input:checked) .radio::after { transform: scale(1); }
.pay-option:has(input:focus-visible) { box-shadow: var(--ring); }
.pay-option:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.pay-option .logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-weight: 800; font-size: 0.75rem; }
.pay-option .logo.momo { background: #a50064; color: #fff; }
.pay-option b { display: block; color: var(--ink); }
.pay-option span { font-size: 0.875rem; color: var(--muted); }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Order page ---------- */
.order-hero { text-align: center; display: grid; justify-items: center; gap: 14px; padding-block: 48px 32px; }
.order-hero .ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); }
.order-hero .ico.warn { background: var(--warning-soft); color: var(--warning); }
.order-hero .ico.bad { background: var(--danger-soft); color: var(--danger); }
.order-code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-weight: 700; background: var(--surface-2); padding: 4px 10px; border-radius: 8px; color: var(--ink); letter-spacing: 0.04em; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
.timeline div { display: grid; gap: 8px; font-size: 0.8125rem; color: var(--subtle); font-weight: 500; }
.timeline div::before { content: ''; height: 4px; border-radius: 99px; background: var(--surface-3); }
.timeline .done { color: var(--ink); }
.timeline .done::before { background: var(--accent); }
.order-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.info-list { display: grid; gap: 10px; font-size: 0.9375rem; }
.info-list div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } .timeline { grid-template-columns: repeat(2, 1fr); } .info-list div { grid-template-columns: 110px 1fr; } }

/* ---------- Policy / contact ---------- */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.doc-nav a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 0.9375rem; }
.doc-nav a:hover { background: var(--surface-2); color: var(--ink); }
.doc-nav a[aria-current='page'] { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.doc { display: grid; gap: 32px; max-width: 760px; }
.doc section { display: grid; gap: 10px; }
.doc h2 { font-size: 1.375rem; }
.doc p { color: var(--text-2); font-size: 1.0625rem; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .doc-nav { position: static; display: flex; flex-wrap: wrap; } }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Tin tức ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; gap: 16px; } }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.post-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card .media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-soft), var(--surface-3)); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .placeholder { display: grid; place-items: center; height: 100%; color: var(--accent); opacity: 0.55; }
.post-card .body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.post-card time { font-size: 0.8125rem; color: var(--subtle); }
.post-card h3 { font-size: 1.1875rem; line-height: 1.35; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link { margin-top: auto; padding-top: 4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-weight: 600; color: var(--muted); }
.pager a:hover { border-color: var(--border-strong); color: var(--ink); }
.pager a[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: #fff; }

.article { max-width: 1040px; margin-inline: auto; }
.article-head { max-width: 760px; margin-inline: auto; padding-block: clamp(32px, 5vw, 56px) clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.article-head .h1 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.2; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--subtle); }
.article-cover { margin: 0 0 clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 48px; }
.article-layout:has(.article-toc) { grid-template-columns: 220px minmax(0, 760px); }
.article-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 10px; font-size: 0.875rem; }
.article-toc b { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.article-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.article-toc a:hover { color: var(--accent); }
.prose { color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; line-height: 1.3; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { margin-top: 1.5em; font-size: 1.1875rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.4em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.prose figure { margin-inline: 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--radius); }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--subtle); text-align: center; }
.article-cta { max-width: 760px; margin: clamp(40px, 5vw, 56px) auto 0; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.article-cta div { display: grid; gap: 4px; }
.article-cta span { color: var(--muted); font-size: 0.9375rem; }
.article-more { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 24px; }
@media (max-width: 960px) { .article-layout:has(.article-toc) { grid-template-columns: minmax(0, 760px); } .article-toc { position: static; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) { :root { --gutter: 16px; } .btn-lg { min-height: 52px; padding: 0 22px; } }
