/*
Theme Name: Kymdan Yêu Nệm Quảng Ninh
Theme URI: https://kymdanquangninh.com/
Author: Yêu Nệm
Description: Theme viết tay cho kymdanquangninh.com — đại lý nệm Kymdan chính hãng của Yêu Nệm tại Quảng Ninh. Dữ liệu trong inc/data.php, bảng giá tự sinh từ Excel, schema JSON-LD, form lưu đơn, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: kymdanqn
*/

/* ==========================================================================
   1. Tokens — phong cách học từ mẫu (nền nhạt, thẻ trắng bo 24px, bóng nổi mềm hai phía),
      màu thương hiệu Yêu Nệm (xanh lá #06493A, vàng #D4AF37)
   ========================================================================== */
:root {
	--c-primary: #06493A;
	--c-primary-dark: #043629;
	--c-primary-2: #388E3C;
	--c-accent: #D4AF37;
	--c-accent-dark: #B8962A;
	--c-accent-soft: #F6EDCB;
	--c-bg: #F4F8F5;
	--c-bg-alt: #EAF2EC;
	--c-bg-tint: #EEF5F0;
	--c-card: #ffffff;
	--c-bg-dark: #043629;
	--c-text: #26332D;
	--c-text-muted: #55655C;
	--c-text-invert: #ffffff;
	--c-border: rgba(6, 73, 58, 0.1);
	--c-mint: #DCEFE2;

	--grad-brand: linear-gradient(135deg, #388E3C 0%, #06493A 58%, #043629 100%);
	--grad-deep: linear-gradient(140deg, #043629 0%, #06493A 60%, #2F7D45 100%);
	--grad-light: linear-gradient(135deg, #ffffff 0%, #F1F8F3 50%, #E1F0E6 100%);

	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-script: "Great Vibes", "Brush Script MT", cursive;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.0625rem;
	--fs-h3: 1.0625rem;
	--fs-h2: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem);
	--fs-h1: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);

	--radius: 24px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow: 6px 6px 16px rgba(150, 180, 160, 0.32), -6px -6px 16px #ffffff;
	--shadow-lg: 10px 10px 30px rgba(150, 180, 160, 0.32), -10px -10px 30px #ffffff;
	--shadow-in: inset 3px 3px 8px rgba(150, 180, 160, 0.32), inset -3px -3px 8px #ffffff;
	--shadow-btn: 0 10px 22px rgba(6, 73, 58, 0.28);

	--space-section: clamp(3.25rem, 2.4rem + 3.5vw, 5.5rem);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 84px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.7; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-2); }
h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.2; text-wrap: balance; margin: 0 0 0.6em; color: var(--c-primary); }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.script { display: block; font-family: var(--f-script); font-weight: 400; font-size: 1.25em; line-height: 1.1; color: var(--c-primary-2); letter-spacing: 0; }
h2 .script { display: inline; font-size: 1.3em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--c-bg-alt); }
.section--tint { background: var(--c-bg-tint); }
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__eyebrow, .eyebrow-line { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary-2); }
.section__head .section__eyebrow::before, .section__head .section__eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: 0.6; }
.eyebrow-line::after { content: ""; width: 52px; height: 2px; background: currentColor; }
.eyebrow-line--light { color: var(--c-accent); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.prose p { text-align: justify; text-align-last: left; color: var(--c-text-muted); }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.center-link { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 2.5rem 0 0; }
.soft-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c-bg); box-shadow: var(--shadow); color: var(--c-primary); }
.soft-icon--lg { width: 60px; height: 60px; }
.soft-icon--lg .icon { width: 28px; height: 28px; }

/* ==========================================================================
   3. Nút — viên thuốc, nền gradient, bóng đổ màu
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 28px rgba(6, 73, 58, 0.34); }
.btn--accent { background: linear-gradient(135deg, #E6C55A, #D4AF37 55%, #B8962A); color: #2B230A; box-shadow: 0 10px 22px rgba(184, 150, 42, 0.32); }
.btn--accent:hover { color: #2B230A; }
.btn--outline, .btn--ghost { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn--outline:hover, .btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Topbar + Header nổi bo tròn
   ========================================================================== */
