/*
Theme Name: Giấy Cuộn Lớn An Khang
Theme URI: https://giayvesinhcuonlon.com/
Author: Thế Giới Giấy
Description: Theme viết tay cho giayvesinhcuonlon.com — phong cách landing xanh An Khang + nút vàng (học từ mẫu implant.shiningsmile.vn), dữ liệu gom trong inc/data.php, schema JSON-LD, form báo giá lưu đơn, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: giay-cuon-lon
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây (vai trò màu đổi từ hệ đỏ của mẫu)
   ========================================================================== */
:root {
	--c-primary: #0b6b34;        /* xanh đậm: thanh menu, dải nền đậm (vai trò #ae1517 của mẫu) */
	--c-primary-dark: #085028;
	--c-brand: #149246;          /* xanh An Khang: thẻ, viền, nhãn bước, thanh FAQ (vai trò #d43537) */
	--c-brand-light: #1fa955;
	--c-accent: #ffb81c;         /* vàng nút */
	--c-accent-light: #ffdc5c;
	--c-yellow-text: #ffe14d;    /* chữ vàng trên nền xanh */
	--c-bg: #ffffff;
	--c-bg-alt: #eef7f0;
	--c-grey: #f1f3f4;
	--c-bg-dark: #06301a;        /* footer (vai trò #410102) */
	--c-text: #222222;
	--c-heading: #2b2b2b;
	--c-text-muted: #555555;
	--c-text-invert: #ffffff;
	--c-border: #dfe6e1;

	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Oswald", "Arial Narrow", sans-serif;
	--f-script: "Dancing Script", cursive;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.075rem;
	--fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	--fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	--fs-h1: clamp(2rem, 1.5rem + 2.2vw, 3rem);
	--fs-script: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);

	--radius: 16px;
	--radius-sm: 6px;
	--radius-pill: 999px;
	--shadow: 0 15px 30px -18px rgba(0, 0, 0, 0.45);
	--shadow-drop: 0 15px 20px -15px rgba(0, 0, 0, 0.55); /* bóng rơi dưới như mẫu */

	--space-section: clamp(3rem, 2.2rem + 3.5vw, 5rem);
	--container: 1200px;
	--gutter: 16px;
	--topbar-h: 64px;
	--header-h: 64px;
	--pattern: repeating-radial-gradient(circle at 18% 30%, transparent 0 26px, rgba(11, 107, 52, 0.045) 26px 27px), repeating-radial-gradient(circle at 85% 80%, transparent 0 30px, rgba(11, 107, 52, 0.04) 30px 31px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65; 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-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; color: var(--c-heading); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
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; }
.center { text-align: center; margin-top: 2rem; }
.text-brand { color: var(--c-brand); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--alt, .section--soft { background: linear-gradient(180deg, #fff 0%, var(--c-bg-alt) 100%); }
.section--grey { background: var(--c-grey); }
.section--pattern { background-color: #fff; background-image: var(--pattern); }
.section--dark, .section--brand { background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: var(--c-text-invert); }
.section--brand h2, .section--dark h2 { color: #fff; }
.section__head { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 0.4em; }
.section__script { display: block; font-family: var(--f-script); font-size: var(--fs-script); font-weight: 600; line-height: 1.2; color: var(--c-brand); }
.section--brand .section__script, .section--dark .section__script, .quote-band .section__script, .gift .section__script { color: var(--c-yellow-text); }
.section__eyebrow { display: inline-block; margin-bottom: 0.5rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.section__head--wide .section__lead { text-align: justify; text-align-last: center; }
.section--brand .section__lead, .section--dark .section__lead { color: rgba(255, 255, 255, 0.85); }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ==========================================================================
   3. Nút — vàng bo tròn hẳn (nút chính của mẫu), xanh cho nút trong form
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 0.2s, filter 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn--accent { background: linear-gradient(180deg, var(--c-accent-light) 0%, var(--c-accent) 100%); color: #2b2b2b; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5); }
.btn--accent:hover { color: #2b2b2b; filter: brightness(1.05); }
.btn--primary { background: linear-gradient(180deg, var(--c-brand-light) 0%, var(--c-primary) 100%); color: #fff; box-shadow: 0 8px 16px -8px rgba(6, 48, 26, 0.7); }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

.ticks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.ticks .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--c-brand); color: #fff; stroke-width: 3; }
.ticks--light li { color: #fff; }
.ticks--light .icon { background: var(--c-accent); color: #2b2b2b; }

/* ==========================================================================
   4. Header 2 tầng — tầng trên trắng, tầng dưới thanh menu xanh đậm (dính khi cuộn)
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--topbar-h); }
.topbar__info, .topbar__cta { display: none; }
.topbar__item { display: flex; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; line-height: 1.25; }
.topbar__item small { display: block; font-size: 0.8rem; color: var(--c-text-muted); }
.topbar__item strong { display: block; color: var(--c-brand); font-size: 0.95rem; }
.topbar__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand); color: #fff; flex: none; }
.topbar__icon .icon { width: 20px; height: 20px; }
.topbar__icon--alt { background: var(--c-accent); color: #2b2b2b; }
.site-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; }
.site-logo img { width: 150px; height: auto; }
.site-logo__text { font-family: var(--f-heading); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--c-primary); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.mainbar { position: fixed; inset: var(--topbar-h) 0 0 0; background: var(--c-primary); padding: 8px 0 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.nav-open .mainbar { transform: none; }
.mainbar ul { list-style: none; margin: 0; padding: 0; }
.mainbar a { display: block; padding: 13px 4px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.mainbar .sub-menu a { padding-left: 20px; font-weight: 400; }
.mainbar .current-menu-item > a, .mainbar .current_page_item > a, .mainbar a:hover { color: var(--c-yellow-text); }

/* ==========================================================================
   5. Hero — nền xanh, chữ viết tay + chữ khổng lồ + băng vàng, thẻ trắng nổi
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: 28px 48px; color: #fff; background: radial-gradient(ellipse at 75% 20%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(135deg, var(--c-primary) 0%, var(--c-brand) 55%, var(--c-primary) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: 0.6; pointer-events: none; filter: invert(1); mix-blend-mode: soft-light; }
.hero__grid { position: relative; display: grid; gap: 8px; align-items: center; }
.hero__media { order: 2; max-width: 460px; margin-inline: auto; }
.hero__media img { width: 100%; border-radius: 50%; -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 58%, transparent 71%); mask-image: radial-gradient(circle at 50% 45%, #000 58%, transparent 71%); }
.hero__content { order: 1; text-align: center; }
.hero__title { margin: 0 0 0.75rem; color: #fff; line-height: 1; }
.hero__script { display: block; font-family: var(--f-script); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.35; transform: rotate(-4deg); margin-bottom: 0.05em; }
.hero__big { display: block; font-family: var(--f-heading); font-weight: 700; font-size: clamp(3.6rem, 2rem + 7vw, 7.2rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.hero__ribbon { display: inline-block; margin-top: 0.6rem; padding: 0.3em 0.9em; border-radius: 6px; background: linear-gradient(180deg, var(--c-accent-light), var(--c-accent)); color: #2b2b2b; font-family: var(--f-heading); font-weight: 600; font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.6rem); line-height: 1.2; box-shadow: var(--shadow-drop); }
.hero__lead { max-width: 560px; margin: 0.75rem auto 1.25rem; font-size: var(--fs-lg); opacity: 0.95; }
.hero__card { display: grid; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; color: var(--c-text); box-shadow: var(--shadow-drop); text-align: left; }
.hero__stat { text-align: center; }
.hero__stat small { display: block; font-family: var(--f-script); font-size: 1.2rem; font-weight: 600; color: var(--c-text-muted); }
.hero__stat strong { display: block; font-family: var(--f-heading); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: 1; color: var(--c-brand); white-space: nowrap; }
.hero__ticks .btn { width: 100%; }

/* ==========================================================================
   6. Lý do — bong bóng xanh tròn hai bên ảnh
   ========================================================================== */
.bubbles { display: grid; gap: 24px; align-items: center; }
.bubbles__center { max-width: 360px; margin-inline: auto; order: -1; }
.bubbles__center img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 20px 40px -20px rgba(6, 48, 26, 0.55); }
.bubbles__side { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bubble { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.bubble__circle { display: grid; place-items: center; width: 100px; height: 100px; padding: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--c-brand-light), var(--c-primary)); border: 4px solid rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-drop); color: var(--c-yellow-text); font-family: var(--f-heading); font-weight: 600; font-size: 0.82rem; line-height: 1.2; text-transform: uppercase; }
.bubble__text { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.4; }

/* ==========================================================================
   7. Khu vực — thẻ khung xanh dày (theo lưới tình trạng của mẫu)
   ========================================================================== */
.areas { display: grid; gap: 20px; }
.area { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 6px solid var(--c-brand); border-radius: 20px; background: #fff; color: var(--c-text); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s; }
.area:hover { transform: translateY(-4px); color: var(--c-text); }
.area__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-brand); flex: none; }
.area__icon .icon { width: 32px; height: 32px; }
.area__body { display: flex; flex-direction: column; gap: 4px; }
.area__title { font-family: var(--f-heading); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; color: var(--c-heading); line-height: 1.2; }
.area__text { color: var(--c-text-muted); font-size: 0.93rem; line-height: 1.5; }
.area__codes { font-size: 0.85rem; color: var(--c-text-muted); }
.area__codes b { display: inline-block; margin: 2px 0 0 6px; padding: 1px 10px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: 0.78rem; }
.callout { max-width: 760px; margin: 2.5rem auto 0; padding: 22px 26px; border-radius: var(--radius); background: var(--c-brand); color: #fff; text-align: center; box-shadow: var(--shadow-drop); }
.callout p { text-align: justify; text-align-last: center; font-weight: 500; }

/* ==========================================================================
   8. Sản phẩm — thẻ xanh sáng trên dải xanh đậm
   ========================================================================== */
.products { display: grid; gap: 24px; }
.p-card { display: flex; flex-direction: column; padding: 10px; border-radius: 18px; background: var(--c-brand); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6); }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #fff; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.p-card:hover .p-card__media img { transform: scale(1.04); }
.p-card__badge { position: absolute; top: 10px; left: 10px; padding: 2px 14px; border-radius: var(--radius-pill); background: linear-gradient(180deg, var(--c-accent-light), var(--c-accent)); color: #2b2b2b; font-family: var(--f-heading); font-weight: 700; font-size: 1.1rem; }
.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; color: #fff; }
.p-card__code { margin: 0 0 2px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--c-yellow-text); }
.p-card__title { margin-bottom: 0.5rem; font-size: 1.4rem; text-transform: uppercase; color: #fff; }
.p-card__title a { color: inherit; text-decoration: none; }
.p-card__specs { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.88rem; }
.p-card__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.p-card__specs span { opacity: 0.8; }
.p-card__specs b { text-align: right; font-weight: 600; }
.p-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.p-card__more { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.p-card__more:hover { color: var(--c-yellow-text); }
.p-card__more .icon { width: 18px; height: 18px; }

/* ==========================================================================
   9. Bảng thông số — đầu xanh gradient, hàng xen kẽ (theo bảng giá của mẫu)
   ========================================================================== */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
.spec-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.93rem; }
.spec-table thead tr { background: linear-gradient(90deg, var(--c-primary), var(--c-brand-light)); }
.spec-table thead th { padding: 14px 16px; color: #fff; font-family: var(--f-heading); font-weight: 500; font-size: 1rem; letter-spacing: 0.03em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.spec-table td, .spec-table tbody th { padding: 12px 16px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.spec-table tbody tr:nth-child(even) { background: var(--c-grey); }
.spec-table tbody th a { color: var(--c-heading); font-weight: 700; text-decoration: none; text-transform: uppercase; }
.spec-table tbody th small { display: block; color: var(--c-brand); font-weight: 600; }
.spec-table td b { color: var(--c-brand); }
.spec-table tr.is-current { background: #fff6d6 !important; }
.table-note { margin-top: 0.8rem; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }

/* ==========================================================================
   10. Vì sao chọn, tặng hộp, quy trình, FAQ
   ========================================================================== */
.why { display: grid; gap: 28px; align-items: center; }
.why__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.why__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 10px; }
.why__list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-grey); line-height: 1.5; }
.why__list .icon { width: 26px; height: 26px; color: var(--c-brand); margin-top: 1px; }
.why__list strong { color: var(--c-primary); }

.gift { display: grid; gap: 24px; align-items: center; max-width: 1000px; margin-inline: auto; padding: 20px; border-radius: 20px; background: var(--c-brand); box-shadow: 0 25px 40px -25px rgba(0, 0, 0, 0.7); }
.gift__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 6px solid #fff; }
.gift__body h2 { text-transform: uppercase; color: #fff; }
.gift__body p { text-align: justify; text-align-last: left; color: rgba(255, 255, 255, 0.92); }
.gift .btn--ghost { color: #fff; }

.flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.flow__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow__circle { position: relative; z-index: 1; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--c-brand); background: #fff; color: var(--c-brand); box-shadow: 0 10px 20px -12px rgba(6, 48, 26, 0.6); }
.flow__circle .icon { width: 40px; height: 40px; }
.flow__tag { margin: 12px 0 8px; padding: 2px 18px; border-radius: var(--radius-pill); background: var(--c-brand); color: #fff; font-family: var(--f-heading); font-weight: 500; font-size: 0.95rem; }
.flow__step h3 { margin-bottom: 0.3em; font-size: 1.1rem; text-transform: uppercase; }
.flow__step p { margin: 0; font-size: 0.92rem; color: var(--c-text-muted); line-height: 1.5; }

.faq { max-width: 860px; margin-inline: auto; }
.faq__item { margin-bottom: 12px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.4); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 14px 20px; border: 0; background: linear-gradient(90deg, var(--c-primary), var(--c-brand-light)); text-align: left; font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.4; color: #fff; cursor: pointer; }
.faq__q::after { content: "+"; font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding: 16px 20px 6px; background: #fff; color: var(--c-text); }
.faq__a p { text-align: justify; text-align-last: left; }
.faq__a[hidden] { display: none; }

/* ==========================================================================
   11. Banner form báo giá + form
   ========================================================================== */
.quote-band { position: relative; padding-block: var(--space-section); color: #fff; background: radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(135deg, var(--c-primary) 0%, var(--c-brand) 60%, var(--c-primary) 100%); }
.quote-band__grid { display: grid; gap: 32px; align-items: center; }
.quote-band h2 { color: #fff; text-transform: uppercase; }
.quote-band__text > p { color: rgba(255, 255, 255, 0.92); text-align: justify; text-align-last: left; }
.quote-band .btn--ghost { color: #fff; }
.quote-band__form { padding: 24px; border-radius: 8px; background: #fff; color: var(--c-text); box-shadow: 0 25px 40px -20px rgba(0, 0, 0, 0.6); }
.quote-band__form-title { margin-bottom: 1rem; font-family: var(--f-heading); font-weight: 600; font-size: 1.45rem; line-height: 1.2; text-transform: uppercase; text-align: center; color: var(--c-brand); }
.quote-band__form-title small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 0.85rem; text-transform: none; color: var(--c-text-muted); }
.form { display: grid; gap: 14px; padding: 24px; background: #fff; color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-band__form .form { padding: 0; box-shadow: none; }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--c-grey); color: var(--c-text); }
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-brand); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(20, 146, 70, 0.15); }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: 0.8rem; color: var(--c-text-muted); text-align: center; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 4px; }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   12. Trang con, bài viết, thẻ bài
   ========================================================================== */
.page-hero { padding-block: 40px; color: #fff; background: radial-gradient(ellipse at 80% 10%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(135deg, var(--c-primary), var(--c-brand)); }
.page-hero h1 { color: #fff; text-wrap: balance; }
.page-hero .section__lead { color: rgba(255, 255, 255, 0.9); max-width: 820px; text-align: justify; text-align-last: left; }
.breadcrumb { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); margin-bottom: 8px; }
.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-sm); }
.entry h2 { margin-top: 1.6em; color: var(--c-primary); }
.entry h3 { color: var(--c-brand); }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 10px; border: 1px solid var(--c-border); }
.entry thead th { background: var(--c-primary); color: #fff; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 1; background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__title { margin-bottom: 0.4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__meta { margin-top: auto; font-weight: 600; color: var(--c-brand); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; }
.pagination .current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.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; }

/* Trang một mã + trang giải pháp */
.product-top { display: grid; gap: 28px; align-items: start; }
.product-top__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--c-brand); box-shadow: var(--shadow); background: #fff; }
.product-top__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-top__card { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.product-top__card .p-card__code { color: var(--c-brand); }
.product-top__card h2 { text-transform: uppercase; color: var(--c-primary); margin-bottom: 0.3em; }
.product-top__fit { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.spec-list { margin: 0 0 1rem; display: grid; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); }
.spec-list dt { color: var(--c-text-muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }
.products--3 { max-width: 960px; margin-inline: auto; }
.layout-aside { display: grid; gap: 32px; align-items: start; }
.layout-aside .entry { margin: 0; max-width: none; }
.aside__box { display: grid; gap: 12px; padding: 20px; border: 6px solid var(--c-brand); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.aside__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--f-heading); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; color: var(--c-primary); }
.aside__title .icon { width: 28px; height: 28px; color: var(--c-brand); }
.mini-product { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--c-grey); color: var(--c-text); text-decoration: none; }
.mini-product:hover { background: var(--c-bg-alt); color: var(--c-text); }
.mini-product img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.mini-product b { display: block; color: var(--c-primary); }
.mini-product small { color: var(--c-text-muted); }

/* ==========================================================================
   13. CTA + Footer xanh rất đậm
   ========================================================================== */
.cta-band { padding-block: 56px; background: linear-gradient(135deg, var(--c-primary), var(--c-brand)); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; color: #fff; text-transform: uppercase; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { color: #fff; }
.site-footer { padding-top: 56px; background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.85); font-size: var(--fs-sm); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-yellow-text); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__name { margin-bottom: 0.5rem; font-family: var(--f-heading); font-weight: 700; font-size: 1.6rem; line-height: 1.2; text-transform: uppercase; color: var(--c-yellow-text); }
.site-footer h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 20px; height: 20px; color: var(--c-yellow-text); margin-top: 1px; }
.site-footer__contact strong { color: var(--c-yellow-text); }
.site-footer__bottom { margin-top: 40px; padding-block: 20px; padding-bottom: 84px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }

/* ==========================================================================
   14. 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: 600; 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(--c-brand); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.form__row { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.hero__card { grid-template-columns: auto 1fr; align-items: center; }
	.hero__stat { padding-right: 18px; border-right: 2px solid var(--c-border); }
	.bubble__circle { width: 120px; height: 120px; font-size: 0.92rem; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.grid--2, .grid--3, .grid--4, .areas, .products { grid-template-columns: repeat(2, 1fr); }
	.p-card__media { aspect-ratio: 1; }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.why, .gift { grid-template-columns: 1fr 1.1fr; }
	.gift { padding: 28px; gap: 36px; }
	.gift { grid-template-columns: 0.8fr 1.2fr; }
	.flow { grid-template-columns: repeat(3, 1fr); }
	.product-top { grid-template-columns: 1fr 1fr; gap: 40px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 1024px) {
	:root { --topbar-h: 92px; --header-h: 52px; }
	/* Header dính: tầng trên trượt mất, chỉ thanh menu xanh ở lại (giống nhịp của mẫu). */
	.site-header { top: calc(-1 * var(--topbar-h)); }
	.topbar { display: grid; grid-template-columns: 1fr auto 1fr; }
	.topbar__info { display: flex; gap: 24px; }
	.topbar__cta { display: inline-flex; justify-self: end; }
	.site-logo { align-items: center; }
	.site-logo img { width: 200px; }
	.nav-toggle { display: none; }
	.mainbar { position: static; inset: auto; transform: none; padding: 0; overflow: visible; background: var(--c-primary); }
	.mainbar ul.menu, .mainbar > .container > ul { display: flex; justify-content: space-around; }
	.mainbar li { position: relative; }
	.mainbar a { padding: 14px 12px; border: 0; white-space: nowrap; font-size: 1rem; }
	.mainbar .sub-menu { position: absolute; top: 100%; left: 0; z-index: 5; min-width: 260px; padding: 8px 0; background: var(--c-primary-dark); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); }
	/* Chỉ chạy hiệu ứng khi mở: đóng (kể cả khi đổi khổ màn hình) là ẩn ngay, không lơ lửng nửa trong suốt. */
	.mainbar li:hover > .sub-menu, .mainbar li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
	.mainbar .sub-menu a { padding: 9px 18px; }

	.hero { padding-block: 24px 56px; }
	.hero__grid { grid-template-columns: 0.95fr 1.05fr; gap: 24px; }
	.hero__media { order: 1; max-width: 560px; }
	.hero__content { order: 2; text-align: left; }
	.hero__lead { margin-left: 0; }
	.hero__card { max-width: 560px; }

	.bubbles { grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; }
	.bubbles__center { order: 0; max-width: 420px; }
	.bubbles__side { grid-template-columns: 1fr; gap: 22px; }
	.bubble { flex-direction: row; text-align: left; gap: 14px; }
	.bubbles__side--left .bubble { flex-direction: row-reverse; text-align: right; }
	.bubbles__side--left .bubble:nth-child(2) { transform: translateX(-36px); }
	.bubbles__side--right .bubble:nth-child(2) { transform: translateX(36px); }
	.bubble__circle { width: 136px; height: 136px; flex: none; font-size: 1rem; }

	.grid--3, .areas { grid-template-columns: repeat(3, 1fr); }
	.grid--4, .products { grid-template-columns: repeat(4, 1fr); }
	.products--3 { grid-template-columns: repeat(3, 1fr); }
	.layout-aside { grid-template-columns: 1fr 340px; gap: 48px; }
	.aside { align-self: stretch; }
	.aside__box { position: sticky; top: calc(var(--header-h) + 20px); }
	.flow { grid-template-columns: repeat(5, 1fr); }
	.flow::before { content: ""; position: absolute; top: 48px; left: 10%; right: 10%; height: 2px; background: var(--c-brand); }
	.quote-band__grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
	.float-contact { left: auto; right: 20px; bottom: 20px; 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); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
