/* ══════════════════════════════════════════════════════════════════
   SHOP THỰC PHẨM SẠCH — FRESH-MINIMAL
   Font: Plus Jakarta Sans 300/400/500/600/700 (heading + body, unified)
   Tone: white dominant, generous whitespace | Identity: FRESH-MINIMAL
   Accent: Leaf Green #2f8f4e | Secondary: Harvest Amber #dd8f3a
   Nav: Nav-8 Underline-Active only | Hero: H4 Centered Minimal
   Prefix: tp- (thuc-pham)
   Layouts: FEATURE-ICON-ROW · GRID-CARDS · TIMELINE ·
            BENTO-GRID · ALTERNATING-STRIPS · STAT-BAR · HORIZONTAL-SCROLL
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --bg:              #fbfdfa;
  --surface:         #ffffff;
  --dark:            #12241a;
  --dark2:           #17301f;
  --border:          #e1ebe3;
  --border-light:    #eef4ef;
  --text:            #16241c;
  --text-2:          #5c6b60;
  --text-3:          #98a59c;
  --accent:          #2f8f4e;
  --accent-h:        #24713d;
  --accent-light:    #e8f5eb;
  --accent-mid:      #57b378;
  --amber:           #dd8f3a;
  --amber-h:         #c17a2b;
  --amber-light:     #fbf0e0;
  --sale:            #e0503f;
  --sale-light:      #fdece9;
  --sans:            'Plus Jakarta Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: var(--sans); }

/* ── Layout ── */
.tp-container    { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
.tp-container-sm { max-width: 900px;  margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
.tp-sec    { padding: clamp(64px, 9vw, 128px) 0; }
.tp-sec-sm { padding: clamp(40px, 5vw, 72px) 0; }

/* ── Section Header ── */
.tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.tp-eyebrow i { font-size: 13px; }
.tp-sec-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 16px;
}
.tp-sec-title em {
  font-style: normal;
  color: var(--accent);
}
.tp-sec-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.75;
}
.tp-sec-header { margin-bottom: 48px; }
.tp-sec-header.tp-center { text-align: center; margin-left: auto; margin-right: auto; }
.tp-sec-header.tp-center .tp-sec-sub { margin-left: auto; margin-right: auto; }
.tp-sec-header.tp-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.tp-sec-header.tp-split .tp-sec-sub { margin-bottom: 0; }

/* ── Buttons — pill, solid green ── */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s;
  white-space: nowrap;
}
.tp-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.tp-btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.tp-btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.tp-btn-outline:hover { background: var(--accent-light); }
.tp-btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.tp-btn-ghost:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.tp-btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.tp-btn-dark:hover { background: var(--dark2); border-color: var(--dark2); }
.tp-btn-sm { padding: 9px 20px; font-size: 13px; }
.tp-btn-lg { padding: 16px 34px; font-size: 15.5px; }
.tp-btn-full { width: 100%; justify-content: center; }

/* ── Reveal Animation ── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .68s ease, transform .68s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* ══════════════════════════════════════════════════════════════════
   PRODUCT CARD (dùng chung mọi trang) — border-radius 20px, lift -8px
   ══════════════════════════════════════════════════════════════════ */
.tp-prod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tp-prod-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(22,36,28,.09);
  border-color: transparent;
}
.tp-prod-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--accent-light);
}
.tp-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.tp-prod-card:hover .tp-prod-thumb img { transform: scale(1.07); }
.tp-prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  z-index: 2;
}
.tp-prod-badge-organic { background: var(--accent); color: #fff; }
.tp-prod-badge-sale { background: var(--sale); color: #fff; }
.tp-prod-badge-new { background: var(--amber); color: #fff; }
.tp-prod-quickadd {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(22,36,28,.14);
  opacity: 0;
  transform: translateY(8px);
  transition: all .25s;
}
.tp-prod-card:hover .tp-prod-quickadd { opacity: 1; transform: translateY(0); }
.tp-prod-quickadd:hover { background: var(--accent); color: #fff; }
.tp-prod-info { padding: 18px 20px 22px; }
.tp-prod-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.tp-prod-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.tp-prod-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-prod-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tp-price-now { font-size: 17px; font-weight: 700; color: var(--accent); }
.tp-price-unit { font-size: 12px; color: var(--text-3); }
.tp-price-old { font-size: 13px; color: var(--text-3); text-decoration: line-through; }
.tp-prod-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-3); }
.tp-prod-rating i { color: #f59e0b; font-size: 12px; }

/* ══════════════════════════════════════════════════════════════════
   NAV — Nav-8: Underline-Active only (không border, không shadow)
   ══════════════════════════════════════════════════════════════════ */
.tp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--bg);
}
.tp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  flex-shrink: 0;
}
.tp-logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.tp-logo span { color: var(--accent); }

