/*
Theme Name: Lạc Bửu
Theme URI: https://lacbuu.com
Author: Lạc Bửu
Description: Theme WordPress + WooCommerce cho bếp nấu chậm Lạc Bửu — cháo và súp bồi bổ, giao thố nóng trong 1 giờ tại TP.HCM.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: lac-buu
WC requires at least: 8.0
WC tested up to: 9.0
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --lb-red:       #C22629; /* CHỈ dùng cho: CTA chính, hotline, badge khẩn */
  --lb-red-dark:  #9E1E20;
  --lb-red-soft:  #FBECEC;
  --lb-glow:      rgba(194,38,41,0.22);

  --lb-ink:   #1A1516;
  --lb-warm-dark: #6B312B; /* nâu đỏ trầm ấm — nền các khối nổi bật + trạng thái active phụ */
  --lb-terracotta: #B05E3F; /* đất nung — hover, link phụ, điểm nhấn ấm (AA trên nền sáng) */
  --lb-cream: #F7F1E8;      /* nền section ấm — "bếp nhà" */
  --lb-olive: #5E6B34;      /* xanh lá trầm — cam kết "2 Không 1 Ít" */
  --lb-gray:  #6E6A6B;
  --lb-faint: #9A9698;
  --lb-line:  #EDEAEA;
  --lb-bg:    #FFFFFF;
  --lb-wash:  #FAF7F5;
  --lb-page:  #F6F2EC;

  --font-heading: 'Lora', serif;
  --font-body:    'Be Vietnam Pro', sans-serif;

  --radius-lg: 20px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(26,21,22,.05), 0 10px 28px rgba(26,21,22,.07);
  --shadow-pop:  0 4px 12px rgba(26,21,22,.10), 0 18px 44px rgba(26,21,22,.14);

  /* Nhịp "nấu chậm" — chuyển động khoan thai, ease-out */
  --ease-slow: cubic-bezier(.25,.6,.3,1);
  --t-fast: .2s;
  --t-slow: .3s;

  /* Texture giấy nhẹ (grain) cho các khối "thư tay" */
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");

  --maxw: 1180px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--lb-ink);
  background: var(--lb-page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, .serif {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  text-wrap: pretty;
}
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  font-size: 15.5px;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease-slow), transform .1s ease, box-shadow var(--t-fast) var(--ease-slow);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--lb-red); color: #fff; box-shadow: 0 4px 14px var(--lb-glow); }
.btn-primary:hover { background: var(--lb-red-dark); }
.btn-ghost { background: var(--lb-bg); color: var(--lb-ink); border: 1.5px solid var(--lb-line); }
.btn-ghost:hover { border-color: var(--lb-faint); }
.btn-soft { background: var(--lb-red-soft); color: var(--lb-red); }
.btn-soft:hover { background: #f6dede; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 12px; }

.link-red { color: var(--lb-red); font-weight: 600; }
.link-red:hover { text-decoration: underline; }

/* ============================================================
   CHIPS & BADGES
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--lb-bg);
  border: 1.5px solid var(--lb-line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--lb-ink);
  white-space: nowrap;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--lb-faint); }
.chip.is-on { background: var(--lb-warm-dark); border-color: var(--lb-warm-dark); color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-pick { background: var(--lb-red-soft); color: var(--lb-red); }
.badge-cat  { background: var(--lb-wash); color: var(--lb-gray); border: 1px solid var(--lb-line); }
.badge-ok   { background: #E8F4EE; color: #226E51; }

.kk-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #EFF3E4;
  border: 1px solid #D5DDBE;
  font-size: 13px;
  font-weight: 500;
  color: var(--lb-olive);
}
.kk::before {
  content: '';
  width: 12px; height: 12px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kk b { color: #49542A; font-weight: 700; }
/* Biến thể trên nền tối (tax-banner) */
.kk.kk-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.kk.kk-dark b { color: #fff; }

/* ============================================================
   PRICE
   ============================================================ */
.price { font-weight: 700; color: var(--lb-ink); font-variant-numeric: tabular-nums; }

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--lb-ink); }
.field .hint { font-size: 12.5px; color: var(--lb-faint); font-weight: 400; }
.input, .textarea, select.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--lb-line);
  background: var(--lb-bg);
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus { border-color: var(--lb-red); box-shadow: 0 0 0 3px var(--lb-red-soft); }
.input::placeholder, .textarea::placeholder { color: var(--lb-faint); }

/* Option cards (radio/checkbox) */
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--lb-line);
  background: var(--lb-bg);
  cursor: pointer;
  transition: all .15s ease;
}
.opt:hover { border-color: var(--lb-faint); }
.opt.is-on { border-color: var(--lb-red); background: var(--lb-red-soft); box-shadow: 0 0 0 1px var(--lb-red); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .opt-mark {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--lb-line);
  background: var(--lb-bg);
  display: grid; place-items: center;
  transition: all .15s ease;
}
.opt.opt-check .opt-mark { border-radius: 7px; }
.opt.is-on .opt-mark { border-color: var(--lb-red); background: var(--lb-red); }
.opt.is-on .opt-mark::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.opt .opt-body { flex: 1; min-width: 0; }
.opt .opt-title { font-weight: 600; font-size: 14.5px; }
.opt .opt-sub { font-size: 12.5px; color: var(--lb-gray); }
.opt .opt-fee { font-size: 14px; font-weight: 700; color: var(--lb-red); white-space: nowrap; }
.opt .opt-fee.free { color: var(--lb-gray); font-weight: 500; }

/* Toggle switch */
.switch { position: relative; width: 46px; height: 27px; flex: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--lb-line);
  transition: background .18s ease;
}
.switch .track::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26,21,22,.25);
  transition: transform .18s ease;
}
.switch input:checked + .track { background: var(--lb-red); }
.switch input:checked + .track::after { transform: translateX(19px); }

/* Quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--lb-line);
  border-radius: 12px;
  background: var(--lb-bg);
  overflow: hidden;
}
.qty button {
  width: 44px; height: 44px;
  border: none; background: none;
  font-size: 20px; color: var(--lb-gray);
  display: grid; place-items: center;
}
.qty button:hover { color: var(--lb-warm-dark); background: var(--lb-cream); }
.qty .qty-n { min-width: 36px; text-align: center; font-weight: 700; font-size: 15.5px; }
.qty.qty-sm button { width: 38px; height: 38px; font-size: 17px; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--lb-bg); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card-pad { padding: 18px; }
@media (min-width: 760px) { .card-pad { padding: 24px; } }

/* Placeholder image */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(120% 90% at 30% 20%, #fff 0%, transparent 60%),
    linear-gradient(160deg, var(--lb-wash) 0%, #EFE6DF 100%);
  color: var(--lb-faint);
  overflow: hidden;
  border-radius: inherit;
}
.ph .ph-icon { font-size: 30px; opacity: .85; }
.ph .ph-cap { font-size: 11.5px; text-align: center; padding: 0 12px; max-width: 240px; line-height: 1.4; }
.ph.ratio-1x1  { aspect-ratio: 1; }
.ph.ratio-4x3  { aspect-ratio: 4 / 3; }
.ph.ratio-16x9 { aspect-ratio: 16 / 9; }
.ph.ratio-21x9 { aspect-ratio: 21 / 9; }

/* ============================================================
   PRODUCT GRID  (content-product.php)
   ============================================================ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px)  { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1020px) { .pgrid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--lb-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-slow), box-shadow var(--t-fast) var(--ease-slow);
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.pcard .pcard-img { aspect-ratio: 4 / 3; border-radius: 0; }
.pcard .pcard-flag { position: absolute; top: 10px; left: 10px; }
.pcard .pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pcard .pcard-range { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-faint); }
.pcard h3 { font-size: 15.5px; line-height: 1.35; }
.pcard h3 a:hover { color: var(--lb-terracotta); }
.pcard .pcard-desc { font-size: 13.5px; color: var(--lb-gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.pcard .price { font-size: 16px; }
.pcard .add {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  border: none;
  background: var(--lb-red-soft);
  color: var(--lb-red);
  font-size: 22px;
  display: grid; place-items: center;
  transition: all .15s ease;
}
.pcard .add:hover { background: var(--lb-red); color: #fff; box-shadow: 0 4px 14px var(--lb-glow); }

/* ============================================================
   SECTION HEADING
   ============================================================ */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-head h2 { font-size: 21px; }
@media (min-width: 760px) { .sec-head h2 { font-size: 26px; } }
.sec-head .more { font-size: 14px; color: var(--lb-terracotta); font-weight: 600; white-space: nowrap; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--lb-faint); padding: 14px 0; }
.crumbs a:hover { color: var(--lb-terracotta); }
.crumbs .sep { opacity: .6; }
.crumbs .here { color: var(--lb-gray); font-weight: 500; }

/* ============================================================
   DISCLAIMER / NOTICE
   ============================================================ */
.disclaimer { font-size: 12.5px; color: var(--lb-faint); font-style: italic; line-height: 1.55; }

.notice {
  display: flex;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--lb-wash);
  border: 1px solid var(--lb-line);
  font-size: 13.5px;
  color: var(--lb-gray);
  line-height: 1.55;
}
.notice .n-icon { flex: none; font-size: 16px; }
.notice b { color: var(--lb-ink); }
.notice.notice-red { background: var(--lb-red-soft); border-color: transparent; color: var(--lb-red-dark); }
.notice.notice-red b { color: var(--lb-red); }

/* ============================================================
   HEADER  (header.php)
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lb-line);
}
.site-head .wrap { display: flex; align-items: center; gap: 14px; min-height: 62px; }

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo .logo-mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 13px;
  background: var(--lb-red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  display: grid; place-items: center;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px var(--lb-glow);
}
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo .logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: var(--lb-ink); }
.logo .logo-tag { font-size: 10.5px; color: var(--lb-faint); letter-spacing: .02em; }

.nav-main { display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .nav-main { display: flex; } }
.nav-main a {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--lb-gray);
  transition: all .12s ease;
}
.nav-main a:hover { color: var(--lb-ink); background: var(--lb-wash); }
.nav-main a.is-here { color: var(--lb-warm-dark); font-weight: 600; background: var(--lb-cream); }

.head-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 13px;
  border: 1.5px solid var(--lb-line);
  background: var(--lb-bg);
  font-size: 18px;
  display: grid; place-items: center;
  transition: all .15s ease;
}
.icon-btn:hover { border-color: var(--lb-faint); }
.icon-btn .count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--lb-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
}
.head-hotline { display: none; flex-direction: column; align-items: flex-end; line-height: 1.2; margin-left: 6px; }
@media (min-width: 1080px) { .head-hotline { display: flex; } }
.head-hotline .hh-label { font-size: 10.5px; color: var(--lb-faint); }
.head-hotline .hh-num { font-size: 15px; font-weight: 700; color: var(--lb-red); }

.menu-btn { display: grid; }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Mobile drawer */
.drawer-veil {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(26,21,22,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
  width: min(320px, 85vw);
  background: var(--lb-bg);
  box-shadow: var(--shadow-pop);
  transform: translateX(105%);
  transition: transform .25s ease;
  display: flex; flex-direction: column;
  padding: 18px;
}
body.drawer-open .drawer-veil { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; }
.drawer .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a { padding: 13px 12px; border-radius: 12px; font-size: 15.5px; font-weight: 500; }
.drawer nav a:hover { background: var(--lb-wash); }
.drawer nav a.is-here { color: var(--lb-warm-dark); background: var(--lb-cream); font-weight: 600; }
.drawer .d-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--lb-gray); }

/* ============================================================
   STICKY MINI-CART  (cart/mini-cart.php)
   ============================================================ */
.minicart {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border-radius: 18px;
  background: var(--lb-ink);
  color: #fff;
  box-shadow: 0 12px 36px rgba(26,21,22,.35);
  transform: translateY(140%);
  transition: transform .3s cubic-bezier(.3,1.2,.4,1);
}
.minicart.is-up { transform: none; }
.minicart .mc-info { flex: 1; line-height: 1.3; }
.minicart .mc-n { font-size: 12.5px; opacity: .75; }
.minicart .mc-total { font-size: 16px; font-weight: 700; }
.minicart .btn { min-height: 44px; }

