:root {
  --ink: #1d211d;
  --ink-soft: #4f554d;
  --paper: #f5f1e8;
  --paper-light: #fbf9f4;
  --moss: #415044;
  --red: #a73b2f;
  --gold: #b18a54;
  --line: rgba(29, 33, 29, 0.14);
  --serif: "Lora", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.announcement {
  min-height: 38px;
  padding: 8px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.announcement p { margin: 0; }
.announcement button {
  position: absolute;
  right: 4vw;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  opacity: .65;
}

.site-header {
  position: absolute;
  top: 38px;
  z-index: 30;
  width: 100%;
  height: 88px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 48px;
  align-items: center;
  border-bottom: 1px solid rgba(29, 33, 29, .1);
}
.site-header.at-top { top: 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: auto;
  height: 78px;
  object-fit: contain;
}
.brand-mark {
  display: block;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.site-header .brand { gap: 16px; }
.brand strong, .brand small { display: block; letter-spacing: .18em; }
.brand strong { font-family: var(--serif); font-size: 17px; }
.brand small { margin-top: 7px; font-size: 8px; }
.brand-text {
  display: flex;
  flex-direction: column;
  padding: 4px 0 4px 16px;
  border-left: 1px solid rgba(232, 49, 42, .3);
}
.brand-text strong {
  color: #e8312a;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  white-space: nowrap;
}
.brand-slogan { display: block; width: 0; min-width: 100%; height: auto; margin-top: 8px; }
.desktop-nav { justify-self: center; display: flex; gap: clamp(22px, 2.6vw, 38px); }
.desktop-nav a {
  position: relative;
  padding: 32px 0 30px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease;
}
.desktop-nav a::after {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  background: #e8312a;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: #e8312a; }
.desktop-nav a:hover::after { width: 100%; }
.desktop-nav a.active::after { width: 22px; }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.icon-button, .menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}
.cart-count {
  position: absolute;
  top: 4px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
}
.menu-toggle { display: none; }

.search-panel {
  position: fixed;
  top: -180px;
  left: 0;
  z-index: 60;
  width: 100%;
  padding: 28px 8vw 35px;
  color: #fff;
  background: var(--ink);
  transition: top .35s ease;
}
.search-panel.open { top: 0; }
.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.search-panel div { display: flex; }
.search-panel input {
  width: 100%;
  padding: 5px 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: var(--serif);
  font-size: 26px;
}
.search-panel input::placeholder { color: rgba(255,255,255,.25); }
.search-close {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
}

.hero {
  position: relative;
  min-height: 800px;
  padding: 180px 7vw 70px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.42), transparent 45%),
    var(--paper);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .32;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
.hero-copy, .hero-art { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 12px 3px 0;
  content: "";
  background: currentColor;
}
.hero h1, .section h2, .newsletter h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
}
.hero h1 { max-width: 640px; font-size: clamp(52px, 5vw, 82px); letter-spacing: -.035em; }
.hero h1 em, .story h2 em { color: var(--red); font-weight: 500; }
.hero-description { max-width: 510px; margin: 28px 0 32px; color: var(--ink-soft); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button {
  min-height: 52px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: var(--red); }
.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-proof { margin-top: 62px; display: flex; align-items: center; gap: 15px; }
.avatars { display: flex; }
.avatars span {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  color: #fff;
  background: var(--moss);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
}
.avatars span:first-child { margin-left: 0; background: #a67b5b; }
.avatars span:nth-child(2) { background: #718070; }
.avatars span:nth-child(3) { background: #94705e; }
.hero-proof strong, .hero-proof div > span { display: block; }
.hero-proof strong { font-size: 12px; }
.hero-proof div > span { color: var(--ink-soft); font-size: 9px; }

.hero-art { min-height: 580px; display: grid; place-items: center; }
.sun {
  position: absolute;
  top: 15px;
  right: -14%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: #dfd6c4;
}
.ink-branch {
  position: absolute;
  right: -10%;
  bottom: 90px;
  width: 75%;
  height: 170px;
  border-top: 4px solid rgba(29,33,29,.35);
  border-radius: 55% 0 0;
  transform: rotate(-20deg);
}
.ink-branch::before, .ink-branch::after {
  position: absolute;
  content: "";
  width: 125px;
  height: 45px;
  border-radius: 100% 0 100% 0;
  background: rgba(65,80,68,.7);
}
.ink-branch::before { top: -30px; left: 28%; transform: rotate(22deg); }
.ink-branch::after { top: 18px; left: 52%; transform: rotate(190deg); }
.hero-frame {
  position: relative;
  z-index: 2;
  width: min(470px, 82%);
  padding: 12px;
  background: #49392c;
  box-shadow: 24px 30px 60px rgba(35,31,24,.22), inset 0 0 0 2px #755b43;
  transform: rotate(1.5deg);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border: 1px solid #b9ae98;
  object-fit: cover;
}
.frame-paper {
  position: relative;
  min-height: 470px;
  padding: 58px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #b9ae98;
  background: #f1eadc;
  box-shadow: inset 0 0 35px rgba(99,73,39,.1);
}
.calligraphy {
  font-family: var(--serif);
  font-size: 95px;
  font-weight: 600;
  letter-spacing: -.08em;
  line-height: .65;
  text-align: center;
  transform: rotate(-4deg);
}
.calligraphy i { font-size: 60px; font-weight: 500; }
.frame-paper p { margin-top: 55px; color: #675e50; font-size: 8px; letter-spacing: .3em; }
.red-stamp {
  position: absolute;
  right: 34px;
  bottom: 73px;
  padding: 6px 7px;
  color: var(--red);
  border: 2px solid var(--red);
  font-family: serif;
  font-size: 12px;
  line-height: 1.1;
}
.vertical-note {
  position: absolute;
  right: 1%;
  top: 25%;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.floating-card {
  position: absolute;
  z-index: 3;
  left: 2%;
  bottom: 55px;
  width: 160px;
  padding: 17px 20px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 15px 40px rgba(31,31,27,.15);
  backdrop-filter: blur(8px);
}
.floating-card span { color: var(--red); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.floating-card strong { display: block; margin: 4px 0; font-family: var(--serif); font-size: 17px; }
.floating-card p { margin: 0; font-size: 10px; }
.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-cue span { width: 1px; height: 30px; background: var(--ink); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 6vw;
  color: #fff;
  background: var(--ink);
}
.values article {
  min-height: 145px;
  padding: 35px 4vw;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  border-right: 1px solid rgba(255,255,255,.1);
}
.values article:last-child { border: 0; }
.values article > span { color: #b89d75; font-family: var(--serif); font-size: 12px; }
.values h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.values p { margin: 0; color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.7; }

.section { padding: 110px 7vw; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}
.section h2, .newsletter h2 { font-size: clamp(38px, 4.2vw, 60px); letter-spacing: -.025em; }
.section-heading > p { max-width: 450px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.catalog-toolbar {
  position: relative;
  margin: 52px 0 28px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  border: 1px solid rgba(167,59,47,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 45px rgba(29,33,29,.08);
}
.catalog-toolbar::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), #c99b68 55%, transparent);
}
.toolbar-main { min-width: 0; display: flex; align-items: center; gap: 20px; }
.toolbar-heading {
  padding-right: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.toolbar-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: var(--red);
  box-shadow: 0 7px 16px rgba(167,59,47,.22);
}
.toolbar-heading strong, .toolbar-heading small { display: block; }
.toolbar-heading strong { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.toolbar-heading small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; font-weight: 500; }
.filters {
  padding: 4px;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  border: 1px solid rgba(29,33,29,.06);
  border-radius: 12px;
  background: #f4f2ec;
}
.filters button {
  min-height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.filters button:hover { color: var(--red); background: #fff; }
.filters button.active { color: #fff; background: var(--ink); box-shadow: 0 6px 14px rgba(29,33,29,.2); transform: translateY(-1px); }
.sort-control {
  min-width: 235px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(29,33,29,.07);
  border-radius: 12px;
  background: #f8f6f1;
}
.sort-copy { padding-right: 12px; border-right: 1px solid var(--line); white-space: nowrap; }
.sort-copy small, .sort-copy strong { display: block; }
.sort-copy small {
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sort-copy strong { margin-top: 2px; font-size: 9px; font-weight: 600; }
.sort-control select {
  flex: 1;
  min-width: 88px;
  padding: 7px 24px 7px 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.collection { background: #f8f6f0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29,33,29,.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28,31,27,.045);
  transition: opacity .3s, transform .3s, border-color .3s, box-shadow .3s;
}
.product-card:hover {
  border-color: rgba(29,33,29,.2);
  box-shadow: 0 24px 55px rgba(28,31,27,.13);
}
.product-card.hidden { display: none; }
.product-visual {
  position: relative;
  aspect-ratio: 1.08;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d8d0c0;
}
.product-visual > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .4s ease;
}
.product-card:hover .product-visual > img { filter: saturate(1.04) contrast(1); transform: scale(1.035); }
.product-visual::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 32%;
  content: "";
  opacity: 1;
  border-radius: 0;
  background: linear-gradient(to top, rgba(20,23,20,.2), transparent);
  pointer-events: none;
  transform: none;
}
.product-visual::before, .product-visual::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.product-visual::before { display: none; }
.art-loc { background: #c7c0ae; }
.art-cha-me { background: #ddd2c2; }
.art-tam { background: #bdc3b9; }
.mini-frame {
  position: relative;
  z-index: 2;
  width: 85%;
  height: 86%;
  padding: 18% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 10px solid #493c30;
  color: #2e2e29;
  background: #f1eadc;
  box-shadow: 10px 15px 30px rgba(33,30,25,.2), inset 0 0 20px rgba(94,72,42,.1);
}
.mini-frame b, .mini-frame i { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: .9; }
.mini-frame i { color: #6e4739; font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; }
.mini-frame small { position: absolute; right: 12%; bottom: 12%; padding: 4px; color: var(--red); border: 1px solid var(--red); font-family: serif; }
.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 8px 11px;
  color: #fff;
  background: rgba(145,47,39,.94);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(83,28,24,.18);
  backdrop-filter: blur(8px);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge.new { background: var(--moss); }
.quick-add {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  width: auto;
  height: 44px;
  padding: 0 17px 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: rgba(29,33,29,.94);
  box-shadow: 0 10px 28px rgba(20,23,20,.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.quick-add span { font-size: 18px; font-style: normal; line-height: 1; }
.quick-add em {
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.quick-add:hover { background: var(--red); transform: translateY(-2px); }
.product-info {
  min-height: 158px;
  padding: 23px 23px 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 17px;
  border-top: 1px solid rgba(29,33,29,.07);
}
.product-info > div:first-child {
  padding-right: 5px;
}
.product-info > div:first-child::after {
  margin-top: 11px;
  display: block;
  content: "Viết tay thủ công  ·  Bảo hành 5 năm";
  color: #737a72;
  font-size: 8px;
  letter-spacing: .025em;
}
.product-info p {
  margin: 0 0 7px;
  color: #8b8b80;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.product-info h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.product-prices {
  position: relative;
  padding-top: 15px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(29,33,29,.09);
  white-space: nowrap;
}
.product-prices del {
  color: #99978f;
  font-size: 11px;
  font-weight: 500;
}
.product-prices strong {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.product-view {
  margin-left: auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.product-view:hover { color: var(--red); transform: translateX(2px); }
.product-view span { color: var(--red); }
.center { margin-top: 35px; text-align: center; }
.button-outline { border: 1px solid var(--ink); background: transparent; }
.button-outline:hover { color: #fff; background: var(--ink); }

.story {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 9vw;
  align-items: center;
  background: var(--paper);
}
.story-visual { position: relative; }
.brush-photo {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background: linear-gradient(140deg, #867561, #c0a984 52%, #554b40);
  box-shadow: inset 0 0 100px rgba(21,19,16,.3);
}
.brush-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.15));
}
.brush-photo > span { position: absolute; top: 40px; right: 45px; color: rgba(255,255,255,.18); font-family: serif; font-size: 110px; }
.ink-bowl {
  position: absolute;
  left: 15%;
  bottom: 11%;
  width: 170px;
  height: 90px;
  border-radius: 50%;
  background: #191b19;
  box-shadow: inset 0 12px 0 #34352e, 5px 14px 25px rgba(0,0,0,.3);
}
.brush {
  position: absolute;
  width: 22px;
  height: 420px;
  border-radius: 10px;
  background: linear-gradient(90deg, #633724, #bc7e45 50%, #6a3a23);
  transform-origin: bottom;
  box-shadow: 4px 10px 10px rgba(0,0,0,.25);
}
.brush::after { position: absolute; top: -55px; left: -6px; width: 34px; height: 75px; content: ""; border-radius: 70% 70% 30% 30%; background: #1e211e; }
.brush-one { left: 42%; bottom: -35px; transform: rotate(34deg); }
.brush-two { left: 66%; bottom: -50px; transform: rotate(19deg); height: 480px; }
.experience {
  position: absolute;
  right: -38px;
  bottom: 42px;
  z-index: 3;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--red);
}
.experience strong { font-family: var(--serif); font-size: 50px; font-weight: 500; }
.experience span { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.story-copy > p:not(.eyebrow) { margin: 28px 0; color: var(--ink-soft); }
.story-copy blockquote {
  margin: 35px 0;
  padding: 0 0 0 25px;
  border-left: 2px solid var(--red);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}
.artist { display: flex; align-items: center; gap: 13px; }
.artist-avatar { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-family: serif; }
.artist strong, .artist span { display: block; }
.artist strong { font-family: var(--serif); font-size: 14px; }
.artist span { color: var(--ink-soft); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

.custom {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 8vw;
  color: #fff;
  overflow: hidden;
  background: var(--moss);
}
.custom::after { position: absolute; right: -80px; bottom: -200px; content: "墨"; color: rgba(255,255,255,.035); font-family: serif; font-size: 450px; line-height: 1; }
.custom .eyebrow { color: #cbb28c; }
.custom > div { position: relative; z-index: 2; }
.custom > div:last-child { padding-top: 40px; }
.custom > div:last-child p { max-width: 500px; margin: 0 0 30px; color: rgba(255,255,255,.65); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { color: #fff; background: var(--red); }

.testimonials { text-align: center; background: var(--paper-light); }
.testimonials .eyebrow::before { display: none; }
.quote-mark { height: 55px; color: #d4cbbb; font-family: var(--serif); font-size: 100px; line-height: 1; }
.home-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; text-align: left; }
@media (max-width: 900px) {
  .home-review-grid { grid-template-columns: 1fr; }
}
.testimonials blockquote { max-width: 780px; margin: 10px auto 30px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.45; }
.reviewer { display: flex; align-items: center; justify-content: center; gap: 12px; }
.reviewer > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #a48169; border-radius: 50%; font-size: 10px; }
.reviewer strong, .reviewer small { display: block; text-align: left; }
.reviewer strong { font-family: var(--serif); font-size: 13px; }
.reviewer small { color: var(--ink-soft); font-size: 8px; }
.dots { margin-top: 32px; }
.dots button { width: 6px; height: 6px; margin: 0 4px; padding: 0; border: 0; border-radius: 50%; background: #c4c2ba; cursor: pointer; }
.dots button.active { width: 22px; border-radius: 5px; background: var(--red); }

.newsletter {
  padding: 65px 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.newsletter h2 { font-size: clamp(28px, 3vw, 44px); }
.newsletter form { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter input { width: 100%; padding: 17px 5px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.newsletter button { border: 0; background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.newsletter button span { margin-left: 12px; }

footer { padding: 65px 7vw 25px; color: #fff; background: #171a17; }
.footer-main { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 6vw; }
footer .brand-logo { height: 150px; }
.footer-brand p { margin-top: 24px; color: rgba(255,255,255,.45); font-family: var(--serif); font-size: 16px; }
footer h4 { margin: 0 0 20px; color: #bda77f; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
footer a, footer p { display: block; margin: 0 0 10px; color: rgba(255,255,255,.55); font-size: 10px; }
footer a:hover { color: #fff; }
.footer-bottom { margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.3); font-size: 8px; }
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom a { margin: 0; font-size: inherit; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  z-index: 80;
  width: min(420px, 100%);
  height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper-light);
  transition: right .35s ease;
}
.cart-drawer.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.cart-close { border: 0; background: transparent; cursor: pointer; font-size: 26px; }
.cart-items { flex: 1; overflow-y: auto; }
.empty-cart { height: 100%; display: grid; place-content: center; text-align: center; color: var(--ink-soft); }
.empty-cart span { font-family: serif; font-size: 60px; opacity: .18; }
.cart-line { padding: 18px 0; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 58px; height: 68px; display: grid; place-items: center; color: var(--red); border: 5px solid #4b3c30; background: #eee5d5; font-family: var(--serif); font-size: 11px; }
.cart-line h3 { margin: 0; font-family: var(--serif); font-size: 15px; font-weight: 500; }
.cart-line p { margin: 2px 0 0; font-size: 10px; }
.cart-line-info { min-width: 0; }
.quantity-control { width: fit-content; margin-top: 10px; display: grid; grid-template-columns: 28px 34px 28px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.quantity-control span { text-align: center; font-size: 11px; font-weight: 700; }
.quantity-button { width: 28px; height: 28px; padding: 0; border: 0; background: #f3f1eb; color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; }
.quantity-button:hover:not(:disabled) { color: #fff; background: var(--red); }
.quantity-button:disabled { color: #bbb7ad; cursor: not-allowed; opacity: .65; }
.remove-item { border: 0; color: #8b8b80; background: transparent; cursor: pointer; font-size: 18px; }
.cart-footer { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-footer > div { margin-bottom: 16px; display: flex; justify-content: space-between; }
.cart-footer .button { width: 100%; }
.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 85;
  width: min(980px, calc(100% - 34px));
  max-height: calc(100vh - 34px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border-radius: 22px;
  background: var(--paper-light);
  box-shadow: 0 32px 90px rgba(16,18,16,.32);
  transform: translate(-50%, -47%) scale(.98);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.product-modal.open { visibility: visible; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.product-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(29,33,29,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 7px 20px rgba(29,33,29,.1);
  cursor: pointer;
  font-size: 23px;
}
.product-detail-visual { position: relative; min-height: 570px; display: grid; place-items: center; overflow: hidden; background: #e9e4d9; }
.product-detail-visual::after { position: absolute; inset: 18px; content: ""; pointer-events: none; border: 1px solid rgba(255,255,255,.55); }
.product-detail-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-badge { position: absolute; top: 24px; left: 24px; z-index: 1; padding: 8px 12px; color: #fff; border-radius: 7px; background: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.product-detail-content { padding: 58px 48px 42px; overflow-y: auto; }
.product-detail-eyebrow { margin: 0; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.product-detail-content h2 { margin: 12px 0 14px; padding-right: 30px; font-family: var(--serif); font-size: clamp(34px,4vw,50px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.product-detail-description { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.product-detail-prices { margin-top: 28px; padding: 20px 0; display: flex; align-items: baseline; gap: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-detail-prices del { color: #96958e; font-size: 15px; }
.product-detail-prices strong { color: var(--red); font-size: 25px; letter-spacing: -.02em; }
.product-detail-prices span { margin-left: auto; padding: 5px 8px; color: var(--red); border-radius: 5px; background: #f5e9e5; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.product-detail-meta { padding: 20px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-bottom: 1px solid var(--line); }
.product-detail-meta div+div { padding-left: 12px; border-left: 1px solid var(--line); }
.product-detail-meta small, .product-detail-meta strong { display: block; }
.product-detail-meta small { color: var(--ink-soft); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.product-detail-meta strong { margin-top: 4px; font-size: 10px; }
.product-detail-purchase { margin-top: 24px; display: grid; grid-template-columns: 108px 1fr; gap: 10px; }
.detail-quantity { display: grid; grid-template-columns: 34px 40px 34px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.detail-quantity button { height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.detail-quantity button:hover { color: var(--red); background: #f5f2ec; }
.detail-quantity span { text-align: center; font-size: 12px; font-weight: 700; }
.detail-add-cart { height: 48px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: #fff; border: 0; border-radius: 10px; background: var(--ink); cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: .2s; }
.detail-add-cart:hover { background: var(--red); transform: translateY(-1px); }
.detail-add-cart:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.product-detail-note { margin: 13px 0 0; color: var(--ink-soft); font-size: 8px; text-align: center; }
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 85;
  width: min(940px, calc(100% - 34px));
  max-height: calc(100vh - 34px);
  padding: 38px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  border-radius: 20px;
  background: var(--paper-light);
  box-shadow: 0 32px 90px rgba(16,18,16,.28);
  transform: translate(-50%, -47%) scale(.98);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.checkout-modal.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.checkout-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}
.checkout-heading { margin-bottom: 28px; padding-right: 45px; }
.checkout-step {
  color: var(--red);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.checkout-heading h2 {
  margin: 5px 0 3px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.checkout-heading p { margin: 0; color: var(--ink-soft); font-size: 10px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
}
.checkout-fields h3, .checkout-summary h3 {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.checkout-fields label {
  margin-bottom: 14px;
  display: block;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.checkout-fields input, .checkout-fields textarea, .checkout-fields select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 13px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font: 500 11px/1.5 var(--sans);
  resize: vertical;
  transition: border-color .2s, box-shadow .2s;
  text-transform: none;
}
.checkout-fields input:focus, .checkout-fields textarea:focus, .checkout-fields select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(65,80,68,.09);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-methods {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}
.payment-methods legend {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.payment-option {
  position: relative;
  margin: 0 0 8px !important;
  padding: 12px 13px;
  display: grid !important;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  text-transform: none !important;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.payment-option:has(input:checked) {
  border-color: var(--moss);
  background: rgba(65,80,68,.045);
  box-shadow: 0 0 0 2px rgba(65,80,68,.07);
}
.payment-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--moss);
}
.payment-option span b, .payment-option span small { display: block; }
.payment-option span b { color: var(--ink); font-size: 10px; }
.payment-option span small { margin-top: 2px; color: var(--ink-soft); font-size: 8px; font-weight: 400; }
.payment-option i {
  min-width: 31px;
  padding: 4px 6px;
  color: var(--moss);
  border: 1px solid rgba(65,80,68,.2);
  border-radius: 5px;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}
.checkout-summary {
  padding: 24px;
  border-radius: 13px;
  color: #fff;
  background: var(--ink);
}
.checkout-products { max-height: 210px; overflow-y: auto; }
.checkout-product {
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 10px;
}
.checkout-product span:last-child { color: rgba(255,255,255,.65); white-space: nowrap; }
.checkout-total {
  margin-top: 20px;
  padding-top: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.24);
}
.checkout-total span { color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.checkout-total strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.secure-note { margin: 17px 0 0; color: rgba(255,255,255,.45); font-size: 8px; }
.secure-note::before { margin-right: 6px; content: "✓"; color: #a8bca7; }
.checkout-submit { min-width: 270px; margin-top: 24px; }
.checkout-submit:disabled { cursor: wait; opacity: .7; transform: none; }

/* Checkout experience */
.checkout-modal {
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid rgba(29,33,29,.08);
  border-radius: 24px;
  background: #f3f1eb;
  box-shadow: 0 35px 110px rgba(17,20,17,.36);
}
.checkout-close {
  top: 25px;
  right: 32px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-color: rgba(29,33,29,.1);
  background: #f7f6f1;
  transition: color .2s, background .2s, transform .2s;
}
.checkout-close:hover { color: #fff; background: var(--ink); transform: rotate(4deg); }
.checkout-heading {
  margin: 0;
  padding: 28px 42px 24px;
  border-bottom: 1px solid rgba(29,33,29,.08);
  background: #fff;
}
.checkout-heading h2 {
  margin: 4px 0;
  font-size: 31px;
  line-height: 1.2;
}
.checkout-heading p { font-size: 10px; }
#checkout-form { padding: 30px 42px 36px; }
.checkout-layout {
  grid-template-columns: minmax(0,1fr) 360px;
  align-items: start;
  gap: 28px;
}
.checkout-fields {
  padding: 25px 26px 23px;
  border: 1px solid rgba(29,33,29,.08);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(29,33,29,.04);
}
.checkout-fields h3 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: -.01em;
  text-transform: none;
}
.checkout-fields h3 span {
  padding: 5px 8px;
  color: var(--moss);
  border-radius: 999px;
  background: #edf0eb;
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.required-note {
  margin: -13px 0 15px;
  color: #92968f;
  font-size: 7.5px;
}
.required-note span, .field-required {
  color: #c94335;
  font-weight: 800;
}
.field-required { margin-left: 2px; font-size: 11px; }
.field-optional {
  float: right;
  color: #9a9e97;
  font-size: 6.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: none;
}
.checkout-fields label {
  margin-bottom: 13px;
  color: #696f67;
  font-size: 8px;
  letter-spacing: .08em;
}
.checkout-fields input, .checkout-fields textarea, .checkout-fields select {
  margin-top: 7px;
  padding: 12px 14px;
  border-color: #dedfd9;
  border-radius: 10px;
  background: #fdfdfb;
  font-size: 11px;
}
.checkout-fields input, .checkout-fields select { min-height: 45px; }
.checkout-fields textarea { min-height: 66px; }
.checkout-fields select {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg,transparent 50%,#737970 50%),linear-gradient(135deg,#737970 50%,transparent 50%);
  background-position: calc(100% - 17px) 20px,calc(100% - 12px) 20px;
  background-size: 5px 5px,5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.checkout-fields select:disabled { color: #9da19b; cursor: wait; background-color: #f3f3ef; }
.checkout-fields input:hover, .checkout-fields textarea:hover, .checkout-fields select:hover { border-color: #b9beb6; }
.address-help { margin: -6px 0 12px; color: #91968f; font-size: 7.5px; line-height: 1.5; }
.address-select-row[hidden] { display: none; }
.payment-methods {
  margin-top: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.payment-methods legend {
  width: 100%;
  margin-bottom: 9px;
  grid-column: 1 / -1;
  color: #696f67;
  font-size: 8px;
  letter-spacing: .08em;
}
.payment-option {
  min-height: 76px;
  margin: 0 !important;
  padding: 13px 12px;
  align-items: start;
  border-color: #dedfd9;
  border-radius: 11px;
  background: #fdfdfb;
}
.payment-option:has(input:checked) {
  border-color: var(--moss);
  background: #f1f4ef;
  box-shadow: 0 0 0 2px rgba(65,80,68,.09), inset 0 0 0 1px rgba(65,80,68,.04);
}
.payment-option input { min-height: 0; }
.payment-option span b { font-size: 10px; line-height: 1.35; }
.payment-option span small { max-width: 180px; font-size: 7.5px; line-height: 1.45; }
.payment-option i {
  color: var(--red);
  border-color: rgba(167,59,47,.18);
  background: #faeeeb;
}
.payment-option:has(input:checked) i { color: #fff; border-color: var(--moss); background: var(--moss); }
.checkout-submit {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  font-size: 9px;
  letter-spacing: .09em;
}
.checkout-submit span { font-size: 16px; }
.checkout-consent { margin: 9px 0 0; color: #91968f; font-size: 7.5px; text-align: center; }
.checkout-summary {
  position: sticky;
  top: 0;
  min-height: 0;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  background: linear-gradient(145deg,#252a25,#161a16);
  box-shadow: 0 18px 45px rgba(24,29,24,.18);
}
.checkout-summary::before {
  position: absolute;
  top: -75px;
  right: -65px;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.summary-heading { position: relative; margin-bottom: 17px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary-heading span { color: #b6a17b; font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.checkout-summary .summary-heading h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.02em; text-transform: none; }
.checkout-products { position: relative; max-height: 235px; }
.checkout-product { padding: 12px 0; font-size: 10px; }
.checkout-product span:first-child { max-width: 220px; }
.checkout-total { margin-top: 16px; padding-top: 19px; }
.checkout-total strong { color: #f4e6ca; font-size: 25px; }
.summary-assurances { position: relative; margin-top: 23px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.summary-assurances p { margin: 7px 0; color: rgba(255,255,255,.55); font-size: 8px; }
.summary-assurances span { margin-right: 7px; color: #b7c9b4; }
.payment-success {
  margin-bottom: 26px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(65,80,68,.18);
  border-radius: 10px;
  background: rgba(65,80,68,.07);
}
.payment-check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--moss);
  border-radius: 50%;
  font-size: 16px;
}
.payment-success small, .payment-success strong { display: block; }
.payment-success small { color: var(--ink-soft); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.payment-success strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.payment-layout { display: grid; grid-template-columns: 320px 1fr; gap: 38px; align-items: center; }
.payment-layout[hidden] { display: none; }
.qr-panel { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.qr-panel img { width: 100%; display: block; }
.qr-panel p { margin: 7px 0 0; color: var(--ink-soft); font-size: 8px; }
.bank-details h3 { margin: 5px 0 18px; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.bank-details dl { margin: 0; }
.bank-details dl > div {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.bank-details dt { color: var(--ink-soft); font-size: 9px; }
.bank-details dd { margin: 0; font-size: 11px; font-weight: 700; text-align: right; }
.copy-transfer {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.payment-note { color: var(--ink-soft); font-size: 8px; }
.cod-confirmation {
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(65,80,68,.18);
  border-radius: 14px;
  background: rgba(65,80,68,.06);
}
.cod-confirmation[hidden] { display: none; }
.cod-icon {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--moss);
  border-radius: 50%;
  font-size: 25px;
}
.cod-confirmation h3 { margin: 4px 0 5px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.cod-confirmation p { max-width: 610px; margin: 0 0 12px; color: var(--ink-soft); font-size: 10px; }
.cod-confirmation strong { font-size: 11px; }
.cod-confirmation strong span { color: var(--red); }
.payment-actions { margin-top: 25px; display: flex; align-items: center; gap: 25px; }
.order-email-status {
  margin: 0;
  padding: 12px 16px;
  color: var(--moss);
  border: 1px solid rgba(65,80,68,.18);
  border-radius: 8px;
  background: rgba(65,80,68,.06);
  font-size: 9px;
  font-weight: 600;
}
.overlay { position: fixed; inset: 0; z-index: 70; visibility: hidden; opacity: 0; background: rgba(20,22,19,.55); transition: .3s; }
.overlay.open { visibility: visible; opacity: 1; }
.toast { position: fixed; left: 50%; bottom: -80px; z-index: 100; padding: 13px 20px; color: #fff; background: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.18); font-size: 10px; transform: translateX(-50%); transition: bottom .3s; }
.toast.show { bottom: 28px; }
.floating-cart {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 65;
  padding: 7px 16px 7px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(31, 35, 30, .28);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.floating-cart:hover { background: var(--red); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(31, 35, 30, .36); }
.floating-cart-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: #fff;
}
.floating-cart-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.floating-cart-label { text-align: left; line-height: 1.25; }
.floating-cart-label strong, .floating-cart-label small { display: block; }
.floating-cart-label strong { font-size: 11px; }
.floating-cart-label small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 8px; }
.floating-cart .cart-count { top: -4px; right: -3px; border: 2px solid #fff; }
.zalo-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 65;
  padding: 9px 16px 9px 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: #0877e8;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(8, 119, 232, .34);
  transition: transform .25s ease, box-shadow .25s ease;
}
.zalo-chat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(8, 119, 232, .42);
}
.zalo-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #0877e8;
  background: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.zalo-label { line-height: 1.25; }
.zalo-label strong, .zalo-label small { display: block; }
.zalo-label strong { font-size: 11px; }
.zalo-label small { margin-top: 3px; color: rgba(255,255,255,.75); font-size: 8px; }

@media (max-width: 1180px) {
  .site-header { column-gap: 28px; }
  .site-header .brand { gap: 13px; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-text { padding-left: 13px; }
  .brand-text strong { font-size: 21px; }
  .brand-slogan { margin-top: 7px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a { font-size: 13px; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .site-header.menu-open .desktop-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 22px 6vw 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    background: var(--paper-light);
    box-shadow: 0 20px 35px rgba(28, 31, 27, .12);
  }
  .site-header.menu-open .desktop-nav a { padding: 11px 0; font-family: var(--serif); font-size: 18px; }
  .site-header.menu-open .desktop-nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .menu-toggle span { position: absolute; width: 20px; height: 1px; background: var(--ink); }
  .menu-toggle span:first-child { transform: translateY(-4px); }
  .menu-toggle span:last-child { transform: translateY(4px); }
  .hero { grid-template-columns: 1fr 1fr; padding-left: 5vw; padding-right: 5vw; }
  .hero h1 { font-size: 52px; }
  .hero-frame { width: 80%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { align-items: flex-start; }
  .mini-frame b { font-size: 55px; }
  .story { gap: 7vw; }
  .footer-main { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3vw; }
}

@media (max-width: 700px) {
  .announcement { padding-right: 50px; text-align: center; font-size: 8px; }
  .site-header { top: 38px; height: 72px; }
  .brand-logo { height: 62px; }
  footer .brand-logo { height: 120px; }
  .brand-mark { width: 44px; height: 44px; }
  .site-header .brand { gap: 10px; }
  .brand-text { padding: 2px 0 2px 10px; }
  .brand-text strong { font-size: 18px; letter-spacing: .08em; }
  .brand-slogan { margin-top: 5px; }
  .brand strong { font-size: 14px; }
  .site-header .search-toggle { display: none; }
  .site-header.menu-open .desktop-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 22px 6vw 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    background: var(--paper-light);
    box-shadow: 0 20px 35px rgba(28, 31, 27, .12);
  }
  .site-header.menu-open .desktop-nav a { padding: 11px 0; font-family: var(--serif); font-size: 18px; }
  .site-header.menu-open .desktop-nav a::after { display: none; }
  .site-header.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
  .hero { min-height: auto; padding: 145px 6vw 70px; display: block; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero-art { min-height: 530px; margin-top: 40px; }
  .hero-frame { width: min(320px, 78vw); }
  .frame-paper { min-height: 380px; }
  .calligraphy { font-size: 75px; }
  .floating-card { left: 0; }
  .vertical-note, .scroll-cue { display: none; }
  .hero-proof { margin-top: 42px; }
  .values { grid-template-columns: 1fr; padding: 15px 6vw; }
  .values article { min-height: auto; padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 75px 6vw; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .catalog-toolbar { margin-top: 30px; padding: 14px; display: block; }
  .toolbar-main { display: block; }
  .toolbar-heading { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .filters { flex-wrap: nowrap; overflow-x: auto; }
  .filters button { flex: 0 0 auto; }
  .filters { margin-top: 10px; }
  .sort-control { width: 100%; margin-top: 10px; }
  .product-grid { gap: 14px 10px; }
  .mini-frame { width: 90%; border-width: 7px; }
  .mini-frame b { font-size: 35px; }
  .mini-frame i { font-size: 24px; }
  .badge { top: 8px; left: 8px; padding: 5px 7px; }
  .quick-add { right: 9px; bottom: 9px; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; }
  .quick-add em { display: none; }
  .product-info { min-height: 132px; padding: 15px 13px 13px; display: flex; gap: 10px; }
  .product-info > div:first-child::after { margin-top: 7px; font-size: 7px; }
  .product-info h3 { font-size: 16px; }
  .product-prices { padding-top: 9px; gap: 6px; }
  .product-prices del { font-size: 9px; }
  .product-prices strong { font-size: 10px; }
  .product-view { font-size: 7px; }
  .story { grid-template-columns: 1fr; }
  .brush-photo { min-height: 430px; }
  .experience { right: -2vw; }
  .custom { grid-template-columns: 1fr; gap: 10px; }
  .custom > div:last-child { padding-top: 10px; }
  .newsletter { padding: 55px 6vw; grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom div { margin-top: 12px; }
  .cart-drawer { padding: 24px; }
  .product-modal { width: calc(100% - 20px); max-height: calc(100vh - 20px); display: block; overflow-y: auto; border-radius: 15px; }
  .product-detail-visual { min-height: 310px; height: 42vh; }
  .product-detail-content { padding: 28px 20px 24px; overflow: visible; }
  .product-detail-content h2 { font-size: 34px; }
  .product-detail-meta { grid-template-columns: 1fr 1fr; }
  .product-detail-meta div:nth-child(3) { display: none; }
  .product-detail-purchase { grid-template-columns: 104px 1fr; }
  .detail-quantity { grid-template-columns: 32px 40px 32px; }
  .checkout-modal { width: calc(100% - 16px); max-height: calc(100vh - 16px); padding: 0; border-radius: 16px; }
  .checkout-close { top: 17px; right: 16px; width: 38px; height: 38px; }
  .checkout-heading { padding: 21px 65px 18px 20px; }
  .checkout-heading h2 { font-size: 28px; }
  #checkout-form { padding: 18px; }
  .checkout-layout, .payment-layout { grid-template-columns: 1fr; gap: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .checkout-fields { padding: 19px 17px; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-option { min-height: 68px; }
  .checkout-summary { padding: 19px; }
  .checkout-submit { width: 100%; min-width: 0; }
  .qr-panel { max-width: 320px; margin: auto; }
  .payment-actions { align-items: stretch; flex-direction: column; text-align: center; }
  .cod-confirmation { padding: 22px 18px; align-items: flex-start; }
  .cod-icon { width: 45px; height: 45px; }
  .cod-confirmation h3 { font-size: 23px; }
  .zalo-chat { right: 14px; bottom: 14px; padding: 7px; }

  .zalo-icon { width: 45px; height: 45px; }
  .zalo-label { display: none; }
  .floating-cart { right: 14px; bottom: 81px; padding: 7px; }
  .floating-cart-icon { width: 45px; height: 45px; }
  .floating-cart-label { display: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card { border-radius: 14px; }
  .product-info { min-height: 138px; padding: 18px 17px 16px; }
  .product-info h3 { font-size: 19px; }
  .product-prices strong { font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .product-card, .values article, .story-copy, .story-visual { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .product-card.reveal, .values article.reveal, .story-copy.reveal, .story-visual.reveal { opacity: 1; transform: translateY(0); }
}

/* Product & article pages (san-pham.php, kien-thuc.php, bai-viet.php) */
.page-shell { padding: 170px 7vw 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 10px; letter-spacing: .03em; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child):after { content: "/"; color: rgba(29,33,29,.3); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

.pdp { padding: 0 7vw 100px; display: grid; grid-template-columns: .9fr 1fr; gap: 56px; align-items: flex-start; }
.pdp-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 22px; background: #e9e4d9; }
.pdp-visual img { width: 100%; height: 100%; object-fit: cover; }
.pdp-badge { position: absolute; top: 20px; left: 20px; padding: 8px 12px; color: #fff; border-radius: 7px; background: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pdp-content { padding-top: 10px; }
.pdp-eyebrow { margin: 0; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.pdp-content h1 { margin: 14px 0 16px; font-family: var(--serif); font-size: clamp(32px,3.4vw,46px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.pdp-description { margin: 0; max-width: 480px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }
.pdp-prices { margin-top: 26px; padding: 20px 0; display: flex; align-items: baseline; gap: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-prices del { color: #96958e; font-size: 15px; }
.pdp-prices strong { color: var(--red); font-size: 25px; letter-spacing: -.02em; }
.pdp-meta { padding: 20px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; border-bottom: 1px solid var(--line); }
.pdp-meta div+div { padding-left: 12px; border-left: 1px solid var(--line); }
.pdp-meta small, .pdp-meta strong { display: block; }
.pdp-meta small { color: var(--ink-soft); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.pdp-meta strong { margin-top: 4px; font-size: 10px; }
.pdp-purchase { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-purchase .quick-add { position: static; width: auto; height: 48px; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; background: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pdp-purchase .quick-add:hover { background: var(--red); }
.pdp-purchase .quick-add[disabled] { cursor: not-allowed; opacity: .45; }
.pdp-note { margin: 16px 0 0; color: var(--ink-soft); font-size: 8px; }
.pdp-policy { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(45,48,42,.1); }
.pdp-policy small { display: block; margin-bottom: 4px; color: var(--brand, #a83b2d); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pdp-policy p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.pdp-reviews { padding-top: 18px; }
.pdp-rating-summary { margin: 0; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.pdp-rating-summary strong { color: var(--ink); font-size: 22px; font-family: var(--serif); }
.pdp-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.pdp-review-card { padding: 22px; background: var(--paper-light, #f7f5f0); border: 1px solid rgba(45,48,42,.08); border-radius: 16px; }
.pdp-review-stars { color: #b8892d; letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }
.pdp-review-card blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink); }
.pdp-review-card .reviewer { justify-content: flex-start; }
@media (max-width: 900px) {
  .pdp-review-grid { grid-template-columns: 1fr; }
}

.related-section { padding: 0 7vw 100px; }
.related-section .section-heading { margin-bottom: 30px; }

.article-hero { padding: 170px 7vw 50px; max-width: 780px; }
.article-hero .breadcrumb { margin-bottom: 22px; }
.article-hero h1 { margin: 14px 0 16px; font-family: var(--serif); font-size: clamp(30px,3.6vw,48px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.article-hero p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.article-cover { margin: 0 7vw 60px; max-width: 980px; border-radius: 22px; overflow: hidden; aspect-ratio: 16/8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-content { padding: 0 7vw 90px; max-width: 720px; }
.article-content p { margin: 0 0 22px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }
.article-content p:first-of-type { color: var(--ink); font-size: 15px; }

.article-grid { padding: 0 7vw 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 32px rgba(29,33,29,.06); transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,33,29,.1); }
.article-card-visual { aspect-ratio: 4/3; overflow: hidden; background: #e9e4d9; }
.article-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px 22px 26px; }
.article-card-body h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.3; }
.article-card-body p { margin: 0; color: var(--ink-soft); font-size: 11.5px; line-height: 1.7; }
.article-card-eyebrow { color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 980px) {
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp-visual { aspect-ratio: 16/11; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .page-shell { padding: 150px 5vw 24px; }
  .pdp, .related-section, .article-hero, .article-cover, .article-content, .article-grid { padding-left: 5vw; padding-right: 5vw; }
  .article-cover { margin-left: 5vw; margin-right: 5vw; }
  .pdp-meta { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}

/* Logo preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #1c1a18 0%, #0c0b0a 70%);
  will-change: transform;
  transition: transform .95s cubic-bezier(.76, 0, .24, 1) .15s;
}
.preloader.is-done { transform: translate3d(0, -100%, 0); }
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity .5s ease, transform .6s cubic-bezier(.65, 0, .35, 1);
}
.preloader.is-done .preloader-inner { opacity: 0; transform: translate3d(0, -28px, 0); }
.preloader-seal { position: relative; width: 118px; height: 118px; }
.preloader-seal img,
.preloader-name,
.preloader-slogan { opacity: 0; will-change: transform, opacity; }
.preloader-seal img { display: block; width: 100%; height: 100%; transform: scale(1.22); }
.preloader-seal::after {
  position: absolute;
  inset: -8px;
  content: "";
  border: 1px solid #ff3333;
  opacity: 0;
  will-change: transform, opacity;
}
.preloader-name {
  margin: 32px 0 0;
  padding-left: .34em;
  color: #f3ead9;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .34em;
  transform: translate3d(0, 14px, 0);
}
.preloader-slogan { display: block; width: 196px; height: auto; margin-top: 12px; transform: translate3d(0, 12px, 0); }
.preloader-bar { width: 150px; height: 1px; margin-top: 30px; overflow: hidden; background: rgba(243, 234, 217, .12); }
.preloader-bar span {
  display: block;
  height: 100%;
  background: #ff3333;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
.preloader.is-ready .preloader-seal img { animation: preloader-seal 1s cubic-bezier(.16, 1, .3, 1) forwards; }
.preloader.is-ready .preloader-seal::after { animation: preloader-ring 1.2s cubic-bezier(.16, 1, .3, 1) .45s forwards; }
.preloader.is-ready .preloader-name { animation: preloader-rise .9s cubic-bezier(.16, 1, .3, 1) .55s forwards; }
.preloader.is-ready .preloader-slogan { animation: preloader-rise .9s cubic-bezier(.16, 1, .3, 1) .8s forwards; }
.preloader.is-ready .preloader-bar span { animation: preloader-bar 2s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
@keyframes preloader-seal {
  from { opacity: 0; transform: scale(1.22); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes preloader-ring {
  from { opacity: .7; transform: scale(1); }
  to { opacity: 0; transform: scale(1.4); }
}
@keyframes preloader-rise { to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes preloader-bar { to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .preloader-seal { width: 96px; height: 96px; }
  .preloader-name { margin-top: 26px; font-size: 18px; }
  .preloader-slogan { width: 164px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader.is-ready .preloader-seal img,
  .preloader.is-ready .preloader-seal::after,
  .preloader.is-ready .preloader-name,
  .preloader.is-ready .preloader-slogan,
  .preloader.is-ready .preloader-bar span { animation: none; }
  .preloader-seal img, .preloader-name, .preloader-slogan { opacity: 1; transform: none; }
  .preloader-bar span { transform: scaleX(1); }
  .preloader { transition-duration: .3s; }
}

/* ==========================================================================
   Cập nhật 11/2026: header mới (hotline - logo - tìm kiếm), menu đa cấp,
   bỏ thanh thông báo, đồng bộ màu đỏ theo logo, khối cam kết, footer + bản đồ
   ========================================================================== */
:root {
  --red: #d42f28;
  --red-dark: #9c1f1a;
  --moss: #9c1f1a;
  --paper: #f7f4ee;
  --paper-light: #fbf9f5;
}

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

/* ---------- Header (v2: nền sáng, chữ Be Vietnam Pro, đỏ chỉ làm điểm nhấn) ---------- */
.site-header {
  --hd-font: "Be Vietnam Pro", var(--sans);
  --hd-ink: #2b2420;
  --hd-muted: #8a8178;
  --hd-line: #ece5d9;
  --hd-bg: #fffdf9;
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  padding: 0;
  display: block;
  border-bottom: 1px solid var(--hd-line);
  background: var(--hd-bg);
  font-family: var(--hd-font);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(43, 36, 32, .08); }
.header-top {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: padding .3s ease;
}
.site-header.is-scrolled .header-top { padding-top: 8px; padding-bottom: 8px; }
.site-header .brand { justify-self: center; }
.site-header .brand-mark { transition: width .3s ease, height .3s ease; }
.site-header.is-scrolled .brand-mark { width: 46px; height: 46px; }

/* Hotline */
.header-hotline { justify-self: start; display: inline-flex; align-items: center; gap: 12px; line-height: 1.25; }
.hotline-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fbecea;
  transition: background .2s ease;
}
.hotline-icon svg { width: 17px; height: 17px; fill: var(--red); transition: fill .2s ease; }
.header-hotline:hover .hotline-icon { background: var(--red); }
.header-hotline:hover .hotline-icon svg { fill: #fff; }
.hotline-text small { display: block; color: var(--hd-muted); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hotline-text strong { display: block; margin-top: 2px; color: var(--hd-ink); font-size: 18px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* Tìm kiếm + giỏ hàng */
.header-actions { justify-self: end; align-items: center; gap: 12px; }
.header-search {
  width: clamp(220px, 19vw, 300px);
  height: 44px;
  padding: 0 4px 0 18px;
  display: flex;
  align-items: center;
  border: 1px solid var(--hd-line);
  border-radius: 999px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within { border-color: rgba(212, 47, 40, .5); box-shadow: 0 0 0 4px rgba(212, 47, 40, .1); }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--hd-ink); font-family: var(--hd-font); font-size: 14px; }
.header-search input::placeholder { color: #a39a90; }
.header-search input::-webkit-search-cancel-button { display: none; }
.header-search button {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 0; border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  transition: background .2s ease;
}
.header-search button:hover { background: var(--red-dark); }
.header-search button svg { width: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.site-header .icon-button {
  width: 44px; height: 44px;
  border: 1px solid var(--hd-line);
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s ease;
}
.site-header .icon-button:hover { border-color: rgba(212, 47, 40, .5); }
.site-header .icon-button svg { width: 19px; fill: none; stroke: var(--hd-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header .cart-count { top: -3px; right: -3px; min-width: 19px; height: 19px; border: 2px solid #fff; font-family: var(--hd-font); font-size: 10px; font-weight: 700; }
.site-header .search-toggle { display: none; }

/* Menu chính */
.desktop-nav { display: block; justify-self: auto; gap: 0; border-top: 1px solid var(--hd-line); background: var(--hd-bg); }
.nav-list {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(4px, 1.2vw, 18px);
  list-style: none;
}
.nav-list > li { position: relative; }
.desktop-nav .nav-list > li > a {
  padding: 15px 12px;
  display: block;
  color: var(--hd-ink);
  font-family: var(--hd-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.desktop-nav .nav-list > li.has-sub > a { padding-right: 28px; }
.desktop-nav .nav-list > li > a::after {
  bottom: 8px;
  left: 12px;
  right: 12px;
  width: auto;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.desktop-nav .nav-list > li.has-sub > a::after { right: 28px; }
.desktop-nav .nav-list > li:hover > a,
.desktop-nav .nav-list > li > a.active { color: var(--red); }
.desktop-nav .nav-list > li:hover > a::after,
.desktop-nav .nav-list > li > a.active::after { width: auto; transform: scaleX(1); }
.nav-list > li.has-sub::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 6px; height: 6px;
  content: "";
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  color: var(--hd-muted);
  pointer-events: none;
  transform: translateY(-75%) rotate(45deg);
  transition: transform .25s ease, color .2s ease;
}
.nav-list > li.has-sub:hover::after { color: var(--red); transform: translateY(-25%) rotate(225deg); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--hd-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(43, 36, 32, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.desktop-nav .sub-menu a {
  padding: 10px 14px;
  display: block;
  color: #3a322d;
  border-radius: 8px;
  font-family: var(--hd-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, padding .15s ease;
}
.nav-list > li:last-child > .sub-menu { left: auto; right: 0; }
.desktop-nav .sub-menu a::after { display: none; }
.desktop-nav .sub-menu a:hover { padding-left: 18px; color: var(--red); background: #fbf1ef; }

/* Bỏ khoảng trống cũ dành cho header nổi */
.hero { padding-top: 70px; min-height: 720px; }
.page-shell { padding-top: 50px; }
.article-hero { padding-top: 60px; }
.search-panel { background: var(--red-dark); }

/* ---------- Đồng bộ màu ---------- */
.button-dark { background: var(--red); }
.button-dark:hover { background: var(--red-dark); }
.filters button.active { background: var(--red); box-shadow: 0 6px 14px rgba(212, 47, 40, .25); }
.detail-add-cart, .pdp-purchase .quick-add { background: var(--red); }
.detail-add-cart:hover, .pdp-purchase .quick-add:hover { background: var(--red-dark); }
.custom .eyebrow { color: #ffd9b8; }

/* ---------- Khối cam kết ---------- */
.features {
  padding: 60px 7vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}
.feature-icon svg { width: 46px; height: 46px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.features h3 { margin: 16px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.features p { max-width: 290px; margin: 0 auto; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }

/* ---------- Không có kết quả tìm kiếm ---------- */
.search-empty {
  max-width: 640px;
  margin: 10px auto 40px;
  padding: 32px 28px;
  text-align: center;
  border: 1px dashed rgba(212, 47, 40, .45);
  border-radius: 14px;
  background: #fff;
}
.search-empty p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; }
.search-empty .search-empty-title { color: var(--ink); font-family: var(--serif); font-size: 20px; }
.search-empty-title strong { color: var(--red); font-weight: 600; }
.search-empty-actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }

/* ---------- Đầu trang: ảnh ông đồ làm nền ---------- */
/* Ảnh giữ trọn khung (không cắt logo/tranh), canh trái; phần trống bên phải
   được phủ màu tường nối liền với ảnh để đặt khối chữ. */
.hero-photo {
  --hero-h: clamp(520px, calc(100vh - 146px), 54.97vw);
  --img-w: calc(var(--hero-h) * 1.819);
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: linear-gradient(180deg, #ccaa8f 0%, #d1b099 40%, #d6baa8 65%, #c6a793 100%);
}
.hero-photo-media { position: absolute; top: 0; left: 0; width: var(--img-w); max-width: 100%; height: 100%; }
.hero-photo-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 0 50%; }
.hero-photo::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--img-w) - 140px);
  z-index: 1;
  width: 141px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(209, 176, 153, 0), #d1b099);
}
.hero-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 36, 32, .14));
}
.hero-photo-card {
  position: absolute;
  right: clamp(24px, 9vw, 150px);
  bottom: clamp(24px, 6%, 56px);
  z-index: 2;
  width: min(450px, 36vw);
  padding: 28px 32px 30px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  background: rgba(255, 252, 247, .86);
  box-shadow: 0 30px 60px rgba(43, 36, 32, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-photo-card .eyebrow { margin-bottom: 12px; }
.hero-photo-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.55vw, 42px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.02em;
}
.hero-photo-card h1 em { color: var(--red); font-weight: 500; }
.hero-photo-card .hero-description { margin: 16px 0 24px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.hero-photo-card .hero-actions { flex-wrap: wrap; gap: 14px 26px; }

/* ---------- Khối Đặt viết theo yêu cầu (tông sáng, dịu mắt) ---------- */
.consult {
  position: relative;
  overflow: hidden;
  background: #f4eee5;
}
.consult::before {
  position: absolute;
  top: -60px;
  left: -40px;
  content: "墨";
  color: rgba(156, 31, 26, .045);
  font-family: serif;
  font-size: 420px;
  line-height: 1;
  pointer-events: none;
}
.consult-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.consult .eyebrow { color: var(--red); }
.consult h2 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); }
.consult h2 em { color: var(--red); font-style: italic; font-weight: 500; }
.consult-lead { max-width: 520px; margin: 20px 0 30px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.consult-steps { margin: 0; padding: 0; display: grid; gap: 18px; list-style: none; }
.consult-steps li { display: flex; gap: 18px; align-items: flex-start; }
.consult-steps li > span {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--red);
  border: 1px solid rgba(212, 47, 40, .25);
  border-radius: 50%;
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}
.consult-steps strong { display: block; color: var(--ink); font-size: 15px; font-weight: 700; }
.consult-steps p { margin: 2px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.consult-direct {
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  border-top: 1px solid rgba(43, 36, 32, .1);
  font-size: 14px;
}
.consult-direct span { color: var(--ink-soft); }
.consult-direct a { color: var(--red); font-weight: 700; }
.consult-direct a:hover { color: var(--red-dark); text-decoration: underline; }

.lead-form {
  position: relative;
  padding: 34px;
  display: grid;
  gap: 16px;
  border: 1px solid #ece5d9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(43, 36, 32, .08);
}
.lead-form-head h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.lead-form-head p { margin: 4px 0 4px; color: var(--ink-soft); font-size: 13.5px; }
.lead-form label { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.lead-form input, .lead-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 15px;
  display: block;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  outline: 0;
  color: var(--ink);
  background: #faf8f4;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #a39a90; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: rgba(212, 47, 40, .55); background: #fff; box-shadow: 0 0 0 4px rgba(212, 47, 40, .1); }
.lead-form .field-required { color: var(--red); }
.lead-form .field-optional { float: none; margin-left: 4px; color: #a39a90; font-size: 12px; font-weight: 400; }
.lead-form .lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form .button { width: 100%; margin-top: 4px; justify-content: space-between; border: 0; border-radius: 10px; cursor: pointer; }
.lead-form .button:disabled { opacity: .6; cursor: wait; }
.lead-status { min-height: 0; margin: 0; color: #2f7a4d; font-size: 13.5px; }
.lead-status:empty { display: none; }
.lead-status.is-error { color: var(--red); }
.lead-status a { text-decoration: underline; }
.lead-privacy { margin: 0; color: #a39a90; font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .hero-photo { height: auto; overflow: visible; background: var(--paper); }
  .hero-photo::before, .hero-photo::after { display: none; }
  .hero-photo-media { position: relative; width: 100%; height: auto; display: block; aspect-ratio: 1397 / 768; }
  .hero-photo-media img { position: absolute; inset: 0; object-position: 50% 50%; }
  .hero-photo-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -48px 5vw 0;
    padding: 26px 24px 28px;
    background: #fffcf7;
    backdrop-filter: none;
  }
  .consult-inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero-photo-card { margin: -28px 4vw 0; }
  .hero-photo-card h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .consult::before { font-size: 260px; }
  .lead-form { padding: 24px 20px; }
}

/* ---------- Footer ---------- */
footer {
  padding: 60px 7vw 24px;
  color: var(--ink);
  border-top: 3px solid var(--red);
  background: #f2f0ea;
}
.footer-main { grid-template-columns: 1.25fr 1fr 1fr 1.45fr; gap: 4vw; }
footer .brand-logo { height: 120px; }
.footer-brand p { margin-top: 18px; color: var(--ink-soft); font-size: 16px; }
footer h4 {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .05em;
}
footer h4::after { flex: 1; height: 1px; content: ""; background: rgba(29, 33, 29, .15); }
footer ul { margin: 0; padding: 0; }
footer a, footer p { display: inline; margin: 0; color: var(--red); font-size: 14px; }
footer a:hover { color: var(--red-dark); text-decoration: underline; }
.footer-col ul { padding-left: 18px; color: var(--ink-soft); list-style: disc; }
.footer-col li { margin: 0 0 10px; font-size: 14px; }
.footer-brand .brand { display: inline-flex; }
.footer-brand p { display: block; }
.footer-contact { margin-top: 18px !important; color: var(--ink-soft); font-size: 13.5px; list-style: none; }
.footer-contact li { margin-bottom: 7px; line-height: 1.5; }
.footer-contact span { color: var(--ink); font-weight: 700; }
.footer-map iframe { width: 100%; height: 200px; display: block; border: 0; border-radius: 8px; background: #e5e2da; }
.footer-map .map-link { margin-top: 10px; display: inline-block; font-size: 13px; }
.footer-bottom { flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid rgba(29, 33, 29, .12); color: var(--ink-soft); font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .header-top, .nav-list { padding-left: 28px; padding-right: 28px; }
  .nav-list { gap: 2px; }
  .desktop-nav .nav-list > li > a { padding-left: 10px; padding-right: 10px; font-size: 14px; }
  .desktop-nav .nav-list > li.has-sub > a { padding-right: 25px; }
  .desktop-nav .nav-list > li > a::after { left: 10px; right: 10px; }
  .desktop-nav .nav-list > li.has-sub > a::after { right: 25px; }
  .nav-list > li.has-sub::after { right: 11px; }
}

@media (max-width: 1180px) {
  .hotline-text small { display: none; }
  .hotline-text strong { font-size: 16px; }
  .header-search { width: 210px; }
  .desktop-nav .nav-list > li > a { padding-left: 7px; padding-right: 7px; font-size: 13px; }
  .desktop-nav .nav-list > li.has-sub > a { padding-right: 21px; }
  .desktop-nav .nav-list > li > a::after { left: 7px; right: 7px; }
  .desktop-nav .nav-list > li.has-sub > a::after { right: 21px; }
  .nav-list > li.has-sub::after { right: 8px; }
}

@media (max-width: 1080px) {
  .header-top, .nav-list { padding-left: 16px; padding-right: 16px; }
  .nav-list { gap: 0; }
  .desktop-nav .nav-list > li > a { padding-left: 6px; padding-right: 6px; font-size: 12.5px; }
  .desktop-nav .nav-list > li.has-sub > a { padding-right: 19px; }
  .desktop-nav .nav-list > li > a::after { left: 6px; right: 6px; }
  .desktop-nav .nav-list > li.has-sub > a::after { right: 19px; }
  .nav-list > li.has-sub::after { right: 7px; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: none; }
  .header-top { grid-template-columns: 1fr auto; padding: 10px 5vw; gap: 12px; }
  .site-header.is-scrolled .header-top { padding-top: 8px; padding-bottom: 8px; }
  .header-actions { gap: 8px; }
  .site-header .icon-button { width: 40px; height: 40px; }
  .site-header .menu-toggle { width: 40px; height: 40px; }
  .header-hotline, .header-search { display: none; }
  .site-header .brand { justify-self: start; }
  .site-header .search-toggle { display: grid; }
  .desktop-nav { display: none; }
  .site-header.menu-open .desktop-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 80px);
    padding: 6px 0 18px;
    display: block;
    overflow-y: auto;
    border-top: 1px solid var(--hd-line);
    background: var(--hd-bg);
    box-shadow: 0 24px 40px rgba(43, 36, 32, .14);
  }
  .nav-list { padding: 0 6vw; display: block; }
  .nav-list > li { border-bottom: 1px solid var(--hd-line); }
  .nav-list > li:last-child { border-bottom: 0; }
  .site-header.menu-open .desktop-nav .nav-list > li > a { padding: 14px 0; color: var(--hd-ink); font-family: var(--hd-font); font-size: 16px; font-weight: 600; }
  .site-header.menu-open .desktop-nav .nav-list > li > a::after { display: none; }
  .nav-list > li.has-sub::after, .nav-list > li.has-sub:hover::after { top: 22px; right: 6px; color: var(--hd-muted); transform: rotate(45deg); }
  .nav-list > li.has-sub.open::after { top: 26px; color: var(--red); transform: rotate(225deg); }
  .nav-list > li.open > a { color: var(--red) !important; }
  .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    display: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-sub.open > .sub-menu { display: block; }
  .site-header.menu-open .desktop-nav .sub-menu a { padding: 9px 12px; color: #4a413b; font-family: var(--hd-font); font-size: 15px; font-weight: 500; }
  .site-header.menu-open .desktop-nav .sub-menu a:hover { padding-left: 16px; }
  .site-header.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer-brand, .footer-map { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header { top: 0; height: auto; }
  .hero { padding-top: 40px; }
  .page-shell { padding-top: 34px; }
  .article-hero { padding-top: 40px; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; gap: 26px; padding: 44px 6vw; }
  .footer-main { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Trang chi tiết sản phẩm: thư viện ảnh + video, mô tả chi tiết
   ========================================================================== */
.pdp { align-items: flex-start; }
.pdp-gallery { position: sticky; top: 170px; display: grid; gap: 14px; min-width: 0; }
.pdp-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: #efe9df;
}
.pdp-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.pdp-slide.is-active { opacity: 1; visibility: visible; }
.pdp-slide img, .pdp-slide video { width: 100%; height: 100%; display: block; object-fit: cover; }
.pdp-slide-video { background: #1d1a17; }
.pdp-slide-video video { object-fit: contain; }
.pdp-stage .pdp-badge { z-index: 3; }
.pdp-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease, background .2s ease;
}
.pdp-stage:hover .pdp-nav, .pdp-nav:focus-visible { opacity: 1; }
.pdp-nav:hover { color: #fff; background: var(--red); }
.pdp-prev { left: 14px; }
.pdp-next { right: 14px; }
.pdp-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 4px 11px;
  color: #fff;
  border-radius: 999px;
  background: rgba(29, 26, 23, .55);
  font-size: 12px;
  letter-spacing: .04em;
}
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pdp-thumb {
  position: relative;
  flex: 0 0 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #efe9df;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease, border-color .2s ease;
}
.pdp-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.is-active { border-color: var(--red); opacity: 1; }
.pdp-thumb-video span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(29, 26, 23, .4);
  font-size: 18px;
}
.pdp-shopee { display: inline-block; margin-top: 10px; color: #ee4d2d; font-size: 13px; font-weight: 700; }
.pdp-shopee:hover { text-decoration: underline; }

.pdp-details { padding-top: 20px; background: var(--paper-light); }
.pdp-details-inner { max-width: 820px; margin: 0 auto; }
.pdp-details h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 40px); }
.pdp-details-body { padding: 30px 34px; border: 1px solid #ece5d9; border-radius: 18px; background: #fff; }
.pdp-details-body p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.pdp-details-body p:last-child { margin-bottom: 0; }

/* Thẻ sản phẩm: rê chuột đổi sang ảnh thứ 2 */
.product-visual .img-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.product-card:hover .product-visual .img-alt { opacity: 1; }
.product-visual .media-flag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  color: #fff;
  border-radius: 999px;
  background: rgba(29, 26, 23, .55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  pointer-events: none;
}

@media (max-width: 900px) {
  .pdp-gallery { position: static; }
  .pdp-nav { opacity: 1; width: 38px; height: 38px; font-size: 22px; }
  .pdp-thumb { flex-basis: 64px; height: 64px; }
  .pdp-details-body { padding: 22px 20px; }
}


/* ---------- Nút giỏ hàng trên header (v2) ---------- */
.header-cart {
  position: relative;
  height: 46px;
  padding: 0 18px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--hd-ink, #2b2420);
  border: 1px solid var(--hd-line, #ece5d9);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-family: var(--hd-font, inherit);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.header-cart:hover { border-color: rgba(212, 47, 40, .45); box-shadow: 0 8px 22px rgba(212, 47, 40, .12); }
.header-cart:active { transform: scale(.98); }
.header-cart:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.header-cart-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fbecea;
  transition: background .2s ease;
}
.header-cart-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.header-cart:hover .header-cart-icon { background: var(--red); }
.header-cart:hover .header-cart-icon svg { stroke: #fff; }
.header-cart .cart-count {
  top: -5px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #b5aca2;
  font-family: var(--hd-font, inherit);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  transition: background .2s ease;
}
.header-cart:not([data-count="0"]) .cart-count { background: var(--red); }
.cart-count.bump { animation: cart-bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cart-bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.header-cart-text { display: grid; gap: 1px; text-align: left; line-height: 1.2; white-space: nowrap; }
.header-cart-text strong { font-size: 14px; font-weight: 600; }
.header-cart-text small { color: var(--hd-muted, #8a8178); font-size: 11.5px; font-weight: 500; }
.header-cart:not([data-count="0"]) .header-cart-text small { color: var(--red); }

@media (max-width: 1180px) {
  .header-cart { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .header-cart-text { display: none; }
}
@media (max-width: 980px) {
  .header-cart { width: 40px; height: 40px; border-color: transparent; background: transparent; }
  .header-cart:hover { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-count.bump { animation: none; }
}
