/* ===== Sonic Vietnam — Bảng màu & biến ===== */
:root {
  --red: #e2001a;
  --red-dark: #b80016;
  --black: #111418;
  --ink: #1c2127;
  --steel: #3a424d;
  --grey: #6b7480;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-dark: #14181d;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 20, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 20, 24, 0.18);
  --maxw: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #e9edf2; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: #ff5b6e; }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.15;
}
.section--dark .section-title { color: #fff; }

.section-lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--grey);
  font-size: 17px;
}
.section--dark .section-lead { color: #aab3bf; }

.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* ===== Nút ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--black); }
.btn--light { background: #fff; color: var(--black); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--red); color: #fff; font-weight: 900; font-size: 20px;
  letter-spacing: -0.04em;
}
.brand__name { font-size: 19px; letter-spacing: -0.02em; color: var(--black); line-height: 1; }
.brand__sub { font-size: 11px; color: var(--grey); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { font-weight: 600; font-size: 15px; color: var(--steel); transition: color .15s; }
.nav__links a:hover, .nav__links a.active { color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: .25s; }

/* ===== Dropdown "Sản phẩm" (2 cấp) ===== */
.nav__item--dropdown { position: relative; }
.nav__link--trigger {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; font: inherit;
  font-weight: 600; font-size: 15px; color: var(--steel); cursor: pointer; transition: color .15s;
}
.nav__link--trigger:hover, .nav__link--trigger.active, .nav__item--dropdown.is-open .nav__link--trigger { color: var(--red); }
.nav__chevron { font-size: 11px; transition: transform .2s ease; }
.nav__item--dropdown.is-open .nav__chevron { transform: rotate(180deg); }

/* ===== Homepage redesign — HEADER (scope .home-page, không đụng global trang khác) ===== */
/* Header chuẩn (wordmark + nav đậm) — GLOBAL, áp mọi trang đã đồng bộ header */
.brand:has(.brand__logo) { gap: 0; }
.brand__logo { display: block; height: 30px; width: auto; }
.nav__links a,
.nav__link--trigger { font-weight: 800; color: var(--black); }
.nav__links a:hover,
.nav__links a.active,
.nav__link--trigger:hover,
.nav__link--trigger.active,
.nav__item--dropdown.is-open .nav__link--trigger { color: var(--red); }

/* ===== Homepage redesign — display font (Be Vietnam Pro 900 italic, IN HOA) ===== */
.home-page .hp-display {
  font-family: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
/* Khoá transform cho CTA pill trang chủ — nút đứng yên tuyệt đối khi hover/active/focus */
.home-page .btn--primary:hover,
.home-page .btn--primary:active,
.home-page .btn--primary:focus { transform: none; }

/* ===== Homepage redesign — HERO full-bleed ảnh tối ===== */
.home-page .hero--home {
  position: relative;
  display: flex;
  align-items: flex-end; /* dồn cụm chữ xuống đáy */
  min-height: clamp(440px, 72vh, 720px);
  background: #0f1317;
  overflow: hidden;
}
.home-page .hero--home::after { display: none; } /* tắt lớp trang trí của .hero global */
.home-page .hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.home-page .hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,12,15,.50) 0%, rgba(10,12,15,.18) 38%, rgba(10,12,15,.78) 100%),
    linear-gradient(90deg, rgba(10,12,15,.62) 0%, rgba(10,12,15,0) 62%);
}
.home-page .hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(36px, 7vh, 68px); /* neo gần đáy, chừa lề dưới */
}
.home-page .hero__title {
  color: #fff;
  font-size: clamp(17px, 2.8vw, 30px); /* giảm thêm ~37% so với bản trước, lộ ảnh nhiều hơn */
  margin: 0 0 18px;
  max-width: 18ch;
  text-shadow: 0 2px 22px rgba(0,0,0,.45);
}
.home-page .hero__sub {
  color: #eef1f5;
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  max-width: 46ch;
  margin: 0 0 30px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.home-page .hero__cta {
  font-size: 16px; /* GIỮ cỡ chữ */
  padding: 10px 22px; /* thu nhỏ khung — oval ôm sát chữ hơn */
  border-color: #fff; /* viền trắng mảnh quanh pill đỏ */
}
.home-page .hero__cta:hover,
.home-page .hero__cta:active,
.home-page .hero__cta:focus { border-color: #fff; } /* giữ viền trắng, chỉ đổi màu nền */

/* ===== HEADER icon (Search/Facebook/Instagram) — GLOBAL, áp mọi trang ===== */
.nav__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--black);
  transition: color .15s ease; /* chỉ đổi màu, KHÔNG transform */
}
.nav__icon:hover,
.nav__icon:focus { color: var(--red); }

/* ===== Homepage redesign — USP band: tiêu đề đỏ ===== */
.home-page .usp__item strong { color: var(--red); }

/* ===== Homepage redesign — SHOWCASE (A|B + C) ảnh full-bleed + overlay ===== */
.home-page .hp-showcase { background: #fff; padding: 18px 0; }
.home-page .hp-showcase--wide { padding-top: 0; }
.home-page .hp-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.home-page .hp-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  min-height: 440px;
  color: #fff;
}
.home-page .hp-card--wide { min-height: 360px; }
.home-page .hp-card__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .5s ease;
}
.home-page .hp-card:hover .hp-card__bg { transform: scale(1.04); }
.home-page .hp-card__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,15,.12) 0%, rgba(10,12,15,.04) 38%, rgba(10,12,15,.82) 100%);
}
.home-page .hp-card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 32px;
}
.home-page .hp-card__eyebrow {
  color: var(--red); font-weight: 800; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.home-page .hp-card__title {
  color: #fff; font-size: clamp(24px, 2.6vw, 34px);
  margin: 0 0 8px; text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.home-page .hp-card__sub {
  color: #e9ecf1; font-size: 15.5px; font-weight: 500; line-height: 1.45;
  margin: 0 0 16px; max-width: 36ch; text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.home-page .hp-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 800; font-size: 15px;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
  transition: color .2s ease;
}
.home-page .hp-card:hover .hp-card__cta { color: var(--red); }
@media (max-width: 860px) {
  .home-page .hp-showcase__grid { grid-template-columns: 1fr; }
  .home-page .hp-card { min-height: 340px; }
}

/* ===== Homepage redesign — Team Sonic gallery (masonry giữ tỉ lệ ảnh) ===== */
.home-page .hp-team .section-title { color: var(--black); }
.home-page .hp-team__masonry {
  column-count: 3;
  column-gap: 16px;
  margin-top: 36px;
}
.home-page .hp-team__item {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}
.home-page .hp-team__item img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) { .home-page .hp-team__masonry { column-count: 2; } }
@media (max-width: 480px) { .home-page .hp-team__masonry { column-count: 1; } }

.nav__dropdown-wrap {
  display: none; position: absolute; top: calc(100% + 22px); left: -18px;
  align-items: flex-start; z-index: 60;
}
.nav__item--dropdown.is-open .nav__dropdown-wrap { display: flex; }

.nav__dropdown {
  display: flex; flex-direction: column; width: 236px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px;
}
.nav__dropdown-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; background: none; border: 0; font: inherit;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
}
.nav__dropdown-link:hover:not(.is-disabled),
.nav__dropdown-link.active {
  background: var(--bg-soft);
  color: var(--red);
}
.nav__dropdown-link.is-disabled { color: #999; font-weight: 500; cursor: default; }
.nav__dropdown-link--group { font-style: normal; color: var(--ink); }
.nav__dropdown-link--group:hover { color: var(--red); background: var(--bg-soft); }
.nav__dropdown-link--group:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
  color: var(--red);
}
.nav__chevron-right { font-style: normal; }

