/* ==========================================================================
   Nguyễn CPR — giao diện chính (nền tảng từ theme sieuthihanghan, tông cà phê)
   Mobile-first. Breakpoints: 576 / 768 / 1024 / 1240.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--brand: #784C28;          /* nau ca phe cua logo */
	--brand-500: #9A6638;
	--brand-600: #6B4322;
	--brand-700: #5A371B;
	--brand-800: #3F2511;
	--brand-900: #2A180B;
	--brand-50: #FAF4EC;
	--brand-100: #F1E4D2;
	--gold: #D9A857;
	--gold-700: #96671D;
	--cherry: #B4412C;         /* do qua ca phe chin: nhan giam gia, diem nhan */
	--espresso: #1F120B;
	--ink: #2B1B12;
	--text: #54463D;
	--muted: #8E7F74;
	--line: #EEE5DA;
	--line-2: #E2D5C5;
	--bg: #FFFFFF;
	--soft: #FBF7F2;
	--soft-2: #F5ECE1;

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

	--radius-sm: 10px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(43, 27, 18, .06), 0 1px 1px rgba(35, 27, 23, .04);
	--shadow: 0 14px 34px -16px rgba(35, 27, 23, .22);
	--shadow-lg: 0 24px 60px -24px rgba(35, 27, 23, .32);
	--shadow-brand: 0 12px 26px -12px rgba(90, 55, 27, .6);

	--gutter: 16px;
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* Biến form của WooCommerce */
	--wc-form-border-color: var(--line-2);
	--wc-form-border-width: 1.5px;
	--wc-form-border-radius: 10px;
	--wc-form-color-text: var(--ink);
	--wc-red: var(--brand-700);
	--wc-green: #2E9A5C;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
@media (max-width: 1023.98px) { body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: var(--shadow);
}

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.container--mid { max-width: calc(1000px + 2 * var(--gutter)); }

/* ---------- 3. Buttons & forms ---------- */
.btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .65em 1.35em;
	font-family: var(--font); font-size: 14.5px; font-weight: 600; line-height: 1.2; letter-spacing: .005em;
	color: #fff; background: var(--brand); border: 1.5px solid transparent; border-radius: 999px;
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	color: #fff; background: var(--brand-700); box-shadow: var(--shadow-brand); transform: translateY(-1px);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.btn--outline { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn--outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--white { color: var(--brand-700); background: #fff; }
.btn--white:hover { color: var(--brand-800); background: #FBF3EA; }
.btn--ghost-light { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: #fff; color: var(--brand-700); }
.btn--gold { color: var(--ink); background: var(--gold); }
.btn--gold:hover { color: var(--ink); background: #E8BD72; box-shadow: 0 12px 26px -12px rgba(217, 168, 87, .8); }
.btn--lg { min-height: 52px; padding-inline: 1.7em; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"],
select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; min-height: 46px; padding: 10px 14px;
	font-size: 15px; line-height: 1.4; background: #fff;
	border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
select {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23857B76' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
label { font-weight: 500; color: var(--ink); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #EBD6B8; }
.eyebrow--gold { color: var(--gold); }
.section-title { font-size: clamp(24px, 2.2vw + 14px, 34px); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 0; text-wrap: balance; }
h1, h2, .hero__title, .band__title { text-wrap: balance; }
.section-title em, .hero__title em, .band__title em {
	font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; color: var(--brand);
}
.band__title em { color: var(--gold); }

/* ---------- 5. Topbar ---------- */
.topbar { background: var(--brand-800); color: #F1E1CC; font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; }
.topbar__links { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar__links a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: var(--gold); }
.topbar__hot strong { color: var(--gold); font-weight: 700; letter-spacing: .02em; }
.topbar__menu { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 767.98px) {
	.topbar__text, .topbar__menu { display: none; }
	.topbar__inner { justify-content: center; min-height: 32px; }
}

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -14px rgba(35, 27, 23, .28); }
.header__inner { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; min-height: var(--header-h); }
.logo { margin: 0; line-height: 0; justify-self: center; }
.logo a { display: inline-block; }
.logo .logo__img { width: auto; height: 40px; max-width: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 12px; transition: background .2s; }
.icon-btn:hover { background: var(--soft); color: var(--brand); }
.icon-btn .icon { width: 24px; height: 24px; }

.header__search { display: none; }
.header__search--mobile { display: block; padding-bottom: 12px; }
.search-form { position: relative; display: flex; align-items: center; width: 100%; }
.search-form__input {
	height: 48px; padding: 0 56px 0 20px !important; border-radius: 999px !important;
	background: var(--soft) !important; border: 1.5px solid transparent !important; font-size: 14.5px;
}
.search-form__input:focus { background: #fff !important; border-color: var(--brand) !important; box-shadow: 0 0 0 4px var(--brand-50) !important; }
.search-form__input::placeholder { color: var(--muted); }
.search-form__btn {
	position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; display: grid; place-items: center;
	color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); border: 0; border-radius: 50%;
	transition: transform .2s, box-shadow .2s;
}
.search-form__btn:hover { transform: scale(1.06); box-shadow: var(--shadow-brand); }
.search-form__btn .icon { width: 19px; height: 19px; }

.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.hact { display: inline-flex; align-items: center; gap: 10px; padding: 6px; color: var(--ink); background: none; border: 0; border-radius: 14px; text-align: left; transition: background .2s, color .2s; }
.hact:hover { color: var(--brand); background: var(--soft); }
.hact__icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: background .2s, color .2s; }
.hact:hover .hact__icon { background: var(--brand-100); color: var(--brand-700); }
.hact__icon .icon { width: 22px; height: 22px; }
.hact__text { display: none; flex-direction: column; line-height: 1.2; }
.hact__text small { font-size: 11.5px; color: var(--muted); }
.hact__text strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.hact--call, .header__actions .hact:not(.hact--cart) { display: none; }
.cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; color: #fff;
	background: var(--brand); border: 2px solid #fff; border-radius: 999px;
}
.cart-count.is-empty { background: var(--muted); }
.header__burger { justify-self: start; }

@media (min-width: 1024px) {
	.header__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; }
	.header__burger, .header__search.header__search--mobile { display: none; }
	.topbar__hot { display: none !important; }
	.logo { justify-self: start; }
	.logo .logo__img { height: 50px; }
	.header__search { display: block; max-width: 600px; width: 100%; justify-self: center; }
	.header__actions { gap: 10px; }
	.header__actions .hact:not(.hact--cart) { display: inline-flex; }
	.hact__text { display: flex; }
	.hact__icon { width: 44px; height: 44px; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) { .hact--call { display: none !important; } .header__inner { gap: 24px; } }

/* ---------- 7. Nav + mega menu ---------- */
.nav { display: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav__inner { display: flex; align-items: stretch; gap: 26px; min-height: 52px; }
.nav__menu { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; }
.nav__menu > li { position: relative; display: flex; }
.nav__menu > li > a {
	position: relative; display: inline-flex; align-items: center; padding: 0 14px;
	font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav__menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px;
	background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu > li > a:hover, .nav__menu > li.current-menu-item > a, .nav__menu > li.current-menu-ancestor > a { color: var(--brand); }
.nav__menu > li > a:hover::after, .nav__menu > li.current-menu-item > a::after { transform: scaleX(1); }
.nav__menu .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 30; min-width: 230px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease);
}
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.nav__menu .sub-menu a:hover { background: var(--soft); color: var(--brand); }
.nav__hot { display: none; align-items: center; gap: 8px; margin-left: auto; font-weight: 700; color: var(--brand-700); white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199.98px) { .nav__hot { display: inline-flex; } }
.nav__hot .icon { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: var(--brand-50); }

.mega { position: relative; flex: none; width: 270px; }
.mega__toggle {
	display: flex; align-items: center; gap: 12px; width: 100%; height: 100%; min-height: 52px; padding: 0 18px;
	font-size: 14.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); border: 0;
}
.mega__toggle .icon { width: 20px; height: 20px; }
.mega__chev { margin-left: auto; transition: transform .25s; }
.mega:hover .mega__chev, .mega.is-open .mega__chev { transform: rotate(180deg); }
.mega__panel {
	position: absolute; top: 100%; left: 0; z-index: 40; width: min(1000px, calc(100vw - 2 * var(--gutter)));
	max-height: calc(100vh - 210px); overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border: 1px solid var(--line); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.mega .catmenu { columns: 4 200px; column-gap: 26px; padding: 22px 26px 8px; }
.mega .catmenu > li { break-inside: avoid; margin-bottom: 16px; }
.mega .catmenu > li > a { padding: 6px 8px; font-weight: 700; }
.mega .catmenu__chev { display: none; }
@media (hover: hover) { .mega:hover .mega__panel { opacity: 1; visibility: visible; transform: none; } }
.mega.is-open .mega__panel, .mega:focus-within .mega__panel { opacity: 1; visibility: visible; transform: none; }
.catmenu { margin: 0; padding: 8px; list-style: none; }
.catmenu > li { position: relative; }
.catmenu > li > a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; }
.catmenu > li > a:hover, .catmenu > li:hover > a { background: var(--soft); color: var(--brand); }
.catmenu__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); flex: none; }
.catmenu__icon .icon { width: 18px; height: 18px; }
.catmenu__chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.catmenu__name { flex: 1; }
.mega .catmenu__sub { margin: 0; padding: 2px 0 0 52px; list-style: none; }
.mega .catmenu__sub a { display: block; padding: 4px 8px; margin-left: -8px; border-radius: 8px; color: var(--text); font-size: 13.5px; }
.mega .catmenu__sub a:hover { background: var(--soft); color: var(--brand); }

/* ---------- 8. Drawer (mobile menu + cart) ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(28, 14, 8, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.overlay.is-visible { opacity: 1; }
.drawer {
	position: fixed; top: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column;
	width: min(380px, 88vw); background: #fff; box-shadow: var(--shadow-lg);
	transition: transform .35s var(--ease); visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-102%); }
.drawer--right { right: 0; transform: translateX(102%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer__head .logo__img { height: 38px; }
.drawer__title { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); }
.drawer__title .icon { color: var(--brand); }
.drawer__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 14px 0; }
.drawer__tabs button { padding: 10px; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--soft); border: 0; border-radius: 10px; }
.drawer__tabs button.is-active { color: #fff; background: var(--brand); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 20px; }
.drawer__pane { display: none; }
.drawer__pane.is-active { display: block; }
.drawer__foot { padding: 14px; border-top: 1px solid var(--line); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }

.catmenu--mobile { padding: 0; }
.catmenu--mobile > li, .mmenu > li { position: relative; border-bottom: 1px solid var(--line); }
.catmenu--mobile > li > a { padding: 12px 44px 12px 4px; }
.catmenu--mobile .catmenu__chev { display: none; }
.catmenu--mobile .catmenu__sub, .mmenu .sub-menu { display: none; margin: 0 0 10px; padding: 0 0 0 48px; list-style: none; }
.catmenu--mobile li.is-open > .catmenu__sub, .mmenu li.is-open > .sub-menu { display: block; }
.catmenu--mobile .catmenu__sub a, .mmenu .sub-menu a { display: block; padding: 8px 0; color: var(--text); font-size: 14px; }
.mmenu { margin: 0; padding: 0; list-style: none; }
.mmenu > li > a { display: block; padding: 14px 44px 14px 4px; font-weight: 600; color: var(--ink); }
.mmenu .sub-menu { padding-left: 14px; }
.sub-toggle { position: absolute; top: 6px; right: 0; width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); border-radius: 10px; }
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s; }
li.is-open > .sub-toggle .icon { transform: rotate(180deg); }
.sub-toggle:hover { background: var(--soft); color: var(--brand); }

/* ---------- 9. Sections ---------- */
.section { padding-block: 44px; }
.section--tight { padding-block: 28px 48px; }
.section--soft { background: var(--soft); }
@media (min-width: 1024px) { .section { padding-block: 72px; } .section--tight { padding-block: 40px 72px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 34px; } }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); padding-bottom: 2px; border-bottom: 1.5px solid var(--line-2); transition: color .2s, border-color .2s, gap .25s var(--ease); }
.link-more:hover { color: var(--brand); border-color: var(--brand); gap: 12px; }
.link-more .icon { width: 17px; height: 17px; }
.empty-note { color: var(--muted); }

