/* ============================================================
   NANO HOME — style.css
   Dựng theo thiết kế "Web NANOHOME (1).pdf" (trang 2–6)
   ============================================================ */

:root {
  --navy: #2B3880;
  --navy-deep: #252161;
  --navy-title: #1F346C;
  --navy-footer: #091A37;
  --red: #D2232A;
  --red-brand: #A42B2F;
  --gold: #C9A24B;
  --ink: #414042;
  --gray-nav: #D1D2D2;
  --line: #E3E6EE;
  --radius: 18px;
  --font: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1280px, 92vw); margin-inline: auto; }

/* ---------- Nút chung ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; font-size: 15px;
  padding: 12px 34px; border: 0; transition: .25s;
}
.btn--navy { background: var(--navy); color: #fff; letter-spacing: .5px; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--block { width: 100%; }
.btn--outline {
  background: #F5F6F8; color: var(--ink); font-weight: 600;
  border: 1px solid #C9CDD6; padding: 9px 28px; font-size: 14px;
}
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--sm { padding: 7px 22px; font-size: 13px; }
.btn--green, .btn--teal {
  padding: 8px 20px; font-size: 13px; color: #fff; font-weight: 600;
}
.btn--green { background: #6FA53A; }
.btn--green:hover { background: #588430; }
.btn--teal { background: #1D7E8C; }
.btn--teal:hover { background: #16616C; }

.section { padding: 46px 0; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header { padding: 22px 0 16px; display: flex; justify-content: center; background: #fff; }
.site-logo img { width: 500px; height: auto; }

.main-nav {
  background: #fff;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  position: relative; z-index: 50;
}
.main-nav.is-sticky { position: sticky; top: 0; box-shadow: 0 6px 18px rgba(15, 23, 66, .18); }
.main-nav__inner { display: flex; justify-content: center; }
.nav-list { display: flex; gap: 8px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 26px; color: var(--navy);
  font-weight: 700; font-size: 17.5px;
}
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--red); }
.caret {
  width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5.5px solid currentColor; margin-top: 3px;
}
.sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px);
  min-width: 225px; background: #fff; border-radius: 12px; padding: 10px 0;
  box-shadow: 0 18px 40px rgba(15, 23, 66, .18);
  opacity: 0; visibility: hidden; transition: .25s; z-index: 60;
}
.nav-list > li:hover .sub-menu, .nav-list > li.is-open .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.sub-menu a { display: block; padding: 9px 22px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.sub-menu a:hover { background: #F0F2F8; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ============================================================
   HERO (trang chủ) + DẢI CAM KẾT
   ============================================================ */
.hero { position: relative; }
.hero__img { width: 100%; height: auto; }

.badge-strip {
  position: relative;
  margin-top: -50px;
  z-index: 5;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(15, 23, 66, .14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
}

.badge-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  text-align: center;
}

.badge-item + .badge-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #C4C9D6;
}

.badge-item img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.badge-item:hover img {
  transform: scale(1.1);
}

.badge-item p {
  font-size: 13.5px;
  font-weight: 700;
  color: #1F243B;
}

/* ============================================================
   Ý TƯỞNG MÀU SẮC — MATCHING DESIGN MOCKUP
   ============================================================ */
.idea {
  padding: 64px 0 40px;
  background: #ffffff;
}

.idea__grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 44px;
  align-items: start;
}

.idea__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.color-wheel {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: conic-gradient(#e53935,#f06292,#ab47bc,#5e35b1,#3949ab,#1e88e5,#00acc1,#00897b,#43a047,#7cb342,#c0ca33,#fdd835,#ffb300,#fb8c00,#f4511e,#e53935);
  display: grid;
  place-items: center;
}

.color-wheel span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
}

.idea__title span {
  display: block;
  font-size: 38px;
  font-weight: 300;
  color: #58595B;
  line-height: 1.1;
}

.idea__title strong {
  display: block;
  font-size: 46px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1.1;
}

.hue-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 410px;
  margin-inline: auto;
}

.hue-arrow {
  background: none;
  border: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #58595B;
  padding: 4px 8px;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.hue-arrow:hover {
  color: var(--navy);
  transform: scale(1.2);
}

.hue-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: var(--c);
  transition: transform .25s ease, outline .25s ease, box-shadow .25s ease;
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
}

.hue-dot:nth-child(2),
.hue-dot:nth-last-child(2) {
  width: 15px;
  height: 15px;
}

.hue-dot.is-active {
  width: 40px;
  height: 40px;
  outline: 2.5px solid var(--navy);
  outline-offset: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.hue-dot:hover {
  transform: scale(1.2);
}

.dot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px 18px;
  max-width: 410px;
  margin-inline: auto;
}

.dot-grid span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c);
  transition: transform .2s ease, box-shadow .2s ease, outline .2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.dot-grid span:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  z-index: 2;
}

.dot-grid span.is-active {
  transform: scale(1.15);
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 4px var(--navy), 0 8px 20px rgba(0, 0, 0, .25);
  z-index: 3;
}

.idea__right {
  background: #A42B2F;
  border-radius: 36px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .4s;
}

.idea__photo {
  border-radius: 24px;
  overflow: hidden;
}

.idea__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.idea__photo--tall {
  height: 480px;
}

.idea__photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 320px;
}

.idea__photo-row .idea__photo {
  height: 100%;
  border-radius: 20px;
}

/* ============================================================
   BỘ SƯU TẬP MÀU SẮC (trang chủ)
   ============================================================ */
.collection { padding: 40px 0; }
.collection__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.collection__main { border-radius: 26px; overflow: hidden; }
.collection__main img { width: 100%; height: 420px; object-fit: cover; }
.collection__intro { text-align: left; padding-left: 12px; }
.collection__title span { display: block; font-size: 40px; font-weight: 300; color: #58595B; }
.collection__title strong { display: block; font-size: 64px; font-weight: 800; letter-spacing: 2px; margin: 2px 0 24px; }
.rainbow-text {
  background: linear-gradient(90deg, #8E4E9E 0%, #C5498B 18%, #D96A4C 36%, #DFA43C 54%, #B9C13F 72%, #5BAE4A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.collection__bottom { display: grid; grid-template-columns: 1fr 1.55fr; gap: 34px; margin-top: 34px; }
.collection__small, .collection__wide { border-radius: 26px; overflow: hidden; }
.collection__small img, .collection__wide img { width: 100%; height: 330px; object-fit: cover; }

/* ============================================================
   DANH MỤC SẢN PHẨM — LUXURY DESIGN MATCHING MOCKUP
   ============================================================ */
.catalog {
  padding: 40px 0 54px;
  background: #ffffff;
  position: relative;
}

.catalog__label {
  width: fit-content;
  margin: 0 auto -36px;
  position: relative;
  z-index: 5;
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 66, .14);
}

.catalog__label-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.catalog__label-text span {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .3px;
}

.catalog__label-text strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .8px;
}

.catalog__banner {
  width: 100%;
  overflow: hidden;
}

.catalog__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.catalog__nav {
  text-align: center;
  position: relative;
  z-index: 4;
}

.catalog__brand-pill {
  width: fit-content;
  margin: -48px auto 32px;
  background: #ffffff;
  border-radius: 999px;
  padding: 16px 56px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 66, .10);
  display: inline-block;
}

