:root {
  --ink: #1d211f;
  --muted: #737772;
  --paper: #f6f5f1;
  --white: #fff;
  --line: #deded8;
  --accent: #9a6f40;
  --forest: #26352e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", sans-serif; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  height: 72px; padding: 0 4vw; background: rgba(250,250,247,.96); display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(0,0,0,.06);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 600; letter-spacing: 2px; }
.brand small { display: block; margin-top: 2px; font-size: 8px; color: var(--muted); letter-spacing: 2px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); font-family: "Playfair Display", serif; }
nav { display: flex; align-items: center; gap: 34px; }
nav a { font-size: 12px; font-weight: 600; }
nav span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 400; }
.icon-button { border: 0; background: transparent; cursor: pointer; }
.menu-button { display: none; font-size: 20px; }

.hero { height: calc(100vh - 72px); min-height: 580px; max-height: 920px; position: relative; overflow: hidden; color: white; }
.hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,25,22,.67), rgba(20,25,22,.1) 62%, rgba(20,25,22,.08)); }
.hero-content { position: absolute; left: 7vw; top: 50%; transform: translateY(-48%); max-width: 650px; }
.eyebrow { margin: 0 0 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.eyebrow.dark { color: var(--accent); }
h1, h2 { font-family: "Playfair Display", "Noto Sans SC", serif; font-weight: 500; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(58px, 7vw, 104px); line-height: .98; }
.hero-cn { margin: 20px 0 32px; font-size: 16px; letter-spacing: 2px; }
.primary-button, .light-button, .secondary-button {
  border: 0; padding: 16px 21px; display: inline-flex; align-items: center; gap: 13px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-weight: 600;
}
.primary-button { color: white; background: var(--accent); }
.primary-button span { opacity: .78; }
.hero-note { position: absolute; right: 4vw; bottom: 38px; display: flex; align-items: center; gap: 14px; }
.hero-note strong { font: 500 38px/1 "Playfair Display", serif; }
.hero-note span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.5); font-size: 10px; line-height: 1.6; }

