/* ==========================================================================
   Hamamoto — site styles
   Brand site: large imagery, generous white space, little text.
   ========================================================================== */

:root {
  /* Dark wood palette (brief 2): walnut + espresso on warm beige */
  --ink: #1e1712;          /* espresso — text, dark buttons */
  --muted: rgba(30, 23, 18, 0.64);
  --line: #e3d9cd;
  --white: #ffffff;
  --cream: #f4efe8;        /* light section background */
  --sand: #e8ddd0;         /* beige panels (category page) */
  --brand: #5b3a24;        /* dark walnut — primary accent */
  --brand-dark: #3f2717;
  --brand-light: #a27e5a;  /* oak highlight on dark backgrounds */
  --espresso: #17110d;     /* footer, dark bands */
  --danger: #b03a2e;

  /* Be Vietnam Pro for everything; --font-serif kept as an alias so older rules still resolve */
  --font-sans: "Be Vietnam Pro", system-ui, sans-serif;
  --font-serif: var(--font-sans);

  --page-max: 1440px;
  --gutter: 72px;
  --gap: 24px;
  --section-y: 140px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

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

.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 960px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 80px; }
.section--cream { background: var(--cream); }

/* ---------- Type ---------- */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.display, .h1, .h2, .h3 { font-family: var(--font-sans); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
[class*="font-serif"], .display, .h1, .h2, .h3, .area, .facts strong, .collection__no, .split__num, .info-list dd { font-variant-numeric: lining-nums; }
.display { font-size: clamp(44px, 6.4vw, 92px); }
.h1 { font-size: clamp(38px, 4.4vw, 64px); }
.h2 { font-size: clamp(32px, 3.4vw, 48px); }
.h3 { font-size: clamp(24px, 2vw, 30px); }
.lead { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .h2 { margin-top: 12px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap .25s, color .25s;
}
.link-arrow:hover { gap: 16px; color: var(--brand); }
.link-arrow svg { flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.header__logo img { height: 44px; width: auto; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; transition: color .2s; }
.icon-btn:hover { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover,
.nav__item.is-open > .nav__link { color: var(--brand); }
.nav__link[aria-current="page"] { font-weight: 600; }
.nav__link svg { transition: transform .2s; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

/* Mega menu + dropdown panels */
.nav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: none; }
.mega {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
  gap: 48px;
  padding-block: 48px;
}
.mega h3 { margin-bottom: 18px; }
.mega li + li { margin-top: 10px; }
.mega a:not(.mega__promo) { font-size: 15px; transition: color .2s; }
.mega a:not(.mega__promo):hover { color: var(--brand); }
.mega__all { display: inline-block; margin-top: 18px; font-weight: 500; border-bottom: 1px solid currentColor; }
.mega__promo { position: relative; display: block; overflow: hidden; min-height: 220px; color: var(--white); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mega__promo:hover img { transform: scale(1.04); }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.55)); }
.mega__promo span { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--font-serif); font-size: 26px; }
.dropdown { display: flex; gap: 64px; padding-block: 36px; }
.dropdown a { display: block; max-width: 340px; }
.dropdown strong { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 500; transition: color .2s; }
.dropdown a:hover strong { color: var(--brand); }
.dropdown span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.nav-toggle { display: none; }

/* Search panel */
.search-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-block: 32px;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.15);
}
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; gap: 12px; max-width: 760px; margin-inline: auto; }
.search-panel input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  outline: none;
  background: transparent;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--espresso); color: rgba(255, 255, 255, 0.72); padding: 96px 0 32px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; }
.footer__brand img { height: 48px; width: auto; filter: invert(1); }
.footer__brand p { margin-top: 20px; max-width: 280px; }
.footer__brand a:hover { color: var(--white); }
.footer__col h3 { margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.footer__col li + li { margin-top: 10px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  transition: border-color .2s, background-color .2s;
}
.socials a:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.socials img { filter: invert(1); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Shared blocks
   ========================================================================== */

/* Full-screen hero (home) */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(calc(100vh - var(--header-h)), 960px);
  min-height: min(calc(100svh - var(--header-h)), 960px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.6)); }
.hero__content { padding-block: 120px 96px; max-width: 980px; }
.hero__content .eyebrow { color: rgba(255,255,255,.85); }
.hero__content .display { margin-top: 20px; }
.hero__content p { margin-top: 24px; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.85); }
.hero__content .btn-row { margin-top: 40px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 150px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,.8);
}

/* Sub-page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; height: 62vh; min-height: 420px; max-height: 680px; display: flex; align-items: flex-end; color: var(--white); }
/* the photo drifts slowly like video footage (Ken Burns keyframes kb-* are defined with collections.html) */
.page-hero > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; animation: kb-a 24s ease-in-out infinite alternate; }
/* readability: dark espresso wash at the bottom and on the left, where the text sits */
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(23,17,13,.3) 0%, rgba(23,17,13,.05) 25%, rgba(23,17,13,.4) 55%, rgba(23,17,13,.9) 100%),
  linear-gradient(90deg, rgba(23,17,13,.7) 0%, rgba(23,17,13,.35) 45%, rgba(23,17,13,0) 72%); }
.page-hero .container { padding-bottom: 72px; text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 4px 32px rgba(0,0,0,.45); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--white); }
.page-hero .eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.page-hero .h1 { margin-top: 16px; max-width: 820px; }
.page-hero p { margin-top: 18px; max-width: 560px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.95); }
/* the text rises in after the loader lifts */
.page-hero .container > * { animation: hero-text-in 1s .5s var(--ease-out) both; }
.page-hero .container > :nth-child(2) { animation-delay: .62s; }
.page-hero .container > :nth-child(3) { animation-delay: .74s; }
@keyframes hero-text-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .page-hero > img, .page-hero .container > * { animation: none; }
}

/* Plain page header (no image) */
.page-head { padding-block: 80px 48px; }
.page-head .h1 { margin-top: 16px; }
.page-head .lead { margin-top: 20px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }

/* Text / image split. Default: text left, image right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
}
.split + .split { margin-top: var(--section-y); }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text .h2 { margin-top: 14px; }
.split__text p { margin-top: 24px; color: var(--muted); }
.split__text .link-arrow, .split__text .btn { margin-top: 36px; }
.split__num { font-family: var(--font-serif); font-size: 18px; color: var(--brand); }
.split__list { margin-top: 24px; border-top: 1px solid var(--line); }
.split__list li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.split__list li span:last-child { color: var(--muted); text-align: right; }

/* Swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.swatch i { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* Statistic strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.facts strong { display: block; font-family: var(--font-serif); font-size: clamp(40px, 4vw, 60px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.facts span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Image tile with caption (collections, concepts) */
.tile { position: relative; display: block; overflow: hidden; color: var(--white); background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.6)); pointer-events: none; }
.tile__caption { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; }
.tile__caption .eyebrow { color: rgba(255,255,255,.8); }
.tile__caption .h3 { margin-top: 8px; }
.tile__caption p { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.8); }

/* Horizontal collection strip */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 34%);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.strip > * { scroll-snap-align: start; aspect-ratio: 3 / 4; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .2s;
}
.strip-nav button:hover { border-color: var(--ink); }

/* Concept cards (by area) */
.concept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.concept-grid .tile { aspect-ratio: 4 / 5; }
.tile__caption .area { font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--white); }
.area small { font-size: 22px; }

/* CTA band */
.cta {
  position: relative;
  isolation: isolate;
  padding-block: 160px;
  color: var(--white);
  text-align: center;
}
.cta > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.5); }
.cta .h1 { max-width: 760px; margin: 16px auto 0; }
.cta p { max-width: 520px; margin: 20px auto 0; color: rgba(255,255,255,.85); }
.cta .btn-row { justify-content: center; margin-top: 40px; }
.cta .eyebrow { color: rgba(255,255,255,.85); }

/* ==========================================================================
   Products
   ========================================================================== */
.cutout { position: absolute; inset: 8%; width: 84%; height: 84%; max-width: none; object-fit: contain; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard__tag {
  position: absolute; left: 16px; top: 16px;
  padding: 4px 10px;
  background: var(--white);
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}

/* Listing (Sản phẩm) */
.listing-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  margin-bottom: 48px;
}
.listing-search { position: relative; flex: 1 1 360px; max-width: 520px; }
.listing-search input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  outline: none;
}
.listing-search input:focus { border-color: var(--ink); }
.listing-search svg { position: absolute; right: 14px; top: 12px; pointer-events: none; }
.listing-top__right { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.select { position: relative; }
.select select {
  appearance: none;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
}
.select svg { position: absolute; right: 14px; top: 16px; pointer-events: none; }

.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-bottom: var(--section-y); }
.filters { display: flex; flex-direction: column; gap: 36px; }
.filters__toggle { display: none; }
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend { padding: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.filter-list { display: flex; flex-direction: column; gap: 10px; }
.filter-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; cursor: pointer; }
.filter-option__label { display: flex; align-items: center; gap: 10px; }
.filter-option input {
  appearance: none;
  flex: none;
  width: 16px; height: 16px;
  margin: 0;
  border: 1px solid rgba(0,0,0,.35);
  display: grid; place-items: center;
  cursor: pointer;
}
.filter-option input:checked { background: var(--ink); border-color: var(--ink); }
.filter-option input:checked::after {
  content: ""; width: 8px; height: 4px;
  border: 2px solid #fff; border-top: 0; border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}
.filter-option input.dot { border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.filter-option input.dot:checked { background: var(--c); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--ink); }
.filter-option input.dot:checked::after { display: none; }
.filter-option .count { font-size: 12px; color: var(--muted); }
.filters__reset { align-self: flex-start; font-size: 13px; text-decoration: underline; color: var(--muted); }
.filters__reset:hover { color: var(--ink); }

.listing__empty { padding: 80px 0; text-align: center; color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }
.page-btn {
  display: grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.page-btn:hover { border-color: var(--ink); }
.page-btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Product detail */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); padding-block: 32px var(--section-y); }
.pdp__gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp__main { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.pdp__main img { position: absolute; max-width: none; }
.pdp__main img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp__thumbs button { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.pdp__thumbs button[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--ink); }
.pdp__thumbs img { position: absolute; max-width: none; }
.pdp__thumbs img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.pdp__info .h1 { margin-top: 12px; }
.pdp__price { margin-top: 16px; font-size: 18px; }
.pdp__desc { margin-top: 24px; color: var(--muted); }
.pdp__options { margin: 36px 0 0; border: 0; padding: 0; }
.pdp__options legend { margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.pdp__options legend span { margin-left: 8px; letter-spacing: 0; text-transform: none; font-weight: 300; color: var(--muted); }
.opt-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.opt-swatches label { position: relative; cursor: pointer; }
.opt-swatches input { position: absolute; opacity: 0; }
.opt-swatches i { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.opt-swatches input:checked + i { box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--ink); }
.opt-swatches input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 4px; }
.pdp__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.specs { margin-top: 48px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }

/* ==========================================================================
   Collections page
   ========================================================================== */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-block: 24px; border-block: 1px solid var(--line); font-size: 14px; }