.catalog__brand {
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.catalog__brand em {
  font-style: normal;
  color: var(--red);
}

.catalog__slogan {
  font-size: 12.5px;
  letter-spacing: 2.5px;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.catalog__slogan::before,
.catalog__slogan::after {
  content: "";
  height: 1.5px;
  width: 60px;
  background: var(--navy);
  opacity: .7;
}

.catalog__cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1140px;
  margin: 0 auto;
}

.catalog__cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.down-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--navy);
  display: block;
}

.catalog__cat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--navy);
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(43, 56, 128, .22);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.catalog__cat:hover .catalog__cat-btn {
  transform: translateY(-3px);
  background: #1F2A66;
  box-shadow: 0 10px 24px rgba(31, 42, 102, .35);
}

/* ============================================================
   MÀU SẮC MỚI NHẤT — MINIMAL LUXURY SWATCH & ROOM PREVIEW
   ============================================================ */
.latest {
  padding: 60px 0 72px;
  background: #ffffff;
  position: relative;
}

.latest__header {
  text-align: center;
  margin: 0 auto 40px;
}

.latest__heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.latest__heading img {
  width: 480px;
  height: auto;
}

.latest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* Thẻ màu chính */
.latest__col {
  background: transparent;
  border-radius: 32px;
  border: none;
  box-shadow: none;
  cursor: pointer;
  outline: none;
  position: relative;
}

/* Phần ô màu Swatch (Top Card) */
.latest__swatch {
  background: var(--c);
  height: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 20px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.latest__col:hover .latest__swatch,
.latest__col.is-open .latest__swatch {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
}

.latest__swatch-code {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .25);
  position: relative;
  z-index: 2;
}

/* Accordion Drawer (Expanded Room Scene Card) */
.latest__drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.latest__grid.is-open-all .latest__drawer,
.latest__col.is-hover .latest__drawer,
.latest__col.is-open .latest__drawer,
.latest__col:hover .latest__drawer {
  grid-template-rows: 1fr;
}

.latest__grid.is-open-all .latest__col .latest__drawer {
  transition-delay: calc(var(--col-i, 0) * 80ms);
}

.latest__drawer-inner {
  overflow: hidden;
  padding-top: 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.latest__grid.is-open-all .latest__drawer-inner,
.latest__col.is-hover .latest__drawer-inner,
.latest__col.is-open .latest__drawer-inner,
.latest__col:hover .latest__drawer-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.latest__grid.is-open-all .latest__col .latest__drawer-inner {
  transition-delay: calc(var(--col-i, 0) * 80ms + 50ms);
}

.latest__photo {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  height: 500px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
  isolation: isolate;
  transform: translateZ(0);
}

.latest__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.latest__col:hover .latest__photo img,
.latest__col.is-open .latest__photo img {
  transform: scale(1.04);
}

.latest__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.latest__photo-code {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .8);
  z-index: 2;
}

/* ============================================================
   THỐNG KÊ + VỀ CHÚNG TÔI
   ============================================================ */
.about { padding: 46px 0 70px; }
.stats { display: flex; justify-content: center; align-items: center; gap: 44px; }
.stat-pill {
  background: var(--navy); color: #fff; border-radius: 999px;
  min-width: 240px; padding: 26px 40px; text-align: center;
}
.stat-pill strong { display: block; font-size: 42px; font-weight: 800; line-height: 1.1; }
.stat-pill strong em { font-style: italic; }
.stat-pill sup { font-size: 22px; }
.stat-pill small { font-size: 16px; font-weight: 700; margin-left: 4px; }
.stat-pill span { font-size: 14px; letter-spacing: 1px; }
.stat-pill--big { min-width: 320px; padding: 32px 52px; }
.stat-pill--big strong { font-size: 52px; }
.stats__divider { position: relative; margin: 34px auto 0; max-width: 900px; height: 14px; }
.stats__divider::before, .stats__divider::after {
  content: ""; position: absolute; top: 6px; height: 2px; background: var(--navy);
  width: calc(50% - 18px);
}
.stats__divider::before { left: 0; }
.stats__divider::after { right: 0; }
.stats__divider i {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
}

/* Bố cục zigzag: 3 khối so le trái - phải - trái, mỗi khối một hàng */
.about__zigzag { margin-top: 56px; display: flex; flex-direction: column; gap: 52px; }
.about__row { width: min(74%, 820px); }
.about__row--right { margin-left: auto; }
.about__row--right .about__title { margin-left: auto; }
.about__row .about__title--endquote { margin: 0 0 26px 0; }

/* Reveal: hàng trái trượt vào từ trái, hàng phải từ phải */
.about__row.reveal { transform: translateX(-40px); }
.about__row--right.reveal { transform: translateX(40px); }
.about__row.reveal.is-visible { transform: none; }

