/* ==========================================================================
   Berry Hill · berryhill.vn · hướng "Xưởng mộc"
   Nền tối, ảnh thật, mã lô. Tiêu đề viết thường, không in hoa.
   ========================================================================== */

:root {
	--bg: #1c1216;
	--bg-2: #241820;
	--bg-3: #2a1016;
	--line: #3a2830;
	--text: #efe4d6;
	--text-2: #c9b9ad;
	--muted: #9a8a90;
	--accent: #d8567a;
	--accent-2: #f2a3b5;
	--font-display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
	--gutter: clamp(20px, 4vw, 56px);
	--max: 1200px; /* khung nội dung căn giữa, chừa hai bên (robanme.com dùng Flatsome 1170px) */
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.bh-gate-open { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; color: var(--text); text-transform: none; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.bh-skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 8px 14px; z-index: 200; }
.bh-skip:focus { left: 8px; }
.bh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bh-mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.bh-accent { color: var(--accent); }
.bh-muted { color: var(--muted); }
.bh-small { font-size: 13px; }
.bh-kicker { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; margin: 0 0 14px; }
.bh-h1 { font-size: clamp(32px, 4vw, 58px); line-height: 1.05; }
.bh-h2 { font-size: clamp(22px, 2.3vw, 32px); }
.bh-h3 { font-size: 22px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bh-h3--sub { margin-top: 24px; }
.bh-lead { font-size: 18px; color: var(--text-2); max-width: 52ch; }
.bh-link { font-size: 14px; font-weight: 500; }
.bh-empty { padding: 40px var(--gutter); }

/* Buttons */
.bh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px;
	font: 600 14px/1.2 var(--font-body);
	border: 1px solid transparent; cursor: pointer; text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bh-btn--primary { background: var(--accent); color: var(--bg); }
.bh-btn--primary:hover { background: var(--accent-2); color: var(--bg); }
.bh-btn--ghost { background: transparent; color: var(--text); border-color: var(--text-2); font-weight: 500; }
.bh-btn--ghost:hover { border-color: var(--text); color: var(--text); }
.bh-btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.bh-btn--outline:hover { background: var(--accent); color: var(--bg); }
.bh-btn--block { width: 100%; }
.bh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.bh-actions--mobile { display: none; }

/* Header */
.bh-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(28, 18, 22, 0.94); backdrop-filter: blur(8px); }
.bh-header__inner { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bh-logo { flex: 0 0 auto; }
.bh-logo img { width: auto; max-width: none; }
.bh-nav { flex: 0 0 auto; }
.bh-nav__list { list-style: none; display: flex; gap: 28px; }
.bh-nav__list a { color: var(--text-2); font-size: 14px; font-weight: 500; padding-bottom: 2px; border-bottom: 1px solid transparent; white-space: nowrap; }
.bh-nav__list a:hover, .bh-nav__list .current-menu-item > a, .bh-nav__list .current_page_item > a, .bh-nav__list .current_page_parent > a { color: var(--text); border-bottom-color: var(--accent); }
.bh-header__legal { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: auto; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1520px) { .bh-header__legal-text { display: none; } }
.bh-nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.bh-nav__close, .bh-nav__foot, .bh-nav__backdrop { display: none; }
.bh-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--text-2); cursor: pointer; margin-left: -8px; }
.bh-search-toggle:hover, .bh-search-toggle[aria-expanded="true"] { color: var(--text); }
.bh-search { border-top: 1px solid var(--line); background: var(--bg-2); }
.bh-search[hidden] { display: none; }
.bh-search__form { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; gap: 10px; }
.bh-search__input { flex: 1 1 auto; min-width: 0; }
.bh-search__submit { flex: 0 0 auto; min-height: 44px; padding: 10px 22px; }

/* Layout helpers */
.bh-main { max-width: var(--max); margin: 0 auto; }
.bh-section { padding: 48px var(--gutter); border-bottom: 1px solid var(--line); }
.bh-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.bh-grid { display: grid; gap: 24px; }
.bh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bh-story-tile h3 a { color: var(--text); text-decoration: none; }
.bh-story-tile h3 a:hover { color: var(--accent); }
.bh-story-tile p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bh-page-head { padding: 64px var(--gutter) 32px; border-bottom: 1px solid var(--line); }
.bh-page-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.bh-page-head--single { max-width: 900px; }
.bh-page-head--single .bh-lead { margin-top: 12px; }