/* ============================================================
   FOOTER  (footer.php)
   ============================================================ */
.site-foot { margin-top: 56px; background: var(--lb-bg); border-top: 1px solid var(--lb-line); }
.site-foot .f-grid { display: grid; gap: 28px; padding: 36px 0 28px; }
@media (min-width: 760px) { .site-foot .f-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; } }
.site-foot h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lb-faint); margin: 0 0 12px; }
.site-foot .f-brand p { font-size: 13.5px; color: var(--lb-gray); max-width: 340px; margin-top: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-foot ul a, .site-foot ul li { font-size: 13.5px; color: var(--lb-gray); }
.site-foot ul a:hover { color: var(--lb-terracotta); }
.site-foot ul b { color: var(--lb-ink); font-weight: 600; }
.site-foot .f-bottom { border-top: 1px solid var(--lb-line); padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12px; color: var(--lb-faint); }

/* ============================================================
   PAGE TITLE BLOCK
   ============================================================ */
.page-head { padding: 26px 0 6px; }
.page-head h1 { font-size: 26px; }
@media (min-width: 760px) { .page-head h1 { font-size: 34px; } }
.page-head .ph-sub { margin-top: 8px; font-size: 14.5px; color: var(--lb-gray); max-width: 560px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0 6px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; background: var(--lb-bg); border: 1.5px solid var(--lb-line); color: var(--lb-gray); }
.pagination a:hover { border-color: var(--lb-faint); color: var(--lb-ink); }
.pagination .now, .pagination .current { background: var(--lb-warm-dark); border-color: var(--lb-warm-dark); color: #fff; }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 80; transform: translate(-50%, 20px); background: var(--lb-ink); color: #fff; font-size: 14px; font-weight: 500; padding: 11px 18px; border-radius: 12px; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: all .25s ease; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   HERO  (front-page.php)
   ============================================================ */
.hero { padding: 26px 0 8px; }
.hero-card { position: relative; display: grid; gap: 0; border-radius: var(--radius-lg); background: var(--lb-bg); box-shadow: var(--shadow-card); overflow: hidden; }
@media (min-width: 860px) { .hero-card { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { padding: 28px 22px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 860px) { .hero-copy { padding: 44px 40px; justify-content: center; } }
.hero-copy .hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-terracotta); }
.hero-copy h1 { font-size: 28px; }
@media (min-width: 860px) { .hero-copy h1 { font-size: 38px; } }
.hero-copy .hero-sub { font-size: 15px; color: var(--lb-gray); max-width: 420px; }
.hero-copy .hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-img { min-height: 220px; }
@media (min-width: 860px) { .hero-img { min-height: 340px; } }
.hero-img .ph { width: 100%; height: 100%; border-radius: 0; }

.status-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 4px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--lb-bg); border: 1px solid var(--lb-line); font-size: 13px; font-weight: 500; color: var(--lb-gray); }
.status-pill b { color: var(--lb-ink); font-weight: 600; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E68; box-shadow: 0 0 0 3px rgba(46,158,104,.18); }
.status-pill .dot.is-closed { background: var(--lb-faint); box-shadow: 0 0 0 3px rgba(154,150,152,.18); }

/* Persona filter */
.persona-block { padding: 20px 0 4px; }
.persona-label { font-size: 13px; font-weight: 600; color: var(--lb-gray); margin-bottom: 10px; }
.persona-row { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.persona-row::-webkit-scrollbar { display: none; }

/* Category tabs */
.cat-tabs { display: flex; gap: 22px; border-bottom: 1.5px solid var(--lb-line); margin: 18px 0; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { padding: 11px 2px 12px; font-size: 15px; font-weight: 600; color: var(--lb-faint); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap; background: none; border-top: none; border-left: none; border-right: none; }
.cat-tab:hover { color: var(--lb-gray); }
.cat-tab.is-on { color: var(--lb-warm-dark); border-bottom-color: var(--lb-warm-dark); }
.cat-tab .tab-sub { display: block; font-size: 11px; font-weight: 400; color: var(--lb-faint); }

/* ============================================================
   TAXONOMY BANNER  (taxonomy-product_cat.php)
   ============================================================ */
.tax-banner { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--lb-warm-dark); color: #fff; }
@media (min-width: 800px) { .tax-banner { grid-template-columns: 1.2fr 1fr; } }
.tax-banner .tb-copy { padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
@media (min-width: 800px) { .tax-banner .tb-copy { padding: 38px 36px; justify-content: center; } }
.tax-banner h1 { font-size: 26px; color: #fff; }
@media (min-width: 800px) { .tax-banner h1 { font-size: 32px; } }
.tax-banner .tb-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.tax-banner p { font-size: 14px; opacity: .8; max-width: 420px; }
.tax-banner .ph { border-radius: 0; min-height: 180px; }

/* ============================================================
   SINGLE PRODUCT  (single-product.php)
   ============================================================ */
.product-layout { display: grid; gap: 22px; padding-bottom: 10px; }
@media (min-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 460px; gap: 34px; align-items: start; }
  .product-gallery { position: sticky; top: 86px; }
}
.product-gallery .ph { border-radius: var(--radius-lg); }
.product-gallery .g-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product-gallery .g-thumbs .ph { border-radius: var(--radius-sm); cursor: pointer; border: 2px solid transparent; }
.product-gallery .g-thumbs .ph.is-on { border-color: var(--lb-warm-dark); }
.product-gallery .g-thumbs .gt-video { position: relative; }
.product-gallery .g-thumbs .gt-video::after {
  content: '';
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='m7 4 13 8-13 8Z'/%3E%3C/svg%3E") center/17px 17px no-repeat,
    rgba(26,21,22,.35);
  border-radius: inherit;
}
.product-gallery [data-main-media] iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Form chuẩn WooCommerce — sản phẩm có biến thể (variable) */
.wc-native-cart form.cart { display: flex; flex-direction: column; gap: 14px; }
.wc-native-cart table.variations { width: 100%; border-collapse: collapse; }
.wc-native-cart table.variations td, .wc-native-cart table.variations th { padding: 5px 0; text-align: left; }
.wc-native-cart table.variations label { font-weight: 600; font-size: 14.5px; }
.wc-native-cart select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: 12px; border: 1.5px solid var(--lb-line); background: var(--lb-bg);
  font-size: 15px;
}
.wc-native-cart .reset_variations { font-size: 13px; color: var(--lb-gray); text-decoration: underline; }
.wc-native-cart .woocommerce-variation-price .price { font-size: 22px; }
.wc-native-cart .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 14px; border: none;
  font-size: 15.5px; font-weight: 600; background: var(--lb-red); color: #fff;
  box-shadow: 0 4px 14px var(--lb-glow);
  transition: background var(--t-fast) var(--ease-slow);
}
.wc-native-cart .single_add_to_cart_button:hover { background: var(--lb-red-dark); }
.wc-native-cart .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.wc-native-cart .quantity input[type="number"] {
  width: 76px; min-height: 48px; padding: 10px;
  border-radius: 12px; border: 1.5px solid var(--lb-line); text-align: center; font-weight: 600;
}

/* Rating + đã bán (dưới tiêu đề sản phẩm) */
.p-rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--lb-gray); }
.p-rating .stars { color: #E8A33D; font-size: 15px; letter-spacing: 1px; }
.p-rating a { color: var(--lb-gray); text-decoration: underline; text-underline-offset: 3px; }
.p-rating .sold { color: var(--lb-faint); }

/* Trust row (dưới buybar) — panel cam kết nổi bật */
.trust-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #FFF9F0;
  border: 1px solid #F2E2C8;
  border-radius: var(--radius);
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lb-ink);
}
.trust-row span { display: inline-flex; align-items: center; gap: 9px; }