/* ---------- 10. Hero ---------- */
.hero { padding-top: 16px; }
@media (min-width: 1024px) { .hero { padding-top: 26px; } }
.hero__grid { display: grid; gap: 14px; }
.hero__main { position: relative; display: grid; overflow: hidden; border-radius: var(--radius-lg); background: #F8EFE7; isolation: isolate; }
/* Banner nhiều slide: xếp chồng cùng ô lưới, chuyển bằng mờ dần (main.js) */
.hero__slide { grid-area: 1 / 1; position: relative; isolation: isolate; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.hero__dots { position: absolute; z-index: 2; right: 14px; bottom: 12px; display: flex; gap: 2px; padding: 3px 6px; border-radius: 999px; background: rgba(255, 250, 246, .78); backdrop-filter: blur(6px); }
.hero__dot { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .3s var(--ease); }
.hero__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(70, 35, 22, .3); transition: width .3s var(--ease), background .3s; }
.hero__dot[aria-current="true"] { width: 36px; }
.hero__dot[aria-current="true"]::before { width: 24px; background: var(--brand); }
.hero__dot:hover::before { background: rgba(70, 35, 22, .55); }
.hero__dot[aria-current="true"]:hover::before { background: var(--brand); }
@media (prefers-reduced-motion: reduce) { .hero__slide, .hero__slide.is-active { transition: none; } }
.hero__bg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% 50%; }
.hero__content { position: relative; padding: 22px 20px 26px; }
.hero__title { margin: 12px 0 12px; font-size: clamp(27px, 3vw + 12px, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.hero__text { margin: 0 0 22px; font-size: 15.5px; color: var(--text); max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); isolation: isolate; aspect-ratio: 1 / 1.05; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -1; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 10, 5, 0) 35%, rgba(25, 10, 5, .72) 100%); }
.promo:hover img { transform: scale(1.06); }
.promo__text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px; color: #fff; }
.promo__kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.promo__text strong { font-size: 16px; line-height: 1.25; }
.promo__link { display: none; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; font-weight: 600; opacity: .95; }
.promo__link .icon { width: 16px; height: 16px; transition: transform .25s; }
.promo:hover .promo__link .icon { transform: translateX(4px); }
@media (min-width: 576px) {
	.promo { aspect-ratio: 4 / 3; }
	.promo__text { padding: 20px; }
	.promo__text strong { font-size: 19px; }
	.promo__link { display: inline-flex; }
}
@media (min-width: 768px) {
	.hero__bg { aspect-ratio: auto; position: absolute; inset: 0; height: 100%; z-index: -2; }
	.hero__slide::before {
		content: ""; position: absolute; inset: 0; z-index: -1;
		background: linear-gradient(90deg, rgba(255, 250, 246, .97) 0%, rgba(255, 250, 246, .9) 36%, rgba(255, 250, 246, .35) 62%, rgba(255, 250, 246, 0) 78%);
	}
	.hero__main { min-height: 420px; }
	.hero__slide { display: flex; align-items: center; }
	.hero__dots { right: 20px; bottom: 18px; }
	.hero__content { max-width: 600px; padding: 48px 44px; }
}
@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 20px; }
	.hero__main { min-height: 500px; }
	.hero__content { padding: 56px 56px; }
	.hero__side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
	.promo { aspect-ratio: auto; min-height: 0; }
}