/* Placeholder ảnh (gạch chéo) */
.bh-ph { border: 1px dashed var(--accent); background: repeating-linear-gradient(45deg, rgba(216, 86, 122, 0.08) 0 12px, transparent 12px 24px); display: flex; align-items: flex-end; padding: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.bh-ph--card { aspect-ratio: 16 / 10; }
.bh-ph--thumb { aspect-ratio: 16 / 10; }
.bh-ph--map { min-height: 300px; margin: 24px 0; }

/* Hero */
.bh-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--line); }
.bh-hero__text { padding: 72px 40px 56px var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.bh-hero__title { font-size: clamp(36px, 4.6vw, 67px); line-height: 1.04; }
.bh-hero__lead { font-size: 18px; color: var(--text-2); max-width: 48ch; margin: 0; }
.bh-hero__media { position: relative; border-left: 1px solid var(--line); background: var(--bg-3); min-height: 480px; }
.bh-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.bh-hero__caption { position: absolute; left: 20px; bottom: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); letter-spacing: 0.06em; }

/* Pillars */
.bh-pillars { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.bh-pillars__head { padding: 40px 24px 40px var(--gutter); font-family: var(--font-display); font-size: 22px; color: var(--muted); border-right: 1px solid var(--line); line-height: 1.15; }
.bh-pillar { padding: 40px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bh-pillar:last-child { border-right: 0; padding-right: var(--gutter); }
.bh-pillar h2 { font-size: 24px; }
.bh-pillar p { color: var(--text-2); font-size: 15px; margin: 0; }

/* Steps */
.bh-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.bh-step { display: flex; flex-direction: column; gap: 10px; }
.bh-steps .bh-step { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bh-steps .bh-step:nth-child(4n) { border-right: 0; }
.bh-steps .bh-step:nth-child(4n+1) { padding-left: var(--gutter); }
.bh-step__img, .bh-step .bh-ph { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.bh-step__title, .bh-step h3 { font-size: 22px; }
.bh-step p { color: var(--text-2); font-size: 14px; margin: 0; }

/* Home: product + journal */
.bh-home-journal { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.bh-home-journal__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border: 1px solid var(--line); margin-bottom: 16px; }
.bh-home-journal__product .bh-h2 a { color: var(--text); }
.bh-home-journal__product .bh-h2 { font-size: 32px; }

/* Cards (nhật ký) */
.bh-card { display: grid; grid-template-columns: 160px minmax(0, 1fr) 220px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bh-card--compact { grid-template-columns: 140px minmax(0, 1fr); padding: 18px 0; }
.bh-card__meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.bh-card__title { font-size: 24px; }
.bh-card--compact .bh-card__title { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.bh-card__title a { color: var(--text); }
.bh-card__title a:hover { color: var(--accent-2); }
.bh-card__excerpt { color: var(--text-2); font-size: 15px; margin: 6px 0 0; }
.bh-card__thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

.bh-journal { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.bh-journal__list { padding: 0 40px 24px var(--gutter); border-right: 1px solid var(--line); }
.bh-journal__side { padding: 0 var(--gutter) 24px 32px; }
.bh-side { padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.bh-side__list { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.bh-side__list a { color: var(--text-2); }
.bh-lots { list-style: none; }
.bh-lots li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 70px; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.bh-lots li:last-child { border-bottom: 0; }
.bh-lots__day { text-align: right; }
.bh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.bh-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.bh-chip:hover { color: var(--text); border-color: var(--text-2); }
.bh-chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.bh-pagination { padding: 24px 0; display: flex; gap: 14px; color: var(--muted); }
.bh-pagination .current { color: var(--text); }
.bh-pagination a { color: var(--muted); }

/* Single / prose: cột bài 8/12 + cột phải 4/12, tiêu đề vừa phải như bài trên robanme.com */
.bh-single { padding-bottom: 40px; }
.bh-single .bh-page-head { border-bottom: 0; padding: 40px 0 8px; }
.bh-single .bh-h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.bh-single__hero { margin: 24px 0 0; max-width: 760px; }
.bh-single__foot { padding: 24px 0; }
.bh-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 16px; font-size: 12px; }
.bh-tags a { color: var(--muted); }
.bh-tags a:hover { color: var(--accent-2); }
.bh-journal--single .bh-journal__list { padding-top: 0; }
.bh-journal--single .bh-prose { padding-left: 0; padding-right: 0; max-width: 720px; }
.bh-journal--single .bh-lotmeta { margin-top: 14px; }
.bh-recent { list-style: none; display: grid; gap: 4px; }
.bh-recent a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.bh-recent li:last-child a { border-bottom: 0; }
.bh-recent a:hover .bh-recent__title { color: var(--text); }
.bh-recent img, .bh-recent__ph { width: 64px; aspect-ratio: 1; object-fit: cover; display: block; background: var(--bg-3); border: 1px solid var(--line); }
.bh-recent__body { display: grid; gap: 2px; }
.bh-recent__title { font-size: 14px; font-weight: 500; line-height: 1.35; }
.bh-recent .bh-mono { font-size: 11px; }
.bh-lotmeta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; color: var(--text-2); }
.bh-lotmeta div { display: flex; gap: 8px; }
.bh-lotmeta dt { color: var(--muted); }
.bh-lotmeta dd { margin: 0; color: var(--text); }
.bh-prose { padding: 24px var(--gutter); max-width: calc(720px + 2 * var(--gutter)); color: var(--text-2); font-size: 17px; line-height: 1.7; }
.bh-prose h2 { font-size: 28px; color: var(--text); margin: 36px 0 12px; }
.bh-prose h3 { font-size: 22px; color: var(--text); margin: 28px 0 10px; }
.bh-prose a { text-decoration: underline; text-underline-offset: 3px; }
.bh-prose ul, .bh-prose ol { padding-left: 22px; margin: 0 0 1em; }
.bh-prose li::marker { color: var(--accent); }
.bh-prose img { margin: 16px 0; }
.bh-prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 24px; color: var(--text); }
.bh-prose figure { margin: 24px 0; }
.bh-prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.bh-prose table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.bh-prose th, .bh-prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bh-prose th { color: var(--muted); font-weight: 500; }

/* Sổ lô: mẻ, lô chai, biểu đồ */
.bh-me, .bh-chai { padding-bottom: 40px; }
.bh-me .bh-page-head, .bh-chai .bh-page-head { border-bottom: 0; padding-bottom: 8px; }
.bh-me__specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 8px var(--gutter) 8px; }
.bh-spec { border: 1px solid var(--line); padding: 12px 14px; min-width: 0; }
.bh-spec small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 4px; overflow-wrap: anywhere; }
.bh-spec b { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; display: block; }
.bh-spec b.bh-spec__small { font-size: 16px; font-family: var(--font-body); }
.bh-spec a { color: var(--text); }
.bh-me__section { padding: 20px var(--gutter) 8px; max-width: 980px; }
.bh-me__locked { border: 1px dashed var(--line); margin: 16px var(--gutter); padding: 18px 20px; max-width: 900px; }
.bh-table-wrap { overflow-x: auto; }
.bh-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bh-table th, .bh-table td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.bh-table th { color: var(--muted); font-weight: 500; }
.bh-table a { color: var(--accent-2); }
.bh-timeline { list-style: none; border-left: 1px solid var(--line); margin: 6px 0 0 6px; padding: 0; }
.bh-timeline li { position: relative; padding: 0 0 14px 20px; font-size: 14px; color: var(--text-2); }
.bh-timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.bh-timeline__d { font-size: 12px; color: var(--muted); margin-right: 10px; }
.bh-timeline__s { color: var(--text); font-weight: 500; }
.bh-charts { display: grid; gap: 18px; }
.bh-chart { background: var(--bg-2); border: 1px solid var(--line); padding: 14px 16px; }
.bh-chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bh-chart__head .bh-h3 { border: 0; padding: 0; margin: 0 0 6px; font-size: 18px; color: var(--text); }
.bh-spark { width: 100%; height: auto; display: block; }
.bh-spark__axis { stroke: var(--line); }
.bh-spark__line { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.bh-spark__dot { fill: var(--accent); }
.bh-spark__mark { stroke: var(--text-2); stroke-dasharray: 3 3; }
.bh-spark__t { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.bh-details summary { cursor: pointer; color: var(--muted); font-size: 12px; margin: 10px 0; }
.bh-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.bh-profile__radar, .bh-profile__aroma { background: var(--bg-2); border: 1px solid var(--line); padding: 18px 20px; }
.bh-profile .bh-h3 { border: 0; padding: 0; color: var(--text); }
.bh-radar { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.bh-radar__grid polygon, .bh-radar__grid line { fill: none; stroke: var(--line); }
.bh-radar__label { fill: var(--text-2); font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.bh-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.bh-legend i { display: inline-block; width: 16px; height: 3px; vertical-align: middle; margin-right: 6px; }
.bh-aroma { display: grid; gap: 10px; }
.bh-aroma__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13px; }
.bh-aroma__name small { display: block; font-size: 11px; color: var(--muted); }
.bh-aroma__bar { height: 10px; background: var(--bg-3); border: 1px solid var(--line); position: relative; }
.bh-aroma__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.bh-note__text { color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 66ch; margin: 0 0 16px; }
.bh-me__foot { padding: 24px var(--gutter); }
.bh-me__foot p { font-size: 12px; margin: 0 0 12px; }
.bh-compare-form .bh-btn { margin-top: 14px; }
.bh-lots li a.bh-accent { color: var(--accent); }

/* Cổng nhập liệu trên trang Sổ lô (dùng lại form của Sổ sản xuất) */
.bh-entry-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; font-size: 12px; }
.bh-entry-msg { padding: 16px var(--gutter); }
.bh-footer__small a { color: var(--text-2); }
.bh-entry h1 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0 0 16px; }
.bh-entry h2 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 10px; }
.bh-entry .form-table { width: 100%; max-width: 900px; border-collapse: collapse; }
.bh-entry .form-table th { text-align: left; width: 220px; padding: 10px 12px 10px 0; color: var(--text-2); font-weight: 500; font-size: 14px; vertical-align: top; }
.bh-entry .form-table td { padding: 8px 0; }
.bh-entry input[type="text"], .bh-entry input[type="number"], .bh-entry input[type="date"], .bh-entry input[type="datetime-local"], .bh-entry select, .bh-entry textarea { width: 100%; max-width: 520px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 9px 11px; font: 14px var(--font-body); border-radius: 0; color-scheme: dark; }
.bh-entry textarea { max-width: 900px; }
.bh-entry input:focus, .bh-entry select:focus, .bh-entry textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.bh-entry .description { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.bh-entry .bh-box { background: var(--bg-2); border: 1px solid var(--line); padding: 16px 18px; margin: 18px 0; max-width: 1100px; overflow-x: auto; }
.bh-entry .bh-rows { width: 100%; border-collapse: collapse; margin: 6px 0; min-width: 640px; }
.bh-entry .bh-rows th { text-align: left; font-family: var(--font-mono); font-size: 11px; color: var(--muted); font-weight: 500; padding: 4px 8px 6px 0; }
.bh-entry .bh-rows td { padding: 3px 8px 3px 0; vertical-align: top; }
.bh-entry .bh-rows input, .bh-entry .bh-rows select { max-width: none; padding: 7px 9px; font-size: 13px; }
.bh-entry .bh-del { color: var(--accent); text-decoration: none; font-size: 14px; }
.bh-entry .button, .bh-entry .button-primary, .bh-entry input[type="submit"] { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; background: var(--accent); color: var(--bg); border: 1px solid var(--accent); font: 600 14px var(--font-body); cursor: pointer; text-decoration: none; }
.bh-entry .button { background: transparent; color: var(--text); border-color: var(--text-2); font-weight: 500; }
.bh-entry .bh-score { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.bh-entry .bh-score label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.bh-entry .bh-score input { max-width: none; }
.bh-entry__links { margin-top: 18px; font-size: 12px; }
.bh-entry__links .bh-del { color: var(--muted); }

/* Story */
.bh-story__section { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.bh-story__num { padding: 48px 24px 48px var(--gutter); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; line-height: 1.6; }
.bh-story__body.bh-prose { padding: 40px var(--gutter) 40px 40px; max-width: none; }
.bh-story__body h3:first-child { margin-top: 0; }
.bh-story__section--intro { grid-template-columns: 1fr; }
.bh-story__posts { border-bottom: 0; }
.bh-story__posts-list { max-width: 900px; }
.bh-story__posts .bh-card:last-child { border-bottom: 0; }

/* Process page */
.bh-transparency { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 1px solid var(--line); }
.bh-transparency__intro { padding: 48px 40px 48px var(--gutter); border-right: 1px solid var(--line); }
.bh-transparency .bh-prose { padding: 40px var(--gutter) 40px 40px; max-width: none; }

/* Product */
.bh-product__hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 1px solid var(--line); }
.bh-product__media { position: relative; border-right: 1px solid var(--line); background: var(--bg-3); min-height: 560px; }
.bh-product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bh-product__text { padding: 64px var(--gutter) 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.bh-product__name { font-size: clamp(45px, 5.6vw, 77px); line-height: 1; }
.bh-product__tagline { font-family: var(--font-display); font-size: 24px; color: var(--accent); margin: 0; }
.bh-status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); color: var(--text-2); width: fit-content; margin: 6px 0 0; }
.bh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.bh-product__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.bh-product__specs { padding: 48px 48px 48px var(--gutter); border-right: 1px solid var(--line); }
.bh-product__tasting { padding: 48px var(--gutter) 48px 48px; }
.bh-specs { display: grid; grid-template-columns: 1fr; margin: 0; }
.bh-specs div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bh-specs dt { color: var(--muted); }
.bh-specs dd { margin: 0; color: var(--text); }
.bh-tasting { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.bh-tasting p { color: var(--text-2); font-size: 15px; margin: 4px 0 0; }
.bh-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.bh-tags li { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.bh-product__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--line); }
.bh-product__story { padding: 48px 48px 48px var(--gutter); border-right: 1px solid var(--line); color: var(--text-2); }
.bh-product__story p { max-width: 60ch; }
.bh-dealer { padding: 48px var(--gutter) 48px 48px; background: var(--bg-2); color: var(--text-2); }
.bh-dealer .bh-h3 { color: var(--text); border: 0; padding: 0; margin-bottom: 12px; }
.bh-dealer__phone { font-size: 16px; }
.bh-dealer__phone a { color: var(--text); }

/* Contact */
.bh-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.bh-contact__info { padding: 64px 40px 56px var(--gutter); border-right: 1px solid var(--line); }
.bh-contact__form { padding: 64px var(--gutter) 56px 48px; }
.bh-contact__list { margin: 28px 0; display: grid; gap: 14px; font-size: 15px; }
.bh-contact__list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bh-contact__list dt { color: var(--muted); padding-top: 3px; }
.bh-contact__list dd { margin: 0; }
.bh-contact__phone { font-size: 18px; }
.bh-contact__phone a { color: var(--text); }
.bh-contact__dealer { margin-top: 24px; color: var(--text-2); }
.bh-map { margin: 24px 0; border: 1px solid var(--line); }
.bh-map iframe { width: 100%; height: 300px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* Forms */
.bh-form { display: flex; flex-direction: column; gap: 16px; }
.bh-field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.bh-label { color: var(--muted); }
.bh-input { width: 100%; padding: 14px 16px; background: transparent; border: 1px solid var(--line); color: var(--text); font: 15px var(--font-body); min-height: 48px; }
.bh-input::placeholder { color: var(--muted); }
.bh-input:focus { border-color: var(--accent); outline: none; }
textarea.bh-input { resize: vertical; }
.bh-radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bh-radio { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); color: var(--text-2); cursor: pointer; min-height: 48px; }
.bh-radio:has(input:checked) { border-color: var(--accent); background: var(--bg-2); color: var(--text); }
.bh-radio input, .bh-check input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.bh-check { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.bh-notice { padding: 12px 16px; border: 1px solid var(--accent); color: var(--text); font-size: 14px; }
.bh-form--signup { gap: 10px; }

/* Footer */
.bh-footer { border-top: 1px solid var(--line); margin-top: 48px; }
.bh-footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 13px; color: var(--muted); }
.bh-footer__meta { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; margin: 14px 0 0; }
.bh-footer__meta a { color: var(--text-2); }
.bh-footer__nav { list-style: none; display: grid; gap: 6px; }
.bh-footer__nav a { color: var(--text-2); font-size: 14px; }
.bh-footer__social { margin: 14px 0 0; display: flex; gap: 14px; }
.bh-footer__legal { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--text-2); }
.bh-footer__small { color: var(--muted); }

/* Age gate */
.bh-gate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(28, 18, 22, 0.92); backdrop-filter: blur(6px); }
.bh-gate[hidden] { display: none; }
.bh-gate__card { width: min(100%, 560px); background: var(--bg); border: 1px solid var(--line); padding: 44px 48px 36px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }
.bh-gate__logo { align-self: flex-start; }
.bh-gate__title { font-size: 32px; }
.bh-gate__text { color: var(--text-2); font-size: 15px; margin: 0; }
.bh-gate__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bh-gate__legal { font-family: var(--font-mono); font-size: 11px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ==========================================================================
   Điện thoại và máy tính bảng
   ========================================================================== */
@media (max-width: 1024px) {
	.bh-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bh-pillars__head { display: none; }
	.bh-steps, .bh-grid--4, .bh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-steps .bh-step:nth-child(4n) { border-right: 1px solid var(--line); }
	.bh-steps .bh-step:nth-child(2n) { border-right: 0; }
	.bh-steps .bh-step:nth-child(2n+1) { padding-left: var(--gutter); }
	.bh-card { grid-template-columns: 130px minmax(0, 1fr) 180px; }
	.bh-header__legal { display: none; }
}

@media (max-width: 860px) {
	/* Header gọn hơn; bỏ backdrop-filter vì nó khóa position:fixed của ngăn kéo menu */
	.bh-header { backdrop-filter: none; background: var(--bg); }
	.bh-header__inner { padding: 10px var(--gutter); }
	.bh-header__logo img { height: 34px !important; }
	.bh-header__inner { gap: 8px; }
	.bh-nav-toggle { display: inline-flex; order: 1; margin-left: -10px; }
	.bh-header__logo { order: 2; margin: 0 auto; }
	.bh-search-toggle { order: 3; margin: 0 -10px 0 0; }
	/* Menu điện thoại: ngăn kéo trượt từ phải (kiểu off-canvas của Flatsome), lớp phủ tối, khóa cuộn trang */
	.bh-nav { display: block; position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: var(--bg-2); border-right: 1px solid var(--line); padding: 64px var(--gutter) 24px; overflow-y: auto; z-index: 70; transform: translateX(-100%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
	.bh-nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease; }
	.bh-nav__backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 65; }
	.bh-nav__backdrop[hidden] { display: none; }
	.bh-nav__close { display: inline-flex; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--text); cursor: pointer; }
	.bh-nav__list { flex-direction: column; gap: 0; }
	.bh-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; min-height: 48px; }
	.bh-nav__list .current-menu-item > a, .bh-nav__list .current_page_item > a { border-bottom-color: var(--line); color: var(--accent-2); }
	.bh-nav__foot { display: grid; gap: 8px; margin-top: 28px; font-size: 12px; color: var(--muted); line-height: 1.5; }
	.bh-nav__foot a { color: var(--text); font-size: 15px; }
	html.bh-nav-open { overflow: hidden; }
	@media (prefers-reduced-motion: reduce) { .bh-nav, .bh-nav.is-open { transition: none; } }

	.bh-hero { grid-template-columns: 1fr; }
	.bh-hero__media { order: -1; border-left: 0; border-bottom: 1px solid var(--line); min-height: 0; height: 420px; }
	.bh-hero__text { padding: 24px var(--gutter) 28px; }
	.bh-hero__title { font-size: 36px; }
	.bh-actions .bh-btn { flex: 1 1 100%; }
	.bh-actions--mobile { display: flex; margin: 16px 0; }

	.bh-pillars { grid-template-columns: 1fr; }
	.bh-pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px var(--gutter); }
	.bh-pillar:last-child { border-bottom: 0; }
	.bh-section { padding: 24px var(--gutter); }
	.bh-grid--2, .bh-steps { grid-template-columns: 1fr; }
	.bh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.bh-grid--3 { grid-template-columns: 1fr; gap: 20px; }
	.bh-grid--4 .bh-step h3 { font-size: 20px; }
	.bh-steps .bh-step, .bh-steps .bh-step:nth-child(2n), .bh-steps .bh-step:nth-child(2n+1), .bh-steps .bh-step:nth-child(4n) { border-right: 0; padding: 20px var(--gutter); display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 14px; }
	.bh-steps .bh-step .bh-step__img, .bh-steps .bh-step .bh-ph { grid-row: 1 / span 3; aspect-ratio: 1; }
	.bh-steps .bh-step__title { font-size: 20px; }
	.bh-page-head { padding: 32px var(--gutter) 24px; }
	.bh-page-head--split { grid-template-columns: 1fr; gap: 12px; }
	.bh-h1 { font-size: 32px; }
	.bh-single .bh-page-head { padding: 24px 0 4px; }
	.bh-single .bh-h1 { font-size: 28px; }
	.bh-journal--single .bh-prose { padding: 12px 0; }
	.bh-lotmeta { gap: 6px 20px; font-size: 13px; }

	.bh-home-journal { grid-template-columns: 1fr; gap: 24px; }
	.bh-journal { grid-template-columns: 1fr; }
	.bh-journal__list { padding: 0 var(--gutter); border-right: 0; }
	.bh-journal__side { padding: 0 var(--gutter); }
	.bh-card { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
	.bh-card__meta { flex-direction: row; flex-wrap: wrap; gap: 8px; }
	.bh-card__title { font-size: 21px; }
	.bh-card__thumb { grid-column: 1; order: -1; }
	.bh-card--compact { grid-template-columns: 1fr; padding: 14px 0; }

	.bh-story__section { grid-template-columns: 1fr; }
	.bh-story__num { padding: 24px var(--gutter) 0; border-right: 0; flex-direction: row; gap: 10px; }
	.bh-story__body.bh-prose { padding: 8px var(--gutter) 24px; }
	.bh-transparency { grid-template-columns: 1fr; }
	.bh-transparency__intro { padding: 24px var(--gutter) 0; border-right: 0; }
	.bh-transparency .bh-prose { padding: 8px var(--gutter) 24px; }
	.bh-prose { padding: 16px var(--gutter); font-size: 16px; }

	.bh-me__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-entry .form-table th { display: block; width: auto; padding-bottom: 2px; }
	.bh-entry .form-table td { display: block; padding-bottom: 12px; }
	.bh-entry .bh-score { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bh-profile { grid-template-columns: 1fr; }
	.bh-aroma__row { grid-template-columns: 120px minmax(0, 1fr); }
	.bh-radar__label { font-size: 15px; }
	.bh-product__hero, .bh-product__details, .bh-product__foot, .bh-contact { grid-template-columns: 1fr; }
	.bh-product__media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; height: 480px; }
	.bh-product__text { padding: 24px var(--gutter); }
	.bh-product__name { font-size: 45px; }
	.bh-product__tagline { font-size: 20px; }
	.bh-product__specs, .bh-product__tasting, .bh-product__story, .bh-dealer { padding: 24px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
	.bh-specs div { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 14px; }
	.bh-tasting { grid-template-columns: 1fr; }
	.bh-contact__info, .bh-contact__form { padding: 28px var(--gutter); border-right: 0; }
	.bh-contact__info { border-bottom: 1px solid var(--line); }
	.bh-radios { grid-template-columns: 1fr; }
	.bh-footer__inner { grid-template-columns: 1fr; gap: 20px; }
	.bh-gate__card { padding: 28px 22px 24px; }
	.bh-gate__title { font-size: 26px; }
	.bh-gate__actions { grid-template-columns: 1fr; }
}
