/* ==========================================================================
   THIÊN PHƯỚC (thienphuoc.io.vn) — GIAO DIỆN BỀ THẾ ĐỒNG BỘ TRAMHUONGTHIENPHUOC
   Tông màu chủ đạo: Xanh rừng đậm (#102f29) • Vàng kim (#d8b36a) • Đỏ đô (#6c252b) • Nền giấy dó (#faf6ee)
   ========================================================================== */

:root {
  --pine: #102f29;
  --pine-deep: #09241f;
  --pine-mid: #173e32;
  --pine-soft: #2b4430;
  --gold: #d8b36a;
  --gold-bright: #f0d69b;
  --gold-deep: #b99953;
  --wine: #6c252b;
  --wine-hover: #842d35;
  --paper: #faf6ee;
  --paper-card: #fffdf8;
  --sand: #efe8d8;
  --sand-deep: #e2d7c1;
  --wood: #35251f;
  --bark: #5c4534;
  --ink: #2c2822;
  --line: rgba(216, 179, 106, 0.45);
  --shadow-card: 0 12px 35px rgba(16, 47, 41, 0.08);
  --shadow-hover: 0 20px 45px rgba(16, 47, 41, 0.18);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(197, 155, 39, 0.14) 0.6px, transparent 0.6px),
    radial-gradient(rgba(16, 47, 41, 0.08) 0.6px, var(--paper) 0.6px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a,
button,
input,
select,
summary {
  font: inherit;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a67e32;
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, 84rem);
  margin-inline: auto;
}

/* ==========================================================================
   1. TOP BAR (XANH RỪNG ĐẬM & CHỮ VÀNG KIM)
   ========================================================================== */
.topbar {
  background-color: var(--pine);
  color: #f8e9c8;
  border-bottom: 1px solid rgba(216, 179, 106, 0.35);
  font-size: 0.82rem;
  padding-block: 0.55rem;
  position: relative;
  z-index: 50;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.25rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--gold-bright), var(--gold));
  color: var(--pine-deep);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.topbar-phone {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  font-weight: 700;
}

.topbar-phone:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   2. HEADER & NAVIGATION (NỀN KEM ẤM, LOGO LỚN, NÚT ZALO ĐỎ ĐÔ)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 250, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 179, 106, 0.55);
  box-shadow: 0 8px 30px rgba(16, 47, 41, 0.08);
}

.header-inner {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(16, 47, 41, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 2px;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--pine);
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.brand-subtitle {
  display: block;
  font-size: 0.76rem;
  color: var(--bark);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.45rem 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wood);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--wine);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  min-height: 2.75rem;
  border-radius: 0.65rem;
  background-color: var(--sand);
  border: 1px solid rgba(185, 153, 83, 0.45);
  color: var(--wood);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
}

.quote-btn:hover {
  background-color: var(--sand-deep);
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  background-color: var(--pine);
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
}

.header-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  min-height: 2.75rem;
  border-radius: 0.65rem;
  background-color: var(--wine);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(108, 37, 43, 0.25);
  transition: background-color 0.2s, transform 0.15s;
}

.header-zalo-btn:hover {
  background-color: var(--wine-hover);
  transform: translateY(-1px);
}

.header-zalo-btn strong {
  color: #ffe5af;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(185, 153, 83, 0.45);
  background: var(--sand);
  color: var(--wood);
  cursor: pointer;
}

.mobile-nav-drawer {
  background: var(--paper-card);
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem 1.25rem;
}

.mobile-nav-list {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  color: var(--wood);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-list a:hover {
  background: var(--sand);
  color: var(--wine);
}

/* ==========================================================================
   3. HERO SECTION BỀ THẾ (NỀN XANH RỪNG ĐẬM, KHUNG VÀNG KIM, ẢNH POLAROID)
   ========================================================================== */
.tp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 83% 15%, rgba(71, 101, 74, 0.48), transparent 55%),
    linear-gradient(120deg, var(--pine-deep), var(--pine-mid) 65%, var(--pine-soft));
  color: #fff7e5;
  padding: clamp(2.75rem, 5.5vw, 4.75rem) 1.5rem clamp(2rem, 3.5vw, 2.5rem);
  border-bottom: 5px solid var(--gold);
}

.tp-hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 179, 106, 0.36);
  pointer-events: none;
}

.tp-hero-inner {
  position: relative;
  max-width: 80rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.tp-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #93713a;
  font-weight: 600;
  margin: 0 0 1rem;
}

.tp-hero .tp-eyebrow {
  color: #e6cf99;
}

.tp-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.85rem, 5.6vw, 4.9rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1.35rem;
  letter-spacing: -0.02em;
  color: #fff9ee;
}

.tp-hero h1 em {
  color: #e8c982;
  font-style: italic;
  font-weight: 600;
}

