/* =========================================================
   Két sắt Bình Bảo — stylesheet
   Bố cục tham chiếu ketsat.vn, nhận diện theo branding Bình Bảo
   ========================================================= */

/* Brand Guideline (bản 01/11/2026) tr.26–28: SVN-Gotham Book (nội dung) · Regular – nét Medium (tiêu đề phụ, nhãn, tên sản phẩm) · Bold (tiêu đề chính) */
@font-face { font-family: "Gotham"; src: url("../fonts/SVN-Gotham-Book.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/SVN-Gotham-Regular.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/SVN-Gotham-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* Brand Guideline tr.21–23: Đỏ #E42C10, Đen #000000, Trắng #FFFFFF, Trung tính #CBC9BC
   + sắc độ 80/60/40/20/10% pha trên nền trắng. Không dùng màu ngoài bảng. */
:root {
  --red: #E42C10;
  --red-80: #E95640;
  --red-60: #EF8070;
  --red-40: #F4AB9F;
  --red-20: #FAD5CF;
  --red-10: #FCEAE7;
  --k-80: #333333;
  --k-60: #666666;
  --k-40: #999999;
  --k-20: #CCCCCC;
  --k-10: #E6E6E6;
  --n: #CBC9BC;
  --n-80: #D5D4C9;
  --n-60: #E0DFD7;
  --n-40: #EAE9E4;
  --n-20: #F5F4F2;
  --n-10: #FAFAF8;
  --red-dark: #000000;      /* hover nút đỏ → đen */
  --red-soft: var(--red-10);
  --ink: #000000;
  --ink-2: var(--k-80);
  --muted: var(--k-60);
  --line: var(--k-10);
  --cream: var(--n-20);
  --grey: var(--n);
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --radius: 8px;
  --container: 1248px;
  --gutter: 16px;
  --section: 100px;
  --header-h: 106px;
  --f-head: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* brand guide: SVN-Gotham Bold */
  --f-body: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 2px 4px rgba(0, 0, 0, .25);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, h4 { margin: 0; }
input { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { margin-top: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; flex: none; }

.title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -.01em;
}
.title.t-center { text-align: center; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 16px; line-height: 1.3;
  background: var(--ink); color: #fff;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red); }
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-dark); }

/* ---------------- Header ---------------- */
.header { position: sticky; top: 0; z-index: 50; }
.header-top { background: var(--red); color: #fff; height: 40px; overflow: hidden; }
.header-top .container { height: 100%; }
.marquee { display: flex; height: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: 64px; padding-right: 64px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; }
.marquee-item b { font-weight: 700; }
.marquee-item .icon { width: 18px; height: 18px; color: #FFFFFF; }
@keyframes marquee { to { transform: translateX(-100%); } }

.header-main { background: #fff; box-shadow: var(--shadow); position: relative; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 22px 12px; font-size: 14px; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.nav-link .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-item:hover > .nav-link, .nav-item.is-current > .nav-link { color: var(--red); }
.nav-item:hover > .nav-link .icon { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-card);
  padding: 8px 0; border-top: 3px solid var(--red);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.nav-item:hover > .sub-menu, .nav-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 18px; font-size: 14px; white-space: nowrap; }
.sub-menu a:hover { color: var(--red); background: var(--red-soft); }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-search-btn { width: 34px; height: 34px; display: grid; place-items: center; }
.header-sep { width: 1px; height: 28px; background: var(--ink); opacity: .6; }
.cart { display: flex; align-items: center; gap: 8px; }
.cart-icon { position: relative; width: 36px; height: 36px; display: grid; place-items: center; }
.cart-count {
  position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.cart-text { font-size: 12px; line-height: 1.35; }
.cart-text b { display: block; font-size: 13px; }
.menu-btn { display: none; width: 34px; height: 34px; place-items: center; }

.search-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-card);
  padding: 16px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.search-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.search-form { display: flex; gap: 8px; max-width: 720px; margin: 0 auto; }
.search-form input {
  flex: 1 1 0; width: 0; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); outline: none;
}
.search-form input:focus { border-color: var(--red); }

/* Mobile drawer */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; z-index: 100;
  transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; }
.drawer-body { overflow-y: auto; padding: 8px 16px 24px; flex: 1; }
.drawer-list > li { border-bottom: 1px solid var(--line); }
.drawer-row { display: flex; align-items: center; justify-content: space-between; }
.drawer-row > a { flex: 1; padding: 12px 0; font-size: 15px; font-weight: 700; }
.drawer-row > a.is-current { color: var(--red); }
.drawer-toggle { width: 40px; height: 40px; display: grid; place-items: center; }
.drawer-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.drawer-list li.is-open .drawer-toggle .icon { transform: rotate(180deg); }
.drawer-sub { display: none; padding: 0 0 10px 12px; }
.drawer-list li.is-open .drawer-sub { display: block; }
.drawer-sub a { display: block; padding: 8px 0; color: var(--ink-2); }
.drawer-contact { margin-top: 20px; display: grid; gap: 10px; }
.drawer-contact a { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.drawer-contact .icon { color: var(--red); width: 20px; height: 20px; }

/* ---------------- Hero ---------------- */
.hero { background: var(--cream); padding: 12px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hero-side { display: flex; flex-direction: column; gap: 12px; }

.banner {
  container-type: inline-size;
  position: relative; overflow: hidden; border-radius: var(--radius);
  display: block; isolation: isolate;
}
.banner-sm { aspect-ratio: 320 / 178; }
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide .banner { height: 100%; border-radius: 0; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .6); transition: .25s; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.hero-dots button.is-active { width: 28px; background: var(--red); }
.hero-arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #CCCCCC; display: grid; place-items: center;
  opacity: 0; transition: opacity .2s;
}
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-arrow .icon { width: 20px; height: 20px; }

/* banner art — sizes in cqw so banners scale like images */
.b-inner { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 5cqw; z-index: 1; }
.b-copy { flex: 1 1 58%; display: flex; flex-direction: column; gap: 1.4cqw; position: relative; z-index: 2; }
.b-art { flex: 0 0 44%; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3cqw; position: relative; }
.b-art .safe-art { width: 100%; }
.b-logo { height: 4.2cqw; width: auto; align-self: flex-start; }
.b-kicker { font-size: 2cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.b-title { font-family: var(--f-head); font-weight: 700; font-size: 5.2cqw; line-height: 1.05; text-transform: uppercase; }
.b-title em { font-style: normal; color: var(--red); display: block; }
.b-text { font-size: 2.1cqw; line-height: 1.45; max-width: 46cqw; }
.b-feats { display: flex; gap: 1.6cqw; margin-top: .6cqw; }
.b-feat { display: flex; flex-direction: column; align-items: center; gap: .6cqw; width: 9cqw; text-align: center; font-size: 1.45cqw; line-height: 1.25; }
.b-feat span { width: 5.4cqw; height: 5.4cqw; border-radius: 1.2cqw; display: grid; place-items: center; border: .25cqw solid currentColor; }
.b-feat svg { width: 60%; height: 60%; }
.b-cta {
  display: inline-flex; align-items: center; gap: 1.2cqw; align-self: flex-start; margin-top: 1cqw;
  padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 2.1cqw;
}
.b-cta svg { width: 2.4cqw; height: 2.4cqw; }

.bg-cream { background: var(--n-20); color: var(--ink); }
.bg-dark { background: #000000; color: #fff; }
.bg-red { background: var(--red); color: #fff; }
.bg-dark .b-title em { color: var(--red-60); }
.bg-red .b-title em { color: #000000; }
.bg-red .b-cta { background: #fff; color: var(--red); }
.b-deco { position: absolute; z-index: 0; pointer-events: none; opacity: .08; }
.b-deco.mark { right: -6cqw; top: -10cqw; width: 52cqw; }
.bg-dark .b-deco.mark { opacity: .12; }
.b-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.08)); z-index: 0; }

/* small banners */
.banner-sm .b-inner { padding: 0 6cqw; }
.banner-sm .b-copy { gap: 2cqw; flex-basis: 58%; }
.banner-sm .b-title { font-size: 8.6cqw; }
.banner-sm .b-text { font-size: 3.6cqw; max-width: none; }
.banner-sm .b-kicker { font-size: 3.2cqw; }
.banner-sm .b-cta { font-size: 3.8cqw; padding: 2cqw 4cqw; gap: 2cqw; }
.banner-sm .b-cta svg { width: 4cqw; height: 4cqw; }
.banner-sm .b-art { flex-basis: 42%; padding-bottom: 5cqw; }

.hero-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.hero-feat { display: flex; gap: 14px; align-items: flex-start; }
.hero-feat .icon { width: 40px; height: 40px; color: var(--red); }
.hero-feat b { display: block; font-size: 15px; margin-bottom: 2px; }
.hero-feat p { color: var(--ink-2); font-size: 13px; }

/* ---------------- Sliders ---------------- */
.slider { --per: 4; --gap: 32px; position: relative; }
.slider-track {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px 0 12px; margin: -8px 0 -12px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }
.slider-bar { position: relative; width: 140px; height: 3px; margin: 28px auto 0; background: #CCCCCC; border-radius: 3px; overflow: hidden; }
.slider-bar span { position: absolute; top: 0; left: 0; height: 100%; background: var(--ink); border-radius: 3px; transition: transform .15s linear; }
.slider.is-static .slider-bar { visibility: hidden; }
.slider-nav {
  position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-card); display: grid; place-items: center; transition: .2s;
}
.slider-nav:hover { background: var(--red); color: #fff; }
.slider-nav[disabled] { opacity: 0; pointer-events: none; }
.slider-nav.prev { left: -22px; }
.slider-nav.next { right: -22px; }
.slider-nav .icon { width: 20px; height: 20px; }
.slider-dark .slider-bar { background: rgba(255, 255, 255, .25); }
.slider-dark .slider-bar span { background: #fff; }

/* ---------------- Product cards ---------------- */
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.row { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-2); transition: .2s; white-space: nowrap;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .14); }
.product-img { position: relative; aspect-ratio: 1; display: block; background: #fff; }
.product-img .safe-art { position: absolute; inset: 6%; width: 88%; height: 88%; transition: transform .35s; }
.product-card:hover .product-img .safe-art { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.33;
}
.badge.new { background: var(--ink); }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name { font-size: 16px; line-height: 1.5; min-height: 48px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a:hover { color: var(--red); }
.price { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.price ins { text-decoration: none; color: var(--red); font-weight: 700; font-size: 18px; }
.price del { color: #666; font-size: 14px; }
.product-empty { padding: 40px 0; text-align: center; color: var(--muted); width: 100%; }

/* ---------------- Category ---------------- */
.cat-section { position: relative; padding: 100px 0 80px; color: #fff; overflow: hidden; isolation: isolate; }
.cat-bg { position: absolute; inset: 0; z-index: -1; background: #000000; }
.cat-bg::before {
  content: ""; position: absolute; inset: 0; opacity: .07;

  filter: grayscale(1) brightness(3);
}
.cat-section .title { color: #fff; }
.cat-slider { --per: 6; }
.cat-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s; }
.cat-card:hover { transform: translateY(-4px); }
.cat-img { aspect-ratio: 1; position: relative; background: #fff; }
.cat-img .safe-art { position: absolute; inset: 10%; width: 80%; height: 80%; }
.cat-name { padding: 12px 10px; text-align: center; font-weight: 700; font-size: 14px; background: var(--ink); color: #fff; transition: background .2s; }
.cat-card:hover .cat-name { background: var(--red); }

/* ---------------- About ---------------- */
.about { background: var(--cream); padding: 100px 0; }
.about-wrap { display: grid; grid-template-columns: 40% 1fr; gap: 32px; align-items: start; }
.about-content { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.about-logo { width: 220px; }
.about-desc { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.about-desc strong { color: var(--ink); }
.about-points { display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.about-points .icon { width: 22px; height: 22px; color: var(--red); }
.about-media { position: relative; }
.about-slider { --per: 1; --gap: 16px; }
.about-slide { aspect-ratio: 4 / 3.4; border-radius: 12px; overflow: hidden; position: relative; container-type: inline-size; }
.about-slide .b-art { position: absolute; right: 4cqw; bottom: 0; width: 46cqw; height: 80%; }
.about-slide figcaption {
  position: absolute; left: 5cqw; top: 6cqw; max-width: 44cqw; display: flex; flex-direction: column; gap: 2cqw; z-index: 2;
}
.about-slide figcaption b { font-family: var(--f-head); font-size: 5.4cqw; line-height: 1.1; }
.about-slide figcaption span { font-size: 2.6cqw; line-height: 1.5; opacity: .85; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.stat { text-align: center; padding: 8px; }
.stat-num { font-family: var(--f-head); font-size: 48px; line-height: 1.1; color: var(--red); }
.stat p:last-child { font-size: 16px; color: var(--ink-2); margin-top: 6px; }

/* ---------------- Reviews ---------------- */
.review-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.review-head p { color: var(--ink-2); font-size: 16px; margin-top: 12px; max-width: 760px; }
.review-arrows { display: flex; gap: 8px; flex: none; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .2s; background: #fff; }
.round-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.round-btn[disabled] { opacity: .4; pointer-events: none; }
.round-btn .icon { width: 20px; height: 20px; }
.review-slider { --per: 3; }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; background: #fff; height: 100%; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-head); font-size: 22px; color: #fff; background: var(--ink);
}
.stars { display: flex; gap: 2px; color: var(--red); }
.stars .icon { width: 18px; height: 18px; }
.review-text { font-size: 15px; line-height: 1.7; color: var(--ink-2); flex: 1; }
.review-user b { display: block; font-size: 16px; }
.review-user span { color: var(--muted); font-size: 13px; }
.quote-mark { width: 36px; height: 36px; color: var(--red-soft); }

/* ---------------- News ---------------- */
.news-head { position: relative; }
.news-head .more { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); }
.news-head .more .icon { width: 16px; height: 16px; }
.news-slider { --per: 4; }
.article { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.article-img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; position: relative; display: block; container-type: inline-size; }
.article-img .thumb { position: absolute; inset: 0; transition: transform .4s; }
.article:hover .article-img .thumb { transform: scale(1.05); }
.thumb { display: flex; align-items: flex-end; justify-content: space-between; padding: 6cqw; }
.thumb b { font-family: var(--f-head); font-size: 7cqw; line-height: 1.1; max-width: 55%; position: relative; z-index: 1; }
.thumb .safe-art { width: 44%; position: absolute; right: 5cqw; bottom: 4cqw; }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.article-meta a { color: var(--red); font-weight: 700; }
.article-meta span::before { content: "•"; margin-right: 10px; }
.article-title { font-size: 16px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.article-title a:hover { color: var(--red); }
.article-desc { color: var(--ink-2); }   /* Q2: hiện đủ mô tả bài, không cắt "…" ở màn hẹp */
.article-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: auto; }
.article-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.article-btn:hover { color: var(--red); }
.article-btn:hover .icon { transform: translateX(4px); }

/* ---------------- Video & gallery ---------------- */
.activity { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.activity > div { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.video-main { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; display: block; container-type: inline-size; width: 100%; text-align: left; }
.video-main .thumb { position: absolute; inset: 0; align-items: flex-end; }
.video-main .thumb b { font-size: 4.6cqw; max-width: 60%; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(228, 44, 16, .25); transition: transform .2s;
}
.play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video-main:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-item { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.video-item .vthumb { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; position: relative; container-type: inline-size; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.video-item .vthumb .thumb { position: absolute; inset: 0; padding: 0; }
.video-item .vthumb .safe-art { width: 46%; right: 8cqw; bottom: 6cqw; }
.video-item.is-active .vthumb { outline-color: var(--red); }
.video-item p { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-item.is-active p, .video-item:hover p { color: var(--red); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery button { border-radius: 6px; overflow: hidden; aspect-ratio: 1; position: relative; container-type: inline-size; }
.gallery button:first-child { grid-column: span 2; aspect-ratio: 2 / 1.12; }
.gallery .thumb { position: absolute; inset: 0; padding: 0; transition: transform .4s; }
.gallery button:hover .thumb { transform: scale(1.06); }
.gallery .safe-art { width: 62%; left: 50%; right: auto; transform: translateX(-50%); bottom: 6cqw; }
.gallery button:first-child .safe-art { width: 36%; }

/* ---------------- SEO content ---------------- */
.content-box { position: relative; }
.content { max-height: 640px; overflow: hidden; position: relative; transition: max-height .4s; }
.content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.content-box.is-open .content { max-height: none; }
.content-box.is-open .content::after { display: none; }
.content > * + * { margin-top: 12px; }
.content h2 { font-family: var(--f-head); font-size: 22px; line-height: 1.3; margin-top: 28px; }
.content h3 { font-size: 18px; font-weight: 700; margin-top: 20px; }
.content p, .content li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.content ul { list-style: disc; padding-left: 22px; }
.content strong { color: var(--ink); }
.content a { color: var(--red); text-decoration: underline; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.content table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.content th, .content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.content th { background: var(--ink); color: #fff; font-weight: 700; }
.content tr:nth-child(even) td { background: var(--cream); }
.content td:last-child, .content th:last-child { text-align: right; white-space: nowrap; }
.content blockquote { margin: 20px 0 0; padding: 20px 24px; background: var(--ink); color: #fff; border-left: 4px solid var(--red); border-radius: var(--radius); }
.content blockquote p { color: #fff; }
.toggle-more { display: flex; justify-content: center; margin-top: 16px; }
.toggle-more .btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.content-box.is-open .toggle-more .btn .icon { transform: rotate(180deg); }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: #fff; margin-top: var(--section); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.footer-title { font-family: var(--f-head); font-size: 18px; margin-bottom: 16px; color: #fff; }
.footer-list { display: grid; gap: 10px; }
.footer-list a, .footer-list li { color: #CCCCCC; font-size: 14px; transition: color .2s; }
.footer-list a:hover { color: var(--red-60); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--red-60); margin-top: 1px; }
.footer-bottom { border-top: 1px solid #333333; padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #CCCCCC; font-size: 13px; }
.socials { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #CCCCCC; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials .icon { width: 18px; height: 18px; }

/* ---------------- Floating contact ---------------- */
.float-contact { position: fixed; right: 16px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2); position: relative;
}
.float-btn .icon { width: 24px; height: 24px; }
.float-btn.phone { background: var(--red); }
.float-btn.phone::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ring 1.6s infinite; }
.float-btn.zalo { background: #000000; font-weight: 700; font-size: 13px; }
.float-btn.top { width: 44px; height: 44px; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.float-btn.top.is-show { opacity: 1; visibility: visible; transform: none; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------------- Modal ---------------- */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .8); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal-box { width: min(960px, 100%); position: relative; }
.modal-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; color: #fff; display: grid; place-items: center; }
.modal-media { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #fff; container-type: inline-size; position: relative; }
.modal-media iframe { width: 100%; height: 100%; border: 0; }
.modal-media .thumb { position: absolute; inset: 0; }
.modal-caption { color: #fff; text-align: center; margin-top: 14px; font-weight: 700; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation-duration: 90s; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  .slider-nav.prev { left: 4px; }
  .slider-nav.next { right: 4px; }
}
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .cart-text { display: none; }
  .header-actions { gap: 12px; }
  .slider { --gap: 24px; }
  .product-slider { --per: 3.2; }
  .cat-slider { --per: 4.5; }
  .news-slider { --per: 3; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .f-col-brand { grid-row: span 2; }
}
@media (max-width: 1023px) {
  :root { --section: 72px; }
  .title { font-size: 28px; }
  .hero-feats { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .review-slider { --per: 2; }
  .about-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-content { align-items: flex-start; }
  .activity { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
  .slider-nav { display: none; }
}
@media (max-width: 767px) {
  :root { --section: 56px; --gutter: 16px; }
  .title { font-size: 24px; }
  .header-top { height: 34px; }
  .marquee-item { font-size: 13px; }
  .header-main .container { height: 60px; }
  .header-sep { display: none; }
  .header-actions { gap: 6px; }
  .hero { padding: 12px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-slider { height: auto; aspect-ratio: 343 / 200; }
  .hero-side { flex-direction: row; gap: 10px; }
  .hero-side .banner { flex: 1; min-width: 0; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 8px; }
  .hero-dots button { width: 8px; height: 8px; }
  .hero-dots button.is-active { width: 20px; }
  .hero-feats { margin-top: 28px; gap: 16px 12px; }
  .hero-feat { gap: 10px; }
  .hero-feat .icon { width: 32px; height: 32px; }
  .hero-feat b { font-size: 14px; }
  .hero-feat p { font-size: 12px; }
  .slider { --gap: 15px; }
  .product-slider { --per: 2; }
  .cat-slider { --per: 2; }
  .review-slider { --per: 1; }
  .news-slider { --per: 1.15; }
  .stack-40 { gap: 24px; }
  .slider-bar { margin-top: 20px; }
  .product-body { padding: 12px; gap: 6px; }
  .product-name { font-size: 14px; min-height: 42px; }
  .price ins { font-size: 16px; }
  .price del { font-size: 13px; }
  .badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 7px; }
  .cat-section { padding: 56px 0 48px; }
  .cat-name { font-size: 13px; padding: 10px 6px; }
  .about { padding: 56px 0; }
  .about-logo { width: 180px; }
  .about-desc { font-size: 15px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; margin-top: 36px; }
  .stat-num { font-size: 36px; }
  .stat p:last-child { font-size: 14px; }
  .review-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .review-head p { font-size: 14px; }
  .review-arrows { display: none; }
  .review-card { padding: 24px; }
  .news-head .more { position: static; transform: none; justify-content: center; margin-top: 8px; }
  .news-head { display: flex; flex-direction: column; align-items: center; }
  .video-list { gap: 10px; }
  .video-item p { font-size: 12px; }
  .play { width: 56px; height: 56px; box-shadow: 0 0 0 7px rgba(228, 44, 16, .25); }
  .play .icon { width: 22px; height: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 2 / 1.12; }
  .content h2 { font-size: 19px; }
  .content p, .content li { font-size: 15px; }
  .content { max-height: 520px; }
  .footer-top { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid .f-col-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .float-contact { right: 12px; bottom: 16px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .float-btn .icon { width: 22px; height: 22px; }
  .float-btn.top { width: 40px; height: 40px; }
}
@media (max-width: 374px) {
  .title { font-size: 22px; }
  .hero-feats { grid-template-columns: 1fr; }
  .tab { font-size: 13px; padding: 6px 10px; }
}

/* =========================================================
   Scan fixes (xem SCAN-CRITERIA.md)
   ========================================================= */
.nowrap { white-space: nowrap; }
.b-title { text-wrap: balance; }
.cat-bg::before { opacity: .03; }
.cart { gap: 12px; }
.about-content .btn { align-self: flex-start; }
.video-main .thumb .safe-art { width: 34%; }
.cat-card { height: 100%; }
.cat-name { flex: 1; display: flex; align-items: center; justify-content: center; }
.b-cta { font-size: max(10px, 2.1cqw); }

/* banner text legibility when a banner gets small */
@container (max-width: 640px) {
  .hero-slide .b-feats, .hero-slide .b-text { display: none; }
  .hero-slide .b-kicker { font-size: max(9px, 2cqw); }
  .hero-slide .b-copy { gap: 2.4cqw; }
  .hero-slide .b-title { font-size: 5.6cqw; }
}
@container (max-width: 300px) {
  .banner-sm .b-kicker, .banner-sm .b-text, .banner-sm .b-cta { display: none; }
  .banner-sm .b-title { font-size: 11cqw; }
}

@media (max-width: 1399px) {
  .footer-bottom .container { padding-right: 84px; }
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-slider { height: auto; aspect-ratio: 16 / 8.6; }
  .hero-side { flex-direction: row; }
  .hero-side .banner { flex: 1; min-width: 0; }
}
@media (max-width: 767px) {
  .header-search-btn, .menu-btn, .cart-icon { width: 40px; height: 40px; }
  .logo { min-height: 40px; }
  .socials a { width: 40px; height: 40px; flex: none; }
  .socials { gap: 8px; }
  .logo { min-width: 40px; }
  .news-head .more, .article-btn { padding: 4px 0; }
  .footer-bottom .container { padding-right: 72px; align-items: flex-start; text-align: left; }
  .hero-slider { aspect-ratio: 343 / 200; }
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px));
  padding: 14px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transition: .25s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { width: 22px; height: 22px; color: var(--red-60); }
/* price block keeps the same height with/without old price so prices line up */
.price { min-height: 47px; justify-content: flex-start; }
@media (max-width: 767px) { .price { min-height: 43px; } }
/* real photos (khi thay hình minh họa bằng ảnh thật) */
.safe-art > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb-img { padding: 0; background: var(--n-20); }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* brand guide: đen #000000 cho footer */
.footer { background: #000; }
.footer-slogan { color: #999999; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: -12px 0 20px; }
/* about slider: real photos */
.about-slide.photo { background: #000000; }
.about-slide.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-slide.photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); z-index: 1; }
.about-slide.photo figcaption { top: auto; bottom: 6cqw; color: #fff; max-width: 70cqw; }
.about-slide figcaption b { font-size: max(20px, 5.4cqw); }
.about-slide figcaption span { font-size: max(13px, 2.6cqw); }

/* =========================================================
   Brand Guideline v2 — 31/10/2026 (SCAN-CRITERIA.md mục B)
   ========================================================= */
em, i { font-style: normal; }                  /* không in nghiêng giả (chỉ có Gotham Regular/Bold) */
.b-title, .about-slide figcaption b, .thumb b { line-height: 1.15; }
.b-deco, .cat-bg::before, .b-floor { display: none; }   /* bỏ logo chìm sắc độ thấp (guideline tr.15–17) */

/* Logo: file SVG chính thức — logo ngang ≥ 200px, khoảng trống an toàn ≥ H/8 */
.logo { display: block; flex: none; padding: 6px 0; }
.logo img { display: block; width: 220px; height: auto; }
.drawer-head .logo img { width: 200px; }
.footer-logo { display: inline-block; padding: 6px 0; margin-bottom: 18px; }
.footer-logo img { display: block; width: 240px; height: auto; }
.about-logo { width: 200px; height: auto; }

.nav-link { padding: 22px 10px; }
@media (max-width: 1359px) { .cart-text { display: none; } }
.drawer-search { padding: 14px 0 6px; }
.drawer-search .search-form { max-width: none; }
.drawer-search .btn { padding: 0 14px; }
.drawer-search .btn span { display: none; }
@media (min-width: 400px) { .drawer-search { display: none; } }
@media (max-width: 399px) {
  .header-search-btn, .header-sep { display: none; }
  .header-main .container { gap: 8px; }
  .header-actions { gap: 4px; }
}
@media (max-width: 359px) { :root { --gutter: 12px; } }

/* buttons & links */
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost:hover { background: #000; box-shadow: inset 0 0 0 2px #000; }
.link-red { color: var(--red); font-weight: 700; }
.toast-link { color: var(--red-60); font-weight: 700; text-decoration: underline; }

/* product card */
.badge.brand { background: #000; }
.product-meta { font-size: 13px; color: var(--k-60); }
.price { min-height: 0; }

/* hero: banner có ảnh thật */
.b-photo { position: absolute; inset: 0; z-index: 0; }
.b-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-photo.right { left: 50%; }
.b-photo.right img { object-position: 58% 50%; }
.bg-cream .b-copy { flex: 0 0 45cqw; max-width: 45cqw; }
.photo-banner .b-photo img { object-position: 50% 68%; }
.photo-banner .b-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .2) 100%); }
.photo-banner .b-copy { flex-basis: 70%; }
.photo-banner .b-text { color: #CCCCCC; }

/* category cards */
.cat-count { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; }

/* row heading with "Xem tất cả" */
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.row-head .more { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); flex: none; padding: 8px 0; }
.row-head .more .icon { width: 18px; height: 18px; }

/* promise cards (vị trí khối đánh giá) */
.promise-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--red-10); color: var(--red); display: grid; place-items: center; }
.promise-icon .icon { width: 26px; height: 26px; }
.promise-num { font-family: var(--f-head); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--n); }
.promise-title { font-size: 18px; line-height: 1.25; }

/* showroom & gallery */
.showroom-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.showroom-img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.showroom-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; transition: transform .4s; }
.showroom-img:hover img { transform: scale(1.03); }
.store-list { display: flex; flex-direction: column; gap: 18px; }
.store-list li { display: flex; gap: 12px; align-items: flex-start; }
.store-list .icon { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.store-list b { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 4px; }
.store-list span, .store-list a { font-size: 14px; color: var(--k-80); line-height: 1.5; }
.store-list a { display: inline-block; padding: 4px 0; font-weight: 700; color: var(--red); font-size: 16px; }

/* footer */
.footer-contact b { color: #fff; font-weight: 700; }
.footer-slogan { letter-spacing: .04em; text-transform: none; font-size: 14px; color: #CCCCCC; }
.float-btn.zalo { background: #000; }

@media (max-width: 767px) {
  .logo img { width: 200px; }
  .footer-logo img { width: 220px; }
  .showroom-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .row-head .title { font-size: 22px; }
  .promise-num { font-size: 26px; }
}
.b-feat { font-size: max(12px, 1.45cqw); }
.about { background: #fff; }

/* ---- Sửa sau quét lần 1 (SCAN-CRITERIA.md mục 7) ---- */
b, strong { font-weight: 700; }                                   /* B7: tránh "bolder" = 900 */
h1, h2, h3, .title, .product-name, .article-title, .acc-head h3 { line-height: 1.22; }   /* B8 */
.product-name { min-height: 2.44em; }
.article-title { min-height: 2.44em; }
.article-title a, .product-name a { display: block; }             /* A7: vùng chạm đủ cao */
.cart-count { right: 0; top: -2px; min-width: 18px; font-size: 12px; }   /* A4 + A8 */
.badge { font-size: 12px; }
.b-kicker { font-size: max(12px, 2cqw); }                         /* A8: chữ banner ≥ 12px */
.b-text { font-size: max(12px, 2.1cqw); }
.b-cta { font-size: max(12px, 2.1cqw); }
.banner-sm .b-kicker { font-size: max(12px, 3.2cqw); }
.banner-sm .b-text { font-size: max(12px, 3.6cqw); }
.banner-sm .b-cta { font-size: max(12px, 3.8cqw); }
@container (max-width: 640px) { .hero-slide .b-kicker { font-size: 12px; } }
@media (max-width: 767px) {
  .badge { font-size: 12px; }
}
.article-title a { min-height: 2.44em; }

/* =========================================================
   Cập nhật 01/11/2026 — so khớp ketsat.vn (SCAN-CRITERIA.md mục F)
   ========================================================= */
/* Hover thẻ không bị cắt: chừa chỗ cho bóng đổ + nhấc thẻ + viền focus trong slider */
.slider-track { --pad-x: 20px; padding: 24px var(--pad-x) 44px; margin: -24px calc(-1 * var(--pad-x)) -44px; scroll-padding-inline: var(--pad-x); }
.about-slider .slider-track { padding: 0; margin: 0; scroll-padding-inline: 0; }
@media (max-width: 1279px) { .slider-track { --pad-x: 16px; } }
@media (max-width: 767px) { .slider-track { --pad-x: 12px; } }
.product-card, .cat-card, .article, .review-card { outline-offset: 3px; }

/* Danh mục sản phẩm: nền ảnh tối như ketsat.vn */
.cat-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.cat-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .82) 100%); }

/* Tin tức: "Xem tất cả" cùng hàng tiêu đề, bên phải (mobile: tiêu đề trái) */
@media (max-width: 767px) {
  .news-head { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
  .news-head .title { text-align: left; }
  .news-head .more { position: static; transform: none; margin: 0; flex: none; }
}

/* Lưu ý trong nội dung SEO */
.content blockquote strong { color: #fff; }

/* Hệ thống cửa hàng (trang chủ) */
.showroom-card.wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
.showroom-card.wide .showroom-img { aspect-ratio: 16 / 10; }
.store-info { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.store-lead { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 1023px) { .showroom-card.wide { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Menu desktop nhiều cấp */
.sub-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sub-menu a .icon { width: 14px; height: 14px; }
.sub-menu li.has-sub { position: relative; }
.sub-menu .sub-menu { left: 100%; top: -11px; border-radius: 0 var(--radius) var(--radius) var(--radius); }
.sub-menu li.has-sub:hover > .sub-menu, .sub-menu li.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-item:nth-child(n+5) .sub-menu .sub-menu { left: auto; right: 100%; border-radius: var(--radius) 0 var(--radius) var(--radius); }

/* Menu mobile giống ketsat.vn */
.drawer-head { justify-content: flex-end; border-bottom: 0; padding: 12px 12px 0; }
.drawer-head .drawer-close .icon { width: 28px; height: 28px; }
.drawer-body { padding: 0 20px 28px; }
.drawer-list > li { border-bottom: 1px solid var(--k-10); }
.drawer-row > a { font-size: 16px; font-weight: 400; padding: 13px 0; color: var(--ink); }
.drawer-list li.is-current > .drawer-row > a, .drawer-list li.is-open > .drawer-row > a { color: var(--red); }
.drawer-list .drawer-sub { display: none; margin: 0 0 12px; padding: 0 0 0 18px; border-left: 2px solid var(--red); }
.drawer-list li.is-open > .drawer-sub { display: block; }
.drawer-list li:not(.is-open) > .drawer-sub { display: none; }
.drawer-sub .drawer-row > a { font-size: 16px; padding: 10px 0; color: var(--k-80); }
.drawer-sub .drawer-sub .drawer-row > a { font-size: 15px; padding: 8px 0; }
.drawer-list li:not(.is-open) > .drawer-row .drawer-toggle .icon { transform: none; }
.drawer-list li.is-open > .drawer-row .drawer-toggle .icon { transform: rotate(180deg); }
.drawer-list li.is-open > .drawer-row .drawer-toggle { color: var(--red); }
.drawer-search { padding: 4px 0 8px; }
.drawer-contact { margin-top: 24px; gap: 12px; }
.drawer-contact a { gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.25; }
.drawer-contact small { display: block; font-size: 12px; font-weight: 400; color: var(--k-60); margin-bottom: 2px; }
.drawer-contact .dc-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red-10); color: var(--red); flex: none; }
.drawer-contact .dc-icon .icon { width: 20px; height: 20px; color: var(--red); }

/* Footer: kênh liên hệ & mạng xã hội */
.socials { flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; }
.socials .icon { width: 18px; height: 18px; }

/* 3 nút nổi: Messenger, Zalo, Hotline */
.float-btn.messenger, .float-btn.zalo { background: #000; color: #fff; }
.float-btn.messenger:hover, .float-btn.zalo:hover { background: var(--k-80); }
.float-btn.zalo .icon { width: 28px; height: 28px; }
@media (max-width: 767px) { .float-btn.zalo .icon { width: 26px; height: 26px; } }
.product-card:hover, .cat-card:hover { box-shadow: 0 8px 12px rgba(0, 0, 0, .14); }
.cat-bg img { object-position: 50% 100%; }
.float-btn.messenger, .float-btn.zalo { background: #fff; color: #000; box-shadow: 0 4px 14px rgba(0, 0, 0, .22), inset 0 0 0 1px var(--k-10); }
.float-btn.messenger:hover, .float-btn.zalo:hover { background: var(--red); color: #fff; }
/* sửa sau kiểm tra lượt 1 (mục F) */
@media (max-width: 767px) { .socials a { width: 40px; height: 40px; } }
.cat-name { line-height: 1.3; }
@media (max-width: 1023px) { .cat-name { font-size: 13px; padding: 10px 6px; } }
@media (max-width: 374px) { .cat-name { font-size: 12px; padding: 10px 4px; } }
.cat-name { line-height: 1.45; }
@media (max-width: 374px) { .stats { column-gap: 8px; } .stat { padding: 8px 0; } .stat p:last-child { font-size: 13px; } }

/* =========================================================
   Hệ chữ theo Brand Guideline 01/11/2026 (tr.26–27)
   Book 400: nội dung dài, thông số · Medium 500: tiêu đề phụ, tên sản phẩm, nhãn · Bold 700: tiêu đề chính, điểm nhấn
   ========================================================= */
body { font-weight: 400; }
h1, h2, .title, .b-title, .pd-title, .price ins, .pd-price ins, .mini-item ins, .stat-num, .promise-num, .newsletter-head h2,
.page-banner h1, .content h2, .philosophy-tagline, .summary-rows .total, .cart-sub, .pd-hotline a, b, strong { font-weight: 700; }
h3, .btn, .nav-link, .sub-menu a, .tab, .chip, .badge, .cart-count, .cart-text b, .b-kicker, .b-cta, .b-feat,
.cat-name, .cat-count, .product-name, .article-title, .hero-feat b, .footer-title, .marquee-item b,
.content h3, .content th, .news-head .more, .row-head .more, .article-meta a, .article-btn, .store-list b, .store-list a,
.drawer-contact a, .footer-contact b, .link-red, .toast-link, .modal-caption, .footer-slogan, .float-btn.zalo,
.review-user b, .promise-title { font-weight: 500; }
/* ảnh sản phẩm thật trong banner (két Bokee — bộ bàn giao 01/11/2026) */
.b-art.photo-card { align-items: center; padding: 3cqw 0; }
.b-art.photo-card img { width: 86%; height: auto; max-width: 360px; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--radius); }
/* dải chữ chạy: một mức chữ duy nhất (Medium), không xen đậm/nhạt */
.marquee-item, .marquee-item b { font-weight: 500; }
/* nền khối Danh mục: ảnh cửa hầm két (01/11/2026) */
.cat-bg img { object-position: 50% 50%; }
.cat-bg::after { background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .75) 100%); }
/* nền khối Danh mục: phòng hầm két (ảnh tối sẵn → lớp phủ nhẹ hơn) */
.cat-bg img { object-position: 50% 42%; }
.cat-bg::after { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 50%, rgba(0, 0, 0, .6) 100%); }

/* ---- Phản hồi 01/11 (đợt 4) ---- */
/* Footer: logo gọn, tâm logo thẳng hàng với tiêu đề các cột (như ketsat.vn) */
.footer-logo { display: block; padding: 0; margin: -13px 0 0; }
.footer-logo img { width: 200px; height: auto; }   /* B2: logo ngang ≥ 200px */
.footer-slogan { margin: 14px 0 26px; }
@media (max-width: 1023px) { .footer-logo img { width: 200px; } }
/* Logo Zalo (chữ) cần to hơn icon nét mới đọc được — đồng cỡ thị giác với icon khác */
.socials .i-zalo { width: 26px; height: 26px; }
.btn .i-zalo { width: 30px; height: 30px; margin: -6px -2px; }
.drawer-contact .dc-icon .i-zalo { width: 26px; height: 26px; }
.store-list li .icon { width: 20px; height: 20px; }   /* I1: icon ≈ 1,3–1,5 × cỡ chữ */
.banner-sm .b-copy { min-width: 0; }

/* ---- Hệ cân xứng 02/11 (K): mọi nút cùng chiều cao, cỡ chữ, cỡ icon ---- */
.btn { min-height: 48px; padding: 0 22px; font-size: 15px; gap: 8px; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: var(--red); }
/* mũi tên banner: kiểu cũ (2 bên, giữa chiều cao) nhưng nằm trên MÉP ảnh — nửa trong nửa ngoài, không chạm chữ (K8) */
.hero-slider { overflow: visible; }
.hero-slide { overflow: hidden; border-radius: var(--radius); }
.hero-arrow { top: 50%; bottom: auto; transform: translateY(-50%); width: 40px; height: 40px; background: #CCCCCC; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.hero-arrow.prev { left: -20px; }
.hero-arrow.next { right: -20px; }
@media (max-width: 1279px) { .hero-arrow.prev { left: -14px; } .hero-arrow.next { right: -14px; } }

/* ---- Chuẩn icon trong vòng tròn (02/11): icon ≈ 55% đường kính, không cắt nét ở mép ---- */
svg.icon { overflow: visible; }
.drawer-contact .dc-icon .icon { width: 22px; height: 22px; }
.promise-icon .icon { width: 28px; height: 28px; }
.title, .b-title, .about-desc { text-wrap: balance; }
/* chân trang mobile: tiêu đề cột 1 dòng; hàng kết nối = nhãn 1 dòng + 7 nút 1 hàng */
@media (max-width: 767px) {
  .footer-title { font-size: 16px; white-space: nowrap; }
  .socials { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .socials > span { flex-basis: 100%; text-align: center; }
  .socials a { width: 38px; height: 38px; }
}
@media (max-width: 374px) { .socials a { width: 34px; height: 34px; } .socials { gap: 6px; } }
/* kicker hero mobile không để "2010" rơi dòng */
.hero-slide .b-kicker { text-wrap: balance; }
@media (max-width: 767px) { .socials { gap: 5px; } .socials a { width: 34px; height: 34px; } .socials .icon { width: 18px; height: 18px; } .socials .i-zalo { width: 24px; height: 24px; } }
.b-art.photo-card img.cover { object-fit: cover; background: none; }
/* chân trang mobile: nút kết nối giữ chuẩn bấm 40px, xếp 4 + 3 cân giữa */
@media (max-width: 767px) {
  .socials { max-width: 196px; margin-inline: auto; justify-content: center; gap: 8px; }
  .socials a { width: 40px; height: 40px; }
  .socials .icon { width: 20px; height: 20px; }
  .socials .i-zalo { width: 26px; height: 26px; }
}
@media (max-width: 374px) {
  .socials a { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-title { white-space: normal; }
}
/* banner nhỏ "Tư vấn chọn két": icon tai nghe trong vòng tròn trắng (không trùng ảnh với slide) */
.b-icon-art { display: grid; place-items: center; }
.b-icon-art span { width: min(9cqw, 120px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.b-icon-art .icon { width: 52%; height: 52%; color: var(--red); }
.b-icon-art span { width: clamp(56px, 26cqw, 112px); }
.b-icon-art span { height: clamp(56px, 26cqw, 112px); flex: none; align-self: center; }
/* chân trang 768–1023: cột thông tin chiếm trọn hàng trên, liên hệ chia 2 cột → không còn "Email:" đứng lẻ */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid .f-col-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
}
.footer-slogan { text-wrap: balance; }
.footer-contact li span { overflow-wrap: anywhere; }
.product-name a { padding: 4px 0; }   /* A7: vùng chạm ≥ 24px khi tên SP 1 dòng (inline → không đổi chiều cao thẻ) */
.article-title, .news-feature-card h2, .store-card h3, .value-card h3, .promise-title { text-wrap: balance; }
.b-icon-art span { display: flex; align-items: center; justify-content: center; padding: 0; } .b-icon-art .icon { display: block; flex: none; margin: 0; }
@media (min-width: 768px) and (max-width: 1023px) { .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; padding-right: var(--gutter); } }
@media (min-width: 768px) and (max-width: 1023px) { .footer-title { font-size: 15px; white-space: nowrap; } .footer-grid { column-gap: 20px; } }

/* ---- Nút trượt đồng bộ (02/11): mọi mũi tên chuyển slide = mẫu nút trượt sản phẩm ----
   tròn 44px · nền trắng · mũi tên đen 20px · bóng 0 4px 16px rgba(0,0,0,.07) · rê chuột: nền đỏ, mũi tên trắng
   vị trí: giữa mép trái/phải (−22px) ở ≥1280 · sát trong 4px ở 1024–1279 · ẩn dưới 1024 (vuốt / chấm / ảnh nhỏ) */
.slider-nav, .hero-arrow, .pd-stage-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  background: #fff; color: #000; box-shadow: var(--shadow-card);
  display: grid; place-items: center; opacity: 1; z-index: 3; transition: background .2s, color .2s;
}
.slider-nav .icon, .hero-arrow .icon, .pd-stage-nav .icon { width: 20px; height: 20px; color: inherit; }
.slider-nav:hover, .hero-arrow:hover, .pd-stage-nav:hover { background: var(--red); color: #fff; }
.slider-dark .slider-nav { color: #000; }
.slider-dark .slider-nav:hover { color: #fff; }
.hero-slider .hero-arrow { top: 50%; bottom: auto; transform: translateY(-50%); opacity: 1; }
.hero-arrow.prev { left: -22px; }
.hero-arrow.next { right: -22px; }
@media (max-width: 1279px) { .hero-arrow.prev { left: 4px; } .hero-arrow.next { right: 4px; } }
@media (max-width: 1023px) { .hero-arrow, .pd-stage-nav { display: none; } }

/* ---- Khung xem phóng to (02/11) ---- */
.modal-box { width: min(900px, 100%); }
.modal-close { top: 12px; right: 12px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; box-shadow: var(--shadow-card); transition: background .2s, color .2s; }
.modal-close:hover { background: var(--red); color: #fff; }
.modal-close .icon { width: 20px; height: 20px; }
.modal-media { max-height: calc(100vh - 120px); }
/* ảnh/ hình minh họa sản phẩm: nền trắng, khung vuông, hình nằm gọn giữa (không phóng tràn, không cắt) */
.modal-media:has(.pd-zoom) { aspect-ratio: 1; width: min(100%, calc(100vh - 120px)); margin: 0 auto; background: #fff; }
.modal-media .pd-zoom { position: absolute; inset: 6%; display: grid; place-items: center; }
.modal-media .pd-zoom > svg, .modal-media .pd-zoom > img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.modal-media img { max-width: 100%; max-height: 100%; }
.modal-box:has(.pd-zoom) { width: min(100%, calc(100vh - 120px), 820px); }
.modal-box:has(.pd-zoom) .modal-media { width: 100%; }
/* nút trượt: ẩn dưới 1024 (quy tắc đồng bộ ở trên không được ghi đè việc ẩn) */
@media (max-width: 1023px) { .slider-nav, .hero-arrow, .pd-stage-nav { display: none; } }
/* banner trang chủ 1024–1279: nút nằm trên mép (−16px, trong lề trang) — không vào trong 4px vì sẽ đè chữ banner */
@media (min-width: 1024px) and (max-width: 1279px) { .hero-arrow.prev { left: -16px; } .hero-arrow.next { right: -16px; } }

/* ---- Nút trượt (03/11): ẩn, chỉ hiện khi rê chuột vào khung trượt (kiểu weee.com) ---- */
.slider-nav, .hero-arrow, .pd-stage-nav { opacity: 0; pointer-events: none; transition: opacity .25s, background .2s, color .2s; }
.js-slider:hover > .slider-nav:not([disabled]), .js-slider:focus-within > .slider-nav:not([disabled]),
.hero-slider:hover .hero-arrow, .hero-slider:focus-within .hero-arrow, .hero-slider .hero-arrow:focus-visible,
.pd-stage:hover .pd-stage-nav, .pd-stage:focus-within .pd-stage-nav { opacity: 1; pointer-events: auto; }
/* thiết bị cảm ứng (không rê chuột được): bỏ nút, dùng vuốt / chấm / ảnh nhỏ */
@media (hover: none) { .slider-nav, .hero-arrow, .pd-stage-nav { display: none; } }
/* ô tìm kiếm trong header: khung chứa không theo flex của thanh menu (trước đây ô nhập bị co còn ~34px) */
.header-main .search-panel .container { display: block; height: auto; }
.search-form input { height: 48px; }
.hero-slider .hero-arrow { opacity: 0; pointer-events: none; }   /* thắng quy tắc cũ ".hero-slider .hero-arrow { opacity: 1 }" */
/* chân trang 768–1023: 5 mục liên hệ → trái: Hotline · Website · Email (1 dòng) | phải: Showroom · Đại lý (2 dòng) — không mục nào đứng lẻ */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-contact { grid-template-areas: "hot show" "web show" "mail dl" ". dl"; row-gap: 12px; align-items: start; }
  .footer-contact li { margin: 0; }
  .footer-contact li:nth-child(1) { grid-area: hot; }
  .footer-contact li:nth-child(2) { grid-area: show; }
  .footer-contact li:nth-child(3) { grid-area: dl; }
  .footer-contact li:nth-child(4) { grid-area: web; }
  .footer-contact li:nth-child(5) { grid-area: mail; }
}
/* chân trang mobile: dòng bản quyền + hàng Kết nối cùng căn giữa; "All rights reserved." không bị tách chữ */
.footer-bottom .nowrap { white-space: nowrap; }
@media (max-width: 767px) { .footer-bottom .container { align-items: center; text-align: center; } .footer-bottom p { text-wrap: balance; } }
/* (thay cách xếp vùng ở trên) 768–1023: chia 2 cột tự cân chiều cao — địa chỉ 1 dòng hay 2 dòng đều không hở, không mục nào lẻ */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-contact { display: block; columns: 2; column-gap: 32px; }
  .footer-contact li { display: flex; break-inside: avoid; margin: 0 0 12px; }
}
/* (chốt 03/11) 768–1023: trái = Hotline · Website · Email (ngắn), phải = Showroom · Đại lý (dài) — vùng xếp theo số dòng thực của địa chỉ → không hở, không mục lẻ */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-contact { display: grid; columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; align-items: start; grid-template-areas: "hot show" "web show" "mail dl" ". dl"; }
  .footer-contact li { margin: 0; }
}
@media (min-width: 768px) and (max-width: 1023px) { .footer-contact .addr-2 { display: block; } }   /* địa chỉ luôn đúng 2 dòng (tên đường / phường, thành phố) → vùng xếp cố định */

/* ---- 3 banner đỏ → nền sáng trung tính, đỏ chỉ làm điểm nhấn (03/11, lần 2) ---- */
/* slide 3 trang chủ "Miễn phí giao lắp": nền đá (sắc độ #CBC9BC) thay mảng đỏ */
.bg-stone { background: linear-gradient(135deg, var(--n-80) 0%, var(--n) 100%); color: var(--ink); }   /* Trung tính #CBC9BC (brand guideline tr.21–23) — chung màu banner "Tư vấn chọn két" */
.bg-stone .b-text { color: var(--k-80); }
.bg-stone .b-art.photo-card img { box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }

/* banner nhỏ "Tư vấn chọn két": thẻ trắng viền mảnh, quầng đỏ nhạt sau icon, chữ đen + nhấn đỏ */
.support-banner { background: linear-gradient(135deg, var(--n-80) 0%, var(--n) 100%); color: var(--ink); }
.support-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, 0) 44%);
}
.support-banner .b-title { color: var(--ink); }
.support-banner .b-title em { color: var(--red); }
.support-banner .b-kicker {
  display: inline-flex; align-items: center; gap: 2cqw; align-self: flex-start;
  padding: 1.1cqw 3.2cqw 1.1cqw 2.6cqw; border-radius: 99px;
  background: #fff; color: var(--red); letter-spacing: .1em; line-height: 1.4;
}
.live-dot { flex: none; width: max(8px, 2.2cqw); height: max(8px, 2.2cqw); border-radius: 50%; background: var(--red); animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 44, 16, .45); } 70%, 100% { box-shadow: 0 0 0 max(6px, 1.8cqw) rgba(228, 44, 16, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.support-banner .b-cta { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(228, 44, 16, .22); transition: background .2s, transform .2s, box-shadow .2s; }
.support-banner:hover .b-cta { background: #000; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.support-banner .b-art { align-items: center; padding: 0; }
.support-banner .b-icon-art span {
  width: clamp(48px, 21cqw, 92px); height: clamp(48px, 21cqw, 92px); background: var(--red);
  box-shadow: 0 0 0 3.6cqw rgba(255, 255, 255, .38), 0 0 0 7.6cqw rgba(255, 255, 255, .18), 0 12px 28px rgba(228, 44, 16, .28);
}
.support-banner .b-icon-art .icon { color: #fff; }
/* banner hẹp (mobile 2 ô): chỉ tiêu đề + icon; "CHỌN KÉT" luôn 1 dòng, không rớt "KÉT" */
@container (max-width: 300px) {
  .support-banner .b-kicker { display: none; }
  .support-banner .b-inner { gap: 4cqw; }
  .support-banner .b-copy { flex: 1 1 auto; }
  .support-banner .b-art { flex: none; }
  .support-banner .b-icon-art span { width: clamp(40px, 22cqw, 64px); height: clamp(40px, 22cqw, 64px); }
  .support-banner .b-title { font-size: 9.8cqw; }
  .support-banner .b-title em { white-space: nowrap; }
}
/* P2: mũi tên / icon trong nút banner không nhỏ hơn chữ nút (chữ tối thiểu 12px) */
.b-cta svg { width: max(14px, 2.4cqw); height: max(14px, 2.4cqw); flex: none; }
.banner-sm .b-cta svg { width: max(14px, 4cqw); height: max(14px, 4cqw); }
/* P6: 4 cam kết dưới banner trên mobile — icon nằm trên chữ, cột rộng hơn → chữ không vỡ 3–4 dòng */
@media (max-width: 767px) {
  .hero-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .hero-feat { flex-direction: column; gap: 10px; }
  .hero-feat .icon { width: 30px; height: 30px; }
  .hero-feat b { margin-bottom: 4px; }
}
/* P1 (03/11): icon trong ô tròn dạng huy hiệu cùng một tỉ lệ ≈ 50–56% cạnh ô ở MỌI kích thước —
   mỗi ô là khung đo (container), icon tính theo cqw của chính ô → ô đổi cỡ theo màn hình thì icon đổi theo.
   Mũi tên trượt giữ 45% (mục N1); logo chữ Zalo giữ cỡ riêng (mục K) */
.socials a, .float-btn, .promise-icon, .dc-icon { container-type: inline-size; }
.socials a .icon:not(.i-zalo) { width: 52cqw; height: 52cqw; }
.float-btn .icon:not(.i-zalo) { width: 50cqw; height: 50cqw; }
.promise-icon .icon { width: 56cqw; height: 56cqw; }
.dc-icon .icon:not(.i-zalo) { width: 55cqw; height: 55cqw; }
/* Dòng nhỏ trên tiêu đề banner (eyebrow): vạch đỏ ngắn + chữ, chung cho 3 slide trang chủ.
   Slide 1: "Thương hiệu từ năm 2010" — banner hẹp (< 520px) rút gọn "Từ năm 2010" để luôn 1 dòng */
.hero-slide .b-kicker { display: flex; align-items: center; gap: max(8px, 1.2cqw); }
.hero-slide .b-kicker::before { content: ""; flex: none; width: max(18px, 3cqw); height: 2px; border-radius: 2px; background: var(--red); }
.b-kicker .k-short { display: none; }
@container (max-width: 520px) { .b-kicker .k-long { display: none; } .b-kicker .k-short { display: inline; } }
.hero-slide .b-kicker { white-space: nowrap; }
/* A7: link chữ đỏ trong đoạn văn (trang danh mục trống, chính sách) — vùng chạm ≥ 24px trên mobile */
@media (max-width: 767px) { .link-red { display: inline-block; padding: 3px 0; } }
@container (max-width: 340px) { .hero-slide .b-kicker { gap: 6px; } .hero-slide .b-kicker::before { width: 12px; } }   /* 320px: chừa khoảng thở cho "Từ năm 2010" */
/* Độ dày nét icon: mặc định 2 (Lucide); trong nút chữ đậm 2,4 cho cân với chữ Gotham Bold (nét mũi tên không còn mảnh) */
svg:has(> use[href^="#i-"]) { stroke-width: 2; }
.btn > svg, .b-cta > svg, a.more > svg { stroke-width: 2.4; }
/* Slide 1 "KÉT SẮT BÌNH BẢO · TỪ NĂM 2010": khung đủ rộng → 1 dòng; khung hẹp → 2 dòng tách đúng tại dấu "·"
   (không để trình duyệt tự ngắt giữa cụm), vạch đỏ thẳng tâm dòng đầu */
.hero-slide .b-kicker.k-split { white-space: nowrap; letter-spacing: .07em; }
.hero-slide .b-kicker.k-split::before { width: max(16px, 2.4cqw); }
@container (max-width: 560px) {
  .hero-slide .b-kicker.k-split { align-items: flex-start; letter-spacing: .03em; }
  .hero-slide .b-kicker.k-split::before { display: none; }
  .k-split .k-dot { display: none; }
  .k-split .k-year { display: block; margin-top: .25em; }
}

/* =====================================================================
   BANNER TRANG CHỦ — hệ thiết kế chung (03/11, lần 3)
   · ảnh thật phủ nửa phải, chuyển mềm vào màu nền (mask) — không khung nổi, không đường cắt cứng
   · chữ: dòng nhỏ mảnh + vạch đỏ → tiêu đề 2 dòng → 1 câu mô tả → 1 nút (bo 8px như nút toàn web)
   · 3 nền đúng bảng màu brand: kem #F5F4F2 · đen #000 · trung tính #CBC9BC
   ===================================================================== */
.hb .b-inner { padding: 0 6.5cqw; }
.hb .b-copy { flex: 0 0 47cqw; max-width: 47cqw; gap: 0; }
.hb .b-kicker { font-size: max(12px, 1.45cqw); font-weight: 500; letter-spacing: .16em; margin-bottom: 2.2cqw; }
.hb .b-title { font-size: 3.9cqw; line-height: 1.12; letter-spacing: -.005em; white-space: nowrap; text-wrap: nowrap; }
.hb .b-title em { margin-top: .08em; }
.hb .b-text { font-size: max(13px, 1.7cqw); line-height: 1.6; max-width: 40cqw; margin-top: 1.8cqw; }
.hb .b-cta {
  margin-top: 3.2cqw; border-radius: 8px; font-size: max(13px, 1.75cqw); font-weight: 700;
  padding: .9em 1.6em; gap: .55em; box-shadow: none; transition: background .2s, color .2s;
}
.hb .b-cta svg { width: 1.15em; height: 1.15em; }
.hb:hover .b-cta { background: #000; color: #fff; }
.hb-dark:hover .b-cta { background: #fff; color: #000; }
.hb .b-photo { position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: 60%; z-index: 0; }
.hb .b-photo img { width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); }

/* slide 1 — kem + ảnh két mockup */
.hb-cream { background: var(--n-20); }
.hb-cream .b-photo img { object-position: 62% 50%; }
.hb-cream .b-text { color: var(--k-80); }

/* slide 2 — đen + biểu tượng kim loại trên tường bê tông */
.hb-dark .b-photo img { object-position: 50% 50%; filter: brightness(.82) contrast(1.05); }
.hb-dark .b-title em { color: var(--red); }
.hb-dark .b-text { color: var(--k-20); }

/* slide 3 — trung tính #CBC9BC + két Bokee (nền trắng của ảnh hòa vào nền bằng multiply) */
.hb-stone { background: linear-gradient(120deg, var(--n-80) 0%, var(--n) 100%); }
.hb-stone::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 70% at 74% 54%, rgba(255, 255, 255, .55) 0, rgba(255, 255, 255, 0) 100%); }
.hb-stone .b-product { position: absolute; z-index: 0; right: 6cqw; top: 50%; transform: translateY(-50%); width: 38cqw; aspect-ratio: 1; }
.hb-stone .b-product img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.hb-stone .b-text { color: var(--k-80); }

/* màn hẹp: chỉ dòng nhỏ + tiêu đề + nút; ảnh chiếm nửa phải */
@container (max-width: 640px) {
  .hb .b-copy { flex-basis: 56cqw; max-width: 56cqw; }
  .hb .b-kicker { font-size: 12px; margin-bottom: 3cqw; }
  .hb .b-title { font-size: 5.6cqw; }
  .hb .b-cta { margin-top: 4.5cqw; font-size: 12px; padding: .8em 1.3em; }
  .hb .b-photo { width: 62%; }
  .hb-stone .b-product { width: 44cqw; right: 3cqw; }
}

/* "Tư vấn chọn két" — cùng nền trung tính, ảnh đội ngũ đồng phục Bình Bảo hòa vào nền (multiply), bỏ vòng icon */
.support-banner::before { background: none; }
.support-banner .b-team { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 56%; }
.support-banner .b-team img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; display: block;
  mix-blend-mode: multiply; filter: brightness(1.12) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.support-banner .b-kicker { background: none; padding: 0; color: var(--ink); font-weight: 500; letter-spacing: .14em; }
.support-banner .b-cta { border-radius: 8px; box-shadow: none; }
.support-banner:hover .b-cta { transform: none; box-shadow: none; }
.support-banner .b-copy { flex: 0 0 60%; }
/* multiply phải đặt ở lớp tạo stacking context (lớp chứa ảnh), nếu đặt ở <img> bên trong thì chỉ hòa với nền trong suốt của lớp đó */
.hb-stone .b-product, .support-banner .b-team { mix-blend-mode: multiply; }
.hb-stone .b-product img, .support-banner .b-team img { mix-blend-mode: normal; }
.support-banner .b-team { width: 47%; }
.support-banner .b-team img { object-position: 58% 12%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
/* điện thoại: tiêu đề xuống dòng trong cột chữ (không ép 1 dòng), bỏ dòng nhỏ cho thoáng; ảnh đội ngũ hẹp lại để không đè chữ */
@container (max-width: 640px) {
  .hb .b-title { white-space: normal; text-wrap: balance; font-size: 6cqw; line-height: 1.1; }
  .hb .b-kicker { display: none; }
  .hb .b-copy { flex-basis: 54cqw; max-width: 54cqw; }
  .hb .b-cta { margin-top: 4cqw; }
}
@container (max-width: 300px) {
  .support-banner .b-team { width: 42%; }
  .support-banner .b-team img { object-position: 55% 10%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
}
@container (max-width: 300px) { .support-banner .b-team { width: 36%; } .support-banner .b-team img { object-position: 60% 8%; } }
.live-dot { position: relative; top: .11em; }   /* P10: tâm chấm thẳng tâm chữ hoa (khung dòng Gotham cao hơn mặt chữ) */

/* Slide 1 — "khung studio" liền mạch: nền banner tái tạo đúng tường + sàn studio của ảnh két
   (màu lấy mẫu từ mép ảnh), két hiện TRỌN bên phải, mép ảnh mờ dần vào nền → không thấy đường nối */
.hb-cream { background: linear-gradient(180deg, #EEEEF0 0%, #EBEBED 24%, #E3E3E5 32%, #CBCCCF 40%, #C3C4C8 48%, #BEBFC3 57%, #BABBBF 65%, #B9BABE 73.8%, #DFDFE2 75.2%, #DCDCDF 81%, #E4E4E7 100%); }
.hb-cream .b-studio { position: absolute; z-index: 0; bottom: 0; height: 76%; aspect-ratio: 1400 / 933; left: 76%; transform: translateX(-50%); }
.hb-cream .b-studio img { width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 17%, #000 83%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect; }
.hb-cream .b-copy { flex-basis: 44cqw; max-width: 44cqw; }
.hb-cream .b-title { font-size: 3.6cqw; }
.hb-cream .b-text { max-width: 36cqw; color: #333; }
@container (max-width: 640px) {
  .hb-cream .b-studio { height: 70%; left: 78%; }
  .hb-cream .b-copy { flex-basis: 52cqw; max-width: 52cqw; }
  .hb-cream .b-title { font-size: 5.6cqw; }
}

/* "Tư vấn chọn két": ảnh lấy người đứng giữa làm tâm (phóng to), người bên trái nằm ngoài khung —
   không còn nửa người mờ; dòng nhỏ dùng vạch đỏ như 3 slide */
.support-banner .b-team { width: 50%; overflow: hidden; }
.support-banner .b-team img { position: absolute; top: -4%; height: 165%; width: auto; max-width: none; left: 50%; transform: translateX(-46%);
  object-fit: initial; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.support-banner .b-kicker { display: flex; align-items: center; gap: max(8px, 2cqw); }
.support-banner .b-kicker::before { content: ""; flex: none; width: max(16px, 5cqw); height: 2px; border-radius: 2px; background: var(--red); }
@container (max-width: 300px) { .support-banner .b-team { width: 40%; } .support-banner .b-team img { height: 150%; transform: translateX(-44%); } }
/* mép mờ đặt ở KHUNG ảnh (ảnh đã phóng to lố ra ngoài khung) → không còn đường cắt dọc qua người */
.support-banner .b-team { width: 48%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.support-banner .b-team img { -webkit-mask-image: none; mask-image: none; transform: translateX(-42%); }
@container (max-width: 300px) { .support-banner .b-team { width: 42%; } .support-banner .b-team img { transform: translateX(-40%); } }
/* "Tư vấn chọn két" — bố cục chia khối: chữ trên nền trung tính | khung ảnh đội ngũ giữ màu gốc, lấy người đứng giữa làm tâm.
   Không hòa nền (multiply), không mép mờ → không còn "bóng ma" người bên trái */
.support-banner .b-team { width: 44%; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; background: #E9E8E3; }
.support-banner .b-team img { mix-blend-mode: normal; filter: none; height: 150%; top: -3%; left: 0; transform: none; margin-left: -36%; }
@container (max-width: 300px) { .support-banner .b-team { width: 40%; } .support-banner .b-team img { height: 140%; margin-left: -34%; } }
@container (max-width: 300px) { .support-banner .b-kicker { display: none; } .support-banner .b-team { width: 36%; } .support-banner .b-team img { height: 130%; margin-left: -30%; } }
/* "Ghé showroom" theo cùng hệ: vạch đỏ ở dòng nhỏ, chữ nhấn đỏ thương hiệu */
.hero-side .photo-banner .b-kicker { display: flex; align-items: center; gap: max(8px, 2cqw); font-weight: 500; letter-spacing: .14em; }
.hero-side .photo-banner .b-kicker::before { content: ""; flex: none; width: max(16px, 5cqw); height: 2px; border-radius: 2px; background: var(--red); }
.hero-side .photo-banner .b-title em { color: var(--red); }
@container (max-width: 300px) { .hero-side .photo-banner .b-kicker { display: none; } }

/* ĐIỆN THOẠI (< 768px): KHÔNG giấu thông tin liên hệ.
   · 2 ô bên xếp 1 cột, rộng hết màn → hiện đủ dòng nhỏ + tiêu đề + nút gọi 0814 863 869 / địa chỉ showroom
   · slide đầu trang cao hơn → hiện lại dòng nhỏ + câu mô tả */
@media (max-width: 767px) {
  .hero-side { flex-direction: column; gap: 10px; }
  .hero-side .banner { flex: none; width: 100%; aspect-ratio: 343 / 190; }
  .hero-slider { aspect-ratio: 343 / 290; }
}
@container (max-width: 640px) {
  .hb .b-kicker { display: flex; font-size: 11px; letter-spacing: .1em; margin-bottom: 3.2cqw; }
  .hb .b-text { display: block; font-size: max(13px, 3.8cqw); line-height: 1.5; max-width: none; margin-top: 2.6cqw; }
  .hb .b-copy { flex-basis: 58cqw; max-width: 58cqw; }
  .hb .b-title { font-size: 6.4cqw; }
  .hb .b-cta { margin-top: 4.4cqw; }
  .hb-cream .b-title { font-size: 6.4cqw; }
  .hb-cream .b-copy { flex-basis: 58cqw; max-width: 58cqw; }
  .hb-cream .b-studio { height: 58%; left: 80%; }
  .hb-stone .b-product { width: 40cqw; right: 2cqw; }
  .hb .b-photo { width: 55%; }
}
@media (max-width: 767px) { .hero-slider { aspect-ratio: 343 / 300; } }
@container (max-width: 640px) {
  .hb-cream .b-studio { height: 46%; left: 83%; }
  .hb .b-copy, .hb-cream .b-copy { flex-basis: 56cqw; max-width: 56cqw; }
  .hb-stone .b-product { width: 36cqw; right: 1cqw; }
}

/* ===== Banner lần 4 (03/11): ảnh xử lý thật, không ghép bằng CSS =====
   Slide 1: một tấm ảnh studio đã nối dài (ket-studio.jpg) phủ kín banner, két nằm sẵn bên phải */
.hb-cream { background: #D9DADC; }
.hb-cream .b-studio { display: none; }
.hb-cream .b-scene { position: absolute; inset: 0; z-index: 0; }
.hb-cream .b-scene img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 100% 100%; }
.hb-cream .b-copy { flex-basis: 46cqw; max-width: 46cqw; }
.hb-cream .b-title { font-size: 3.7cqw; }
.hb-cream .b-text { color: #2B2B2B; }

/* Slide 2: dải chuyển đen → ảnh dài và mềm (ease nhiều nấc), không còn vệt */
.hb-dark .b-photo { width: 72%; }
.hb-dark .b-photo img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.04) 10%, rgba(0,0,0,.14) 20%, rgba(0,0,0,.32) 30%, rgba(0,0,0,.56) 40%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.94) 60%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.04) 10%, rgba(0,0,0,.14) 20%, rgba(0,0,0,.32) 30%, rgba(0,0,0,.56) 40%, rgba(0,0,0,.8) 50%, rgba(0,0,0,.94) 60%, #000 70%); }

/* Slide 3: két Bokee tách nền đứng trên sàn studio trung tính (tường + sàn + bóng đổ thật) */
.hb-stone { background: linear-gradient(180deg, #D8D6CB 0%, #CFCDC1 45%, #C6C4B7 70.5%, #D6D4C9 71%, #DAD8CE 100%); }
.hb-stone::before { background: radial-gradient(38% 60% at 72% 46%, rgba(255,255,255,.42) 0, rgba(255,255,255,0) 100%); }
.hb-stone .b-product { mix-blend-mode: normal; top: auto; transform: none; bottom: 17%; right: 9cqw; width: 34cqw; aspect-ratio: 524 / 427; }
.hb-stone .b-product::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -5%; height: 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.38), rgba(0,0,0,0)); filter: blur(4px); }
.hb-stone .b-product img { mix-blend-mode: normal; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.18)); }

/* "Tư vấn chọn két": đội ngũ đã tách nền đứng trên nền trung tính, cắt ngang hông bởi mép dưới banner */
.support-banner .b-team { display: none; }
.support-banner .b-crew { position: absolute; z-index: 0; right: -6%; bottom: -14%; height: 118%; aspect-ratio: 689 / 711; }
.support-banner .b-crew img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); }
.support-banner { background: linear-gradient(135deg, #D5D3C8 0%, var(--n) 100%); }

@container (max-width: 640px) {
  .hb-cream .b-copy { flex-basis: 56cqw; max-width: 56cqw; }
  .hb-cream .b-title { font-size: 6.4cqw; }
  .hb-stone .b-product { width: 38cqw; right: 3cqw; bottom: 16%; }
}
.support-banner .b-crew { height: 104%; bottom: -8%; right: -15%; }
.support-banner .b-crew { right: -24%; }
/* 2 ô bên KHÔNG bao giờ giấu thông tin liên hệ (điện thoại 320px: ô rộng 292px) */
@container (max-width: 300px) {
  .hero-side .banner-sm .b-kicker { display: flex; font-size: 11px; }
  .hero-side .banner-sm .b-cta { display: inline-flex; font-size: 12px; }
  .hero-side .banner-sm .b-text { display: block; font-size: 12px; }
  .hero-side .banner-sm .b-title { font-size: 9cqw; }
}
/* Slide 1 trên điện thoại (khung gần vuông): ảnh studio rộng hết khung, sát đáy → két về góc phải-dưới,
   phần trên = đúng màu đỉnh ảnh (#D4D5D7) nên vẫn liền một khối, chữ không đè két */
.hb-cream { background: #D4D5D7; }
@container (max-width: 640px) {
  .hb-cream .b-scene { top: auto; bottom: 0; }
  .hb-cream .b-scene img { height: auto; aspect-ratio: 2752 / 1540; }
  .hb-cream .b-inner { align-items: flex-start; padding-top: 7cqw; }
}
@container (max-width: 640px) { .hb .b-text { max-width: 50cqw; } .hb .b-title { font-size: 6.1cqw; } }
@media (max-width: 767px) { .hero-dots { left: auto; right: 14px; justify-content: flex-end; bottom: 12px; } }
@container (max-width: 640px) { .hb-cream .b-text { max-width: 47cqw; font-size: 12px; } }
@media (max-width: 767px) { .hero-slider { aspect-ratio: 343 / 352; } }
@media (min-width: 481px) and (max-width: 767px) { .hero-slider { aspect-ratio: 16 / 10; } }
@container (min-width: 481px) and (max-width: 640px) {
  .hb-cream .b-scene { top: 0; }
  .hb-cream .b-scene img { height: 100%; aspect-ratio: auto; }
  .hb-cream .b-inner { align-items: center; padding-top: 0; }
}
@container (max-width: 300px) { .hb-cream .b-text { display: none; } }
@container (min-width: 481px) and (max-width: 640px) {
  .hb .b-text { display: none; }
  .hb .b-copy, .hb-cream .b-copy { flex-basis: 48cqw; max-width: 48cqw; }
  .hb .b-title, .hb-cream .b-title { font-size: 4.8cqw; }
  .hb .b-kicker { margin-bottom: 2.4cqw; }
  .hb .b-cta { margin-top: 3.4cqw; }
  .hb-stone .b-product { width: 34cqw; right: 6cqw; }
}
@container (min-width: 481px) and (max-width: 640px) { .hb-cream .b-copy { flex-basis: 41cqw; max-width: 41cqw; } .hb-cream .b-title { font-size: 4.4cqw; } .hb-cream .b-inner { padding-left: 5cqw; } }
/* ngưỡng khung slider khớp ngưỡng container (banner = màn − 32px lề): ≤ 512 dạng cao, 513–767 dạng 16:10 */
@media (max-width: 767px) { .hero-slider { aspect-ratio: 16 / 10; } }
@media (max-width: 512px) { .hero-slider { aspect-ratio: 343 / 352; } }
/* margin âm (căn quang học) làm khung nút chỉ-có-icon hẹp lại → max-width:100% ép icon co theo: chặn co */
.btn > svg, .b-cta > svg, a.more > svg { max-width: none; }
/* K7/A8: chữ tối thiểu 12px — dòng nhỏ banner trên điện thoại */
@container (max-width: 640px) { .hb .b-kicker { font-size: 12px; letter-spacing: .08em; } }
@container (max-width: 300px) { .hero-side .banner-sm .b-kicker { font-size: 12px; letter-spacing: .08em; } }
/* P10: chữ trong nút banner (cỡ lớn) nằm thấp hơn tâm khung ≈ 0,05em do khung dòng Gotham → nâng phần chữ */
.b-cta > span { position: relative; top: -.05em; }

/* ===== Banner lần 5 (03/11) — chuẩn "sản phẩm trên phông liền" (tham chiếu Apple / SentrySafe) =====
   · sản phẩm là nhân vật chính: to, sắc nét, bóng tiếp đất thật (bake sẵn trong ảnh, nền ảnh = đúng màu banner)
   · nền phẳng sạch theo bảng màu brand: slide 1 kem #F5F4F2 · slide 3 trung tính #CBC9BC
   · chữ: tiêu đề lớn 2 dòng, 1 câu mô tả, 1 nút — nhiều khoảng thở */
.hb-cream, .hb-stone { background: #F5F4F2; }
.hb-stone { background: #CBC9BC; }
.hb-stone::before, .hb-cream .b-scene, .hb-stone .b-product { display: none; }
.hb .b-stage { position: absolute; z-index: 0; right: 4cqw; top: 50%; transform: translateY(-48%); width: 50cqw; }
.hb-stone .b-stage { width: 44cqw; right: 7cqw; }
.hb .b-stage img { width: 100%; height: auto; display: block; }
.hb-cream .b-copy, .hb-stone .b-copy { flex-basis: 44cqw; max-width: 44cqw; }
.hb-cream .b-title, .hb-stone .b-title { font-size: 4cqw; }
.hb-cream .b-text, .hb-stone .b-text { color: #333; max-width: 38cqw; }
.hb-cream .b-inner, .hb-stone .b-inner { align-items: center; padding-top: 0; }

/* điện thoại: sản phẩm phía dưới-phải, chữ phía trên-trái (kiểu SentrySafe xếp tầng) */
@container (max-width: 480px) {
  .hb .b-stage { top: auto; bottom: 2cqw; transform: none; right: -2cqw; width: 62cqw; }
  .hb-stone .b-stage { width: 54cqw; right: 2cqw; }
  .hb-cream .b-inner, .hb-stone .b-inner { align-items: flex-start; padding-top: 7cqw; }
  .hb-cream .b-copy, .hb-stone .b-copy { flex-basis: 60cqw; max-width: 60cqw; }
  .hb-cream .b-title, .hb-stone .b-title { font-size: 6.6cqw; }
  .hb-cream .b-text, .hb-stone .b-text { max-width: 44cqw; }
}
@container (min-width: 481px) and (max-width: 640px) {
  .hb .b-stage { width: 48cqw; right: 2cqw; }
  .hb-cream .b-copy, .hb-stone .b-copy { flex-basis: 46cqw; max-width: 46cqw; }
  .hb-cream .b-title, .hb-stone .b-title { font-size: 4.6cqw; }
}

/* "Tư vấn chọn két": cả nhóm hiện trọn, đứng sát lề phải, không mép nào cắt ngang người */
.support-banner .b-crew { right: 0; bottom: -12%; height: 104%; }
.support-banner .b-title { font-size: 7.6cqw; }
.support-banner .b-copy { flex: 0 0 46%; }
/* chỉnh lần 5b: nền slide 1 = trung tính 40% (#EAE9E4) tách khỏi nền trang; két nhỏ lại, chừa ≥ 40px với chữ */
.hb-cream { background: #EAE9E4; }
.hb .b-stage { width: 39cqw; right: 6cqw; }
.hb-stone .b-stage { width: 35cqw; right: 8cqw; }
.hb-cream .b-title, .hb-stone .b-title { font-size: 3.6cqw; }
.support-banner .b-copy { flex: 0 0 58%; }
.support-banner .b-title { font-size: 8.4cqw; }
@container (max-width: 480px) {
  .hb .b-stage { width: 58cqw; right: 0; }
  .hb-stone .b-stage { width: 50cqw; right: 3cqw; }
  .hb-cream .b-title, .hb-stone .b-title { font-size: 6.6cqw; }
}
@container (min-width: 481px) and (max-width: 640px) { .hb .b-stage { width: 42cqw; right: 3cqw; } .hb-cream .b-title, .hb-stone .b-title { font-size: 4.4cqw; } }
.support-banner .b-crew { height: 92%; bottom: -4%; right: -4%; }
.support-banner .b-title { font-size: 7.2cqw; }
.support-banner .b-copy { flex: 0 0 52%; }
/* điện thoại dọc: slide = dòng nhỏ + tiêu đề + nút ở trên, sản phẩm phía dưới-phải (bỏ câu mô tả cho thoáng) */
@container (max-width: 480px) {
  .hb-cream .b-text, .hb-stone .b-text { display: none; }
  .hb .b-stage { width: 52cqw; right: 2cqw; bottom: 3cqw; }
  .hb-stone .b-stage { width: 46cqw; right: 4cqw; }
}
.hero-side .b-title, .hero-side .b-title em { white-space: nowrap; }
@container (max-width: 400px) { .hb .b-stage { width: 46cqw; right: -2cqw; bottom: 2cqw; } .hb-stone .b-stage { width: 42cqw; right: 1cqw; } .hb-cream .b-title, .hb-stone .b-title { font-size: 6.3cqw; } }
@container (max-width: 300px) { .support-banner .b-crew { right: -10%; } }
@container (min-width: 600px) { .support-banner .b-crew { height: 100%; bottom: -6%; right: 4%; } .support-banner .b-title { font-size: 6.4cqw; } }
@container (min-width: 600px) { .support-banner .b-crew { height: 90%; bottom: -4%; right: 3%; } .support-banner .b-title { font-size: 5.4cqw; } .support-banner .b-copy { flex: 0 0 46%; } }
@container (max-width: 340px) { .hero-side .photo-banner .b-title { font-size: 8cqw; } }
@media (max-width: 767px) { .hero-dots { right: auto; left: 7%; justify-content: flex-start; } }

/* =====================================================================
   BANNER LẦN 6 (03/11) — bố cục chia đôi kiểu SentrySafe/Apple: khối chữ trên nền phẳng | ảnh thật cắt thẳng mép
   ===================================================================== */
.hs { background: #EAE9E4; }
.hs-stone { background: var(--n); }
.hs .b-pic { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 54%; overflow: hidden; }
.hs .b-pic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hs-light .b-pic img { object-position: 30% 50%; }
.hs-stone .b-pic img { object-position: 42% 50%; }
.hs .b-inner { padding: 0 5.5cqw; align-items: center; }
.hs .b-copy { flex: 0 0 35cqw; max-width: 35cqw; }
.hs .b-title { font-size: 3.4cqw; white-space: normal; text-wrap: balance; }
.hs .b-title em { white-space: nowrap; }
.hs .b-text { color: #333; max-width: 34cqw; }
.hs:hover .b-cta { background: #000; color: #fff; }

/* slide 2: logo kim loại dời sang phải, tách xa khối chữ */
.hb-dark .b-photo { width: 60%; }
.hb-dark .b-photo img { object-position: 12% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 26%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.3) 14%, rgba(0,0,0,.75) 26%, #000 36%); }

/* màn hẹp ngang (481–640): vẫn chia đôi, bỏ câu mô tả */
@container (min-width: 481px) and (max-width: 640px) {
  .hs .b-copy { flex-basis: 42cqw; max-width: 42cqw; }
  .hs .b-title { font-size: 4.6cqw; }
  .hs .b-pic { width: 50%; }
  .hb-dark .b-photo { width: 62%; }
}
/* điện thoại dọc: ảnh phía trên, chữ phía dưới (xếp tầng) */
@container (max-width: 480px) {
  .hs .b-pic { left: 0; width: auto; bottom: auto; height: 46%; }
  .hs .b-inner { align-items: flex-end; padding: 0 6cqw 7cqw; }
  .hs .b-copy { flex: 1 1 auto; max-width: none; }
  .hs .b-title { font-size: 7cqw; }
  .hs .b-kicker { margin-bottom: 2.4cqw; }
  .hs .b-text { display: none; }
  .hs .b-cta { margin-top: 4cqw; }
  .hs .b-kicker.k-split .k-year { display: inline; margin: 0; }
  .hs .b-kicker.k-split .k-dot { display: inline; }
}
@media (max-width: 767px) { .hero-dots { left: auto; right: 14px; top: 12px; bottom: auto; justify-content: flex-end; } }

/* ===== Ô "Tư vấn chọn két" (làm lại) — thẻ liên hệ: chữ trái trên nền trung tính | chân dung tư vấn viên phải ===== */
.sv { display: flex; background: var(--n); color: var(--ink); aspect-ratio: 320 / 178; }
.sv-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 7cqw; gap: 0; }
.sv-kicker { display: flex; align-items: center; gap: 2.4cqw; font-size: max(12px, 3cqw); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.sv-kicker::before { content: ""; flex: none; width: 5cqw; height: 2px; border-radius: 2px; background: var(--red); }
.sv-title { font-family: var(--f-head); font-weight: 700; font-size: 6.4cqw; line-height: 1.18; margin-top: 2.6cqw; text-wrap: balance; max-width: 50cqw; }
.sv-phone { display: inline-flex; align-items: center; gap: 2cqw; align-self: flex-start; margin-top: 4cqw;
  background: var(--red); color: #fff; border-radius: 8px; padding: 2.4cqw 4.4cqw; font-weight: 700; font-size: max(13px, 4.4cqw); white-space: nowrap; transition: background .2s; }
.sv-phone .icon { width: 1.05em; height: 1.05em; }
.sv:hover .sv-phone { background: #000; }
.sv-note { margin-top: 1.8cqw; font-size: max(12px, 2.9cqw); color: #3a3a3a; }
.sv-pic { flex: 0 0 38%; position: relative; overflow: hidden; }
.sv-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; }
@container (min-width: 600px) { .sv-title { font-size: 5.2cqw; } .sv-pic { flex-basis: 34%; } .sv-phone { font-size: 3.4cqw; } .sv-kicker { font-size: 2.4cqw; } .sv-note { font-size: 2.4cqw; } }
.hs .b-title { white-space: nowrap; font-size: 3.1cqw; }
.hs-light .b-pic img { object-position: 52% 50%; }
@media (min-width: 768px) { .hero-dots { left: 52px; right: auto; justify-content: flex-start; bottom: 18px; } }
@container (max-width: 480px) { .hs .b-title { white-space: normal; font-size: 7cqw; } }
@container (min-width: 481px) and (max-width: 640px) { .hs .b-title { white-space: normal; font-size: 4.4cqw; } }
@container (min-width: 481px) and (max-width: 640px) {
  .hs .b-kicker.k-split { align-items: flex-start; }
  .hs .b-kicker.k-split::before { margin-top: .55em; }
  .hs .k-split .k-dot { display: none; }
  .hs .k-split .k-year { display: block; margin-top: .25em; }
  .hs .b-kicker { white-space: normal; }
}
@container (max-width: 300px) { .sv-pic { flex-basis: 32%; } .sv-phone { font-size: 13px; padding: 8px 11px; } .sv-copy { padding-left: 6cqw; } }
@container (min-width: 481px) and (max-width: 640px) { .hs .b-title { font-size: 3.6cqw; } }
@container (min-width: 481px) and (max-width: 700px) { .hs .b-pic { width: 46%; } .hs .b-title { font-size: 3.5cqw; } }
@container (min-width: 641px) and (max-width: 700px) { .hs .b-copy { flex-basis: 42cqw; max-width: 42cqw; } .hs .b-text { display: none; } }

/* ===== BANNER LẦN 7 (03/11) — cùng hệ với slide 2 (đã duyệt): ảnh thật tràn viền + lớp tối chuyển mềm, chữ trắng ===== */
.hb-dark .b-photo img { object-position: 30% 50%; }          /* logo kim loại: giữa vị trí cũ và vị trí quá xa */
.hf { background: #000; color: #fff; }
.hf .b-pic { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hf .b-pic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hf .b-pic::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.84) 26%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.12) 66%, rgba(0,0,0,0) 80%); }
.hf-1 .b-pic img { object-position: 50% 45%; }
.hf-3 .b-pic img { object-position: 55% 62%; }
.hf .b-copy { flex: 0 0 44cqw; max-width: 44cqw; }
.hf .b-title { font-size: 3.6cqw; white-space: nowrap; }
.hf .b-title em { color: var(--red); }
.hf .b-text { color: #D6D6D6; max-width: 38cqw; }
.hf:hover .b-cta { background: #fff; color: #000; }
@container (min-width: 481px) and (max-width: 700px) { .hf .b-text { display: none; } .hf .b-title { font-size: 4.2cqw; } .hf .b-copy { flex-basis: 52cqw; max-width: 52cqw; } }
@container (max-width: 480px) {
  .hf .b-pic::after { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 64%, rgba(0,0,0,0) 80%); }
  .hf .b-inner { align-items: flex-end; padding: 0 6cqw 7cqw; }
  .hf .b-copy { flex: 1 1 auto; max-width: none; }
  .hf .b-title { font-size: 7cqw; white-space: normal; }
  .hf .b-title em { white-space: nowrap; }
  .hf .b-text { display: none; }
  .hf-1 .b-pic img { object-position: 45% 20%; }
  .hf-3 .b-pic img { object-position: 55% 20%; }
}

/* ===== Ô "Tư vấn chọn két" (lần 3): tư vấn viên tách nền đứng trên nền trung tính, cắt mép phải + đáy thẻ ===== */
.sv { position: relative; background: linear-gradient(135deg, #D8D6CC 0%, #C6C4B7 100%); overflow: hidden; }
.sv::before { content: ""; position: absolute; z-index: 0; right: -6%; top: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.sv-copy { position: relative; z-index: 2; }
.sv-pic { position: absolute; z-index: 1; right: 0; bottom: 0; top: 6%; width: auto; aspect-ratio: 554 / 741; flex: none; overflow: visible; }
.sv-pic img { position: static; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; filter: drop-shadow(-6px 8px 18px rgba(0,0,0,.18)); }
.sv-copy { padding-right: 46%; }
.sv-phone { box-shadow: 0 6px 16px rgba(228,44,16,.28); }
/* ô tư vấn: cả đội ngũ (ảnh gốc bộ branding, tách nền), cắt ngang đùi bởi đáy thẻ */
.sv-pic { top: auto; bottom: -16%; right: -3%; height: 112%; }
.sv-copy { padding-right: 0; flex: 0 0 47%; max-width: 47%; }
.sv-title { font-size: 5.2cqw; max-width: none; }
.sv-phone { font-size: max(13px, 3.7cqw); padding: 2.2cqw 3.6cqw; }
.sv-kicker { font-size: max(12px, 2.7cqw); }
.sv::before { right: 2%; top: -14%; width: 64%; }
@container (min-width: 600px) { .sv-pic { height: 108%; bottom: -14%; right: 4%; } .sv-copy { flex-basis: 44%; max-width: 44%; } .sv-title { font-size: 4.6cqw; } .sv-phone { font-size: 3cqw; } }
@container (max-width: 300px) { .sv-note { display: none; } .sv-title { margin-top: 2cqw; } .sv-phone { margin-top: 3cqw; } }
.sv-pic { aspect-ratio: 816 / 844; height: 120%; bottom: -20%; right: -13%; }
@container (min-width: 600px) { .sv-pic { height: 116%; bottom: -18%; right: 0; } }
@container (max-width: 300px) { .sv-pic { height: 112%; right: -16%; bottom: -14%; } }
@container (min-width: 301px) and (max-width: 400px) { .sv-pic { right: -17%; } }
@container (min-width: 600px) { .sv-pic { right: -9%; height: 112%; bottom: -16%; } }
/* thẻ ≥ 380px: hiện đủ cả 3 nhân viên (không cắt người bên phải) */
@container (min-width: 380px) and (max-width: 599px) { .sv-pic { height: 100%; bottom: -8%; right: -2%; } }
@container (min-width: 340px) and (max-width: 379px) { .sv-pic { right: -8%; } }
@container (min-width: 600px) { .sv-pic { right: -3%; } }
@container (min-width: 340px) and (max-width: 379px) { .sv-pic { right: -12%; } }
@container (min-width: 600px) { .sv-pic { right: -6%; } }
/* slide 3 "Miễn phí giao lắp": ảnh giao két — người + két ở trái/giữa ảnh, khoảng trống sân bên phải → chữ đặt bên PHẢI */
.hf-3 .b-pic img { object-position: 50% 50%; transform: scale(1.2); transform-origin: 100% 55%; }
.hf-3 .b-pic::after { background: linear-gradient(270deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 28%, rgba(0,0,0,.5) 46%, rgba(0,0,0,.1) 62%, rgba(0,0,0,0) 74%); }
.hf-3 .b-inner { justify-content: flex-end; }
.hf-3 .b-copy { flex-basis: 40cqw; max-width: 40cqw; }
@container (max-width: 480px) {
  .hf-3 .b-pic img { transform: none; object-position: 40% 30%; }
  .hf-3 .b-pic::after { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 64%, rgba(0,0,0,0) 80%); }
  .hf-3 .b-inner { justify-content: flex-start; }
  .hf-3 .b-copy { flex: 1 1 auto; max-width: none; }
}
/* slide 3: chữ trái như slide 1–2; ảnh phóng 1,15 lần neo mép trái → két + người chuyển dời sang phải khối chữ */
.hf-3 .b-pic img { transform: scale(1.15); transform-origin: 0% 60%; }
.hf-3 .b-pic::after { background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.84) 28%, rgba(0,0,0,.55) 46%, rgba(0,0,0,.12) 64%, rgba(0,0,0,0) 76%); }
.hf-3 .b-inner { justify-content: flex-start; }
.hf-3 .b-copy { flex-basis: 44cqw; max-width: 44cqw; }
@container (max-width: 480px) { .hf-3 .b-pic img { transform: none; object-position: 38% 30%; } .hf-3 .b-pic::after { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 64%, rgba(0,0,0,0) 80%); } }
.sv-kicker { white-space: nowrap; }
@container (max-width: 400px) { .sv-kicker { letter-spacing: .06em; gap: 2cqw; } .sv-kicker::before { width: 4cqw; } }
@container (max-width: 300px) { .sv-pic { right: -19%; } }
/* slide 2: chuyển đen → ảnh thật mịn — bỏ mask (dốc, lộ vệt), thay bằng lớp đen phủ trên ảnh,
   bắt đầu đúng #000 của nền (không mép nối) và nhạt dần theo đường cong mượt (11 nấc) */
.hb-dark .b-photo img { -webkit-mask-image: none; mask-image: none; }
.hb-dark .b-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.96) 5%, rgba(0,0,0,.88) 10%, rgba(0,0,0,.76) 15%, rgba(0,0,0,.62) 20%,
    rgba(0,0,0,.47) 25%, rgba(0,0,0,.33) 30%, rgba(0,0,0,.2) 35%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.04) 45%, rgba(0,0,0,0) 52%); }
/* slide 3 — ảnh giao két mới (dọc 540×600): đặt khung ảnh bên phải 64%, nền trái đen,
   lớp đen phủ nhạt dần mịn từ mép trái khung (cùng kiểu slide 2) */
.hf-3 .b-pic { left: auto; right: 0; width: 64%; }
.hf-3 .b-pic img { transform: none; object-position: 50% 30%; }
.hf-3 .b-pic::after { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.95) 4%, rgba(0,0,0,.86) 8%, rgba(0,0,0,.72) 12%, rgba(0,0,0,.56) 16%,
  rgba(0,0,0,.4) 20%, rgba(0,0,0,.26) 24%, rgba(0,0,0,.15) 28%, rgba(0,0,0,.07) 32%, rgba(0,0,0,.02) 36%, rgba(0,0,0,0) 40%); }
@container (min-width: 481px) and (max-width: 700px) { .hf-3 .b-pic { width: 58%; } }
@container (max-width: 480px) {
  .hf-3 .b-pic { left: 0; width: auto; }
  .hf-3 .b-pic img { object-position: 50% 20%; }
  .hf-3 .b-pic::after { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 64%, rgba(0,0,0,0) 80%); }
}
.hf-3 .b-pic { width: 60%; }
.hf-3 .b-pic img { object-position: 50% 25%; }   /* ảnh gốc có góc bo trong suốt dưới-phải → cắt đáy cao hơn góc đó */
.hf-3 .b-pic::after { background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.94) 4%, rgba(0,0,0,.82) 8%, rgba(0,0,0,.64) 12%, rgba(0,0,0,.45) 16%,
  rgba(0,0,0,.29) 20%, rgba(0,0,0,.16) 24%, rgba(0,0,0,.07) 28%, rgba(0,0,0,.02) 32%, rgba(0,0,0,0) 36%); }
.hf-3 .b-title { font-size: 3.4cqw; }
@container (max-width: 480px) { .hf-3 .b-pic { width: auto; } .hf-3 .b-title { font-size: 7cqw; } .hf-3 .b-pic::after { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.25) 64%, rgba(0,0,0,0) 80%); } }
@container (min-width: 481px) and (max-width: 700px) { .hf-3 .b-pic { width: 56%; } .hf-3 .b-title { font-size: 3.8cqw; } }
/* phóng ảnh 1,14 lần neo mép trái-trên: người dời sang phải (xa chữ) + đáy ảnh (góc bo trong suốt) ra khỏi khung */
.hf-3 .b-pic img { transform: scale(1.14); transform-origin: 0% 12%; }
.hf-3 .b-text { max-width: 31cqw; }
@container (max-width: 480px) { .hf-3 .b-pic img { transform: scale(1.1); transform-origin: 50% 0%; } }
/* ô tư vấn — ảnh đồng phục nền trong suốt chính thức (Binh-Bao-Dong-phuc-nen-trong-suot.png) */
.sv-pic { aspect-ratio: 860 / 887; height: 100%; bottom: -7%; right: -4%; top: auto; }
.sv-pic img { filter: drop-shadow(-4px 10px 16px rgba(0,0,0,.16)); }
@container (max-width: 300px) { .sv-pic { height: 96%; bottom: -6%; right: -14%; } }
@container (min-width: 301px) and (max-width: 379px) { .sv-pic { height: 100%; bottom: -7%; right: -10%; } }
@container (min-width: 380px) and (max-width: 599px) { .sv-pic { height: 100%; bottom: -7%; right: -4%; } }
@container (min-width: 600px) { .sv-pic { height: 104%; bottom: -8%; right: 2%; } }
@container (max-width: 300px) { .sv-pic { right: -10%; } }
@container (min-width: 301px) and (max-width: 339px) { .sv-pic { right: -7%; } }
@container (min-width: 340px) and (max-width: 379px) { .sv-pic { right: -2%; } }
@container (min-width: 600px) { .sv-pic { height: 100%; bottom: -7%; right: -3%; } }
/* chấm chuyển slide: trả về vị trí gốc — giữa đáy banner (mọi kích thước) */
.hero-dots { left: 0; right: 0; top: auto; bottom: 12px; justify-content: center; }
@media (min-width: 768px) { .hero-dots { left: 0; right: 0; bottom: 12px; justify-content: center; } }
@media (max-width: 767px) { .hero-dots { left: 0; right: 0; top: auto; bottom: 8px; justify-content: center; } }
@container (min-width: 340px) and (max-width: 379px) { .sv-pic { right: -4%; } }
@container (min-width: 301px) and (max-width: 339px) { .sv-pic { right: -8%; } }
@container (max-width: 480px) { .hf .b-inner { padding-bottom: max(30px, 9cqw); } }

/* Nút gọi ô tư vấn "động đậy" để gây chú ý:
   · icon điện thoại rung như chuông reo (rung 0,8s rồi nghỉ, lặp mỗi 2,4s)
   · vòng sóng đỏ lan ra quanh nút (cùng nhịp)
   · khi rê chuột / người dùng bật "giảm chuyển động" thì đứng yên */
.sv-phone { position: relative; isolation: isolate; }
.sv-phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(228, 44, 16, .55); animation: sv-wave 2.4s ease-out infinite; }
.sv-phone .icon { transform-origin: 50% 60%; animation: sv-ring 2.4s ease-in-out infinite; }
@keyframes sv-ring {
  0%, 36%, 100% { transform: rotate(0); }
  4% { transform: rotate(-16deg); } 8% { transform: rotate(14deg); } 12% { transform: rotate(-12deg); }
  16% { transform: rotate(10deg); } 20% { transform: rotate(-7deg); } 24% { transform: rotate(5deg); } 28% { transform: rotate(-2deg); }
}
@keyframes sv-wave { 0% { box-shadow: 0 0 0 0 rgba(228, 44, 16, .55); } 60%, 100% { box-shadow: 0 0 0 12px rgba(228, 44, 16, 0); } }
.sv:hover .sv-phone::after, .sv:hover .sv-phone .icon { animation: none; }
@media (prefers-reduced-motion: reduce) { .sv-phone::after, .sv-phone .icon { animation: none; } }
/* nút gọi ô tư vấn: dùng ĐÚNG hiệu ứng nút gọi nổi góc phải (.float-btn.phone) —
   viền đỏ 2px phóng ra từ mép nút, mờ dần, lặp 1,6s; icon đứng yên */
.sv-phone .icon { animation: none; }
.sv-phone::after { box-shadow: none; inset: 0; border: 2px solid var(--red); animation: sv-ring-out 1.6s infinite; }
@keyframes sv-ring-out { from { inset: 0; opacity: .8; } to { inset: -12px; opacity: 0; border-radius: 14px; } }
.sv:hover .sv-phone::after { animation: sv-ring-out 1.6s infinite; border-color: #000; }
@media (prefers-reduced-motion: reduce) { .sv-phone::after { animation: none; opacity: 0; } }
/* icon điện thoại rung lại như trước (sv-ring), cùng lúc viền đỏ lan ra */
.sv-phone .icon { animation: sv-ring 2.4s ease-in-out infinite; }
.sv:hover .sv-phone .icon { animation: none; }
@media (prefers-reduced-motion: reduce) { .sv-phone .icon { animation: none; } }
/* "Gọi hoặc nhắn Zalo" cùng cỡ với dòng địa chỉ ô Showroom (.banner-sm .b-text = max(12px, 3.6cqw)) */
.sv-note { font-size: max(12px, 3.6cqw); line-height: 1.45; }
@container (min-width: 600px) { .sv-note { font-size: max(12px, 3.6cqw); } }

/* =====================================================================
   Q (03/11) — KHÔNG ẨN THÔNG TIN BANNER Ở BẤT KỲ KÍCH THƯỚC NÀO
   (dòng nhỏ, câu mô tả có SĐT, nút, địa chỉ showroom, "Gọi hoặc nhắn Zalo" luôn hiện, đúng chữ như máy tính)
   → thay vì giấu, khung banner cao thêm và chữ nhỏ lại vừa đủ
   ===================================================================== */
.hero .hero-slide .b-text, .hero .hero-side .b-text, .hero .sv-note { display: block !important; }
.hero .hero-slide .b-kicker, .hero .hero-side .b-kicker, .hero .sv-kicker { display: flex !important; }
.hero .hero-slide .b-cta, .hero .hero-side .b-cta { display: inline-flex !important; }

/* điện thoại dọc (slide ≤ 512px): khung cao hơn để chứa đủ dòng nhỏ + tiêu đề + mô tả + nút dưới ảnh */
@media (max-width: 512px) { .hero-slider { aspect-ratio: 343 / 440; } }
@container (max-width: 480px) {
  .hf .b-text, .hb-dark .b-text { font-size: max(12px, 3.6cqw); line-height: 1.5; max-width: none; margin-top: 2.4cqw; color: #E2E2E2; }
  .hf .b-kicker, .hb-dark .b-kicker { font-size: 12px; margin-bottom: 2.6cqw; }
  .hf .b-cta, .hb-dark .b-cta { margin-top: 4cqw; }
  .hb-dark .b-copy { flex-basis: auto; max-width: none; }
  .hb-dark .b-inner { align-items: flex-end; padding: 0 6cqw max(30px, 9cqw); }
  .hb-dark .b-photo { width: 100%; }
  .hb-dark .b-photo img { object-position: 60% 30%; }
  .hb-dark .b-photo::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.4) 62%, rgba(0,0,0,0) 80%); }
  .hb-dark .b-title { font-size: 7cqw; white-space: normal; }
}
/* slide khung vừa (481–700px: điện thoại ngang, máy tính 1024 cột trái): hiện mô tả, chữ gọn lại */
@container (min-width: 481px) and (max-width: 700px) {
  .hf .b-text, .hb-dark .b-text { font-size: max(12px, 2.2cqw); line-height: 1.5; max-width: 46cqw; margin-top: 1.8cqw; }
  .hf .b-cta, .hb-dark .b-cta { margin-top: 2.8cqw; }
  .hf .b-kicker, .hb-dark .b-kicker { margin-bottom: 1.8cqw; }
}
/* 2 ô bên trên điện thoại rất hẹp (≤ 300px): thẻ cao thêm để có chỗ cho dòng "Gọi hoặc nhắn Zalo" + địa chỉ */
@container (max-width: 300px) { .sv-note { font-size: 12px; margin-top: 1.4cqw; } }
@media (max-width: 359px) { .hero-side .banner, .hero-side .sv { aspect-ratio: 343 / 214; } }
@container (max-width: 480px) { .hb-dark .b-copy { flex: 1 1 auto; min-width: 0; max-width: none; } .hb-dark .b-title, .hb-dark .b-title em { white-space: normal; } }
@media (max-width: 359px) { .hero-side .sv-pic { height: 88%; bottom: -6%; right: -16%; } }

/* ===== Thanh danh mục nhanh (điện thoại + máy tính bảng < 1200px) — dưới thanh Bình Bảo, dính cùng header ===== */
.cat-bar { display: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.cat-bar-list { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-bar-list::-webkit-scrollbar { display: none; }
.cat-bar-list li { flex: none; scroll-snap-align: start; }
.cat-bar-list a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--n-20);
  font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink); transition: background .2s, color .2s; }
.cat-bar-list a:hover { background: var(--n-60); }
.cat-bar-list a.is-active { background: var(--red); color: #fff; }
@media (max-width: 1199px) { .cat-bar { display: block; } .header-main { box-shadow: none; } }
@media (max-width: 767px) { .cat-bar-list { padding: 8px 0; gap: 6px; } .cat-bar-list a { height: 34px; padding: 0 12px; font-size: 13px; } }
/* điện thoại xoay ngang (màn thấp ≤ 500px): dải chữ chạy trên cùng cuộn đi theo trang, chỉ thanh Bình Bảo + thanh danh mục
   dính lại → phần dính ≤ 35% chiều cao màn (tiêu chí M1); thanh danh mục gọn hơn */
@media (max-width: 1199px) and (max-height: 500px) {
  .header { top: -40px; }
  .cat-bar-list { padding: 6px 0; }
  .cat-bar-list a { height: 32px; }
}
@media (max-width: 767px) and (max-height: 500px) { .header { top: -34px; } }
/* Q2: tên sản phẩm không bị cắt mất mã két (HS-31C…) khi xuống 3 dòng ở màn 320px — bỏ giới hạn 2 dòng */
.product-name { display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (max-width: 359px) { .product-name { font-size: 13px; } }
/* vòng 3 (Q): màu đúng bảng thương hiệu; khoảng dòng tiêu đề ≥ 1,15; dòng nhỏ ô tư vấn không tràn ở 320 */
@container (max-width: 480px) { .hf .b-text, .hb-dark .b-text { color: var(--k-10); } .hb .b-title, .hf .b-title, .hb-dark .b-title { line-height: 1.15; } }
.sv { background: linear-gradient(135deg, var(--n-80) 0%, var(--n) 100%); }
.sv-note { color: var(--k-80); }
@container (max-width: 300px) { .sv-copy { flex: 0 0 54%; max-width: 54%; } .sv-kicker { letter-spacing: .04em; gap: 6px; } .sv-kicker::before { width: 12px; } .hero-side .sv-pic { right: -22%; } }
.hf .b-text, .hb-dark .b-text { color: var(--k-10); }
.hero .b-title { line-height: 1.16 !important; }      /* B8: khoảng dòng tiêu đề 1,14–1,26 */
.sv-kicker { width: max-content; max-width: none; }   /* dòng nhỏ 1 dòng, chiếm đúng bề rộng chữ (đã đo không chạm ảnh nhân viên) */
@container (max-width: 480px) { .hf-3 .b-copy { flex: 1 1 auto; max-width: none; } .hf-3 .b-text { max-width: none; } .hf-3 .b-title { font-size: 7cqw; } }