.tp-nav-links { display: flex; align-items: center; gap: 34px; }
.tp-nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .2s;
}
.tp-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.tp-nav-links a:hover { color: var(--text); }
.tp-nav-links a:hover::after,
.tp-nav-links a.tp-active::after { transform: scaleX(1); }
.tp-nav-links a.tp-active { color: var(--text); }

.tp-nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tp-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 17px;
  transition: background .2s;
}
.tp-nav-icon:hover { background: var(--accent); color: #fff; }
.tp-cart-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 18px; height: 18px;
  background: var(--amber);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.tp-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tp-burger span {
  display: block;
  width: 21px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
.tp-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-burger.open span:nth-child(2) { opacity: 0; }
.tp-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav — light overlay (giữ chất minimal, khác 4 site kia dark overlay) */
.tp-mob-nav {
  position: fixed;
  inset: 0;
  z-index: 899;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 6vw, 64px) 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.tp-mob-nav.open { transform: translateX(0); }
.tp-mob-nav ul { margin-bottom: 32px; }
.tp-mob-nav ul li { border-bottom: 1px solid var(--border-light); }
.tp-mob-nav ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
}
.tp-mob-nav ul a:hover,
.tp-mob-nav ul a.tp-active { color: var(--accent); }
.tp-mob-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════
   HERO — H4: Centered Minimal
   ══════════════════════════════════════════════════════════════════ */
.tp-hero {
  position: relative;
  padding: 168px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.tp-hero-blob {
  position: absolute;
  border-radius: 44% 56% 62% 38% / 48% 44% 56% 52%;
  filter: blur(2px);
  z-index: 0;
  opacity: .7;
}
.tp-hero-blob-1 {
  width: 420px; height: 420px;
  background: var(--accent-light);
  top: -80px; left: -140px;
}
.tp-hero-blob-2 {
  width: 300px; height: 300px;
  background: var(--amber-light);
  top: 120px; right: -100px;
}
.tp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.tp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.tp-hero-tag i { font-size: 14px; }
.tp-hero-title {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 22px;
}
.tp-hero-title em { font-style: normal; color: var(--accent); }
.tp-hero-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 36px;
}
.tp-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tp-hero-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.tp-hero-note i { color: var(--accent); }

/* Floating product image */
.tp-hero-visual {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 56px auto 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/7;
  box-shadow: 0 40px 80px -20px rgba(22,36,28,.18);
}
.tp-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero-float-card {
  position: absolute;
  left: clamp(16px, 4vw, 40px);
  bottom: clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(22,36,28,.12);
}
.tp-float-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tp-hero-float-card strong { display: block; font-size: 14px; color: var(--text); }
.tp-hero-float-card span { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; }

/* ── Trust strip (certification logos) ── */
.tp-trust {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
}
.tp-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
}
.tp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.tp-trust-item i { color: var(--accent); font-size: 20px; }

/* ══════════════════════════════════════════════════════════════════
   FEATURE-ICON-ROW — Vì sao chọn chúng tôi (không card border)
   ══════════════════════════════════════════════════════════════════ */
.tp-features-bg { background: var(--surface); }
.tp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.tp-feature {
  text-align: left;
}
.tp-feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.tp-feature h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.tp-feature p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   CATEGORIES — GRID-CARDS
   ══════════════════════════════════════════════════════════════════ */