.anchor-nav a { padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.anchor-nav a:hover { border-color: currentColor; color: var(--brand); }
.collection {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: 96px;
}
.collection + .collection { border-top: 1px solid var(--line); }
.collection:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.collection:nth-of-type(even) .collection__media { order: 2; }
.collection__media { aspect-ratio: 4 / 3; overflow: hidden; }
.collection__media img { width: 100%; height: 100%; object-fit: cover; }
.collection__no { margin-top: 12px; font-family: var(--font-serif); font-size: clamp(56px, 6vw, 96px); font-weight: 500; line-height: 1; }
.collection__text > p { margin-top: 20px; color: var(--muted); }
.collection__meta { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; font-size: 14px; }
.collection__meta dt { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.collection__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.collection__products a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.collection__products img { position: absolute; max-width: none; }
.collection__text .btn-row { margin-top: 36px; }

/* ==========================================================================
   Living Concepts page
   ========================================================================== */
.concept { padding-block: 96px; }
.concept + .concept { border-top: 1px solid var(--line); }
.concept__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.concept__head .h2 { margin-top: 10px; }
.concept__head p { max-width: 520px; color: var(--muted); }
/* scene keeps the photo's own ratio so the % furniture boxes line up at every width */
.concept__scene { position: relative; aspect-ratio: 2752 / 1536; overflow: hidden; }
.concept__scene > img { width: 100%; height: 100%; object-fit: cover; }
/* hotspot = invisible box over a piece of furniture; the dot + label appear on hover */
.hotspot-area { position: absolute; z-index: 1; display: block; cursor: pointer; }
.hotspot-area:focus-visible { outline: 1px dashed rgba(255,255,255,.9); outline-offset: 2px; }
.hotspot {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand); color: var(--white);
  box-shadow: 0 0 0 6px rgba(255,255,255,.35);
  font-size: 13px; font-weight: 600;
  opacity: 0; transform: translate(-50%, -50%) scale(.4);
  transition: opacity .25s, transform .35s var(--ease-out);
  pointer-events: none;
}
.hotspot__label {
  position: absolute; left: 50%; top: 50%;
  display: block; width: max-content; max-width: 220px; padding: 10px 14px;
  background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 500; line-height: 1.3; text-align: left;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.35);
  opacity: 0; transform: translate(-50%, 34px);
  transition: opacity .25s, transform .35s var(--ease-out);
  pointer-events: none;
}
.hotspot__label small { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.hotspot-area:hover .hotspot, .hotspot-area:focus-visible .hotspot, .hotspot-area.is-active .hotspot { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hotspot-area:hover .hotspot__label, .hotspot-area:focus-visible .hotspot__label, .hotspot-area.is-active .hotspot__label { opacity: 1; transform: translate(-50%, 26px); }
.hotspot-area:hover { z-index: 3; }
/* the rest of the photo dims a little while one piece is pointed at */
.concept__scene::after { content: ""; position: absolute; inset: 0; background: rgba(23,17,13,0); transition: background-color .3s; pointer-events: none; }
.concept__scene:has(.hotspot-area:hover)::after, .concept__scene:has(.hotspot-area.is-active)::after { background: rgba(23,17,13,.12); }
/* touch screens cannot hover: keep small numbered dots visible, labels stay hidden */
@media (hover: none) {
  .hotspot { opacity: .9; transform: translate(-50%, -50%) scale(.75); }
}
.concept__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 32px; }
.concept__item { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); transition: border-color .2s; }
.concept__item:hover, .concept__item.is-active { border-color: var(--ink); }
.concept__item .thumb { position: relative; flex: none; width: 72px; height: 72px; overflow: hidden; background: var(--cream); }
.concept__item .thumb img { position: absolute; max-width: none; }
.concept__item b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); font-size: 12px; font-weight: 600; }
.concept__item strong { display: block; font-family: var(--font-serif); font-size: 19px; font-weight: 500; line-height: 1.2; }
.concept__item span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { padding: clamp(28px, 4vw, 56px); background: var(--cream); }
.form-card .h2 { margin-top: 10px; }
.form-card > p { margin-top: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 36px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13px; font-weight: 500; }
.req { color: var(--danger); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  outline: none;
  font-size: 15px;
  border-radius: 0;
  transition: border-color .2s;
}
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 44px; }
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(0,0,0,.35); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: 12px; color: var(--danger); }
.field__error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.check > span { flex: 1; min-width: 0; line-height: 1.6; }
.check a { text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.form-status { padding: 14px 16px; background: var(--white); border-left: 2px solid var(--brand); font-size: 14px; }
.form-status:empty { display: none; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); background: var(--white); font-size: 14px; transition: border-color .2s, background-color .2s, color .2s; }
.choice-row input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice-row input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ==========================================================================
   Showroom / contact / professionals / news / policies
   ========================================================================== */