.topbar { background: var(--c-primary-dark); color: rgba(255, 255, 255, 0.85); font-size: 0.78rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar__right { display: none; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__right .icon { width: 14px; height: 14px; }
.site-header { position: sticky; top: 0; z-index: 100; padding-block: 12px; background: var(--c-bg); transition: padding 0.2s; }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 10px 8px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.site-header.is-scrolled { padding-block: 6px; }
.custom-logo-link { display: block; flex: none; }
.custom-logo { width: auto; max-height: 46px; }
.site-logo { font-weight: 800; color: var(--c-primary); text-decoration: none; }
.site-header__tag { display: none; padding-left: 14px; border-left: 1px solid var(--c-border); font-size: 0.72rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary-2); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg); box-shadow: var(--shadow); color: var(--c-primary); font-size: 0.72rem; font-weight: 700; text-decoration: none; }
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn--zalo { color: #0068ff; }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-bg); box-shadow: var(--shadow); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: var(--c-primary); position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
.primary-nav { position: fixed; inset: calc(var(--header-h) + 34px) 0 0 0; z-index: 99; background: var(--c-bg); padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.nav-open .primary-nav { transform: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a, .primary-nav .children a { padding-left: 16px; font-weight: 500; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav a:hover { color: var(--c-primary); }

/* ==========================================================================
   5. Hero chia đôi trong khung bo tròn
   ========================================================================== */
.hero { padding-block: 8px 0; }
.hero__card { display: grid; gap: 28px; padding: 28px 20px; border-radius: 32px; background: var(--grad-light); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__title { margin-bottom: 1rem; text-wrap: balance; }
.hero__title .script { margin-top: 0.1em; font-size: 1.15em; }
.hero__lead { max-width: 560px; color: var(--c-text-muted); font-size: 1.02rem; text-align: justify; text-align-last: left; }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 1.5rem 0; }
.hero__trust { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; font-weight: 500; line-height: 1.35; color: var(--c-text); }
.hero__trust li { display: flex; align-items: center; gap: 12px; }
.hero__trust .soft-icon { width: 40px; height: 40px; background: #fff; }
.hero__trust .icon { width: 20px; height: 20px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__badge-card { position: absolute; left: 16px; bottom: -14px; display: flex; flex-direction: column; padding: 10px 18px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-lg); line-height: 1.2; }
.hero__badge-card strong { font-size: 1.4rem; color: var(--c-accent-dark); }
.hero__badge-card span { font-size: 0.78rem; color: var(--c-text-muted); }

/* Thanh "Chọn nệm cho" */
.for-bar-wrap { padding-top: 28px; }
.for-bar { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.for-bar__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary-2); }
.for-bar__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.for-bar__list a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: var(--radius-sm); color: var(--c-text); font-size: 0.85rem; font-weight: 600; text-align: center; text-decoration: none; transition: background 0.2s; }
.for-bar__list a:hover { background: var(--c-bg); color: var(--c-primary); }
.for-bar__list .icon { width: 28px; height: 28px; color: var(--c-primary); }
.for-bar__note { display: flex; align-items: center; gap: 12px; color: var(--c-text); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.for-bar__note .icon { width: 30px; height: 30px; color: var(--c-accent-dark); }

/* ==========================================================================
   6. Giới thiệu, thẻ, số liệu
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.5rem 0 1.75rem; }
.stat { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.stat__num { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); text-decoration: none; line-height: 1.2; }
a.stat__num { color: var(--c-accent-dark); }
.stat__label { font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.4; }
.photo-card { margin: 0; padding: 12px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; border-radius: var(--radius-md); }
.photo-card figcaption { padding: 10px 6px 2px; font-size: 0.85rem; color: var(--c-text-muted); text-align: center; }

.card { display: flex; flex-direction: column; padding: 12px; background: var(--c-card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center; padding: 20px; background: var(--grad-deep); color: #fff; font-size: 1.35rem; font-weight: 800; text-align: center; }
.card__tag { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--c-accent); color: #2B230A; font-size: 0.75rem; font-weight: 700; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 6px; }
.card__title { margin-bottom: 0.4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); font-size: 0.93rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-border); }
.card__price { font-size: 1.15rem; font-weight: 800; color: var(--c-primary); }
.card__price small { font-size: 0.78rem; font-weight: 500; color: var(--c-text-muted); }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.card__more .icon { width: 16px; height: 16px; }
.card__meta { margin-top: auto; font-size: 0.85rem; color: var(--c-text-muted); }
.card--ask { align-items: flex-start; justify-content: center; gap: 12px; padding: 28px; background: var(--grad-light); }
.card--ask p { color: var(--c-text-muted); }

/* ==========================================================================
   7. Cấp độ, bảng giá
   ========================================================================== */
.level { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.level--hot { outline: 2px solid var(--c-accent); }
.level--hot::after { content: "Phổ biến nhất"; position: absolute; top: -12px; right: 20px; padding: 2px 12px; border-radius: var(--radius-pill); background: var(--c-accent); color: #2B230A; font-size: 0.75rem; font-weight: 700; }
.level__top { display: flex; align-items: baseline; gap: 10px; }
.level__code { font-size: 2rem; font-weight: 800; color: var(--c-primary); }
.level__name { font-size: 0.85rem; font-weight: 600; color: var(--c-text-muted); }
.level__weight { display: inline-block; margin: 6px 0 10px; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--c-mint); color: var(--c-primary); font-weight: 700; }
.level__text { color: var(--c-text-muted); font-size: 0.93rem; }
.level__density { margin: 0; font-size: 0.8rem; color: var(--c-text-muted); }
.ask-strip { display: grid; gap: 20px; align-items: center; margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--c-bg-alt); box-shadow: var(--shadow-in); }
.ask-strip ol { margin: 8px 0; }
.ask-strip p { margin: 0; color: var(--c-text-muted); font-size: 0.93rem; }

.promo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 900px; margin: 0 auto 28px; padding: 14px 20px; border-radius: var(--radius-md); background: var(--c-accent-soft); color: #4A3C0E; font-size: 0.93rem; }
.promo__tag { padding: 2px 12px; border-radius: var(--radius-pill); background: var(--c-accent); color: #2B230A; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); color: var(--c-text); text-decoration: none; transition: transform 0.2s; }
.price-card:hover { transform: translateY(-3px); color: var(--c-text); }
.price-card__line { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary-2); }
.price-card__size { font-weight: 700; font-size: 1.05rem; }
.price-card__size small { font-weight: 500; color: var(--c-text-muted); }
.price-card del { margin-top: 6px; font-size: 0.85rem; color: var(--c-text-muted); }
.price-card__now { font-size: 1.3rem; font-weight: 800; color: var(--c-primary); }

/* Bảng giá đầy đủ (trang Bảng giá) */
.price-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.price-tabs button { padding: 10px 20px; border: 0; border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow); color: var(--c-primary); font-weight: 700; cursor: pointer; }
.price-tabs button[aria-selected="true"] { background: var(--grad-brand); color: #fff; }
.price-panel { padding: 8px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.price-panel[hidden] { display: none; }
.price-panel h3 { margin: 16px 12px 8px; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.price-table th, .price-table td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; white-space: nowrap; }
.price-table th { background: var(--c-bg-alt); color: var(--c-primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.price-table td.num, .price-table th.num { text-align: right; }
.price-table del { color: var(--c-text-muted); }
.price-table strong { color: var(--c-primary); }
.price-table tr:hover td { background: var(--c-bg-tint); }
.price-notes { margin-top: 20px; font-size: 0.85rem; color: var(--c-text-muted); }

/* ==========================================================================
   8. Lý do, chính hãng, quy trình, đánh giá, FAQ
   ========================================================================== */
.feature { padding: 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature .soft-icon { margin-bottom: 14px; background: var(--c-mint); box-shadow: none; }
.feature p { margin: 0; color: var(--c-text-muted); font-size: 0.93rem; }
.genuine { display: grid; gap: 24px; align-items: center; margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--grad-light); box-shadow: var(--shadow); }
.genuine__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.genuine__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--c-primary-2); }
.checklist--light .icon { color: var(--c-accent); }

.process-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.process-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.timeline { counter-reset: step; position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--c-primary-2), var(--c-accent)); opacity: 0.4; }
.timeline li { counter-increment: step; position: relative; margin-bottom: 16px; padding: 18px 20px 18px 76px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 0.9rem; box-shadow: var(--shadow-btn); }
.timeline h3 { margin-bottom: 0.25em; }
.timeline p { margin: 0; color: var(--c-text-muted); font-size: 0.93rem; }

.reviews { display: grid; gap: 24px; }
.rating-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--grad-deep); color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); }
.rating-card:hover { color: #fff; }
.rating-card__score { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.rating-card__stars { display: flex; gap: 4px; color: var(--c-accent); }
.rating-card__stars .icon { width: 24px; height: 24px; fill: currentColor; }
.rating-card__label { color: rgba(255, 255, 255, 0.85); font-size: 0.93rem; }
.rating-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--c-accent); }
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quote blockquote { position: relative; margin: 0 0 10px; padding-left: 28px; font-size: 0.98rem; }
.quote blockquote::before { content: "“"; position: absolute; left: 0; top: -14px; font-family: Georgia, serif; font-size: 3rem; color: var(--c-accent); }
.quote figcaption { font-size: 0.85rem; color: var(--c-text-muted); }
.quote figcaption strong { color: var(--c-primary); }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: none; text-align: left; font-weight: 700; font-size: 0.98rem; color: var(--c-primary); cursor: pointer; }
.faq__q::after { content: "+"; display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-bg); box-shadow: var(--shadow-in); font-size: 1.2rem; line-height: 1; transition: transform 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 18px; color: var(--c-text-muted); }
.faq__a p:last-child { margin: 0; }
.faq__a[hidden] { display: none; }
.split--faq .faq { margin: 0; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.9); }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   9. Khối báo giá + form
   ========================================================================== */
