/* =========================================================
   AICHILUX – STYLE
   ========================================================= */
:root {
  --navy: #00479a;
  --navy-600: #0a58bd;
  --navy-700: #003f8e;
  --navy-800: #02377a;
  --navy-900: #012c63;
  --ink: #0a2a6b;
  --text: #1f2d45;
  --muted: #5d6b82;
  --line: #e2e9f4;
  --bg: #f6f9fe;
  --surface: #ffffff;
  --tint: #eef4fd;
  --gold-1: #fde7b6;
  --gold-2: #f7c66b;
  --gold-3: #e9a43c;
  --red: #e0202b;
  --brand-red: #db1922;
  --blue-badge: #1866d4;
  --green: #12a150;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 50, 120, 0.06);
  --shadow: 0 12px 30px rgba(10, 50, 120, 0.12);
  --container: 1800px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(10, 88, 189, 0.45); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
@media (max-width: 1280px) { .container { padding: 0 20px; } }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: none; }
.hide-md, .hide-sm { }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  color: #1d1a22;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 48%, var(--gold-3) 100%);
  border-color: #e2a03f;
  box-shadow: 0 6px 16px rgba(233, 164, 60, .35), inset 0 1px 0 rgba(255, 255, 255, .75);
}
.btn-gold:hover { box-shadow: 0 10px 22px rgba(233, 164, 60, .45), inset 0 1px 0 rgba(255, 255, 255, .75); }
.btn-navy {
  color: #fff;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 63, 142, .25);
}
.btn-navy:hover { background: linear-gradient(180deg, #0b63d3, var(--navy)); }
.btn-outline { color: var(--navy); border: 1.5px solid var(--navy); background: #fff; border-radius: 6px; }
.btn-outline:hover { background: var(--tint); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-block { width: 100%; }
button[aria-busy="true"] { opacity: .75; pointer-events: none; }
button[aria-busy="true"]::after {
  content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
.newsletter button[aria-busy="true"] i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
input.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ---------- section titles ---------- */
.section { padding: 40px 0; }
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; color: var(--ink);
  text-transform: uppercase; letter-spacing: .2px; text-align: center;
  margin-bottom: 22px;
}
.section-title::before, .section-title::after {
  content: ''; flex: 0 0 clamp(36px, 8vw, 90px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-3) 70%, var(--gold-2));
}
.section-title::after { transform: scaleX(-1); }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: -10px auto 26px; }

/* ---------- badges ---------- */
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 11px; border-radius: 999px; color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1.5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .15);
}
.badge-hot { background: linear-gradient(180deg, #ff4b4b, #e3101c); }
.badge-new, .badge-sale { background: linear-gradient(180deg, #2a7cf0, #0d55c4); }
.save-chip {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  background: #ffe9ea; color: var(--red); font-weight: 800; font-size: 13px;
}
.product-media .save-chip { position: absolute; top: 12px; right: 10px; z-index: 2; }
.chip {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--tint); color: var(--navy); font-size: 12.5px; font-weight: 700;
}

/* =========================================================
   TOPBAR + HEADER
   ========================================================= */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.topbar-info { display: flex; align-items: center; }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info li + li::before { content: ''; width: 1px; height: 14px; background: rgba(255, 255, 255, .5); margin: 0 18px; }
.topbar-info i, .topbar-info .ico { font-size: 15px; }
.topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info b { font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-info { flex: none; }
.topbar-spacer { flex: 1; }
.topbar-ticker { flex: 1; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tk-track { display: flex; width: max-content; animation: tk-scroll 32s linear infinite; }
.topbar-ticker:hover .tk-track { animation-play-state: paused; }
.tk-group { display: flex; flex: none; }
.tk-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 0 28px; font-weight: 500; }
.tk-item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-1, #f5c451); margin-left: 48px; }
.tk-item i, .tk-item .ico { font-size: 15px; color: var(--gold-1, #f5c451); }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-group + .tk-group { display: none; } }
.auth { display: flex; gap: 8px; }
.auth a:hover, .topbar-info a:hover { text-decoration: underline; }
.cart-link { position: relative; font-size: 19px; display: inline-flex; padding: 4px; }
.cart-count {
  position: absolute; top: -4px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff; border: 2px solid var(--navy);
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 50, 120, .10); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 52px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: 'Archivo Black', var(--font); font-size: 25px; letter-spacing: .5px; color: #6f6e6c; }
.logo-name sup { font-family: var(--font); font-size: 11px; font-weight: 700; margin-left: 2px; vertical-align: 12px; }
.logo-slogan { font-family: 'Noto Serif', Georgia, serif; font-size: 12.5px; color: #6f6e6c; margin-top: 4px; letter-spacing: .2px; }
.logo-light .logo-name, .logo-light .logo-slogan { color: #fff; }
.logo-light img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--tint); color: var(--navy); }
.nav-link.is-active { background: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(0, 71, 154, .28); }
.dd-caret { font-size: 11px; transition: transform .2s; }
.has-dd { position: relative; }
.dd-toggle { display: none; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 300px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; transition: .2s ease; z-index: 70;
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover .dd-caret { transform: rotate(180deg); }
.dropdown li a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: var(--radius-sm); }
.dropdown li a:hover { background: var(--tint); }
.dropdown img { width: 72px; height: 46px; object-fit: cover; border-radius: 6px; background: var(--tint); }
.dropdown b { display: block; color: var(--ink); font-size: 14px; }
.dropdown small { color: var(--red); font-weight: 700; font-size: 13px; }
.dd-all { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 10px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 14px; }

.search { position: relative; display: flex; align-items: center; }
.search input {
  width: 220px; height: 40px; padding: 0 44px 0 16px;
  border: 1px solid #cfd9e8; border-radius: 999px; background: #fff; outline: none;
  font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(10, 88, 189, .12); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; right: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 16px; }
.search button:hover { background: var(--tint); }

.drawer-head, .drawer-foot, .search-drawer, .cart-link-mobile, .menu-toggle { display: none; }
.nav-overlay { display: none; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #d9ebfc 0%, #eef5ff 40%, #f2f7ff 62%, #d6e9fc 100%);
}
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1; position: relative;
  min-height: clamp(460px, 38vw, 720px);
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
/* Banner kiểu ảnh phòng trải rộng: lớp nền mờ phủ kín + ảnh nét bên phải (khung cố định) + lớp sáng bên trái cho chữ dễ đọc */
.hero-bg { position: absolute; inset: -40px; z-index: 0; background-size: cover; background-position: center; filter: blur(26px) saturate(1.15); opacity: .7; }
/* ảnh ghế tràn khung bên phải, cao bằng banner, mờ dần sang phần chữ (kiểu anh chọn) */
.hero-photo {
  position: absolute; right: 0; top: 0; z-index: 0; height: 100%; width: min(64%, 1240px); max-width: none; object-fit: cover; object-position: center 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 248, 255, .97) 0%, rgba(243, 248, 255, .9) 30%, rgba(243, 248, 255, .45) 48%, rgba(243, 248, 255, 0) 62%);
}

.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 30px; padding-bottom: 70px; padding-left: clamp(24px, 7vw, 150px); }
.hero-text { max-width: 720px; }
.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hero-brand img { width: clamp(44px, 3.6vw, 64px); }
.hero-brand span {
  font-family: 'Archivo Black', var(--font); font-size: clamp(26px, 2.6vw, 44px); letter-spacing: 1px; line-height: 1;
  background: linear-gradient(180deg, #f3c76b 0%, #c98a2b 55%, #a8701c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-brand sup { font-size: .4em; vertical-align: super; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--red);
  font-weight: 800; font-size: 14px; box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(42px, 5.4vw, 92px); font-weight: 800; font-style: italic;
  letter-spacing: -1px; line-height: 1.05;
  background: linear-gradient(180deg, #0c4fb0 0%, #062e72 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 6px;
}
.hero-sub { font-size: clamp(21px, 2.4vw, 40px); font-weight: 700; font-style: italic; color: #0b3f93; margin-top: 4px; line-height: 1.2; }
.hero-swoosh { display: block; width: min(100%, 560px); height: 14px; margin: 8px 0 14px; }
.hero-tagline { display: flex; align-items: center; gap: 12px; font-style: italic; font-weight: 600; font-size: clamp(15px, 1.5vw, 24px); color: var(--ink); }
.hero-tagline::before, .hero-tagline::after { content: ''; width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-3)); position: relative; }
.hero-tagline::after { transform: scaleX(-1); }
.hero-features { display: flex; gap: 0; margin: 22px 0 26px; }
.hero-features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-width: clamp(96px, 8vw, 150px); padding: 0 clamp(8px, 1vw, 18px); font-size: clamp(13px, .95vw, 16px); font-weight: 600; color: var(--ink); line-height: 1.3; position: relative; }
.hero-features li + li::before { content: ''; position: absolute; left: 0; top: 14px; height: 52px; width: 1px; background: linear-gradient(180deg, transparent, #e2b25c, transparent); }
.hf-icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  font-size: 25px; color: var(--navy);
  border: 3px solid transparent;
  background:
    radial-gradient(circle at 35% 30%, #fff, #eef4ff 70%) padding-box,
    linear-gradient(135deg, #fde7b6, #e9a43c 50%, #f7d58c) border-box;
  box-shadow: 0 8px 18px rgba(10, 60, 140, .14);
  transition: transform .25s ease;
}
.hero-features li:hover .hf-icon { transform: translateY(-3px); }
.hf-icon .ico { width: 28px; height: 28px; }
.hero-text .btn-gold { padding: clamp(12px, 1vw, 16px) clamp(26px, 2.2vw, 40px); font-size: clamp(16px, 1.2vw, 20px); }
.hero-price { display: flex; align-items: center; gap: 12px; margin: 16px 0 22px; flex-wrap: wrap; }
.hero-off { display: inline-block; padding: 4px 12px; border-radius: 999px; background: linear-gradient(160deg, #ff4b4b, #c80f1a); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 6px 14px rgba(200, 15, 26, .3); }
.hero-price .price { font-size: clamp(26px, 3vw, 36px); }
.hero-points { margin: 16px 0 22px; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.hero-points i { color: var(--gold-3); }

.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(56px, 8vw, 110px); z-index: 3; pointer-events: none; display: block; }
.hero-dots { position: absolute; left: 50%; bottom: clamp(12px, 1.8vw, 22px); transform: translateX(-50%); z-index: 4; display: flex; gap: 12px; }
.hero-dot {
  width: 14px; height: 14px; border-radius: 50%; padding: 0;
  border: 2px solid var(--navy); background: #fff; transition: .25s;
}
.hero-dot[aria-current="true"] { background: var(--navy); box-shadow: 0 0 0 3px rgba(0, 71, 154, .18); }

/* ---------- services bar ---------- */
.services { background: var(--bg); position: relative; z-index: 2; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 14px; padding-bottom: 14px; }
.service { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 12px; position: relative; }
.service + .service::before { content: ''; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: #cdd8ea; }
.service > i, .service > .ico { font-size: 38px; width: 42px; height: 42px; color: var(--navy); display: grid; place-items: center; }
.service b { display: block; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.service span { color: var(--muted); font-size: 14px; }
a.service:hover b { color: var(--navy-600); }

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 14px; }
.product-grid.grid-3 { grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 14px; }
.product-grid.quiz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
/* sản phẩm liên quan: chỉ hiện 1 hàng, các thẻ thừa rơi vào hàng cao 0 và bị ẩn */
#related { grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; overflow: hidden; padding: 6px; margin: -6px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; display: block; background: #fff; aspect-ratio: 1 / 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 10px 12px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.product-name { font-size: 14.5px; font-weight: 600; color: #101b36; line-height: 1.35; }
.product-name a:hover { color: var(--navy-600); }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.price { color: var(--red); font-weight: 800; font-size: 17.5px; letter-spacing: -.2px; }
.old-price, .detail-price del, .cart-unit del { color: #7b8597; font-size: 13.5px; font-weight: 500; }
.btn-cart { margin-top: auto; padding: 8px 14px; font-size: 13.5px; min-width: 70%; }

/* ---------- promo banners (home) ---------- */
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 18px; }
.pbanner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 146px; display: flex; align-items: center;
  box-shadow: var(--shadow-sm); border: 1px solid #dbe8f8;
}
.pbanner-relax { background: linear-gradient(100deg, #f5faff 0%, #e4f2fd 45%, #cfe6fc 100%); }
.pbanner-relax > img {
  position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: 58%; object-fit: cover; object-position: left;
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent);
  mask-image: linear-gradient(90deg, #000 72%, transparent);
}
.pbanner-relax .pbanner-text { margin-left: auto; text-align: right; padding: 16px 22px 16px 0; }
.leaf { position: absolute; color: #5dba4f; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .12)); }
.leaf-1 { right: 14px; bottom: 8px; font-size: 30px; transform: rotate(-20deg); }
.leaf-2 { left: 52%; top: 12px; font-size: 16px; transform: rotate(30deg); opacity: .85; }
.pbanner-title { font-size: clamp(20px, 2.4vw, 31px); font-weight: 800; font-style: italic; color: #0a3a8c; line-height: 1.15; }
.pbanner-relax .btn { margin-top: 12px; padding: 9px 22px; }
.pbanner-warranty {
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(255, 255, 255, .55) 0 18%, transparent 19%),
    radial-gradient(110% 80% at 105% 110%, rgba(120, 190, 250, .55) 0 30%, transparent 31%),
    linear-gradient(115deg, #eaf5ff 0%, #c6e3fd 55%, #a5d3fd 100%);
  gap: 16px; padding-right: 22px;
}
.pbanner-warranty > img {
  height: 146px; width: auto; flex: none; margin-left: 40px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 75%, transparent 100%);
}
.pbanner-warranty .pbanner-sub { color: #0a3a8c; font-size: 15px; margin-top: 8px; }

/* =========================================================
   FOOTER + FLOATING
   ========================================================= */
.site-footer { background: linear-gradient(180deg, #02438a, #013772); color: #e6eefb; margin-top: 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1.1fr .95fr 1.1fr; gap: 32px; padding-top: 38px; padding-bottom: 30px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: #d6e2f5; max-width: 300px; }
.site-footer h3 { color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; margin: 6px 0 16px; letter-spacing: .2px; }
.footer-contact li, .footer-links li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.footer-contact i { width: 18px; font-size: 16px; text-align: center; margin-top: 3px; color: #fff; }
.footer-links a { display: flex; gap: 14px; align-items: center; }
.footer-links i { color: #fff; font-size: 13px; }
.site-footer a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .75);
  display: grid; place-items: center; font-size: 16px; color: #fff; transition: .2s;
}
.socials a:hover { background: #fff; color: var(--navy); }
.socials .zalo { font-size: 10.5px; font-weight: 800; letter-spacing: -.2px; }
.newsletter { display: flex; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.newsletter input { flex: 1; min-width: 0; height: 42px; border: 0; padding: 0 14px; outline: none; font-size: 14px; color: var(--text); }
.newsletter button { width: 46px; border: 0; background: linear-gradient(180deg, #2a86f0, #0f5fd0); color: #fff; font-size: 16px; }
.payments { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pay {
  width: 48px; height: 32px; border-radius: 6px; background: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 14px; letter-spacing: -.3px;
}
.pay-visa { color: #1a1f71; font-style: italic; }
.pay-mc { position: relative; }
.pay-mc i { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 7px; }
.pay-mc i:first-child { left: 8px; background: #eb001b; }
.pay-mc i:last-child { right: 8px; background: #f79e1b; mix-blend-mode: multiply; }
.pay-atm { color: #0b5bd3; }
.pay-cod { color: #3a9b31; border: 2px solid #f2b51b; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 16px 0; text-align: center; font-size: 13px; color: #d6e2f5; }

.back-to-top, .float-call {
  position: fixed; right: 18px; z-index: 55; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; border: 0; font-size: 18px;
  box-shadow: 0 8px 20px rgba(0, 63, 142, .35); transition: .25s ease;
}
.back-to-top { bottom: 18px; background: linear-gradient(180deg, #2a86f0, #0b55c4); opacity: 0; visibility: hidden; transform: translateY(10px); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-call { right: auto; left: 18px; bottom: 18px; background: linear-gradient(180deg, #ff4b4b, #d9101c); box-shadow: 0 8px 20px rgba(217, 16, 28, .35); }
.float-call::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff4b4b; animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; top: 84px; right: 18px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px;
  background: #fff; box-shadow: var(--shadow); border-left: 4px solid var(--green); font-size: 14px;
  transform: translateX(24px); opacity: 0; transition: .3s ease;
}
.toast.is-in { transform: none; opacity: 1; }
.toast > i { font-size: 20px; color: var(--green); }
.toast-info { border-left-color: var(--navy-600); }
.toast-info > i { color: var(--navy-600); }
.toast-error { border-left-color: var(--red); }
.toast-error > i { color: var(--red); }
.toast span { flex: 1; }
.toast a { color: var(--navy-600); font-weight: 700; white-space: nowrap; }

/* ---------- modal ---------- */
.modal {
  width: min(420px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 26px 24px 24px;
  box-shadow: 0 30px 60px rgba(1, 30, 70, .35); color: var(--text);
}
.modal::backdrop { background: rgba(1, 25, 60, .55); backdrop-filter: blur(2px); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: 16px; }
.modal-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: var(--tint); padding: 4px; border-radius: 999px; width: max-content; }
.modal-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); }
.modal-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.modal-center { text-align: center; }
.modal-center .big-icon { font-size: 54px; color: var(--green); margin-bottom: 10px; }
.modal-center h2 { margin-bottom: 8px; }
.order-info { text-align: left; background: var(--bg); border-radius: 10px; padding: 12px 16px; margin: 14px 0 18px; display: grid; gap: 4px; font-size: 14px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.form label > span:not(.req) { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  display: block; margin-top: 6px;
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid #cfd9e8; border-radius: 8px;
  background: #fff; outline: none; font-size: 15px; font-weight: 400; color: var(--text); transition: .2s;
}
.form textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(10, 88, 189, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: var(--red); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; padding: 40px 0 84px; min-height: 250px;
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(255, 255, 255, .85), transparent 60%),
    linear-gradient(180deg, #d9ebfc, #eef5ff 70%, #dcecfc);
}
.page-hero .container { position: relative; z-index: 4; padding-left: clamp(24px, 7vw, 150px); }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; font-style: italic; color: #0b3f93; }
.page-hero p { color: var(--muted); margin-top: 6px; max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--navy); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: 10px; }
.page-hero .hero-deco {
  position: absolute; right: 0; top: 0; height: 100%; width: min(46%, 820px); object-fit: cover; object-position: center 45%; z-index: 1; opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; display: grid; justify-items: center; gap: 14px; color: var(--muted); }
.empty > i { font-size: 46px; color: #b7c6dd; }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; padding-top: 30px; padding-bottom: 20px; }
.shop-filter { display: grid; gap: 16px; position: sticky; top: 86px; }
.filter-box { padding: 18px; margin: 0; min-width: 0; }
.filter-toggle { display: none; }
.filter-count { background: var(--navy); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; padding: 0 7px; font-size: 12.5px; display: inline-grid; place-items: center; }
.filter-count[hidden] { display: none; }
.filter-caret { margin-left: auto; font-size: 13px; transition: transform .2s; }
.shop.filters-open .filter-caret { transform: rotate(180deg); }
.filter-box legend { float: left; width: 100%; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.filter-box legend + * { clear: both; }
.filter-box legend i { color: var(--gold-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filter-box label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.filter-box input { accent-color: var(--navy); width: 17px; height: 17px; }
.help-box { padding: 20px 18px; text-align: center; background: linear-gradient(160deg, var(--navy-600), var(--navy-900)); color: #fff; border: 0; }
.help-box i { font-size: 34px; color: var(--gold-2); }
.help-box h3 { color: #fff; margin: 8px 0 4px; font-size: 17px; }
.help-box p { font-size: 13.5px; color: #d6e2f5; margin-bottom: 14px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; }
.shop-toolbar p { color: var(--muted); }
.shop-toolbar b { color: var(--ink); }
.query-info { margin-bottom: 14px; padding: 10px 16px; border-radius: 10px; background: #fff7e6; border: 1px solid #f7d58c; display: flex; gap: 14px; flex-wrap: wrap; }
.query-info a { color: var(--navy); font-weight: 700; }
.select { height: 40px; padding: 0 36px 0 14px; border: 1px solid #cfd9e8; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a2a6b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-size: 14px; }

/* ---------- product detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: 30px 20px; }
.detail-gallery, .detail-info { min-width: 0; }
.detail-image { position: relative; border-radius: 16px; overflow: hidden; background: #f0f5ff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.detail-image img { width: 100%; transition: transform .5s ease; }
.detail-image:hover img { transform: scale(1.06); }
.detail-image .badge { top: 16px; left: 16px; font-size: 14px; }
.detail-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.detail-perks li { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.detail-perks i, .detail-perks .ico { font-size: 24px; width: 26px; height: 26px; color: var(--navy); flex: none; }
.detail-perks b { color: var(--ink); }
.detail-line { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold-3); text-transform: uppercase; letter-spacing: .6px; }
.detail-info h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin: 4px 0 8px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.detail-meta b { color: var(--ink); }
.in-stock { color: var(--green); font-style: normal; font-weight: 600; }
.detail-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0; padding: 14px 18px; background: linear-gradient(90deg, #fff4f4, #fff); border: 1px solid #ffe0e2; border-radius: 12px; }
.detail-price .price { font-size: 30px; }
.detail-price del { font-size: 16px; }
.detail-summary { color: var(--muted); margin-bottom: 14px; }
.check-list { display: grid; gap: 8px; margin: 10px 0 18px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list i { color: var(--green); margin-top: 4px; }
.detail-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 18px; }
.detail-buy .btn { height: 46px; padding: 0 22px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfd9e8; border-radius: 8px; overflow: hidden; background: #fff; height: 46px; }
.qty button { width: 40px; height: 100%; border: 0; background: var(--tint); font-size: 18px; color: var(--ink); }
.qty button:hover { background: #dde8f8; }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font-weight: 700; outline: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 40px; }
.detail-hotline { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: var(--tint); border: 1px dashed #9fc0ea; flex-wrap: wrap; }
.detail-hotline > i { font-size: 30px; color: var(--navy); }
.detail-hotline span { display: grid; font-size: 13.5px; color: var(--muted); }
.detail-hotline b { font-size: 20px; color: var(--red); }
.detail-hotline small { margin-left: auto; color: var(--muted); }

.tabs { margin: 10px 0 30px; overflow: hidden; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 16px; overflow-x: auto; }
.tab-list button { border: 0; background: none; padding: 16px 18px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tab-panel { padding: 24px; }
.tab-panel h3 { font-size: 17px; margin: 18px 0 8px; }
.tab-panel p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--ink); font-weight: 600; background: var(--bg); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding: 30px 20px 10px; }
.cart-main { display: grid; gap: 20px; }
.cart-items { padding: 6px 18px; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto auto auto; align-items: center; gap: 16px; padding: 16px 0; }
.cart-item + .cart-item { border-top: 1px solid var(--line); }
.cart-thumb img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; background: var(--tint); }
.cart-info { display: grid; gap: 2px; }
.cart-name { font-weight: 700; color: var(--ink); }
.cart-name:hover { color: var(--navy-600); }
.cart-meta { font-size: 13px; color: var(--muted); }
.cart-unit { color: var(--red); font-weight: 700; font-size: 14px; }
.cart-line { min-width: 120px; text-align: right; color: var(--ink); }
.cart-remove { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.cart-remove:hover { background: #ffe9ea; color: var(--red); }
.checkout { padding: 22px; }
.checkout h2, .cart-summary h2 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex !important; grid-template-columns: none; align-items: center; gap: 12px !important; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; }
.pay-option input { width: 18px !important; height: 18px !important; margin: 0 !important; flex: none; accent-color: var(--navy); }
.pay-option span { color: var(--ink) !important; font-weight: 600 !important; }
.pay-option:has(input:checked) { border-color: var(--navy-600); background: var(--tint); }
.pay-option small { display: block; color: var(--muted); font-weight: 400; }
.cart-summary { padding: 22px; position: sticky; top: 86px; }
.coupon { display: flex; gap: 8px; margin-bottom: 10px; }
.coupon input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px dashed #9fc0ea; border-radius: 8px; outline: none; text-transform: uppercase; }
.coupon .btn { padding: 0 14px; height: 42px; }
.coupon-note { font-size: 13px; margin-bottom: 8px; }
.coupon-note.ok { color: var(--green); }
.coupon-note.warn { color: #b26a00; }
.sum-rows { margin: 14px 0 18px; display: grid; gap: 10px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { margin: 0; font-weight: 600; }
.sum-rows .free { color: var(--green); }
.sum-total { border-top: 1px solid var(--line); padding-top: 12px; }
.sum-total dt { color: var(--ink); font-weight: 700; }
.sum-total dd { color: var(--red); font-size: 22px; font-weight: 800; }
.sum-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.cart-empty { padding: 60px 20px; }

/* ---------- promo page ---------- */
.promo-hero { background: radial-gradient(80% 120% at 85% 20%, #1c6fd6 0%, transparent 60%), linear-gradient(135deg, #013374 0%, #00479a 55%, #0a58bd 100%); color: #fff; padding: 46px 0 90px; }
.promo-hero h1, .promo-hero .crumbs, .promo-hero .crumbs a { color: #fff; }
.promo-hero .page-tag { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .5px; margin-bottom: 12px; }
.promo-hero h1 { background: linear-gradient(180deg, #fff3d2, #f7c66b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-hero p { color: #d6e2f5; font-size: 17px; }
.promo-hero .hero-deco { opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.promo-hero .waves path:last-child { fill: var(--bg); }
.countdown { display: flex; gap: 10px; margin: 22px 0 24px; }
.countdown div { width: 72px; padding: 10px 0; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(4px); }
.countdown b { display: block; font-size: 28px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; color: #d6e2f5; }
.vouchers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voucher { display: flex; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.voucher-left {
  width: 104px; flex: none; display: grid; place-content: center; text-align: center; color: #fff;
  background: linear-gradient(160deg, #ff4b4b, #c80f1a); position: relative;
}
.voucher-left::after { content: ''; position: absolute; right: -7px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 7px 10px, #fff 6px, transparent 6.5px) 0 0 / 14px 20px repeat-y; }
.voucher-left b { font-size: 22px; font-weight: 800; line-height: 1; }
.voucher-left span { font-size: 12px; letter-spacing: 2px; margin-top: 4px; }
.voucher-right { padding: 14px 16px 14px 20px; display: grid; gap: 10px; flex: 1; }
.voucher-right p { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.voucher-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.voucher-code code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--navy); background: var(--tint); padding: 4px 10px; border-radius: 6px; border: 1px dashed #9fc0ea; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { padding: 22px 18px; text-align: center; }
.perk-ico { width: 64px; height: 64px; margin: 0 auto 12px; }
.perk h3 { font-size: 16px; margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- about page ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.about-logo { padding: 0; overflow: hidden; }
.about-logo img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.eyebrow { font-weight: 800; color: var(--gold-3); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.about-intro h2 { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 14px; }
.about-intro p { color: var(--muted); margin-bottom: 12px; }
.quote { border-left: 4px solid var(--gold-3); padding: 10px 16px; background: #fffaf0; border-radius: 0 10px 10px 0; font-style: italic; color: var(--ink) !important; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 26px 22px; position: relative; overflow: hidden; }
.value::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--tint); }
.value > * { position: relative; z-index: 1; }
.value h3 { margin: 14px 0 8px; font-size: 18px; }
.value p { color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-item { display: flex; gap: 16px; padding: 20px; }
.why-item .hf-icon { flex: none; width: 56px; height: 56px; font-size: 22px; }
.why-item h3 { font-size: 16px; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14px; }
.stats { background: linear-gradient(135deg, #013374, #00479a 60%, #0a58bd); color: #fff; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; background: linear-gradient(180deg, #fff3d2, #f7c66b); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stats span { color: #d6e2f5; font-size: 14.5px; }

.cta-band { padding: 10px 0 20px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 16px; color: #fff;
  background: radial-gradient(60% 140% at 100% 0%, #1c6fd6, transparent 60%), linear-gradient(135deg, #013374, #00479a);
  box-shadow: var(--shadow);
}
.cta-inner h2 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-style: italic; }
.cta-inner p { color: #d6e2f5; margin-top: 4px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- news ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.chips button { border: 1px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: .2s; }
.chips button:hover { border-color: var(--navy-600); color: var(--navy); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1400px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.news-title { font-size: 17px; font-weight: 700; }
.news-title a:hover { color: var(--navy-600); }
.news-excerpt { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; color: var(--navy); font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.read-more i { transition: transform .2s; }
.read-more:hover i { transform: translateX(4px); }
.news-card-big { grid-column: 1 / -1; flex-direction: row; }
.news-card-big .news-media { flex: 1.15; aspect-ratio: auto; min-height: 300px; max-height: 420px; }
.news-card-big .news-body { flex: 1; padding: 28px; justify-content: center; }
.news-card-big .news-title { font-size: clamp(20px, 2.4vw, 26px); }

.article-layout { display: grid; grid-template-columns: minmax(0, 920px) 340px; justify-content: center; gap: 32px; align-items: start; padding: 30px 20px; }
.article { padding: 30px; }
.article h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 12px 0; }
.article-lead { font-size: 17px; color: var(--muted); font-weight: 500; }
.article-cover { width: 100%; border-radius: 12px; margin: 20px 0; aspect-ratio: 16 / 9; max-height: 500px; object-fit: cover; background: var(--tint); }
.article-body { font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.article-body h2 { font-size: 20px; margin: 22px 0 8px; }
.article-body p { margin-bottom: 12px; }
.article-body ul { list-style: none; display: grid; gap: 8px; margin: 10px 0 16px; }
.article-body li { position: relative; padding-left: 26px; }
.article-body li::before { content: '\f058'; font: var(--fa-font-solid); position: absolute; left: 0; top: 6px; color: var(--green); }
.side { display: grid; gap: 20px; position: sticky; top: 86px; }
.side-box { padding: 20px; }
.side-box h2 { font-size: 16px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-2); width: max-content; }
.side-news { display: grid; gap: 14px; }
.side-news a { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.side-news img { width: 88px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--tint); }
.side-news b { display: block; font-size: 14px; color: var(--ink); line-height: 1.4; }
.side-news a:hover b { color: var(--navy-600); }
.side-news time { font-size: 12.5px; color: var(--muted); }
.side-promo { overflow: hidden; text-align: center; }
.side-promo img { background: #f0f5ff; }
.side-promo div { padding: 16px; display: grid; gap: 8px; justify-items: center; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -46px; position: relative; z-index: 5; }
.contact-card { padding: 22px 18px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.contact-card .hf-icon { margin-bottom: 6px; }
.contact-card h3 { font-size: 15px; text-transform: uppercase; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14.5px; }
.contact-card a:hover { color: var(--navy-600); }
.contact-card .strong { color: var(--red); font-weight: 800; font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-form { padding: 26px; }
.contact-form h2 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 18px; }
.map-box { overflow: hidden; min-height: 420px; }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 18px; transition: .2s; }
.faq details[open] summary::after { content: '−'; background: var(--navy); color: #fff; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- policy ---------- */
.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding: 30px 20px; }
.policy-nav { padding: 12px; position: sticky; top: 86px; display: grid; gap: 4px; }
.policy-nav a { padding: 10px 14px; border-radius: 8px; font-weight: 600; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.policy-nav a:hover { background: var(--tint); color: var(--navy); }
.policy-nav i { width: 18px; color: var(--navy); }
.policy-body { display: grid; gap: 20px; }
.policy-sec { padding: 26px; }
.policy-sec h2 { font-size: 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.policy-sec h2 i { color: var(--gold-3); }
.policy-sec p { color: var(--muted); margin-bottom: 10px; }
.policy-sec ul { display: grid; gap: 8px; margin: 8px 0 12px; }
.policy-sec li { position: relative; padding-left: 24px; }
.policy-sec li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-3); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
.nav-link { white-space: nowrap; }

@media (max-width: 1200px) {
  .hero-photo { width: 57%; object-fit: cover; object-position: 72% center; }
}

@media (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .nav-list { gap: 2px; }
  .nav-link { padding: 8px 11px; font-size: 14.5px; }
  .search input { width: 170px; }
}

@media (max-width: 1100px) {
  .logo-name { font-size: 22px; }
  .logo img { width: 46px; }
  .nav-link { padding: 7px 9px; font-size: 14px; }
  .search input { width: 150px; }
  .hero-text { max-width: 440px; }
  .hero-title { font-size: clamp(40px, 4.6vw, 52px); }
  .hero-sub { font-size: clamp(20px, 2.3vw, 26px); }
  .hero-features li { width: 80px; font-size: 12.5px; }
  .hf-icon { width: 56px; height: 56px; font-size: 22px; }
  .pbanner-warranty > img { margin-left: 10px; }
}

@media (max-width: 991px) {
  .hide-md { display: none !important; }
  .topbar-info li::before { display: none !important; }
  .header-inner { min-height: 62px; }
  .search-header, .topbar-right .cart-link { display: none; }
  .cart-link-mobile { display: inline-flex; margin-left: auto; color: var(--ink); font-size: 22px; }
  .cart-link-mobile .cart-count { border-color: #fff; }
  .menu-toggle {
    display: inline-grid; gap: 5px; place-content: center; width: 44px; height: 44px;
    border: 0; border-radius: 10px; background: var(--tint);
  }
  .menu-toggle span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); z-index: 90;
    flex-direction: column; justify-content: flex-start; gap: 14px; padding: 16px;
    background: #fff; box-shadow: -20px 0 40px rgba(1, 30, 70, .2);
    transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; visibility: hidden;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(1, 25, 60, .5); opacity: 0; visibility: hidden; transition: .3s; }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-open .site-header { z-index: 100; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .drawer-head .logo img { width: 44px; }
  .drawer-head .logo-name { font-size: 21px; }
  .drawer-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); font-size: 18px; color: var(--ink); }
  .search-drawer { display: flex; }
  .search-drawer input { width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { width: 100%; padding: 12px 16px; border-radius: 10px; font-size: 16px; }
  .has-dd { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .dd-caret { display: none; }
  .dd-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--tint); color: var(--ink); }
  .dd-toggle i { transition: transform .2s; }
  .has-dd.is-open .dd-toggle i { transform: rotate(180deg); }
  .dropdown {
    grid-column: 1 / -1; position: static; width: auto; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 4px 0 4px 10px; display: none;
  }
  .has-dd:hover .dropdown, .has-dd:focus-within .dropdown { transform: none; }
  .has-dd.is-open .dropdown { display: block; }
  .drawer-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
  .drawer-auth { display: flex; justify-content: center; gap: 10px; color: var(--muted); font-weight: 600; }
  .drawer-auth a { color: var(--navy); }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-grid.grid-3, .product-grid.quiz-grid { grid-template-columns: repeat(2, 1fr); }
  #related { grid-template-rows: auto auto; row-gap: 14px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); row-gap: 6px; }
  .service { justify-content: flex-start; }
  .service:nth-child(3)::before { display: none; }
  .promo-banners { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; gap: 16px; }
  .shop-filter { position: static; grid-template-columns: 1fr 1fr; display: none; }
  .shop.filters-open .shop-filter { display: grid; }
  .filter-toggle { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: flex-start; background: #fff; }
  .help-box { display: none; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-main, .cart-summary { min-width: 0; }
  .cart-summary { position: static; }
  .vouchers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .values, .why { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .page-hero .hero-deco { opacity: .35; }
}

@media (max-width: 860px) {
  /* hero stacks: text on top, photo below */
  .hero-slide { min-height: 0; display: flex; flex-direction: column; }
  .hero-inner { padding-top: 26px; padding-bottom: 8px; justify-content: center; text-align: center; }
  .hero-text { max-width: 600px; margin: 0 auto; }
  .hero-brand, .hero-features, .hero-points li { justify-content: center; }
  .hero-swoosh { margin-left: auto; margin-right: auto; }
  .hero-tagline { justify-content: center; }
  .hero-price { justify-content: center; }
  .hero-points { justify-items: center; }
  /* ảnh tràn hết chiều ngang, nằm sát đáy banner (sóng phủ nhẹ mép dưới), chữ căn giữa phần phía trên */
  .hero-inner { flex: 1; }
  .hero-photo {
    position: relative; right: auto; top: auto; display: block;
    width: 100%; height: auto; max-width: none; margin-top: -24px; aspect-ratio: 6 / 5; object-fit: cover; object-position: center 45%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%);
  }
  .hero-photo { order: 2; z-index: 0; }
  .hero-veil { background: linear-gradient(180deg, rgba(243, 248, 255, .95) 0%, rgba(243, 248, 255, .8) 55%, rgba(243, 248, 255, 0) 75%); }
  .hero-features li { min-width: 0; flex: 1; }
  .hero-dots { bottom: 10px; }
  .pbanner-relax > img { max-width: 52%; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hide-sm { display: none !important; }
  .container { padding: 0 16px; }
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .logo img { width: 44px; }
  .logo-name { font-size: 21px; }
  .logo-slogan { font-size: 11px; }
  .hero-brand { display: none; }
  .hero-tagline::before, .hero-tagline::after { width: 24px; }
  .hero-features { gap: 6px; justify-content: space-between; }
  .hero-features li { width: 25%; font-size: 12px; }
  .hf-icon { width: 52px; height: 52px; font-size: 20px; }
  .hf-icon .ico { width: 22px; height: 22px; }
  .section { padding: 30px 0; }
  .product-grid, .product-grid.grid-3 { gap: 10px; }
  .product-body { padding: 10px 8px 12px; }
  .product-name { font-size: 13.5px; }
  .price { font-size: 16px; }
  .old-price { font-size: 12px; }
  .btn-cart { font-size: 12.5px; padding: 8px 10px; min-width: 0; width: 100%; }
  .btn-cart i { display: none; }
  .badge { font-size: 11.5px; padding: 2px 8px; top: 8px; left: 8px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service { gap: 10px; padding: 8px 4px; }
  .service::before { display: none; }
  .service > i, .service > .ico { font-size: 28px; width: 32px; height: 32px; }
  .service b { font-size: 13px; }
  .service span { font-size: 12.5px; }
  .pbanner { min-height: 130px; }
  .pbanner-relax > img { max-width: 50%; }
  .pbanner-relax .pbanner-text { padding-right: 14px; }
  .pbanner-title { font-size: 19px; }
  .pbanner-relax .btn { font-size: 13px; padding: 7px 14px; }
  .pbanner-warranty { padding-right: 14px; gap: 6px; }
  .pbanner-warranty > img { height: 118px; margin-left: 0; }
  .pbanner-warranty .pbanner-sub { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .shop-filter { grid-template-columns: 1fr; }
  .detail { padding: 20px 16px; }
  .detail-perks li { flex-direction: column; text-align: center; padding: 10px 6px; }
  .detail-buy .btn { flex: 1; }
  .detail-hotline small { margin-left: 0; }
  .cart-layout { padding: 20px 16px 0; }
  .cart-items { padding: 4px 14px; }
  .cart-item { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: 'img info rm' 'img qty line'; gap: 8px 12px; }
  .cart-thumb { grid-area: img; }
  .cart-info { grid-area: info; }
  .cart-item .qty { grid-area: qty; justify-self: start; }
  .cart-line { grid-area: line; min-width: 0; }
  .cart-remove { grid-area: rm; }
  .form-row { grid-template-columns: 1fr; }
  .countdown div { width: 62px; }
  .perks, .values, .why { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-big { flex-direction: column; }
  .news-card-big .news-media { min-height: 0; aspect-ratio: 16 / 9; }
  .news-card-big .news-body { padding: 18px; }
  .article-layout { padding: 20px 16px; }
  .article { padding: 20px; }
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .contact-card { padding: 16px 10px; }
  /* Showroom (địa chỉ dài) và Giờ làm việc chiếm cả hàng cho dễ đọc */
  .contact-cards > .contact-card:nth-child(n+3) { grid-column: 1 / -1; padding: 16px 18px; }
  .contact-form { padding: 20px; }
  .policy-layout { padding: 20px 16px; }
  .policy-nav { grid-template-columns: 1fr; }
  .cta-inner { padding: 22px; }
  .back-to-top { right: 12px; }
  .float-call { left: 12px; }
  .footer-bottom { padding: 16px 56px 18px; }
  .toast-wrap { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); }
}

/* =========================================================
   THƯ VIỆN ẢNH SẢN PHẨM
   ========================================================= */
.gallery-stage {
  position: relative; aspect-ratio: 1 / 1; max-height: 640px; margin-inline: auto; border-radius: 16px; overflow: hidden; outline: none;
  background: #f6f8fb; border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: zoom-in;
}
.gallery-stage:focus-visible { box-shadow: 0 0 0 3px rgba(10, 88, 189, .45); }
.gallery-stage .badge { z-index: 4; top: 16px; left: 16px; font-size: 14px; }
.g-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0;
  transform: translateX(var(--dx, 0)) scale(.985);
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .75, .2, 1);
}
.g-slide.is-active { opacity: 1; transform: none; z-index: 1; }
.g-slide img { width: 100%; height: 100%; object-fit: contain; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .3s ease-out; }
.gallery-stage.is-zooming .g-slide.is-active img { transform: scale(1.9); }
.gallery-stage.is-zooming .g-hint { opacity: 0; }
.g-nav {
  position: absolute; top: 50%; z-index: 4; width: 46px; height: 46px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 16px;
  box-shadow: 0 8px 20px rgba(10, 50, 120, .18); opacity: 0; transition: opacity .25s, transform .25s, background .2s, color .2s;
}
.g-prev { left: 14px; transform: translate(-10px, -50%); }
.g-next { right: 14px; transform: translate(10px, -50%); }
.gallery-stage:hover .g-nav, .gallery-stage:focus-within .g-nav { opacity: 1; transform: translate(0, -50%); }
.g-nav:hover { background: var(--navy); color: #fff; }
.g-count { position: absolute; left: 14px; bottom: 12px; z-index: 4; padding: 3px 11px; border-radius: 999px; background: rgba(11, 31, 77, .78); color: #fff; font-size: 12.5px; }
.g-full {
  position: absolute; right: 12px; bottom: 12px; z-index: 4; width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 6px 16px rgba(10, 50, 120, .16); transition: .2s;
}
.g-full:hover { background: var(--navy); color: #fff; }
.g-hint {
  position: absolute; right: 60px; bottom: 18px; z-index: 4; font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, .85); padding: 2px 10px; border-radius: 999px; transition: opacity .2s; pointer-events: none;
}
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; }
.g-thumb {
  flex: 0 0 86px; aspect-ratio: 1 / 1; padding: 0; border-radius: 10px; overflow: hidden; scroll-snap-align: start;
  border: 2px solid transparent; background: #f0f5ff; opacity: .6; transition: opacity .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb:hover { opacity: 1; transform: translateY(-2px); }
.g-thumb.is-active { opacity: 1; border-color: var(--navy); box-shadow: 0 4px 12px rgba(0, 71, 154, .25); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(4, 12, 32, .95); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(4, 12, 32, .95); }
.lightbox[open] { animation: lb-in .3s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-title { position: absolute; top: 18px; left: 22px; right: 80px; font-weight: 600; color: #dfe8f8; }
.lb-count { color: var(--gold-2); }
.lb-close { position: absolute; top: 12px; right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-stage { position: absolute; inset: 64px 80px 120px; display: grid; place-items: center; }
.lb-stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .75, .2, 1);
}
.lb-stage img.is-out { opacity: 0; transform: translateX(var(--lx, 0)) scale(.97); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-thumbs { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; max-width: 92vw; overflow-x: auto; padding: 4px; }
.lb-thumbs button { flex: 0 0 70px; aspect-ratio: 1 / 1; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; opacity: .5; background: #111; transition: .2s; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button.is-active { opacity: 1; border-color: var(--gold-2); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ảnh thứ 2 hiện ra khi rê chuột vào thẻ sản phẩm */
.product-media .img-alt {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.08); transition: opacity .5s ease, transform .8s cubic-bezier(.2, .75, .2, 1);
}
.product-card:hover .product-media .img-alt { opacity: 1; transform: scale(1); }
.img-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 9px; border-radius: 999px;
  background: rgba(11, 31, 77, .72); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: .3s;
}
.product-card:hover .img-count { opacity: 1; transform: none; }

/* =========================================================
   HIỆU ỨNG TRANG
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .8s cubic-bezier(.2, .75, .2, 1); transition-delay: var(--rd, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.section-title.reveal::before, .section-title.reveal::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .75, .2, 1) .2s; }
.section-title.reveal::before { transform-origin: right; }
.section-title.reveal::after { transform-origin: left; }
.section-title.reveal.is-visible::before { transform: scaleX(1); }
.section-title.reveal.is-visible::after { transform: scaleX(-1); }

/* chữ trên banner trượt lần lượt xuất hiện */
.hero-slide.is-active .hero-text > * { animation: hero-in .8s cubic-bezier(.2, .75, .2, 1) both; }
.hero-slide.is-active .hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-slide.is-active .hero-text > :nth-child(5) { animation-delay: .32s; }
.hero-slide.is-active .hero-text > :nth-child(6) { animation-delay: .4s; }
.hero-slide.is-active .hero-text > :nth-child(7) { animation-delay: .48s; }
.hero-slide.is-active .hero-text > :nth-child(8) { animation-delay: .56s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-slide.is-active .hero-features li { animation: hero-in .7s cubic-bezier(.2, .75, .2, 1) both; }
.hero-slide.is-active .hero-features li:nth-child(1) { animation-delay: .4s; }
.hero-slide.is-active .hero-features li:nth-child(2) { animation-delay: .5s; }
.hero-slide.is-active .hero-features li:nth-child(3) { animation-delay: .6s; }
.hero-slide.is-active .hero-features li:nth-child(4) { animation-delay: .7s; }
/* ảnh banner đứng yên, không phóng to/thu nhỏ */
@keyframes ken-burns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide.is-active .hero-swoosh { animation: swoosh .9s cubic-bezier(.2, .75, .2, 1) .25s both; transform-origin: left; }
@keyframes swoosh { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* nút vàng có vệt sáng lướt qua */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg);
}
.btn-gold:hover::before { left: 130%; transition: left .7s ease; }
.float-call i { animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.service > i, .service > .ico { transition: transform .35s cubic-bezier(.2, .75, .2, 1); }
.service:hover > i, .service:hover > .ico { transform: translateY(-4px) scale(1.08); }
.site-header .header-inner { transition: min-height .25s ease; }
.site-header.is-scrolled .header-inner { min-height: 58px; }

/* =========================================================
   CÁC MỤC MỚI Ở TRANG CHỦ
   ========================================================= */
.prod-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.prod-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px;
  font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s;
}
.prod-tabs button:hover { border-color: var(--navy-600); color: var(--navy); }
.prod-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(0, 71, 154, .25); }
#featured { transition: opacity .22s ease, transform .22s ease; }
#featured.is-switching { opacity: 0; transform: translateY(8px); }

.deal { margin-bottom: 26px; }
.deal-inner {
  position: relative; overflow: hidden; border-radius: 18px; color: #fff;
  display: grid; grid-template-columns: minmax(300px, .8fr) 2fr; gap: 40px; align-items: center; padding: 34px 40px;
  background: radial-gradient(70% 140% at 100% 0%, #1c6fd6 0%, transparent 60%), linear-gradient(135deg, #012c63, #00479a 60%, #0a58bd);
  box-shadow: var(--shadow);
}
.deal-inner::before {
  content: ''; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 198, 107, .35), transparent 65%); pointer-events: none;
}
.deal-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; background: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.deal-text h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-style: italic; margin: 12px 0 6px; background: linear-gradient(180deg, #fff3d2, #f7c66b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deal-text p { color: #d6e2f5; }
.deal-text .countdown { margin: 12px 0 20px; }
.deal-text, .deal-product { min-width: 0; }
.deal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; z-index: 1; }
.deal-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border-radius: 16px; padding: 12px; color: var(--text); box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  transition: transform .3s ease;
}
.deal-card:hover { transform: translateY(-4px); }
.deal-card img { border-radius: 12px; background: #f0f5ff; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.deal-info { display: grid; gap: 2px; text-align: center; padding: 0 4px 4px; }
.deal-info b { color: var(--ink); font-size: 15px; line-height: 1.35; }
.deal-info .price { font-size: 18px; }
.deal-save {
  position: absolute; top: -10px; left: -10px; z-index: 2; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #ff4b4b, #c80f1a); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 8px 18px rgba(200, 15, 26, .4); animation: pulse-save 2s ease-in-out infinite;
}
@keyframes pulse-save { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.why-home { padding-top: 34px; }
.why-home-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.why-media { position: relative; }
.why-media > img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 760 / 673; object-fit: cover; }
.why-badge {
  position: absolute; left: -18px; top: 26px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px;
  background: linear-gradient(135deg, #fde7b6, #f7c66b 50%, #e9a43c); color: #1d1a22; box-shadow: 0 14px 30px rgba(233, 164, 60, .4);
  animation: float-y 4s ease-in-out infinite;
}
.why-badge b { font-size: 42px; line-height: 1; font-weight: 800; }
.why-badge span { font-weight: 700; font-size: 13px; line-height: 1.25; text-transform: uppercase; }
.why-float {
  position: absolute; right: -14px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); animation: float-y 4s ease-in-out 1.2s infinite;
}
.why-float > i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-size: 18px; }
.why-float b { display: block; color: var(--ink); font-size: 14px; }
.why-float small { color: var(--muted); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.why-content h2 { font-size: clamp(24px, 3vw, 36px); margin: 8px 0 12px; }
.why-content .lead { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.feature { display: flex; gap: 14px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9dcf7; }
.feature .hf-icon { flex: none; width: 52px; height: 52px; font-size: 20px; }
.feature h3 { font-size: 15.5px; margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.note-left { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-3) 0 10px, transparent 10px 18px); opacity: .6;
}
.step { position: relative; text-align: center; padding: 24px 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .hf-icon { margin: 0 auto 12px; width: 66px; height: 66px; font-size: 24px; position: relative; z-index: 1; }
.step-no { position: absolute; top: 12px; right: 16px; font-size: 30px; font-weight: 800; color: #e7eef9; line-height: 1; }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.center-row { text-align: center; margin-top: 24px; }

.consult { padding: 10px 0 20px; }
.consult-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 36px 40px; border-radius: 20px;
  background: radial-gradient(60% 120% at 0% 0%, #ffffff, transparent 70%), linear-gradient(120deg, #e8f3ff, #cfe6fc);
  border: 1px solid #d3e5fa; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.consult-inner::after {
  content: '\f590'; font: var(--fa-font-solid); position: absolute; right: -30px; bottom: -40px; font-size: 220px; color: rgba(0, 71, 154, .05); pointer-events: none;
}
.consult-text h2 { font-size: clamp(22px, 2.8vw, 32px); margin: 6px 0 10px; font-style: italic; color: #0b3f93; }
.consult-text p { color: var(--muted); margin-bottom: 14px; }
.consult-text ul { display: grid; gap: 8px; }
.consult-text li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.consult-text li i { color: var(--green); }
.consult-form { position: relative; z-index: 1; display: grid; gap: 12px; padding: 24px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.consult-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.consult-form input:not(.hp), .consult-form select {
  height: 46px; padding: 0 14px; border: 1px solid #cfd9e8; border-radius: 10px; outline: none; font-size: 15px; background: #fff;
}
.consult-form input:focus, .consult-form select:focus { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(10, 88, 189, .12); }
.consult-form .btn { height: 48px; margin-top: 4px; }
.consult-or { text-align: center; font-size: 14px; color: var(--muted); }
.consult-or a { color: var(--red); font-weight: 800; }

@media (max-width: 991px) {
  .deal-inner { grid-template-columns: 1fr; padding: 28px 24px; }
  .why-home-grid { grid-template-columns: 1fr; gap: 34px; }
  .why-media { max-width: 620px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .consult-inner { grid-template-columns: 1fr; padding: 28px 24px; }
  .g-nav { opacity: 1; transform: translate(0, -50%); }
  .g-hint { display: none; }
}
@media (max-width: 640px) {
  .deal-list { grid-template-columns: repeat(3, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 8px 12px; margin: -12px -4px 0 -12px; }
  .deal-card { scroll-snap-align: start; }
  .deal-save { width: 54px; height: 54px; font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .why-badge { left: 8px; top: 12px; padding: 10px 14px; }
  .why-badge b { font-size: 32px; }
  .why-float { right: 8px; bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .g-thumb { flex-basis: 70px; }
  .g-nav { width: 38px; height: 38px; font-size: 14px; }
  .lb-stage { inset: 60px 8px 110px; }
  .lb-nav { width: 42px; height: 42px; top: auto; bottom: 120px; transform: none; }
  .lb-thumbs button { flex-basis: 56px; }
  .prod-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .prod-tabs::-webkit-scrollbar, .g-thumbs::-webkit-scrollbar, .lb-thumbs::-webkit-scrollbar { display: none; }
  .g-thumbs, .lb-thumbs { scrollbar-width: none; }
  .prod-tabs button { white-space: nowrap; }
}

/* ---------- nhóm sản phẩm ---------- */
.dd-ico { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-size: 18px; }
.dropdown li a:hover .dd-ico { background: var(--navy); color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9dcf7; }
.cat-media {
  width: 88px; height: 88px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--tint), #dcebfc); color: var(--navy); font-size: 34px;
}
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover .cat-media img { transform: scale(1.08); }
.cat-body { display: grid; gap: 2px; min-width: 0; }
.cat-body b { color: var(--ink); font-size: 16px; }
.cat-body small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.cat-body em { font-style: normal; color: var(--navy); font-weight: 700; font-size: 13px; margin-top: 2px; }
.cat-body em i { font-size: 11px; transition: transform .2s; }
.cat-tile:hover .cat-body em i { transform: translateX(3px); }
.cat-options label { justify-content: flex-start; }
.cat-options small { margin-left: auto; min-width: 26px; text-align: center; padding: 0 6px; border-radius: 999px; background: var(--tint); color: var(--muted); font-size: 12px; }
.empty .cta-actions { justify-content: center; }

/* ---------- trang bảo hành ---------- */
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.w-perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.w-perk { padding: 22px 18px; display: grid; justify-items: center; text-align: center; gap: 6px; }
.w-perk .hf-icon { margin-bottom: 6px; }
.w-perk > b { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.w-perk > span:not(.hf-icon) { color: var(--muted); font-size: 14px; }
.w-perk a { color: var(--red); font-weight: 700; }
.w-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.w-card { padding: 26px; scroll-margin-top: 90px; }
.w-card h2 { font-size: 21px; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.w-card h2 i { color: var(--gold-3); }
.w-lead { color: var(--muted); margin-bottom: 16px; }
.lookup-result { display: flex; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 12px; border: 1px solid; animation: hero-in .4s ease both; }
.lookup-result > i { font-size: 26px; margin-top: 2px; }
.lookup-result > div { display: grid; gap: 8px; flex: 1; min-width: 0; }
.lookup-result b { font-size: 16px; }
.lookup-result p, .lookup-result small { color: var(--muted); }
.lookup-result a { color: var(--navy); font-weight: 700; }
.lookup-result .btn { justify-self: start; }
.lookup-result.is-ok { background: #effaf3; border-color: #bfe8cf; }
.lookup-result.is-ok > i, .lookup-result.is-ok b { color: #0d8a43; }
.lookup-result.is-wait { background: #fff8eb; border-color: #f7d58c; }
.lookup-result.is-wait > i, .lookup-result.is-wait b { color: #a86a00; }
.lookup-result.is-miss { background: #fff4f4; border-color: #ffd0d3; }
.lookup-result.is-miss > i, .lookup-result.is-miss b { color: var(--red); }
.lookup-dl { display: grid; gap: 6px; margin: 4px 0; font-size: 14px; }
.lookup-dl div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.lookup-dl dt { color: var(--muted); }
.lookup-dl dd { margin: 0; font-weight: 600; color: var(--ink); }
.w-success { text-align: center; padding: 26px 10px 10px; display: grid; justify-items: center; gap: 8px; animation: hero-in .4s ease both; }
.w-success > i { font-size: 52px; color: var(--green); }
.w-success p { color: var(--muted); max-width: 440px; }
.w-success a { color: var(--red); font-weight: 700; }
.w-policy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.w-faq-title { font-size: 20px; margin-bottom: 14px; }
.w-policy .faq { margin: 0; }

@media (max-width: 1180px) and (min-width: 992px) {
  .nav-link { padding: 7px 8px; font-size: 14px; }
  .search input { width: 140px; }
}
@media (max-width: 991px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .w-perks { grid-template-columns: repeat(2, 1fr); }
  .w-perks > :first-child { grid-column: 1 / -1; }
  .w-grid, .w-policy { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cat-grid { gap: 10px; }
  .cat-tile { flex-direction: column; align-items: stretch; text-align: center; padding: 10px; gap: 8px; }
  .cat-media { width: 100%; height: auto; aspect-ratio: 1 / 1; font-size: 40px; }
  .cat-body small { display: none; }
  .cat-body b { font-size: 14.5px; }
  .w-perks { gap: 10px; }
  .w-perk { padding: 16px 10px; }
  .w-perk > b { font-size: 20px; }
  .w-card { padding: 20px 16px; }
  .lookup-dl div { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Zalo ---------- */
.ico-zalo { width: 30px; height: 30px; display: block; }
.float-zalo {
  position: fixed; left: 18px; bottom: 76px; z-index: 55; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: #0068ff; box-shadow: 0 8px 20px rgba(0, 104, 255, .4); transition: transform .2s;
}
.float-zalo::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0068ff; animation: ring 1.8s ease-out .9s infinite; }
.float-zalo:hover, .float-call:hover { transform: scale(1.08); }
.nav-open .float-zalo, .nav-open .float-call, .nav-open .back-to-top { opacity: 0; visibility: hidden; }
.float-tip {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap;
  padding: 5px 12px; border-radius: 8px; background: #0b1f4d; color: #fff; font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: .2s;
}
.float-zalo:hover .float-tip, .float-call:hover .float-tip { opacity: 1; transform: translate(0, -50%); }
.btn-zalo { color: #fff; background: #0068ff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 104, 255, .3); }
.btn-zalo:hover { background: #0055d4; }
.btn-zalo .ico-zalo { width: 24px; height: 24px; }
.detail-contact { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.detail-contact .btn-zalo { padding: 0 18px; font-size: 15px; }
.contact-card .btn-zalo { margin-top: 6px; color: #fff; font-size: 13px; }
.contact-card .btn-zalo:hover { color: #fff; }
.zalo-link { color: #0068ff !important; }
.pbanner-warranty > img[src$=".svg"] { -webkit-mask-image: none; mask-image: none; height: 132px; margin-left: 36px; }
.page-hero .hero-badge { top: 8%; height: 84%; width: auto; right: clamp(24px, 7vw, 150px); object-fit: contain; -webkit-mask-image: none; mask-image: none; opacity: 1; }
@media (max-width: 991px) { .page-hero .hero-badge { opacity: .35; } }
@media (max-width: 640px) {
  /* ảnh trang trí sau tiêu đề nhạt hơn để chữ dễ đọc trên điện thoại */
  .page-hero .hero-deco:not(.promo-hero .hero-deco), .page-hero .hero-badge { opacity: .16; }
  .float-zalo { left: 12px; bottom: 70px; width: 46px; height: 46px; }
  .float-tip { display: none; }
  .detail-contact { grid-template-columns: 1fr; }
  .detail-contact .btn-zalo { height: 46px; }
  .cart-thumb img { width: 84px; height: 84px; }
  .pbanner-warranty > img[src$=".svg"] { height: 108px; margin-left: 4px; }
}

/* ---------- nội dung động + chế độ quản trị ---------- */
body:not(.is-ready) main, body:not(.is-ready) #site-footer { opacity: 0; }
main { transition: opacity .2s ease; }
body:not(.is-ready)::after {
  content: ''; position: fixed; left: 50%; top: 45vh; width: 34px; height: 34px; margin-left: -17px;
  border-radius: 50%; border: 3px solid var(--tint); border-top-color: var(--navy); animation: spin .8s linear infinite;
}
.rich p { margin-bottom: 10px; }
.rich p:last-child { margin-bottom: 0; }
.tab-panel .rich ul, .about-intro .rich ul { list-style: disc; padding-left: 22px; margin: 6px 0 12px; display: grid; gap: 6px; color: var(--muted); }
.product-card, .news-card { position: relative; }
.admin-edit {
  position: absolute; top: 10px; right: 10px; z-index: 5; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; background: #111c33; color: #fff; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: .92;
}
.admin-edit:hover { background: var(--navy-600); opacity: 1; }
.product-media .save-chip { top: 44px; }
.admin-bar {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 96;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: #0b1f4d; color: #fff; font-size: 13.5px; box-shadow: 0 12px 30px rgba(1, 25, 60, .4);
}
.admin-bar-label { padding: 0 10px; color: #b8c8e6; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.admin-bar a, .admin-bar button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  color: #fff; background: rgba(255, 255, 255, .08); border: 0; font-weight: 600; white-space: nowrap;
}
.admin-bar a:hover, .admin-bar button:hover { background: var(--navy-600); }
@media (max-width: 640px) {
  .admin-bar { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .admin-bar-label, .admin-bar a span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Điện thoại rất nhỏ (320–380px): ô số lượng xuống dưới ảnh để thành tiền 9 chữ số không bị tràn */
@media (max-width: 380px) {
  .cart-item { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: 'img info rm'; }
  .cart-item .qty { grid-area: 2 / 1 / 3 / -1; justify-self: start; }
  .cart-line { grid-area: 2 / 1 / 3 / -1; justify-self: end; font-size: 15px; }
}

/* ---------- Đặt lịch thử ghế ---------- */
.topbar-book { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-1), var(--gold-2)); color: #4a2d00; font-weight: 700; font-size: 12.5px; }
.topbar-book:hover { filter: brightness(1.05); }
.consult-book { margin-top: 18px; background: #fff; }
.contact-card .btn { color: var(--ink); margin-top: 6px; }
.detail-trial { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 13px 18px; border-radius: 12px; background: linear-gradient(90deg, #fff8e8, #fff); border: 1px solid #f3d79b; color: var(--ink); transition: .2s; }
.detail-trial > i:first-child { font-size: 26px; color: var(--gold-3); }
.detail-trial span { display: grid; font-size: 13.5px; color: var(--muted); flex: 1; min-width: 0; }
.detail-trial b { font-size: 15px; color: var(--ink); }
.detail-trial > i:last-child { color: var(--gold-3); transition: transform .2s; }
.detail-trial:hover { border-color: var(--gold-3); box-shadow: 0 6px 18px rgba(233, 164, 60, .18); }
.detail-trial:hover > i:last-child { transform: translateX(3px); }

.bk-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.bk-day { margin: -4px 0 0; font-size: 14px; font-weight: 600; color: var(--navy); min-height: 20px; }
.bk-slots { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-slots legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--ink); padding: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid #cfd9e8; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); background: #fff; transition: .15s; }
.slot:hover span { border-color: var(--navy); }
.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(0, 71, 154, .25); }
.slot input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.slot.is-off { cursor: not-allowed; }
.slot.is-off span { background: #f3f5f9; color: #a9b3c4; border-style: dashed; text-decoration: line-through; }
.bk-success .bk-summary { display: grid; gap: 6px; width: 100%; max-width: 460px; text-align: left; background: var(--tint); border-radius: 12px; padding: 14px 16px; margin: 6px 0; }
.bk-summary div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 14px; }
.bk-summary dt { color: var(--muted); }
.bk-summary dd { margin: 0; color: var(--ink); font-weight: 600; }
.bk-success .cta-actions { justify-content: center; margin-top: 6px; }
.bk-success .cta-actions .btn-navy, .bk-success .cta-actions .btn-zalo { color: #fff; }
.bk-success .cta-actions .btn-outline { color: var(--ink); }
.bk-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.bk-info, .bk-perks { padding: 22px; }
.bk-info h2, .bk-perks h2 { font-size: 18px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.bk-info h2 i { color: var(--gold-3); }
.bk-info ul { display: grid; gap: 10px; margin-bottom: 16px; }
.bk-info li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink); font-size: 14.5px; }
.bk-info li i { color: var(--navy); margin-top: 3px; }
.bk-info li a { color: var(--red); font-weight: 800; }
.bk-perks ul { display: grid; gap: 14px; }
.bk-perks li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; }
.bk-perks .hf-icon { width: 46px; height: 46px; font-size: 18px; }
.bk-perks b { display: block; color: var(--ink); font-size: 15px; }
.bk-perks small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 991px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); }
  .bk-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bk-side { grid-template-columns: minmax(0, 1fr); }
  .bk-info .btn { white-space: normal; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-trial { padding: 12px 14px; }
}

/* ---------- Trả góp 0% (trang chi tiết) ---------- */
.inst-teaser { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: -6px 0 14px; font-size: 14.5px; color: var(--ink); }
.inst-teaser > i { color: var(--navy); font-size: 17px; }
.inst-teaser b { color: var(--red); font-size: 16px; }
.inst-teaser a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.inst-teaser a i { font-size: 11px; }
.inst-calc { margin: -4px 0 18px; border: 1px solid #cfe0f6; border-radius: 12px; background: #f7fbff; scroll-margin-top: 100px; }
.inst-calc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.inst-calc summary::-webkit-details-marker { display: none; }
.inst-calc summary > i:first-child { font-size: 22px; color: var(--navy); }
.inst-calc summary span { display: grid; flex: 1; min-width: 0; }
.inst-calc summary b { color: var(--ink); font-size: 15px; }
.inst-calc summary small { color: var(--muted); font-size: 13px; }
.inst-caret { color: var(--navy); transition: transform .2s; }
.inst-calc[open] .inst-caret { transform: rotate(180deg); }
.inst-body { display: grid; gap: 12px; padding: 4px 16px 16px; border-top: 1px dashed #cfe0f6; padding-top: 14px; }
.inst-field { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: center; }
.inst-field > span { font-weight: 600; font-size: 14px; color: var(--ink); }
.inst-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.inst-opts label { cursor: pointer; position: relative; }
.inst-opts input { position: absolute; opacity: 0; pointer-events: none; }
.inst-opts span { display: block; padding: 7px 12px; border: 1.5px solid #cfd9e8; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: .15s; }
.inst-opts input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.inst-opts input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.inst-result { display: grid; gap: 4px; margin: 0; padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.inst-result div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.inst-result dt { color: var(--muted); }
.inst-result dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.inst-result .inst-monthly { padding: 8px 0 6px; margin-top: 4px; border-top: 1px solid var(--line); align-items: baseline; }
.inst-result .inst-monthly dt { color: var(--ink); font-weight: 700; }
.inst-result .inst-monthly dd { color: var(--red); font-size: 22px; font-weight: 800; }
.inst-zero { color: var(--green) !important; }
.inst-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.inst-note i { color: var(--navy); }
.inst-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inst-actions .btn { height: 44px; }
.pay-option small b { color: var(--red); }

/* ---------- Thanh liên hệ cố định trên điện thoại ---------- */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 6px; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 42, 107, .12);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 4px; border-radius: 12px; font-size: 12px; font-weight: 700; color: var(--ink); }
  .mobile-bar a > i { font-size: 19px; color: var(--red); }
  .mobile-bar .mb-zalo { color: #0068ff; }
  .mobile-bar .mb-zalo .ico-zalo { width: 26px; height: 26px; }
  .mobile-bar .mb-zalo .ico-zalo path { fill: #0068ff; }
  .mobile-bar .mb-zalo .ico-zalo text { fill: #fff; }
  .mobile-bar .mb-main { flex-direction: row; gap: 7px; font-size: 13.5px; color: #4a2d00; background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); box-shadow: 0 4px 12px rgba(233, 164, 60, .35); }
  .mobile-bar .mb-main > i { color: #4a2d00; font-size: 18px; }
  .float-zalo, .float-call { display: none; }
  .back-to-top { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .nav-open .mobile-bar { display: none; }
  .inst-field { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- SEO: giới thiệu trang chủ (H1) + nội dung & hỏi đáp ---------- */
.home-intro { padding: 26px 0 0; text-align: center; }
.home-intro h1 { font-size: clamp(21px, 2.6vw, 30px); color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.home-intro p { color: var(--muted); max-width: 760px; margin: 0 auto; font-size: 15px; }
.home-intro a, .seo-text a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.seo-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.seo-text { padding: 26px; }
.seo-text h2 { font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.seo-text h3 { font-size: 17px; margin: 16px 0 6px; color: var(--ink); }
.seo-text p { color: var(--muted); margin-bottom: 8px; }
.seo-tiers { display: grid; gap: 6px; margin: 6px 0 10px; padding-left: 18px; list-style: disc; color: var(--muted); }
.seo-grid .faq { margin: 0; }
@media (max-width: 991px) { .seo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .seo-text { padding: 20px 16px; } .home-intro { padding-top: 18px; } }

/* ---------- Video sản phẩm (tải khi bấm để trang nhanh) ---------- */
.video-facade { position: relative; display: block; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; margin: 6px 0 14px; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video-facade:hover img { opacity: 1; }
.video-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border-radius: 14px; background: #e0202b; color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.video-wrap { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 6px 0 14px; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- So sánh ghế + Tư vấn chọn ghế ---------- */
.dd-extra { display: flex; gap: 8px; padding: 8px 4px 2px; border-top: 1px dashed var(--line); margin-top: 6px; }
.dd-extra a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--tint); }
.dd-extra a:hover { background: #dde8f8; }
.detail-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; }
.detail-links a { color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.detail-links a:hover { text-decoration: underline; }
.shop-tools a { color: var(--navy); font-weight: 600; white-space: nowrap; }
.consult-quiz { margin-top: 12px; font-size: 14px; color: var(--muted); }
.consult-quiz a { color: var(--navy); font-weight: 700; }
.cmp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; margin-bottom: 16px; }
.cmp-pick label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.cmp-pick select { height: 44px; border: 1px solid #cfd9e8; border-radius: 10px; padding: 0 10px; font: inherit; background: #fff; min-width: 0; }
.cmp-table-wrap { padding: 0; overflow: hidden; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cmp-table tbody th { width: 170px; color: var(--muted); font-weight: 600; background: #f8fafd; position: sticky; left: 0; z-index: 1; }
.cmp-table thead th { background: #fff; }
.cmp-table.cols-1 td, .cmp-table.cols-1 thead th:not(:first-child) { width: calc(100% - 170px); }
.cmp-head { display: grid; gap: 8px; justify-items: start; color: var(--ink); }
.cmp-head img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.cmp-head b { font-size: 15px; line-height: 1.35; }
.cmp-head:hover b { color: var(--navy); text-decoration: underline; }
.cmp-table .price { font-size: 18px; }
.cmp-best { display: block; margin-top: 4px; color: var(--green); font-weight: 700; font-size: 12.5px; }
.cmp-table .check-list { margin: 0; gap: 4px; }
.cmp-table .check-list li { font-size: 13.5px; }
.cmp-actions { display: grid; gap: 8px; }
.cmp-act-row td, .cmp-act-row th { border-bottom: 0; }
.cmp-help { margin-top: 14px; color: var(--muted); font-size: 14px; }
.cmp-help a { color: var(--navy); font-weight: 700; }
.quiz-wrap { display: grid; gap: 20px; max-width: 980px; }
.quiz { padding: 24px; display: grid; gap: 22px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz legend { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); margin-bottom: 12px; padding: 0; }
.quiz legend span { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: #fff; font-size: 14px; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-opts label { position: relative; cursor: pointer; }
.quiz-opts input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opts span { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid #cfd9e8; border-radius: 12px; font-weight: 600; color: var(--ink); background: #fff; transition: .15s; height: 100%; }
.quiz-opts span i { color: var(--gold-3); width: 20px; text-align: center; }
.quiz-opts label:hover span { border-color: var(--navy); }
.quiz-opts input:checked + span { border-color: var(--navy); background: var(--tint); box-shadow: inset 0 0 0 1px var(--navy); }
.quiz-opts input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.quiz > .btn { justify-self: start; }
.quiz-res { padding: 24px; scroll-margin-top: 90px; }
.quiz-res h2 { font-size: 21px; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; color: var(--ink); }
.quiz-res h2 i { color: var(--gold-3); }
.quiz-pick { display: grid; gap: 8px; align-content: start; }
.quiz-why { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink); }
.quiz-why i { color: var(--green); margin-right: 6px; }
.quiz-actions { margin-top: 18px; }
.quiz-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .cmp-pick { grid-template-columns: 1fr; }
  .cmp-table tbody th { width: 110px; font-size: 13px; }
  .cmp-head img { width: 88px; height: 88px; }
  .quiz { padding: 18px 16px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-res { padding: 18px 14px; }
}

/* ---------- kết quả tra cứu bảo hành ---------- */
.w-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; }
.w-item-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.lookup-result .w-item-head b { color: var(--ink); font-size: 15.5px; }
.w-item-head span { color: var(--muted); font-size: 13.5px; }
.w-terms { width: 100%; border-collapse: collapse; font-size: 14px; }
.w-terms th, .w-terms td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.w-terms thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; background: var(--tint); }
.w-terms tbody th { font-weight: 600; color: var(--ink); }
.w-terms tbody th small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.w-terms td { font-weight: 600; color: var(--ink); white-space: nowrap; }
.w-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.w-badge.is-ok { background: #dff5e8; color: #0d8a43; }
.w-badge.is-off { background: #ffe3e5; color: var(--red); }
.w-pending { color: #a86a00 !important; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.warranty-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--tint); font-size: 13.5px; color: var(--text); }
.warranty-note .ico, .warranty-note i { color: var(--navy); font-size: 18px; margin-top: 2px; }
.warranty-note a { color: var(--navy); font-weight: 700; text-decoration: underline; }
@media (max-width: 640px) {
  .w-terms thead { display: none; }
  .w-terms tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); }
  .w-terms th, .w-terms td { border: 0; padding: 0; }
  .w-terms tbody th { grid-column: 1 / -1; }
}

/* ---------- bảng giá nổi bật (3 thẻ nền đen, thẻ giữa nổi bật) ---------- */
.pt-section { padding-top: 22px; }
.ptable { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 26px); max-width: 1180px; margin: 0 auto; align-items: center; }
.pt-card {
  position: relative; display: flex; flex-direction: column; gap: clamp(4px, .6vw, 8px); min-width: 0;
  padding: clamp(14px, 2vw, 30px) clamp(12px, 1.8vw, 28px);
  border-radius: 18px; color: #e9e9ee; text-decoration: none;
  background: linear-gradient(165deg, #1d1e23 0%, #0e0f12 100%); border: 1px solid #2c2d33;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22); transition: transform .25s ease, box-shadow .25s ease;
}
.pt-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0, 0, 0, .3); }
.pt-card.is-featured {
  border: 1px solid #c99a46; transform: translateY(-14px);
  background: linear-gradient(165deg, #25221d 0%, #0f0e0c 100%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .32), 0 0 0 4px rgba(201, 154, 70, .14);
}
.pt-card.is-featured:hover { transform: translateY(-18px); }
.pt-label { text-transform: uppercase; letter-spacing: .06em; font-size: clamp(11px, .95vw, 14px); font-weight: 600; color: #a9a9b2; line-height: 1.35; min-height: 2.7em; }
.pt-card.is-featured .pt-label { color: #e6bf72; }
.pt-name { font-size: clamp(16px, 2vw, 30px); font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.2; letter-spacing: .01em; }
.pt-line { display: block; height: 1px; background: linear-gradient(90deg, #3a3b42, transparent); margin: clamp(6px, 1vw, 14px) 0 clamp(4px, .6vw, 8px); }
.pt-old { color: #8b8b94; font-size: clamp(12px, 1.1vw, 17px); text-decoration-thickness: 1.5px; }
.pt-price { color: #ef3b3b; font-weight: 800; font-size: clamp(18px, 2.5vw, 38px); line-height: 1.1; letter-spacing: -.5px; white-space: normal; word-break: keep-all; overflow-wrap: normal; }
.pt-save { color: #b9b9c2; font-size: clamp(12px, 1vw, 15px); line-height: 1.35; margin-top: 2px; }
.pt-save b { display: block; color: #fff; font-weight: 700; font-size: clamp(12px, 1.1vw, 17px); }
.pt-btn {
  align-self: flex-start; margin-top: clamp(8px, 1.2vw, 16px); padding: clamp(8px, .8vw, 12px) clamp(12px, 1.4vw, 22px);
  border-radius: 10px; background: #2c2d33; color: #f1e3c4; font-weight: 700; font-size: clamp(11px, .95vw, 14px);
  text-transform: uppercase; letter-spacing: .04em; transition: background .2s ease, color .2s ease;
}
.pt-card:hover .pt-btn { background: linear-gradient(180deg, #f3cf7d, #d9a441); color: #3a2600; }
.pt-card.is-featured .pt-btn { background: linear-gradient(180deg, #f3cf7d, #d9a441); color: #3a2600; }
@media (max-width: 640px) {
  .ptable { gap: 8px; padding-top: 10px; }
  .pt-card { border-radius: 14px; padding: 14px 9px; }
  .pt-card.is-featured { transform: translateY(-8px); }
  .pt-name { font-size: 15px; }
  .pt-price { font-size: 15.5px; letter-spacing: -.3px; }
  .pt-old { font-size: 11.5px; }
  .pt-btn { align-self: stretch; text-align: center; padding-left: 6px; padding-right: 6px; }
}

/* dòng "Tiết kiệm …" trên thẻ sản phẩm và trang chi tiết */
.save-row { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #e8f7ee; color: #0b7a3b; font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; max-width: 100%; }
.save-row b { font-weight: 800; }
.save-row i { font-size: 11px; }
.detail-save { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 6px 14px; border-radius: 999px; background: #e8f7ee; color: #0b7a3b; font-size: 14.5px; font-weight: 600; }
.detail-save b { font-weight: 800; }
@media (max-width: 640px) {
  .save-row { font-size: 11.5px; padding: 2px 8px; gap: 4px; }
  .save-row i { display: none; }
  .detail-save { font-size: 13.5px; }
}

/* giá gạch (giá gốc) nằm trên cùng, giá bán ở giữa, dòng tiết kiệm bên dưới */
.price-row { flex-direction: column; align-items: center; gap: 0; }
.price-row .old-price { line-height: 1.3; }
.detail-price del, .hero-price del { flex-basis: 100%; line-height: 1.2; margin-bottom: -6px; }
.cart-unit del { display: block; }

/* ---------- đặt lịch: chọn hình thức tại showroom / tại nhà ---------- */
.bk-mode { border: 0; padding: 0; margin: 0 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-mode legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.bk-mode-opt { position: relative; cursor: pointer; }
.bk-mode-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bk-mode-opt > span {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: .2s;
}
.bk-mode-opt i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-size: 20px; }
.bk-mode-opt b { color: var(--ink); font-size: 15.5px; }
.bk-mode-opt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.bk-mode-opt input:checked + span { border-color: var(--navy); background: #f3f8ff; box-shadow: 0 0 0 3px rgba(0, 71, 154, .12); }
.bk-mode-opt input:checked + span i { background: var(--navy); color: #fff; }
.bk-mode-opt input:focus-visible + span { outline: 3px solid rgba(10, 88, 189, .45); outline-offset: 2px; }
.bk-home-info p { color: var(--muted); margin: 4px 0 10px; }
@media (max-width: 520px) { .bk-mode { grid-template-columns: 1fr; } }

/* trang chi tiết: nút "thử tại nhà" */
.detail-trial-home { margin-top: 10px; background: linear-gradient(90deg, #eef5ff, #fff); border-color: #cfe0fb; }
.detail-trial-home > i:first-child { color: var(--navy); }

/* quản trị: nhãn hình thức lịch hẹn */
.bk-home-pill { background: #fff4dc !important; color: #a86a00; }
.bk-shop-pill { background: #e7f0ff !important; color: #1f5fc7; }

/* ---------- trang chủ: khối "Thử ghế tại nhà" ---------- */
.home-trial-sec { padding-top: 10px; }
.home-trial {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; overflow: hidden;
  border-radius: 20px; background: linear-gradient(120deg, #fffaf0 0%, #f2f7ff 60%, #e6f0ff 100%); border: 1px solid #f0e2c0;
  box-shadow: var(--shadow-sm);
}
.ht-media { min-height: 300px; }
.ht-media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; object-position: center 40%; display: block; }
.ht-body { padding: clamp(22px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ht-body h2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; font-style: italic; color: #0b3f93; line-height: 1.2; }
.ht-body p { color: var(--muted); font-size: 15.5px; max-width: 620px; }
.ht-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 6px; }
.ht-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.ht-points i { color: #c98a2b; }
.ht-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .home-trial { grid-template-columns: 1fr; }
  .ht-media { min-height: 0; }
  .ht-media img { aspect-ratio: 16 / 10; height: auto; }
  .ht-actions .btn { flex: 1 1 200px; justify-content: center; }
}

/* ---------- thử ghế tại nhà: lối vào ở trang Liên hệ, menu, thanh trên cùng ---------- */
.contact-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.contact-card-home { border: 2px solid #e9b85c; background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: 0 14px 30px rgba(201, 138, 43, .18); }
.contact-card-home .hf-icon { color: #b9831f; }
.contact-card-home .btn { color: #3a2600 !important; margin-top: 4px; }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card-home { grid-column: 1 / -1; order: -1; } }
.topbar-home { background: #fff; color: var(--navy); }
.topbar-home:hover { filter: none; background: #fff4dc; }
.dropdown-contact { width: 330px; }
.dropdown-contact .dd-hl { background: #fff8e8; border-radius: 10px; }
.dropdown-contact .dd-hl .dd-ico { background: linear-gradient(180deg, #f3cf7d, #d9a441); color: #3a2600; }
.dropdown-contact small { color: var(--muted) !important; }