.info-list { display: flex; flex-direction: column; gap: 28px; }
.info-list dt { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.info-list dd { margin-top: 6px; font-family: var(--font-serif); font-size: 24px; line-height: 1.35; }
.info-list a:hover { color: var(--brand); }
.map { width: 100%; height: 520px; border: 0; display: block; filter: grayscale(.35); background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 300px; gap: var(--gap); }
.gallery-grid > :first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.benefit { padding-top: 28px; border-top: 1px solid var(--ink); }
.benefit .split__num { display: block; }
.benefit h3 { margin-top: 16px; font-family: var(--font-serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.benefit p { margin-top: 12px; color: var(--muted); }

.download {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 48px;
  background: var(--cream);
}
.download__cover { aspect-ratio: 3 / 4; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.download__cover img { width: 100%; height: 100%; object-fit: cover; }
.download .h2 { margin-top: 10px; }
.download p { margin-top: 12px; color: var(--muted); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.tabs button { padding: 10px 18px; border: 1px solid var(--line); font-size: 14px; transition: border-color .2s, background-color .2s, color .2s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px var(--gap); }
.news-grid .news-card.is-feature { grid-column: span 2; }
.news-grid .news-card.is-feature .news-card__img { aspect-ratio: 16 / 9; }
.news-card[hidden] { display: none; }
.news-card__img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__meta { display: flex; gap: 12px; margin-top: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.news-card__meta span:first-child { color: var(--brand); }
.news-card h3 { margin-top: 10px; font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1.25; transition: color .2s; }
.news-card:hover h3 { color: var(--brand); }
.news-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.policy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; padding-bottom: var(--section-y); }
.policy-nav { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.policy-nav a { padding-left: 16px; border-left: 1px solid var(--line); transition: border-color .2s, color .2s; }
.policy-nav a:hover { border-color: var(--ink); }
.policy { max-width: 760px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.policy:last-child { border-bottom: 0; margin-bottom: 0; }
.policy .h2 { margin-bottom: 24px; }
.policy h3 { margin-top: 28px; font-weight: 500; }
.policy p, .policy li { margin-top: 10px; color: var(--muted); }
.policy ul { list-style: disc; padding-left: 20px; }

.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.quick-links a { display: block; padding: 32px; border: 1px solid var(--line); transition: border-color .2s; }
.quick-links a:hover { border-color: var(--ink); }
.quick-links strong { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.quick-links span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --gutter: 40px; --section-y: 110px; }
  .nav__link { padding: 0 9px; font-size: 13px; }
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .concept__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  :root { --header-h: 72px; --section-y: 88px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__logo img { height: 36px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { width: 100%; height: auto; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 24px; }
  .nav__panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .nav__item.is-open > .nav__panel { display: block; }
  .nav__panel .container { padding-inline: 0; }
  .mega { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 24px; }
  .mega__promo { display: none; }
  .dropdown { flex-direction: column; gap: 20px; padding-block: 20px; }
  .split, .split--reverse, .two-col, .pdp, .collection, .collection:nth-of-type(even) { grid-template-columns: 1fr; }
  .split--reverse .split__media, .collection:nth-of-type(even) .collection__media { order: 0; }
  .pdp__info { position: static; }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .concept-grid > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .strip { grid-auto-columns: minmax(300px, 46%); }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters__toggle { display: inline-flex; justify-self: start; }
  .filters { display: none; padding: 24px; background: var(--cream); }
  .filters.is-open { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .benefits { grid-template-columns: 1fr; gap: 32px; }
  .download { grid-template-columns: 160px 1fr; gap: 32px; }
  .download .btn { grid-column: 1 / -1; justify-self: start; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-layout { grid-template-columns: 1fr; gap: 32px; }
  .policy-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --section-y: 72px; }
  .header__cta { display: none; }
  .hero__content { padding-block: 80px 56px; }
  .hero__scroll { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .section-head--center { align-items: center; }
  .mega { grid-template-columns: 1fr; }
  .product-grid, .product-grid--4 { gap: 32px 12px; }
  .concept-grid { grid-template-columns: 1fr; }
  .concept-grid > * { aspect-ratio: 4 / 5 !important; }
  .strip { grid-auto-columns: 82%; }
  .cta { padding-block: 104px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-grid > :first-child { grid-row: auto; }
  .download { grid-template-columns: 1fr; padding: 28px 20px; }
  .download__cover { max-width: 180px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card.is-feature { grid-column: auto; }
  .concept__list { grid-template-columns: 1fr; }
  .collection__products { grid-template-columns: repeat(3, 1fr); }
  .quick-links { grid-template-columns: 1fr; }
  .map { height: 360px; }
  .specs div { grid-template-columns: 110px 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.check.has-error { color: var(--danger); }
.check.has-error input { outline: 1px solid var(--danger); }

/* ==========================================================================
   Nav: link + separate submenu toggle ("Sản phẩm")
   ========================================================================== */
.nav__item--split { display: flex; align-items: center; }
.nav__item--split > .nav__link { padding-right: 4px; }
.nav__sub-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  height: var(--header-h);
  margin-right: 8px;
  transition: color .2s;
}
.nav__sub-toggle svg { transition: transform .2s; }
.nav__sub-toggle:hover,
.nav__item.is-open > .nav__sub-toggle { color: var(--brand); }
.nav__item.is-open > .nav__sub-toggle svg { transform: rotate(180deg); }

@media (max-width: 1100px) {
  .nav__item--split { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__item--split > .nav__link { flex: 1; width: auto; padding-right: 0; border-bottom: 0; }
  .nav__item--split > .nav__panel { flex-basis: 100%; }
  .nav__sub-toggle { width: 48px; height: 48px; margin-right: 0; }
  .nav__sub-toggle svg { width: 16px; height: 16px; }
}

/* ==========================================================================
   Scroll reveal (any element with [data-reveal]; enabled only when JS runs)
   ========================================================================== */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Category landing page (categories.html)
   ========================================================================== */
.cat-list { display: flex; flex-direction: column; gap: var(--gap); padding-bottom: var(--section-y); }
.cat-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(82vh, 820px);
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.cat-banner__img { position: absolute; inset: 0; z-index: -2; }
.cat-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.8s cubic-bezier(.2,.7,.2,1);
}
.cat-banner.is-visible .cat-banner__img img { transform: scale(1); }
.cat-banner:hover .cat-banner__img img { transform: scale(1.03); }
.cat-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.38); transition: background-color .4s; }
.cat-banner:hover::after { background: rgba(0, 0, 0, 0.48); }
.cat-banner__content { max-width: 920px; padding: 48px 24px; }
.cat-banner__content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1);
}
.cat-banner.is-visible .cat-banner__content > * { opacity: 1; transform: none; }
.cat-banner.is-visible .cat-banner__content > :nth-child(2) { transition-delay: .15s; }
.cat-banner.is-visible .cat-banner__content > :nth-child(3) { transition-delay: .3s; }
.cat-banner.is-visible .cat-banner__content > :nth-child(4) { transition-delay: .45s; }
.cat-banner .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cat-banner .display { margin-top: 16px; font-size: clamp(44px, 6vw, 88px); }
.cat-banner p { margin-top: 16px; color: rgba(255, 255, 255, 0.85); }
.cat-banner .btn { margin-top: 36px; }
/* Without JS the banner content stays visible */
html:not(.js-reveal) .cat-banner__content > * { opacity: 1; transform: none; }
html:not(.js-reveal) .cat-banner__img img { transform: none; }

@media (max-width: 720px) {
  .cat-banner { min-height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal], .cat-banner__content > *, .cat-banner__img img { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Contact tag (Facebook / Zalo): a small beige tab on the right edge, low on the screen, every page
   (markup in js/layout.js). Logos are direct links; the name slides out to the left on hover.
   Attention: the tag slides in after load, then the two logos "ring" one after the other every
   7s, with a soft ripple behind each.
   ========================================================================== */
.fab {
  position: fixed; right: 0; bottom: 92px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 7px 9px 9px;
  background: var(--sand);
  border: 1px solid #d9cab8; border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: -8px 10px 28px -16px rgba(23, 17, 13, .4);
  animation: fab-tag-in .8s 1.2s var(--ease-out) both;
}
@keyframes fab-tag-in { from { transform: translateX(110%); } to { transform: none; } }
/* brand strip on the edge side + vertical caption */
.fab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 0 2px 2px 0; background: var(--brand-light); }
.fab__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
/* beige circles with brown logos */
.fab__link { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--brand); border: 1px solid #d9cab8; transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .2s; }
.fab__logo svg { width: 20px; height: 20px; }
.fab__link--zalo .fab__logo svg { width: 24px; height: 24px; }
.fab__bolt { fill: var(--cream); transition: fill .25s; }
.fab__link--zalo .fab__logo svg path { fill: currentColor; }
.fab__link--zalo .fab__logo svg text { fill: var(--cream); transition: fill .25s; }
/* hover: same as the back-to-top button — brown circle, white logo */
.fab__link:hover, .fab__link:focus-visible { background: var(--brand); color: var(--white); border-color: var(--brand); }
.fab__link:hover .fab__bolt, .fab__link:focus-visible .fab__bolt,
.fab__link--zalo:hover .fab__logo svg text, .fab__link--zalo:focus-visible .fab__logo svg text { fill: var(--brand); }
.fab__logo { display: grid; place-items: center; transform-origin: 50% 60%; animation: fab-ring 7s ease-in-out infinite; }
.fab__link--zalo .fab__logo { animation-delay: .9s; }
/* ripple behind each logo, in step with the ring */
.fab__link::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--brand-light); opacity: 0; animation: fab-ripple 7s ease-out infinite; pointer-events: none; }
.fab__link--zalo::after { animation-delay: .9s; }
@keyframes fab-ring {
  0%, 12%, 100% { transform: none; }
  2% { transform: rotate(-14deg) scale(1.08); }
  4% { transform: rotate(12deg) scale(1.08); }
  6% { transform: rotate(-9deg) scale(1.06); }
  8% { transform: rotate(6deg) scale(1.04); }
  10% { transform: rotate(-3deg); }
}
@keyframes fab-ripple { 0% { opacity: .6; transform: scale(1); } 18% { opacity: 0; transform: scale(1.7); } 100% { opacity: 0; transform: scale(1.7); } }
/* name pill slides out to the left of the logo */
.fab__name {
  position: absolute; right: calc(100% + 18px); top: 50%;
  padding: 6px 12px; border-radius: 30px;
  background: var(--ink); color: var(--white);
  font-size: 12px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(10px, -50%); pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease-out);
}
.fab__link:hover .fab__name, .fab__link:focus-visible .fab__name { opacity: 1; transform: translate(0, -50%); }
.fab__link:hover .fab__logo { animation-play-state: paused; }
.fab__link:hover { transform: scale(1.06); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.fab__link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 720px) {
  .fab { bottom: 76px; padding: 8px 5px 7px 7px; gap: 6px; border-radius: 12px 0 0 12px; }
  .fab__link { width: 32px; height: 32px; }
  .fab__logo svg { width: 18px; height: 18px; }
  .fab__link--zalo .fab__logo svg { width: 21px; height: 21px; }
  .fab__label { font-size: 8px; }
  .fab__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fab, .fab__logo, .fab__link::after { animation: none; }
}

/* ==========================================================================
   Language switcher (header) — phase 1 machine translation, see js/i18n.js
   ========================================================================== */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: color .2s;
}
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { color: var(--brand); }
.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 180px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
}
.lang__menu[hidden] { display: none; }
.lang__menu button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: background-color .2s;
}
.lang__menu button:hover { background: var(--cream); }
.lang__menu button[aria-current="true"] { color: var(--brand); }
.lang__menu button[aria-current="true"]::after { content: "✓"; margin-left: auto; }
.lang__menu small { font-size: 12px; font-weight: 300; color: var(--muted); }

/* Hide Google Translate's own toolbar, tooltips and highlight; keep page at top:0 */
#google_translate_element,
.goog-te-banner-frame,
iframe.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb { display: none !important; }
html.is-translating body { top: 0 !important; position: static !important; }
.goog-text-highlight,
font[style] { background: none !important; box-shadow: none !important; }

@media (max-width: 720px) {
  .lang__toggle { padding: 0 4px; }
  .lang__toggle svg { display: none; }
}

/* ==========================================================================
   BRIEF 2 — header overlay, dropdown grid, arrow buttons
   ========================================================================== */
.header__cta { margin-right: 4px; }
.dropdown--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 40px; }
.dropdown--grid strong { font-size: 18px; }
.dropdown strong { font-weight: 500; }

/* Home: header floats over the hero, turns solid on scroll / when a menu is open */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255,255,255,.18); color: var(--white); transition: background-color .3s, color .3s, border-color .3s; }
.site-header--overlay .header__logo img { filter: brightness(0) invert(1); transition: filter .3s; }
.site-header--overlay .nav__link:hover { color: var(--brand-light); }
.site-header--overlay.is-solid,
.site-header--overlay:has(.nav__item.is-open),
.site-header--overlay:has(.nav.is-open),
.site-header--overlay:has(.lang__menu:not([hidden])) { background: rgba(255,255,255,.98); color: var(--ink); border-bottom-color: var(--line); }
.site-header--overlay.is-solid .header__logo img,
.site-header--overlay:has(.nav__item.is-open) .header__logo img,
.site-header--overlay:has(.nav.is-open) .header__logo img,
.site-header--overlay:has(.lang__menu:not([hidden])) .header__logo img { filter: none; }
.site-header--overlay .nav__panel, .site-header--overlay .lang__menu { color: var(--ink); }

/* Home: category grid (layout from idea/products-rec.png) */
.home-cat-head { align-items: flex-end; }
.home-cat-head__aside { max-width: 470px; }
.home-cat-head__aside p { line-height: 1.75; }
.home-cat-head__aside .link-arrow { margin-top: 20px; color: var(--brand); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}
.cat-grid__cell {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 26px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s, color .25s;
}
.cat-grid__cell svg { flex: none; color: var(--brand); transition: color .25s, transform .25s; }
.cat-grid__name { margin-top: auto; padding-top: 40px; font-size: 17px; font-weight: 500; }
.cat-grid__desc { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--muted); transition: color .25s; }
.cat-grid__count { margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.cat-grid__cell:hover { background: var(--sand); }
.cat-grid__cell:hover svg { transform: translateY(-2px); }
.cat-grid__cell--all { grid-column: span 2; background: var(--brand); color: var(--white); }
.cat-grid__cell--all svg, .cat-grid__cell--all .cat-grid__count, .cat-grid__cell--all .cat-grid__desc { color: rgba(255,255,255,.75); }
.cat-grid__cell--all:hover { background: var(--brand-dark); }
/* index.html: 8 categories, 4 per row, no "all products" cell */
.cat-grid--home { grid-template-columns: repeat(4, 1fr); }
.cat-grid--home .cat-grid__name { margin-top: 0; padding-top: 20px; }
@media (max-width: 900px) {
  .cat-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cat-grid--home .cat-grid__name { padding-top: 14px; }
}
@media (max-width: 1100px) {
  .home-cat-head { flex-direction: column; align-items: flex-start; }
  .cat-grid:not(.cat-grid--home) { grid-template-columns: repeat(3, 1fr); }
  .cat-grid__cell--all { grid-column: span 1; }
}
@media (max-width: 720px) {
  .cat-grid:not(.cat-grid--home) { grid-template-columns: repeat(2, 1fr); }
  .cat-grid__cell { min-height: 140px; padding: 20px 16px; }
  .cat-grid__name { padding-top: 28px; font-size: 15px; }
  .cat-grid__desc { font-size: 12px; }
  .cat-grid__cell--all { grid-column: span 2; }
}

/* Button with a square arrow box (from idea/trang-chu.png) */
.btn-arrow { display: inline-flex; align-items: stretch; min-height: 52px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.btn-arrow__label { display: flex; align-items: center; padding: 0 28px; background: var(--brand); color: var(--white); transition: background-color .25s; }
.btn-arrow__icon { display: grid; place-items: center; width: 52px; border: 1px solid var(--brand); color: var(--brand); background: var(--white); transition: background-color .25s, color .25s; }
.btn-arrow:hover .btn-arrow__label { background: var(--brand-dark); }
.btn-arrow:hover .btn-arrow__icon { background: var(--brand); color: var(--white); }
.btn-arrow--light .btn-arrow__icon { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-arrow--light:hover .btn-arrow__icon { background: var(--white); color: var(--ink); border-color: var(--white); }
.eyebrow { letter-spacing: .18em; }

/* ==========================================================================
   Home (brief 2, idea/trang-chu.png)
   ========================================================================== */
/* 1. Hero slider = Collections */
.home-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; color: var(--white); overflow: hidden; background: var(--espresso); }
.home-hero__slide { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.home-hero__slide.is-active { opacity: 1; visibility: visible; }
.home-hero__slide > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.home-hero__slide.is-active > img { transform: scale(1); }
.home-hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23,17,13,.55), rgba(23,17,13,.45) 50%, rgba(23,17,13,.7)); }
.home-hero__content { position: relative; z-index: 2; max-width: 1040px; padding: 0 24px; text-wrap: balance; text-shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 32px rgba(0,0,0,.4); }
.home-hero__content .eyebrow { color: rgba(255,255,255,.85); }
.home-hero__content h1, .home-hero__content h2 { margin-top: 18px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.home-hero__content p { max-width: 560px; margin: 22px auto 0; color: rgba(255,255,255,.82); }
.home-hero__content .btn-arrow { margin-top: 40px; }
.home-hero__slide .home-hero__content > * { opacity: 0; transform: translateY(20px); transition: opacity .8s .3s, transform .8s .3s; }
.home-hero__slide.is-active .home-hero__content > * { opacity: 1; transform: none; }
.home-hero__slide.is-active .home-hero__content > :nth-child(2) { transition-delay: .45s; }
.home-hero__slide.is-active .home-hero__content > :nth-child(3) { transition-delay: .6s; }
.home-hero__slide.is-active .home-hero__content > :nth-child(4) { transition-delay: .75s; }
.home-hero__dots { position: absolute; left: 50%; bottom: 48px; z-index: 3; display: flex; gap: 14px; transform: translateX(-50%); }
.home-hero__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background-color .3s, transform .3s; }
.home-hero__dots button[aria-current="true"] { background: var(--white); transform: scale(1.35); }
.home-hero__arrows button { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); transition: background-color .25s, border-color .25s; }
.home-hero__arrows button:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.home-hero__prev { left: var(--gutter); }
.home-hero__next { right: var(--gutter); }

