/* =====================================================================
   Bản Vị Cafe — giao diện chung
   Phong cách: nhãn cà phê cổ điển (khắc nét, khung viền đôi, giấy kem),
   tông nâu – be lấy từ nhãn thương hiệu. Design system tham khảo UI UX Pro Max
   (Nature Distilled + Vintage; palette Bakery/Cafe: warm brown + cream).
   ===================================================================== */

:root {
  --paper: #FBF5EC;
  --paper-2: #F3E7D8;
  --sand: #EADBC9;
  --sand-2: #DFCAB3;
  --tan: #C09C84;
  --caramel: #A8704A;
  --caramel-600: #8E5A37;
  --brown: #6E3B22;
  --espresso: #3A1D12;
  --espresso-900: #2A140B;
  --ink: #2A140B;
  --ink-soft: #6A5144;
  --line: #E1CFBA;
  --line-strong: #CDB399;
  --card: #FFFCF7;
  --ok: #2F6B3A;
  --err: #A1291B;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px -4px rgba(58, 29, 18, .18);
  --shadow: 0 18px 40px -22px rgba(58, 29, 18, .38);
  --shadow-lg: 0 34px 70px -34px rgba(58, 29, 18, .5);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .12 0 0 0 0 .07 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper) var(--grain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brown); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--caramel-600); }
h1, h2, h3, h4 { margin: 0; color: var(--espresso); line-height: 1.22; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--caramel); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--espresso); color: var(--paper); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--espresso); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--paper); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.hp { position: absolute !important; left: -9999px !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 48px 0 88px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--espresso) var(--grain); color: #EADBC9; }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-more { text-align: center; margin-top: 36px; }
.empty-note { text-align: center; color: var(--ink-soft); padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-style: italic; font-weight: 500;
  font-size: 1.05rem; color: var(--caramel-600); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-dark .eyebrow, .is-light .eyebrow { color: #D9B48F; }
.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 60ch; }

.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head--center { text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--left .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }
.section-head.is-light p { color: #D8C4B0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brown); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--bh); padding: 0 24px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: .92rem; }
.btn-lg { --bh: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--espresso); color: var(--paper); border-color: var(--espresso); box-shadow: 0 10px 22px -14px rgba(42, 20, 11, .8); }
.btn-primary:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--espresso); border-color: var(--paper); }
.btn-light:hover { background: #fff; color: var(--espresso); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(251, 245, 236, .55); }
.btn-outline-light:hover { background: rgba(251, 245, 236, .1); color: #fff; border-color: var(--paper); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--espresso-900); color: #E7D3BE; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 36px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); font-weight: 600; }
.topbar-phone:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 245, 236, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 0 -2px var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(58, 29, 18, .45); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--espresso); flex: none; }
.brand:hover { color: var(--espresso); }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 1.85rem; text-transform: uppercase; letter-spacing: .06em; }
.brand-tag { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: .78rem; color: var(--ink-soft); }
.brand-tag::before, .brand-tag::after { content: ""; width: 14px; height: 1px; background: currentColor; }
.brand-logo { max-height: 48px; width: auto; }
.brand--light { color: var(--paper); }
.brand--light:hover { color: var(--paper); }
.brand--light .brand-tag { color: #CDB49A; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a { position: relative; white-space: nowrap; padding: 8px 12px; font-weight: 500; font-size: .95rem; color: var(--ink); border-radius: 8px; }
.main-nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--caramel); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav > a:hover { color: var(--espresso); }
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a.is-active { color: var(--espresso); font-weight: 600; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-hotline { display: flex; align-items: center; gap: 10px; color: var(--espresso); }
.header-hotline small { display: block; font-size: .72rem; color: var(--ink-soft); }
.header-hotline strong { font-size: .98rem; letter-spacing: .01em; white-space: nowrap; }
.hotline-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--espresso); }
.header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--espresso); border: 1.5px solid var(--line-strong); }
.header-cart:hover { border-color: var(--espresso); color: var(--espresso); }
.header-cart .ico { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--caramel); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1; transition: transform .3s var(--ease); }
.cart-count.is-empty { display: none; }
.cart-count.is-bump { transform: scale(1.3); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line-strong); background: transparent; border-radius: 50%; color: var(--espresso); align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 50%; height: 100%; background: radial-gradient(60% 60% at 60% 45%, rgba(192, 156, 132, .35), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.55rem); line-height: 1.08; margin-bottom: 22px; }
.hero-copy h1 em { display: inline; }
.hero-copy .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; border-top: 1px solid var(--line); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 500; color: var(--ink-soft); }
.hero-trust .ico { color: var(--caramel); }
.hero-visual { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.hero-frame {
  position: relative; padding: 12px; background: var(--card);
  border: 1.5px solid var(--espresso); border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.hero-frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--espresso); border-radius: 21px; pointer-events: none; z-index: 1; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center; border-radius: 16px; }