.quote-band__inner { padding: 32px 22px; border-radius: 32px; background: var(--grad-deep); color: #fff; box-shadow: var(--shadow-lg); }
.quote-band h2 { color: #fff; }
.quote-band h2 .script { color: var(--c-accent); }
.quote-band .section__lead { color: rgba(255, 255, 255, 0.85); }
.quote-band .checklist { margin: 0 0 1.5rem; }
.form { display: grid; gap: 14px; padding: 24px; background: #fff; color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.82rem; color: var(--c-primary); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--c-bg); box-shadow: var(--shadow-in); color: var(--c-text); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary-2); outline: none; }
.form .btn { width: 100%; }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: 0.78rem; color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); }
.notice--ok { background: #e3f4e8; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   10. Cửa hàng + bản đồ
   ========================================================================== */
.store { display: grid; gap: 24px; }
.store__info { padding: 14px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.store__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); }
.store__list { display: grid; gap: 14px; margin: 18px 6px; padding: 0; list-style: none; font-size: 0.93rem; }
.store__list li { display: flex; gap: 14px; align-items: flex-start; }
.store__list strong { display: block; color: var(--c-primary); }
.store__list div { color: var(--c-text-muted); }
.store__info .btn-group { margin: 0 6px 6px; }
.store__map { min-height: 320px; overflow: hidden; border-radius: var(--radius); background: var(--grad-light); box-shadow: var(--shadow); }
.store__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.store__map-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 320px; padding: 24px; border: 0; background: radial-gradient(circle at 50% 40%, #fff 0, transparent 60%), repeating-linear-gradient(45deg, rgba(6, 73, 58, 0.04) 0 2px, transparent 2px 22px); color: var(--c-primary); text-align: center; cursor: pointer; }
.store__map-btn .icon { width: 48px; height: 48px; color: var(--c-accent-dark); }
.store__map-btn strong { font-size: 1.1rem; }
.store__map-btn span { color: var(--c-text-muted); font-size: 0.88rem; }

/* ==========================================================================
   11. Trang con, bài viết, đội ngũ
   ========================================================================== */
.page-hero { padding-block: 8px 0; }
.page-hero__card { padding: 32px 22px; border-radius: 32px; background: var(--grad-light); box-shadow: var(--shadow-lg); }
.page-hero h1 { margin-bottom: 0.4em; text-wrap: balance; }
.page-hero .section__lead { max-width: 760px; margin: 0; text-align: justify; text-align-last: left; }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 10px; }
.breadcrumb a { color: inherit; }
.entry { max-width: 800px; margin-inline: auto; }
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: var(--radius-md); }
.entry h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); }
.entry h3 { margin-top: 1.4em; font-size: 1.15rem; }
.entry blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--c-accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fff; }
.entry table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; background: #fff; border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--c-border); }
.entry th { background: var(--c-bg-alt); color: var(--c-primary); text-align: left; }
.entry figure { margin: 1.5em 0; }
.entry .note { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--c-accent-soft); }
.content-card { padding: 24px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.side-sticky { position: static; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team figure { margin: 0; padding: 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.team img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-md); }
.team figcaption { padding: 10px 4px 4px; font-size: 0.88rem; }
.team figcaption strong { display: block; color: var(--c-primary); }
.team-photo { margin: 0 0 24px; }
.team-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.pagination .page-numbers { padding: 8px 14px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; }

/* ==========================================================================
   12. CTA + Footer
   ========================================================================== */
.cta-band { padding-block: 0 var(--space-section); }
.cta-band__inner { padding: 36px 22px; border-radius: 32px; background: var(--grad-deep); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.site-footer { padding-top: 56px; background: #E2EDE5; color: var(--c-text-muted); font-size: 0.9rem; }
.site-footer a { color: var(--c-text); text-decoration: none; }
.site-footer a:hover { color: var(--c-primary); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__name { margin-bottom: 0.4em; font-size: 1.15rem; font-weight: 800; color: var(--c-primary); }
.site-footer__title { margin-bottom: 0.8em; font-weight: 800; color: var(--c-primary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__brand li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__brand .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-primary-2); }
.site-footer__bottom { margin-top: 40px; padding-block: 18px 92px; border-top: 1px solid var(--c-border); font-size: 0.8rem; text-align: center; }

/* ==========================================================================
   13. Nút liên hệ nổi — mobile: thanh dưới đáy; desktop: cột nút tròn góc phải
   ========================================================================== */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12); }
.float-contact__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 0.75rem; font-weight: 700; color: #fff; text-decoration: none; }
.float-contact__btn:hover { color: #fff; }
.float-contact__btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-contact__phone { background: var(--grad-brand); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.form__row { grid-template-columns: 1fr 1fr; }
	.for-bar__list { grid-template-columns: repeat(3, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.price-grid { grid-template-columns: repeat(3, 1fr); }
	.team { grid-template-columns: repeat(3, 1fr); }
	.hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.topbar__right { display: inline-flex; }
	.site-header__tag { display: block; }
	.grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.split--top { align-items: start; }
	.hero__card { padding: 44px 40px; }
	.hero__trust { grid-template-columns: repeat(3, 1fr); }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.ask-strip { grid-template-columns: 1fr auto; padding: 28px 32px; }
	.genuine { grid-template-columns: 1.1fr 1fr; padding: 32px; }
	.reviews { grid-template-columns: 1fr 2fr; }
	.quotes { grid-template-columns: 1fr 1fr; }
	.store { grid-template-columns: 1fr 1fr; }
	.quote-band__inner { padding: 48px 44px; }
	.page-hero__card { padding: 44px 48px; }
	.content-card { padding: 36px 40px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.cta-band__inner { padding: 48px; }
}
@media (min-width: 1024px) {
	.hero__card { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 56px 56px 64px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.split--about { grid-template-columns: 1.05fr 1fr; gap: 64px; }
	.split--faq { grid-template-columns: 0.8fr 1.2fr; }
	.split--content { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
	.for-bar { grid-template-columns: 150px 1fr 230px; align-items: center; padding: 18px 28px; }
	.for-bar__list { grid-template-columns: repeat(5, 1fr); gap: 0; }
	.for-bar__list li + li { border-left: 1px solid var(--c-border); }
	.for-bar__note { padding-left: 20px; border-left: 1px solid var(--c-border); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.team { grid-template-columns: repeat(5, 1fr); }
	.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; margin-inline: auto; }
	.primary-nav > ul, .primary-nav > div > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 10px 12px; border: 0; border-radius: var(--radius-sm); font-size: 0.95rem; white-space: nowrap; }
	.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: var(--c-bg); box-shadow: var(--shadow-in); }
	.primary-nav li { position: relative; }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
	.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a, .primary-nav .children a { padding: 9px 14px; font-weight: 500; }
	.header-actions { margin-left: 0; }
	.header-cta { display: inline-flex; }
	.float-contact { left: auto; right: 22px; bottom: 22px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 56px; height: 56px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow-btn); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 20px; }
}
@media (min-width: 1240px) {
	.site-header__tag { display: block; }
}
@media (max-width: 1180px) and (min-width: 1024px) {
	.site-header__tag { display: none; }
	.primary-nav a { padding: 10px 9px; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