/* Reviews */
.reviews-sec { margin-top: 44px; }
.review-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--lb-bg); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.review-card .rv-stars { color: #E8A33D; font-size: 14px; letter-spacing: 1px; }
.review-card .rv-text { font-size: 13.5px; color: var(--lb-gray); line-height: 1.65; flex: 1; }
.review-card .rv-who { font-size: 12.5px; font-weight: 600; color: var(--lb-ink); }
.review-card .rv-who small { font-weight: 400; color: var(--lb-faint); }
.review-form { margin-top: 18px; background: var(--lb-wash); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.review-form .rf-stars { display: flex; gap: 4px; align-items: center; }
.review-form .rf-stars label { cursor: pointer; font-size: 22px; color: #D8D4D2; transition: color .15s; }
.review-form .rf-stars input { position: absolute; opacity: 0; pointer-events: none; }
.review-form .rf-stars label.lit { color: #E8A33D; }

.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-info form.cart { display: flex; flex-direction: column; gap: 18px; }
.product-info .p-range { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lb-faint); }
.product-info h1 { font-size: 25px; }
@media (min-width: 900px) { .product-info h1 { font-size: 30px; } }
.product-info .p-lead { font-size: 14px; color: var(--lb-gray); line-height: 1.6; }
.product-info .p-lead p { margin: 0 0 6px; }
.product-info .p-lead p:last-child { margin-bottom: 0; }
.product-info .p-lead ul, .product-info .p-lead ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.product-info .p-lead li { margin: 0; }
.product-info .p-price-row { display: flex; align-items: baseline; gap: 10px; }
.product-info .p-price-row .price { font-size: 26px; }
.product-info .p-price-row .p-unit { font-size: 13px; color: var(--lb-faint); }

.opt-group { display: flex; flex-direction: column; gap: 9px; }
.opt-group .og-head { display: flex; align-items: baseline; justify-content: space-between; }
.opt-group .og-title { font-size: 14.5px; font-weight: 700; }
.opt-group .og-req { font-size: 11.5px; font-weight: 600; color: var(--lb-red); background: var(--lb-red-soft); padding: 2px 9px; border-radius: 999px; }
.opt-group .og-opt { font-size: 11.5px; color: var(--lb-faint); }

/* Thư tay panel */
.letter-panel { border-radius: var(--radius); border: 1.5px dashed var(--lb-red); background: var(--lb-red-soft); padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.letter-panel .lp-head { display: flex; align-items: center; gap: 12px; }
.letter-panel .lp-head .lp-icon { font-size: 22px; }
.letter-panel .lp-head .lp-body { flex: 1; }
.letter-panel .lp-title { font-weight: 700; font-size: 14.5px; color: var(--lb-red-dark); }
.letter-panel .lp-sub { font-size: 12.5px; color: var(--lb-gray); }
.letter-panel .lp-fields { display: flex; flex-direction: column; gap: 10px; }
.letter-panel .input, .letter-panel .textarea { border-color: rgba(194,38,41,.25); background: #fff; }

/* Khối "Gửi đến người thương" trên checkout — panel thoáng, đồng bộ với letter-panel */
.gift-block {
  display: flex; flex-direction: column; gap: 16px;
  border: 1.5px dashed var(--lb-red);
  background: var(--lb-red-soft);
  border-radius: var(--radius);
  padding: 16px;
}
.gift-block .input, .gift-block .textarea { border-color: rgba(194,38,41,.25); background: #fff; }
.gift-block .textarea { min-height: 96px; }

/* Buy bar */
.buybar { display: flex; gap: 12px; align-items: center; }
.buybar .btn { flex: 1; }
.buybar-sticky { position: sticky; bottom: 0; background: linear-gradient(to top, var(--lb-page) 70%, transparent); padding: 12px 0 16px; margin-top: 4px; }

/* Mô tả dài + accordion */
.p-desc { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--lb-line); margin-top: 6px; }
.p-desc details { border-bottom: 1px solid var(--lb-line); }
.p-desc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.p-desc summary::-webkit-details-marker { display: none; }
.p-desc summary .chev { color: var(--lb-faint); transition: transform .2s ease; font-size: 13px; }
.p-desc details[open] summary .chev { transform: rotate(180deg); }
.p-desc .d-body { padding: 0 2px 16px; font-size: 14px; color: var(--lb-gray); line-height: 1.7; }
.p-desc .d-body p { margin: 0 0 12px; }
.p-desc .d-body p:last-child { margin-bottom: 0; }
.p-desc .d-body img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); margin: 14px 0; }
.p-desc .d-body h2, .p-desc .d-body h3, .p-desc .d-body h4 { margin: 18px 0 8px; color: var(--lb-ink); }
.p-desc .d-body ul, .p-desc .d-body ol { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.p-desc .d-body table { margin: 12px 0; }
.p-desc .d-body b { color: var(--lb-ink); }

/* ============================================================
   CART  (cart/cart.php)
   ============================================================ */
.cart-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 920px) { .cart-layout { grid-template-columns: minmax(360px, 1fr) minmax(300px, 380px); gap: 28px; } }

.cart-item { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
.cart-item + .cart-item { border-top: 1px solid var(--lb-line); }
.cart-item .ci-img { width: 86px; height: 86px; border-radius: var(--radius-sm); }
.cart-item .ci-img .ph-icon { font-size: 26px; }
.cart-item .ci-body { display: flex; flex-direction: column; gap: 4px; }
.cart-item .ci-name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.cart-item .ci-opts { font-size: 12.5px; color: var(--lb-gray); }
.cart-item .ci-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.cart-item .ci-remove { background: none; border: none; font-size: 12.5px; color: var(--lb-faint); padding: 6px 0; }
.cart-item .ci-remove:hover { color: var(--lb-red); text-decoration: underline; }

.totals-table { display: flex; flex-direction: column; gap: 11px; }
.totals-table .tr { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.totals-table .tr .tl { color: var(--lb-gray); }
.totals-table .tr.big { font-size: 17px; font-weight: 700; padding-top: 11px; border-top: 1px solid var(--lb-line); }
.totals-table .tr.big .tl { color: var(--lb-ink); }

.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-height: 46px; }

/* ============================================================
   CHECKOUT  (checkout/form-checkout.php)
   ============================================================ */
.co-layout { display: grid; gap: 18px; align-items: start; }
/* Khối notice lỗi do JS WooCommerce chèn vào trong form — cho chiếm trọn hàng, không phá lưới 2 cột */
.co-layout > .woocommerce-NoticeGroup,
.co-layout > .woocommerce-notices-wrapper,
.co-layout > .woocommerce-error,
.co-layout > .woocommerce-message,
.co-layout > .woocommerce-info { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) { .co-layout { grid-template-columns: minmax(360px, 1fr) minmax(300px, 400px); gap: 30px; } }
.co-section { display: flex; flex-direction: column; gap: 14px; }
.co-section .cs-head { display: flex; align-items: center; gap: 10px; }
.co-section .cs-num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--lb-ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.co-section .cs-title { font-size: 16.5px; font-weight: 700; font-family: var(--font-heading); }
.form-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }

.gift-toggle { display: flex; align-items: center; gap: 12px; padding: 14px 15px; border-radius: var(--radius); background: var(--lb-bg); border: 1.5px solid var(--lb-line); cursor: pointer; }
.gift-toggle .gt-icon { font-size: 20px; }
.gift-toggle .gt-body { flex: 1; }
.gift-toggle .gt-title { font-weight: 700; font-size: 14.5px; }
.gift-toggle .gt-sub { font-size: 12.5px; color: var(--lb-gray); }

.eta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-radius: var(--radius); background: var(--lb-wash); border: 1px solid var(--lb-line); font-size: 14px; }
.eta-row b { font-weight: 700; }

.review-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 9px 0; }
.review-item .ri-name { color: var(--lb-ink); }
.review-item .ri-name small { display: block; color: var(--lb-faint); font-size: 12px; }
.review-item + .review-item { border-top: 1px dashed var(--lb-line); }

/* ============================================================
   THANK YOU  (checkout/thankyou.php)
   ============================================================ */
.ty-wrap { max-width: 620px; margin: 0 auto; padding: 34px 16px 10px; display: flex; flex-direction: column; gap: 16px; }
.ty-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0 4px; }
.ty-tick { width: 74px; height: 74px; border-radius: 50%; background: #226E51; color: #fff; font-size: 34px; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(34,110,81,.25); }
.ty-hero h1 { font-size: 26px; }
.ty-hero .ty-code { font-size: 14px; color: var(--lb-gray); }
.ty-hero .ty-code b { color: var(--lb-warm-dark); font-size: 16px; letter-spacing: .03em; }

/* ============================================================
   ORDER TRACKING
   ============================================================ */
.track-steps { display: flex; flex-direction: column; gap: 0; }
.track-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
.track-step .ts-rail { display: flex; flex-direction: column; align-items: center; }
.track-step .ts-dot { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--lb-wash); border: 2px solid var(--lb-line); color: var(--lb-faint); font-size: 13px; display: grid; place-items: center; }
.track-step .ts-line { width: 2px; flex: 1; background: var(--lb-line); min-height: 26px; }
.track-step:last-child .ts-line { display: none; }
.track-step .ts-body { padding-bottom: 22px; }
.track-step .ts-title { font-weight: 600; font-size: 15px; color: var(--lb-faint); }
.track-step .ts-sub { font-size: 12.5px; color: var(--lb-faint); }
.track-step.done .ts-dot { background: #226E51; border-color: #226E51; color: #fff; }
.track-step.done .ts-line { background: #226E51; }
.track-step.done .ts-title { color: var(--lb-ink); }
.track-step.done .ts-sub { color: var(--lb-gray); }
.track-step.now .ts-dot { background: var(--lb-bg); border-color: var(--lb-warm-dark); color: var(--lb-warm-dark); box-shadow: 0 0 0 5px var(--lb-cream); }
.track-step.now .ts-title { color: var(--lb-warm-dark); }
.track-step.now .ts-sub { color: var(--lb-gray); }

/* ============================================================
   SEARCH  (search.php)
   ============================================================ */
.search-hero { padding: 30px 0 8px; max-width: 640px; }
.search-hero h1 { font-size: 26px; margin-bottom: 14px; }
.searchform { display: flex; gap: 9px; }
.searchform .input { flex: 1; }

/* Empty state */
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .e-icon { font-size: 42px; }
.empty h2 { font-size: 20px; }
.empty p { font-size: 14px; color: var(--lb-gray); max-width: 380px; }

/* ============================================================
   BLOG  (index.php / archive.php)
   ============================================================ */
.post-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1020px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { display: flex; flex-direction: column; background: var(--lb-bg); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; transition: transform var(--t-fast) var(--ease-slow), box-shadow var(--t-fast) var(--ease-slow); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.post-card .ph { aspect-ratio: 16 / 9; border-radius: 0; }
.post-card .pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .pc-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--lb-faint); }
.post-card h3 { font-size: 17px; line-height: 1.35; }
.post-card h3 a:hover { color: var(--lb-terracotta); }
.post-card .pc-excerpt { font-size: 13.5px; color: var(--lb-gray); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.post-feature { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .post-feature { display: grid; grid-template-columns: 1.2fr 1fr; }
  .post-feature .ph { aspect-ratio: auto; height: 100%; min-height: 260px; }
  .post-feature .pc-body { padding: 26px 28px; justify-content: center; }
  .post-feature h3 { font-size: 23px; }
}

/* ============================================================
   PROSE  (single.php / page.php)
   ============================================================ */
.prose-wrap { max-width: 720px; margin: 0 auto; }

/* ---------- Blog → funnel CTA ---------- */
.post-cta {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--lb-red-soft);
  border-left: 4px solid var(--lb-red);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 24px 0;
  font-size: 14px; line-height: 1.6; color: var(--lb-ink);
}
.post-cta .pc-icon { font-size: 20px; line-height: 1.3; }
.post-cta a { color: var(--lb-red); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

.post-shop {
  margin-top: 36px;
  background: var(--lb-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (min-width: 700px) { .post-shop { padding: 32px 30px; } }
.post-shop h2 { font-size: clamp(20px, 2.6vw, 25px); }
.post-shop .ps-sub { font-size: 14px; color: var(--lb-gray); max-width: 520px; }
.post-shop .ps-grid { margin-top: 8px; }
@media (min-width: 1020px) { .post-shop .ps-grid { grid-template-columns: repeat(3, 1fr); } }
.post-shop .ps-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.prose-head { padding: 30px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.prose-head h1 { font-size: 28px; }
@media (min-width: 760px) { .prose-head h1 { font-size: 36px; } }
.prose-head .pm { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--lb-faint); }
.prose-head .pm .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--lb-cream); color: var(--lb-terracotta); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.prose { font-size: 16px; line-height: 1.85; color: #38302F; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 22px; margin-top: 1.7em; }
.prose h3 { font-size: 18px; margin-top: 1.5em; }
.prose .lead { font-size: 18px; color: var(--lb-gray); font-family: var(--font-heading); line-height: 1.7; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lb-terracotta); font-family: var(--font-heading); font-size: 17.5px; color: var(--lb-ink); font-style: italic; }
.prose figure { margin: 1.6em 0; }
.prose figure .ph { border-radius: var(--radius); }
.prose figcaption { font-size: 12.5px; color: var(--lb-faint); text-align: center; margin-top: 8px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

/* ============================================================
   COMMENTS  (comments.php)
   ============================================================ */
.comments { max-width: 720px; margin: 40px auto 0; }
.comments h2 { font-size: 20px; margin-bottom: 18px; }
.comment { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 13px; padding: 16px 0; }
.comment + .comment { border-top: 1px solid var(--lb-line); }
.comment .c-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--lb-wash); border: 1px solid var(--lb-line); color: var(--lb-gray); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.comment .c-name { font-weight: 600; font-size: 14px; }
.comment .c-date { font-size: 12px; color: var(--lb-faint); }
.comment .c-text { font-size: 14px; color: var(--lb-gray); margin-top: 5px; line-height: 1.65; }
.comment .c-reply { font-size: 12.5px; font-weight: 600; color: var(--lb-terracotta); margin-top: 7px; display: inline-block; }
.comment.is-child { margin-left: 52px; }

/* ============================================================
   404  (404.php)
   ============================================================ */
.err-wrap { min-height: 56vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 50px 16px; }
.err-wrap .e-bowl { font-size: 56px; }
.err-wrap .e-code { font-family: var(--font-heading); font-size: 64px; font-weight: 700; color: var(--lb-warm-dark); line-height: 1; }
.err-wrap h1 { font-size: 24px; }
.err-wrap p { font-size: 14.5px; color: var(--lb-gray); max-width: 420px; }
.err-wrap .e-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ============================================================
   MY ACCOUNT  (myaccount/)
   ============================================================ */
.acc-layout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 860px) { .acc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 26px; } }
.acc-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.acc-nav::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .acc-nav { flex-direction: column; gap: 3px; } }
.acc-nav a { padding: 11px 15px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--lb-gray); white-space: nowrap; background: var(--lb-bg); border: 1px solid var(--lb-line); }
@media (min-width: 860px) { .acc-nav a { background: none; border: none; } }
.acc-nav a:hover { color: var(--lb-ink); background: var(--lb-wash); }
.acc-nav a.is-here { color: var(--lb-warm-dark); background: var(--lb-cream); border-color: transparent; font-weight: 600; }