.tp-intro {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.85;
  color: #e2eadb;
  max-width: 34rem;
  margin: 0;
}

.tp-hero-highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #f3e4c3;
}

.tp-hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tp-hero-highlights i {
  color: var(--gold-bright);
}

.tp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.45rem;
  border-radius: 0.35rem;
  border: 1px solid var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.tp-btn-primary {
  background: linear-gradient(110deg, #f0d69b, #c9a052);
  color: #163026;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.tp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.tp-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f4ddb0;
}

.tp-btn-secondary:hover {
  background: rgba(216, 179, 106, 0.16);
}

.tp-note {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: #c5d3bd;
  margin-top: 1.35rem;
}

.tp-product-hero {
  position: relative;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid rgba(216, 179, 106, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1deg);
}

.tp-product-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0.65rem;
}

.tp-product-hero-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.tp-product-hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
}

.tp-product-hero-side img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.tp-product-hero figcaption {
  color: #e6cf99;
  text-align: center;
  padding: 0.85rem 0.25rem 0.15rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
}

.tp-trust {
  position: relative;
  max-width: 80rem;
  margin: 2.5rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(216, 179, 106, 0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  font-size: 0.8rem;
  color: #c9d4c5;
}

.tp-trust strong {
  display: block;
  color: #ead2a2;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.tp-trust > div + div {
  border-left: 1px solid rgba(216, 179, 106, 0.28);
  padding-left: 1.35rem;
}

/* ==========================================================================
   4. BỘ SƯU TẬP ẢNH THỰC TẾ (GALLERY BẾP LÀNH & TRẦM SẠCH)
   ========================================================================== */
.tp-gallery {
  padding-block: clamp(3rem, 5vw, 4.25rem) clamp(1.5rem, 3vw, 2.5rem);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  line-height: 1.12;
  color: var(--pine);
  margin: 0.25rem 0 0.65rem;
  font-weight: 700;
}

.section-head p {
  color: var(--bark);
  max-width: 46rem;
  margin: 0;
  font-size: 0.96rem;
}

.tp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.35rem;
}

.tp-gallery-card {
  margin: 0;
  padding: 0.65rem;
  background: #ffffff;
  border: 1px solid rgba(216, 179, 106, 0.5);
  border-top: 3px solid var(--gold-deep);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
}

.tp-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tp-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.3rem;
}

.tp-gallery-card figcaption {
  padding: 0.75rem 0.35rem 0.25rem;
  font-family: Georgia, serif;
  color: var(--wood);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tp-gallery-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--pine);
}

/* ==========================================================================
   5. KHU VỰC DANH MỤC SẢN PHẨM (DẦU & BỘT CHỦ ĐẠO + TRẦM HƯƠNG)
   ========================================================================== */
.products-section {
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.filter-toolbar {
  background: var(--paper-card);
  border: 1px solid rgba(216, 179, 106, 0.55);
  border-radius: 0.85rem;
  padding: 1.15rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  display: grid;
  gap: 1rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cat-tab {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid #cdb983;
  background: var(--sand);
  color: var(--wood);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-tab:hover {
  background: var(--sand-deep);
}

.cat-tab.active {
  background: var(--pine);
  color: #f5dfa5;
  border-color: var(--pine);
  box-shadow: 0 4px 12px rgba(16, 47, 41, 0.2);
}

.toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(216, 179, 106, 0.35);
}

.search-box {
  position: relative;
  flex: 1 1 18rem;
  max-width: 28rem;
}

.search-box i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bark);
  font-size: 0.88rem;
}

.search-box input {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  border-radius: 0.6rem;
  border: 1px solid #cdb983;
  background: var(--paper);
  font-size: 0.88rem;
  color: var(--ink);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.sort-select {
  min-height: 2.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid #cdb983;
  background: var(--paper);
  color: var(--wood);
  font-size: 0.84rem;
  font-weight: 600;
}

.quick-price-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.5rem 0.95rem;
  border-radius: 0.6rem;
  background: rgba(216, 179, 106, 0.25);
  border: 1px solid rgba(185, 153, 83, 0.5);
  color: var(--wood);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-price-link:hover {
  background: rgba(216, 179, 106, 0.42);
}

/* Lưới Thẻ Sản Phẩm */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  border: 1px solid rgba(216, 179, 106, 0.58);
  border-top: 4px solid var(--gold-deep);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #fffefa, #f7f1e6);
  box-shadow: var(--shadow-card);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-code {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--bark);
  background: var(--sand);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.product-badge {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--pine);
  background: rgba(16, 47, 41, 0.1);
  border: 1px solid rgba(16, 47, 41, 0.18);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.product-badge.badge-main {
  background: rgba(108, 37, 43, 0.11);
  color: var(--wine);
  border-color: rgba(108, 37, 43, 0.25);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 106, 0.45);
  background: var(--sand);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.product-title-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65rem;
  background: var(--pine);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.product-cat-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bark);
  font-weight: 700;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.18;
  color: var(--wood);
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--bark);
  margin: 0;
}