.stamp {
  position: absolute; left: -38px; bottom: 34px; z-index: 2;
  width: 136px; height: 136px; border-radius: 50%;
  background: var(--espresso); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7.5px var(--espresso), var(--shadow);
  transform: rotate(-10deg);
}
.stamp .ico { width: 26px; height: 26px; color: #D9B48F; }
.stamp-top { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1rem; line-height: 1.1; }
.stamp-bot { font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; color: #D9C2A9; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--espresso) var(--grain); color: #E5D2BE; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 22px; border-right: 1px solid rgba(234, 219, 201, .14); }
.trust-item:last-child { border-right: 0; }
.trust-item h3 { color: var(--paper); font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: .88rem; line-height: 1.55; color: #CDB7A2; }
.trust-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid rgba(217, 180, 143, .55); color: #D9B48F; }

/* ---------- Product card ---------- */
.product-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.product-grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.product-grid--2 { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pcard-media { position: relative; display: block; aspect-ratio: 5 / 4; background: var(--sand); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--espresso); color: var(--paper); font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.pcard-cat { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel-600); }
.pcard-title { font-family: var(--font-head); font-weight: 700; font-size: 1.32rem; line-height: 1.25; }
.pcard-title a { color: var(--espresso); }
.pcard-title a:hover { color: var(--brown); }
.pcard-tag { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.size-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.size-opt {
  min-width: 64px; min-height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--espresso); font-weight: 600; font-size: .92rem;
  transition: all .2s var(--ease);
}
.size-opt:hover { border-color: var(--espresso); }
.size-opt[aria-checked="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--paper); }
.size-opt:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pcard-buy { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 12px; }
.pcard-price { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; color: var(--espresso); }
.pcard-price .price-from { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.pcard-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

/* ---------- Compare ---------- */
.compare-card { max-width: 920px; margin: 0 auto; background: var(--card); border: 1.5px solid var(--espresso); border-radius: var(--radius-lg); padding: 8px; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--espresso); border-radius: 16px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .97rem; }
.compare-table thead th { background: var(--espresso); color: var(--paper); font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; border-bottom: 0; }
.compare-table tbody th { width: 22%; font-weight: 600; color: var(--ink-soft); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: var(--paper); }

/* ---------- Brew tabs ---------- */
.tabs { max-width: 1040px; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; gap: 8px; padding: 6px; margin: 0 auto 36px; width: fit-content; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; }
.tab-list button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font-weight: 600; transition: all .2s var(--ease); }
.tab-list button[aria-selected="true"] { background: var(--espresso); color: var(--paper); box-shadow: var(--shadow-sm); }
.brew-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.brew-steps li { position: relative; padding: 26px 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.brew-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -16px; width: 12px; height: 1.5px; background: var(--line-strong); }
.brew-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid var(--espresso); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--espresso); }
.brew-steps h3 { margin-bottom: 6px; }
.brew-steps p { font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }
.brew-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-family: var(--font-head); font-style: italic; color: var(--brown); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.story-frame { margin: 0; position: relative; padding: 10px; border: 1.5px solid #CDA987; border-radius: 22px; }
.story-frame img { width: 100%; border-radius: 14px; aspect-ratio: 746 / 1024; object-fit: cover; }
.section-dark .story-frame { transform: rotate(-1.5deg); }
.story-copy .section-head { margin-bottom: 24px; }
.story-quote { margin: 0 0 30px; padding: 4px 0 4px 22px; border-left: 2px solid #D9B48F; font-family: var(--font-head); font-style: italic; font-size: 1.35rem; color: var(--paper); line-height: 1.5; }

/* ---------- Origin ---------- */
.origin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.origin-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 34px 24px 30px; background: var(--card); border: 1.5px solid var(--espresso); border-radius: 18px; }
.origin-cell::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--espresso); border-radius: 13px; pointer-events: none; opacity: .5; }
.origin-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); color: var(--caramel-600); }
.origin-ico .ico { width: 24px; height: 24px; }
.origin-label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.origin-value { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--espresso); line-height: 1.3; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { margin: 0; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: var(--caramel); }
.stars .ico { fill: currentColor; width: 16px; height: 16px; }
.review-card blockquote { margin: 0; font-family: var(--font-head); font-style: italic; font-size: 1.08rem; line-height: 1.55; color: var(--espresso); flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card figcaption small { display: block; color: var(--ink-soft); }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---------- Partner ---------- */
.partner-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; background: var(--sand) var(--grain); border: 1px solid var(--line-strong); border-radius: 28px; }
.partner-card .section-head { margin-bottom: 26px; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.partner-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.partner-list h3 { margin-bottom: 2px; }
.partner-list p { font-size: .93rem; color: var(--ink-soft); }
.partner-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--espresso); color: var(--paper); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--espresso); margin: 0; line-height: 1.45; }
.faq-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--espresso); transition: transform .25s var(--ease), background .25s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--espresso); color: var(--paper); border-color: var(--espresso); }
.faq-a { padding: 0 22px 20px; color: var(--ink-soft); }
.faq-a p { margin-bottom: .6em; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-ph { display: grid; place-items: center; height: 100%; color: var(--caramel); }
.post-card-ph .ico { width: 40px; height: 40px; }
.post-card-body { padding: 20px 22px 24px; }
.post-card-meta { font-size: .8rem; color: var(--ink-soft); margin-bottom: 8px; }
.post-card-meta span { color: var(--caramel-600); font-weight: 600; }
.post-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; }
.post-card-title a { color: var(--espresso); }
.post-card-title a:hover { color: var(--brown); }
.post-card p { font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 88px 0; background: var(--espresso) var(--grain); color: #E5D2BE; text-align: center; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; left: 24px; right: 24px; height: 1px; background: rgba(217, 180, 143, .35); }
.cta-band::before { top: 18px; } .cta-band::after { bottom: 18px; }
.cta-inner { max-width: 760px; }
.cta-band h2 { color: var(--paper); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); margin-bottom: 14px; }
.cta-band h2 em { color: #D9B48F; }
.cta-band p { color: #D3BFAB; font-size: 1.06rem; margin-bottom: 30px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero & breadcrumb ---------- */
.page-hero { padding: 36px 0 44px; background: var(--paper-2) var(--grain); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.page-hero .lede { margin-top: 12px; }
.page-hero .eyebrow { margin-top: 18px; }
.page-hero--compact { padding: 26px 0 30px; }
.page-hero--compact h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.breadcrumb ol { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--espresso); }
.breadcrumb [aria-current] { color: var(--espresso); font-weight: 500; }

.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: .9rem; font-weight: 500; }
.chip-nav a:hover { border-color: var(--espresso); color: var(--espresso); }
.chip-nav a.is-active { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }

/* ---------- Entry content ---------- */
.entry-content { font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.05em; }
.entry-content h2 { font-size: 1.75rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.22rem; margin-top: 1.5em; font-family: var(--font-head); font-weight: 700; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .35em 0; }
.entry-content li::marker { color: var(--caramel); }
.entry-content a { color: var(--brown); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--caramel-600); text-decoration-color: currentColor; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--caramel); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--espresso); }
.entry-content blockquote p { margin: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .96rem; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--espresso); color: var(--paper); font-weight: 600; border-color: var(--espresso); }
.entry-content tbody tr:nth-child(even) { background: var(--paper); }
.entry-content em { color: var(--ink-soft); }
.entry-guide ol { counter-reset: g; list-style: none; padding: 0; display: grid; gap: 10px; }
.entry-guide ol li { counter-increment: g; position: relative; padding: 14px 18px 14px 62px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.entry-guide ol li::before { content: counter(g); position: absolute; left: 16px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--espresso); color: var(--paper); font-weight: 700; font-size: .9rem; }

