/* =====================================================================
   BMD FURNITURE — SHARED DESIGN SYSTEM
   Used by index.html, sofa.html, san-pham.html. Do not fork this file.

   CLASS INDEX
   -----------
   Layout      .container .start-N .span-N .section .section--emphasis
               .section--dense .bg-ink .bg-oat .bg-paper .full-bleed
               .skip-link .visually-hidden .rule
   Type        .eyebrow .h1-hero .h2 .h3 .lead .price .price-hero
               .h1-product .numeral .numeral-sm .micro .small
   Buttons     .btn .btn--primary .btn--secondary .btn--secondary-on-ink
               .btn--zalo .btn--lg .btn--icon .link-text .link-text--on-ink
   Header      .site-header .site-header--transparent .is-condensed .logo
               .logo__sub .header-inner .header-nav .header-actions
               .phone-link .header-zalo .menu-toggle .header-zalo-icon
   Drawer      .drawer .drawer__backdrop .drawer__panel .drawer__row
               .drawer__nav .drawer__hotline .drawer__showroom .drawer__zalo
   Sticky bar  .sticky-bar .sticky-bar--product .sticky-bar__call
               .sticky-bar__zalo .sticky-bar__primary .sticky-bar__price
   Floating    .zalo-float
   Proof band  .proof-band .proof-band--feature .proof-band--inline
               .proof-band__intro .proof-grid .proof-entry .brass-tick
   Tiles       .tile-grid .tile .tile__media .tile__name .tile__price
   Budget      .budget-grid .budget-card .budget-card__band
   Product card .product-card .product-card__media .product-card__body
               .product-card__name .product-card__material .product-card__price
               .product-card__instalment .product-card__spec .badge-warranty
   Price block .price-full .price-disclosure .price-panel
   Numerals    .numerals-row .numeral-item
   Cost chain  .cost-chain-card .cost-chain-figure .svgtxt-*
   Policy      .policy-columns .policy-col .policy-row .maintenance-strip
   Testimonial .testimonial-lead .testimonial-support
   Showroom    .showroom .showroom--compact .showroom__media
               .showroom__content .hours-table .map-facade
   Accordion   .accordion .accordion__item .accordion__trigger
               .accordion__panel .spec-table
   Filters     .chip .filter-rail .filter-group .sort-select
               .mobile-filter-bar .sheet
   Gallery     .gallery .gallery__main .gallery__thumbs .gallery__thumb
   Trust row   .trust-row .trust-item
   Footer      .site-footer .footer-grid .footer-brand .footer-group
               .footer-b2b .footer-bottom
   Motion      .reveal .reveal.is-visible
   Category    .category-header .category-rail .category-controls .category-content
               .active-filters .active-filter-chip .category-empty .filter-badge
               .sheet__header .sheet__body .sheet__footer .sort-radio__row
               .material-card .material-table__row
   ===================================================================== */