/* 2. Intro: media + text + values */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.intro__media { position: relative; aspect-ratio: 5 / 4.4; overflow: hidden; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(23,17,13,.55)); }
.intro__play { position: absolute; left: 40px; bottom: 40px; z-index: 1; display: flex; align-items: center; gap: 20px; color: var(--white); font-size: clamp(22px, 2vw, 30px); font-weight: 500; }
.intro__play span:first-child { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand); transition: transform .3s, background-color .3s; }
.intro__play:hover span:first-child { transform: scale(1.08); background: var(--brand-dark); }
.intro__text .h2 { margin-top: 14px; }
.intro__text > p { margin-top: 24px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; margin-top: 36px; }
.value { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.value i { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--brand); }
.intro__text .btn-arrow { margin-top: 44px; }

/* 3. Collections masonry */
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 300px 300px; gap: var(--gap); }
.col-grid > :nth-child(1) { grid-row: span 2; }
.col-grid > :nth-child(4) { grid-column: 2 / span 2; }
.col-grid .tile__caption { left: 28px; bottom: 24px; }
.col-grid .tile__caption .h3 { font-size: clamp(22px, 1.8vw, 28px); }

/* 4. Living concepts block: big tile + tile + dark stat band */
.lc-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 720px; gap: var(--gap); }
.lc-block > .tile { min-height: 0; }
.lc-block__right { display: grid; grid-template-rows: 1fr auto; gap: var(--gap); }
.lc-block__right { min-height: 0; }
.lc-block__right .tile { min-height: 0; }
.lc-band { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--brand); color: var(--white); }
.lc-band a { padding: 40px 16px; text-align: center; transition: background-color .25s; }
.lc-band a + a { border-left: 1px solid rgba(255,255,255,.16); }
.lc-band a:hover { background: var(--brand-dark); }
.lc-band strong { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1; }
.lc-band strong small { font-size: .5em; }
.lc-band span { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ==========================================================================
   Category landing (brief 2, idea/san-pham.png): beige panels + alternating rows
   ========================================================================== */
body[data-page="categories"] { background: var(--sand); }
.cat-head { padding-block: 72px 64px; text-align: center; }
.cat-head .breadcrumb { justify-content: center; }
.cat-head .h1 { margin-top: 14px; }
.cat-rows { display: flex; flex-direction: column; }
.cat-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.cat-row__media { position: relative; overflow: hidden; }
.cat-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.cat-row.is-visible .cat-row__media img, html:not(.js-reveal) .cat-row__media img { transform: scale(1); }
.cat-row:hover .cat-row__media img { transform: scale(1.03); }
.cat-row__text { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 64px 32px; text-align: center; background: var(--sand); }
.cat-row--reverse .cat-row__media { order: 2; }
.cat-row__name { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cat-row__text p { max-width: 360px; color: var(--muted); }
.cat-row__meta { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 28px; border: 1px solid currentColor; border-radius: 40px; font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.cat-row__text .btn-pill:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-pill--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-pill--light:hover { background: transparent; color: var(--white); }
.btn-pill--ghost { color: var(--white); }
.btn-pill--ghost:hover { background: var(--white); color: var(--ink); }
/* full-bleed row with centered text */
.cat-full { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 600px; overflow: hidden; color: var(--white); text-align: center; }
.cat-full > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.cat-full.is-visible > img, html:not(.js-reveal) .cat-full > img { transform: scale(1); }
.cat-full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23,17,13,.35); }
.cat-full__text { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 48px 24px; }
.cat-full .cat-row__meta { color: rgba(255,255,255,.85); }
.cat-full p { max-width: 420px; color: rgba(255,255,255,.85); }
/* closing CTA tiles */
.cat-cta { display: grid; grid-template-columns: 1fr 1fr; }
.cat-cta a { position: relative; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 22px; min-height: 420px; padding: 40px; color: var(--white); text-align: center; overflow: hidden; }
.cat-cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.cat-cta a:hover img { transform: scale(1.04); }
.cat-cta a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(23,17,13,.5); }
.cat-cta strong { font-size: clamp(22px, 2vw, 30px); font-weight: 500; }

/* ==========================================================================
   Contact + showroom merged (brief 2)
   ========================================================================== */
.showroom-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: var(--gap); }
.showroom-strip > :first-child { grid-row: span 2; }
.showroom-strip img { width: 100%; height: 100%; object-fit: cover; }
.booking-only[hidden] { display: none; }