/* ---------- 11. USP ---------- */
.usp { padding-top: 16px; }
@media (min-width: 1024px) { .usp { padding-top: 24px; } }
.usp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 1024px) { .usp__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.usp__item { display: flex; align-items: center; gap: 12px; padding: 14px; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
a.usp__item:hover { color: inherit; border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.usp__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--brand-600); background: var(--brand-50); }
.usp__icon .icon { width: 23px; height: 23px; }
.usp__item > div > strong { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.usp__item > div > span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
@media (min-width: 1024px) {
	.usp__item { padding: 20px; gap: 16px; }
	.usp__icon { width: 52px; height: 52px; border-radius: 14px; }
	.usp__icon .icon { width: 26px; height: 26px; }
	.usp__item > div > strong { font-size: 15px; }
	.usp__item > div > span { font-size: 13px; }
}
@media (max-width: 419.98px) { .usp__item { flex-direction: column; align-items: flex-start; } }

/* ---------- 12. Category grid ---------- */
.catgrid {
	display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 12px;
	margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.catgrid::-webkit-scrollbar { display: none; }
.catgrid > li { scroll-snap-align: start; }
@media (min-width: 768px) { .catgrid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; gap: 16px; } }
@media (min-width: 1024px) { .catgrid { grid-template-columns: repeat(8, 1fr); gap: 18px; } }
.catcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.catcard:hover { color: var(--brand); border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.catcard__media { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 4px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 25%, #fff, var(--soft-2)); color: var(--brand-600); transition: box-shadow .25s; }
.catcard:hover .catcard__media { box-shadow: 0 0 0 3px var(--brand-100); }
.catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.catcard:hover .catcard__media img { transform: scale(1.08); }
.catcard__media .icon { width: 34px; height: 34px; }
.catcard__name { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.catcard__count { font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) { .catcard__media { width: 96px; height: 96px; } .catcard { padding: 18px 10px; } }

/* ---------- 13. Product grid & card ---------- */
ul.products, .woocommerce ul.products, .woocommerce-page ul.products, .pgrid {
	display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
	margin: 0 !important; padding: 0 !important; list-style: none;
}
ul.products::before, ul.products::after { display: none !important; content: none !important; }
@media (min-width: 768px) { ul.products, .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { ul.products, .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1240px) { ul.products.pgrid--5, .pgrid.pgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.shop-content ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .shop-content ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .shop-content ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --pcard-r: bo góc thẻ; --pcard-inset: khoảng lùi của ô ảnh. Ô ảnh bo (r − inset) để đồng tâm với viền thẻ. */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .pcard {
	--pcard-r: 16px; --pcard-inset: 6px;
	float: none !important; width: auto !important; margin: 0 !important; clear: none !important;
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--pcard-r); overflow: hidden;
	transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media { position: relative; padding: var(--pcard-inset) var(--pcard-inset) 0; background: #fff; }
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; border-radius: calc(var(--pcard-r) - var(--pcard-inset)); background: var(--soft); }
.pcard__photo { width: 100% !important; height: 100% !important; margin: 0 !important; object-fit: contain; transition: opacity .45s, transform .6s var(--ease); }
.pcard__photo--alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__photo { transform: scale(1.04); }
.pcard:hover .pcard__photo--alt { opacity: 1; }
.pcard:hover .pcard__photo:not(.pcard__photo--alt):has(+ .pcard__photo--alt) { opacity: 0; }
.pcard__badges { position: absolute; top: calc(var(--pcard-inset) + 6px); left: calc(var(--pcard-inset) + 6px); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; font-size: 11.5px; font-weight: 700; line-height: 1.4; border-radius: 999px; color: #fff; background: var(--brand); letter-spacing: .01em; }
.badge--gold { color: var(--ink); background: var(--gold); }
.badge--new { background: var(--ink); }
.badge--muted { color: var(--text); background: #EDE6E3; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 12px 14px; }
@media (min-width: 768px) { .pcard__body { padding: 14px 16px 16px; } }
.pcard__cat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Selector WooCommerce đi kèm để thắng `.woocommerce ul.products li.product h3 { padding: .5em 0; font-size: 1em }` trên trang cửa hàng. */
.woocommerce ul.products li.product .pcard__title, .pcard__title { margin: 0; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.42; height: 2.84em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: wrap; }
@media (min-width: 768px) { .woocommerce ul.products li.product .pcard__title, .pcard__title { font-size: 14.5px; } }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--brand); }
.pcard__rating .star-rating { font-size: 12px; margin: 2px 0 0 !important; }
.pcard__foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.pcard__price, .pcard__price .price { font-size: 16px; font-weight: 800; color: var(--brand-600); line-height: 1.3; }
@media (min-width: 768px) { .pcard__price, .pcard__price .price { font-size: 17px; } }
.pcard__price del { display: inline-block; margin-right: 6px; font-size: 13px; font-weight: 500; color: var(--muted); opacity: 1; }
.pcard__price ins { text-decoration: none; background: none; }
.price-contact { font-size: 15px; color: var(--gold-700); font-weight: 700; }
.woocommerce ul.products li.product .button.pcard__cart, .pcard__cart.button {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin: 0 !important; padding: .5em 1em;
	font-size: 13.5px; font-weight: 600; line-height: 1.2; text-align: center;
	color: var(--brand-700); background: var(--brand-50); border: 0; border-radius: 999px; box-shadow: none;
}
.woocommerce ul.products li.product .button.pcard__cart:hover, .pcard__cart.button:hover { color: #fff; background: var(--brand); transform: none; }
.pcard__cart.loading { opacity: .65; }
.pcard__cart.added::after { content: "✓"; margin-left: 4px; }
.pcard .added_to_cart { display: none !important; }

/* Rail (hàng trượt ngang) */
.rail { position: relative; }
.pgrid--rail {
	grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2.15);
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin: 0 calc(-1 * var(--gutter)) !important; padding: 4px var(--gutter) 12px !important; scroll-padding-inline: var(--gutter);
}
.pgrid--rail::-webkit-scrollbar { display: none; }
.pgrid--rail > li { scroll-snap-align: start; }
@media (min-width: 768px) { .pgrid--rail { grid-auto-columns: calc((100% - 2 * 18px) / 3.2); } }
@media (min-width: 1024px) {
	.pgrid--rail { grid-auto-columns: calc((100% - 4 * 20px) / 5); margin: 0 !important; padding: 6px 0 14px !important; scroll-padding-inline: 0; }
}
.rail__btn { display: none; }
@media (min-width: 1024px) {
	.rail__btn {
		position: absolute; top: 38%; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
		color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow); transition: .2s;
	}
	.rail__btn:hover { color: #fff; background: var(--brand); border-color: var(--brand); }
	.rail__btn[disabled] { opacity: 0; pointer-events: none; }
	.rail__btn--prev { left: -22px; }
	.rail__btn--next { right: -22px; }
}

/* ---------- 14. Banner band ---------- */
.band { position: relative; display: flex; align-items: flex-end; min-height: 340px; overflow: hidden; border-radius: 24px; color: #fff; isolation: isolate; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 10, 4, .9) 0%, rgba(30, 10, 4, .55) 55%, rgba(30, 10, 4, .15) 100%); }
.band:hover .band__bg { transform: scale(1.04); }
.band__content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 22px; max-width: 580px; }
.band__title { font-size: clamp(25px, 2.4vw + 14px, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.band__text { font-size: 15px; color: rgba(255, 255, 255, .85); }
.band:hover { color: #fff; }
@media (min-width: 768px) {
	.band { align-items: center; min-height: 380px; }
	.band::before { background: linear-gradient(90deg, rgba(30, 10, 4, .88) 0%, rgba(30, 10, 4, .6) 45%, rgba(30, 10, 4, 0) 80%); }
	.band__content { padding: 56px; gap: 16px; }
}

/* ---------- 15. Tabs ---------- */
.section-head--tabs { align-items: center; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { flex: none; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--text); background: var(--soft); border: 1px solid transparent; border-radius: 999px; transition: .2s; }
.tabs__btn:hover { color: var(--brand); border-color: var(--brand-100); background: #fff; }
.tabs__btn.is-active { color: #fff; background: var(--ink); }
.tabpane { animation: fadeUp .45s var(--ease); }
.tabpane__more { display: flex; justify-content: center; margin-top: 28px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 16. Story ---------- */
.story__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .story__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.story__media { position: relative; }
.story__media img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.story__media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1; border: 2px solid var(--gold); border-radius: 26px; opacity: .7; }
.story__text p { font-size: 16px; margin: 16px 0 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.stats li { padding: 14px 12px; border-radius: var(--radius); background: var(--soft); text-align: center; }
.stats strong { display: block; font-size: clamp(22px, 1.5vw + 14px, 30px); font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* ---------- 17. Posts ---------- */
.postgrid { display: grid; gap: 18px; }
@media (min-width: 640px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .postgrid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--brand-100); }
.post-card__placeholder .icon { width: 48px; height: 48px; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; flex: 1; }
.post-card__title { margin: 0; font-size: 17px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 12.5px; color: var(--muted); }
.post-meta time { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .icon { width: 14px; height: 14px; }
.post-meta__cat { padding: 2px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 12px; }
.post-meta__cat:hover { background: var(--brand); color: #fff; }

/* ---------- 18. Page hero, breadcrumbs, article ---------- */
.page-hero { padding: 26px 0 24px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .page-hero { padding: 40px 0 36px; } }
.page-hero--compact { padding-bottom: 18px; }
.page-hero__title { margin: 8px 0 0; font-size: clamp(25px, 2vw + 16px, 38px); font-weight: 800; letter-spacing: -.02em; }
.page-hero__desc { margin-top: 10px; max-width: 70ch; color: var(--muted); }
.breadcrumbs { font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep, .breadcrumbs .separator { margin: 0 8px; opacity: .6; }
.shop-main .breadcrumbs { padding: 18px 0 4px; }

.article__head { padding-top: 26px; text-align: left; }
@media (min-width: 1024px) { .article__head { padding-top: 44px; } }
.article__head .post-meta { margin: 14px 0 12px; }
.article__title { font-size: clamp(26px, 2.4vw + 16px, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 22px; }
.article__cover { margin-top: 0; margin-bottom: 32px; }
.article__cover img { width: 100%; border-radius: 22px; aspect-ratio: 16 / 9; object-fit: cover; }
.article__cover--small img { width: auto; max-width: 100%; max-height: 520px; aspect-ratio: auto; margin-inline: auto; border-radius: 18px; }
.article__foot { padding-bottom: 44px; }
.article__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 30px; padding: 20px 22px; border-radius: 18px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.article__cta > .icon { width: 40px; height: 40px; padding: 10px; box-sizing: content-box; color: #fff; background: var(--brand); border-radius: 14px; }
.article__cta div { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.article__cta strong { color: var(--ink); font-size: 16px; }
.article__cta span { font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 5px 12px; font-size: 13px; color: var(--text); background: var(--soft); border-radius: 999px; }
.tags a:hover { color: #fff; background: var(--brand); }
.article__comments { padding-bottom: 44px; }

/* Bài viết + sidebar: mobile 1 cột (bài → sidebar → bình luận); từ 1024px sidebar bên phải, chạy dọc cả bài lẫn bình luận. */
.article-layout { display: grid; grid-template-areas: "main" "side" "comments"; gap: 0 48px; }
.article-layout > .article { grid-area: main; min-width: 0; }
.article-layout > .blog-sidebar { grid-area: side; }
.article-layout > .article__comments { grid-area: comments; min-width: 0; }
.blog-sidebar { padding-bottom: 36px; }
@media (min-width: 1024px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main side" "comments side"; grid-template-rows: auto 1fr; }
	.blog-sidebar { padding: 44px 0 44px; }
	.blog-sidebar > .side-help:last-child { position: sticky; top: calc(var(--header-h) + 72px); }
}
@media (min-width: 1240px) { .article-layout { grid-template-columns: minmax(0, 1fr) 336px; gap: 0 56px; } }
@media (max-width: 1023.98px) { .blog-sidebar--auto > .widget:not(.widget--products) { display: none; } }
@media (min-width: 640px) and (max-width: 1023.98px) { .widget--products .mini-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; } }

/* Danh sách gọn trong sidebar (sản phẩm, bài viết) */
.mini-list { display: grid; gap: 2px; margin: 0 0 4px; padding: 0; list-style: none; }
.mini-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; margin-inline: -8px; padding: 7px 8px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.mini-item:hover { background: var(--soft); }
.mini-item__img { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; color: var(--brand-600); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.mini-item__img img { width: 100%; height: 100%; object-fit: contain; }
.mini-item__img .icon { width: 24px; height: 24px; }
.mini-item--post .mini-item__img { background: var(--soft); }
.mini-item--post .mini-item__img img { object-fit: cover; }
.mini-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-item__title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item:hover .mini-item__title { color: var(--brand); }
.mini-item__price { font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--brand-600); }
.mini-item__price del { margin-right: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.mini-item__price ins { text-decoration: none; background: none; }
.mini-item__meta { font-size: 12.5px; color: var(--muted); }
.widget .link-more { margin-top: 10px; font-size: 14px; }

.entry { font-size: 16.5px; line-height: 1.8; color: #3E3733; overflow-wrap: anywhere; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 25px; margin: 1.6em 0 .6em; }
.entry h3 { font-size: 20px; margin: 1.5em 0 .5em; }
.entry h4 { font-size: 17px; margin: 1.4em 0 .5em; }
.entry img, .entry .wp-caption, .entry figure { max-width: 100%; height: auto; border-radius: 14px; }
.entry .wp-caption { width: auto !important; margin: 1.6em auto; }
.entry .wp-caption-text, .entry figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry .aligncenter { margin-inline: auto; }
.entry .alignleft { float: left; margin: .4em 1.4em 1em 0; }
.entry .alignright { float: right; margin: .4em 0 1em 1.4em; }
@media (max-width: 575.98px) { .entry .alignleft, .entry .alignright { float: none; margin: 1em auto; } }
.entry blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 14px 14px 0; font-style: italic; color: var(--ink); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry th { background: var(--soft); color: var(--ink); }
.entry a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-100); }
.entry a:hover { text-decoration-color: var(--brand); }
.entry iframe { max-width: 100%; border-radius: 14px; }
.entry ul li, .entry ol li { margin-bottom: .4em; }
/* Shortcode [products] trong bài viết: shortcode bọc <div class="woocommerce">, nên rule gốc `.woocommerce ul.products` (2 cột, 0,2,1)
   thắng media query `ul.products` (0,1,1) → khai báo lại số cột theo bề rộng cột bài (800px khi có sidebar). */
.entry .woocommerce ul.products { margin: 1.4em 0; padding: 0; }
@media (min-width: 640px) { .entry .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .entry .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.entry ul.products li.product { margin-bottom: 0; }
.entry ul.products a { text-decoration: none; }
.entry--wc { font-size: 15px; line-height: 1.65; color: var(--text); }
.entry--wc a { text-decoration: none; }
.entry--wc table { display: table; overflow: visible; margin: 0 0 20px; }
.entry--wc th, .entry--wc td { border: 0; }
.woocommerce-notices-wrapper:focus, .woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .woocommerce-notices-wrapper :focus { outline: none; }
.woocommerce table.shop_table .amount, .woocommerce-mini-cart .amount { white-space: nowrap; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { padding: 10px 14px; min-height: 46px; }
.woocommerce form .form-row textarea.input-text { min-height: 110px; }
.woocommerce-cart #toc_container, .woocommerce-checkout #toc_container, .woocommerce-account #toc_container { display: none !important; }

/* Mục lục bài viết (Table of Contents Plus) */
.entry #toc_container {
	width: auto !important; display: block; margin: 0 0 28px; padding: 18px 22px;
	background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; font-size: 15px;
}
.entry #toc_container .toc_title { margin: 0 0 8px; font-weight: 700; color: var(--ink); text-align: left; }
.entry #toc_container ul { margin: 0; padding-left: 1em; list-style: none; }
.entry #toc_container li { margin: 4px 0; }
.entry #toc_container a { text-decoration: none; color: var(--text); }
.entry #toc_container a:hover { color: var(--brand); }
.entry #toc_container .toc_number { color: var(--brand-600); font-weight: 600; margin-right: 4px; }

.pagination, .woocommerce nav.woocommerce-pagination { margin-top: 36px; }
/* WooCommerce cũng gắn class "page-numbers" cho thẻ <ul> — chỉ style nút a/span, không style khung ngoài. */
.nav-links, .woocommerce nav.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; white-space: normal; border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { float: none; border: 0 !important; }
a.page-numbers, span.page-numbers, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid !important; place-items: center; min-width: 42px; height: 42px; padding: 0 12px !important;
	font-weight: 600; line-height: 1; color: var(--ink) !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 12px !important;
}
a.page-numbers:hover, .woocommerce nav.woocommerce-pagination ul li a:hover { color: var(--brand) !important; border-color: var(--brand) !important; }
.page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current { color: #fff !important; background: var(--brand) !important; border-color: var(--brand) !important; }
.page-numbers .icon { width: 18px; height: 18px; }

.empty-state { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.empty-state > .icon { width: 56px; height: 56px; padding: 16px; box-sizing: content-box; color: var(--brand); background: var(--brand-50); border-radius: 50%; margin: 0 auto 18px; }
.empty-state .search-form { margin: 22px auto; max-width: 460px; }
.empty-state__code { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(80px, 10vw, 130px); line-height: 1; color: var(--brand); }

/* Comments */
.comments__title { font-size: 21px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-respond { padding: 22px; border-radius: 18px; background: var(--soft); }
.comment-form p { margin-bottom: 14px; }

/* ---------- 19. Shop (WooCommerce) ---------- */
.shop-head { padding: 10px 0 18px; }
.shop-head__title { margin: 0; font-size: clamp(25px, 2vw + 16px, 36px); font-weight: 800; letter-spacing: -.02em; }
.shop-head .term-description, .shop-head .page-description { margin-top: 10px; max-width: 80ch; color: var(--muted); font-size: 14.5px; }
.shop-head__logo { float: left; width: 72px; height: 72px; margin: 0 16px 6px 0; object-fit: contain; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; }
.shop-head::after { content: ""; display: table; clear: both; }
/* Phần mô tả dài (sau <!--more-->) dưới danh sách sản phẩm — dùng chung kiểu chữ với tab "Mô tả sản phẩm" */
.term-more { margin-top: 44px; padding: 34px 32px 38px; font-size: 16px; line-height: 1.8; color: #3E3733; overflow-wrap: break-word; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; }
@media (max-width: 767.98px) {
	.shop-head__logo { width: 56px; height: 56px; margin-right: 12px; border-radius: 12px; }
	.term-more { margin-top: 32px; padding: 20px 16px 24px; font-size: 15px; line-height: 1.75; border-radius: 14px; }
}
.shop-layout { display: grid; gap: 28px; padding-bottom: 56px; }
.shop-sidebar { order: 2; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 264px minmax(0, 1fr); gap: 36px; } .shop-sidebar { order: 0; position: sticky; top: calc(var(--header-h) + 72px); align-self: start; } }
.widget { padding: 18px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.widget__title { margin: 0 0 12px; font-size: 15.5px; }
.side-cats, .side-cats ul { margin: 0; padding: 0; list-style: none; }
.side-cats a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--text); font-size: 14px; }
.side-cats a:hover { background: var(--soft); color: var(--brand); }
.side-cats .count { font-size: 12px; color: var(--muted); background: var(--soft); padding: 0 8px; border-radius: 999px; line-height: 22px; }
.side-cats li.is-active > a { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }
.side-cats ul { margin: 4px 0 6px 12px; padding-left: 10px; border-left: 2px solid var(--brand-100); }
.side-help { background: var(--brand-50); border-color: var(--brand-100); }
.side-help p { font-size: 14px; color: var(--text); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.shop-toolbar .woocommerce-result-count { margin: 0 !important; font-size: 14px; color: var(--muted); float: none !important; }
.shop-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.shop-toolbar .woocommerce-ordering select { min-height: 42px; width: auto; min-width: 210px; font-size: 14px; border-radius: 999px; }
.shop-toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	position: relative; margin: 0 0 20px !important; padding: 14px 18px 14px 50px !important; list-style: none;
	font-size: 14.5px; color: var(--ink) !important; background: var(--soft) !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--brand) !important; border-radius: 12px !important;
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { top: 50% !important; left: 18px !important; transform: translateY(-50%); color: var(--brand) !important; }
.woocommerce-message { border-left-color: #2E9A5C !important; }
.woocommerce-message::before { color: #2E9A5C !important; }
.woocommerce-error { background: #FFF4F2 !important; }
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; font-size: 13.5px; float: none !important; }

/* Single product */
.single-product div.product, .woocommerce div.product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
@media (min-width: 1024px) { .single-product div.product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce #content div.product div.images { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product > .woocommerce-tabs, .woocommerce div.product > .related, .woocommerce div.product > .upsells, .woocommerce div.product > .up-sells { grid-column: 1 / -1; }
.single-product div.product > .badge, .single-product div.product > .onsale { position: absolute; top: 16px; left: 16px; z-index: 5; font-size: 13px; padding: 5px 12px; }
.woocommerce div.product div.images { position: relative; }
.woocommerce-product-gallery { padding: 0; }
.woocommerce-product-gallery__wrapper, .woocommerce div.product div.images .flex-viewport { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.woocommerce div.product div.images img { border-radius: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { aspect-ratio: 1 / 1; object-fit: contain; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; opacity: .7; transition: .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--brand); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; right: 14px; background: #fff; box-shadow: var(--shadow-sm); }

.woocommerce div.product .product_title { font-size: clamp(23px, 1.6vw + 16px, 32px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px; }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.woocommerce div.product .woocommerce-product-rating .star-rating { margin: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 18px; padding: 16px 20px;
	font-size: 28px; font-weight: 800; color: var(--brand-600) !important; background: var(--soft); border-radius: 16px;
}
.woocommerce div.product p.price del { font-size: 17px; font-weight: 500; color: var(--muted); opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 15px; color: var(--text); margin-bottom: 18px; }
.woocommerce div.product .woocommerce-product-details__short-description ul { padding-left: 1.1em; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px !important; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0 !important; }
.woocommerce .quantity .qty { width: 92px; min-height: 52px; text-align: center; font-weight: 700; font-size: 16px; border-radius: 999px; padding: 0 10px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; min-height: 52px; font-size: 16px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); float: none; }
.woocommerce div.product form.cart table.variations { width: 100%; margin-bottom: 8px; }
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th { padding: 6px 0; vertical-align: middle; }
.woocommerce div.product form.cart .variations label { font-weight: 600; }
/* SP có biến thể: WooCommerce bọc số lượng + nút trong .woocommerce-variation-add-to-cart → xếp lại như SP đơn. */
.woocommerce div.product form.cart .variations th.label { width: 1%; padding-right: 16px; white-space: nowrap; }
.woocommerce div.product form.cart .variations select { width: 100%; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 4px; font-size: 13px; }
.woocommerce div.product form.cart .single_variation_wrap { flex: 1 1 100%; min-width: 0; }
.woocommerce div.product form.cart .woocommerce-variation.single_variation:not(:empty) { margin-bottom: 10px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.woocommerce div.product .stock { font-weight: 600; }
.woocommerce div.product .stock.in-stock { color: #2E9A5C; }
.woocommerce div.product .stock.out-of-stock { color: var(--brand-700); }
.product_meta { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; margin-top: 4px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.product_meta a { color: var(--text); }
.product_meta a:hover { color: var(--brand); }
.yith-wcwl-add-to-wishlist { margin: 0 0 16px !important; font-size: 14px; }

.assure { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.assure__list { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
@media (min-width: 576px) { .assure__list { grid-template-columns: repeat(3, 1fr); } }
.assure__list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.assure__list .icon { width: 22px; height: 22px; color: var(--brand-600); }
.assure__call { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); background: var(--brand-50); transition: background .2s; }
.assure__call:hover { color: var(--ink); background: var(--brand-100); }
.assure__call > .icon { width: 38px; height: 38px; padding: 8px; box-sizing: content-box; color: #fff; background: var(--brand); border-radius: 12px; }
.assure__call span { display: flex; flex-direction: column; line-height: 1.25; }
.assure__call small { font-size: 12.5px; color: var(--muted); }
.assure__call strong { font-size: 19px; color: var(--brand-700); letter-spacing: .02em; }

.woocommerce div.product .woocommerce-tabs { margin-top: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 22px !important; padding: 0 !important; overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 10px 20px !important; font-weight: 600 !important; color: var(--text) !important; background: var(--soft); border-radius: 999px; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; background: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 30px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; font-size: 15.5px; line-height: 1.8; }
@media (max-width: 575.98px) { .woocommerce div.product .woocommerce-tabs .panel { padding: 18px; } }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 20px; }
.woocommerce div.product .woocommerce-tabs .panel img { border-radius: 12px; height: auto; }
.woocommerce table.shop_attributes { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); font-style: normal; vertical-align: top; }
.woocommerce table.shop_attributes th { width: 28%; text-align: left; font-weight: 600; color: var(--ink); background: var(--soft); }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce table.shop_attributes tr:last-child > * { border-bottom: 0; }
.woocommerce table.shop_attributes tr:nth-child(even) td { background: transparent; }
.woocommerce table.shop_attributes tr:nth-child(even) th { background: var(--soft); }

/* Nội dung tab "Mô tả sản phẩm": chữ + bảng phủ hết khung, ảnh tối đa 820px (= content_width) căn giữa */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description { padding: 34px 32px 38px; font-size: 16px; line-height: 1.8; color: #3E3733; overflow-wrap: break-word; }
.woocommerce-Tabs-panel--description > :first-child { margin-top: 0; }
.woocommerce-Tabs-panel--description > :last-child { margin-bottom: 0; }
.woocommerce-Tabs-panel--description p { margin-block: 0 1.05em; }
.woocommerce-Tabs-panel--description strong { color: var(--ink); font-weight: 700; }
.woocommerce-Tabs-panel--description h2 { margin-block: 2.1em .7em; font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.woocommerce-Tabs-panel--description h2::before { content: ""; display: block; width: 36px; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--brand); }
.woocommerce-Tabs-panel--description h3 { margin-block: 1.7em .45em; font-size: 18px; font-weight: 700; line-height: 1.45; }
.woocommerce-Tabs-panel--description h2 + h3 { margin-top: 0; }
.woocommerce-Tabs-panel--description h4 { margin-block: 1.5em .4em; font-size: 16.5px; }
.woocommerce-Tabs-panel--description ul, .woocommerce-Tabs-panel--description ol { margin-block: 0 1.25em; padding-left: 1.35em; }
.woocommerce-Tabs-panel--description li { margin-bottom: .45em; padding-left: .2em; }
.woocommerce-Tabs-panel--description li > ul, .woocommerce-Tabs-panel--description li > ol { margin: .45em 0 0; }
.woocommerce-Tabs-panel--description ul > li::marker { color: var(--brand); }
.woocommerce-Tabs-panel--description ol > li::marker { color: var(--brand-600); font-weight: 700; }
.woocommerce-Tabs-panel--description a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-100); }
.woocommerce-Tabs-panel--description a:hover { color: var(--brand-700); text-decoration-color: currentColor; }
.woocommerce-Tabs-panel--description figure, .woocommerce-Tabs-panel--description .wp-caption { max-width: 100%; margin: 2em auto; text-align: center; }
.woocommerce-Tabs-panel--description figure img, .woocommerce-Tabs-panel--description img.aligncenter { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 16px; }
.woocommerce-Tabs-panel--description figure:not([style]) > img { width: 100%; max-width: 820px; }
.woocommerce-Tabs-panel--description figcaption, .woocommerce-Tabs-panel--description .wp-caption-text { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.woocommerce-Tabs-panel--description table { width: 100%; margin-block: 1.3em 1.8em; border: 1px solid var(--line-2); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15px; line-height: 1.55; }
.woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td { padding: 12px 16px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.woocommerce-Tabs-panel--description tr:last-child > td { border-bottom: 0; }
.woocommerce-Tabs-panel--description thead th { padding-block: 11px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-800); background: var(--brand-50); border-bottom-color: var(--brand-100); }
.woocommerce-Tabs-panel--description tbody td:first-child, .woocommerce-Tabs-panel--description tbody th { width: 28%; font-weight: 600; color: var(--ink); background: var(--soft); }
.woocommerce-Tabs-panel--description tr:last-child > th { border-bottom: 0; }
.woocommerce-Tabs-panel--description blockquote { margin-block: 1.6em; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 14px 14px 0; color: var(--ink); }
/* Câu miễn trừ cuối bài ("Thực phẩm này không phải là thuốc…") */
.woocommerce-Tabs-panel--description > p:last-child:has(> em:only-child) { margin-top: 1.8em; padding: 12px 16px; font-size: 14px; line-height: 1.6; color: var(--text); background: var(--soft); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; }
@media (max-width: 767.98px) {
	.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description { padding: 20px 16px 24px; font-size: 15px; line-height: 1.75; }
	.woocommerce-Tabs-panel--description h2 { margin-top: 1.8em; font-size: 19.5px; }
	.woocommerce-Tabs-panel--description h2::before { width: 28px; margin-bottom: 9px; }
	.woocommerce-Tabs-panel--description h3 { font-size: 16.5px; }
	.woocommerce-Tabs-panel--description figure, .woocommerce-Tabs-panel--description .wp-caption { margin-block: 1.4em; }
	.woocommerce-Tabs-panel--description figure img { border-radius: 12px; }
	.woocommerce-Tabs-panel--description table, .woocommerce table.shop_attributes { font-size: 14px; border-radius: 12px; }
	.woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 9px 12px; }
	.woocommerce-Tabs-panel--description tbody td:first-child, .woocommerce-Tabs-panel--description tbody th, .woocommerce table.shop_attributes th { width: 36%; }
}
.related > h2, .upsells > h2, .up-sells > h2, .cross-sells > h2 { font-size: 24px; font-weight: 800; margin: 10px 0 20px; }
@media (min-width: 1240px) { .related ul.products, .upsells ul.products, .up-sells ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
#reviews .comment-reply-title { font-size: 18px; font-weight: 700; }
#reviews #comments ol.commentlist li .comment-text { border-radius: 14px; border-color: var(--line); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #F5A623; }

/* Cart & checkout */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table th { padding: 14px 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.woocommerce table.shop_table td.product-name a { color: var(--ink); font-weight: 600; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 10px; border: 1px solid var(--line); }
.woocommerce a.remove { width: 28px; height: 28px; line-height: 26px; color: var(--muted) !important; border: 1px solid var(--line); font-weight: 400; }
.woocommerce a.remove:hover { background: var(--brand) !important; color: #fff !important; border-color: var(--brand); }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; margin-right: 8px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 460px; padding: 22px; border-radius: 18px; background: var(--soft); }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 20px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { background: #fff; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { min-height: 54px; font-size: 16px; }
@media (max-width: 767.98px) {
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td { padding: 10px 14px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; margin: 0 0 8px; }
}
.woocommerce form.checkout { display: grid; gap: 28px; }
@media (min-width: 1024px) {
	.woocommerce form.checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
	.woocommerce form.checkout > .col2-set { grid-column: 1; grid-row: 1 / span 3; }
	.woocommerce form.checkout > #order_review_heading, .woocommerce form.checkout > #order_review { grid-column: 2; }
	.woocommerce form.checkout > #order_review { position: sticky; top: calc(var(--header-h) + 72px); }
}
.woocommerce form.checkout .col2-set .col-1, .woocommerce form.checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce form.checkout h3, #order_review_heading { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
#order_review { padding: 22px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
#order_review table.shop_table { background: #fff; }
.woocommerce-checkout #payment { background: #fff !important; border-radius: 16px !important; border: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--soft) !important; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--soft) !important; }
.woocommerce #payment #place_order { width: 100%; min-height: 56px; font-size: 16.5px; float: none; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 6px; font-size: 14px; }
.select2-container .select2-selection--single { height: 46px !important; border: 1.5px solid var(--line-2) !important; border-radius: var(--radius-sm) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 43px !important; padding-left: 14px !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 44px !important; right: 8px !important; }
.select2-dropdown { border-color: var(--line-2) !important; border-radius: 10px !important; overflow: hidden; }

/* My account */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 1024px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; background: var(--soft); border-radius: 16px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { color: #fff; background: var(--brand); }
.woocommerce form.login, .woocommerce form.register { padding: 24px !important; margin: 0 0 20px !important; border: 1px solid var(--line) !important; border-radius: 18px !important; background: #fff; }
.woocommerce .col2-set#customer_login { display: grid; gap: 24px; }
@media (min-width: 768px) { .woocommerce .col2-set#customer_login { grid-template-columns: 1fr 1fr; } }
.woocommerce .col2-set#customer_login .col-1, .woocommerce .col2-set#customer_login .col-2 { float: none; width: auto; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }

/* Mini cart (drawer) */
.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 14px 32px 14px 0 !important; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-mini-cart-item a:not(.remove) { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; line-height: 1.35; }
.woocommerce-mini-cart-item img { width: 64px !important; height: 64px !important; object-fit: contain; float: none !important; margin: 0 !important; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--muted); font-size: 13.5px; }
.woocommerce-mini-cart-item .quantity .amount { color: var(--brand-600); font-weight: 700; }
.woocommerce-mini-cart-item a.remove { position: absolute !important; top: 14px; right: 0; left: auto !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 16px 0; font-size: 15px; color: var(--ink); }
.woocommerce-mini-cart__total .amount { font-size: 19px; font-weight: 800; color: var(--brand-600); }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { color: var(--ink); background: var(--soft); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { color: #fff; background: var(--ink); }
.woocommerce-mini-cart__empty-message { padding: 36px 0; text-align: center; color: var(--muted); }

/* ---------- 20. CTA band + footer ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 60%, var(--brand-800) 100%); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -220px; }
.cta-band::after { width: 260px; height: 260px; left: -90px; bottom: -150px; background: rgba(217, 168, 87, .12); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; padding-block: 40px; }
@media (min-width: 1024px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 56px; } }
.cta-band h2 { color: #fff; font-size: clamp(22px, 1.8vw + 14px, 32px); font-weight: 800; margin: 10px 0 8px; letter-spacing: -.02em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { color: rgba(246, 234, 220, .78); background: #24150C; font-size: 14px; }
.footer__grid { display: grid; gap: 32px; padding-block: 48px 36px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.35fr 1.2fr .9fr .9fr; gap: 44px; padding-block: 64px 44px; } }
.footer__brand .logo { justify-self: start; }
.footer__brand .logo__img { height: 48px; }
.footer__about { margin: 18px 0 18px; line-height: 1.75; max-width: 36ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--brand); transform: translateY(-2px); }
.footer__social .icon { width: 22px; height: 22px; }
.footer__social .icon-zalo { width: 26px; height: 26px; }
.footer__title { position: relative; margin: 0 0 18px; padding-bottom: 12px; font-size: 15.5px; color: #fff; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.footer__links, .footer__contact { margin: 0; padding: 0; list-style: none; }
.footer__links li + li { margin-top: 9px; }
.footer__links a { color: rgba(255, 238, 233, .78); transition: color .2s, padding .25s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer__contact li + li { margin-top: 12px; }
.footer__contact .icon { width: 19px; height: 19px; margin-top: 2px; color: var(--gold); }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: #1A0E07; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 16px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom strong { color: #fff; }
.footer__pay { display: inline-flex; align-items: center; gap: 8px; }
.footer__pay .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- 21. Floating contact + mobile bar ---------- */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 55; display: none; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .float-contact { display: flex; } }
.float-contact__btn { position: relative; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; color: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), opacity .25s; }
.float-contact__btn:hover { transform: scale(1.08); color: #fff; }
.float-contact__btn .icon { width: 24px; height: 24px; }
.float-contact__btn--zalo { background: #fff; }
.float-contact__btn--zalo .icon-zalo { width: 50px; height: 50px; }
.float-contact__btn--zalo .icon-zalo rect { rx: 25; }
.float-contact__btn--call { background: var(--brand); }
.float-contact__btn--call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); z-index: -1; animation: ring 2s infinite; }
.float-contact__btn--top { color: var(--ink); background: #fff; opacity: 0; pointer-events: none; }
.float-contact__btn--top.is-visible { opacity: 1; pointer-events: auto; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(35, 27, 23, .35);
}
@media (min-width: 1024px) { .mbar { display: none; } }
.mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; font-size: 11px; font-weight: 600; color: var(--muted); background: none; border: 0; }
.mbar a.is-active, .mbar a:hover, .mbar button:hover { color: var(--brand); }
.mbar .icon { width: 23px; height: 23px; }
.mbar__icon { position: relative; line-height: 0; }
.mbar__icon .cart-count { top: -6px; right: -10px; }
.mbar__call { color: var(--brand-700) !important; }
.mbar__call-ring { display: grid; place-items: center; width: 48px; height: 48px; margin-top: -26px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); box-shadow: var(--shadow-brand); border: 4px solid #fff; }
.mbar__call-ring .icon { width: 22px; height: 22px; }

/* ---------- 22. Nội dung cũ dựng bằng Flatsome ---------- */
.fs-row, .fs-row-inner { display: grid; gap: 20px; margin: 1.2em 0; }
@media (min-width: 768px) { .fs-row, .fs-row-inner { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.fs-gap { height: 24px; }
.fs-divider { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.fs-ux-slider { display: grid; gap: 12px; }
.fs-image { border-radius: 14px; }

/* ---------- 23. Mobile gọn — nhiều thông tin trên một màn hình ---------- */
.cat-chips, .pbar { display: none; }

@media (max-width: 1023.98px) {
	/* Danh mục dạng nút trượt (cửa hàng) thay sidebar */
	.cat-chips {
		display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 10px; padding: 2px var(--gutter) 4px;
		overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
	}
	.cat-chips::-webkit-scrollbar { display: none; }
	.cat-chip { flex: none; scroll-snap-align: start; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
	.cat-chip small { margin-left: 2px; font-weight: 500; color: var(--muted); }
	.cat-chip.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
	.cat-chips--sub .cat-chip { font-weight: 500; background: #fff; }
	.shop-sidebar { display: none; }

	/* Thanh mua hàng cố định trên trang sản phẩm */
	.single-product .mbar { display: none; }
	.pbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		display: grid; grid-template-columns: 48px 48px 48px minmax(0, 1fr); gap: 4px; align-items: center;
		height: calc(64px + env(safe-area-inset-bottom)); padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(35, 27, 23, .35);
	}
	.pbar__icon { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; font-size: 10.5px; font-weight: 600; color: var(--muted); background: none; border: 0; }
	.pbar__icon .icon { width: 22px; height: 22px; color: var(--ink); }
	.pbar__icon .icon-zalo { width: 23px; height: 23px; }
	.pbar__icon .cart-count { top: -6px; right: -10px; }
	.pbar__buy {
		display: flex; flex-direction: column; align-items: center; justify-content: center; height: 50px; padding: 0 10px;
		color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); border: 0; border-radius: 14px; box-shadow: var(--shadow-brand); line-height: 1.15;
	}
	.pbar__buy:hover { color: #fff; }
	.pbar__buy span { font-size: 14.5px; font-weight: 700; }
	.pbar__buy small { font-size: 12px; opacity: .92; }
	.pbar__buy small .amount, .pbar__buy small bdi { color: #fff; }
}

@media (max-width: 767.98px) {
	/* Header gọn */
	.topbar { display: none; }
	.header__inner { min-height: 56px; gap: 6px; }
	.header__inner .logo .logo__img { height: 34px; }
	.icon-btn { width: 40px; height: 40px; }
	.hact__icon { width: 38px; height: 38px; }
	.header__search--mobile { padding-bottom: 8px; }
	.header__search--mobile .search-form__input { height: 40px; padding-left: 16px !important; font-size: 14px; }
	.header__search--mobile .search-form__btn { top: 4px; right: 4px; width: 32px; height: 32px; }

	/* Khoảng cách & tiêu đề khu vực */
	.section { padding-block: 22px; }
	.section--tight { padding-block: 16px 28px; }
	.section-head { flex-wrap: nowrap; align-items: center; gap: 6px 12px; margin-bottom: 12px; }
	.section-head .eyebrow { display: none; }
	.section-title { margin: 0; font-size: 19px; }
	.link-more { flex: none; font-size: 13px; border: 0; padding: 0; }
	.section-head--tabs { flex-direction: column; align-items: stretch; }
	.tabs { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 2px; }
	.tabs__btn { padding: 7px 13px; font-size: 13px; }

	/* Banner: chữ đè lên ảnh, gọn */
	.hero { padding-top: 10px; }
	.hero__grid, .hero__side { gap: 8px; }
	.hero__main { min-height: 196px; border-radius: 16px; }
	.hero__slide { display: flex; align-items: center; }
	.hero__dots { right: 8px; bottom: 6px; padding: 1px 4px; }
	.hero__dot { width: 16px; height: 18px; }
	.hero__dot[aria-current="true"] { width: 26px; }
	.hero__dot::before { width: 6px; height: 6px; }
	.hero__dot[aria-current="true"]::before { width: 18px; }
	.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; object-position: 74% 50%; }
	.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 250, 246, .96) 0%, rgba(255, 250, 246, .84) 50%, rgba(255, 250, 246, .1) 88%); }
	.hero__content { max-width: 76%; padding: 16px; }
	.hero__content .eyebrow { font-size: 10px; letter-spacing: .12em; }
	.hero__content .eyebrow::before { width: 14px; }
	.hero__title { margin: 6px 0 10px; font-size: 20px; }
	.hero__text, .hero__actions .btn--outline { display: none; }
	.hero__actions .btn { min-height: 36px; padding: .4em 1.1em; font-size: 13px; }
	.promo { aspect-ratio: 16 / 9.5; border-radius: 14px; }
	.promo__text { padding: 10px; }
	.promo__kicker { display: none; }
	.promo__text strong { font-size: 13.5px; }

	/* Cam kết: 1 hàng 4 icon */
	.usp { padding-top: 8px; }
	.usp__grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.usp__item { flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; text-align: center; border-radius: 12px; }
	.usp__icon { width: 34px; height: 34px; border-radius: 10px; }
	.usp__icon .icon { width: 19px; height: 19px; }
	.usp__item > div > strong { font-size: 11px; font-weight: 600; line-height: 1.25; }
	.usp__item > div > span { display: none; }

	/* Danh mục: lưới 4 x 2, hiện đủ 8 */
	.catgrid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 12px 6px; margin: 0; padding: 0; overflow: visible; }
	.catcard { gap: 4px; padding: 0; background: none; border: 0; }
	.catcard:hover { box-shadow: none; transform: none; }
	.catcard__media { width: 62px; height: 62px; margin-bottom: 2px; }
	.catcard__media .icon { width: 26px; height: 26px; }
	.catcard__name { font-size: 11.5px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.catcard__count { display: none; }

	/* Thẻ sản phẩm gọn: giá + nút giỏ tròn cùng hàng */
	ul.products, .pgrid { gap: 8px; }
	.woocommerce ul.products li.product, .pcard { --pcard-r: 12px; --pcard-inset: 4px; }
	.pcard__badges { top: calc(var(--pcard-inset) + 4px); left: calc(var(--pcard-inset) + 4px); gap: 3px; }
	.badge { padding: 2px 7px; font-size: 10px; }
	.pcard__body { gap: 2px; padding: 8px 9px 9px; }
	.pcard__cat { display: none; }
	.woocommerce ul.products li.product .pcard__title, .pcard__title { height: 2.76em; font-size: 13px; font-weight: 500; line-height: 1.38; }
	.pcard__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; padding-top: 6px; }
	.pcard__price, .pcard__price .price { min-width: 0; font-size: 14.5px; line-height: 1.2; }
	.pcard__price del { display: block; margin: 0 0 1px; font-size: 11.5px; }
	.price-contact { font-size: 13.5px; }
	.woocommerce ul.products li.product .button.pcard__cart, .pcard__cart.button {
		position: relative; flex: none; width: 34px; height: 34px; min-height: 34px; padding: 0; font-size: 0; border-radius: 50%;
	}
	.pcard__cart::before {
		content: ""; width: 18px; height: 18px; 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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.2a1.9 1.9 0 0 1-1.9 1.8H8.9A1.9 1.9 0 0 1 7 20.2z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12.2a1.9 1.9 0 0 1-1.9 1.8H8.9A1.9 1.9 0 0 1 7 20.2z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.pcard__cart:not(.add_to_cart_button)::before {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	}
	.pcard__cart.added::after { content: none; }

	/* Hàng trượt: ~2.2 thẻ (đủ chỗ cho giá 7 chữ số + nút giỏ) */
	.pgrid--rail { grid-auto-columns: calc((100% - 16px) / 2.2); padding-bottom: 6px !important; }
	.pcard__price, .pcard__price .price { font-size: 14px; letter-spacing: -.01em; }
	.pcard__price { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

	/* Tab: lưới trượt 2 hàng — 4 sản phẩm / màn hình */
	.tabpane .pgrid {
		grid-template-columns: none !important; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2.2);
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin: 0 calc(-1 * var(--gutter)) !important; padding: 2px var(--gutter) 6px !important; scroll-padding-inline: var(--gutter);
	}
	.tabpane .pgrid::-webkit-scrollbar { display: none; }
	.tabpane .pgrid > li { scroll-snap-align: start; }
	.tabpane__more { margin-top: 12px; }
	.tabpane__more .btn { min-height: 38px; font-size: 13px; }

	/* Banner sâm */
	.band { align-items: center; min-height: 168px; border-radius: 16px; }
	.band::before { background: linear-gradient(90deg, rgba(30, 10, 4, .86) 0%, rgba(30, 10, 4, .55) 62%, rgba(30, 10, 4, .15) 100%); }
	.band__content { max-width: 78%; gap: 8px; padding: 16px; }
	.band__content .eyebrow, .band__text { display: none; }
	.band__title { font-size: 19px; }
	.band .btn { min-height: 34px; padding: .35em 1em; font-size: 12.5px; }

	/* Về chúng tôi */
	.story__media { display: none; }
	.story__text p { margin: 8px 0 12px; font-size: 14px; }
	.stats { gap: 6px; margin-bottom: 14px; }
	.stats li { padding: 10px 6px; }
	.stats strong { font-size: 20px; }
	.stats span { font-size: 11px; }
	.story .btn { min-height: 38px; font-size: 13px; }

	/* Bài viết: danh sách ảnh nhỏ */
	.postgrid { gap: 10px; }
	.post-card { flex-direction: row; border-radius: 12px; }
	.post-card__media { flex: none; width: 108px; aspect-ratio: 1 / 1; }
	.post-card__body { gap: 4px; padding: 10px 12px; }
	.post-card__title { font-size: 14px; -webkit-line-clamp: 3; }
	.post-card__excerpt { display: none; }
	.post-meta { gap: 6px 10px; font-size: 11.5px; }
	.post-meta__cat { padding: 1px 8px; font-size: 11px; }

	/* Dải tư vấn + footer */
	.cta-band__inner { gap: 12px; padding-block: 20px; }
	.cta-band .eyebrow, .cta-band p { display: none; }
	.cta-band h2 { margin: 0; font-size: 18px; }
	.cta-band__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.cta-band__actions .btn { min-height: 42px; padding-inline: .8em; font-size: 13.5px; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-block: 26px 18px; }
	.footer__brand, .footer__grid > .footer__col:nth-child(2) { grid-column: 1 / -1; }
	.footer__brand .logo__img { height: 40px; }
	.footer__about { margin: 10px 0 12px; font-size: 13px; }
	.footer__title { margin-bottom: 10px; padding-bottom: 8px; font-size: 14px; }
	.footer__links li + li { margin-top: 6px; }
	.footer__links a, .footer__contact { font-size: 13px; }
	.footer__contact li + li { margin-top: 8px; }
	.footer__bottom-inner { flex-direction: column; gap: 4px; padding-block: 12px; font-size: 12px; }

	/* Trang con, cửa hàng */
	.page-hero { padding: 14px 0 12px; }
	.page-hero__title { font-size: 22px; }
	.page-hero__desc { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.breadcrumbs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 12px; }
	.breadcrumbs::-webkit-scrollbar { display: none; }
	.shop-main .breadcrumbs { padding: 10px 0 2px; }
	.shop-head { padding: 4px 0 10px; }
	.shop-head__title { font-size: 21px; }
	.shop-head .term-description, .shop-head .page-description { margin-top: 4px; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.shop-layout { gap: 0; padding-bottom: 28px; }
	.shop-toolbar { flex-wrap: nowrap; justify-content: flex-end; margin-bottom: 10px; }
	.shop-toolbar .woocommerce-result-count { display: none; }
	.shop-toolbar .woocommerce-ordering select { width: 160px; min-width: 0; min-height: 36px; padding: 4px 30px 4px 12px; font-size: 13px; background-position: right 10px center; }

	/* Chi tiết sản phẩm */
	.single-product div.product { gap: 14px; padding-bottom: 20px; }
	.woocommerce div.product .product_title { margin-bottom: 6px; font-size: 19px; }
	.woocommerce div.product p.price { margin: 4px 0 12px; padding: 10px 14px; font-size: 21px; border-radius: 12px; }
	.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 12px; font-size: 14px; }
	.woocommerce div.product form.cart { gap: 8px; margin-bottom: 12px !important; }
	.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { gap: 8px; }
	.woocommerce div.product form.cart table.variations tr { display: grid; gap: 6px; padding: 4px 0; }
	.woocommerce div.product form.cart .variations th.label, .woocommerce div.product form.cart .variations td.value { width: auto; padding: 0; text-align: left; }
	.woocommerce .quantity .qty { width: 76px; min-height: 46px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { min-width: 0; min-height: 46px; font-size: 15px; }
	.assure { margin-bottom: 12px; padding: 10px; }
	.assure__list { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
	.assure__list li { flex-direction: column; gap: 4px; font-size: 11px; text-align: center; }
	.assure__list .icon { width: 20px; height: 20px; }
	.assure__call { padding: 8px 10px; }
	.assure__call > .icon { width: 28px; height: 28px; padding: 7px; }
	.assure__call strong { font-size: 16px; }
	.woocommerce div.product div.images .flex-control-thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { margin-bottom: 12px !important; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 7px 14px !important; font-size: 13.5px; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 14px; font-size: 14.5px; line-height: 1.7; border-radius: 14px; }
	.related > h2, .upsells > h2, .up-sells > h2 { margin: 4px 0 10px; font-size: 18px; }
	.related ul.products, .upsells ul.products, .up-sells ul.products {
		grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2.2);
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin: 0 calc(-1 * var(--gutter)) !important; padding: 2px var(--gutter) 6px !important;
	}
	.related ul.products > li, .upsells ul.products > li { scroll-snap-align: start; }

	/* Bài viết chi tiết */
	.article__head { padding-top: 14px; }
	.article__title { margin-bottom: 14px; font-size: 22px; }
	.article__cover { margin-bottom: 18px; }
	.entry { font-size: 15.5px; line-height: 1.75; }
}

@media (max-width: 399.98px) {
	.hero__content .eyebrow { display: none; }
	.hero__content { max-width: 80%; }
}

/* ---------- 23b. Trang giỏ hàng ----------
   Theme bỏ woocommerce-smallscreen.css → tự dựng bố cục mobile: mỗi sản phẩm một thẻ, tổng tiền gọn,
   thanh .pbar--cart (footer.php) thay thanh điều hướng. main.js thêm nút −/+ và tự cập nhật giỏ. */
.woocommerce-cart-form .quantity.has-steppers { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.woocommerce-cart-form .quantity.has-steppers .qty {
	width: 44px; min-height: 0; height: 38px; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink);
	background: none; border: 0; border-radius: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield;
}
.woocommerce-cart-form .quantity.has-steppers .qty::-webkit-inner-spin-button, .woocommerce-cart-form .quantity.has-steppers .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; font-size: 19px; line-height: 1; color: var(--ink); background: none; border: 0; cursor: pointer; }
.qty-btn:hover { color: var(--brand); background: var(--brand-50); }
.cart-auto .woocommerce-cart-form [name="update_cart"] { display: none; }
.cart-auto .woocommerce table.cart td.actions:not(:has(.coupon)) { display: none; } /* không mã giảm giá + tự cập nhật → hàng trống */
@media (min-width: 768px) { .woocommerce-cart table.cart .product-thumbnail { width: 104px; } }
.cart-continue { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 22px; font-size: 14px; font-weight: 600; color: var(--brand-600); }
.cart-continue .icon { width: 18px; height: 18px; }
.cart-continue:hover { color: var(--brand-700); }
.cart-assure { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; list-style: none; font-size: 13.5px; color: var(--text); border-top: 1px dashed var(--line-2); }
.cart-assure li { display: flex; align-items: center; gap: 10px; margin: 0; }
.cart-assure .icon { flex: none; width: 20px; height: 20px; color: var(--brand); }
.cart-assure a { font-weight: 700; color: var(--brand-700); white-space: nowrap; }
.cart_totals .woocommerce-shipping-destination { margin: 0; }
.pbar.pbar--cart { display: none; }

@media (max-width: 1023.98px) {
	.has-cbar .mbar, .has-cbar .wc-proceed-to-checkout { display: none; }
	.has-cbar .pbar.pbar--cart { display: grid; grid-template-columns: 40px 40px minmax(0, 1fr) auto; gap: 2px; }
	.pbar__total { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0 6px; line-height: 1.2; }
	.pbar__total small { font-size: 11.5px; color: var(--muted); }
	.pbar__total strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; color: var(--brand-700); }
	.pbar--cart .pbar__buy { flex-direction: row; gap: 5px; padding: 0 14px; }
	.pbar--cart .pbar__buy span { font-size: 15px; }
	.pbar--cart .pbar__buy .icon { width: 16px; height: 16px; }
}

@media (max-width: 767.98px) {
	/* Danh sách sản phẩm: thẻ */
	.woocommerce table.shop_table.cart { display: block; margin: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
	.woocommerce table.shop_table.cart thead { display: none; }
	.woocommerce table.shop_table.cart tbody { display: grid; gap: 10px; }
	.woocommerce table.shop_table.cart tbody tr:not(.cart_item) { display: block; }
	.woocommerce table.shop_table.cart tr.cart_item {
		position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center;
		grid-template-areas: "thumb name name" "thumb price price" "thumb qty sub"; gap: 4px 12px;
		padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
	}
	.woocommerce table.shop_table.cart tr.cart_item td { display: block; padding: 0; text-align: left; background: none; border: 0; }
	.woocommerce table.shop_table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; align-self: start; min-width: 0; }
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img { display: block; width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 12px; }
	.woocommerce table.shop_table.cart tr.cart_item td.product-name { grid-area: name; align-self: start; padding-right: 30px; font-size: 14px; line-height: 1.4; }
	.woocommerce table.shop_table.cart td.product-name dl.variation, .woocommerce table.shop_table.cart td.product-name .backorder_notification { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
	.woocommerce table.shop_table.cart tr.cart_item td.product-price { grid-area: price; font-size: 12.5px; color: var(--muted); }
	.woocommerce table.shop_table.cart tr.cart_item td.product-price::before { content: attr(data-title) ": "; }
	.woocommerce table.shop_table.cart tr.cart_item td.product-quantity { grid-area: qty; margin-top: 4px; }
	.woocommerce table.shop_table.cart tr.cart_item td.product-subtotal { grid-area: sub; margin-top: 4px; text-align: right; font-size: 15.5px; font-weight: 800; color: var(--brand-700); }
	.woocommerce table.shop_table.cart tr.cart_item td.product-remove { position: absolute; top: 8px; right: 8px; }
	.woocommerce table.shop_table.cart td.product-remove a.remove { width: 30px; height: 30px; font-size: 20px; line-height: 28px; background: #fff; }
	.woocommerce-cart-form .quantity.has-steppers .qty { width: 40px; height: 34px; }
	.qty-btn { width: 34px; height: 34px; }
	/* Hàng mã giảm giá / nút cập nhật (không còn gì hiển thị thì không chiếm chỗ) */
	.woocommerce table.shop_table.cart td.actions { display: block; padding: 0; text-align: left; border: 0; }
	.woocommerce table.shop_table.cart td.actions .coupon { display: flex; gap: 8px; float: none; margin: 4px 0 0; }
	.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text { flex: 1; width: auto; min-width: 0; margin: 0; }
	.woocommerce table.shop_table.cart td.actions .button { float: none; width: auto; margin: 0; }
	.woocommerce table.shop_table.cart td.actions > .button[name="update_cart"] { width: 100%; margin-top: 10px; }
	.cart-continue { margin: 12px 0 18px; }
	/* Tổng tiền: hàng nhãn — số */
	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; max-width: none; padding: 16px; border-radius: 16px; }
	.woocommerce .cart-collaterals .cart_totals h2 { margin: 0 0 6px; font-size: 17px; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table { display: block; margin: 0; background: none; border: 0; border-radius: 0; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tbody { display: block; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line-2); }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr:first-child { border-top: 0; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table th, .woocommerce .cart-collaterals .cart_totals table.shop_table td {
		width: auto; padding: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); background: none; border: 0;
	}
	.woocommerce .cart-collaterals .cart_totals table.shop_table th { flex: none; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table td { text-align: right; }
	.woocommerce .cart-collaterals .cart_totals ul#shipping_method li { margin: 0; text-align: right; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total th { font-weight: 700; color: var(--ink); }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total td { font-size: 19px; font-weight: 800; color: var(--brand-700); }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr.order-total td strong { font-weight: inherit; }
	.woocommerce .cart-collaterals .cart_totals table.shop_table tr.shipping td { font-size: 13.5px; }
	.cart-assure { margin-top: 10px; font-size: 13px; }
	/* Giỏ trống */
	.woocommerce-cart .cart-empty.woocommerce-info { margin-bottom: 14px; }
	.woocommerce-cart .return-to-shop .button { width: 100%; min-height: 48px; }
}

@media (max-width: 399.98px) {
	.has-cbar .pbar.pbar--cart { grid-template-columns: 36px 36px minmax(0, 1fr) auto; }
	.pbar--cart .pbar__buy { padding: 0 12px; }
	.pbar--cart .pbar__buy .icon { display: none; }
	.woocommerce table.shop_table.cart tr.cart_item { grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 10px; }
	.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 72px; height: 72px; }
	.woocommerce table.shop_table.cart tr.cart_item td.product-subtotal { font-size: 14.5px; }
	.qty-btn { width: 30px; }
	.woocommerce-cart-form .quantity.has-steppers .qty { width: 34px; }
}

/* ---------- 24. Print ---------- */
@media print { .topbar, .site-header, .cta-band, .site-footer, .mbar, .float-contact, .drawer, .overlay { display: none !important; } body { padding: 0; } }

/* ==========================================================================
   25. Nguyễn CPR — nhận diện cà phê (đè lên phần nền ở trên)
   ========================================================================== */

/* ---------- 25.1 Topbar, header, menu ---------- */
.topbar { background: var(--espresso); color: #E9DAC6; }
.topbar__hot strong { color: var(--gold); }
.logo .logo__img { height: 38px; }
@media (min-width: 1024px) { .logo .logo__img { height: 50px; } }
.nav { background: var(--brand-900); border: 0; }
.nav__menu > li > a { color: #F3E7D8; font-weight: 500; letter-spacing: .01em; }
.nav__menu > li > a::after { bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.nav__menu > li > a:hover, .nav__menu > li.current-menu-item > a, .nav__menu > li.current-menu-ancestor > a, .nav__menu > li.current-menu-parent > a { color: var(--gold); }
.nav__menu > li.menu-item-has-children > a { padding-right: 26px; }
.nav__menu > li.menu-item-has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .7; }
.nav__hot { color: var(--gold); }
.nav__hot .icon { background: rgba(217, 168, 87, .16); }
.mega__toggle { color: var(--ink); background: linear-gradient(135deg, #E6BD74, var(--gold)); letter-spacing: .01em; }
.mega__panel { width: min(760px, calc(100vw - 2 * var(--gutter))); }
.mega .catmenu { columns: 2 260px; }
.mega .catmenu > li > a { font-weight: 600; }
.search-form__btn, .btn--primary, .mbar__call-ring, .woocommerce div.product form.cart .single_add_to_cart_button { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); }
.btn--gold { background: linear-gradient(135deg, #E9C27C, var(--gold)); font-weight: 700; }
.btn--white { color: var(--brand-800); }
.badge--sale { background: var(--cherry); }
.badge--gold { color: var(--ink); background: var(--gold); }
.badge--new { background: #3E7C4F; }
.price-contact { color: var(--brand); font-weight: 700; }
.section-title em, .hero__title em { color: var(--brand); }
::selection { color: #fff; background: var(--brand); }

/* ---------- 25.2 Hero nền tối: chữ trái, ảnh sản phẩm phải hoà vào nền ---------- */
.hero2 { position: relative; display: grid; color: #F7EBDD; background: radial-gradient(120% 140% at 18% 20%, #3A2314 0%, var(--espresso) 55%, #140B06 100%); overflow: hidden; isolation: isolate; }
.hero2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 168, 87, .5), transparent); z-index: 3; }
.hero2__slide { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.hero2__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.hero2__bg { width: 100%; aspect-ratio: 3 / 2; max-height: 300px; object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.hero2__inner { position: relative; width: 100%; }
.hero2__content { position: relative; margin-top: -34px; padding: 0 0 64px; max-width: 620px; }
.hero2__title { margin: 12px 0 12px; color: #fff; font-size: clamp(28px, 3.1vw + 13px, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.hero2__title em { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: 0; color: var(--gold); }
.hero2__text { margin: 0 0 22px; max-width: 46ch; font-size: 15.5px; line-height: 1.7; color: rgba(247, 235, 221, .82); }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero2__nav { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; pointer-events: none; }
.hero2__dots { display: inline-flex; gap: 6px; pointer-events: auto; }
.hero2__dot { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 0 0; color: rgba(247, 235, 221, .55); font-size: 12px; font-weight: 700; letter-spacing: .08em; background: none; border: 0; cursor: pointer; transition: color .3s; }
.hero2__dot::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; transition: width .4s var(--ease), opacity .3s; }
.hero2__dot[aria-current="true"] { color: var(--gold); }
.hero2__dot[aria-current="true"]::after { width: 46px; opacity: 1; }
.hero2__dot:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero2__slide, .hero2__slide.is-active { transition: none; } }
@media (min-width: 900px) {
	.hero2 { min-height: clamp(480px, 39vw, 640px); }
	.hero2__slide { flex-direction: row; align-items: center; }
	.hero2__bg { position: absolute; top: 0; right: 0; width: 64%; height: 100%; max-height: none; aspect-ratio: auto; object-position: 50% 50%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 46%); }
	.hero2__content { margin-top: 0; padding: 72px 0 96px; max-width: 560px; }
	.hero2__text { font-size: 17px; margin-bottom: 30px; }
	.hero2__nav { bottom: 34px; }
}
@media (min-width: 1500px) { .hero2__bg { width: 58%; } }

/* ---------- 25.3 USP dạng thanh, ô danh mục, ô nhóm hàng ---------- */
.usp--bar { padding-top: 0; background: var(--soft); border-bottom: 1px solid var(--line); }
.usp--bar .usp__grid { gap: 0; }
.usp--bar .usp__item { background: none; border: 0; border-radius: 0; padding: 16px 10px; }
.usp--bar a.usp__item:hover { box-shadow: none; transform: none; }
.usp--bar a.usp__item:hover strong { color: var(--brand); }
.usp--bar .usp__icon { color: var(--brand); background: #fff; border: 1px solid var(--line-2); border-radius: 50%; }
@media (min-width: 1024px) {
	.usp--bar .usp__item { padding: 22px 20px; }
	.usp--bar .usp__item + .usp__item { border-left: 1px solid var(--line-2); }
}
@media (min-width: 1024px) { .catgrid.catgrid--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.catgrid--5 .catcard { padding: 20px 12px 18px; border-radius: 18px; }
.catgrid--5 .catcard__media { border-radius: 22px; background: var(--soft-2); }
@media (min-width: 1024px) { .catgrid--5 .catcard__media { width: 132px; height: 132px; } .catgrid--5 .catcard__name { font-size: 15px; } }
.section--tiles { padding-block: 44px 0; }
@media (min-width: 1024px) { .section--tiles { padding-block: 72px 0; } }
.tiles { display: grid; gap: 14px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tiles .promo { aspect-ratio: 3 / 2; }
@media (min-width: 640px) { .tiles .promo { aspect-ratio: 4 / 5; } }
@media (min-width: 1024px) { .tiles .promo { aspect-ratio: 3 / 2.3; min-height: 0; } }
.tiles .promo::after { background: linear-gradient(180deg, rgba(20, 10, 5, 0) 28%, rgba(20, 10, 5, .55) 62%, rgba(20, 10, 5, .94) 100%); }
.tiles .promo__text strong { font-size: 19px; }
@media (min-width: 1024px) { .tiles .promo__text { padding: 26px; } .tiles .promo__text strong { font-size: 23px; } }

/* ---------- 25.4 Từ nông trại đến tách cà phê ---------- */
.process { position: relative; margin-top: 44px; padding-block: 52px; color: #EADBC8; background: radial-gradient(90% 120% at 85% 0%, #3B2415 0%, var(--espresso) 60%, #140B06 100%); overflow: hidden; }
.process::before { content: ""; position: absolute; right: -80px; top: -90px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(217, 168, 87, .18); box-shadow: 0 0 0 46px rgba(217, 168, 87, .05), 0 0 0 110px rgba(217, 168, 87, .03); }
.process > .container { position: relative; }
.process__head { max-width: 640px; margin-bottom: 30px; }
.process__head .section-title { color: #fff; }
.process__head .section-title em { color: var(--gold); }
.process__head p { margin: 14px 0 0; font-size: 16px; color: rgba(234, 219, 200, .8); }
.process__steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pstep { position: relative; padding: 22px 20px 20px; border: 1px solid rgba(217, 168, 87, .22); border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.pstep:hover { border-color: rgba(217, 168, 87, .6); transform: translateY(-4px); background: linear-gradient(160deg, rgba(217, 168, 87, .12), rgba(255, 255, 255, .02)); }
.pstep__num { position: absolute; top: 16px; right: 18px; font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 600; line-height: 1; color: rgba(217, 168, 87, .38); }
.pstep__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--espresso); background: linear-gradient(135deg, #E9C27C, var(--gold)); }
.pstep__icon .icon { width: 26px; height: 26px; }
.pstep__title { margin: 16px 0 6px; font-size: 17px; color: #fff; }
.pstep__text { margin: 0; font-size: 14px; line-height: 1.65; color: rgba(234, 219, 200, .78); }
@media (min-width: 640px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.process { margin-top: 72px; padding-block: 84px; }
	.process__head { margin-bottom: 44px; }
	.process__steps { grid-template-columns: repeat(5, 1fr); gap: 18px; }
	.pstep { padding: 26px 22px 24px; }
}

/* ---------- 25.5 Dải xưởng rang, chuyện thương hiệu ---------- */
.section--band { padding-top: 0; }
.band { border-radius: 26px; }
.band::before { background: linear-gradient(0deg, rgba(20, 10, 5, .92) 0%, rgba(20, 10, 5, .6) 55%, rgba(20, 10, 5, .2) 100%); }
@media (min-width: 768px) { .band { min-height: 420px; } .band::before { background: linear-gradient(90deg, rgba(20, 10, 5, .92) 0%, rgba(20, 10, 5, .66) 42%, rgba(20, 10, 5, 0) 78%); } }
.story__media::before { border-color: var(--gold); }
.story__badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; color: #F7EBDD; background: rgba(31, 18, 11, .86); backdrop-filter: blur(8px); border: 1px solid rgba(217, 168, 87, .35); border-radius: 16px; }
.story__media .story__badge img { width: 46px; height: auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.story__badge span { display: flex; flex-direction: column; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
.story__badge strong { font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gold); }
.stats--text li { text-align: left; padding: 16px 14px; border: 1px solid var(--line); background: var(--soft); }
.stats--text strong { display: block; font-size: 16.5px; color: var(--brand); line-height: 1.25; }
.stats--text span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.story__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 479.98px) { .stats--text { grid-template-columns: 1fr; } }

/* ---------- 25.6 CTA + footer ---------- */
.cta-band { background: linear-gradient(120deg, #8A5A2F 0%, var(--brand-700) 55%, var(--brand-900) 100%); }
.footer__brand .logo__img { height: 54px; }
.footer__links a { color: rgba(246, 234, 220, .78); }
.footer__social a:hover { background: var(--gold); color: var(--ink); }
.footer__contact span a + a { margin-left: 0; }
.mbar .is-active, .mbar a:hover { color: var(--brand); }

/* ---------- 25.7 Trang giới thiệu / liên hệ / chính sách (nội dung dựng bằng HTML thuần) ---------- */
.lead { font-size: 18px; line-height: 1.75; color: var(--ink); }
.cpr-hero { position: relative; display: grid; align-items: end; min-height: 300px; margin: 0 0 36px; overflow: hidden; border-radius: 24px; color: #fff; isolation: isolate; }
.cpr-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; margin: 0 !important; border-radius: 0 !important; }
.cpr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 10, 5, .88) 0%, rgba(20, 10, 5, .25) 70%); }
.cpr-hero__text { padding: 26px 24px; max-width: 680px; }
.cpr-hero__text strong { display: block; font-size: clamp(24px, 2.4vw + 12px, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.cpr-hero__text span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .86); }
@media (min-width: 768px) { .cpr-hero { min-height: 420px; } .cpr-hero__text { padding: 44px; } }
.cpr-grid { display: grid; gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cpr-grid { grid-template-columns: repeat(2, 1fr); } .cpr-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.entry .cpr-grid > li, .cpr-card { margin: 0; padding: 22px 22px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--soft); }
.entry .cpr-grid > li::marker { content: none; }
.cpr-grid h3 { margin: 0 0 8px; font-size: 17px; color: var(--brand); }
.cpr-grid p { margin: 0; font-size: 15px; line-height: 1.7; }
.cpr-split { display: grid; gap: 24px; align-items: center; margin: 36px 0; }
@media (min-width: 768px) { .cpr-split { grid-template-columns: 1fr 1fr; gap: 44px; } .cpr-split--rev > :first-child { order: 2; } }
.cpr-split img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); margin: 0 !important; }
.cpr-contact { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 900px) { .cpr-contact { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.cpr-contact__list { margin: 0; padding: 0; list-style: none; }
.entry .cpr-contact__list li { display: flex; gap: 14px; margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.entry .cpr-contact__list li::marker { content: none; }
.cpr-contact__list .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--brand); }
.cpr-contact__list strong { display: block; color: var(--ink); }
.cpr-form { padding: 26px 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line-2); }
.cpr-form h2 { margin-top: 0 !important; }
.cpr-form p { margin: 0 0 14px; }
.cpr-form label { display: block; font-size: 14px; }
.cpr-form label input, .cpr-form label textarea { margin-top: 6px; }
.cpr-form input[type="submit"] { min-height: 48px; padding: 0 30px; color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); border: 0; border-radius: 999px; cursor: pointer; }
.cpr-form .wpcf7-not-valid-tip { font-size: 13px; color: var(--cherry); }
.cpr-form .wpcf7-response-output { margin: 12px 0 0 !important; padding: 12px 14px !important; border-radius: 12px; font-size: 14px; }
.cpr-map { margin-top: 36px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); line-height: 0; }
.cpr-map iframe { width: 100%; height: 380px; border: 0; }

/* Các bước "từ nông trại đến tách cà phê" trên điện thoại: vuốt ngang thay vì xếp dọc 5 thẻ. */
@media (max-width: 639.98px) {
	.process__steps { grid-auto-flow: column; grid-auto-columns: 76%; grid-template-columns: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.process__steps::-webkit-scrollbar { display: none; }
	.pstep { scroll-snap-align: center; }
	.process { padding-block: 40px 34px; }
}