.tp-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tp-cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--accent-light);
  cursor: pointer;
}
.tp-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.tp-cat-card:hover img { transform: scale(1.08); }
.tp-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,36,26,.78) 0%, rgba(18,36,26,.05) 55%, transparent 100%);
}
.tp-cat-info {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  color: #fff;
}
.tp-cat-info h3 { font-size: 14.5px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.tp-cat-info span { font-size: 11.5px; opacity: .8; }

/* ══════════════════════════════════════════════════════════════════
   TIMELINE — Từ nông trại đến bàn ăn
   ══════════════════════════════════════════════════════════════════ */
.tp-timeline-bg { background: var(--surface); }
.tp-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.tp-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 27px;
  width: 2px;
  background: var(--border);
}
.tp-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 48px;
}
.tp-timeline-item:last-child { padding-bottom: 0; }
.tp-timeline-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
  flex-shrink: 0;
}
.tp-timeline-content { padding-top: 8px; }
.tp-timeline-step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.tp-timeline-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.tp-timeline-content p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}

/* ══════════════════════════════════════════════════════════════════
   FEATURED PRODUCTS — BENTO-GRID
   ══════════════════════════════════════════════════════════════════ */
.tp-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.tp-bento-large { grid-column: 1 / 2; grid-row: 1 / 3; }
.tp-bento-large .tp-prod-thumb { aspect-ratio: 3/4; }
.tp-bento-small .tp-prod-thumb { aspect-ratio: 4/3; }

/* ══════════════════════════════════════════════════════════════════
   ALTERNATING-STRIPS — Câu chuyện nông trại
   ══════════════════════════════════════════════════════════════════ */