@media (max-width: 1280px) {
  .dropdown--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .site-header--overlay .nav { color: var(--ink); }
  .dropdown--grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .intro, .lc-block { grid-template-columns: 1fr; grid-template-rows: none; }
  .lc-block__right { grid-template-rows: 380px auto; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px 280px; }
  .col-grid > :nth-child(1) { grid-row: span 2; }
  .col-grid > :nth-child(4) { grid-column: 1 / -1; }
  .lc-block > .tile { min-height: 460px; }
  .cat-row { min-height: 420px; }
  .home-hero__arrows { display: none; }
}
@media (max-width: 720px) {
  .dropdown--grid { grid-template-columns: 1fr; }
  .home-hero { min-height: 560px; }
  .intro__play { left: 20px; bottom: 20px; }
  .intro__play span:first-child { width: 56px; height: 56px; }
  .values { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .value i { width: 44px; height: 44px; }
  .col-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 320px; }
  .col-grid > * { grid-row: auto !important; grid-column: auto !important; }
  .lc-band a { padding: 28px 8px; }
  .cat-row { grid-template-columns: 1fr; min-height: 0; }
  .cat-row__media { aspect-ratio: 4 / 3; }
  .cat-row--reverse .cat-row__media { order: 0; }
  .cat-row__text { padding: 48px 20px; }
  .cat-full { min-height: 460px; }
  .cat-cta { grid-template-columns: 1fr; }
  .cat-cta a { min-height: 320px; }
  .showroom-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .showroom-strip > :first-child { grid-column: 1 / -1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__slide > img, .cat-row__media img, .cat-full > img { transform: none !important; }
  .home-hero__slide .home-hero__content > * { opacity: 1; transform: none; }
}
.nav__item--cta { display: none; }
@media (max-width: 720px) {
  .nav__item--cta { display: block; margin-top: 28px; }
}

/* ==========================================================================
   Catalogue product photos (assets/products/*.jpg): studio shots on white
   ========================================================================== */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.collection__products a, .concept__item .thumb { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.collection__products img.photo, .concept__item .thumb img.photo { padding: 8%; }
/* spec blocks on the product page */
.pdp__code { margin-top: 10px; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.pdp__note { margin-top: 20px; padding: 12px 14px; background: var(--cream); border-left: 2px solid var(--brand-light); font-size: 13px; color: var(--muted); }
.spec-block { margin-top: 40px; }
.spec-block h2 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec-block li { position: relative; padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.spec-block li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light); }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list span { padding: 8px 14px; border: 1px solid var(--line); font-size: 13px; }
.finish-dots { display: flex; flex-wrap: wrap; gap: 14px; }
.finish-dots span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.finish-dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
/* materials page palettes */
.palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 18px 14px; margin-top: 28px; }
.palette figure { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); }
.palette i { display: block; aspect-ratio: 1; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.palette--finish { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.palette--finish figure { font-size: 14px; color: var(--ink); }
.palette--finish small { color: var(--muted); }

/* ==========================================================================
   Motion: hover zoom on every linked / showcase image, button nudges.
   Containers already clip (overflow: hidden); the reduced-motion block below turns it off.
   ========================================================================== */
:root { --zoom: 1.08; --ease-out: cubic-bezier(.2,.7,.2,1); }
.tile img, .pcard__img img, .news-card__img img, .mega__promo img, .intro__media img,
.split__media img, .collection__media img, .collection__products img, .concept__item .thumb img,
.download__cover img, .cat-cta img, .showroom-strip img, .pdp__main img, .pdp__thumbs img {
  transition: transform 1s var(--ease-out);
}
.tile:hover img, .pcard:hover .pcard__img img, .news-card:hover .news-card__img img, .mega__promo:hover img,
.intro__media:hover img, .split__media:hover img, .collection__media:hover img, .collection__products a:hover img,
.concept__item:hover .thumb img, .download:hover .download__cover img, .cat-cta a:hover img,
.showroom-strip__item:hover img, .pdp__main:hover img, .pdp__thumbs button:hover img,
.cat-row:hover .cat-row__media img, .cat-full:hover > img {
  transform: scale(var(--zoom));
}
/* keyboard users get the same feedback */
.tile:focus-visible img, .pcard:focus-within .pcard__img img, .news-card:focus-visible .news-card__img img,
.collection__products a:focus-visible img, .cat-cta a:focus-visible img { transform: scale(var(--zoom)); }
.showroom-strip__item { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; cursor: zoom-in; }
.showroom-strip__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.showroom-strip__item:focus-visible img { transform: scale(var(--zoom)); }
.intro__media img { transition-duration: 1.4s; }

/* arrow buttons/links: the arrow slides a little on hover */
.btn-arrow__icon svg, .link-arrow svg { transition: transform .3s var(--ease-out); }
.btn-arrow:hover .btn-arrow__icon svg, .link-arrow:hover svg { transform: translateX(4px); }

/* cards lift their title colour; category cells already change background */
.pcard:hover .pcard__name, .news-card:hover h3 { color: var(--brand); }

/* scroll reveal: children of a [data-reveal-stagger] group come in one after another */
.js-reveal [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js-reveal [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

@media (hover: none) {
  /* no sticky zoom after a tap on touch screens */
  .tile:hover img, .pcard:hover .pcard__img img, .news-card:hover .news-card__img img,
  .split__media:hover img, .collection__media:hover img, .showroom-strip__item:hover img,
  .pdp__main:hover img, .intro__media:hover img, .cat-row:hover .cat-row__media img, .cat-full:hover > img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  img { transform: none !important; }
  .js-reveal [data-reveal], .js-reveal [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Lightbox ([data-lightbox] groups, js/main.js)
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 200; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 17, 13, .96); color: var(--white); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-fade .3s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 calc(var(--gutter) + 56px); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); animation: lb-zoom .45s var(--ease-out); }
.lightbox__caption { padding: 18px var(--gutter) 28px; text-align: center; font-size: 15px; color: rgba(255,255,255,.85); }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); color: var(--white); transition: background-color .2s, border-color .2s, color .2s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--white); border-color: var(--white); color: var(--ink); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.96); } }
@media (max-width: 720px) {
  .lightbox__stage { padding: 0 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -64px; transform: none; }
  .lightbox__caption { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox[open], .lightbox__img { animation: none; } }

/* ==========================================================================
   About: history timeline — vertical. Desktop: milestones alternate either side of a
   centre rail. The rail fills as you scroll (--tl-progress, js/main.js) and each
   milestone slides in from its side when it reaches the viewport ([data-reveal]).
   ========================================================================== */
.timeline-wrap { margin-top: var(--section-y); }
.timeline-wrap .section-head { justify-content: center; text-align: center; }
.timeline-track { position: relative; max-width: 1080px; margin: 0 auto; }
.timeline__rail { position: absolute; top: 8px; bottom: 8px; left: 50%; width: 1px; background: var(--line); transform: translateX(-.5px); }
.timeline__fill { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(var(--tl-progress, 1)); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline__item { position: relative; width: 50%; padding: 0 64px 56px 0; text-align: right; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 56px 64px; text-align: left; }
/* items on alternate sides may overlap vertically, which keeps the column compact */
.timeline__item + .timeline__item { margin-top: -40px; }
.timeline__item:last-child { padding-bottom: 0; }
/* the dot sits on the rail */
.timeline__item::after {
  content: ""; position: absolute; top: 10px; right: -8px; width: 16px; height: 16px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); box-sizing: border-box;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease-out);
}
.timeline__item:nth-child(even)::after { right: auto; left: -8px; }
.timeline__item.is-visible::after, html:not(.js-reveal) .timeline__item::after { border-color: var(--brand); background: var(--brand); }
.timeline__item--next::after, .timeline__item--next.is-visible::after { border-color: var(--brand); background: var(--brand); animation: tl-pulse 2.4s ease-out infinite; }
.timeline__year { display: block; font-size: clamp(32px, 3vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: var(--ink); }
.timeline__item strong { display: block; margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.timeline__item p { max-width: 400px; margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.timeline__item:nth-child(odd) p { margin-left: auto; }
.timeline__item--next .timeline__year { color: var(--brand); }
.timeline__badge { display: inline-block; margin-top: 14px; padding: 5px 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--brand); }
.timeline__badge + strong { margin-top: 12px; }
.timeline__item .link-arrow { margin-top: 20px; color: var(--brand); }
@keyframes tl-pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 58, 36, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(91, 58, 36, 0); } }

/* scroll-in: left items come from the left, right items from the right */
.js-reveal .timeline__item[data-reveal] { transform: translateX(-48px); transition-duration: .9s; }
.js-reveal .timeline__item[data-reveal]:nth-child(even) { transform: translateX(48px); }

@media (max-width: 900px) {
  .timeline-wrap .section-head { justify-content: flex-start; text-align: left; }
  .timeline__rail { left: 7px; }
  .timeline__item, .timeline__item:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 44px 44px; text-align: left; }
  .timeline__item + .timeline__item { margin-top: 0; }
  .timeline__item::after, .timeline__item:nth-child(even)::after { top: 6px; right: auto; left: 0; }
  .timeline__item:nth-child(odd) p { margin-left: 0; }
  .timeline__year { font-size: 32px; }
  .timeline__item strong { margin-top: 10px; }
  .js-reveal .timeline__item[data-reveal], .js-reveal .timeline__item[data-reveal]:nth-child(even) { transform: translateY(32px); }
}
/* after the media query so the revealed state always wins over the per-side start offsets */
.js-reveal .timeline .timeline__item[data-reveal].is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .timeline__item--next::after { animation: none; }
  .timeline__fill { transform: none; }
}

/* Collections page: the big image opens in the lightbox */
button.collection__media { position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in; }
button.collection__media::after { content: ""; position: absolute; inset: 0; background: rgba(23, 17, 13, 0); transition: background-color .5s; pointer-events: none; }
button.collection__media:hover::after { background: rgba(23, 17, 13, .18); }
button.collection__media:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
button.collection__media:focus-visible img { transform: scale(var(--zoom)); }
.zoom-hint {
  position: absolute; right: 20px; bottom: 20px; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(.9);
  transition: opacity .35s, transform .35s var(--ease-out);
}
button.collection__media:hover .zoom-hint, button.collection__media:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }

/* page hero whose photo has its subject in the centre (contact.html): keep the copy to the left of it */
.page-hero--left::after { background: linear-gradient(180deg, rgba(23,17,13,.25) 0%, rgba(23,17,13,.05) 30%, rgba(23,17,13,.85) 100%), linear-gradient(90deg, rgba(23,17,13,.85), rgba(23,17,13,.4) 50%, transparent 74%); }
@media (max-width: 720px) {
  .page-hero--left > img { object-position: 18% center; }
  .page-hero--left::after { background: linear-gradient(180deg, rgba(23,17,13,.3) 0%, rgba(23,17,13,.2) 30%, rgba(23,17,13,.9) 100%); }
}
.page-hero--left .h1 { max-width: 600px; }

/* Header "Sản phẩm" menu: category icons like the home category grid */
/* "Sản phẩm" panel: icon beside the category name, short description underneath */
.dropdown__cat { display: grid !important; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; align-content: start; align-self: start; padding: 4px 0; }
.dropdown__cat .cat-icon { grid-row: 1; width: 22px; height: 22px; color: var(--brand); transition: transform .25s var(--ease-out); }
.dropdown__cat span { grid-column: 2; }
.dropdown__cat:hover .cat-icon { transform: translateY(-2px); }
#panel-products .dropdown--grid { gap: 18px 32px; padding-block: 24px; }
#panel-products .dropdown--grid strong { font-size: 16px; }
#panel-products .dropdown--grid span { margin-top: 2px; font-size: 13px; line-height: 1.5; }

/* Shop: banner + category grid used as the "Nhóm hàng" filter */
.shop-head { padding-block: 40px 48px; }
.shop-head .breadcrumb { margin-bottom: 28px; }
.cat-grid--filter .cat-grid__cell { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cat-grid--filter .cat-grid__cell--all { background: var(--white); color: inherit; }
.cat-grid--filter .cat-grid__cell--all:hover { background: var(--sand); }
.cat-grid--filter .cat-grid__cell--all svg, .cat-grid--filter .cat-grid__cell--all .cat-grid__count { color: inherit; }
.cat-grid--filter .cat-grid__cell--all svg { color: var(--brand); }
.cat-grid--filter .cat-grid__cell--all .cat-grid__count { color: var(--muted); }
.cat-grid--filter .cat-grid__cell[aria-pressed="true"] { background: var(--brand); color: var(--white); }
.cat-grid--filter .cat-grid__cell[aria-pressed="true"] svg,
.cat-grid--filter .cat-grid__cell[aria-pressed="true"] .cat-grid__count { color: rgba(255,255,255,.75); }
.cat-grid--filter .cat-grid__cell[aria-pressed="true"]:hover { background: var(--brand-dark); }
.cat-grid--filter .cat-grid__cell:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
/* compact version of the home grid */
.cat-grid--filter .cat-grid__cell { min-height: 0; padding: 16px 18px; }
.cat-grid--filter .cat-grid__cell svg { width: 22px; height: 22px; }
.cat-grid--filter .cat-grid__name { padding-top: 14px; font-size: 15px; }
.cat-grid--filter .cat-grid__count { margin-top: 2px; font-size: 10px; }
.shop-head { padding-block: 28px 36px; }
.shop-head .breadcrumb { margin-bottom: 20px; }

/* categories.html: category icon above the product count */
.cat-row__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: -6px; border: 1px solid rgba(91, 58, 36, .25); border-radius: 50%; color: var(--brand); }
.cat-row__icon .cat-icon { width: 36px; height: 36px; }
.cat-full .cat-row__icon { border-color: rgba(255, 255, 255, .45); color: var(--white); }
@media (max-width: 720px) { .cat-row__icon { width: 60px; height: 60px; } .cat-row__icon .cat-icon { width: 28px; height: 28px; } }

/* 404.html: text left, framed photo with large "404" numerals right */
.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; max-width: var(--page-max); min-height: calc(100vh - var(--header-h)); margin: 0 auto; padding: 96px var(--gutter); }
.nf__text .h1 { margin-top: 18px; }
.nf__text .lead { margin-top: 24px; max-width: 520px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.nf__links { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.nf__links-title { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nf__links ul { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; transition: border-color .25s, background-color .25s, color .25s; }
.nf__links a svg { flex: none; color: var(--brand); transition: color .25s; }
.nf__links a:hover { border-color: var(--brand); background: var(--brand); color: var(--white); }
.nf__links a:hover svg { color: var(--white); }
.nf__help { margin-top: 32px; font-size: 14px; color: var(--muted); }
.nf__help a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.nf__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.nf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.nf__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,17,13,0) 40%, rgba(23,17,13,.6)); }
.nf__num { position: absolute; left: 32px; bottom: 8px; z-index: 1; font-size: clamp(120px, 14vw, 220px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--white); font-variant-numeric: lining-nums; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nf__media:hover img { transform: scale(1.05); }
}
@media (max-width: 1100px) {
  .nf { gap: 48px; }
}
@media (max-width: 900px) {
  .nf { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 80px; }
  .nf__media { order: -1; aspect-ratio: 16 / 10; }
  .nf__num { left: 20px; font-size: clamp(96px, 24vw, 160px); }
}