/* ---------- Article ---------- */
.article-head { padding: 36px 0 28px; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 6px 0 14px; }
.article-head .eyebrow { margin: 16px 0 6px; }
.article-meta { color: var(--ink-soft); font-size: .9rem; }
.article-cover { margin: 0 auto 36px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-cta { margin: 56px 0 8px; padding: 30px; background: var(--sand) var(--grain); border-radius: var(--radius-lg); border: 1px solid var(--line-strong); }
.article-cta h2 { font-size: 1.5rem; margin-bottom: 8px; }
.article-cta p { color: var(--ink-soft); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1.5px solid var(--espresso); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); position: relative; }
.form-card::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--line-strong); border-radius: 17px; pointer-events: none; }
.form-title { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; margin-bottom: 6px; }
.form-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--espresso); }
.field label small { font-weight: 400; color: var(--ink-soft); }
.req { color: var(--err); }
.field input, .field select, .field textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .search-form input {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus,
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .search-form input:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(168, 112, 74, .22); }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-soft); margin: 4px 0 18px; }
.consent-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--espresso); flex: none; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: .82rem; color: var(--ink-soft); }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .92rem; }
.form-msg.ok { display: block; background: #E8F2E6; color: var(--ok); border: 1px solid #B9D6B4; }
.form-msg.err { display: block; background: #FBEAE6; color: var(--err); border: 1px solid #EBC0B6; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form .btn { --bh: 48px; padding: 0 18px; }
.search-box { margin: 0 auto 28px; display: flex; justify-content: center; }

/* ---------- Two columns (contact / partner) ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-cards { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-cards small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-cards div > a, .contact-cards div > span { font-weight: 600; color: var(--espresso); }
.contact-cards .cc-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--espresso); color: var(--paper); }
.contact-cards .cc-ico .ico { width: 20px; height: 20px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- 404 / thanks ---------- */
.notfound-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--espresso); color: var(--paper); margin-bottom: 22px; }
.notfound-ico .ico { width: 38px; height: 38px; }
.notfound-ico.is-ok { background: var(--ok); }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 12px; }
.notfound .lede { margin: 0 auto 28px; }