.order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 0; }
.order-row + .order-row { border-top: 1px solid var(--lb-line); }
.order-row .or-code { font-weight: 700; font-size: 15px; }
.order-row .or-meta { font-size: 12.5px; color: var(--lb-gray); }
.order-row .or-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.order-row .price { font-size: 15px; }

.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-tag.st-cooking    { background: #FDF3E4; color: #A36A1B; }
.status-tag.st-delivering { background: #E8F0FA; color: #2A5B9E; }
.status-tag.st-done       { background: #E8F4EE; color: #226E51; }
.status-tag.st-new        { background: var(--lb-red-soft); color: var(--lb-red); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .contact-grid section:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-notices-wrapper { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 14px;
  padding: 13px 16px;
  margin: 14px 0;
  font-size: 14px;
  list-style: none;
}
.woocommerce-message { background: #E8F4EE; border-left: 4px solid #226E51; color: #1A4A34; }
.woocommerce-error { background: var(--lb-red-soft); border-left: 4px solid var(--lb-red); color: var(--lb-red-dark); }
.woocommerce-info { background: var(--lb-wash); border-left: 4px solid var(--lb-faint); color: var(--lb-gray); }
/* ============================================================
   LẠC BỬU — home.css
   Layout cho trang chủ thương hiệu (front-page.php bản branding)
   Phễu: HIỂU → YÊU → MUA
   ============================================================ */

/* ---------- Hero ---------- */
.bh-hero { padding: 26px 0 0; }
.bh-hero-card {
  position: relative;
  display: grid;
  border-radius: var(--radius-lg);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 880px) { .bh-hero-card { grid-template-columns: 1.08fr 1fr; } }
.bh-hero-copy {
  padding: 30px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 880px) { .bh-hero-copy { padding: 52px 46px; justify-content: center; } }
.bh-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lb-terracotta);
}
.bh-hero-copy h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.18; }
.bh-hero-copy .bh-hero-sub { font-size: 15.5px; color: var(--lb-gray); max-width: 460px; }
.bh-hero-img { min-height: 240px; }
@media (min-width: 880px) { .bh-hero-img { min-height: 420px; } }
.bh-hero-img .ph { width: 100%; height: 100%; border-radius: 0; }

/* 3 lựa chọn "mua cho ai" — visible trong 5 giây đầu */
.bh-who {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
@media (min-width: 760px) { .bh-who { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.who-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-fast) var(--ease-slow), box-shadow var(--t-fast) var(--ease-slow);
}
.who-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.who-card .wc-icon { font-size: 26px; }
.who-card .wc-title { font-family: var(--font-heading); font-weight: 600; font-size: 18px; margin-top: 4px; }
.who-card .wc-sub { font-size: 13px; color: var(--lb-gray); }
.who-card .wc-go {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lb-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.who-card:hover .wc-go { text-decoration: underline; }

/* ---------- Section heading chung ---------- */
.bh-sec { padding: 52px 0 0; }
.bh-sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 0 auto 26px;
  max-width: 640px;
}
.bh-sec-head h2 { font-size: clamp(24px, 3vw, 32px); }
.bh-sec-head .sh-sub { font-size: 14.5px; color: var(--lb-gray); }

/* ---------- Ý nghĩa tên Bửu - Lạc ---------- */
.name-grid {
  display: grid;
  border-radius: var(--radius-lg);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 700px) { .name-grid { grid-template-columns: 1fr 1fr; } }
.name-cell { padding: 30px 26px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 700px) { .name-cell { padding: 38px 36px; } }
.name-cell + .name-cell { border-top: 1px solid var(--lb-line); }
@media (min-width: 700px) { .name-cell + .name-cell { border-top: none; border-left: 1px solid var(--lb-line); } }
.name-cell .nc-char {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--lb-red);
}
.name-cell .nc-word { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lb-faint); }
.name-cell .nc-mean { font-size: 14.5px; color: var(--lb-gray); }

/* Lời hứa lớn (Master PoD) */
.bh-claim {
  margin: 30px auto 0;
  max-width: 720px;
  text-align: center;
  padding: 0 10px;
}
.bh-claim .claim-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.5;
  color: var(--lb-ink);
}
.bh-claim .claim-text b { color: var(--lb-red); font-weight: 600; }
.bh-claim .claim-by { margin-top: 12px; font-size: 13px; color: var(--lb-faint); }