.tp-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 48px 0;
}
.tp-story-row + .tp-story-row { border-top: 1px solid var(--border-light); }
.tp-story-row.tp-reverse > .tp-story-img { order: -1; }
.tp-story-img {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--accent-light);
}
.tp-story-img img { width: 100%; height: 100%; object-fit: cover; }
.tp-story-badge {
  display: inline-block;
  background: var(--amber-light);
  color: var(--amber-h);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.tp-story-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 14px;
}
.tp-story-title em { font-style: normal; color: var(--accent); }
.tp-story-text {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.tp-story-list { display: flex; flex-direction: column; gap: 12px; }
.tp-story-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.tp-story-list i { color: var(--accent); font-size: 17px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   STAT-BAR
   ══════════════════════════════════════════════════════════════════ */
.tp-stats { background: var(--dark); padding: 64px 0; }
.tp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  overflow: hidden;
}
.tp-stat { text-align: center; padding: 36px 24px; background: var(--dark); }
.tp-stat-num {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.tp-stat-num span { color: var(--accent-mid); }
.tp-stat-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS — HORIZONTAL-SCROLL
   ══════════════════════════════════════════════════════════════════ */
.tp-testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.tp-testi-track::-webkit-scrollbar { height: 4px; }
.tp-testi-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.tp-testi-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.tp-testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tp-testi-stars i { color: #f59e0b; font-size: 14px; }
.tp-testi-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 22px;
}
.tp-testi-author { display: flex; align-items: center; gap: 12px; }
.tp-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.tp-testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.tp-testi-role { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════════ */
.tp-newsletter { background: var(--accent-light); padding: clamp(56px, 7vw, 96px) 0; }
.tp-newsletter-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.tp-newsletter-inner .tp-sec-title { margin-bottom: 12px; }
.tp-newsletter-form { display: flex; gap: 10px; margin-top: 30px; }
.tp-newsletter-form input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.tp-newsletter-form input::placeholder { color: var(--text-3); }
.tp-newsletter-form input:focus { border-color: var(--accent); }
.tp-newsletter-form button {
  height: 52px;
  padding: 0 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.tp-newsletter-form button:hover { background: var(--accent-h); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER — Dark forest, 4-col
   ══════════════════════════════════════════════════════════════════ */
.tp-footer { background: var(--dark); padding: 72px 0 0; }
.tp-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.tp-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.tp-footer-logo span { color: var(--accent-mid); }
.tp-footer-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.tp-footer-social { display: flex; gap: 10px; }
.tp-soc-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 15px;
  transition: all .2s;
}
.tp-soc-btn:hover { background: var(--accent); color: #fff; }
.tp-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.tp-footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.tp-footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.tp-footer-col ul a:hover { color: var(--accent-mid); }
.tp-footer-contact { display: flex; flex-direction: column; gap: 14px; }
.tp-footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.6; }
.tp-footer-contact i { color: var(--accent-mid); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.tp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.tp-footer-bottom p { font-size: 13px; color: rgba(255,255,255,.28); }
.tp-footer-pay { display: flex; gap: 8px; align-items: center; }
.tp-pay-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.42);
}

/* ══════════════════════════════════════════════════════════════════
   ZALO FLOAT
   ══════════════════════════════════════════════════════════════════ */
.tp-zalo-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-zalo-tooltip {
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: all .2s;
  pointer-events: none;
}
.tp-zalo-float:hover .tp-zalo-tooltip { opacity: 1; transform: translateX(0); }
.tp-zalo-btn {
  width: 52px; height: 52px;
  background: #0068FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 22px rgba(0,104,255,.4);
  transition: transform .2s;
}
.tp-zalo-btn:hover { transform: scale(1.08); }

/* ══════════════════════════════════════════════════════════════════
   PAGE HEADER (san-pham / chi-tiet / gio-hang / lien-he)
   ══════════════════════════════════════════════════════════════════ */
.tp-page-hero {
  background: var(--accent-light);
  padding: 128px 0 44px;
}
.tp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  margin-bottom: 14px;
}
.tp-breadcrumb a { color: var(--text-3); transition: color .2s; }
.tp-breadcrumb a:hover { color: var(--accent); }
.tp-page-title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 6px;
}
.tp-page-count { font-size: 14px; color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════════
   SHOP LAYOUT — Filter sidebar + product grid (san-pham.html)
   ══════════════════════════════════════════════════════════════════ */
.tp-shop-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  gap: 40px;
  padding: 48px 0 80px;
  align-items: start;
}
.tp-filter-sidebar {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
}
.tp-filter-hd {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tp-filter-clear { font-size: 12px; font-weight: 600; color: var(--accent); cursor: pointer; }
.tp-filter-block { margin-bottom: 26px; }
.tp-filter-block:last-child { margin-bottom: 0; }
.tp-filter-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 14px;
}
.tp-filter-opts { display: flex; flex-direction: column; gap: 11px; }
.tp-filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
}
.tp-filter-opt input[type="checkbox"] {
  width: 17px; height: 17px;
  border-radius: 5px;
  accent-color: var(--accent);
  cursor: pointer;
}
.tp-filter-opt span.tp-count { margin-left: auto; color: var(--text-3); font-size: 12px; }
.tp-price-range { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.tp-price-range input[type="number"] {
  width: 84px; height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  background: var(--bg);
  outline: none;
}
.tp-price-range input:focus { border-color: var(--accent); }

.tp-shop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}
.tp-result-count { font-size: 13.5px; color: var(--text-2); }
.tp-sort-select {
  height: 42px;
  padding: 0 36px 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c6b60' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.tp-sort-select:focus { border-color: var(--accent); }

.tp-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tp-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.tp-page-btn {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.tp-page-btn:hover,
.tp-page-btn.tp-active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL (chi-tiet-san-pham.html)
   ══════════════════════════════════════════════════════════════════ */
.tp-detail-wrap { padding: 128px 0 80px; }
.tp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tp-gallery-main {
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: var(--accent-light);
  margin-bottom: 14px;
}
.tp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tp-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tp-thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--accent-light);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.tp-thumb.tp-active, .tp-thumb:hover { border-color: var(--accent); }
.tp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.tp-detail-info { position: sticky; top: 96px; }
.tp-detail-badges { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tp-detail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  background: var(--accent-light); color: var(--accent);
}
.tp-detail-name {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--text);
  line-height: 1.22;
  margin-bottom: 14px;
}
.tp-detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13.5px; color: var(--text-2); }
.tp-detail-rating .stars { display: flex; gap: 2px; color: #f59e0b; font-size: 14px; }
.tp-detail-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.tp-d-price-now { font-size: 30px; font-weight: 700; color: var(--accent); }
.tp-d-price-old { font-size: 17px; color: var(--text-3); text-decoration: line-through; }
.tp-d-price-unit { font-size: 13px; color: var(--text-3); }
.tp-detail-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 26px; }
.tp-divider { height: 1px; background: var(--border); margin: 24px 0; }