.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px 60px; margin-top: 56px; align-items: center; }
.about__title {
  font-size: 52px; font-weight: 800; font-style: italic; color: var(--navy);
  margin-bottom: 26px; position: relative; width: fit-content;
}
.about__title--quote::before {
  content: "\201C"; position: absolute; top: -46px; left: -34px;
  font-size: 110px; line-height: 1; color: var(--navy);
}
.about__title--right { margin-left: auto; }
.about__title--endquote { margin: 0 0 0 auto; }
.about__title--endquote::after {
  content: "\201D"; position: absolute; top: -40px; right: -40px;
  font-size: 110px; line-height: 1; color: var(--navy);
}
.about__blob { background: var(--navy-deep); color: #fff; padding: 40px 46px; }
.about__blob p { font-style: italic; font-size: 16.5px; line-height: 1.85; text-align: justify; }
.about__blob--left { border-radius: 60px 160px 160px 60px; }
.about__blob--right { border-radius: 160px 60px 60px 160px; }
.about__cell:nth-child(3) { align-self: start; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-footer); color: #C9D0E0; margin-top: 30px; }
.footer__grid {
  display: grid; grid-template-columns: 1.25fr .95fr .95fr 1fr 1.15fr 1.35fr;
  gap: 34px; padding: 52px 0 40px;
}
.footer__house-wrap { display: inline-block; line-height: 0; margin-bottom: 16px; }
.footer__house { width: 62px; }
.footer__brand p { font-size: 13.5px; line-height: 1.8; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #8B94AD;
  display: grid; place-items: center; color: #fff; font-size: 13px; transition: .25s;
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-footer); }
.zalo { font-size: 9px; font-weight: 800; }
.footer__col h3 { color: #fff; font-size: 14.5px; letter-spacing: .5px; margin-bottom: 18px; font-weight: 700; }
.footer__col ul li { margin-bottom: 11px; }
.footer__col ul a, .footer__col ul span { font-size: 13.5px; color: #C9D0E0; transition: .2s; }
.footer__col ul a:hover { color: var(--gold); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.ico {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--gold);
  position: relative; display: inline-block;
}
.ico::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px;
  background: var(--gold); -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.ico--phone::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ico--mail::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 7L4 6v12h16V6l-8 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 7L4 6v12h16V6l-8 5z'/%3E%3C/svg%3E"); }
.ico--pin::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E"); }
.footer__col--news > p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.newsletter { display: flex; background: rgba(255,255,255,.08); border: 1px solid #46507A; border-radius: 10px; overflow: hidden; }
.newsletter input {
  flex: 1; background: transparent; border: 0; outline: 0; color: #fff;
  padding: 12px 14px; font-size: 13.5px; font-family: inherit;
}
.newsletter input::placeholder { color: #7C86A6; }
.newsletter button {
  width: 46px; border: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, #E8C878, #C9A24B); transition: .25s;
}
.newsletter button:hover { filter: brightness(1.1); }
.footer__bottom { border-top: 1px solid #26325A; padding: 16px 0; text-align: center; }
.footer__bottom p { font-size: 12.5px; color: #8B94AD; }

/* ============================================================
   TRANG CON — HERO + TIÊU ĐỀ HOA VĂN
   ============================================================ */
.page-hero { position: relative; }
.page-hero img { width: 100%; height: auto; }

.fancy-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--navy); font-size: 30px; font-weight: 800; letter-spacing: .5px;
  margin-bottom: 36px; text-align: center;
}
.orn { position: relative; width: 170px; height: 10px; flex: 0 0 auto; }
.orn::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1.5px; background: var(--navy); }
.orn::after {
  content: ""; position: absolute; top: 1px; width: 8px; height: 8px;
  border: 1.5px solid var(--navy); transform: rotate(45deg); background: #fff;
}
.orn--l::after { right: 26px; }
.orn--r::after { left: 26px; }
/* chấm tròn cạnh chữ */
.fancy-title::before, .fancy-title::after {
  content: "\2022"; font-size: 22px; color: var(--navy); line-height: 1;
}

/* ============================================================
   TRANG MÀU SẮC — THẺ MÀU + BẢNG MÀU
   ============================================================ */
.color-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.color-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 34px rgba(20, 26, 60, .16);
  display: flex; flex-direction: column;
  transition: transform .3s;
}
.color-card:hover { transform: translateY(-6px); }
.color-card figure { height: 200px; border-radius: 0 0 14px 14px; overflow: hidden; }
.color-card figure img { width: 100%; height: 100%; object-fit: cover; }
.color-card__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 8px; }
.color-card__swatches span { height: 26px; border-radius: 5px; background: var(--c); }
.color-card__body { padding: 6px 14px 18px; display: flex; flex-direction: column; flex: 1; }
.color-card__body h3 { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: 1px; margin-bottom: 6px; }
.color-card__body p { font-size: 11px; color: #77787B; line-height: 1.6; flex: 1; }
.color-card__body .btn { margin-top: 16px; align-self: center; }

.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.palette__col { display: flex; flex-direction: column; gap: 14px; }
.palette__col span {
  display: block; height: 64px; border-radius: 999px; background: var(--c);
  transition: transform .2s; cursor: pointer;
}
.palette__col span:hover { transform: scale(1.06); }

/* ============================================================
   TRANG SẢN PHẨM
   ============================================================ */
.page-hero--product { margin-bottom: 60px; }
.filter-bar {
  position: relative; margin-top: -44px; z-index: 5;
  background: #fff; border-radius: 999px;
  box-shadow: 0 18px 40px rgba(20, 26, 60, .18);
  display: flex; align-items: center; padding: 10px 14px; gap: 4px;
}
.filter-tab {
  flex: 1; border: 0; background: none; border-radius: 999px;
  padding: 14px 18px; font-size: 16.5px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; transition: .25s;
}
.filter-tab + .filter-tab::before {
  content: ""; position: absolute; left: -2px; top: 22%; height: 56%; width: 1px; background: #C4C9D6;
}
a.filter-tab { text-decoration: none; }
.filter-tab.is-active { background: var(--navy); color: #fff; }
.filter-tab.is-active::before, .filter-tab.is-active + .filter-tab::before { opacity: 0; }
.filter-tab:not(.is-active):hover { color: var(--red); }

.products { padding-top: 0; }
.products__layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 30px; align-items: stretch; }

.feature-card {
  border: 1px solid #E4D9C6; border-radius: 22px; padding: 30px;
  background: linear-gradient(180deg, #FDFDFC, #F6F4EF);
  box-shadow: 0 18px 40px rgba(20, 26, 60, .10);
  display: flex; flex-direction: column;
  /* Lưới bên phải có thể cao 2-3 hàng: gom ảnh + nội dung thành cụm
     căn giữa dọc để thẻ không bị "rỗng ruột" khi bị kéo cao. */
  justify-content: center; gap: 10px;
}
.page-sanpham .feature-card--room {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 610px;
  padding: 24px 24px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.18) 58%, rgba(255,255,255,.96) 80%),
    url("../img/product-feature-room.png") center center / cover no-repeat;
  box-shadow: none;
}
.page-sanpham .feature-card--room::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 40%, rgba(255,255,255,.06));
  pointer-events: none;
}
.page-sanpham .feature-card--room .feature-card__media {
  flex: 1 1 auto;
  width: 100%;
  min-height: 390px;
  align-items: end;
}
.page-sanpham .feature-card--room .feature-card__media img {
  width: min(88%, 440px);
  max-height: 410px;
  object-fit: contain;
  object-position: center bottom;
}
.page-sanpham .feature-card--room .feature-card__body {
  width: 100%;
  margin-top: 4px;
}
.feature-card__media { position: relative; flex: 0 1 auto; display: grid; place-items: center; }
.feature-card__media img { width: 82%; max-width: 440px; filter: drop-shadow(0 24px 30px rgba(30, 30, 60, .25)); }
.feature-card__next {
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border: 0; background: none;
  border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  border-left: 20px solid #58595B; transition: .2s;
}
.feature-card__next:hover { border-left-color: var(--navy); }
.feature-card__body { text-align: center; margin-top: 18px; }
.feature-card__body h2 { color: var(--navy); font-size: 30px; font-weight: 800; }
.feature-card__sub { color: var(--navy); font-size: 14.5px; font-weight: 600; margin: 4px 0 16px; }
.check-list {
  display: grid; grid-template-columns: repeat(2, auto); justify-content: center;
  gap: 8px 26px; text-align: left;
}
.check-list li { font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.check-list li::before {
  content: "\2713"; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid var(--navy); color: var(--navy); font-size: 10px;
  display: grid; place-items: center; font-weight: 800;
}
.check-list--lg li { font-size: 14.5px; }

.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-content: start; }
.product-card {
  background: #fff; border: 1px solid #E4D9C6; border-radius: 18px; padding: 22px 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 12px 26px rgba(20, 26, 60, .08); transition: transform .3s;
}
.product-card:hover { transform: translateY(-6px); }
.product-card figure { display: grid; place-items: center; padding: 6px 0 10px; }
.product-card figure img { width: 190px; filter: drop-shadow(0 14px 18px rgba(30,30,60,.22)); }
.product-card h3 { font-size: 19px; font-weight: 800; white-space: nowrap; }
.t-green { color: #6FA53A; }
.t-teal { color: #1D7E8C; }
.product-card__sub { font-size: 12px; font-weight: 700; color: var(--red); margin: 2px 0 12px; }
.product-card .check-list { gap: 6px 18px; }
.product-card .check-list li { font-size: 11.5px; white-space: nowrap; }
.product-card .btn { margin-top: auto; }
.product-card .check-list { margin-bottom: 16px; }

/* Khi thẻ nổi bật bị ẩn bởi bộ lọc: lưới sản phẩm chiếm cả bề ngang */
.products__layout.no-feature { grid-template-columns: 1fr; }
.products__layout.no-feature .feature-card { display: none; }
.products__layout.no-feature .products__grid { grid-template-columns: repeat(3, 1fr); }

/* Chuyển tab lọc: ẩn/hiện tức thì + làm mờ nhẹ cả khối cho mượt */
.product-card.is-hidden { display: none !important; }
.products__layout { transition: opacity .18s ease; }
.products__layout.is-filtering { opacity: 0; }

.life-strip { display: grid; grid-template-columns: .55fr 1.15fr 1.6fr; gap: 24px; margin-top: 44px; }
.life-strip figure { border-radius: 18px; overflow: hidden; }
.life-strip__can { display: grid; place-items: center; background: #fff; }
.life-strip__can img { width: 100%; object-fit: contain; }
.life-strip__img img { width: 100%; height: 240px; object-fit: cover; }

/* Không gian truyền cảm hứng */
.spaces__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.space-card { position: relative; display: block; }
.space-card figure {
  border-radius: 18px; overflow: hidden; border: 1px solid #E4D9C6;
  box-shadow: 0 12px 26px rgba(20, 26, 60, .10);
}
.space-card figure img { width: 100%; height: 215px; object-fit: cover; transition: transform .4s; }
.space-card:hover figure img { transform: scale(1.06); }
.space-card__label {
  display: block; margin: -22px auto 0; position: relative; z-index: 2; width: 86%;
  background: #fff; border-radius: 999px; padding: 10px;
  text-align: center; font-size: 17px; font-weight: 700; color: var(--navy);
  box-shadow: 0 10px 22px rgba(20, 26, 60, .16);
}
.tech-badges { display: flex; justify-content: center; align-items: center; gap: 70px; margin-top: 56px; flex-wrap: wrap; }
.tech-badges img { height: 110px; width: auto; object-fit: contain; }

/* Bố cục riêng của trang sản phẩm theo artwork desktop. */
@media (min-width: 1121px) {
  .page-sanpham .page-hero--product { margin-bottom: 42px; }
  .page-sanpham .filter-bar { padding: 5px 10px; }
  .page-sanpham .filter-tab { padding-block: 11px; }
  .page-sanpham .products__layout {
    grid-template-columns: .88fr 1.12fr;
    gap: 18px;
  }
  .page-sanpham .products__grid { gap: 14px; }
  .page-sanpham .product-card {
    min-height: 298px;
    padding: 12px 12px 10px;
    border-radius: 16px;
    box-shadow: none;
  }
  .page-sanpham .product-card figure { padding: 0 0 5px; }
  .page-sanpham .product-card figure img { width: 145px; max-height: 148px; object-fit: contain; }
  .page-sanpham .product-card h3 { font-size: 15px; }
  .page-sanpham .product-card__sub { font-size: 9.5px; margin: 1px 0 7px; }
  .page-sanpham .product-card .check-list { gap: 3px 9px; margin-bottom: 8px; }
  .page-sanpham .product-card .check-list li { font-size: 8.5px; }
  .page-sanpham .product-card .check-list li::before { width: 12px; height: 12px; font-size: 8px; }
  .page-sanpham .product-card .btn { padding: 5px 13px; font-size: 9px; }
  .page-sanpham .life-strip { gap: 12px; margin-top: 24px; }
  .page-sanpham .life-strip figure { border-radius: 13px; }
  .page-sanpham .life-strip__img img { height: 198px; }
  .page-sanpham .spaces { padding-top: 18px; }
  .page-sanpham .spaces__grid { gap: 18px; }
  .page-sanpham .space-card figure { border-radius: 15px; box-shadow: none; }
  .page-sanpham .space-card figure img { height: 205px; }
  .page-sanpham .space-card__label {
    margin-top: -18px;
    padding: 6px 10px;
    font-size: 14px;
    box-shadow: none;
    border: 1px solid #cbd2e5;
  }
}

@media (max-width: 767px) {
  .page-sanpham .products__layout > * { min-width: 0; }
  .page-sanpham .feature-card--room {
    width: 100%;
    min-height: 540px;
    padding: 20px 16px 16px;
    background-position: 58% center;
  }
  .page-sanpham .feature-card--room .feature-card__media { min-height: 330px; }
  .page-sanpham .feature-card--room .feature-card__media img {
    width: min(86%, 340px);
    max-width: 100%;
    max-height: 340px;
  }
  .page-sanpham .feature-card--room .check-list {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
  }
  .page-sanpham .feature-card--room .check-list li {
    min-width: 0;
    white-space: normal;
    font-size: 11px;
  }
}

/* ============================================================
   TRANG CHI TIẾT SẢN PHẨM
   ============================================================ */
.detail { padding: 34px 0 0; }
.detail__head { margin-bottom: 34px; }
.detail__name {
  display: flex; align-items: center; gap: 14px;
  color: var(--navy); font-size: 44px; font-weight: 800; letter-spacing: 1px;
  position: relative;
}
.detail__name i { width: 16px; height: 34px; background: var(--navy); opacity: .85; }
.detail__name::after {
  content: ""; position: absolute; left: 0; right: -8vw; bottom: -8px; height: 12px;
  background: var(--navy); opacity: .3;
}
.detail__type {
  color: #1D62A8; font-size: 19px; font-weight: 700; margin-top: 26px;
  width: fit-content; border-bottom: 2px solid #1D62A8; padding-bottom: 6px;
}
.detail__media { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; margin-bottom: 44px; }
.detail__cans { position: relative; display: grid; place-items: center; }
.detail__cans img { width: 88%; }
.detail__code {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: #3C4B23; color: #fff; font-weight: 800; font-size: 20px;
  padding: 6px 34px; border-radius: 8px; border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
}
.detail__room { border-radius: 14px; overflow: hidden; }
.detail__room img { width: 100%; height: 340px; object-fit: cover; }

.detail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.detail-block { margin-bottom: 30px; border-bottom: 2px solid #1D62A8; padding-bottom: 20px; }
.detail-block:last-child { border-bottom: 0; }
.detail-block h2 { color: #1D62A8; font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.detail-block p { font-size: 15.5px; line-height: 1.8; text-align: justify; color: #333; }
.detail-block p strong { font-weight: 700; }
.detail-block ul { padding-left: 4px; }
.detail-block ul li {
  position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.8; color: #333;
}
.detail-block ul li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: #333;
}

.paint-table { width: 100%; border-collapse: collapse; }
.paint-table th, .paint-table td {
  border: 1.5px solid #1D62A8; padding: 9px 16px; font-size: 15.5px; text-align: left;
}
.paint-table th { color: #1D62A8; font-weight: 700; text-align: center; }
.paint-table td:first-child { color: #1D62A8; font-weight: 600; width: 34%; }

.detail__foot { display: grid; grid-template-columns: 1.75fr 1fr; gap: 40px; margin: 26px 0 50px; align-items: stretch; }
.detail__street { border-radius: 16px; overflow: hidden; }
.detail__street img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.detail__specs { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.spec-row { display: flex; gap: 16px; align-items: stretch; }
.spec-box { border: 2px solid #1D62A8; border-radius: 10px; overflow: hidden; text-align: center; flex: 1; }
.spec-box__label {
  color: #1D62A8; font-weight: 700; font-size: 14px; padding: 7px 10px;
  border-bottom: 2px solid #1D62A8;
}
.spec-box__value { color: var(--navy); font-weight: 800; font-size: 24px; padding: 8px 10px; }
.spec-box__value span { color: #1D62A8; font-weight: 400; margin: 0 8px; }
.spec-qr { width: 84px; height: 84px; object-fit: contain; align-self: center; }
.spec-row--iso { justify-content: center; gap: 26px; }
.spec-row--iso img { height: 92px; width: auto; object-fit: contain; }
.spec-box--size { flex: 0 0 auto; }

.detail__ribbon { background: #E03A3A; color: #fff; }
.detail__ribbon-inner { display: flex; justify-content: space-between; padding: 13px 0; }
.detail__ribbon-inner p { font-size: 17px; font-weight: 700; }
.detail__ribbon-inner p:last-child { font-weight: 500; }
.page-chitiet .site-footer { margin-top: 0; }

/* ============================================================
   TRANG TIN TỨC
   ============================================================ */
.news-featured-wrap { padding-bottom: 20px; }
.news-featured {
  border: 1.5px solid #C9CDD6; border-radius: 24px; padding: 26px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center;
  background: #fff;
}
.news-featured figure { border-radius: 16px; overflow: hidden; }
.news-featured figure img { width: 100%; height: 290px; object-fit: cover; }
.news-featured__body h2 { color: var(--navy-title); font-size: 27px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
.news-featured__body p { font-size: 15px; line-height: 1.8; text-align: justify; color: #333; margin-bottom: 22px; }

.news-grid-wrap { padding-top: 20px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  border: 1.5px solid #C9CDD6; border-radius: 16px; overflow: hidden; background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20,26,60,.12); }
.news-card figure { padding: 10px 10px 0; }
.news-card figure img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; }
.news-card__body { padding: 14px 18px 20px; }
.news-card__meta { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.news-card__meta .cat { color: var(--red); font-weight: 600; }
.news-card__meta time { color: #333; }
.news-card__body h3 { color: var(--navy-title); font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.news-card__body p { font-size: 14px; line-height: 1.7; color: #333; margin-bottom: 16px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 44px 0 30px; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #9AA1B5;
  display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--navy);
  transition: .2s; padding: 0 6px;
}
.page-btn--nav { border-radius: 12px; }
.page-btn:hover { border-color: var(--navy); }
.page-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.page-dots { color: #666; letter-spacing: 2px; }
.news-banner { border-radius: 16px; overflow: hidden; margin-top: 14px; }
.news-banner img { width: 100%; height: auto; }

/* ============================================================
   TRANG NHÀ MÁY
   ============================================================ */
.factory-intro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.factory-intro__img { border-radius: 26px; overflow: hidden; }
.factory-intro__img img { width: 100%; height: 400px; object-fit: cover; }
.factory-intro__body h3 { color: var(--navy); font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.factory-intro__body p { font-size: 15.5px; line-height: 1.85; text-align: justify; color: #333; margin-bottom: 14px; }
.factory-intro__body .check-list { justify-content: start; margin-top: 8px; }
.stats--factory { margin-top: 48px; }
.stat-pill small { font-size: 15px; }

.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.process-step {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 46px 20px 24px; text-align: center; position: relative; margin-top: 26px;
  box-shadow: 0 14px 30px rgba(20, 26, 60, .08); transition: transform .3s;
}
.process-step:hover { transform: translateY(-6px); }
.process-step__num {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 22px; font-weight: 800;
  border: 4px solid #fff; box-shadow: 0 8px 18px rgba(20, 26, 60, .22);
}
.process-step h3 { color: var(--navy); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 12.5px; line-height: 1.7; color: #58595B; }

.certs__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cert-card {
  background: #fff; border: 1px solid #E4D9C6; border-radius: 20px; padding: 24px 18px;
  text-align: center; box-shadow: 0 12px 26px rgba(20, 26, 60, .08); transition: transform .3s;
}
.cert-card:hover { transform: translateY(-6px); }
.cert-card img { height: 84px; width: auto; object-fit: contain; margin: 0 auto 14px; }
.cert-card h3 { color: var(--navy); font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.cert-card p { font-size: 12.5px; line-height: 1.65; color: #58595B; }

.cta-strip {
  background: linear-gradient(110deg, var(--navy-deep), var(--navy));
  border-radius: 26px; color: #fff; padding: 40px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
}
.cta-strip h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cta-strip p { font-size: 14.5px; line-height: 1.7; color: #D6DBEC; max-width: 640px; }
.btn--gold {
  background: linear-gradient(135deg, #E8C878, #C9A24B); color: #1E2544;
  white-space: nowrap; padding: 15px 38px;
}
.btn--gold:hover { filter: brightness(1.08); }

/* ============================================================
   TRANG LIÊN HỆ
   ============================================================ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 44px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 26px; text-align: center;
  box-shadow: 0 14px 30px rgba(20, 26, 60, .08); transition: transform .3s;
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card__ico {
  width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--navy);
  display: inline-block; position: relative; margin-bottom: 14px;
}
.contact-card__ico::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px;
  background: var(--navy); -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.contact-card__ico--phone::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.contact-card__ico--mail::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 7L4 6v12h16V6l-8 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm8 7L4 6v12h16V6l-8 5z'/%3E%3C/svg%3E"); }
.contact-card__ico--pin::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E"); }
.contact-card h3 { color: var(--navy); font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.contact-card p { color: var(--ink); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.contact-card span { font-size: 12.5px; color: #77787B; }

.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: stretch; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px;
  box-shadow: 0 14px 30px rgba(20, 26, 60, .08);
}
.contact-form h3 { color: var(--navy); font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.contact-form__note { font-size: 13.5px; color: #58595B; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-field label em { color: var(--red); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1.5px solid #C9CDD6; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #FAFBFC; outline: none; transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); background: #fff; }
.form-field input.is-error, .form-field textarea.is-error { border-color: var(--red); }
.form-field textarea { resize: vertical; }
.contact-form .btn { margin-top: 6px; }
.contact-form__done { margin-top: 16px; color: #2E7D32; font-weight: 600; font-size: 14.5px; }

.contact-map { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(20, 26, 60, .08); }
.contact-map iframe { width: 100%; flex: 1; min-height: 340px; border: 0; display: block; }
.contact-map__note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: var(--navy-footer); color: #C9D0E0; }
.contact-map__note p { font-size: 13px; line-height: 1.7; }
.contact-map__note strong { color: #fff; }

/* ============================================================
   TRANG CHI TIẾT BÀI VIẾT
   ============================================================ */
.article-page { padding-top: 26px; }
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }

.breadcrumb { font-size: 13.5px; color: #77787B; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }

.article__meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #58595B; margin-bottom: 12px; }
.article__meta .cat { color: var(--red); font-weight: 700; }
.article__meta .dot { color: #B4B7C0; }
.article__head h1 { color: var(--navy-title); font-size: 38px; font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.article__lead { font-size: 16.5px; line-height: 1.8; color: #58595B; margin-bottom: 24px; }
.article__hero { border-radius: 22px; overflow: hidden; margin-bottom: 30px; }
.article__hero img { width: 100%; height: 420px; object-fit: cover; }

.article__body h2 { color: var(--navy); font-size: 23px; font-weight: 800; margin: 30px 0 12px; }
.article__body p { font-size: 15.5px; line-height: 1.9; color: #333; text-align: justify; margin-bottom: 14px; }
.article__body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--red); }
.article__quote {
  background: var(--navy-deep); color: #fff; border-radius: 26px 90px 90px 26px;
  padding: 30px 40px; margin: 26px 0;
}
.article__quote p { color: #fff; font-style: italic; font-size: 16.5px; margin-bottom: 8px; text-align: left; }
.article__quote cite { font-size: 13px; color: #B9C1DC; font-style: normal; }
.article__tips { justify-content: start; grid-template-columns: repeat(2, auto); margin: 12px 0 16px; }

.article__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1.5px solid var(--line); margin-top: 30px; padding-top: 20px;
}
.article__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.article__tags a {
  background: #F0F2F8; color: var(--navy); font-size: 13px; font-weight: 600;
  border-radius: 999px; padding: 7px 16px; transition: .2s;
}
.article__tags a:hover { background: var(--navy); color: #fff; }
.article__share { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #58595B; }
.article__share a {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #C9CDD6;
  display: grid; place-items: center; color: var(--navy); transition: .2s;
}
.article__share a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.article__share .zalo { font-size: 8.5px; font-weight: 800; }

.article-side { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 90px; }
.side-box {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  box-shadow: 0 14px 30px rgba(20, 26, 60, .08);
}
.side-box h3 { color: var(--navy); font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.side-post { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid #EEF0F5; }
.side-post:first-of-type { border-top: 0; padding-top: 0; }
.side-post img { width: 74px; height: 58px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.side-post h4 { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: 3px; transition: .2s; }
.side-post:hover h4 { color: var(--navy); }
.side-post time { font-size: 12px; color: #8A8D93; }
.side-box--cta { background: linear-gradient(160deg, #F6F7FB, #EDF0F8); text-align: center; }
.side-box--cta p { font-size: 13.5px; color: #58595B; line-height: 1.7; margin-bottom: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .idea__grid { grid-template-columns: 1fr; }
  .products__layout { grid-template-columns: 1fr; }
  .color-cards { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .detail__cols { grid-template-columns: 1fr; gap: 0; }
  .process__grid, .certs__grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}

@media (max-width: 860px) {
  .site-logo img { width: 260px; }
  .nav-toggle { display: block; }
  .main-nav__inner { justify-content: flex-start; }
  .nav-list {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 8px 0;
    box-shadow: 0 20px 40px rgba(15,23,66,.18);
  }
  .nav-list.is-open { display: flex; }
  .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; display: none; padding-left: 20px; }
  .nav-list > li.is-open .sub-menu { display: block; }
  .badge-strip { flex-wrap: wrap; gap: 18px; border-radius: 24px; margin-top: -30px; padding: 20px; }
  .badge-item { flex: 1 1 30%; }
  .badge-item img { width: 60px; height: 60px; }
  .badge-item + .badge-item::before { display: none; }
  .collection__top, .collection__bottom { grid-template-columns: 1fr; }
  .catalog__cats { grid-template-columns: repeat(2, 1fr); }
  .latest__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { flex-direction: column; gap: 18px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__title--right, .about__title--endquote { margin-left: 0; }
  .about__row, .about__row--right { width: 100%; }
  .about__row--right .about__title { margin-left: 0; }
  .filter-bar { flex-wrap: wrap; border-radius: 22px; }
  .filter-tab { flex: 1 1 45%; }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .product-card, .product-card--lg { grid-column: span 1; }
  .life-strip { grid-template-columns: 1fr; }
  .spaces__grid { grid-template-columns: repeat(2, 1fr); }
  .color-cards { grid-template-columns: repeat(2, 1fr); }
  .palette { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .detail__media { grid-template-columns: 1fr; }
  .detail__foot { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .fancy-title { font-size: 22px; }
  .orn { width: 60px; }
  .dot-grid span { width: 44px; height: 44px; }
  .factory-intro__grid { grid-template-columns: 1fr; }
  .process__grid, .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; text-align: center; padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .article__head h1 { font-size: 28px; }
  .article__hero img { height: 260px; }
  .article__tips { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .color-cards, .products__grid, .spaces__grid, .latest__grid { grid-template-columns: 1fr; }
  .palette { grid-template-columns: repeat(2, 1fr); }
  .catalog__cats { grid-template-columns: 1fr; }
  .catalog__brand { font-size: 38px; }
  .idea__photo-row { grid-template-columns: 1fr; height: auto; }
  .idea__photo--tall { height: 320px; }
  .idea__photo-row .idea__photo { height: 240px; }
  .about__title { font-size: 36px; }
  .detail__name { font-size: 30px; }
}

/* ============================================================
   TINH CHỈNH RESPONSIVE (bổ sung — ghi đè các khối media phía trên)
   ============================================================ */

/* Chặn tràn ngang toàn cục (thanh trang trí .detail__name::after kéo -8vw
   là chủ đích full-bleed của thiết kế — chỉ cần cắt phần thừa). */
html, body { overflow-x: clip; }

@media (max-width: 860px) {
  /* Menu mobile dài hơn màn hình thì cuộn được */
  .nav-list {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list > li > a { padding: 12px 20px; }

  /* Hero các trang: giữ chiều cao dễ nhìn thay vì dải mỏng theo tỉ lệ gốc */
  .hero__img,
  .page-hero img {
    min-height: 230px;
    max-height: 360px;
    object-fit: cover;
  }

  /* Dải cam kết: mỗi hàng 3 huy hiệu, thu icon và chữ */
  .badge-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
  }
  .badge-item img { width: 64px; height: 64px; }
  .badge-item p { font-size: 12px; }

  /* Bộ chọn tông màu: cho phép xuống hàng, canh giữa */
  .hue-picker { flex-wrap: wrap; justify-content: center; }

  /* Lưới chấm màu: chấm co giãn theo cột, không tràn */
  .dot-grid { gap: 14px 16px; max-width: 100%; }
  .dot-grid span {
    width: 100%;
    max-width: 52px;
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
  }

  /* Thanh tiêu đề NANO PRIMER: bớt phần kéo tràn phải */
  .detail__name::after { right: -4vw; }
  .detail__type { font-size: 16px; }

  /* Phân trang không bị tràn khi nhiều số */
  .pagination { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 520px) {
  /* Khối "Ý tưởng MÀU SẮC": gọn lại để tiêu đề nằm 1 dòng */
  .idea { padding-top: 44px; }
  .idea__head { gap: 14px; margin-bottom: 16px; }
  .color-wheel { width: 84px; height: 84px; }
  .color-wheel span { width: 36px; height: 36px; }
  .idea__title span { font-size: 24px; }
  .idea__title strong { font-size: 30px; letter-spacing: .5px; }
  .idea__right { padding: 14px; gap: 14px; border-radius: 24px; }

  /* Dải cam kết siêu gọn trên màn hẹp */
  .badge-strip { padding: 16px 12px; margin-top: -22px; }
  .badge-item img { width: 52px; height: 52px; }
  .badge-item p { font-size: 10.5px; }

  /* Tiêu đề hoa văn: rút ngắn hoạ tiết, tránh xuống 2 dòng chữ */
  .fancy-title { font-size: 19px; gap: 10px; }
  .orn { width: 34px; }
  .orn::after { display: none; }

  /* Bộ sưu tập & danh mục */
  .collection__title span { font-size: 26px; }
  .collection__title strong { font-size: 38px; margin-bottom: 16px; }
  .collection__main img, .collection__small img, .collection__wide img { height: 240px; }

  /* Màu sắc mới nhất: giảm chiều cao từng ô trên màn trung bình */
  .latest__swatch { height: 210px; }
  .latest__photo { height: 200px; }

  /* Thống kê + Về chúng tôi */
  .stat-pill, .stat-pill--big { width: min(100%, 340px); min-width: 0; padding: 22px 30px; }
  .stat-pill strong, .stat-pill--big strong { font-size: 36px; }
  .about__title { font-size: 30px; }
  .about__title--quote::before { top: -30px; left: -16px; font-size: 72px; }
  .about__title--endquote::after { top: -26px; right: -24px; font-size: 72px; }
  .about__blob { padding: 26px 24px; }
  .about__blob p { font-size: 14.5px; line-height: 1.75; }
  .about__blob--left { border-radius: 34px 80px 80px 34px; }
  .about__blob--right { border-radius: 80px 34px 34px 80px; }

  /* Trang sản phẩm */
  .filter-tab { flex: 1 1 100%; font-size: 15px; padding: 11px 14px; }
  .filter-tab + .filter-tab::before { display: none; }
  .feature-card { padding: 20px; }
  .feature-card__body h2 { font-size: 24px; }

  /* Trang chi tiết sản phẩm */
  .detail__name { gap: 10px; }
  .detail__name i { width: 10px; height: 24px; }
  .detail__code { font-size: 16px; padding: 5px 26px; }
  .detail__room img { height: 240px; }
  .spec-row--iso img { height: 72px; }
  .detail__ribbon-inner { flex-direction: column; gap: 2px; text-align: center; }

  /* Bài viết */
  .article__quote { padding: 24px 26px; border-radius: 20px 56px 56px 20px; }
  .article__foot { flex-direction: column; align-items: flex-start; }

  /* CTA + liên hệ */
  .cta-strip h2 { font-size: 21px; }
  .contact-form { padding: 24px 20px; }

  /* Footer */
  .footer__grid { padding: 40px 0 30px; gap: 26px; }
}

/* ============================================================
   TINH CHỈNH RESPONSIVE ĐỢT 2 (theo audit ảnh chụp mobile/tablet)
   ============================================================ */

@media (max-width: 860px) {
  /* Header gọn: bớt khoảng trắng quanh logo, thanh nav mỏng hơn */
  .site-header { padding: 12px 0 10px; }
  .site-logo img { width: 210px; }
  .nav-toggle { padding: 8px 12px; }

  /* Slider sản phẩm nổi bật: mũi tên không đè lên ảnh thùng sơn */
  .feature-card { padding: 24px 34px 24px 24px; }
  .feature-card__next { right: 8px; }

  /* Trang sản phẩm có bộ lọc (?loai=...): rule desktop
     ".products__layout.no-feature .products__grid" đặt cứng 3 cột và
     thắng mọi rule mobile vì specificity cao hơn — ép lại 2 cột ở đây. */
  .products__layout.no-feature .products__grid { grid-template-columns: repeat(2, 1fr); }

  /* Dải huy hiệu công nghệ: gap 70px làm hàng cách nhau quá xa khi wrap */
  .tech-badges { gap: 24px 32px; margin-top: 36px; }
  .tech-badges img { height: 80px; }

  /* Dải ảnh đời sống: thùng sơn đứng riêng quá to, ảnh phòng mất ngữ cảnh */
  .life-strip { gap: 16px; margin-top: 32px; }
  .life-strip__can img { max-width: 240px; margin-inline: auto; }
  .life-strip__img img { height: 200px; }

  /* Ribbon "PROFILE NANOHOME" là chi tiết của bản in, gây rối trên mobile */
  .detail__ribbon { display: none; }
}

@media (max-width: 520px) {
  /* Danh mục sản phẩm: xếp nút 2 cột cho gọn trên mobile */
  .catalog { padding: 24px 0 36px; }
  .catalog__label { padding: 8px 24px; margin-bottom: -24px; gap: 10px; }
  .catalog__label svg { width: 36px; height: 36px; }
  .catalog__label-text span { font-size: 13px; }
  .catalog__label-text strong { font-size: 18px; }
  .catalog__brand-pill { margin: -30px auto 20px; padding: 10px 28px 12px; }
  .catalog__brand { font-size: 28px; }
  .catalog__slogan { font-size: 10px; letter-spacing: 1.5px; }
  .catalog__slogan::before, .catalog__slogan::after { width: 30px; }
  .catalog__cats { grid-template-columns: repeat(2, 1fr); gap: 12px 14px; }
  .catalog__cat-btn { font-size: 13px; padding: 11px 12px; }
  .down-arrow { border-left-width: 7px; border-right-width: 7px; border-top-width: 9px; margin-bottom: 6px; }

  /* Màu sắc mới nhất: giữ 2 cột trên tablet/mobile với chiều cao & lề tối ưu */
  .latest { padding: 36px 0 48px; }
  .latest__header { margin-bottom: 24px; }
  .latest__heading img { width: 220px; }
  .latest__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .latest__swatch { height: 280px; padding: 16px; border-radius: 22px; }
  .latest__swatch-code { font-size: 18px; }
  .latest__drawer-inner { padding-top: 14px; }
  .latest__photo { height: 280px; border-radius: 22px; }
  .latest__photo-code { font-size: 18px; bottom: 16px; }

  /* Bảng màu NANOHOME: pill nhỏ lại, 3 cột — trang ngắn đi hơn nửa */
  .palette { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .palette__col { gap: 8px; }
  .palette__col span { height: 34px; }

  /* Lưới chấm màu "Ý tưởng màu sắc": chấm nhỏ, dày hơn */
  .dot-grid { grid-template-columns: repeat(6, 1fr); gap: 10px 12px; }
  .dot-grid span { max-width: 40px; }
  .idea__photo--tall { height: 260px; }
  .idea__photo-row .idea__photo { height: 200px; }

  /* Thống kê: pill vừa phải, không choán cả màn hình */
  .stats { gap: 12px; }
  .stat-pill, .stat-pill--big { padding: 16px 26px; }
  .stat-pill strong, .stat-pill--big strong { font-size: 30px; }
  .stat-pill span { font-size: 12px; }

  /* Lưới sản phẩm màn hẹp: carousel vuốt ngang với scroll-snap —
     mỗi thẻ chiếm ~78% để thẻ kế tiếp ló ra, gợi ý vuốt được.
     Selector kèm .no-feature để thắng rule 3 cột của desktop. */
  .products__grid,
  .products__layout.no-feature .products__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    gap: 14px;
    padding: 4px 4px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .products__grid .product-card { scroll-snap-align: center; }
  .product-card h3 { font-size: 17px; }
}

/* ============================================================
   MENU MOBILE — DRAWER TRƯỢT TỪ PHẢI
   (ghi đè kiểu dropdown cũ trong khối @media 860px phía trên)
   ============================================================ */

/* Các phần tử chỉ dành cho drawer: ẩn trên desktop */
.nav-mobile-logo, .nav-drawer__head, .nav-drawer__foot { display: none; }

/* Lớp phủ tối sau drawer (JS chèn vào body).
   z-index phải THẤP hơn .main-nav (z 50) vì drawer nằm trong stacking
   context của .main-nav — nếu cao hơn sẽ đè mờ và chặn click cả drawer. */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(13, 19, 51, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  touch-action: none; /* chặn cử chỉ cuộn trang trên vùng phủ tối */
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  /* Header một hàng: burger trái — logo giữa — khoảng đệm phải */
  .site-header { display: none; }
  .main-nav {
    position: sticky; top: 0;
    background: #fff; border-top: 0;
    box-shadow: 0 2px 14px rgba(15, 23, 66, .10);
  }
  .main-nav__inner { justify-content: space-between; align-items: center; min-height: 56px; }
  .main-nav__inner::after { content: ""; width: 48px; }
  .nav-toggle { width: 48px; }
  .nav-mobile-logo { display: block; }
  .nav-mobile-logo img { width: 148px; height: auto; display: block; }

  /* Drawer: panel cố định bên phải, nền navy thương hiệu */
  .nav-list {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(340px, 86vw); height: 100dvh; max-height: none;
    background: linear-gradient(185deg, #1B2559 0%, #2B3880 70%, #253070 100%);
    padding: 0 0 22px; box-shadow: -24px 0 60px rgba(10, 15, 40, .38);
    transform: translateX(105%); visibility: hidden;
    transition: transform .38s cubic-bezier(.22, .8, .26, 1), visibility .38s;
    overflow-y: auto; overscroll-behavior: contain; z-index: 99;
  }
  .nav-list.is-open { transform: none; visibility: visible; }

  /* Đầu drawer: thương hiệu + nút đóng */
  .nav-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav-drawer__brand { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: 2px; }
  .nav-drawer__brand em { font-style: normal; color: var(--gold); }
  .nav-close {
    position: relative; width: 36px; height: 36px; flex: 0 0 auto;
    background: none; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
    transition: .2s;
  }
  .nav-close:hover { background: rgba(255, 255, 255, .12); }
  .nav-close span {
    position: absolute; left: 50%; top: 50%; width: 16px; height: 2px;
    background: #fff; border-radius: 2px;
  }
  .nav-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  .nav-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

  /* Link cấp 1: chữ trắng, kẻ phân cách mảnh */
  .nav-list > li { margin: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-list > li:last-of-type { border-bottom: 0; }
  .nav-list > li > a {
    justify-content: space-between; padding: 14px 8px;
    color: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: .3px;
  }
  .nav-list > li > a:hover,
  .nav-list > li.is-active > a,
  .nav-list > li.current-menu-item > a { color: var(--gold); }
  .nav-list .caret {
    border-top-color: rgba(255, 255, 255, .75);
    transition: transform .25s;
  }
  .nav-list > li.is-open .caret { transform: rotate(180deg); }

  /* Submenu accordion: ô bo tròn mờ trong drawer.
     Phải triệt tiêu transform translate(-50%) của dropdown desktop
     (rule ".nav-list > li.is-open .sub-menu" có specificity cao hơn). */
  .sub-menu,
  .nav-list > li:hover .sub-menu,
  .nav-list > li.is-open .sub-menu { transform: none; }
  .sub-menu {
    background: rgba(255, 255, 255, .06); border-radius: 12px;
    margin: 0 2px 12px; padding: 6px 4px;
  }
  .sub-menu a { color: rgba(255, 255, 255, .85); font-size: 14px; padding: 10px 16px; }
  .sub-menu a:hover { background: rgba(255, 255, 255, .10); color: #fff; }

  /* Cuối drawer: nút hotline vàng nổi bật */
  .nav-drawer__foot { display: block; margin: auto 16px 0; padding: 18px 4px 0; border-bottom: 0; }
  /* thắng rule ".nav-list > li > a { justify-content: space-between }" */
  .nav-list > .nav-drawer__foot > a.nav-drawer__hotline { justify-content: center; gap: 10px; }
  .nav-drawer__hotline {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(120deg, #E0B45C, #C89235);
    color: #16224D; font-size: 16.5px; font-weight: 800;
    border-radius: 999px; padding: 12px;
  }
  .nav-drawer__hotline .ico { border-color: #16224D; }
  .nav-drawer__hotline .ico::before { background: #16224D; }

}


/* //custom */
.container.catalog__nav.reveal {
  margin-top: 2rem;
}