/* ---------- Pagination ---------- */
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 0; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); }
.pagination .current { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--espresso-900) var(--grain); color: #CDB7A2; padding: 72px 0 0; }
.footer-ornament { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: var(--caramel); }
.footer-ornament span { width: 60px; height: 1px; background: var(--line-strong); }
.footer-ornament .ico { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; font-size: .93rem; line-height: 1.65; }
.footer-brand .brand { align-items: flex-start; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E9D7C3; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer-links a, .footer-contact a { color: #CDB7A2; }
.footer-links a:hover, .footer-contact a:hover { color: var(--paper); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 4px; color: #D9B48F; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(205, 183, 162, .35); color: #E9D7C3; }
.footer-social a:hover { background: var(--paper); color: var(--espresso); border-color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 24px 28px; border-top: 1px solid rgba(205, 183, 162, .18); font-size: .84rem; }
.footer-credit a { color: #E9D7C3; }

/* ---------- Mobile bar & toast ---------- */
.mobile-bar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--espresso); color: var(--paper); box-shadow: var(--shadow-lg);
  transition: opacity .3s var(--ease), transform .3s var(--ease); font-size: .93rem;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: #9BD3A0; }
.toast a.btn { --bh: 36px; padding: 0 14px; font-size: .86rem; flex: none; }
.toast { width: max-content; max-width: min(560px, calc(100vw - 32px)); }
.toast > span { flex: 1; min-width: 0; line-height: 1.45; }
@media (max-width: 640px) {
  .toast { left: 12px; right: 12px; width: auto; max-width: none; transform: translateY(20px); }
  .toast.is-show { transform: none; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
  .header-hotline { display: none; }
}
@media (max-width: 1180px) {
  .main-nav > a { padding: 8px 8px; font-size: .9rem; }
  .header-inner { gap: 18px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.02rem; border-radius: 0; }
  .main-nav > a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 18px; }
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 420px; }
  .stamp { left: 10px; width: 112px; height: 112px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(234, 219, 201, .14); }
  .product-grid, .post-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--1 { grid-template-columns: minmax(0, 420px); }
  .brew-steps { grid-template-columns: repeat(2, 1fr); }
  .brew-steps li::after { display: none; }
  .story-grid, .two-col, .about-grid, .partner-card { grid-template-columns: 1fr; gap: 40px; }
  .story-visual { max-width: 380px; margin: 0 auto; }
  .partner-card { padding: 36px 28px; }
  .sticky-col, .about-aside { position: static; }
  .about-aside { max-width: 360px; }
  .origin-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--paper); border-top: 1px solid var(--line-strong);
    box-shadow: 0 -10px 30px -18px rgba(58, 29, 18, .45);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; font-size: .74rem; font-weight: 600; color: var(--espresso); }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mb-ico { position: relative; }
  .mb-ico .cart-count { top: -8px; right: -12px; }
  .mobile-bar-cta { background: var(--espresso); color: var(--paper) !important; }
  body { padding-bottom: 62px; }
  .toast { bottom: 80px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .topbar-inner > span { display: none; }
  .brand-word { font-size: 1.55rem; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { gap: 8px 18px; }
  .stamp { width: 96px; height: 96px; left: 12px; bottom: 18px; }
  .stamp-top { font-size: .82rem; }
  .stamp-bot { font-size: .54rem; }
  .trust-item { padding: 20px 14px; gap: 10px; flex-direction: column; }
  .trust-ico { width: 38px; height: 38px; }
  .product-grid, .product-grid--2, .post-grid, .review-grid { grid-template-columns: 1fr; }
  .pcard-actions { grid-template-columns: 1fr 1fr; }
  .compare-table th, .compare-table td { padding: 12px 12px; font-size: .9rem; }
  .compare-table tbody th { width: 30%; font-size: .74rem; }
  .compare-table thead th { font-size: 1rem; }
  .tab-list { width: 100%; }
  .tab-list button { flex: 1; padding: 0 10px; font-size: .86rem; min-height: 44px; }
  .tab-list button .ico { display: none; }
  .brew-steps { grid-template-columns: 1fr; }
  .partner-card { padding: 28px 18px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { padding: 18px 16px 24px; }
  .cta-band { padding: 64px 0; }
  .cta-actions .btn { flex: 1 1 100%; }
  .article-cta { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