/* Phần Giá & Nút (Tách dòng riêng chống chồng chữ 100%) */
.product-card-bottom {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(216, 179, 106, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.product-unit-line {
  font-size: 0.8rem;
  color: var(--bark);
}

.product-price-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pine);
  line-height: 1.25;
}

.product-price-value.is-consult {
  font-size: 1.15rem;
  color: var(--wine);
}

.product-btn-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.btn-select-quote {
  min-height: 2.85rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--pine);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-select-quote:hover {
  background: var(--pine-mid);
}

.btn-select-quote i {
  color: var(--gold-bright);
}

.btn-zalo-card {
  min-height: 2.85rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(185, 153, 83, 0.5);
  background: var(--sand);
  color: var(--wood);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-zalo-card:hover {
  background: var(--sand-deep);
}

.btn-zalo-card i {
  color: var(--wine);
}

/* ==========================================================================
   6. BẢNG GIÁ NIÊM YẾT CHÍNH THỨC (ORIENTAL BORDER)
   ========================================================================== */
.price-table-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  background-color: var(--sand);
  border-block: 1px solid var(--line);
}

.oriental-frame {
  position: relative;
  background: var(--paper-card);
  border: 1px solid rgba(197, 155, 39, 0.55);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
  box-shadow: 0 18px 45px rgba(16, 47, 41, 0.1);
}

.oriental-frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(197, 155, 39, 0.28);
  border-radius: 0.85rem;
  pointer-events: none;
}

.price-header {
  text-align: center;
  border-bottom: 2px solid rgba(216, 179, 106, 0.45);
  padding-bottom: 1.35rem;
  margin-bottom: 1.5rem;
}

.price-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: var(--pine);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.price-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  color: var(--pine);
  margin: 0;
  font-weight: 700;
}

.price-header p {
  font-size: 0.86rem;
  color: var(--bark);
  margin: 0.35rem 0 0;
}

.table-scroll {
  overflow-x: auto;
}

.tp-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.tp-table thead tr {
  background: var(--pine);
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.tp-table th,
.tp-table td {
  padding: 0.85rem 0.9rem;
  vertical-align: top;
}

.tp-table tbody tr {
  border-bottom: 1px solid rgba(216, 179, 106, 0.3);
}

.tp-table tbody tr:nth-child(even) {
  background: rgba(239, 232, 216, 0.45);
}

.tp-table tbody tr:hover {
  background: rgba(216, 179, 106, 0.2);
}

.tp-table-group-row td {
  background: rgba(16, 47, 41, 0.09) !important;
  color: var(--pine);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-block: 0.6rem;
}

.table-choose-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  border: none;
  background: var(--pine);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.table-choose-btn:hover {
  background: var(--wine);
  color: #ffffff;
}

.price-footer-banner {
  margin-top: 1.5rem;
  background: var(--pine);
  color: #ffffff;
  border-radius: 0.85rem;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price-footer-banner strong {
  color: var(--gold-bright);
}

/* ==========================================================================
   7. CÂU CHUYỆN BẾP LÀNH & TRẦM SẠCH + CẨM NANG (BLOG MỞ RỘNG)
   ========================================================================== */
.story-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.story-box {
  background: #ffffff;
  border: 1px solid rgba(216, 179, 106, 0.5);
  border-radius: 0.75rem;
  padding: 1.15rem;
  box-shadow: var(--shadow-card);
}

.story-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--pine);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-box ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--bark);
  display: grid;
  gap: 0.35rem;
}

.compare-panel {
  background: #ffffff;
  border: 1px solid var(--gold);
  border-top: 4px solid var(--wine);
  border-radius: 0.85rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.compare-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--pine);
  margin: 0 0 1rem;
  text-align: center;
}

.compare-item {
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
}

.compare-good {
  background: rgba(16, 47, 41, 0.06);
  border: 1px solid rgba(16, 47, 41, 0.2);
}

.compare-good strong {
  color: var(--pine);
  display: block;
  margin-bottom: 0.25rem;
}

.compare-bad {
  background: rgba(108, 37, 43, 0.06);
  border: 1px solid rgba(108, 37, 43, 0.22);
}

.compare-bad strong {
  color: var(--wine);
  display: block;
  margin-bottom: 0.25rem;
}

/* Blog / Cẩm nang Góc Sống Lành */
.blog-section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, rgba(239, 232, 216, 0.5), var(--paper));
  border-top: 1px solid var(--line);
}

.tp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
}