.tp-variant-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 12px;
}
.tp-size-opts { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.tp-size-opt {
  height: 40px; padding: 0 18px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: var(--text-2); background: var(--surface); cursor: pointer;
  transition: all .2s;
}
.tp-size-opt:hover, .tp-size-opt.tp-selected { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.tp-qty-add { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.tp-qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; }
.tp-qty button { width: 42px; height: 50px; background: var(--accent-light); border: none; font-size: 17px; color: var(--accent); cursor: pointer; transition: background .2s; }
.tp-qty button:hover { background: var(--accent); color: #fff; }
.tp-qty input { width: 48px; height: 50px; text-align: center; border: none; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text); background: var(--surface); outline: none; }
.tp-btn-cart-full { flex: 1; height: 52px; }
.tp-btn-wishlist {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; transition: all .2s;
}
.tp-btn-wishlist:hover { border-color: var(--sale); color: var(--sale); }

.tp-trust-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.tp-trust-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.tp-trust-list i { color: var(--accent); font-size: 17px; flex-shrink: 0; }

/* Tabs */
.tp-tabs { margin-top: 64px; }
.tp-tab-nav { display: flex; gap: 4px; border-bottom: 1.5px solid var(--border); overflow-x: auto; }
.tp-tab-btn {
  padding: 14px 22px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  color: var(--text-3); background: none; border: none; cursor: pointer;
  white-space: nowrap; position: relative; transition: color .2s;
}
.tp-tab-btn::after {
  content: ''; position: absolute; bottom: -1.5px; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s;
}
.tp-tab-btn.tp-active { color: var(--text); }
.tp-tab-btn.tp-active::after { transform: scaleX(1); }
.tp-tab-panel { display: none; padding: 32px 0; }
.tp-tab-panel.tp-active { display: block; }
.tp-specs-table { width: 100%; border-collapse: collapse; }
.tp-specs-table tr { border-bottom: 1px solid var(--border-light); }
.tp-specs-table td { padding: 13px 16px; font-size: 14px; vertical-align: top; }
.tp-specs-table td:first-child { font-weight: 600; color: var(--text-2); width: 220px; background: var(--accent-light); border-radius: 8px 0 0 8px; }
.tp-review-item { padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.tp-review-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.tp-review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.tp-review-name { font-size: 14px; font-weight: 600; color: var(--text); }
.tp-review-date { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.tp-review-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.tp-related { padding: clamp(56px, 8vw, 96px) 0; background: var(--surface); }
.tp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }

/* ══════════════════════════════════════════════════════════════════
   CART (gio-hang.html)
   ══════════════════════════════════════════════════════════════════ */
.tp-cart-wrap { padding: 128px 0 80px; }
.tp-cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.tp-cart-empty { text-align: center; padding: 64px 24px; }
.tp-cart-empty i { font-size: 56px; color: var(--accent-light); margin-bottom: 20px; }
.tp-cart-empty p { color: var(--text-2); margin-bottom: 24px; }

.tp-cart-table-wrap { overflow-x: auto; }
.tp-cart-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.tp-cart-table th {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--border);
}
.tp-cart-table td { padding: 20px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.tp-cart-item-wrap { display: flex; gap: 16px; align-items: center; }
.tp-cart-img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--accent-light); flex-shrink: 0; }
.tp-cart-name { font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.tp-cart-meta { font-size: 12px; color: var(--text-3); }
.tp-cart-qty { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 999px; overflow: hidden; width: fit-content; }
.tp-cart-qty button { width: 32px; height: 36px; background: var(--accent-light); border: none; font-size: 15px; color: var(--accent); cursor: pointer; }
.tp-cart-qty input { width: 40px; height: 36px; text-align: center; border: none; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface); outline: none; }
.tp-cart-price { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.tp-cart-del { background: none; border: none; color: var(--text-3); font-size: 18px; cursor: pointer; padding: 4px; transition: color .15s; }
.tp-cart-del:hover { color: var(--sale); }

.tp-order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 96px;
}
.tp-summary-title {
  font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: var(--text); padding-bottom: 18px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.tp-summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 13px; }
.tp-summary-row span:last-child { font-weight: 600; color: var(--text); }
.tp-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: 6px;
}
.tp-summary-total-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.tp-summary-total-val { font-size: 22px; font-weight: 700; color: var(--accent); }
.tp-coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.tp-coupon-row input {
  flex: 1; height: 44px; padding: 0 16px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--sans); font-size: 13.5px; color: var(--text);
  background: var(--bg); outline: none; transition: border-color .2s;
}
.tp-coupon-row input:focus { border-color: var(--accent); }
.tp-coupon-row button {
  height: 44px; padding: 0 20px;
  background: var(--dark); color: #fff; border: none; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.tp-coupon-row button:hover { background: var(--accent); }
.tp-secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 12px; color: var(--text-3); }
.tp-secure-note i { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════
   CONTACT (lien-he.html)
   ══════════════════════════════════════════════════════════════════ */
.tp-contact-wrap { padding: 128px 0 80px; }
.tp-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.tp-contact-info h2 {
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.015em;
  color: var(--text); line-height: 1.22; margin-bottom: 18px;
}
.tp-contact-info > p { font-size: 15.5px; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; }
.tp-contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.tp-contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.tp-contact-icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 19px;
}
.tp-contact-detail-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.tp-contact-detail-text p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }
.tp-contact-map {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--accent-light);
}
.tp-contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15) contrast(1.02); }