.nav__submenu {
  display: none; flex-direction: column; width: 200px; margin-left: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 8px;
}
.nav__dropdown-wrap.submenu-open .nav__submenu { display: flex; }
.nav__submenu-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-style: normal; color: var(--ink); font-size: 13.5px; font-weight: 600;
  padding: 6px 12px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.nav__submenu .nav__dropdown-link { border-bottom: 1px solid var(--line); border-radius: 0; }
.nav__submenu .nav__dropdown-link:last-child { border-bottom: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, #1d242c 0%, #0f1317 60%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(226,0,26,.16), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px;
  align-items: center; padding: 92px 0 96px;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(226,0,26,.16); border: 1px solid rgba(226,0,26,.4);
  color: #ff8d9b; font-weight: 700; font-size: 13px; letter-spacing: .06em;
  padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  margin: 20px 0 18px;
}
.hero h1 span { color: var(--red); }
.hero__lead { font-size: 18px; color: #c4ccd6; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 42px; }
.hero__stat strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.hero__stat span { font-size: 13px; color: #9aa3af; }

.hero__art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero__art .toolbox-illustration {
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
  width: 100%; max-width: 460px;
}

/* ===== Marquee thương hiệu / cam kết ===== */
.trust {
  background: var(--black); color: #cdd4dd;
  border-top: 1px solid rgba(255,255,255,.06);
}
.trust__row {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  padding: 22px 0; font-weight: 600; font-size: 15px;
}
.trust__row span { display: inline-flex; align-items: center; gap: 9px; }
.trust__row svg { color: var(--red); }

/* ===== Lưới danh mục ===== */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  display: flex; flex-direction: column; gap: 12px;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, #fff0f1, #ffe1e4);
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.cat-card h3 { font-size: 18px; color: var(--black); letter-spacing: -0.01em; }
.cat-card .cat-card__tag { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.cat-card p { font-size: 14px; color: var(--grey); }

/* ===== Lưới sản phẩm ===== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--steel);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: .15s;
}
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media {
  position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f7f8fa, #eceef2);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.product-photo { width: 100%; height: 100%; object-fit: contain; }
.pd-media .product-photo { max-height: 360px; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.product-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__code { font-size: 12px; color: var(--grey); font-weight: 600; letter-spacing: .04em; }
.product-card__name { font-size: 16px; font-weight: 700; color: var(--black); line-height: 1.3; }
.product-card__desc { font-size: 13.5px; color: var(--grey); flex: 1; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 12px; font-weight: 600; color: var(--steel);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px;
}
.product-card__foot {
  margin-top: 14px; display: flex; align-items: center; justify-content: space-between;
}
.product-card__cta { font-weight: 700; color: var(--red); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ===== Khối SFS đặc trưng ===== */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.feature__art {
  background: linear-gradient(150deg, #1d242c, #0f1317);
  border-radius: 20px; padding: 38px; box-shadow: var(--shadow-lg);
}
.feature__list { list-style: none; margin-top: 24px; display: grid; gap: 16px; }
.feature__list li { display: flex; gap: 13px; align-items: flex-start; }
.feature__list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
}
.feature__list h4 { font-size: 16px; color: var(--black); }
.feature__list p { font-size: 14px; color: var(--grey); }

/* ===== Lý do chọn ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px 24px;
}
.why-card__icon { color: var(--red); margin-bottom: 14px; }
.why-card h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: #aab3bf; }

/* ===== Đại lý / about ===== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point svg { color: var(--red); flex: 0 0 auto; }
.about-point strong { display: block; color: var(--black); font-size: 15px; }
.about-point span { font-size: 13.5px; color: var(--grey); }
.about-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 34px;
}
.about-card h3 { font-size: 22px; color: var(--black); margin-bottom: 6px; }
.about-card .sub { color: var(--grey); margin-bottom: 22px; }

/* ===== Form liên hệ ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: grid; gap: 22px; align-content: start; }
.contact-info__item { display: flex; gap: 15px; align-items: flex-start; }
.contact-info__item .ci-icon {
  width: 46px; height: 46px; border-radius: 11px; flex: 0 0 auto;
  background: #fff0f1; color: var(--red); display: flex; align-items: center; justify-content: center;
}
.contact-info__item strong { display: block; color: var(--black); font-size: 15px; }
.contact-info__item span, .contact-info__item a { color: var(--grey); font-size: 14.5px; }
.contact-info__item a:hover { color: var(--red); }

.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--steel); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--bg-soft);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input.invalid, .field textarea.invalid { border-color: var(--red); background: #fff5f6; }
.field__err { color: var(--red); font-size: 12.5px; font-weight: 600; min-height: 0; }
.form__note { font-size: 13px; color: var(--grey); }
.form__success, .form__error { display: none; padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form__success { background: #effaf1; border: 1px solid #bfe6c8; color: #1c7a35; }
.form__error { background: #fff1f2; border: 1px solid #f5c2c7; color: #b3261e; }
.form__success.show, .form__error.show { display: block; }

/* Nút có trạng thái loading */
.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { opacity: .85; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Thanh tiện ích trên cùng (hotline + showroom) ===== */
.topbar { background: var(--black); color: #cfd6df; font-size: 13.5px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #cfd6df; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--red); flex: 0 0 auto; }
.topbar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
/* Cụm giờ làm việc (span trần) căn hàng cùng icon, không xuống dòng */
.topbar__left > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__badge { color: #fff; font-weight: 700; }
.topbar__badge b { color: #E2231A; }

/* ===== Dải 3 USP ===== */
.usp { background: #fff; border-bottom: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.usp__item { display: flex; gap: 14px; align-items: center; padding: 22px 24px; border-left: 1px solid var(--line); }
.usp__item:first-child { border-left: 0; }
.usp__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg,#fff0f1,#ffe1e4); color: var(--red); display: flex; align-items: center; justify-content: center; }
.usp__item strong { display: block; color: var(--black); font-size: 15.5px; }
.usp__item span { font-size: 13px; color: var(--grey); }

/* ===== Thanh liên hệ cố định (mobile-first dock) ===== */
.contact-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--black); border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
}
.contact-dock a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 6px; color: #e9edf2; font-size: 12px; font-weight: 700;
  border-left: 1px solid rgba(255,255,255,.08);
}
.contact-dock a:first-child { border-left: 0; }
.contact-dock a.is-primary { background: var(--red); color: #fff; }
.contact-dock a.is-zalo { background: #0068ff; color: #fff; }
.contact-dock svg { width: 22px; height: 22px; }

/* Floating buttons cho desktop */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab a {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.fab a:hover { transform: translateY(-2px); }
.fab .fab-hotline { background: var(--red); }
.fab .fab-zalo { background: #0068ff; }

/* ===== CTA dải ===== */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: #fff; border-radius: 22px; padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 6px; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: #aab3bf; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col ul li { display: flex; align-items: center; gap: 7px; }
.footer-col ul li svg { flex: 0 0 auto; }
.footer-col ul li .footer-ico { flex: 0 0 auto; width: 20px; display: inline-flex; justify-content: center; }
.footer-col a, .footer-col li { font-size: 14px; color: #97a0ac; }
.footer-col a:hover { color: #fff; }
.footer-brand p { font-size: 14px; margin: 14px 0; max-width: 280px; }
/* Footer brand dạng text (thay logo "S") — áp mọi trang */
.footer-brand__name {
  font-family: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
  max-width: none;
}
.footer-brand__tagline { font-size: 14px; color: #8b94a0; margin: 0; max-width: 280px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7f8896;
}
.footer-bottom a:hover { color: #fff; }

/* ===== Trang con: tiêu đề ===== */
.page-hero {
  background: radial-gradient(120% 130% at 75% 0%, #1d242c, #0f1317);
  color: #fff; padding: 64px 0;
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: #b6bec9; margin-top: 12px; max-width: 620px; }
.breadcrumb { font-size: 13px; color: #8b94a0; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ===== Modal sản phẩm ===== */
.modal {
  position: fixed; inset: 0; z-index: 80; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 19, 23, 0.6); backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal__panel {
  background: #fff; border-radius: 18px; max-width: 720px; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr;
}
.modal__media { background: linear-gradient(160deg, #f7f8fa, #e8eaee); display: flex; align-items: center; justify-content: center; padding: 30px; }
.modal__body { padding: 30px; position: relative; }
.modal__close {
  position: absolute; top: 14px; right: 14px; border: 0; background: var(--bg-soft);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--steel);
}
.modal__close:hover { background: var(--line); }
.modal__body h3 { font-size: 22px; color: var(--black); margin: 6px 0 10px; }
.modal__body p { color: var(--grey); font-size: 15px; }
.modal__specs { list-style: none; margin: 18px 0; display: grid; gap: 10px; }
.modal__specs li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: 14px; }
.modal__specs span:first-child { color: var(--grey); }
.modal__specs span:last-child { font-weight: 700; color: var(--black); }

/* ===== Trang chi tiết sản phẩm ===== */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pd-media svg { width: 100%; max-width: 360px; }
.pd-media .product-photo { border-radius: 8px !important; }
.pd-info h1 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.02em; color: var(--black); margin: 0 0 14px; }
.pd-subtitle { font-size: 1rem; color: #666; font-weight: normal; margin: 0 0 4px; }
.pd-desc { font-size: 16px; color: var(--steel); margin-bottom: 22px; }
.pd-info .modal__specs { margin: 0 0 24px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Selector biến thể trên trang chi tiết */
.pd-variants { margin: 4px 0 22px; }
.pd-variants label { display: block; font-size: 13.5px; font-weight: 700; color: var(--steel); margin-bottom: 8px; }
.pd-variants select {
  width: 100%; max-width: 440px; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-family: inherit; font-size: 14.5px; background: var(--bg-soft); color: var(--ink);
}
.pd-variants select:focus { outline: none; border-color: var(--red); background: #fff; }
.pd-variant-info {
  margin-top: 10px; font-size: 14px; color: var(--steel);
  background: #fff0f1; border: 1px solid #ffd7dc; border-radius: 10px; padding: 10px 14px;
}
.pd-variant-info b { color: var(--black); }

/* ===== Tiện ích ===== */
.empty-note { text-align: center; color: var(--grey); padding: 50px 0; grid-column: 1 / -1; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding: 60px 0 70px; }
  .hero__art { order: -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .about-grid, .contact-grid, .pd-grid { grid-template-columns: 1fr; gap: 34px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { display: none; }
  .usp__grid { grid-template-columns: 1fr; }
  .usp__item { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .usp__item:first-child { border-top: 0; }
  .topbar__left { display: none; }
  .topbar__row { justify-content: center; }
  /* Hiện dock cố định, ẩn nút nổi trên mobile */
  .contact-dock { display: grid; }
  .fab { display: none; }
  body { padding-bottom: 64px; }
}
@media (max-width: 680px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav--open .nav__links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav--open .nav__links li { width: 100%; }
  .nav--open .nav__links a { display: block; padding: 13px 22px; }
  .nav--open .nav__links .nav__link--trigger { width: 100%; justify-content: space-between; padding: 13px 22px; }
  .nav__dropdown-wrap {
    display: none; position: static; align-items: stretch; flex-direction: column;
    width: 100%; padding: 0 0 8px 14px;
  }
  .nav__item--dropdown.is-open .nav__dropdown-wrap { display: flex; }
  .nav__dropdown, .nav__submenu {
    width: 100%; margin-left: 0; box-shadow: none; border: 0; padding: 0;
  }
  .nav__submenu { display: none; padding-left: 14px; }
  .nav__dropdown-wrap.submenu-open .nav__submenu { display: flex; }
  .cat-grid, .product-grid, .about-points { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* ===== NEXT MSS landing & listing ===== */
.mss-page { background: #fff; }
.mss-hero {
  position: relative;
  min-height: min(840px, calc(100vh - 108px));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 6, 8, .18) 0%, rgba(4, 6, 8, 0) 58%),
    linear-gradient(0deg, rgba(4, 6, 8, .94) 0%, rgba(4, 6, 8, .5) 28%, rgba(4, 6, 8, 0) 60%),
    url("../products/next-mss/landing/next-mss-hero.png") center center / cover no-repeat;
}
.mss-hero__inner {
  position: relative;
  display: flex;
  min-height: min(840px, calc(100vh - 108px));
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 66px;
}
.mss-hero .breadcrumb { color: #c1c7cf; }
.mss-hero .breadcrumb a { color: #fff; }
.mss-hero__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.mss-hero__copy { max-width: 620px; margin-top: auto; }
.mss-hero__eyebrow, .mss-overview__eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #ff5265;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mss-hero__copy p { color: #e1e5e9; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.7; }
.mss-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.mss-overview { overflow: hidden; background: #050607; color: #fff; }
.mss-feature { padding: 142px 0; }
.mss-feature + .mss-feature { border-top: 1px solid rgba(255, 255, 255, .1); }
.mss-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(54px, 8vw, 108px);
}
.mss-feature__media { overflow: hidden; background: #0a0c0e; }
.mss-feature__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mss-feature__content { max-width: 540px; }
.mss-feature__content h2,
.mss-module-showcase__copy h2,
.mss-system-showcase__copy h2,
.mss-workshop-showcase__copy h2 {
  color: #fff;
  font-size: clamp(32px, 4.7vw, 58px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.mss-feature__content p,
.mss-module-showcase__copy p,
.mss-system-showcase__copy p,
.mss-workshop-showcase__copy p {
  margin-top: 25px;
  color: #b8bec6;
  font-size: clamp(16px, 1.65vw, 19px);
  line-height: 1.75;
}
.mss-feature__content .btn { margin-top: 32px; }
.mss-feature--reverse .mss-feature__media { order: 2; }
.mss-feature--reverse .mss-feature__content { order: 1; margin-left: auto; }

.mss-module-showcase,
.mss-system-showcase,
.mss-workshop-showcase { border-top: 1px solid rgba(255, 255, 255, .1); padding: 148px 0; }
.mss-module-showcase__copy { max-width: 860px; }
.mss-module-showcase__copy p { max-width: 720px; }
.mss-module-showcase__media { margin-top: 72px; }
.mss-module-showcase__media img { width: min(100%, 1050px); margin: 0 auto; background: #fff; }
.mss-system-showcase__media img,
.mss-workshop-showcase__media img { width: 100%; }
.mss-system-showcase__copy { max-width: 760px; margin-top: 60px; }
.mss-workshop-showcase__copy { max-width: 760px; margin: 0 0 60px auto; }
.mss-workshop-showcase__media { width: min(100%, 1120px); margin-left: auto; }

.mss-products { scroll-margin-top: 88px; background: #fff; }
.mss-products .section-head { max-width: 720px; }

.mss-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.mss-filter__button {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  background: #fff; color: var(--steel); font: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.mss-filter__button:hover { border-color: #b8c0ca; color: var(--black); }
.mss-filter__button.is-active { border-color: var(--red); background: var(--red); color: #fff; }

.mss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.mss-card {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 8px 28px rgba(15, 19, 23, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mss-card:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgba(15, 19, 23, .11); }
.mss-card__media {
  display: flex; min-height: 270px; align-items: center; justify-content: center;
  margin: 16px 16px 0; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
}
.mss-card__media img { display: block; width: 100%; height: 236px; object-fit: contain; }
.mss-card__media--post img { max-width: 42%; }
.mss-card__media--compact img { max-width: 88%; }
.mss-card__media--setup img { height: 220px; }
.mss-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.mss-card__group {
  color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase;
}
.mss-card h2 { margin: 8px 0 18px; overflow-wrap: anywhere; color: var(--black); font-size: 20px; line-height: 1.35; }
.mss-card h2 a:hover { color: var(--red); }
.mss-card__facts { display: grid; gap: 9px; margin: auto 0 20px; }
.mss-card__facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mss-card__facts dt { color: var(--grey); font-size: 13px; }
.mss-card__facts dd { min-width: 0; overflow-wrap: anywhere; color: var(--black); font-size: 13px; font-weight: 750; text-align: right; }
.mss-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mss-card__detail { color: var(--steel); font-size: 13.5px; font-weight: 750; }
.mss-card__detail:hover { color: var(--red); }
.mss-empty { grid-column: 1 / -1; padding: 60px 0; color: var(--grey); text-align: center; }
.mss-page__cta-section { padding-top: 0; }

.mss-image-placeholder {
  display: flex; width: 100%; min-height: 242px; align-items: center; justify-content: center;
  border: 1px dashed #c8ced6; border-radius: 12px; background: #fff;
  color: #747d88; font-size: 14px; font-weight: 650; text-align: center; padding: 24px;
}

.mss-detail { padding: 48px 0 88px; background: #fff; }
.mss-detail .breadcrumb { margin-bottom: 32px; }
.mss-detail .breadcrumb a { color: var(--steel); }
.mss-detail .breadcrumb a:hover { color: var(--red); }
.mss-detail__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.mss-detail__gallery {
  display: grid; gap: 28px; position: sticky; top: 104px;
}
.mss-detail__media {
  display: flex; min-height: 510px; align-items: center; justify-content: center;
  border: 0; border-radius: 0; background: #fff; padding: 18px 0;
}
.mss-detail__image { display: block; width: 100%; max-height: 450px; object-fit: contain; }
.mss-dimension-block {
  width: min(100%, 440px); margin: 0 auto; background: #fff; text-align: center;
}
.mss-dimension-block figcaption {
  margin-bottom: 14px; color: var(--steel); font-size: 14px; font-weight: 750;
}
.mss-dimension-image {
  display: block; width: 100%; max-height: 190px; margin: 0 auto; object-fit: contain;
}
.mss-detail__line { margin: 2px 0 6px; color: var(--red); font-size: 14px; font-weight: 850; letter-spacing: .08em; }
.mss-detail__group { margin-bottom: 8px; color: var(--grey); font-size: 15px; }
.mss-detail__content h1 { margin-bottom: 28px; color: var(--black); font-size: clamp(30px, 4.5vw, 46px); line-height: 1.12; letter-spacing: -.03em; }
.mss-detail__specs { display: grid; margin: 0 0 26px; }
.mss-detail__specs div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid var(--line); padding: 13px 0; }
.mss-detail__specs dt { color: var(--grey); font-size: 14px; }
.mss-detail__specs dd { color: var(--black); font-size: 14.5px; font-weight: 750; }
.mss-detail__accessories { display: grid; gap: 18px; margin: 0 0 28px; border-radius: 14px; background: #f5f6f8; padding: 20px; }
.mss-detail__accessories h2 { margin-bottom: 10px; color: var(--black); font-size: 17px; }
.mss-detail__accessories ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.mss-detail__accessories li { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 12px; color: var(--steel); font-size: 13px; font-weight: 700; }
.mss-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mss-detail__back { padding: 11px 0; color: var(--steel); font-size: 14px; font-weight: 700; }
.mss-detail__back:hover { color: var(--red); }
.mss-detail--empty { min-height: 52vh; padding-top: 100px; text-align: center; }
.mss-detail--empty h1 { color: var(--black); font-size: clamp(30px, 4vw, 44px); }
.mss-detail--empty p { max-width: 560px; margin: 14px auto 26px; color: var(--grey); }

@media (max-width: 980px) {
  .mss-page .nav__links, .mss-page .nav__cta .btn--ghost { display: none; }
  .mss-page .nav__toggle { display: flex; }
  .mss-page .nav--open .nav__links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .mss-page .nav--open .nav__links li { width: 100%; }
  .mss-page .nav--open .nav__links a { display: block; padding: 13px 22px; }
  .mss-page .nav--open .nav__links .nav__link--trigger { width: 100%; justify-content: space-between; padding: 13px 22px; }
  .mss-page .nav__dropdown-wrap {
    display: none; position: static; align-items: stretch; flex-direction: column;
    width: 100%; padding: 0 0 8px 14px;
  }
  .mss-page .nav__item--dropdown.is-open .nav__dropdown-wrap { display: flex; }
  .mss-page .nav__dropdown, .mss-page .nav__submenu {
    width: 100%; margin-left: 0; box-shadow: none; border: 0; padding: 0;
  }
  .mss-page .nav__submenu { display: none; padding-left: 14px; }
  .mss-page .nav__dropdown-wrap.submenu-open .nav__submenu { display: flex; }
  .mss-feature { padding: 104px 0; }
  .mss-feature__grid { gap: 46px; }
  .mss-module-showcase,
  .mss-system-showcase,
  .mss-workshop-showcase { padding: 110px 0; }
  .mss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mss-detail__grid { grid-template-columns: 1fr; gap: 34px; }
  .mss-detail__gallery { position: static; }
  .mss-detail__media { min-height: 420px; }
}

@media (max-width: 800px) {
  .mss-feature__grid { grid-template-columns: 1fr; }
  .mss-feature__media { width: min(100%, 560px); }
  .mss-feature__content { max-width: 620px; }
  .mss-feature--reverse .mss-feature__media { order: 2; margin-left: auto; }
  .mss-feature--reverse .mss-feature__content { order: 1; margin-left: 0; }
}

@media (max-width: 680px) {
  .mss-page .nav__cta .btn--primary { display: none; }
  .mss-page .nav__cta { margin-left: auto; }
  .mss-hero {
    min-height: 670px;
    background-position: 41% center;
  }
  .mss-hero__inner { min-height: 670px; padding-top: 20px; padding-bottom: 38px; }
  .mss-hero__copy p { font-size: 15.5px; }
  .mss-hero__actions { align-items: stretch; flex-direction: column; }
  .mss-hero__actions .btn { justify-content: center; }
  .mss-feature { padding: 78px 0; }
  .mss-feature__grid { gap: 38px; }
  .mss-feature__content h2,
  .mss-module-showcase__copy h2,
  .mss-system-showcase__copy h2,
  .mss-workshop-showcase__copy h2 { font-size: clamp(30px, 10vw, 42px); }
  .mss-feature__content p,
  .mss-module-showcase__copy p,
  .mss-system-showcase__copy p,
  .mss-workshop-showcase__copy p { margin-top: 19px; font-size: 15.5px; }
  .mss-module-showcase,
  .mss-system-showcase,
  .mss-workshop-showcase { padding: 80px 0; }
  .mss-module-showcase__media { margin-top: 42px; }
  .mss-system-showcase__copy { margin-top: 38px; }
  .mss-workshop-showcase__copy { margin: 0 0 38px; }
  .mss-products .section-head { margin-bottom: 34px; }
  .mss-filter { flex-wrap: nowrap; margin-right: -20px; padding-right: 20px; overflow-x: auto; scrollbar-width: thin; }
  .mss-filter__button { flex: 0 0 auto; }
  .mss-grid { grid-template-columns: 1fr; gap: 20px; }
  .mss-card__media { min-height: 234px; margin: 14px 14px 0; padding: 12px; }
  .mss-card__media img { height: 208px; }
  .mss-card__actions { align-items: stretch; flex-direction: column; }
  .mss-card__actions .btn { justify-content: center; }
  .mss-detail { padding: 30px 0 70px; }
  .mss-detail .breadcrumb { margin-bottom: 22px; }
  .mss-detail__media { min-height: 310px; padding: 20px; }
  .mss-detail__image { max-height: 280px; }
  .mss-dimension-block { width: min(100%, 390px); }
  .mss-dimension-image { max-height: 170px; }
  .mss-detail__specs div { grid-template-columns: 112px 1fr; gap: 14px; }
  .mss-detail__actions { align-items: stretch; flex-direction: column; }
  .mss-detail__actions .btn { justify-content: center; }
}

/* ============================================================
   Hệ EVA Foam Sonic (Sonic Foam System) — eva-foam.html
   ============================================================ */
.eva-page { --eva-red: #c0392b; }

/* 1. Hero full-width ~75vh */
.eva-hero {
  position: relative; min-height: 75vh; display: flex; align-items: center;
  background: #16191e url("../products/eva-foam/eva-foam-hero.jpg") center / cover no-repeat;
}
.eva-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); }
.eva-hero__inner { position: relative; z-index: 1; padding: 96px 0; }
.eva-hero .breadcrumb { margin-bottom: 18px; color: rgba(255, 255, 255, .72); }
.eva-hero .breadcrumb a { color: rgba(255, 255, 255, .72); }
.eva-hero .breadcrumb a:hover { color: #fff; }
.eva-hero h1 {
  color: #fff; font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 7.5vw, 88px); line-height: .96; letter-spacing: -.02em;
}
.eva-hero__sub { max-width: 640px; margin-top: 18px; color: rgba(255, 255, 255, .9); font-size: clamp(16px, 2vw, 21px); font-weight: 500; }
.eva-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* 2 & 4. Khối giới thiệu (ảnh + text) */
.eva-intro { padding: 84px 0; }
.eva-intro--soft { background: var(--bg-soft); }
.eva-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.eva-split__media img { display: block; width: 100%; border-radius: 12px; }
.eva-intro--reverse .eva-split__media { order: 2; }
.eva-intro--reverse .eva-split__content { order: 1; }
.eva-split__content h2 { margin-top: 10px; color: var(--black); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.eva-split__content > p { margin-top: 16px; color: var(--grey); font-size: 16px; line-height: 1.75; }
.eva-bullets { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.eva-bullets li { position: relative; padding-left: 30px; color: var(--steel); font-size: 15.5px; line-height: 1.5; }
.eva-bullets li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--eva-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* 3. Badge số liệu nghiên cứu */
.eva-stats { padding: 4px 0 72px; }
.eva-intro + .eva-stats { padding-top: 0; }
.eva-stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eva-stat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.eva-stat__eyebrow { color: var(--grey); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eva-stat__num {
  padding: 10px 22px; border-radius: 12px; background: var(--eva-red); color: #fff;
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; text-transform: uppercase;
}
.eva-stat__label { color: var(--black); font-size: 17px; font-weight: 800; }

/* 5. Thẻ kích thước */
.eva-sizes { padding: 26px 0 86px; }
.eva-size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.eva-size-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0; cursor: pointer; font: inherit; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.eva-size-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.eva-size-card__media {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 0; overflow: hidden;
  background: #fff; border: 1px solid #e5e5e5;
}
.eva-size-card__media img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; display: block; }
.eva-size-card__body { padding: 14px 16px 18px; }
.eva-size-card__tag { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--eva-red); color: #fff; font-size: 12px; font-weight: 800; }
.eva-size-card__label { display: block; margin-top: 9px; color: var(--black); font-size: 15px; font-weight: 700; }

/* 6 & 7. Danh mục: filter sticky + grid (tái dùng .product-grid/.product-card) */
.eva-products { padding-top: 52px; }
.eva-filter {
  position: sticky; top: 72px; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 0; margin-bottom: 28px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.eva-filter .filter-btn.active { background: var(--eva-red); border-color: var(--eva-red); }
/* Khung ảnh card EVA: nền trắng, viền mảnh, kích thước đồng đều; ảnh canh giữa; badge góc trên-phải */
.eva-products .product-card__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e5e5e5;
}
.eva-products .product-card__media .product-photo {
  max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; display: block;
}
.eva-products .product-card__badge--size {
  position: absolute; top: 8px; right: 8px; left: auto;
  background: #C0392B; color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 7px; border-radius: 3px;
}
.eva-card.hidden { display: none; }
.eva-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 18px; color: var(--grey); font-size: 13px; font-weight: 600; text-align: center; }

@media (max-width: 980px) {
  .eva-size-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .eva-split { grid-template-columns: 1fr; gap: 36px; }
  .eva-intro--reverse .eva-split__media { order: 1; }
  .eva-intro--reverse .eva-split__content { order: 2; }
  .eva-split__media img { width: min(100%, 560px); margin: 0 auto; }
  .eva-stats__row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  .eva-hero__inner { padding: 64px 0; }
  .eva-size-grid { grid-template-columns: 1fr; }
  .eva-products .product-grid { grid-template-columns: 1fr; }
  .eva-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; margin-right: -22px; padding-right: 22px; }
  .eva-filter .filter-btn { flex: 0 0 auto; }
}

/* ===== Landing dòng tủ NEXT (products.html) ===== */
/* Khối 1 — hero: ảnh thật <img> (giữ tỉ lệ, không cắt) + nút CTA đè lên nút "LEARN MORE" trong ảnh */
.next-hero { padding: 28px 0 8px; }
.next-hero__frame { position: relative; line-height: 0; }
.next-hero__frame img { display: block; width: 100%; height: auto; border-radius: 12px; }
.next-hero__cta {
  position: absolute; left: 27%; top: 38.2%; transform: translate(-50%, -50%);
  line-height: 1; white-space: nowrap; border-color: #fff;
}
/* Nút phải ĐỨNG YÊN mọi trạng thái để luôn phủ kín nút "LEARN MORE" trong ảnh:
   khoá transform (vô hiệu hoá .btn:hover{transform:translateY(-2px)} làm nút nhảy).
   Hover CHỈ đổi màu nền (giữ .btn--primary:hover). */
.next-hero__cta:hover,
.next-hero__cta:focus,
.next-hero__cta:active { transform: translate(-50%, -50%); }

/* Khối 3 — nút CTA trong block ảnh+chữ (tái dùng .eva-split) */
.eva-split__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Khối 2 & 3 — ảnh landing giữ ĐÚNG tỉ lệ gốc (height:auto vô hiệu hoá height cố định của thẻ <img>).
   Scope .next-page để KHÔNG ảnh hưởng eva-foam.html (dùng chung .eva-split). */
.next-page .eva-split__media img { height: auto; }

/* Card grid NEXT: nền TRẮNG + viền mảnh (đồng bộ chuẩn eva-foam), giữ nguyên cỡ ảnh */
.next-page .product-card__media {
  background: #fff; border: 1px solid #e5e5e5;
}

@media (max-width: 600px) {
  .next-hero__cta { padding: 9px 16px; font-size: 13.5px; }
}

/* ============================================================
   MSS+ — phần đầu landing page
   Toàn bộ selector được scope dưới .mss-plus-page.
   ============================================================ */
.mss-plus-page {
  background: #fff;
}

.mss-plus-page .mss-plus-hero {
  position: relative;
  height: clamp(560px, calc(100vh - 110px), 780px);
  overflow: hidden;
  background: #171a1e;
}

.mss-plus-page .mss-plus-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, .48) 0%, rgba(5, 7, 9, .18) 48%, rgba(5, 7, 9, .1) 100%),
    linear-gradient(180deg, rgba(5, 7, 9, .24) 0%, rgba(5, 7, 9, .06) 42%, rgba(5, 7, 9, .2) 100%);
  pointer-events: none;
}

.mss-plus-page .mss-plus-story__eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mss-plus-page .mss-plus-hero h1 {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 22%;
  color: #fff;
  font-size: clamp(40px, 5vw, 74px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .38);
}

.mss-plus-page .mss-plus-hero__media {
  position: absolute;
  inset: 0;
}

.mss-plus-page .mss-plus-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mss-plus-page .mss-plus-story {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  padding: 136px 0 128px;
}

.mss-plus-page .mss-plus-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(54px, 7vw, 96px);
}

.mss-plus-page .mss-plus-story__media {
  overflow: hidden;
  background: #f1f3f5;
}

.mss-plus-page .mss-plus-story__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.mss-plus-page .mss-plus-story__eyebrow {
  color: var(--red);
}

.mss-plus-page .mss-plus-story h2 {
  margin-top: 18px;
  color: var(--black);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.mss-plus-page .mss-plus-story__copy p {
  margin-top: 24px;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.8;
}

.mss-plus-page .mss-plus-story__copy .mss-plus-story__lead {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 650;
  line-height: 1.6;
}

.mss-plus-page .mss-plus-benefits {
  scroll-margin-top: 88px;
  padding: 124px 0 136px;
  background: #f6f7f8;
}

.mss-plus-page .mss-plus-benefits__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.mss-plus-page .mss-plus-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.mss-plus-page .mss-plus-benefit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
}

.mss-plus-page .mss-plus-benefit__media {
  overflow: hidden;
  background: #eceff2;
  aspect-ratio: 16 / 10;
}

.mss-plus-page .mss-plus-benefit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.mss-plus-page .mss-plus-benefit:hover .mss-plus-benefit__media img {
  transform: scale(1.025);
}

.mss-plus-page .mss-plus-benefit__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 28px 34px;
}

.mss-plus-page .mss-plus-benefit__number {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.mss-plus-page .mss-plus-benefit h3 {
  margin-top: 15px;
  color: var(--black);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 820;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.mss-plus-page .mss-plus-benefit p {
  margin-top: 17px;
  color: var(--grey);
  font-size: 15.5px;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .mss-plus-page .nav__links,
  .mss-plus-page .nav__cta .btn--ghost {
    display: none;
  }

  .mss-plus-page .nav__toggle {
    display: flex;
  }

  .mss-plus-page .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 8px 0;
  }

  .mss-plus-page .nav--open .nav__links li {
    width: 100%;
  }

  .mss-plus-page .nav--open .nav__links a {
    display: block;
    padding: 13px 22px;
  }

  .mss-plus-page .nav--open .nav__links .nav__link--trigger {
    width: 100%;
    justify-content: space-between;
    padding: 13px 22px;
  }

  .mss-plus-page .nav__dropdown-wrap {
    display: none;
    position: static;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    padding: 0 0 8px 14px;
  }

  .mss-plus-page .nav__item--dropdown.is-open .nav__dropdown-wrap {
    display: flex;
  }

  .mss-plus-page .nav__dropdown,
  .mss-plus-page .nav__submenu {
    width: 100%;
    margin-left: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .mss-plus-page .nav__submenu {
    display: none;
    padding-left: 14px;
  }

  .mss-plus-page .nav__dropdown-wrap.submenu-open .nav__submenu {
    display: flex;
  }

  .mss-plus-page .mss-plus-hero h1 {
    top: 14%;
    left: 21%;
    font-size: clamp(38px, 5.5vw, 56px);
  }

  .mss-plus-page .mss-plus-story {
    padding: 96px 0;
  }

  .mss-plus-page .mss-plus-story__grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
  }

  .mss-plus-page .mss-plus-benefits {
    padding: 96px 0 108px;
  }

  .mss-plus-page .mss-plus-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mss-plus-page .mss-plus-benefit:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 13px);
  }
}

@media (max-width: 800px) {
  .mss-plus-page .mss-plus-story__grid {
    grid-template-columns: 1fr;
  }

  .mss-plus-page .mss-plus-hero {
    height: clamp(500px, calc(100svh - 110px), 680px);
  }

  .mss-plus-page .mss-plus-hero h1 {
    top: 13%;
    left: 18%;
    font-size: clamp(38px, 6vw, 50px);
  }

  .mss-plus-page .mss-plus-story__grid {
    gap: 46px;
  }

  .mss-plus-page .mss-plus-story__copy {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  .mss-plus-page .nav__cta .btn--primary {
    display: none;
  }

  .mss-plus-page .nav__cta {
    margin-left: auto;
  }

  .mss-plus-page .mss-plus-hero {
    height: clamp(330px, 92vw, 430px);
  }

  .mss-plus-page .mss-plus-hero h1 {
    top: 12%;
    left: 9%;
    font-size: clamp(34px, 9vw, 42px);
  }

  .mss-plus-page .mss-plus-story {
    padding: 84px 0 78px;
  }

  .mss-plus-page .mss-plus-story__grid {
    gap: 38px;
  }

  .mss-plus-page .mss-plus-story h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .mss-plus-page .mss-plus-story__copy p {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .mss-plus-page .mss-plus-story__copy .mss-plus-story__lead {
    font-size: 18px;
  }

  .mss-plus-page .mss-plus-benefits {
    padding: 76px 0 84px;
  }

  .mss-plus-page .mss-plus-benefits__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mss-plus-page .mss-plus-benefit:last-child {
    grid-column: auto;
    width: auto;
  }

  .mss-plus-page .mss-plus-benefit__body {
    padding: 26px 24px 30px;
  }

  .mss-plus-page .mss-plus-benefit h3 {
    font-size: 24px;
  }
}

/* ============================================================
   MSS+ catalog + product detail
   ============================================================ */
.mss-plus-page .mss-plus-catalog {
  scroll-margin-top: 88px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 118px 0 132px;
}

.mss-plus-page .mss-plus-catalog__head {
  max-width: 780px;
}

.mss-plus-page .mss-plus-catalog__eyebrow,
.mss-plus-product-page .mss-plus-detail__eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mss-plus-page .mss-plus-catalog__head h2 {
  margin-top: 14px;
  color: var(--black);
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.mss-plus-page .mss-plus-catalog__head p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--grey);
  font-size: 17px;
}

.mss-plus-page .mss-plus-catalog__toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(230px, .85fr) auto;
  align-items: end;
  gap: 16px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: #f7f8f9;
  padding: 20px;
}

.mss-plus-page .mss-plus-catalog__field {
  display: grid;
  gap: 7px;
}

.mss-plus-page .mss-plus-catalog__field > span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mss-plus-page .mss-plus-catalog__field input,
.mss-plus-page .mss-plus-catalog__field select {
  width: 100%;
  height: 48px;
  border: 1px solid #cfd4da;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  padding: 0 14px;
  color: var(--black);
  font: inherit;
  font-size: 15px;
}

.mss-plus-page .mss-plus-catalog__field input:focus,
.mss-plus-page .mss-plus-catalog__field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 0, 26, .12);
}

.mss-plus-page .mss-plus-catalog__reset {
  height: 48px;
  justify-content: center;
  border-radius: 8px;
}

.mss-plus-page .mss-plus-catalog__summary {
  display: flex;
  justify-content: flex-end;
  padding: 22px 0;
}

.mss-plus-page .mss-plus-catalog__summary p {
  color: var(--grey);
  font-size: 14px;
  font-weight: 750;
}

.mss-plus-page .mss-plus-catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.mss-plus-page .mss-plus-setups .mss-plus-catalog__grid {
  margin-top: 48px;
}

.mss-plus-page .mss-plus-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mss-plus-page .mss-plus-catalog-card:hover {
  transform: translateY(-3px);
  border-color: #d4d8de;
  box-shadow: 0 18px 40px rgba(17, 20, 24, .09);
}

.mss-plus-page .mss-plus-catalog-card__media {
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 20px;
}

.mss-plus-page .mss-plus-catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mss-plus-page .mss-plus-catalog__fallback,
.mss-plus-product-page .mss-plus-detail__fallback {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(226, 0, 26, .05), transparent 45%),
    #eceff2;
  color: var(--black);
  text-align: center;
}

.mss-plus-page .mss-plus-catalog__fallback > span,
.mss-plus-product-page .mss-plus-detail__fallback > span {
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
}

.mss-plus-page .mss-plus-catalog__fallback small,
.mss-plus-product-page .mss-plus-detail__fallback small {
  color: var(--grey);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
}

.mss-plus-page .mss-plus-catalog-card__media .mss-plus-catalog__fallback {
  background: #fff;
}

.mss-plus-page .mss-plus-catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.mss-plus-page .mss-plus-catalog-card__group {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mss-plus-page .mss-plus-catalog-card h3 {
  margin-top: 11px;
  color: var(--black);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.28;
}

.mss-plus-page .mss-plus-catalog-card h3 a:hover {
  color: var(--red);
}

.mss-plus-page .mss-plus-catalog-card__sku {
  margin-top: 12px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.mss-plus-page .mss-plus-catalog-card__dimensions {
  margin-top: 9px;
  color: var(--grey);
  font-size: 14px;
}

.mss-plus-page .mss-plus-catalog-card__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
}

.mss-plus-page .mss-plus-catalog-card__detail {
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

.mss-plus-page .mss-plus-catalog-card__detail:hover {
  color: var(--red);
}

.mss-plus-page .mss-plus-catalog__empty {
  grid-column: 1 / -1;
  border: 1px dashed #cbd1d8;
  padding: 68px 24px;
  text-align: center;
}

.mss-plus-page .mss-plus-catalog__empty h3 {
  color: var(--black);
  font-size: 24px;
}

.mss-plus-page .mss-plus-catalog__empty p {
  margin-top: 8px;
  color: var(--grey);
}

.mss-plus-product-page .mss-plus-detail {
  min-height: 65vh;
  background: #fff;
  padding: 48px 0 112px;
}

.mss-plus-product-page .mss-plus-detail .breadcrumb {
  margin-bottom: 34px;
}

.mss-plus-product-page .mss-plus-detail .breadcrumb a {
  color: var(--steel);
}

.mss-plus-product-page .mss-plus-detail .breadcrumb a:hover {
  color: var(--red);
}

.mss-plus-product-page .mss-plus-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: start;
  gap: clamp(44px, 6vw, 82px);
}

.mss-plus-product-page .mss-plus-detail__gallery {
  display: grid;
  gap: 24px;
}

.mss-plus-product-page .mss-plus-detail__media {
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  padding: 42px;
}

.mss-plus-product-page .mss-plus-detail__image {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.mss-plus-product-page .mss-plus-detail__dimension {
  border: 1px solid var(--line);
  padding: 22px;
}

.mss-plus-product-page .mss-plus-detail__dimension figcaption {
  margin-bottom: 14px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.mss-plus-product-page .mss-plus-detail__dimension img {
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
}

.mss-plus-product-page .mss-plus-detail__sku {
  margin-top: 12px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.mss-plus-product-page .mss-plus-detail__content h1 {
  margin-top: 15px;
  color: var(--black);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.mss-plus-product-page .mss-plus-detail__specs {
  display: grid;
  margin-top: 34px;
}

.mss-plus-product-page .mss-plus-detail__specs div {
  display: grid;
  grid-template-columns: minmax(125px, .4fr) minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.mss-plus-product-page .mss-plus-detail__specs dt {
  color: var(--grey);
  font-size: 14px;
}

.mss-plus-product-page .mss-plus-detail__specs dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--black);
  font-size: 14.5px;
  font-weight: 750;
}

.mss-plus-product-page .mss-plus-detail__compatibility {
  margin-top: 28px;
}

.mss-plus-product-page .mss-plus-detail__compatibility h2 {
  color: var(--black);
  font-size: 17px;
}

.mss-plus-product-page .mss-plus-detail__compatibility ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  list-style: none;
}

.mss-plus-product-page .mss-plus-detail__compatibility li {
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #f7f8f9;
  padding: 8px 12px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 700;
}

.mss-plus-product-page .mss-plus-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.mss-plus-product-page .mss-plus-detail__zalo {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #0674ed;
  padding: 13px 24px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.mss-plus-product-page .mss-plus-detail__back {
  display: inline-block;
  margin-top: 28px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 750;
}

.mss-plus-product-page .mss-plus-detail__back:hover {
  color: var(--red);
}

.mss-plus-product-page .mss-plus-detail--empty {
  display: flex;
  min-height: 58vh;
  align-items: center;
  text-align: center;
}

.mss-plus-product-page .mss-plus-detail--empty h1 {
  margin-top: 14px;
  color: var(--black);
  font-size: clamp(34px, 5vw, 52px);
}

.mss-plus-product-page .mss-plus-detail--empty p {
  max-width: 580px;
  margin: 14px auto 26px;
  color: var(--grey);
}

.mss-plus-product-page .mss-plus-related {
  border-top: 1px solid var(--line);
  background: #f7f8f9;
  padding: 80px 0 92px;
}

.mss-plus-product-page .mss-plus-related h2 {
  color: var(--black);
  font-size: 30px;
}

.mss-plus-product-page .mss-plus-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.mss-plus-product-page .mss-plus-related__grid a {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
}

.mss-plus-product-page .mss-plus-related__grid span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mss-plus-product-page .mss-plus-related__grid strong {
  color: var(--black);
  line-height: 1.35;
}

.mss-plus-product-page .mss-plus-related__grid small {
  color: var(--grey);
}

@media (max-width: 980px) {
  .mss-plus-page .mss-plus-catalog__grid,
  .mss-plus-product-page .mss-plus-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mss-plus-page .mss-plus-catalog__toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .mss-plus-page .mss-plus-catalog__reset {
    grid-column: 1 / -1;
    width: max-content;
  }

  .mss-plus-product-page .mss-plus-detail__grid {
    grid-template-columns: 1fr;
  }

  .mss-plus-product-page .mss-plus-detail__gallery {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .mss-plus-page .mss-plus-catalog {
    padding: 78px 0 86px;
  }

  .mss-plus-page .mss-plus-catalog__head h2 {
    font-size: clamp(32px, 10vw, 43px);
  }

  .mss-plus-page .mss-plus-catalog__head p {
    font-size: 15.5px;
  }

  .mss-plus-page .mss-plus-catalog__toolbar {
    grid-template-columns: 1fr;
    margin-top: 34px;
    padding: 16px;
  }

  .mss-plus-page .mss-plus-catalog__reset {
    grid-column: auto;
    width: 100%;
  }

  .mss-plus-page .mss-plus-catalog__summary {
    justify-content: flex-start;
  }

  .mss-plus-page .mss-plus-catalog__grid,
  .mss-plus-product-page .mss-plus-related__grid {
    grid-template-columns: 1fr;
  }

  .mss-plus-page .mss-plus-catalog-card__body {
    padding: 22px;
  }

  .mss-plus-page .mss-plus-catalog-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mss-plus-page .mss-plus-catalog-card__actions .btn {
    justify-content: center;
  }

  .mss-plus-product-page .mss-plus-detail {
    padding: 28px 0 78px;
  }

  .mss-plus-product-page .mss-plus-detail .breadcrumb {
    margin-bottom: 22px;
    font-size: 12.5px;
  }

  .mss-plus-product-page .mss-plus-detail__grid {
    gap: 34px;
  }

  .mss-plus-product-page .mss-plus-detail__media {
    min-height: 320px;
    padding: 24px;
  }

  .mss-plus-product-page .mss-plus-detail__image {
    max-height: 300px;
  }

  .mss-plus-product-page .mss-plus-detail__content h1 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .mss-plus-product-page .mss-plus-detail__specs div {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 13px;
  }

  .mss-plus-product-page .mss-plus-detail__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mss-plus-product-page .mss-plus-detail__actions .btn,
  .mss-plus-product-page .mss-plus-detail__zalo {
    justify-content: center;
    text-align: center;
  }
}

/* ===== Be Vietnam Pro (self-host) — chỉ dùng cho heading homepage redesign ===== */
/* Weight 800/900 + italic, subset vietnamese/latin-ext/latin. Khai báo local để chạy file://. */
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-normal-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-normal-latinext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-normal-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-normal-latinext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:normal;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-normal-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-italic-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-italic-latinext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:800;font-display:swap;src:url(../fonts/bvp-800-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-italic-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-italic-latinext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Be Vietnam Pro';font-style:italic;font-weight:900;font-display:swap;src:url(../fonts/bvp-900-italic-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