.intro, .catalog-section, footer { padding-left: 5vw; padding-right: 5vw; }
.intro { min-height: 360px; display: grid; grid-template-columns: 1.2fr 1fr .8fr; align-items: center; gap: 5vw; background: white; }
.intro h2, .section-heading h2, .contact h2 { margin: 0; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.04; }
.intro-copy { color: var(--muted); line-height: 1.8; font-size: 13px; max-width: 470px; }
.cn-copy { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stats div { padding-left: 14px; border-left: 1px solid var(--line); }
.stats strong { display: block; font: 500 35px/1.2 "Playfair Display", serif; }
.stats span { color: var(--muted); font-size: 9px; line-height: 1.7; text-transform: uppercase; letter-spacing: 1px; }

.catalog-section { padding-top: 100px; padding-bottom: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px; }
.section-heading p:last-child { color: var(--muted); font-size: 12px; }
.catalog-cn-title { margin: 10px 0 0; font-size: 22px; font-weight: 500; letter-spacing: 0; }
.result-count { min-width: 110px; padding-left: 20px; border-left: 1px solid var(--line); }
.result-count strong { display: block; font: 500 38px/1 "Playfair Display", serif; }
.result-count span { color: var(--muted); font-size: 9px; line-height: 1.5; text-transform: uppercase; }
.filter-bar { padding: 18px 0; margin-bottom: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.search { min-width: 270px; display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); padding: 11px 13px; }
.search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-label { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 11px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: #555; font-size: 10px; }
.chip.active { background: var(--forest); color: white; border-color: var(--forest); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.product-card { min-width: 0; cursor: pointer; content-visibility: auto; contain-intrinsic-size: auto 420px; }
.product-image { aspect-ratio: 4/5; overflow: hidden; background: #eae9e4; position: relative; }
.product-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.025); }
.view-icon { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.93); opacity: 0; transition: opacity .25s; }
.product-card:hover .view-icon { opacity: 1; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.product-meta h3 { margin: 0 0 4px; font-size: 12px; letter-spacing: .8px; }
.product-meta p { margin: 0; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .6px; }
.product-meta span { color: var(--accent); font-size: 9px; text-transform: uppercase; text-align: right; }
.secondary-button { margin: 48px auto 0; border: 1px solid var(--ink); background: transparent; display: flex; }
.secondary-button[hidden] { display: none; }
.empty { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; color: var(--muted); }

.contact {
  padding: 90px 6vw; background: var(--forest); color: white; display: grid;
  grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: clamp(60px, 10vw, 180px);
}
.contact-copy { max-width: 780px; }
.contact h2 { max-width: 760px; }
.contact h3 { margin: 13px 0 28px; font-size: 22px; font-weight: 500; letter-spacing: 0; }
.contact p { max-width: 590px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.7; }
.contact .eyebrow { color: #c8ad8e; }
.light-button { background: white; color: var(--forest); white-space: nowrap; }
.contact .light-button { margin-top: 24px; }
.zalo-contact {
  padding: 18px; width: 100%; color: var(--ink); background: white; border-top: 3px solid var(--accent);
}
.zalo-heading { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.zalo-label {
  width: 48px; height: 48px; display: grid; place-items: center; color: white; background: #0868ff;
  font-size: 13px; font-weight: 600;
}
.zalo-heading strong { display: block; font-size: 14px; letter-spacing: .7px; }
.zalo-heading div span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.zalo-contact img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; }
.zalo-contact p { margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.6; }
footer { padding-top: 50px; padding-bottom: 50px; display: flex; justify-content: space-between; align-items: center; gap: 25px; background: white; }
footer p { color: var(--muted); font-size: 9px; line-height: 1.7; text-align: center; }

dialog { width: min(1050px, 92vw); max-height: 92vh; padding: 0; border: 0; background: white; grid-template-columns: 1.5fr 1fr; }
dialog[open] { display: grid; }
dialog::backdrop { background: rgba(20,24,21,.82); }
.modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; width: 38px; height: 38px; border: 0; background: white; cursor: pointer; font-size: 23px; }
.modal-image-wrap { min-height: 600px; background: #eee; overflow: hidden; }
.modal-image-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.modal-info { padding: 70px 38px 40px; }
.modal-info h2 { margin: 0 0 30px; font-size: 45px; }
dl { margin-bottom: 35px; border-top: 1px solid var(--line); }
dl div { padding: 14px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
dd { margin: 0; font-size: 11px; text-align: right; text-transform: capitalize; }
.modal-tip { color: var(--muted); font-size: 9px; line-height: 1.7; }

@media (max-width: 960px) {
  nav { display: none; }
  nav.open {
    display: flex; position: absolute; left: 0; right: 0; top: 71px; padding: 22px 5vw; align-items: flex-start;
    background: rgba(250,250,247,.98); border-bottom: 1px solid var(--line);
  }
  .menu-button { display: block; }
  .hero { height: 78vh; min-height: 540px; }
  .hero-content { left: 5vw; }
  .intro { padding-top: 70px; padding-bottom: 70px; grid-template-columns: 1fr 1fr; }
  .stats { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  dialog { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 62px; }
  nav.open { top: 61px; gap: 18px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { height: 73vh; min-height: 520px; }
  .hero > img { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,25,22,.73), rgba(20,25,22,.15)); }
  h1 { font-size: 52px; }
  .hero-content { top: 45%; }
  .hero-note { left: 5vw; right: auto; bottom: 25px; }
  .intro { grid-template-columns: 1fr; gap: 25px; }
  .stats { grid-column: auto; }
  .catalog-section { padding-top: 70px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 42px; }
  .filter-bar { display: block; }
  .search { min-width: 0; margin-bottom: 18px; }
  .filter-group { display: block; margin-top: 15px; }
  .filter-label { display: block; margin-bottom: 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .product-image { aspect-ratio: 3/4; }
  .view-icon { opacity: 1; }
  .contact { grid-template-columns: 1fr; padding-top: 65px; padding-bottom: 65px; }
  .zalo-contact { width: min(100%, 300px); }
  footer { align-items: start; flex-direction: column; }
  footer p { text-align: left; }
  dialog[open] { display: block; overflow-y: auto; }
  .modal-image-wrap { min-height: 0; height: 55vh; }
  .modal-info { padding: 35px 22px; }
}