.tp-contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.tp-contact-form h3 { font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 26px; }
.tp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tp-form-group { margin-bottom: 20px; }
.tp-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.tp-form-group input, .tp-form-group select, .tp-form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--sans); font-size: 14.5px; color: var(--text);
  background: var(--bg); outline: none; transition: border-color .2s;
}
.tp-form-group input::placeholder, .tp-form-group textarea::placeholder { color: var(--text-3); }
.tp-form-group input:focus, .tp-form-group select:focus, .tp-form-group textarea:focus { border-color: var(--accent); background: var(--surface); }
.tp-form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ accordion */
.tp-faq-bg { background: var(--surface); }
.tp-faq-list { max-width: 780px; margin: 0 auto; }
.tp-faq-item { border-bottom: 1px solid var(--border); }
.tp-faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--text);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .2s;
}
.tp-faq-q:hover { color: var(--accent); }
.tp-faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: transform .25s; flex-shrink: 0;
}
.tp-faq-item.open .tp-faq-q { color: var(--accent); }
.tp-faq-item.open .tp-faq-icon { transform: rotate(45deg); }
.tp-faq-a { font-size: 14px; color: var(--text-2); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.tp-faq-item.open .tp-faq-a { max-height: 240px; padding-bottom: 20px; }

/* ══════════════════════════════════════════════════════════════════
   LEGAL / ARTICLE PAGES — Chính sách bảo mật, Điều khoản
   ══════════════════════════════════════════════════════════════════ */
.tp-legal { max-width: 820px; margin: 0 auto; }
.tp-legal-updated {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  margin-bottom: 36px;
}
.tp-legal-intro {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 40px;
}
.tp-legal h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 44px 0 16px;
}
.tp-legal > h2:first-of-type { margin-top: 0; }
.tp-legal p {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.tp-legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tp-legal li {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
}
.tp-legal strong { color: var(--text); font-weight: 600; }
.tp-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.tp-legal-contact-box {
  margin-top: 12px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.tp-legal-contact-box p { margin-bottom: 8px; }
.tp-legal-contact-box p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════════
   PROMOTIONS — Promo Cards (khuyen-mai.html)
   ══════════════════════════════════════════════════════════════════ */
.tp-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tp-promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tp-promo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(22,36,28,.09);
  border-color: transparent;
}
.tp-promo-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--accent-light);
}
.tp-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.tp-promo-card:hover .tp-promo-media img { transform: scale(1.06); }
.tp-promo-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--sale);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  z-index: 2;
}
.tp-promo-body { padding: 24px 24px 26px; }
.tp-promo-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-h);
  margin-bottom: 8px;
}
.tp-promo-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.tp-promo-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tp-promo-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 18px;
}
.tp-promo-meta i { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .tp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-related-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 1024px) {
  .tp-shop-layout { grid-template-columns: 220px 1fr; }
  .tp-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-cart-layout { grid-template-columns: 1fr 320px; }
  .tp-detail-grid { gap: 40px; }
  .tp-bento { grid-template-columns: 1fr 1fr; }
  .tp-bento-large { grid-column: 1/3; grid-row: 1/2; }
  .tp-bento-large .tp-prod-thumb { aspect-ratio: 16/9; }
}
@media (max-width: 900px) {
  .tp-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .tp-nav-links, .tp-nav-actions .tp-btn { display: none; }
  .tp-burger { display: flex; }

  .tp-hero { padding-top: 130px; }
  .tp-hero-visual { margin-top: 40px; aspect-ratio: 4/3; }
  .tp-hero-float-card { display: none; }

  .tp-feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .tp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-timeline::before { left: 23px; }
  .tp-timeline-dot { width: 46px; height: 46px; font-size: 18px; }
  .tp-timeline-item { grid-template-columns: 46px 1fr; gap: 18px; }

  .tp-story-row { grid-template-columns: 1fr; gap: 28px; }
  .tp-story-row.tp-reverse > .tp-story-img { order: 0; }

  .tp-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .tp-shop-layout { grid-template-columns: 1fr; }
  .tp-filter-sidebar { position: static; }
  .tp-prod-grid { grid-template-columns: repeat(2, 1fr); }

  .tp-detail-grid { grid-template-columns: 1fr; }
  .tp-detail-info { position: static; }
  .tp-related-grid { grid-template-columns: repeat(2, 1fr); }

  .tp-cart-layout { grid-template-columns: 1fr; }
  .tp-order-summary { position: static; }

  .tp-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-form-row { grid-template-columns: 1fr; }

  .tp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tp-newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .tp-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-prod-grid { grid-template-columns: 1fr; }
  .tp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-bento { grid-template-columns: 1fr; }
  .tp-bento-large { grid-column: 1/2; }
  .tp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tp-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════
   SEARCH — nav search panel + sidebar search box
══════════════════════════════════════════ */
.tp-nav-search-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 17px;
  transition: background .2s, color .2s;
}
.tp-nav-search-btn:hover,
.tp-nav-search-btn[aria-expanded="true"] { background: var(--accent); color: #fff; }

.tp-search-panel {
  position: fixed;
  top: 76px; left: 0; right: 0;
  z-index: 899;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  padding: 18px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.tp-search-panel:not([hidden]) { transform: translateY(0); opacity: 1; pointer-events: auto; }
.tp-search-panel-form { display: flex; align-items: center; gap: 12px; }
.tp-search-panel-form > i { color: var(--text-3); font-size: 18px; }
.tp-search-panel-input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 16px; color: var(--text); }
.tp-search-panel-submit { background: var(--accent); color: #fff; border: none; padding: 8px 18px; border-radius: 8px; cursor: pointer; font-family: var(--sans); font-size: 14px; }
.tp-search-panel-submit:hover { background: var(--accent-h); }
.tp-search-panel-close { background: none; border: none; font-size: 22px; color: var(--text-3); cursor: pointer; line-height: 1; padding: 0 4px; }
.tp-search-panel-close:hover { color: var(--text); }

.tp-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--bg);
}
.tp-search-box i { color: var(--text-3); font-size: 15px; }
.tp-search-input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--sans); font-size: 14px; color: var(--text); }
.tp-search-input::placeholder { color: var(--text-3); }
.tp-search-empty { font-family: var(--sans); font-size: 15px; }