.tp-blog-card {
  border: 1px solid rgba(216, 179, 106, 0.58);
  border-top: 4px solid var(--pine);
  border-radius: 0.65rem;
  background: #fffdf7;
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
}

.tp-blog-num {
  font-family: Georgia, serif;
  font-size: 2.3rem;
  color: var(--gold-deep);
  line-height: 1;
}

.tp-blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.18;
  color: var(--pine);
  margin: 0.65rem 0;
}

.tp-blog-card p {
  font-size: 0.88rem;
  color: var(--bark);
  line-height: 1.78;
}

.tp-blog-card summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--wine);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px solid rgba(216, 179, 106, 0.45);
  font-size: 0.88rem;
}

.tp-blog-detail-body {
  padding-top: 0.75rem;
  font-size: 0.87rem;
  color: var(--ink);
  border-top: 1px dashed rgba(216, 179, 106, 0.45);
  margin-top: 0.75rem;
}

/* ==========================================================================
   8. FAQ & FOOTER (XANH RỪNG ĐẬM & THÔNG BÁO PHÁP LÝ KHÔNG GIỎ HÀNG)
   ========================================================================== */
.faq-section {
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 54rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(216, 179, 106, 0.55);
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  font-weight: 700;
  color: var(--pine);
  cursor: pointer;
  font-size: 0.96rem;
}

.faq-item p {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--bark);
}

.site-footer {
  background: var(--pine);
  color: #f4ead5;
  border-top: 4px solid var(--gold);
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(216, 179, 106, 0.25);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
}

.footer-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: #e4d9c3;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-contact-card {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(216, 179, 106, 0.35);
  border-radius: 0.75rem;
  padding: 1.1rem;
  font-size: 0.86rem;
  display: grid;
  gap: 0.55rem;
}

.legal-exempt-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold);
  font-size: 0.76rem;
  color: #d6cbb5;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #c8bca4;
}

/* ==========================================================================
   9. NÚT ZALO NỔI RUNG NHẸ & MODAL PHIẾU CHỌN TƯ VẤN
   ========================================================================== */
@keyframes tpZaloShake {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-5deg); }
  86% { transform: rotate(5deg); }
  90% { transform: rotate(-4deg); }
  94% { transform: rotate(4deg); }
}

.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 48;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.float-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.05rem;
  border-radius: 0.85rem;
  background: var(--wine);
  color: #ffffff;
  border: 1px solid var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.float-zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  min-height: 3.35rem;
  border-radius: 0.95rem;
  background: var(--pine);
  color: #ffffff;
  border: 2px solid var(--gold);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  animation: tpZaloShake 3.5s ease-in-out infinite;
  transform-origin: center;
}

.float-zalo-btn:hover {
  animation-play-state: paused;
  background: var(--pine-mid);
}

.float-zalo-btn i {
  font-size: 1.35rem;
  color: var(--gold-bright);
}

.float-zalo-text span {
  display: block;
  font-size: 0.68rem;
  color: #e4d9c3;
  line-height: 1.15;
}

.float-zalo-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-bright);
}

/* Modal Phiếu Chọn Tư Vấn */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 24, 20, 0.68);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  width: min(100%, 32rem);
  max-height: 90dvh;
  background: var(--paper-card);
  border: 2px solid var(--gold);
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  background: var(--pine);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-bright);
  margin: 0;
}

.modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
}

.modal-ship-note {
  background: rgba(216, 179, 106, 0.25);
  color: var(--wood);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-body {
  padding: 1.15rem;
  overflow-y: auto;
  flex: 1;
  display: grid;
  gap: 0.75rem;
}

.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.quote-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.35rem;
  border: 1px solid #cdb983;
  background: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.modal-footer {
  padding: 1rem 1.25rem;
  background: var(--sand);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
}

.toast-box {
  position: fixed;
  top: 5.5rem;
  right: 1.25rem;
  z-index: 110;
  background: var(--pine);
  color: #ffffff;
  border: 1px solid var(--gold);
  border-radius: 0.75rem;
  padding: 0.8rem 1.15rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   10. RESPONSIVE MOBILE & TABLET
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .tp-hero-inner,
  .story-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tp-product-hero {
    transform: none;
  }
  .tp-trust {
    grid-template-columns: 1fr 1fr;
  }
  .tp-trust > div + div {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .topbar-left span:not(.topbar-pill) {
    display: none;
  }
  .header-inner {
    min-height: 4.6rem;
  }
  .brand-logo-wrap {
    width: 2.85rem;
    height: 2.85rem;
  }
  .header-zalo-btn {
    display: none;
  }
  .tp-hero {
    padding: 2.2rem 1rem 1.75rem;
  }
  .tp-hero::before {
    inset: 8px;
  }
  .tp-trust {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }
  .cat-tab {
    flex-shrink: 0;
  }
  .floating-actions {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

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