/* Page-transition loader (markup at the top of <body>, behaviour in js/layout.js).
   Arrival: the cream curtain lifts up. Leaving: it drops back down, then the browser navigates.
   Failsafe: if JS never runs, the curtain lifts by itself after 4s. */
.page-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--cream); transition: transform .6s cubic-bezier(.76,0,.24,1), visibility 0s; animation: loader-failsafe .8s 4s cubic-bezier(.76,0,.24,1) forwards; }
.page-loader.is-done { transform: translateY(-100%); visibility: hidden; transition: transform .6s cubic-bezier(.76,0,.24,1), visibility 0s .6s; }
.page-loader.is-leaving { transition-duration: .35s; }
.page-loader__inner { display: grid; justify-items: center; gap: 28px; transition: opacity .3s, transform .5s; }
.page-loader.is-done .page-loader__inner { opacity: 0; transform: translateY(-24px); }
.page-loader__logo { animation: loader-breathe 1.8s ease-in-out infinite; }
.page-loader__bar { position: relative; width: 140px; height: 1px; overflow: hidden; background: var(--line); }
.page-loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: loader-bar 1.4s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes loader-bar {
  0% { transform: translateX(-100%) scaleX(.4); }
  50% { transform: translateX(0) scaleX(.6); }
  100% { transform: translateX(100%) scaleX(.4); }
}
@keyframes loader-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes loader-failsafe { to { transform: translateY(-100%); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader__logo, .page-loader__bar::after { animation: none; }
  .page-loader__bar::after { transform: none; }
}

/* "Vì sao chọn Hamamoto" (index.html + about.html): dark band, tabs left, photo + specs right */
.why-section { background: var(--espresso); color: var(--white); }
.why-section .eyebrow { color: var(--brand-light); }
/* head uses .section-head (same spacing/type as the other home sections), recoloured for the dark band */
.why-head p { max-width: 470px; line-height: 1.75; color: rgba(255,255,255,.66); }
.why { display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; gap: 72px; align-items: start; }
.why__tabs { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.14); }
.why__tab { display: flex; align-items: baseline; gap: 20px; width: 100%; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-align: left; font: inherit; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: rgba(255,255,255,.45); cursor: pointer; transition: color .3s, padding-left .4s var(--ease-out); }
.why__num { flex: none; font-size: 12px; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.4); transition: color .3s; }
.why__tab:hover { color: rgba(255,255,255,.8); }
.why__tab[aria-selected="true"] { color: var(--white); padding-left: 8px; }
.why__tab[aria-selected="true"] .why__num { color: var(--brand-light); }
.why__tab:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 4px; }
.why__panel.is-active { animation: why-in .6s var(--ease-out); }
@keyframes why-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.why__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; margin: 0; background: #241a13; }
.why__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.why__panel.is-active .why__media img { animation: why-zoom 1.4s var(--ease-out); }
@keyframes why-zoom { from { transform: scale(1.06); } to { transform: none; } }
.why__caption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; background: rgba(23,17,13,.72); backdrop-filter: blur(6px); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.why__body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.why__body p { margin-top: 16px; line-height: 1.75; color: rgba(255,255,255,.66); }
.why__specs { margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.why__specs div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.why__specs dt { padding-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.why__specs dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--white); }
@media (max-width: 1100px) {
  .why { grid-template-columns: 1fr; gap: 40px; }
  /* tabs become a horizontal scroll row */
  .why__tabs { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .why__tabs::-webkit-scrollbar { display: none; }
  .why__tab { flex: none; width: auto; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 40px; font-size: 15px; font-weight: 500; }
  .why__tab[aria-selected="true"] { padding-left: 18px; background: var(--white); border-color: var(--white); color: var(--ink); }
  .why__tab[aria-selected="true"] .why__num { color: var(--brand); }
  .why__num { font-size: 11px; }
}
@media (max-width: 900px) {
  .why-head { flex-direction: column; align-items: flex-start; }
  .why__body { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .why__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .why__specs div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .why__panel.is-active, .why__panel.is-active .why__media img { animation: none; }
}

/* collections.html: slow "Ken Burns" drift on each collection photo so it reads like video footage.
   Each collection gets its own pan direction; the loop runs forwards then backwards (alternate),
   so there's never a jump. Replaces the hover zoom on these images. */
.collection__media img { transform-origin: center; will-change: transform; animation: kb-a 22s ease-in-out infinite alternate; }
.collection:nth-of-type(4n+2) .collection__media img { animation-name: kb-b; animation-duration: 24s; }
.collection:nth-of-type(4n+3) .collection__media img { animation-name: kb-c; animation-duration: 20s; }
.collection:nth-of-type(4n+4) .collection__media img { animation-name: kb-d; animation-duration: 26s; }
@keyframes kb-a { from { transform: scale(1.04) translate(-1.5%, 1%); } to { transform: scale(1.16) translate(2%, -1.5%); } }
@keyframes kb-b { from { transform: scale(1.15) translate(2%, 1.5%); } to { transform: scale(1.06) translate(-2%, -1%); } }
@keyframes kb-c { from { transform: scale(1.05) translate(1.5%, -2%); } to { transform: scale(1.14) translate(-1.5%, 2%); } }
@keyframes kb-d { from { transform: scale(1.12) translate(-2%, -1.5%); } to { transform: scale(1.05) translate(1.5%, 1.5%); } }
@media (prefers-reduced-motion: reduce) {
  .collection__media img { animation: none; }
}

/* collections.html: on scroll, each .collection's photo and text slide in from opposite sides
   (photo from its own side, text from the other; swapped on even rows). The block itself is the
   [data-reveal] trigger, so it stays put and only its two halves move. */
body[data-page="collections"] main { overflow-x: clip; } /* no sideways scrollbar while halves are off to the side */
.js-reveal .collection[data-reveal] { opacity: 1; transform: none; }
.js-reveal .collection[data-reveal] > .collection__media,
.js-reveal .collection[data-reveal] > .collection__text {
  opacity: 0;
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-reveal .collection[data-reveal] > .collection__media { transform: translateX(-80px); }
.js-reveal .collection[data-reveal] > .collection__text { transform: translateX(80px); transition-delay: .18s; }
.js-reveal .collection[data-reveal]:nth-of-type(even) > .collection__media { transform: translateX(80px); }
.js-reveal .collection[data-reveal]:nth-of-type(even) > .collection__text { transform: translateX(-80px); }
@media (max-width: 1100px) {
  /* stacked layout: photo from the left, text from the right, shorter distance */
  .js-reveal .collection[data-reveal] > .collection__media,
  .js-reveal .collection[data-reveal]:nth-of-type(even) > .collection__media { transform: translateX(-40px); }
  .js-reveal .collection[data-reveal] > .collection__text,
  .js-reveal .collection[data-reveal]:nth-of-type(even) > .collection__text { transform: translateX(40px); }
}
/* last, so the revealed state wins over every start offset above */
.js-reveal .collection[data-reveal].is-visible > .collection__media,
.js-reveal .collection[data-reveal].is-visible > .collection__text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .collection[data-reveal] > * { opacity: 1 !important; transform: none !important; }
}

/* index.html: photos in every .tile (Collections + Living Concepts) drift slowly like video,
   reusing the collections.html Ken Burns keyframes; neighbouring tiles move differently. */
body[data-page="home"] .tile img { transform-origin: center; will-change: transform; animation: kb-a 22s ease-in-out infinite alternate; }
body[data-page="home"] .tile:nth-child(4n+2) img { animation-name: kb-b; animation-duration: 24s; }
body[data-page="home"] .tile:nth-child(4n+3) img { animation-name: kb-c; animation-duration: 20s; }
body[data-page="home"] .tile:nth-child(4n+4) img { animation-name: kb-d; animation-duration: 26s; }
body[data-page="home"] .lc-block__right .tile img { animation-name: kb-c; animation-duration: 20s; }
/* index.html Collections: the 4 tiles appear one by one when the section scrolls into view */
.js-reveal .col-grid[data-reveal-stagger] > .tile {
  transform: translateY(40px) scale(.97);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 220ms);
}
.js-reveal .col-grid[data-reveal-stagger].is-visible > .tile { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .tile img { animation: none; }
}

/* living-concepts.html: slide-in on scroll. Each .concept is the [data-reveal] trigger and stays put;
   heading slides from the left, intro text from the right, the scene photo from alternating sides,
   then the product list comes in item by item. */
body[data-page="concepts"] main { overflow-x: clip; }
.js-reveal .concept[data-reveal] { opacity: 1; transform: none; }
.js-reveal .concept[data-reveal] .concept__head > *,
.js-reveal .concept[data-reveal] .concept__scene,
.js-reveal .concept[data-reveal] .concept__item {
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js-reveal .concept[data-reveal] .concept__head > :first-child { transform: translateX(-64px); }
.js-reveal .concept[data-reveal] .concept__head > p { transform: translateX(64px); transition-delay: .1s; }
.js-reveal .concept[data-reveal] .concept__scene { transform: translateX(96px); transition-duration: 1.2s, 1.3s; transition-delay: .2s; }
.js-reveal .concept[data-reveal]:nth-child(even) .concept__scene { transform: translateX(-96px); }
.js-reveal .concept[data-reveal] .concept__item { transform: translateX(-40px); transition-delay: calc(.5s + var(--i, 0) * 110ms); }
@media (max-width: 720px) {
  .js-reveal .concept[data-reveal] .concept__head > :first-child,
  .js-reveal .concept[data-reveal] .concept__item { transform: translateX(-32px); }
  .js-reveal .concept[data-reveal] .concept__head > p,
  .js-reveal .concept[data-reveal] .concept__scene,
  .js-reveal .concept[data-reveal]:nth-child(even) .concept__scene { transform: translateX(32px); }
}
/* last, so the revealed state beats every start offset above */
.js-reveal .concept[data-reveal].is-visible .concept__head > *,
.js-reveal .concept[data-reveal].is-visible .concept__scene,
.js-reveal .concept[data-reveal].is-visible .concept__item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .concept[data-reveal] * { opacity: 1 !important; transform: none !important; }
}

/* index.html + about.html "Vì sao nên chọn Hamamoto": on scroll the 5 tabs slide in from the left one
   after another, then the photo/specs panel slides in from the right. Keyframe animations (not
   transitions) so the per-tab delays don't linger on the tabs' own hover/selected transitions. */
.js-reveal .why[data-reveal] { opacity: 1; transform: none; }
.js-reveal .why[data-reveal] .why__tab,
.js-reveal .why[data-reveal] .why__panels { opacity: 0; }
.js-reveal .why[data-reveal].is-visible .why__tab { animation: slide-from-left .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms); }
.js-reveal .why[data-reveal].is-visible .why__panels { animation: slide-from-right 1.1s .25s var(--ease-out) both; }
@media (max-width: 1100px) {
  /* tabs are a horizontal pill row here: shorter slide */
  .js-reveal .why[data-reveal].is-visible .why__tab { animation-name: slide-from-left-sm; }
}