/* ---------- Tokens ---------- */
:root{
  --ink:#1B1815;
  --ink-soft:#4A443C;
  --paper:#FBF8F3;
  --oat:#F0E9DD;
  --sand:#E2D7C5;
  --walnut:#7A5233;
  --clay:#B4472C;
  --clay-dark:#8F3720;
  --brass:#C39A57;
  --sage:#5F6B52;
  --zalo:#0068FF;
  --zalo-hover:#0057D9;

  --paper-78: rgba(251,248,243,.78);
  --paper-62: rgba(251,248,243,.62);
  --paper-50: rgba(251,248,243,.5);
  --rule-ink: rgba(226,215,197,.20);
  --rule-ink-16: rgba(226,215,197,.16);
  --rule-light:#E2D7C5;

  --radius-btn:8px;
  --radius-card:12px;
  --radius-pill:999px;

  --shadow-rest: 0 2px 8px rgba(27,24,21,.06);
  --shadow-hover: 0 10px 32px rgba(27,24,21,.12);
  --shadow-lift: 0 10px 32px rgba(27,24,21,.28);
  --shadow-bar: 0 -2px 12px rgba(27,24,21,.06);

  --ease: cubic-bezier(.2,.6,.2,1);

  --font-display:'Playfair Display', Georgia, serif;
  --font-body:'Be Vietnam Pro', -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input,select,textarea{ font:inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,p,figure{ margin:0; }
table{ border-collapse:collapse; width:100%; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ transform:none !important; transition:opacity 120ms linear !important; }
  .drawer__panel,.drawer__backdrop,.sheet__panel,.sheet__backdrop{ transition:opacity 1ms linear, transform 1ms linear !important; }
  .product-card:hover .product-card__media img,
  .tile:hover .tile__media img,
  .btn{ transform:none !important; }
  *{ animation-duration:.01ms !important; }
}

/* ---------- Focus ---------- */
:focus-visible{ outline:2px solid var(--clay); outline-offset:2px; }
.bg-ink :focus-visible,
.site-header--transparent:not(.is-condensed) :focus-visible{ outline-color:var(--brass); }
.accordion__trigger:focus-visible,
.gallery__thumb:focus-visible{ outline-offset:-2px; }

.skip-link{
  position:absolute; left:12px; top:-60px;
  background:var(--clay); color:var(--paper);
  font-family:var(--font-body); font-weight:600; font-size:16px;
  padding:12px 20px; border-radius:var(--radius-btn);
  z-index:200; transition:top 200ms var(--ease);
}
.skip-link:focus{ top:12px; }

.visually-hidden{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; padding:0; margin:-1px;
}

/* ---------- Grid ---------- */
.container{
  width:100%;
  max-width:1240px;
  margin-inline:auto;
  padding-inline:20px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.container > *{ grid-column:1 / -1; }

@media (min-width:600px){
  .container{ padding-inline:24px; grid-template-columns:repeat(6,1fr); gap:20px; }
}
@media (min-width:900px){
  .container{ padding-inline:24px; grid-template-columns:repeat(12,1fr); gap:24px; }
}
@media (min-width:1240px){
  .container{ padding-inline:0; }
}

@media (min-width:900px){
  .start-1{ grid-column-start:1; } .start-2{ grid-column-start:2; }
  .start-3{ grid-column-start:3; } .start-4{ grid-column-start:4; }
  .start-5{ grid-column-start:5; } .start-6{ grid-column-start:6; }
  .start-7{ grid-column-start:7; } .start-8{ grid-column-start:8; }
  .start-9{ grid-column-start:9; } .start-10{ grid-column-start:10; }
  .start-11{ grid-column-start:11; }
  .span-1{ grid-column-end:span 1; } .span-2{ grid-column-end:span 2; }
  .span-3{ grid-column-end:span 3; } .span-4{ grid-column-end:span 4; }
  .span-5{ grid-column-end:span 5; } .span-6{ grid-column-end:span 6; }
  .span-7{ grid-column-end:span 7; } .span-8{ grid-column-end:span 8; }
  .span-9{ grid-column-end:span 9; } .span-10{ grid-column-end:span 10; }
  .span-12{ grid-column-end:span 12; }
}

.full-bleed{ width:100%; }

/* ---------- Section rhythm ---------- */
.section{ padding-block:64px; }
.section--dense{ padding-block:48px; }
.section--emphasis{ padding-block:80px; }
@media (min-width:900px){
  .section{ padding-block:96px; }
  .section--dense{ padding-block:64px; }
  .section--emphasis{ padding-block:128px; }
}
.bg-ink{ background:var(--ink); color:var(--paper); }
.bg-oat{ background:var(--oat); }
.bg-paper{ background:var(--paper); }

.rule{ height:1px; background:var(--sand); border:0; }
.rule--ink{ background:var(--rule-ink); }

/* ---------- Typography ---------- */
.eyebrow{
  font-family:var(--font-body); font-weight:600; font-size:12px;
  line-height:1.2; letter-spacing:.14em; text-transform:uppercase;
  color:var(--walnut); margin:0;
}
.bg-ink .eyebrow{ color:var(--brass); }

.h1-hero{
  font-family:var(--font-display); font-weight:500; font-size:34px;
  line-height:1.08; letter-spacing:-.02em; color:var(--paper); margin:0;
}
.h2{
  font-family:var(--font-display); font-weight:500; font-size:27px;
  line-height:1.15; letter-spacing:-.01em; color:var(--ink); margin:0;
}
.h3{
  font-family:var(--font-display); font-weight:500; font-size:19px;
  line-height:1.25; color:var(--ink); margin:0;
}
.lead{
  font-family:var(--font-body); font-weight:300; font-size:17px;
  line-height:1.5; color:var(--ink-soft); margin:0;
}
.bg-ink .lead{ color:var(--paper-78); }
.price{
  font-family:var(--font-display); font-weight:600; font-size:22px;
  line-height:1.1; color:var(--clay); margin:0;
}
.price-hero{
  font-family:var(--font-display); font-weight:600; font-size:30px;
  line-height:1.05; color:var(--clay); margin:0;
}
.h1-product{
  font-family:var(--font-display); font-weight:500; font-size:27px;
  line-height:1.2; color:var(--ink); margin:0; text-transform:uppercase;
}
.numeral{
  font-family:var(--font-display); font-weight:500; font-size:40px;
  line-height:1; color:var(--ink); margin:0;
}
.bg-ink .numeral{ color:var(--paper); }
.numeral-sm{
  font-family:var(--font-display); font-weight:500; font-size:24px;
  line-height:1; color:var(--walnut); margin:0;
}
.micro{ font-family:var(--font-body); font-weight:500; font-size:13px; line-height:1.4; color:var(--ink-soft); }
.small{ font-family:var(--font-body); font-weight:400; font-size:14px; line-height:1.5; color:var(--ink-soft); }
p{ font-size:16px; line-height:1.65; color:var(--ink-soft); max-width:640px; }
.bg-ink p{ color:var(--paper-78); }

@media (min-width:900px){
  .h1-hero{ font-size:64px; }
  .h2{ font-size:42px; }
  .h3{ font-size:22px; }
  .lead{ font-size:21px; max-width:520px; }
  .price{ font-size:26px; }
  .price-hero{ font-size:40px; }
  .h1-product{ font-size:34px; }
  .numeral{ font-size:56px; }
  .numeral-sm{ font-size:32px; }
  p{ font-size:17px; }
}

/* ---------- Brass tick motif ---------- */
.brass-tick{
  display:block; width:32px; height:1px; background:var(--brass);
  margin-bottom:16px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:48px; padding:0 28px; border-radius:var(--radius-btn);
  font-family:var(--font-body); font-weight:600; font-size:15px; letter-spacing:.01em;
  white-space:nowrap; transition:background 200ms var(--ease), color 200ms var(--ease),
    border-color 200ms var(--ease), transform 200ms var(--ease);
  min-height:44px;
}
.btn--lg{ height:52px; }
.btn--primary{ background:var(--clay); color:var(--paper); }
.btn--primary:hover{ background:var(--clay-dark); transform:translateY(-1px); }
.btn--secondary{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn--secondary:hover{ color:var(--walnut); border-color:var(--walnut); }
.btn--secondary-on-ink{ background:transparent; color:var(--paper); border:1px solid var(--paper-62); }
.btn--secondary-on-ink:hover{ border-color:var(--paper); }
.btn--zalo{ background:var(--zalo); color:#fff; }
.btn--zalo:hover{ background:var(--zalo-hover); }
.btn--full{ width:100%; }
.btn--icon{ width:44px; height:44px; padding:0; border-radius:var(--radius-btn); }

.link-text{
  position:relative; display:inline-flex; align-items:center; min-height:44px;
  font-family:var(--font-body); font-weight:600; font-size:15px; color:var(--walnut);
}
.link-text::after{
  content:""; position:absolute; left:0; bottom:14px; width:100%; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:left;
  transition:transform 200ms var(--ease);
}
.link-text:hover::after{ transform:scaleX(1); }
.link-text--on-ink{ color:var(--brass); }

.zalo-glyph{ width:18px; height:18px; flex:none; }
.handset-glyph{ width:20px; height:20px; flex:none; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:60; height:64px;
  background:var(--paper); border-bottom:1px solid var(--sand);
  transition:height 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
@media (min-width:900px){
  .site-header{ height:88px; }
  .site-header.is-condensed{ height:64px; box-shadow:var(--shadow-rest); }
  .site-header--transparent{ background:transparent; border-bottom-color:transparent; }
  .site-header--transparent .logo,
  .site-header--transparent .logo__sub,
  .site-header--transparent .header-nav a,
  .site-header--transparent .phone-link{ color:var(--paper); }
  .site-header--transparent.is-condensed{
    background:var(--paper); border-bottom-color:var(--sand);
  }
  .site-header--transparent.is-condensed .logo,
  .site-header--transparent.is-condensed .logo__sub,
  .site-header--transparent.is-condensed .header-nav a,
  .site-header--transparent.is-condensed .phone-link{ color:var(--ink); }
}

.header-inner{
  height:100%; display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding-inline:20px; max-width:1240px; margin-inline:auto;
}
@media (min-width:600px){ .header-inner{ padding-inline:24px; } }
@media (min-width:1240px){ .header-inner{ padding-inline:0; } }

.logo{
  display:flex; flex-direction:column; line-height:1; flex:none; color:var(--ink);
  transform:scale(1); transform-origin:left center;
  transition:transform 200ms var(--ease), color 200ms var(--ease);
}
.logo strong{
  font-family:var(--font-display); font-weight:600; font-size:26px; color:inherit;
}
.logo__sub{
  font-family:var(--font-display); font-weight:600; font-size:10px; letter-spacing:.18em;
  color:inherit; margin-top:4px; display:block;
}
.site-header.is-condensed .logo{ transform:scale(.86); }

.header-nav{ display:none; }
@media (min-width:900px){
  .header-nav{ display:flex; gap:22px; }
  .header-nav a{
    position:relative; font-size:15px; font-weight:500; padding:8px 0; color:var(--ink);
  }
  .header-nav a::after{
    content:""; position:absolute; left:0; bottom:4px; width:100%; height:1px;
    background:var(--clay); transform:scaleX(0); transform-origin:left;
    transition:transform 200ms var(--ease);
  }
  .header-nav a:hover::after{ transform:scaleX(1); }
  .header-nav a[aria-current="page"]{ border-bottom:1px solid var(--walnut); padding-bottom:7px; }
}
@media (min-width:1240px){ .header-nav{ gap:32px; } }
@media (min-width:900px) and (max-width:1239px){
  .header-nav{ gap:12px; }
  .header-nav a{ font-size:14px; white-space:nowrap; }
}

.header-actions{ display:flex; align-items:center; gap:12px; }
.phone-link{ display:none; align-items:center; gap:8px; font-size:15px; font-weight:600; color:var(--ink); }
@media (min-width:900px){
  .phone-link{ display:inline-flex; margin-right:8px; }
  .header-zalo{ height:44px; }
}
.header-zalo{ display:none; }
@media (min-width:900px){ .header-zalo{ display:inline-flex; } }
@media (min-width:900px) and (max-width:1239px){ .phone-link{ display:none; } }

.header-zalo-icon,.menu-toggle{
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:var(--radius-btn); flex:none;
}
.header-zalo-icon{ background:var(--zalo); color:#fff; }
.menu-toggle{ position:relative; }
.menu-toggle span{
  position:absolute; width:18px; height:1.5px; background:var(--ink); left:13px;
}
.menu-toggle span:first-child{ top:19px; }
.menu-toggle span:last-child{ top:25px; }
@media (min-width:900px){ .header-zalo-icon,.menu-toggle{ display:none; } }

/* ---------- Mobile drawer ---------- */
.drawer__backdrop{
  position:fixed; inset:0; background:rgba(27,24,21,.48); z-index:80;
  opacity:0; visibility:hidden; transition:opacity 200ms var(--ease);
}
.drawer.is-open .drawer__backdrop{ opacity:1; visibility:visible; }
.drawer__panel{
  position:fixed; inset-block:0; right:0; width:min(420px,88vw); background:var(--paper);
  z-index:90; transform:translateX(100%); transition:transform 280ms var(--ease);
  display:flex; flex-direction:column; padding-inline:24px; overflow-y:auto;
}
.drawer.is-open .drawer__panel{ transform:translateX(0); }
.drawer__row{ height:64px; display:flex; align-items:center; justify-content:space-between; flex:none; }
.drawer__nav{ border-top:1px solid var(--sand); }
.drawer__nav li{ border-bottom:1px solid var(--sand); }
.drawer__nav a{ display:flex; align-items:center; height:64px; font-family:var(--font-display); font-weight:500; font-size:22px; color:var(--ink); }
.drawer__hotline{ margin-top:32px; }
.drawer__hotline .micro{ text-transform:uppercase; letter-spacing:.14em; }
.drawer__hotline a{
  display:flex; align-items:center; min-height:44px; font-family:var(--font-display);
  font-weight:500; font-size:24px; color:var(--clay);
}
.drawer__showroom{ margin-top:24px; }
.drawer__showroom p{ margin:0; max-width:none; }
.drawer__zalo{ margin-top:24px; }
.drawer__panel > .drawer__pad-bottom{ padding-bottom:calc(32px + env(safe-area-inset-bottom)); flex:none; }

/* ---------- Sticky mobile action bar ---------- */
.sticky-bar{
  position:fixed; bottom:0; inset-inline:0; z-index:70;
  height:calc(64px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom);
  padding-inline:16px; background:var(--paper); border-top:1px solid var(--sand);
  box-shadow:var(--shadow-bar); display:grid; grid-template-columns:72px 88px 1fr; gap:8px;
  align-items:center; transform:translateY(100%); transition:transform 200ms var(--ease);
}
.sticky-bar.is-visible{ transform:translateY(0); }
@media (min-width:900px){ .sticky-bar{ display:none; } }

.sticky-bar__call{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  height:64px; border-right:1px solid var(--sand); color:var(--ink);
}
.sticky-bar__call span{ font-size:13px; font-weight:600; }
.sticky-bar__zalo,.sticky-bar__primary{
  height:48px; border-radius:var(--radius-btn); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:2px;
}
.sticky-bar__zalo{ background:var(--zalo); color:#fff; }
.sticky-bar__zalo span{ font-size:13px; font-weight:600; }
.sticky-bar__primary{ background:var(--clay); color:var(--paper); font-size:14px; font-weight:600; text-align:center; padding-inline:8px; }

.sticky-bar--product{ grid-template-columns:minmax(0,132px) 44px 44px 1fr; }
.sticky-bar__price{ display:flex; flex-direction:column; }
.sticky-bar__price strong{ font-family:var(--font-display); font-weight:600; font-size:17px; color:var(--clay); line-height:1.1; }
.sticky-bar__price span{ font-size:13px; color:var(--ink-soft); }

/* ---------- Floating desktop Zalo ---------- */
.zalo-float{
  display:none; position:fixed; right:24px; bottom:24px; z-index:70;
  width:56px; height:56px; border-radius:var(--radius-pill); background:var(--zalo); color:#fff;
  align-items:center; justify-content:center; box-shadow:0 10px 32px rgba(27,24,21,.24);
  transition:background 200ms var(--ease), transform 200ms var(--ease);
}
.zalo-float:hover{ background:var(--zalo-hover); transform:translateY(-2px); }
@media (min-width:900px){ .zalo-float{ display:inline-flex; } }

/* ---------- Export proof band ---------- */
.proof-band__intro{ margin-bottom:40px; }
.proof-band__intro p{ max-width:none; }
.proof-grid{ display:grid; grid-template-columns:1fr; gap:0; }
.proof-entry{
  position:relative; padding-block:14px; border-top:1px solid var(--rule-ink);
}
.proof-entry .brass-tick{ margin-bottom:12px; }
.proof-entry__name{ font-family:var(--font-display); font-weight:500; font-size:17px; color:var(--paper); margin:0; }
.proof-entry__location{ font-size:13px; color:var(--paper-62); margin:4px 0 0; }

/* --inline sits on bg-ink in every spec usage (category interstitial, product page
   P7), so it inherits the paper-on-ink colors above rather than overriding them. */

@media (min-width:600px){
  .proof-grid{ grid-template-columns:repeat(2,1fr); gap:24px 24px; }
  .proof-entry{ border-top:none; padding-block:0; }
}
@media (min-width:900px){
  .proof-band--feature .proof-grid{ grid-template-columns:repeat(3,1fr); row-gap:40px; }
  .proof-band--inline .proof-grid{ grid-template-columns:repeat(6,1fr); }
}

/* ---------- S3 category tiles ---------- */
.tile-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px 12px; row-gap:28px; }
@media (min-width:900px){ .tile-grid{ grid-template-columns:repeat(3,1fr); gap:24px; row-gap:40px; } }
.tile{ display:block; }
.tile__media{
  aspect-ratio:3/4; border-radius:var(--radius-card); overflow:hidden; background:var(--oat);
}
.tile__media img{ width:100%; height:100%; object-fit:cover; transition:transform 200ms var(--ease); }
.tile:hover .tile__media img{ transform:scale(1.03); }
.tile__name{ font-family:var(--font-display); font-weight:500; font-size:17px; color:var(--ink); margin:16px 0 0; transition:color 200ms var(--ease); }
.tile:hover .tile__name{ color:var(--walnut); }
.tile__price{ font-size:14px; font-weight:500; color:var(--walnut); margin:4px 0 0; }
@media (min-width:900px){
  .tile__name{ font-size:22px; }
  .tile__price{ font-size:15px; }
}

/* ---------- S4 budget cards ---------- */
.budget-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (min-width:900px){ .budget-grid{ grid-template-columns:repeat(4,1fr); gap:24px; } }
.budget-card{
  background:var(--paper); border:1px solid var(--sand); border-radius:var(--radius-card);
  padding:24px 16px; display:flex; flex-direction:column; box-shadow:var(--shadow-rest);
  transition:border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
@media (min-width:900px){ .budget-card{ padding:32px 24px; } }
.budget-card:hover{ border-color:var(--walnut); transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.budget-card__band{ font-family:var(--font-display); font-weight:500; font-size:22px; color:var(--ink); margin:0 0 12px; }
.budget-card__anchor{ font-size:15px; font-weight:500; color:var(--ink-soft); margin:0 0 4px; }
.budget-card__price{ font-family:var(--font-display); font-weight:600; font-size:22px; color:var(--clay); margin:0; }
@media (min-width:900px){ .budget-card__price{ font-size:26px; } }
.budget-card__instalment{ font-size:13px; color:var(--ink-soft); margin:4px 0 0; }
.budget-card__link{ margin-top:auto; padding-top:16px; font-size:14px; }

/* ---------- Product card ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px 28px; }
@media (min-width:900px){ .product-grid{ grid-template-columns:repeat(4,1fr); gap:24px 40px; } }

.product-card{
  position:relative; display:flex; flex-direction:column; background:var(--paper);
  border:1px solid var(--sand); border-radius:var(--radius-card); overflow:hidden; height:100%;
  transition:transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.product-card:hover,.product-card:focus-within{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.product-card__link{ position:static; }
.product-card__link::after{ content:""; position:absolute; inset:0; z-index:1; }
.product-card__media{ position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--oat); }
.product-card__media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:opacity 200ms var(--ease), transform 200ms var(--ease);
}
.product-card__media img.is-alt{ opacity:0; }
.product-card:hover .product-card__media img:not(.is-alt),
.product-card:focus-within .product-card__media img:not(.is-alt){ opacity:0; }
.product-card:hover .product-card__media img.is-alt,
.product-card:focus-within .product-card__media img.is-alt{ opacity:1; }
.product-card:hover .product-card__media img,
.product-card:focus-within .product-card__media img{ transform:scale(1.02); }

.product-card__body{ padding:16px; display:flex; flex-direction:column; flex:1; }
@media (min-width:600px){ .product-card__body{ padding:20px; } }
.product-card__name{
  font-family:var(--font-display); font-weight:500; font-size:19px; color:var(--ink);
  margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  transition:color 200ms var(--ease);
}
@media (min-width:900px){ .product-card__name{ font-size:22px; -webkit-line-clamp:2; } }
.product-card:hover .product-card__name{ color:var(--walnut); }
.product-card__material{
  font-size:14px; color:var(--ink-soft); margin:8px 0 0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.product-card__price{ font-family:var(--font-display); font-weight:600; font-size:22px; color:var(--clay); margin:16px 0 0; }
@media (min-width:900px){ .product-card__price{ font-size:26px; } }
.product-card__instalment{ font-size:13px; color:var(--ink-soft); margin:4px 0 0; }
@media (min-width:900px){ .product-card__instalment{ font-size:14px; } }

.product-card__spec{
  margin-top:16px; padding-top:12px; border-top:1px solid var(--sand);
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.badge-warranty{
  display:inline-flex; align-items:center; height:24px; padding:0 10px; border-radius:var(--radius-pill);
  background:rgba(95,107,82,.10); color:var(--sage); font-size:13px; font-weight:600; white-space:nowrap;
}
.product-card__spec{ flex-wrap:wrap; row-gap:8px; }
.product-card__delivery{ font-size:13px; color:var(--ink-soft); display:none; }
@media (min-width:600px){ .product-card__delivery{ display:inline; } }
@media (max-width:599px){
  .badge-warranty{ white-space:normal; text-align:center; height:auto; min-height:24px; padding:4px 10px; line-height:1.3; }
}

/* ---------- Price block: full + disclosure panel ---------- */
.price-full__frame{ font-family:var(--font-body); font-weight:500; font-size:13px; letter-spacing:.02em; color:var(--walnut); margin:0 0 4px; }
.price-full__amount{ margin:0; }
.price-full__instalment{ font-size:15px; color:var(--ink-soft); margin:12px 0 0; }
.price-disclosure{
  display:inline-flex; align-items:center; gap:6px; min-height:44px; margin-top:12px;
  font-size:14px; font-weight:600; color:var(--walnut);
}
.price-disclosure__caret{ width:10px; height:10px; border-right:1.5px solid var(--walnut); border-bottom:1.5px solid var(--walnut);
  transform:rotate(45deg); transition:transform 200ms var(--ease); }
.price-disclosure[aria-expanded="true"] .price-disclosure__caret{ transform:rotate(225deg); }

.price-panel{
  display:grid; grid-template-rows:0fr; transition:grid-template-rows 200ms var(--ease);
}
.price-panel.is-open{ grid-template-rows:1fr; }
.price-panel__inner{ overflow:hidden; }
.price-panel__box{
  background:var(--oat); border-radius:var(--radius-card); padding:16px; margin-top:16px;
  opacity:0; transition:opacity 160ms var(--ease) 60ms;
}
.price-panel.is-open .price-panel__box{ opacity:1; }
@media (min-width:600px){ .price-panel__box{ padding:20px; } }
.price-panel__title{ font-size:15px; font-weight:600; color:var(--ink); margin:0 0 16px; padding-bottom:16px; border-bottom:1px solid var(--sand); }
.price-panel__row{ display:flex; align-items:center; justify-content:space-between; height:44px; border-bottom:1px solid var(--sand); }
.price-panel__row:last-of-type{ border-bottom:0; }
.price-panel__row span:first-child{ font-size:15px; color:var(--ink-soft); }
.price-panel__row span:last-child{ font-size:17px; font-weight:500; color:var(--ink); }
.price-panel__row--default span:last-child{ color:var(--clay); font-weight:600; }
.price-panel__footnote{ font-size:13px; color:var(--ink-soft); line-height:1.5; margin:16px 0 0; max-width:none; }

/* ---------- Numerals row ---------- */
.numerals-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px 16px; margin-top:64px; }
@media (min-width:900px){ .numerals-row{ grid-template-columns:repeat(4,1fr); gap:24px; margin-top:64px; } }
.numeral-item .brass-tick{ margin-bottom:16px; }
.numeral-item__label{ font-size:14px; color:var(--paper-62); margin:8px 0 0; }

/* ---------- Cost-chain diagram ---------- */
.cost-chain-card{
  background:var(--paper); border-radius:var(--radius-card); padding:24px; max-width:1000px;
  margin:64px auto 0;
}
@media (min-width:600px){ .cost-chain-card{ padding:48px; } }
.cost-chain-card__intro{ font-family:var(--font-display); font-weight:500; font-size:22px; color:var(--ink); margin:16px 0 32px; max-width:none; }
.cost-chain-figure{ margin:0; }
.cost-chain-figure svg{ width:100%; height:auto; display:block; }
.cost-chain-figure svg.chain-desktop{ display:none; }
.cost-chain-figure svg.chain-mobile{ display:block; }
@media (min-width:900px){
  .cost-chain-figure svg.chain-desktop{ display:block; }
  .cost-chain-figure svg.chain-mobile{ display:none; }
}
.cost-chain-figure figcaption{ font-size:13px; color:var(--ink-soft); line-height:1.5; margin-top:20px; max-width:640px; }
.svgtxt-eyebrow{ font-family:var(--font-body); font-weight:600; }
.svgtxt-node{ font-family:var(--font-body); font-weight:500; }
.svgtxt-plus{ font-family:var(--font-body); font-weight:600; }
.svgtxt-title-lg{ font-family:var(--font-display); font-weight:500; }
.svgtxt-title-sm{ font-family:var(--font-body); font-weight:400; }
.svgtxt-connector{ font-family:var(--font-body); font-weight:600; }

/* ---------- Policy columns (warranty/delivery) ---------- */
.policy-columns{ display:grid; grid-template-columns:1fr; gap:48px; }
@media (min-width:900px){
  .policy-columns{ grid-template-columns:5fr 1fr 6fr; gap:0; }
  .policy-columns__divider{ display:block; width:1px; background:var(--sand); justify-self:center; }
  .policy-col--right{ padding-left:24px; }
}
.policy-col > .brass-tick{ margin-top:0; }
.policy-col h3{ margin-top:24px; }
.policy-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:52px; padding-block:8px; border-top:1px solid var(--sand);
}
@media (min-width:900px){ .policy-row{ min-height:56px; } }
.policy-row__label{ font-size:15px; color:var(--ink-soft); }
.policy-row__value{ font-size:17px; font-weight:600; color:var(--ink); text-align:right; }

.maintenance-strip{
  background:var(--paper); border-radius:var(--radius-card); padding:20px 24px;
  border-left:3px solid var(--sage); margin-top:32px; grid-column:1 / -1;
  font-size:17px; color:var(--ink);
}
.maintenance-strip p{ margin:0; max-width:none; color:var(--ink); }

/* ---------- Testimonials ---------- */
.testimonial-lead blockquote{
  font-family:var(--font-display); font-weight:400; font-size:22px; line-height:1.35;
  color:var(--ink); margin:0; max-width:560px;
}
@media (min-width:900px){ .testimonial-lead blockquote{ font-size:27px; } }
.testimonial-lead footer{ margin-top:24px; }
.testimonial-lead cite{ display:block; font-style:normal; font-size:15px; font-weight:600; color:var(--ink); }
.testimonial-lead .role{ display:block; font-size:14px; color:var(--ink-soft); margin-top:2px; }

.testimonial-support{ margin-top:32px; }
@media (min-width:900px){ .testimonial-support{ margin-top:0; } }
.testimonial-support__item{ padding-block:32px; border-top:1px solid var(--sand); }
.testimonial-support__item:first-child{ border-top:none; padding-top:0; }
.testimonial-support__item blockquote{ margin:0; font-size:16px; line-height:1.55; color:var(--ink-soft); }
.testimonial-support__item cite{ display:block; font-style:normal; font-size:15px; font-weight:600; color:var(--ink); margin-top:16px; }
.testimonial-support__item .role{ display:block; font-size:14px; color:var(--ink-soft); margin-top:2px; }

/* ---------- Showroom block ---------- */
.showroom{ display:grid; grid-template-columns:1fr; }
@media (min-width:900px){ .showroom{ grid-template-columns:1fr 1fr; min-height:700px; } }
.showroom--compact{ }
@media (min-width:900px){ .showroom--compact{ min-height:420px; } }
.showroom__media{ position:relative; aspect-ratio:16/9; overflow:hidden; }
@media (min-width:900px){ .showroom__media{ aspect-ratio:auto; height:auto; } }
.showroom__media img{ width:100%; height:100%; object-fit:cover; }
.showroom__content{
  background:var(--oat); padding:48px 20px 64px;
}
@media (min-width:600px){ .showroom__content{ padding-inline:24px; } }
@media (min-width:900px){ .showroom__content{ padding:64px; display:flex; flex-direction:column; justify-content:center; } }
.showroom--compact .showroom__content{ padding:48px 20px; }
@media (min-width:900px){ .showroom--compact .showroom__content{ padding:48px; } }
.showroom__content h2{ margin-top:16px; }
.showroom__content .lead-detail{ margin-top:16px; font-size:17px; color:var(--ink-soft); max-width:none; }

.hours-table{ margin-top:24px; }
.hours-table__row{ display:flex; align-items:center; justify-content:space-between; height:44px; border-top:1px solid var(--sand); }
.hours-table__row:first-child{ border-top:none; }
.hours-table__row span:first-child{ font-size:14px; font-weight:500; color:var(--ink-soft); }
.hours-table__row span:last-child{ font-size:15px; font-weight:600; color:var(--ink); }

.map-facade{
  margin-top:24px; aspect-ratio:4/3; border-radius:var(--radius-card); border:1px solid var(--sand);
  background:var(--oat); display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; text-align:center; padding:24px; position:relative; overflow:hidden;
}
@media (min-width:900px){ .map-facade{ aspect-ratio:16/9; } }
.map-facade__pin{ width:32px; height:32px; color:var(--brass); }
.map-facade p{ margin:0; font-size:15px; color:var(--ink); max-width:none; }
.map-facade iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

.showroom__cta-row{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
@media (min-width:600px){ .showroom__cta-row{ flex-direction:row; align-items:center; } }
.showroom__zalo-link{ display:block; margin-top:16px; color:var(--zalo); font-weight:600; font-size:15px; }

/* ---------- Trust row (product buy column) ---------- */
.trust-row{
  background:var(--oat); border-radius:var(--radius-card); padding:20px;
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
}
.trust-item{ display:flex; flex-direction:column; gap:4px; }
.trust-item__icon{ width:20px; height:20px; color:var(--walnut); stroke-width:1.5; }
.trust-item__label{ font-size:14px; font-weight:500; color:var(--ink); }
.trust-item__value{ font-size:13px; color:var(--ink-soft); }

/* ---------- Accordion ---------- */
.accordion__item{ border-top:1px solid var(--sand); }
.accordion__item:last-child{ border-bottom:1px solid var(--sand); }
.accordion__trigger{
  width:100%; min-height:64px; padding:20px 0; display:flex; align-items:center;
  justify-content:space-between; gap:16px; text-align:left;
}
.accordion__trigger h3{ font-size:18px; }
@media (min-width:900px){ .accordion__trigger h3{ font-size:20px; } }
.accordion__indicator{ position:relative; width:16px; height:16px; flex:none; }
.accordion__indicator::before,.accordion__indicator::after{
  content:""; position:absolute; background:var(--walnut);
}
.accordion__indicator::before{ left:0; top:7px; width:16px; height:1px; }
.accordion__indicator::after{ left:7px; top:0; width:1px; height:16px; transition:transform 200ms var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__indicator::after{ transform:scaleY(0); }
.accordion__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows 240ms var(--ease); }
.accordion__panel.is-open{ grid-template-rows:1fr; }
.accordion__panel-inner{ overflow:hidden; }
.accordion__panel-content{ padding:0 0 24px; max-width:640px; opacity:0; transition:opacity 160ms var(--ease) 60ms; }
.accordion__panel.is-open .accordion__panel-content{ opacity:1; }
.accordion__panel-content p{ max-width:none; }

.spec-table__row{ display:flex; justify-content:space-between; gap:16px; min-height:48px; align-items:center; border-top:1px solid var(--sand); }
.spec-table__row:first-child{ border-top:none; }
.spec-table__label{ font-size:15px; font-weight:500; color:var(--ink-soft); width:40%; flex:none; }
.spec-table__value{ font-size:15px; color:var(--ink); text-align:right; }

/* ---------- Filter chips / rail (category page) ---------- */
.chip{
  display:inline-flex; align-items:center; height:36px; padding:0 14px; border-radius:var(--radius-pill);
  border:1px solid var(--sand); background:var(--paper); font-size:14px; font-weight:500; color:var(--ink-soft);
  transition:border-color 200ms var(--ease), color 200ms var(--ease), background 200ms var(--ease);
}
.chip:hover{ border-color:var(--walnut); color:var(--ink); }
.chip[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.filter-rail{ display:flex; flex-direction:column; gap:32px; }
.filter-group__label{ margin-bottom:12px; display:block; }
.filter-group__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.sort-select{
  height:44px; padding:0 40px 0 14px; border-radius:var(--radius-btn); border:1px solid var(--sand);
  background:var(--paper); font-size:15px; font-weight:500; color:var(--ink); appearance:none;
  background-image:linear-gradient(45deg, transparent 50%, var(--walnut) 50%),linear-gradient(135deg, var(--walnut) 50%, transparent 50%);
  background-position:calc(100% - 20px) center, calc(100% - 14px) center; background-size:6px 6px; background-repeat:no-repeat;
}
.mobile-filter-bar{
  position:sticky; top:64px; z-index:50; height:56px; background:var(--paper); border-bottom:1px solid var(--sand);
  display:flex; align-items:center; gap:12px; padding-inline:20px;
}
@media (min-width:1240px){ .mobile-filter-bar{ display:none; } }
.sheet__backdrop{ position:fixed; inset:0; background:rgba(27,24,21,.48); z-index:80; opacity:0; visibility:hidden; transition:opacity 200ms var(--ease); }
.sheet.is-open .sheet__backdrop{ opacity:1; visibility:visible; }
.sheet__panel{
  position:fixed; inset-inline:0; bottom:0; z-index:90; background:var(--paper); border-radius:16px 16px 0 0;
  max-height:82vh; transform:translateY(100%); transition:transform 280ms var(--ease); display:flex; flex-direction:column;
}
.sheet.is-open .sheet__panel{ transform:translateY(0); }
.sheet__handle{ width:40px; height:4px; border-radius:var(--radius-pill); background:var(--sand); margin:12px auto 0; flex:none; }

/* ---------- Gallery (product page) ---------- */
.gallery__main{ aspect-ratio:1/1; border-radius:var(--radius-card); overflow:hidden; }
.gallery__main img{ width:100%; height:100%; object-fit:cover; }
.gallery__thumbs{ display:flex; gap:12px; margin-top:12px; }
.gallery__thumb{
  width:96px; height:96px; border-radius:8px; overflow:hidden; border:1px solid var(--sand); flex:none;
}
.gallery__thumb[aria-selected="true"]{ border:1.5px solid var(--walnut); outline:2px solid var(--sand); outline-offset:2px; }
.gallery__thumb img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:var(--paper); padding-block:64px 32px; }
@media (min-width:900px){ .site-footer{ padding-block:96px 40px; } }
.footer-grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width:900px){ .footer-grid{ grid-template-columns:3fr 2fr 2fr 2fr 3fr; gap:24px; } }
.footer-brand strong{ font-family:var(--font-display); font-weight:600; font-size:24px; color:var(--paper); }
.footer-brand p{ color:var(--paper-62); font-size:14px; margin-top:12px; max-width:none; }
.footer-group__title{ display:block; margin-bottom:20px; }
.footer-group__links li{ border:0; }
.footer-group__links a{
  display:flex; align-items:center; min-height:44px; font-size:15px; color:var(--paper-62);
  transition:color 200ms var(--ease);
}
@media (min-width:900px){ .footer-group__links a{ min-height:32px; } }
.footer-group__links a:hover{ color:var(--paper); text-decoration:underline; text-decoration-color:var(--brass); text-underline-offset:4px; }
.footer-contact strong{ display:block; font-family:var(--font-display); font-weight:500; font-size:22px; color:var(--paper); margin-bottom:4px; }
.footer-contact p{ color:var(--paper-62); font-size:14px; margin:0 0 12px; max-width:none; }
.footer-contact .btn--zalo{ margin-top:12px; }

.footer-b2b{
  margin-top:64px; padding-top:32px; border-top:1px solid var(--rule-ink-16);
  display:flex; flex-direction:column; gap:12px;
}
@media (min-width:600px){ .footer-b2b{ flex-direction:row; align-items:center; justify-content:space-between; } }
.footer-b2b h3{ font-family:var(--font-display); font-weight:500; font-size:19px; color:var(--paper); }
.footer-b2b p{ color:var(--paper-62); font-size:14px; margin:4px 0 0; max-width:none; }

.footer-bottom{
  margin-top:32px; padding-top:24px; border-top:1px solid var(--rule-ink-16);
  display:flex; flex-direction:column; gap:8px;
}
@media (min-width:600px){ .footer-bottom{ flex-direction:row; align-items:center; justify-content:space-between; } }
.footer-bottom small{ font-size:13px; color:var(--paper-50); }
.footer-bottom a{ font-size:13px; color:var(--brass); }

/* ---------- Evidence card motif (hero + xưởng section) ---------- */
.evidence-card{
  display:block; border-radius:var(--radius-card); overflow:hidden;
  border:1px solid rgba(226,215,197,.28); box-shadow:var(--shadow-lift);
}
.evidence-card__media{ aspect-ratio:16/9; }
.evidence-card__media img{ width:100%; height:100%; object-fit:cover; }
.evidence-card__caption{ background:var(--ink); padding:16px 20px; }
.evidence-card__caption .brass-tick{ margin-bottom:0; }
.evidence-card__caption span{
  display:block; margin-top:12px; font-size:13px; font-weight:500; color:var(--paper);
}
.evidence-thumb-row{ display:flex; align-items:center; gap:16px; padding-top:24px; }
.evidence-thumb-row img{ width:96px; height:54px; object-fit:cover; border-radius:8px; flex:none; }
.evidence-thumb-row span{ font-size:13px; font-weight:500; color:var(--paper); }

/* ---------- Hero (homepage only) ---------- */
.hero{ position:relative; }
.hero__frame{ display:none; }
@media (min-width:900px){
  .hero{ margin-top:-88px; }
  .hero__frame{
    display:block; position:relative; overflow:hidden;
  }
  .hero__image{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:62% 50%; }
  .hero__scrim{
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(27,24,21,.78) 0%, rgba(27,24,21,.55) 38%, rgba(27,24,21,.12) 68%, transparent 100%);
  }
  .hero__content-wrap{
    position:relative; z-index:1; min-height:clamp(640px,88vh,820px);
    display:flex; align-items:flex-end; padding-top:88px; padding-bottom:128px;
  }
  .hero__content{ max-width:620px; }
  .hero__evidence-wrap{ position:absolute; left:0; right:0; bottom:-72px; pointer-events:none; z-index:2; }
  .hero__evidence-wrap .container{ pointer-events:none; }
  .hero__evidence-wrap .evidence-card{ pointer-events:auto; }
  .hero__mobile{ display:none; }
}
.hero__mobile{ background:var(--ink); padding:40px 20px 48px; }
@media (min-width:600px){ .hero__mobile{ padding-inline:24px; } }
.hero__mobile-media{ aspect-ratio:4/5; overflow:hidden; }
.hero__mobile-media img{ width:100%; height:100%; object-fit:cover; object-position:58% 42%; }
.hero__mobile .brass-tick{ margin-top:24px; }
.hero__mobile .hero__cta-row{ margin-top:24px; display:flex; flex-direction:column; gap:12px; }
@media (min-width:900px){ .hero__mobile-media{ display:none; } }

.hero__eyebrow{ margin:0 0 16px; }
.hero__lead{ margin-top:24px; }
.hero__cta-row{ margin-top:32px; display:flex; flex-wrap:wrap; gap:16px; }

/* ---------- Xưởng Hóc Môn image band (S6) ---------- */
.factory-band{ position:relative; height:320px; overflow:hidden; }
@media (min-width:900px){ .factory-band{ height:520px; } }
.factory-band img{ width:100%; height:100%; object-fit:cover; object-position:50% 55%; }
.factory-band::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:140px;
  background:linear-gradient(to bottom, transparent, var(--ink));
}
@media (min-width:900px){ .factory-band::after{ height:220px; } }
.factory-evidence-wrap{ position:relative; margin-top:-96px; z-index:2; }
@media (max-width:899px){ .factory-evidence-wrap{ margin-top:0; padding-top:24px; } }

/* ---------- Motion / reveal ---------- */
.reveal{ opacity:0; transform:translateY(12px); transition:opacity 400ms var(--ease), transform 400ms var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Build flag: illustrative instalment lines ---------- */
body.instalments-disabled [data-illustrative="true"]{ display:none !important; }

/* =====================================================================
   CATEGORY PAGE ADDITIONS (sofa.html and future room-category pages)
   Rail/content split at a 1240 breakpoint (the grid start-/span- utilities
   only activate at 900), bottom sheets, active-filter chips, empty state,
   a 3-col product grid scoped to category pages, and material cards.
   ===================================================================== */
.category-header{ padding:32px 0 48px; }
@media (min-width:900px){ .category-header{ padding:40px 0 48px; } }

.category-rail{ display:none; }
.category-controls{ display:none; align-items:center; justify-content:space-between; height:56px; margin-bottom:16px; flex-wrap:wrap; gap:16px; }
@media (min-width:1240px){
  .category-rail{
    display:flex; flex-direction:column; gap:32px;
    grid-column:1 / span 3; position:sticky; top:96px; align-self:start;
    max-height:calc(100vh - 96px); overflow-y:auto;
  }
  .category-controls{ display:flex; }
  .category-content{ grid-column:4 / span 9; }
}

.category-content .product-grid{ grid-template-columns:repeat(2,1fr); }
@media (min-width:900px){ .category-content .product-grid{ grid-template-columns:repeat(3,1fr); } }

.active-filters{ display:none; flex-wrap:wrap; gap:8px; margin-top:16px; }
.active-filters.has-filters{ display:flex; }
.active-filter-chip{
  display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 8px 0 14px; border-radius:var(--radius-pill);
  background:var(--ink); color:var(--paper); font-family:var(--font-body); font-size:14px; font-weight:500;
}
.active-filter-chip button{
  width:20px; height:20px; border-radius:var(--radius-pill); display:inline-flex; align-items:center; justify-content:center;
  color:var(--paper); background:rgba(251,248,243,.16); font-size:14px; line-height:1;
}

.category-empty{ text-align:center; padding-block:64px; }
.category-empty p{ margin:16px auto 24px; max-width:420px; }

.filter-badge{
  display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:var(--radius-pill);
  background:var(--clay); color:var(--paper); font-family:var(--font-body); font-size:11px; font-weight:600; margin-left:8px;
}
.filter-badge[hidden]{ display:none; }

.sheet__header{
  height:56px; display:flex; align-items:center; justify-content:space-between; padding-inline:20px; flex:none;
  border-bottom:1px solid var(--sand);
}
.sheet__header h3{ margin:0; }
.sheet__body{ overflow-y:auto; padding:24px 20px; display:flex; flex-direction:column; gap:32px; }
.sheet__footer{
  flex:none; border-top:1px solid var(--sand); padding:16px 20px calc(16px + env(safe-area-inset-bottom));
  display:flex; gap:12px;
}
.sheet__footer .btn{ flex:1; }

.sort-radio__row{
  display:flex; align-items:center; justify-content:space-between; min-height:56px; width:100%;
  border-top:1px solid var(--sand); font-family:var(--font-body); font-size:15px; color:var(--ink-soft); text-align:left;
}
.sort-radio__row:first-child{ border-top:none; }
.sort-radio__row[aria-checked="true"]{ font-weight:600; color:var(--ink); }
.sort-radio__check{ width:16px; height:16px; color:var(--walnut); opacity:0; flex:none; }
.sort-radio__row[aria-checked="true"] .sort-radio__check{ opacity:1; }

.material-card{
  background:var(--paper); border:1px solid var(--sand); border-radius:var(--radius-card);
  padding:24px; display:flex; flex-direction:column; gap:12px; height:100%;
}
.material-card__title{ font-family:var(--font-display); font-weight:500; font-size:19px; color:var(--ink); margin:0; }
.material-card__care{ font-size:13px; color:var(--ink-soft); margin:0; padding-top:12px; border-top:1px solid var(--sand); }

.material-table__row{
  display:flex; align-items:center; justify-content:space-between; min-height:52px;
  border-top:1px solid var(--sand); padding-block:8px;
}
.material-table__row:first-child{ border-top:none; }
.material-table__row span:first-child{ font-size:15px; font-weight:500; color:var(--ink); }
.material-table__row span:last-child{ font-size:15px; font-weight:400; color:var(--walnut); }

/* reserve space once sticky bar is present (mobile), so it never covers content */
@media (max-width:899px){
  body.has-sticky-bar main{ padding-bottom:calc(64px + env(safe-area-inset-bottom)); }
  body.has-sticky-bar .site-footer{ padding-bottom:calc(96px + 64px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   PRODUCT PAGE (san-pham.html) — additions
   ===================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size:13px; font-weight:400; color:var(--ink-soft); display:flex; flex-wrap:wrap; align-items:center; }
.breadcrumb a{ color:var(--ink-soft); transition:color 200ms var(--ease); }
.breadcrumb a:hover{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--sand); text-underline-offset:3px; }
.breadcrumb__sep{ color:var(--sand); margin:0 8px; }
.breadcrumb [aria-current="page"]{ color:var(--ink); font-weight:500; }

/* ---------- Product gallery: mobile swipe carousel ---------- */
@media (max-width:899px){ .gallery{ display:none; } }
.gallery-carousel{ display:none; }
@media (max-width:899px){ .gallery-carousel{ display:block; } }
.gallery-carousel__track{
  display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  border-radius:var(--radius-card); scrollbar-width:none;
}
.gallery-carousel__track::-webkit-scrollbar{ display:none; }
.gallery-carousel__slide{ flex:0 0 100%; scroll-snap-align:center; aspect-ratio:1/1; overflow:hidden; }
.gallery-carousel__slide img{ width:100%; height:100%; object-fit:cover; }
.gallery-carousel__dots{ display:flex; justify-content:center; gap:8px; margin-top:16px; }
.gallery-carousel__dot{ position:relative; width:6px; height:6px; border-radius:50%; background:var(--sand); padding:0; }
.gallery-carousel__dot::before{ content:""; position:absolute; top:-19px; bottom:-19px; left:-4px; right:-4px; } /* 44px tall hit area; width matches the dot pitch so neighboring hit areas meet without overlapping */
.gallery-carousel__dot[aria-current="true"]{ background:var(--walnut); }

/* ---------- Buy column: availability, options ---------- */
.availability-row{ display:flex; align-items:flex-start; gap:8px; }
.dot-sage{ display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--sage); flex:none; margin-top:6px; }

.option-group__label{ display:block; margin-bottom:12px; }
.swatch-row{ display:flex; gap:12px; flex-wrap:wrap; }
.swatch{
  width:40px; height:40px; border-radius:8px; border:1px solid var(--sand); padding:0; flex:none;
  outline:2px solid transparent; outline-offset:2px; transition:outline-color 200ms var(--ease);
}
.swatch[aria-pressed="true"]{ outline-color:var(--ink); }
.swatch--da-bo{ background:var(--walnut); }
.swatch--microfiber{ background:#D9CBB5; }
.swatch--vai{ background:var(--oat); }
.swatch--pvc{ background:var(--ink-soft); }
.option-group__value{ font-size:14px; color:var(--ink-soft); margin:12px 0 0; }
.direction-row{ display:flex; gap:8px; }

/* ---------- Evidence numerals: 2x2 variant (P7) ---------- */
.numeral-grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }

/* ---------- Image band: shorter product-page variant (P7) ---------- */
.factory-band--product{ height:260px; }
.factory-band--product::after{ height:120px; }
@media (min-width:900px){
  .factory-band--product{ height:420px; }
  .factory-band--product::after{ height:200px; }
}

/* ---------- Proof grid: six-across variant on ink (P7), keeps default paper-on-ink text ---------- */
@media (min-width:900px){ .proof-grid--six{ grid-template-columns:repeat(6,1fr); } }

/* ---------- Product grid: 3-across variant (P11 related products) ---------- */
.product-grid--3{ grid-template-columns:repeat(2,1fr); }
@media (min-width:900px){ .product-grid--3{ grid-template-columns:repeat(3,1fr); } }

/* ---------- Sticky bar, product variant: icon-only Gọi/Zalo, 44px primary ---------- */
.sticky-bar--product .sticky-bar__call{
  height:44px; border:1px solid var(--sand); border-radius:var(--radius-btn); align-self:center;
}
.sticky-bar--product .sticky-bar__zalo{ height:44px; }
.sticky-bar--product .sticky-bar__primary{ height:44px; }
@media (max-width:374px){
  .sticky-bar--product{ grid-template-columns:minmax(0,116px) 44px 44px 1fr; }
}

/* ---------- Buy row section: 24px top, breadcrumb sits just under the header ---------- */
.section--buyrow{ padding:24px 0 64px; }
@media (min-width:900px){ .section--buyrow{ padding:24px 0 96px; } }

/* ---------- Review grid (P10): stacked with hairlines on mobile, 3-across on desktop ---------- */
.review-grid{ display:grid; grid-template-columns:1fr; gap:0; }
.review-grid > div{ padding-block:32px; border-top:1px solid var(--sand); }
.review-grid > div:first-child{ border-top:none; padding-top:0; }
@media (min-width:900px){
  .review-grid{ grid-template-columns:repeat(3,1fr); gap:24px; }
  .review-grid > div{ padding-block:0; border-top:none; }
}