/* ---------- 4 bằng chứng ---------- */
.proof-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .proof-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.proof {
  background: var(--lb-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof .pf-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--lb-cream);
  color: var(--lb-terracotta);
  font-size: 21px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.proof h3 { font-size: 16.5px; }
.proof p { font-size: 13.5px; color: var(--lb-gray); }

/* ---------- Timeline nấu chậm (band tối) ---------- */
.slow-card {
  border-radius: var(--radius-lg);
  background: var(--lb-warm-dark);
  color: #fff;
  padding: 34px 24px;
  overflow: hidden;
}
@media (min-width: 880px) { .slow-card { padding: 48px 46px; } }
.slow-card .sc-head { max-width: 540px; display: flex; flex-direction: column; gap: 10px; }
.slow-card .sc-head .bh-eyebrow { color: #E89A9B; }
.slow-card h2 { color: #fff; font-size: clamp(23px, 3vw, 30px); }
.slow-card .sc-sub { font-size: 14px; opacity: .75; }
.slow-steps { display: grid; gap: 22px; margin-top: 30px; }
@media (min-width: 880px) { .slow-steps { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.slow-step { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 14px; }
@media (min-width: 880px) { .slow-step { display: flex; flex-direction: column; gap: 12px; } }
.slow-step .ss-rail { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 880px) { .slow-step .ss-rail { flex-direction: row; align-items: center; width: 100%; } }
.slow-step .ss-dot {
  width: 12px; height: 12px; flex: none;
  border-radius: 50%;
  background: var(--lb-red);
  box-shadow: 0 0 0 4px rgba(194,38,41,.25);
}
.slow-step .ss-line { flex: 1; width: 2px; min-height: 18px; background: rgba(255,255,255,.16); margin-top: 6px; }
@media (min-width: 880px) { .slow-step .ss-line { width: auto; height: 2px; min-height: 0; margin: 0 0 0 10px; } }
.slow-step:last-child .ss-line { display: none; }
.slow-step .ss-time {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  line-height: 1.2;
}
.slow-step .ss-time small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 3px; }
.slow-step .ss-desc { font-size: 13px; opacity: .75; line-height: 1.6; margin-top: 6px; }

/* ---------- Câu chuyện founder ---------- */
.story-grid {
  display: grid;
  border-radius: var(--radius-lg);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 880px) { .story-grid { grid-template-columns: 1fr 1.15fr; } }
.story-img { min-height: 240px; }
@media (min-width: 880px) { .story-img { min-height: 100%; } }
.story-img .ph { width: 100%; height: 100%; border-radius: 0; }
.story-copy {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (min-width: 880px) { .story-copy { padding: 46px 44px; justify-content: center; } }
.story-copy h2 { font-size: clamp(22px, 2.8vw, 29px); }
.story-copy p { font-size: 14.5px; color: var(--lb-gray); line-height: 1.75; }
.story-copy blockquote {
  margin: 4px 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--lb-terracotta);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--lb-ink);
}

/* ---------- Lá thư tay ---------- */
.letter-stage {
  display: grid;
  gap: 18px;
  align-items: center;
}
@media (min-width: 880px) { .letter-stage { grid-template-columns: 1.1fr 1fr; gap: 36px; } }
.letter-paper {
  position: relative;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(194,38,41,.45);
  background: var(--lb-red-soft);
  padding: 30px 26px 26px;
  transform: rotate(-1deg);
}
@media (min-width: 880px) { .letter-paper { padding: 40px 38px 34px; } }
.letter-paper .lt-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  color: var(--lb-ink);
}
.letter-paper .lt-sign {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: var(--lb-red-dark);
  text-align: right;
}
.letter-paper .lt-stamp {
  position: absolute;
  top: -12px; right: 18px;
  background: var(--lb-red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px var(--lb-glow);
  transform: rotate(2deg);
}
.letter-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.letter-side h2 { font-size: clamp(22px, 2.8vw, 29px); }
.letter-side p { font-size: 14.5px; color: var(--lb-gray); line-height: 1.75; }
.letter-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.letter-side ul li { font-size: 14px; color: var(--lb-gray); display: flex; gap: 9px; align-items: baseline; }
.letter-side ul li::before { content: "—"; color: var(--lb-terracotta); font-weight: 700; flex: none; }

/* ---------- Lời kể của khách ---------- */
.quote-grid { display: grid; gap: 14px; }
@media (min-width: 880px) { .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.q-card {
  background: var(--lb-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.q-card .q-mark {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: .6;
  color: var(--lb-terracotta);
  height: 16px;
}
.q-card .q-text { font-size: 14.5px; line-height: 1.75; color: var(--lb-ink); flex: 1; }
.q-card .q-who { font-size: 12.5px; color: var(--lb-faint); }
.q-card .q-who b { color: var(--lb-gray); font-weight: 600; }

/* ---------- 3 dòng sản phẩm ---------- */
.range-grid { display: grid; gap: 14px; }
@media (min-width: 880px) { .range-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.range-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-fast) var(--ease-slow), box-shadow var(--t-fast) var(--ease-slow);
}
.range-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.range-card .rc-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-faint); }
.range-card h3 { font-size: 20px; }
.range-card .rc-tagline { font-family: var(--font-heading); font-style: italic; font-size: 14.5px; color: var(--lb-terracotta); }
.range-card .rc-desc { font-size: 13.5px; color: var(--lb-gray); flex: 1; }
.range-card .rc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lb-line);
}
.range-card .rc-price { font-size: 13px; font-weight: 600; color: var(--lb-gray); }
.range-card .rc-go { font-size: 13.5px; font-weight: 600; color: var(--lb-terracotta); white-space: nowrap; }
.range-card:hover .rc-go { text-decoration: underline; }
.range-card.is-dark { background: var(--lb-warm-dark); }
.range-card.is-dark h3 { color: #fff; }
.range-card.is-dark .rc-kicker { color: rgba(255,255,255,.45); }
.range-card.is-dark .rc-tagline { color: #E89A9B; }
.range-card.is-dark .rc-desc { color: rgba(255,255,255,.7); }
.range-card.is-dark .rc-foot { border-top-color: rgba(255,255,255,.14); }
.range-card.is-dark .rc-price { color: rgba(255,255,255,.65); }
.range-card.is-dark .rc-go { color: #E89A9B; }

/* ---------- Cách đặt ---------- */
.order-steps { display: grid; gap: 14px; }
@media (min-width: 760px) { .order-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.order-step {
  background: var(--lb-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-step .os-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lb-warm-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.order-step h3 { font-size: 16px; }
.order-step p { font-size: 13.5px; color: var(--lb-gray); }

/* ---------- CTA cuối ---------- */
.bh-cta {
  border-radius: var(--radius-lg);
  background: var(--lb-bg);
  box-shadow: var(--shadow-card);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
@media (min-width: 760px) { .bh-cta { padding: 54px 40px; } }
.bh-cta h2 { font-size: clamp(23px, 3vw, 31px); max-width: 560px; }
.bh-cta p { font-size: 14.5px; color: var(--lb-gray); max-width: 480px; }
.bh-cta .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.bh-cta .cta-hotline { font-size: 13px; color: var(--lb-faint); margin-top: 4px; }
.bh-cta .cta-hotline b { color: var(--lb-red); font-size: 15px; }

/* ============================================================
   CHẤT LIỆU GIẤY — texture grain cho các khối "thư tay"
   ============================================================ */
.letter-panel, .gift-block, .letter-paper {
  background-image: var(--paper-grain);
  background-color: var(--lb-red-soft);
  background-blend-mode: multiply;
}
.site-foot {
  background-image: var(--paper-grain);
  background-blend-mode: multiply;
}

/* ============================================================
   ICON SVG (lb_icon) — kích thước & màu theo token
   ============================================================ */
.lb-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.lb-icon-lg { width: 26px; height: 26px; }
.wc-icon .lb-icon, .pf-icon .lb-icon { width: 24px; height: 24px; }
.empty .e-icon .lb-icon, .err-wrap .e-bowl .lb-icon { width: 48px; height: 48px; color: var(--lb-faint); }
.ph .ph-icon .lb-icon { width: 30px; height: 30px; }

/* ============================================================
   GIẢM CHUYỂN ĐỘNG (prefers-reduced-motion)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