/* index.html Living Concepts: big tile slides in from the left, the right tile from the right,
   then the m² band links come up one by one. */
.js-reveal .lc-block[data-reveal] { opacity: 1; transform: none; }
.js-reveal .lc-block[data-reveal] > .tile,
.js-reveal .lc-block[data-reveal] .lc-block__right > .tile,
.js-reveal .lc-block[data-reveal] .lc-band > a { opacity: 0; }
.js-reveal .lc-block[data-reveal].is-visible > .tile { animation: slide-from-left 1.2s var(--ease-out) both; }
.js-reveal .lc-block[data-reveal].is-visible .lc-block__right > .tile { animation: slide-from-right 1.2s .15s var(--ease-out) both; }
.js-reveal .lc-block[data-reveal].is-visible .lc-band > a { animation: rise-in .8s var(--ease-out) both; animation-delay: calc(.45s + var(--i, 0) * 120ms); }

@keyframes slide-from-left { from { opacity: 0; transform: translateX(-72px); } to { opacity: 1; transform: none; } }
@keyframes slide-from-left-sm { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes slide-from-right { from { opacity: 0; transform: translateX(72px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body[data-page="home"] main, body[data-page="brand"] main { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .why[data-reveal] *, .js-reveal .lc-block[data-reveal] * { opacity: 1 !important; animation: none !important; }
}

/* Back-to-top button (js/layout.js): bottom-right corner, ring = scroll progress */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 59; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--brand); box-shadow: 0 8px 24px -10px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s, background-color .2s, color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease-out), visibility 0s, background-color .2s, color .2s; }
.to-top:hover { background: var(--brand); color: var(--white); }
.to-top:hover .to-top__arrow { transform: translateY(-2px); }
.to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 1.5; }
.to-top__ring circle:first-child { stroke: var(--line); }
.to-top__progress { stroke: currentColor; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top__ring circle:first-child { stroke: transparent; }
.to-top__arrow { position: relative; transition: transform .25s var(--ease-out); }
@media (max-width: 720px) {
  .to-top { right: 16px; bottom: 16px; }
}

/* index.html + shop.html category grid: when it scrolls into view the cells appear one by one in
   reading order (left → right, then the next row). The grid frame stays; only the cells move.
   Keyframe animation, so the stagger delay doesn't slow the cells' own hover transitions. */
.js-reveal .cat-grid[data-reveal] { opacity: 1; transform: none; }
.js-reveal .cat-grid[data-reveal] > .cat-grid__cell { opacity: 0; }
.js-reveal .cat-grid[data-reveal].is-visible > .cat-grid__cell { animation: cell-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.cat-grid > :nth-child(2) { --i: 1; }
.cat-grid > :nth-child(3) { --i: 2; }
.cat-grid > :nth-child(4) { --i: 3; }
.cat-grid > :nth-child(5) { --i: 4; }
.cat-grid > :nth-child(6) { --i: 5; }
.cat-grid > :nth-child(7) { --i: 6; }
.cat-grid > :nth-child(8) { --i: 7; }
.cat-grid > :nth-child(9) { --i: 8; }
@keyframes cell-in { from { opacity: 0; transform: translate(-20px, -12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .cat-grid[data-reveal] > .cat-grid__cell { opacity: 1 !important; animation: none !important; }
}

/* Forms: Turnstile widget, honeypot, sending / error states (js/main.js) */
.form-turnstile { min-height: 65px; margin-top: 28px; }
.form-turnstile.has-error iframe { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-turnstile + .form-actions { margin-top: 20px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.is-sending [type="submit"] { opacity: .7; cursor: progress; }
.form-status--error { border-left-color: var(--danger); color: var(--danger); }

/* ==========================================================================
   Quote list ("Yêu cầu báo giá"): product cards, product page, quote.html
   (idea/img.png – img_5.png). Product photos are studio shots on white; on the
   warm panels they are multiplied so the white melts into the background.
   ========================================================================== */
:root { --panel: #efeae3; --panel-2: #e7e1d8; --ok: #2f7d32; --r: 14px; }
.product-grid, .product-grid--4 { gap: 18px; }
@media (max-width: 720px) { .product-grid, .product-grid--4 { gap: 10px; } }

/* status: "● Trưng bày tại showroom" */
.status-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ok); white-space: nowrap; }
.status-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-dot--off { color: var(--muted); }
.swatch-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); vertical-align: -3px; margin-right: 8px; }

/* ---------- Product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; padding: 18px 20px 20px; border-radius: var(--r); background: var(--panel); transition: box-shadow .25s, background-color .25s; }
.pcard:hover { background: var(--panel-2); }
.pcard.is-quoted { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pcard__eyebrow { position: relative; z-index: 1; padding-right: 44px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__acts { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; gap: 6px; }
.pcard__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.55); transition: background-color .2s, color .2s, transform .2s; }
.pcard__btn:hover { background: var(--white); }
.pcard__btn:active { transform: scale(.92); }
.pcard__btn--quote { box-shadow: inset 0 0 0 1.5px rgba(30,23,18,.35); background: transparent; color: transparent; }
.pcard__btn--quote:hover { color: var(--muted); background: rgba(255,255,255,.55); }
.pcard__btn--quote[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.pcard__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin: 8px -4px 14px; background: transparent; box-shadow: none; }
.pcard__img img.photo { padding: 4%; mix-blend-mode: multiply; }
.pcard__name { font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard__link:focus-visible { outline: none; }
.pcard:has(.pcard__link:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.pcard:hover .pcard__name { color: var(--brand); }
.pcard__dims { margin-top: 4px; font-size: 13px; color: var(--muted); }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 14px; }
.pcard__swatches { display: inline-flex; align-items: center; gap: 5px; min-height: 18px; }
.pcard__swatches .swatch-dot { width: 18px; height: 18px; margin: 0; }
.pcard__swatches .more { margin-left: 4px; font-size: 12px; color: var(--muted); }
.pcard__foot .status-dot { font-size: 12px; }
@media (hover: none) { .pcard__btn--quote { color: rgba(30,23,18,.35); } }
@media (max-width: 720px) {
  .pcard { padding: 14px 14px 16px; }
  .pcard__eyebrow { font-size: 10px; padding-right: 0; padding-top: 38px; }
  .pcard__acts { top: 8px; right: 8px; }
  .pcard__name { font-size: 15px; }
  .pcard__dims { font-size: 12px; }
  .pcard__foot .status-dot { font-size: 11px; }
}

/* ---------- "Báo giá" tab: right edge, stacked on top of the contact tab (.side-dock) ---------- */
.side-dock { position: fixed; right: 0; bottom: 92px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.side-dock .fab { position: relative; right: auto; bottom: auto; }
.qfab {
  position: relative; display: flex; padding: 9px 7px 9px 9px;
  background: var(--sand); border: 1px solid #d9cab8; border-right: 0; border-radius: 14px 0 0 14px;
  box-shadow: -8px 10px 28px -16px rgba(23, 17, 13, .4);
  animation: fab-tag-in .6s var(--ease-out) both;
}
.qfab[hidden] { display: none; }
.qfab::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 0 2px 2px 0; background: var(--brand-light); }
.qfab__link { background: var(--brand); border-color: var(--brand); color: var(--white); }
.qfab__link:hover, .qfab__link:focus-visible, .qfab__link[aria-current] { background: var(--brand-dark); border-color: var(--brand-dark); }
.qfab__link::after { display: none; }
.qfab__icon { animation: none; }
.qfab__icon svg { width: 19px; height: 19px; }
.qfab__n {
  position: absolute; top: -7px; left: -9px;
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; border: 2px solid var(--sand);
  background: var(--danger); color: var(--white); font-size: 11px; font-weight: 600; line-height: 1;
}
.qfab__n[hidden] { display: none; }
.qfab.is-bump .qfab__n { animation: q-bump .5s var(--ease-out); }
@keyframes q-bump { 40% { transform: scale(1.35); } }
@media (max-width: 720px) {
  .side-dock { bottom: 76px; gap: 8px; }
  .qfab { padding: 8px 5px 8px 7px; border-radius: 12px 0 0 12px; }
  .qfab__icon svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) { .qfab, .qfab.is-bump .qfab__n { animation: none; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; max-width: min(560px, calc(100vw - 32px)); padding: 14px 20px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.5; box-shadow: 0 12px 32px rgba(0,0,0,.2); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast b { font-weight: 500; }
.toast a { margin-left: 6px; color: var(--brand-light); text-decoration: underline; white-space: nowrap; }

/* ---------- Stepper (− 1 +) ---------- */
.stepper { display: inline-flex; align-items: center; height: 56px; padding: 0 6px; border-radius: 28px; background: var(--panel); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s; }
.stepper button:hover:not(:disabled) { background: rgba(255,255,255,.7); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper input { width: 36px; border: 0; background: transparent; text-align: center; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.stepper:focus-within { box-shadow: 0 0 0 1px var(--ink); }
.stepper--sm { height: 46px; padding: 0 4px; border-radius: 23px; }
.stepper--sm button { width: 36px; height: 36px; }

/* ---------- Product page ---------- */
.pdp { gap: clamp(32px, 5vw, 80px); padding-top: 24px; }
.pdp__main { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); background: var(--panel); box-shadow: none; }
.pdp__main img.photo { padding: 6%; mix-blend-mode: multiply; }
.pdp__main img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__tag { position: absolute; z-index: 1; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 6px; background: rgba(60,45,36,.88); color: var(--white); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pdp__main.is-scene .pdp__tag { display: none; }
.pdp__thumbs button { border-radius: 12px; background: var(--panel); box-shadow: none; aspect-ratio: 3 / 2; }
.pdp__thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pdp__thumbs img.photo { padding: 10%; mix-blend-mode: multiply; }
.pdp__thumbs img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp__eyebrow { display: block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.pdp__title { margin-top: 14px; font-size: clamp(32px, 3.4vw, 50px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.pdp__status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 16px; }
.pdp__status .pdp__code { margin: 0; font-size: 13px; letter-spacing: 0; }
.pdp__lead { margin-top: 20px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.pdp__sub { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.pdp__group { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.pdp__group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.pdp__group-head h2 { font-size: 16px; font-weight: 500; }
.pdp__group-head span { font-size: 14px; color: var(--muted); text-align: right; }
.size-pick { display: flex; flex-direction: column; gap: 10px; }
.size-pick button, .size-pick__one { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 62px; padding: 10px 18px; border-radius: 12px; background: var(--panel); text-align: left; transition: box-shadow .2s, background-color .2s; }
.size-pick button:hover { background: var(--panel-2); }
.size-pick button[aria-checked="true"] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.size-pick b { flex: none; min-width: 48px; font-size: 13px; font-weight: 500; }
.size-pick strong { display: block; font-size: 15px; font-weight: 400; line-height: 1.4; }
.size-pick small { display: block; font-size: 13px; color: var(--muted); }
.finish-pick { display: flex; flex-wrap: wrap; gap: 14px; }
.finish-pick button { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: box-shadow .2s, transform .2s; }
.finish-pick button:hover { transform: scale(1.06); }
.finish-pick button[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--white), 0 0 0 2px var(--ink); }
.chip-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-pick button { padding: 8px 16px; border-radius: 20px; background: var(--panel); font-size: 14px; transition: background-color .2s, color .2s; }
.chip-pick button:hover { background: var(--panel-2); }
.chip-pick button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.pdp__buy { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.pdp__add { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 24px; border-radius: 28px; background: var(--brand-dark); color: var(--white); font-size: 16px; font-weight: 500; transition: background-color .2s; }
.pdp__add:hover { background: var(--ink); }
.pdp__add.is-done { background: var(--ok); }
.pdp__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.pdp__contact a { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: var(--panel); font-size: 15px; transition: background-color .2s; }
.pdp__contact a:hover { background: var(--panel-2); }
@media (max-width: 720px) {
  .pdp__thumbs { gap: 8px; }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__add { order: 3; flex-basis: 100%; }
  .pdp__buy .stepper { flex: 1; justify-content: space-between; }
  .pdp__contact { grid-template-columns: 1fr; }
  .pdp__contact a { flex-direction: row; align-items: center; }
}

/* Thông số */
.spec { padding-top: 0; }
.spec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.spec__head p { max-width: 720px; color: var(--muted); }
.spec__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.spec__row { display: grid; grid-template-columns: 34% 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec__k { padding-top: 3px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec__v { font-size: 16px; line-height: 1.6; }
.spec__v small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.spec__v li + li { margin-top: 6px; }
.spec__v ul { font-size: 15px; }
.spec__v a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .spec__head, .spec__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .spec__row { grid-template-columns: 1fr; gap: 6px; } }

/* About the collection */
.col-band { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--r); background: var(--panel); }
.col-band__text { padding: clamp(28px, 4vw, 56px); }
.col-band__text .h2 { margin-top: 18px; }
.col-band__text p { margin-top: 20px; color: var(--muted); }
.col-band__link { display: inline-block; margin-top: 24px; color: var(--brand); font-weight: 500; }
.col-band__link:hover { color: var(--brand-dark); }
.col-band__media { position: relative; min-height: 360px; }
.col-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.feature-row h3 { font-size: 17px; font-weight: 500; }
.feature-row p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .col-band, .feature-row { grid-template-columns: 1fr; }
  .col-band__media { min-height: 260px; }
}

/* ---------- quote.html ---------- */
.quote-page { padding: 48px 0 var(--section-y); }
.quote-page__title { margin-top: 18px; font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); gap: clamp(32px, 4vw, 64px); align-items: start; margin-top: 40px; }
.qlist { border-top: 1px solid var(--line); }
.qrow { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.qrow__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--panel); }
.qrow__img img.photo { padding: 8%; mix-blend-mode: multiply; }
.qrow__info .pdp__eyebrow { font-size: 11px; color: var(--muted); }
.qrow__name { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.qrow__name:hover { color: var(--brand); }
.qrow__meta { margin: 4px 0 14px; font-size: 14px; color: var(--muted); }
.qrow__del { display: inline-flex; align-items: center; gap: 6px; align-self: center; padding: 8px 4px; font-size: 14px; color: var(--muted); transition: color .2s; }
.qrow__del:hover { color: var(--danger); }
.qempty { padding: 48px 0; border-top: 1px solid var(--line); }
.qempty p:first-child { font-size: 20px; font-weight: 500; }
.qempty .muted { max-width: 520px; margin-top: 8px; }
.qempty .btn { margin-top: 24px; }
.quote-form { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--panel); }
.quote-form h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.quote-form > .muted { margin-top: 8px; font-size: 14px; }
.quote-form__sum { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 15px; }
.quote-form__sum strong { font-weight: 500; }
.quote-form .form-grid { margin-top: 20px; gap: 18px 16px; }
.quote-form .field input, .quote-form .field select, .quote-form .field textarea { border-color: transparent; border-radius: 10px; }
.quote-form .field input:focus, .quote-form .field select:focus, .quote-form .field textarea:focus { border-color: var(--ink); }
.quote-form .field textarea { height: 110px; }
.quote-form .field label .muted { font-weight: 400; }
.quote-form .btn { border-radius: 28px; text-transform: none; letter-spacing: 0; font-size: 16px; }
.quote-form .btn:disabled { opacity: .4; cursor: not-allowed; }
.quote-form .form-status { border-radius: 8px; }
@media (max-width: 1100px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-form { position: static; }
}
@media (max-width: 720px) {
  .qrow { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .qrow__del { grid-column: 2; justify-self: start; padding-top: 0; }
  .qrow__name { font-size: 16px; }
  .quote-form .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
/* product page: the info column is long, so the gallery stays in view instead */
.pdp { padding-bottom: 96px; }
@media (min-width: 1101px) {
  .pdp__info { position: static; }
  .pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

/* ==========================================================================
   Rounded corners, site-wide: buttons (pill), cards / image boxes, inputs, forms.
   Tokens: change these to tune the whole site.
   ========================================================================== */
:root { --r-btn: 999px; --r-card: 14px; --r-input: 10px; --r-form: 18px; --r-sm: 8px; }

/* Buttons */
.btn, .btn-pill, .filters__toggle, .page-btn, .tabs button, .choice-row span,
.lang__toggle, .to-top, .icon-btn { border-radius: var(--r-btn); }
.btn-arrow { border-radius: var(--r-btn); overflow: hidden; isolation: isolate; }
.btn-arrow__icon { border-radius: 0 var(--r-btn) var(--r-btn) 0; }
.btn-arrow__label { border-radius: var(--r-btn) 0 0 var(--r-btn); }
.btn-arrow__label:only-child { border-radius: var(--r-btn); }

/* Inputs */
.field input, .field select, .field textarea,
.listing-search input, .select select { border-radius: var(--r-input); }
.filter-option input:not(.dot) { border-radius: 4px; }
.form-status { border-radius: var(--r-sm); }

/* Forms */
.form-card { border-radius: var(--r-form); }
.form-turnstile iframe { border-radius: var(--r-sm); }

/* Cards and image boxes */
.tile, .news-card__img, .split__media, .collection__media, .collection__products a,
.concept__scene, .concept__item .thumb, .intro__media, .cat-row__media, .why__media,
.nf__media, .download__cover, .mega__promo, .gallery-grid img, .map,
.cat-cta a, .showroom-strip__item, .lc-band { border-radius: var(--r-card); }
.concept__item { border-radius: var(--r-card); }
.concept__item .thumb { border-radius: var(--r-sm); }
.cat-grid { border-radius: var(--r-card); overflow: hidden; }
/* the cells' straight borders get clipped at the rounded corners: draw the outer edge on top instead */
.cat-grid { position: relative; border: 0; } /* outer edge comes from ::after only, else it doubles up */
.cat-grid::after { content: ""; position: absolute; inset: 0; z-index: 1; border: 1px solid var(--line); border-radius: inherit; pointer-events: none; }
.lc-band a:first-child { border-radius: var(--r-card) 0 0 var(--r-card); }
.lc-band a:last-child { border-radius: 0 var(--r-card) var(--r-card) 0; }
.cat-cta { gap: var(--gap); }
.lang__menu, .nav__panel .dropdown { border-radius: 0 0 var(--r-card) var(--r-card); }

/* index.html "Giới thiệu": on scroll the video slides in from the left and the text from the right.
   .intro is the [data-reveal] trigger and stays put; only its two halves move. */
body[data-page="home"] main { overflow-x: clip; } /* no sideways scrollbar while the halves are off to the side */
.js-reveal .intro[data-reveal] { opacity: 1; transform: none; }
.js-reveal .intro[data-reveal] > .intro__media,
.js-reveal .intro[data-reveal] > .intro__text {
  opacity: 0;
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-reveal .intro[data-reveal] > .intro__media { transform: translateX(-100px); }
.js-reveal .intro[data-reveal] > .intro__text { transform: translateX(100px); transition-delay: .18s; }
@media (max-width: 1100px) {
  .js-reveal .intro[data-reveal] > .intro__media { transform: translateX(-40px); }
  .js-reveal .intro[data-reveal] > .intro__text { transform: translateX(40px); }
}
.js-reveal .intro[data-reveal].is-visible > .intro__media,
.js-reveal .intro[data-reveal].is-visible > .intro__text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .intro[data-reveal] > * { opacity: 1 !important; transform: none !important; }
}

/* about.html Lịch sử / Triết lý / Nghệ thuật chế tác / Chất lượng: on scroll the photo and the text
   slide in from their own sides (text left + photo right, swapped on .split--reverse).
   The .split is the [data-reveal] trigger and stays put; only its two halves move. */
body[data-page="brand"] main { overflow-x: clip; }
.js-reveal .split[data-reveal] { opacity: 1; transform: none; }
.js-reveal .split[data-reveal] > .split__text,
.js-reveal .split[data-reveal] > .split__media {
  opacity: 0;
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-reveal .split[data-reveal] > .split__text { transform: translateX(-100px); }
.js-reveal .split[data-reveal] > .split__media { transform: translateX(100px); transition-delay: .18s; }
.js-reveal .split--reverse[data-reveal] > .split__text { transform: translateX(100px); }
.js-reveal .split--reverse[data-reveal] > .split__media { transform: translateX(-100px); }
@media (max-width: 1100px) {
  /* stacked: text from the left, photo from the right, shorter distance */
  .js-reveal .split[data-reveal] > .split__text, .js-reveal .split--reverse[data-reveal] > .split__text { transform: translateX(-40px); }
  .js-reveal .split[data-reveal] > .split__media, .js-reveal .split--reverse[data-reveal] > .split__media { transform: translateX(40px); }
}
.js-reveal .split[data-reveal].is-visible > .split__text,
.js-reveal .split[data-reveal].is-visible > .split__media { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .split[data-reveal] > * { opacity: 1 !important; transform: none !important; }
}
