/*
Theme Name: Mâm Cỗ Chay Cô Tuyền
Theme URI: https://mamcochay.com.vn
Author: NEOLUX TMC
Author URI: https://neoluxmarketing.com
Description: Theme mobile-first cho Mâm Cỗ Chay Cô Tuyền: danh mục mâm cúng, sản phẩm có giá, giỏ hàng đơn giản và form đặt hàng lưu vào mục Đơn hàng. Thanh Gọi ngay / Chat Zalo / Đặt hàng cố định cuối màn hình.
Version: 1.7.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: mamcochay
*/

:root {
	--green: #2f6a1f;
	--green-2: #3f8a28;
	--green-dark: #1f4a14;
	--maroon: #9b1b1f;
	--maroon-2: #7a1215;
	--cream: #fdf8ee;
	--cream-2: #f6ead0;
	--cream-3: #efdcb4;
	--gold: #c9a14a;
	--ink: #2a2620;
	--muted: #6b6255;
	--line: #eadcbd;
	--radius: 14px;
	--shadow: 0 4px 14px rgba(84, 60, 20, .10);
	--serif: "Playfair Display", "Times New Roman", serif;
	--sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--callbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body {
	font-variant-numeric: lining-nums;
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--cream);
}
body.has-callbar { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 14px; }
.page-pad { padding-top: 14px; padding-bottom: 28px; }
.section { padding: 18px 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .62em 1.25em; border-radius: 999px; border: 0;
	font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:hover { filter: brightness(1.06); }
.btn svg { font-size: 1.1em; }
.btn--maroon { background: linear-gradient(180deg, #b0262a, var(--maroon-2)); color: #fff; box-shadow: 0 4px 10px rgba(122, 18, 21, .28); }
.btn--green { background: linear-gradient(180deg, var(--green-2), var(--green-dark)); color: #fff; box-shadow: 0 3px 8px rgba(31, 74, 20, .25); }
.btn--outline { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn--lg { font-size: 1.08rem; padding: .72em 1.4em; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.site-header__inner {
	position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	max-width: 1120px; margin: 0 auto; min-height: 84px; padding: 4px 14px 4px 0;
}
.hdr-menu {
	justify-self: start; align-self: stretch; display: flex; align-items: center;
	width: 78px; margin: -4px 0; padding: 0 0 0 18px; border: 0; color: #fff; font-size: 30px;
	background: linear-gradient(135deg, var(--green-2), var(--green-dark));
	border-radius: 0 0 70px 0;
	box-shadow: 3px 2px 0 var(--gold);
}
.brand { text-align: center; }
.brand .custom-logo { width: auto; max-height: 78px; margin: 0 auto; }
.brand__text { font-family: var(--serif); font-weight: 700; color: var(--maroon); text-decoration: none; font-size: 1.15rem; }
.hdr-actions { justify-self: end; display: flex; gap: 10px; }
.hdr-btn {
	position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: var(--cream-2); color: var(--green-dark); font-size: 22px; text-decoration: none;
}
.hdr-cart__count {
	position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
	background: var(--maroon); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.hdr-search { padding: 0 14px 12px; max-width: 1120px; margin: 0 auto; }
.hdr-search form { display: flex; gap: 8px; }
.hdr-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }
.hdr-search button { width: 46px; border: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 20px; display: grid; place-items: center; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 30, 10, .45); opacity: 0; transition: opacity .25s; }
.drawer__panel {
	position: absolute; inset: 0 auto 0 0; width: min(84vw, 340px); background: var(--cream); overflow-y: auto;
	transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--green); color: #fff; }
.drawer__title { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.drawer__close { border: 0; background: none; color: #fff; font-size: 26px; display: grid; place-items: center; }
.drawer__menu { list-style: none; margin: 0; padding: 8px 0; }
.drawer__menu a { display: block; padding: 12px 18px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer__menu .current-menu-item > a, .drawer__menu a:hover { color: var(--green); background: var(--cream-2); }
.drawer__menu .sub-menu { list-style: none; padding: 0 0 0 14px; margin: 0; }
.drawer__contact { margin-top: auto; padding: 16px 18px 24px; font-size: .95rem; color: var(--muted); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; color: var(--maroon); text-decoration: none; }
.drawer__contact p { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; min-height: 300px;
	background: radial-gradient(120% 90% at 0% 0%, #fffdf6 0%, var(--cream) 55%, #eef2df 100%);
}
.hero__media {
	position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
	background-size: cover; background-position: center left;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%);
	mask-image: linear-gradient(to right, transparent 0, #000 30%);
}
.hero__content { position: relative; z-index: 1; width: 66%; padding: 18px 0 22px 16px; }
.hero__title {
	margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 700;
	font-size: clamp(1.75rem, 8.4vw, 3.4rem); line-height: 1.12; color: var(--green);
	text-shadow: 0 1px 0 #fff;
}
.hero__points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.hero__points li { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: clamp(.86rem, 3.6vw, 1.08rem); line-height: 1.35; }
.hero__points svg { font-size: 1.25em; margin-top: .02em; }
.hero .btn { font-size: clamp(.95rem, 4vw, 1.15rem); }

/* ---------- Section title ---------- */
.sec-title { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 6px 0 14px; }
.sec-title__orn { color: var(--gold); font-size: 2rem; display: flex; align-items: center; flex: 1 1 0; min-width: 34px; max-width: 110px; }
.sec-title__orn svg { width: 1.3em; height: .82em; }
.sec-title__orn:first-child { justify-content: flex-end; }
.sec-title__orn:first-child::before, .sec-title__orn:last-child::after {
	content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-title__orn:last-child::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.sec-title__text { margin: 0; font-family: var(--serif); font-weight: 700; text-align: center; white-space: nowrap; }
.sec-title--ribbon .sec-title__text {
	padding: .3em .9em; border-radius: 10px; color: #fff; font-size: clamp(1.05rem, 5.2vw, 1.6rem);
	background: linear-gradient(180deg, var(--green-2), var(--green-dark));
	box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold), var(--shadow);
}
.sec-title--line { margin: 22px 0 14px; }
.sec-title--line .sec-title__text { color: var(--green); font-size: clamp(1.2rem, 5.8vw, 1.75rem); white-space: normal; }

/* ---------- Categories ---------- */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat a {
	display: flex; flex-direction: column; height: 100%; border-radius: 10px; overflow: hidden; text-decoration: none;
	background: linear-gradient(180deg, #fbf1dc, var(--cream-2)); box-shadow: 0 2px 6px rgba(84, 60, 20, .12);
	transition: transform .15s;
}
.cat a:hover { transform: translateY(-2px); }
.cat__img { aspect-ratio: 16 / 9; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name {
	flex: 1; display: grid; place-items: center; padding: 6px 4px 8px; text-align: center;
	color: var(--ink); font-weight: 600; font-size: clamp(.72rem, 3.15vw, .98rem); line-height: 1.25;
}

/* ---------- Banner ---------- */
.banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.banner img { width: 100%; }

/* ---------- Breadcrumb / titles ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .95rem; margin-bottom: 10px; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs span:last-child { font-weight: 600; }
.crumbs__sep { color: var(--muted); font-size: .75rem; display: inline-flex; }
.page-title { font-family: var(--serif); color: var(--green); font-size: clamp(1.5rem, 6.5vw, 2.2rem); margin-bottom: 12px; }
.term-desc { color: var(--muted); margin-bottom: 12px; }

/* ---------- Features strip ---------- */
.features {
	list-style: none; margin: 0; padding: 12px 4px; display: grid; grid-template-columns: repeat(4, 1fr);
	background: linear-gradient(180deg, #fbf1dc, var(--cream-2)); border-radius: var(--radius);
}
.features li {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 4px; text-align: center;
	font-size: clamp(.72rem, 3.2vw, .95rem); line-height: 1.3; font-weight: 500;
}
.features li + li { border-left: 1px solid var(--cream-3); }
.features__ico { color: var(--gold); font-size: 28px; height: 30px; display: flex; align-items: center; }
.features__ico svg { width: 1.2em; }
.features li:nth-child(n+2) .features__ico { color: var(--green); }
.features li:first-child .features__ico svg { width: 1.6em; }

/* ---------- Product cards ---------- */
.plist { display: grid; gap: 14px; }
.pcard {
	display: grid; grid-template-columns: 46% 1fr; gap: 14px; align-items: center; padding: 10px;
	background: linear-gradient(180deg, #fffaf0, #fbf1dc); border-radius: var(--radius); box-shadow: var(--shadow);
}
.pcard__img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 8 / 7; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { min-width: 0; }
.pcard__title { font-family: var(--serif); font-size: clamp(1.02rem, 4.6vw, 1.3rem); margin: 0 0 4px; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__sub { margin: 0 0 6px; color: var(--muted); font-size: clamp(.82rem, 3.5vw, .95rem); line-height: 1.35; }
.pcard__price { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.1rem, 4.8vw, 1.35rem); }
.pcard__from { font-weight: 600; margin-right: 4px; }
.pcard__price strong { color: var(--maroon); }
.pcard .btn { width: 100%; padding: .58em .8em; font-size: clamp(.9rem, 3.8vw, 1.02rem); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--green); text-decoration: none; font-weight: 500; font-size: .92rem; }

.empty { text-align: center; padding: 22px 12px; color: var(--muted); }

/* ---------- Single product ---------- */
.product { display: grid; gap: 16px; margin-bottom: 18px; }
.product__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 8 / 7; object-fit: cover; }
.product__title { font-family: var(--serif); color: var(--ink); font-size: clamp(1.45rem, 6.5vw, 2.1rem); margin-bottom: 4px; }
.product__sub { color: var(--muted); margin: 0 0 6px; }
.product__price { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 14px; }
.product__price strong { color: var(--maroon); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 18px; }
.buy [data-buy-now] { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 40px; height: 44px; border: 0; background: none; color: var(--green); display: grid; place-items: center; font-size: 18px; }
.qty input { width: 42px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.entry { line-height: 1.7; }
.entry ul { padding-left: 1.2em; }
.entry li::marker { color: var(--gold); }
.product__content { background: #fff; border-radius: var(--radius); padding: 4px 16px; border: 1px solid var(--line); }

/* ---------- Order page ---------- */
.order-h { font-family: var(--serif); color: var(--green); font-size: 1.3rem; margin: 18px 0 10px; }
.cart { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 4px 14px 10px; }
.cart__list { list-style: none; margin: 0; padding: 0; }
.cart__item { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cart__item img { width: 64px; height: 54px; object-fit: cover; border-radius: 8px; }
.cart__name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cart__price { color: var(--maroon); font-weight: 600; font-size: .92rem; }
.qty--sm button { width: 30px; height: 34px; font-size: 18px; }
.qty--sm span { min-width: 22px; text-align: center; font-weight: 600; }
.cart__del { border: 0; background: none; font-size: 24px; color: var(--muted); width: 28px; }
.cart__empty { color: var(--muted); margin: 10px 0; }
.cart__total { text-align: right; margin: 10px 0 0; font-size: 1.05rem; }
.cart__total strong { color: var(--maroon); font-family: var(--serif); font-size: 1.3rem; }
.order-form { margin-top: 6px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.field input, .field textarea {
	width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(63, 138, 40, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-alt { text-align: center; color: var(--muted); }
.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.notice p { margin: 4px 0 0; }
.notice--ok { background: #eaf5e1; border: 1px solid #b9dca2; color: var(--green-dark); }
.notice--err { background: #fbe9e9; border: 1px solid #efbcbc; color: var(--maroon-2); }
.search-form { display: flex; gap: 8px; max-width: 420px; margin: 12px auto 0; }
.search-form input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }

/* ---------- Generic posts ---------- */
.posts { display: grid; gap: 18px; }
.post-item__img img { border-radius: var(--radius); }
.post-item__title { font-family: var(--serif); margin-top: 10px; }
.post-item__title a { color: var(--ink); text-decoration: none; }
.page-thumb img { border-radius: var(--radius); margin-bottom: 14px; }
.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.nav-links .page-numbers { padding: 6px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.nav-links .current { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #e9efe2; padding: 26px 0 12px; margin-top: 10px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 18px; }
.site-footer .custom-logo { max-height: 80px; width: auto; background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 8px; }
.site-footer__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.site-footer__brand p:last-child { margin: 0; opacity: .85; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact svg { color: var(--gold); font-size: 1.15em; margin-top: .2em; }
.site-footer__menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-footer__copy { text-align: center; font-size: .85rem; margin: 18px auto 0; padding: 12px 14px 0; border-top: 1px solid rgba(255,255,255,.15); max-width: 1120px; }
.site-footer__copy p { margin: 0; opacity: .75; }
.site-footer__credit { margin-top: 4px !important; opacity: .9 !important; }
.site-footer__credit a { color: var(--gold); font-weight: 700; text-decoration: none; letter-spacing: .04em; }

/* ---------- Sticky call bar ---------- */
.callbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: grid; grid-template-columns: 1fr 1.15fr 1.25fr; gap: 8px;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .97); box-shadow: 0 -4px 16px rgba(0, 0, 0, .10);
}
.callbar__btn {
	display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 52px; padding: 4px 8px;
	border-radius: 14px; text-decoration: none; font-weight: 600; font-size: clamp(.88rem, 3.9vw, 1.08rem); line-height: 1.1; white-space: nowrap;
}
.callbar__btn svg { font-size: 1.45em; }
.callbar__btn--call { flex-direction: column; gap: 2px; border: 1.5px solid #cfcfcf; color: var(--ink); background: #fff; }
.callbar__btn--call svg { color: var(--green-dark); font-size: 1.3em; }
.callbar__btn--zalo { border: 1.5px solid #cfcfcf; color: var(--ink); background: #fff; }
.callbar__btn--zalo svg { font-size: 1.7em; }
.callbar__btn--order { background: linear-gradient(180deg, #b0262a, var(--maroon-2)); color: #fff; box-shadow: 0 4px 10px rgba(122, 18, 21, .28); }

.toast {
	position: fixed; left: 50%; bottom: calc(var(--callbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 70;
	transform: translate(-50%, 10px); opacity: 0; transition: opacity .25s, transform .25s;
	background: var(--green-dark); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .92rem;
	max-width: calc(100vw - 32px); box-shadow: var(--shadow);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
	.container { padding: 0 22px; }
	.site-header__inner { min-height: 96px; }
	.brand .custom-logo { max-height: 88px; }
	.hero { min-height: 420px; }
	.hero__content { width: 58%; padding: 40px 0 40px max(22px, calc((100vw - 1120px) / 2 + 22px)); }
	.hero__media { width: 56%; }
	.cats { gap: 14px; }
	.plist { grid-template-columns: 1fr 1fr; }
	.product { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
	.buy { grid-template-columns: auto 1fr 1fr; }
	.buy [data-buy-now] { grid-column: auto; }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.order-page { max-width: 760px; }
}
@media (min-width: 1024px) {
	.callbar { left: 50%; right: auto; width: 560px; transform: translateX(-50%); bottom: 14px; border-radius: 20px; padding-bottom: 8px; }
	body.has-callbar { padding-bottom: 96px; }
	.plist { grid-template-columns: repeat(3, 1fr); }
	.plist .pcard { grid-template-columns: 1fr; }
	.hero { min-height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.pcard__price, .product__price, .cart__total strong { font-variant-numeric: lining-nums; }

/* =================================================================== */
/* v1.2 – Polish & motion                                                */
/* =================================================================== */
:root {
	--ease: cubic-bezier(.22, .8, .24, 1);
	--gold-grad: linear-gradient(90deg, #b8862f, #f1d27a 45%, #c99a3c 60%, #f6e3a1 80%, #b8862f);
}
body {
	background-color: var(--cream);
	background-image:
		radial-gradient(circle at 12% 18%, rgba(201, 161, 74, .07) 0 2px, transparent 3px),
		radial-gradient(circle at 70% 60%, rgba(63, 138, 40, .05) 0 2px, transparent 3px);
	background-size: 46px 46px, 64px 64px;
}

/* Header: glass + shrink on scroll */
.site-header { transition: box-shadow .3s var(--ease), background-color .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 6px 24px rgba(40, 30, 10, .10); }
.site-header__inner, .brand .custom-logo, .hdr-menu { transition: min-height .3s var(--ease), max-height .3s var(--ease), width .3s var(--ease); }
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header.is-scrolled .brand .custom-logo { max-height: 56px; }
.site-header.is-scrolled .hdr-menu { width: 64px; }
.hdr-btn { transition: transform .2s var(--ease), background-color .2s, color .2s; }
.hdr-btn:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.hdr-cart__count { transition: transform .3s var(--ease); }
.hdr-cart__count.is-empty { background: #b9ad97; }
.hdr-cart__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }

/* Hero */
.hero { padding-bottom: 26px; }
.hero__media { animation: kenburns 18s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translateX(-2%); } }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 4px 10px 4px 6px; border-radius: 999px;
	background: rgba(255, 255, 255, .75); border: 1px solid rgba(201, 161, 74, .45);
	color: #8a6a24; font-size: clamp(.7rem, 3vw, .85rem); font-weight: 600; letter-spacing: .02em;
}
.hero__eyebrow svg { width: 1.6em; height: 1.1em; color: var(--gold); }
.hero__title {
	background: linear-gradient(100deg, #1f4a14 0%, #3f8a28 45%, #2f6a1f 60%, #1f4a14 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
	animation: titleSheen 7s ease-in-out infinite;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9));
}
@keyframes titleSheen { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero__link { color: var(--green-dark); font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 26px; fill: var(--cream); z-index: 2; }
.hero__content > * { animation: fadeUp .8s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .18s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__points li svg { filter: drop-shadow(0 2px 3px rgba(63, 138, 40, .35)); }

/* Floating lotus petals */
.hero__petals { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero__petals i {
	position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 80% 0 80% 0;
	background: linear-gradient(135deg, #ffd6e4, #f08bb0); opacity: .75;
	animation: petal 11s linear infinite;
}
.hero__petals i:nth-child(1) { left: 58%; animation-delay: 0s; }
.hero__petals i:nth-child(2) { left: 74%; animation-delay: 2.6s; animation-duration: 13s; transform: scale(.8); }
.hero__petals i:nth-child(3) { left: 88%; animation-delay: 5s; }
.hero__petals i:nth-child(4) { left: 66%; animation-delay: 7.4s; animation-duration: 12s; }
.hero__petals i:nth-child(5) { left: 94%; animation-delay: 9s; animation-duration: 14s; }
.hero__petals i:nth-child(6) { left: 50%; animation-delay: 4s; animation-duration: 15s; opacity: .5; }
@keyframes petal {
	0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
	10% { opacity: .8; }
	50% { transform: translate(-30px, 200px) rotate(160deg); }
	100% { transform: translate(10px, 460px) rotate(340deg); opacity: 0; }
}

/* Buttons: shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--maroon::after, .btn--green::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn--maroon:hover::after, .btn--green:hover::after { left: 120%; }
.btn--shine::after { animation: shine 3.8s var(--ease) infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn svg:last-child { transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }

/* Section title: shimmering gold frame */
.sec-title--ribbon .sec-title__text { position: relative; box-shadow: 0 0 0 2px #fff, var(--shadow); }
.sec-title--ribbon .sec-title__text::before {
	content: ""; position: absolute; inset: -4px; border-radius: 13px; padding: 2px; z-index: -1;
	background: var(--gold-grad); background-size: 200% 100%; animation: goldflow 4s linear infinite;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.sec-title--ribbon .sec-title__text { isolation: isolate; }
@keyframes goldflow { to { background-position: 200% 0; } }
.sec-title__orn svg { animation: sway 4s ease-in-out infinite; transform-origin: 50% 90%; }
.sec-title__orn:last-child svg { animation-delay: -2s; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Categories */
.cat a { position: relative; border: 1px solid rgba(201, 161, 74, .25); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.cat a:hover, .cat a:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(84, 60, 20, .18); border-color: var(--gold); }
.cat__img { position: relative; }
.cat__img img { transition: transform .6s var(--ease); }
.cat a:hover .cat__img img { transform: scale(1.1); }
.cat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(60, 35, 5, .25)); }
.cat a:active { transform: scale(.97); }

/* Banner */
.banner { position: relative; transform: translateZ(0); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; transition: background-position 1.2s var(--ease); }
.banner:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(84, 60, 20, .2); }
.banner:hover::after, .banner.is-in::after { background-position: -50% 0; }
.banner img { transition: transform 1.2s var(--ease); }
.banner:hover img { transform: scale(1.03); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; border-top: 2px dashed var(--cream-3); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: clamp(.72rem, 3.1vw, .92rem); color: var(--muted); line-height: 1.35; }
.step strong { color: var(--ink); font-size: clamp(.86rem, 3.8vw, 1.05rem); margin-top: 4px; }
.step__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--green); font-size: 30px; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--cream-3), var(--shadow); transition: transform .4s var(--ease); }
.step:hover .step__ico { transform: translateY(-4px) rotate(-6deg); }
.step__no { position: absolute; top: -4px; left: calc(50% + 18px); z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; font-size: .8rem; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(122, 18, 21, .35); }

/* Features */
.features { border: 1px solid rgba(201, 161, 74, .25); }
.features__ico { transition: transform .4s var(--ease); }
.features li:hover .features__ico { transform: translateY(-3px) scale(1.08); }

/* Product cards */
.pcard { position: relative; border: 1px solid rgba(201, 161, 74, .22); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(84, 60, 20, .16); }
.pcard__img { position: relative; box-shadow: 0 6px 14px rgba(84, 60, 20, .18); }
.pcard__img img { transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__price strong { background: linear-gradient(180deg, #b0262a, #7a1215); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Call bar: pulse */
.callbar { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255, 255, 255, .9); }
.callbar__btn { transition: transform .2s var(--ease), box-shadow .2s; }
.callbar__btn:active { transform: scale(.96); }
.callbar__btn--call svg { animation: ring 2.6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); } }
.callbar__btn--zalo svg { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.callbar__btn--order { position: relative; overflow: hidden; }
.callbar__btn--order::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(176, 38, 42, .55); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70%, 100% { box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0); } }

/* Scroll reveal (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Footer */
.site-footer { position: relative; background: radial-gradient(120% 80% at 50% 0%, #2a5d1b, var(--green-dark) 70%); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); background-size: 200% 100%; animation: goldflow 6s linear infinite; }

@media (min-width: 700px) {
	.hero__wave { height: 44px; }
	.steps { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__media, .hero__title, .hero__petals i, .btn--shine::after, .sec-title__orn svg, .callbar__btn svg, .callbar__btn--order::before, .site-footer::before, .sec-title--ribbon .sec-title__text::before { animation: none !important; }
	.hero__petals { display: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* =================================================================== */
/* Readability for older customers + desktop layout                      */
/* =================================================================== */
body { font-size: 17px; }
.cat__name { font-size: clamp(.8rem, 3.4vw, 1.05rem); }
.features li { font-size: clamp(.8rem, 3.4vw, 1rem); }
.hero__points li { font-size: clamp(.95rem, 3.9vw, 1.15rem); }
.step { font-size: clamp(.82rem, 3.4vw, .98rem); }
.pcard__sub { font-size: clamp(.9rem, 3.7vw, 1rem); }
.crumbs { font-size: 1rem; }
.btn { min-height: 48px; }
.pcard .btn { min-height: 46px; }
.field span { font-size: 1rem; }
.field input, .field textarea { font-size: 1.05rem; padding: 13px 14px; min-height: 52px; }
.qty button { width: 48px; height: 50px; }
.qty input { font-size: 1.1rem; }
.qty--sm button { width: 38px; height: 40px; }
.cart__del { width: 40px; height: 40px; }
.drawer__menu a { padding: 15px 20px; font-size: 1.08rem; }
.callbar__btn { min-height: 56px; font-size: clamp(.95rem, 4.1vw, 1.15rem); }
.hdr-btn { width: 48px; height: 48px; }

/* Desktop navigation (hidden on phones; phones use the drawer) */
.desk-nav { display: none; }
@media (min-width: 1024px) {
	.desk-nav { display: block; border-top: 1px solid var(--line); background: #fff; }
	.site-header.is-scrolled .desk-nav { background: transparent; }
	.desk-nav__menu, .desk-nav .drawer__menu { list-style: none; margin: 0 auto; padding: 0 22px; max-width: 1120px; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; }
	.desk-nav a { position: relative; display: block; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; border: 0; }
	.desk-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
	.desk-nav a:hover, .desk-nav .current-menu-item > a { color: var(--green); background: none; }
	.desk-nav a:hover::after, .desk-nav .current-menu-item > a::after { transform: scaleX(1); }
	.hdr-menu { visibility: hidden; }

	.hero { min-height: 560px; display: flex; align-items: center; }
	.hero__content { width: 52%; }
	.hero__title { font-size: 4.2rem; }
	.hero__points li { font-size: 1.25rem; }
	.cats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.cat__name { font-size: 1.12rem; padding: 12px 8px 14px; }
	.section { padding: 34px 0; }
	.sec-title--ribbon .sec-title__text { font-size: 1.9rem; }
	.banner-section .container { max-width: 980px; }
	.features { padding: 22px 8px; }
	.features li { font-size: 1.05rem; }
	.features__ico { font-size: 36px; height: 40px; }
	.steps { max-width: 900px; margin: 0 auto; }
	.step__ico { width: 84px; height: 84px; font-size: 36px; }
	.steps::before { top: 42px; }
	.plist .pcard { padding: 14px; }
	.pcard__img { aspect-ratio: 4 / 3; }
	.order-page { max-width: 820px; }
}
@media (min-width: 1280px) {
	.hero__title { font-size: 4.8rem; }
}
.hero__eyebrow { white-space: nowrap; max-width: 100%; }
.hero__eyebrow span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .hero__eyebrow { font-size: .68rem; } }
@media (min-width: 1024px) {
	.desk-nav__menu, .desk-nav .drawer__menu { max-width: 1360px; padding: 0 12px; gap: 0; }
	.desk-nav a { padding: 11px 10px; font-size: .93rem; }
	.desk-nav a::after { left: 10px; right: 10px; }
}
@media (min-width: 1024px) { .desk-nav a { padding: 10px 8px; font-size: .9rem; } .desk-nav a::after { left: 8px; right: 8px; } }
@media (min-width: 1024px) { .desk-nav__menu > li:first-child { display: none; } }

/* =================================================================== */
/* v1.5 – mockup layout + motion from v1.4                               */
/* =================================================================== */
.site-main { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.callbar { animation: barUp .6s .4s var(--ease) both; }
@keyframes barUp { from { transform: translateY(110%); } to { transform: none; } }
@media (min-width: 1024px) { .callbar { animation: none; } }

/* Hero title: solid colour, lines slide up */
.hero__title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--green); animation: none; filter: none; text-shadow: 0 1px 0 #fff; }
.hero__title.is-split .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title.is-split .ln > span { display: inline-block; animation: lineUp .9s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__media { transform: translateY(var(--py, 0)) scale(1.04); animation: none; }
.hero__points li { animation: fadeUp .6s var(--ease) both; }
.hero__points li:nth-child(1) { animation-delay: .45s; }
.hero__points li:nth-child(2) { animation-delay: .55s; }
.hero__points li:nth-child(3) { animation-delay: .65s; }

/* Ripple */
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; z-index: 2; }
.callbar__btn--zalo .ripple, .callbar__btn--call .ripple, .chips a .ripple, .cat a .ripple { background: rgba(47, 106, 31, .15); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.callbar__btn, .cat a, .chips a { position: relative; overflow: hidden; }

/* Category cards: image curtain + label */
.js .cat[data-reveal] { opacity: 1; transform: none; }
.js .cat[data-reveal] a { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease); transition-delay: var(--d, 0s); }
.js .cat[data-reveal] .cat__img img { clip-path: inset(0 0 100% 0); transform: scale(1.2); transition: clip-path .9s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--d, 0s) + .1s); }
.js .cat.is-in a { opacity: 1; transform: none; }
.js .cat.is-in .cat__img img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .cat.is-in a:hover { transform: translateY(-4px); transition-delay: 0s; }
.js .cat.is-in a:hover .cat__img img { transform: scale(1.1); transition-delay: 0s; }

/* Product images slide open */
.js .pcard[data-reveal] .pcard__img img { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0s) + .1s), 0s; }
.js .pcard.is-in .pcard__img img { clip-path: inset(0 0 0 0); }
.js .product__media[data-reveal] img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js .product__media.is-in img { clip-path: inset(0 0 0 0); }

/* Banner settles in */
.js .banner[data-reveal] { transform: scale(.94); }
.js .banner[data-reveal].is-in { transform: none; transition-duration: 1s; }

/* Section title: ribbon pops, lotus spins in */
.js .sec-title[data-reveal] { opacity: 1; transform: none; }
.js .sec-title[data-reveal] .sec-title__text { opacity: 0; transform: scale(.85); transition: opacity .6s, transform .7s var(--ease); }
.js .sec-title[data-reveal] .sec-title__orn { opacity: 0; transition: opacity .6s .25s, transform .8s .25s var(--ease); }
.js .sec-title[data-reveal] .sec-title__orn:first-child { transform: translateX(-24px); }
.js .sec-title[data-reveal] .sec-title__orn:last-child { transform: translateX(24px); }
.js .sec-title.is-in .sec-title__text { opacity: 1; transform: none; }
.js .sec-title.is-in .sec-title__orn { opacity: 1; transform: none; }

/* Steps: icons pop in sequence */
.js .steps[data-reveal] { opacity: 1; transform: none; }
.js .step[data-reveal] .step__ico { transform: scale(0); transition: transform .6s var(--ease); transition-delay: calc(var(--d, 0s) + .2s); }
.js .step.is-in .step__ico { transform: scale(1); }
.steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s var(--ease); }
.js .steps.is-in::before { transform: scaleX(1); }

/* Feature icons float */
.features__ico svg { animation: floaty 4s ease-in-out infinite; }
.features li:nth-child(2) .features__ico svg { animation-delay: -1s; }
.features li:nth-child(3) .features__ico svg { animation-delay: -2s; }
.features li:nth-child(4) .features__ico svg { animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Call bar: keep labels on one line */
.callbar__btn { gap: 6px; }
.callbar__btn--zalo svg { font-size: 1.5em; }
.callbar__btn--order svg { animation: cartNudge 4s ease-in-out infinite; }
@keyframes cartNudge { 0%, 85%, 100% { transform: translateX(0); } 90% { transform: translateX(4px); } 95% { transform: translateX(-2px); } }
@media (max-width: 360px) { .callbar__btn--zalo svg { display: none; } }

@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] *, .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* v1.5 polish – closer to the mockup, cleaner finish */
.hero { background: radial-gradient(130% 100% at 0% 0%, #fffef9 0%, #fbf6ea 45%, #eef3e0 100%); }
.hero__media { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
.hero__content { padding-top: 22px; }
.hero__points li { font-weight: 600; }
.cats { gap: 10px; }
.cat a { border: 1px solid rgba(201, 161, 74, .3); background: linear-gradient(180deg, #fff8e8, #f6e9cf); box-shadow: 0 3px 8px rgba(84, 60, 20, .12); }
.cat__img { aspect-ratio: 4 / 3; }
.cat__img::after { background: linear-gradient(180deg, transparent 60%, rgba(60, 35, 5, .15)); }
.cat__name { padding: 8px 4px 10px; font-weight: 700; color: #3a2e1e; }
.sec-title--ribbon .sec-title__text { border-radius: 8px; }
.pcard { background: linear-gradient(180deg, #fffdf6, #faf1de); border: 1px solid rgba(201, 161, 74, .3); }
.pcard__title { color: #3a2e1e; }
.features { background: linear-gradient(180deg, #fff8e8, #f6e9cf); border: 1px solid rgba(201, 161, 74, .3); }
.site-footer { background: radial-gradient(120% 80% at 50% 0%, #2a5d1b, var(--green-dark) 70%); }

/* v1.5 desktop refinements */
@media (min-width: 1024px) {
	.site-header__inner { min-height: 100px; }
	.brand .custom-logo { max-height: 92px; }
	.desk-nav { border-top: 1px solid var(--line); background: #fff; }
	.desk-nav a { font-weight: 600; font-size: .98rem; padding: 13px 12px; }
	.hero { min-height: 600px; display: flex; align-items: center; background: radial-gradient(130% 100% at 0% 0%, #fffef9 0%, #fbf6ea 40%, #e9efd8 100%); }
	.hero__media { width: 60%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%); mask-image: linear-gradient(to right, transparent 0, #000 35%); }
	.hero__content { width: 50%; padding: 56px 24px 56px max(24px, calc((100vw - 1160px) / 2 + 24px)); }
	.hero__title { font-size: 4.6rem; line-height: 1.05; }
	.hero__points { gap: 10px; margin-bottom: 26px; }
	.hero__points li { font-size: 1.3rem; }
	.hero .btn { font-size: 1.2rem; padding: .8em 1.8em; }
	.section { padding: 40px 0; }
	.sec-title { margin-bottom: 26px; }
	.sec-title--ribbon .sec-title__text { font-size: 2rem; padding: .35em 1.4em; }
	.sec-title__orn { max-width: 160px; font-size: 2.6rem; }
	.cats { gap: 22px; }
	.cat__img { aspect-ratio: 4 / 3; }
	.cat__name { font-size: 1.2rem; padding: 14px 8px 16px; }
	.banner-section .container { max-width: 1160px; }
	.features { padding: 26px 8px; }
	.features li { font-size: 1.1rem; }
	.features__ico { font-size: 38px; height: 42px; }
	.plist { gap: 24px; }
	.pcard__title { font-size: 1.35rem; }
	.pcard__price strong { font-size: 1.5rem; }
	/* Call bar: compact, bottom-right, never covers content */
	.callbar { left: auto; right: 24px; bottom: 24px; width: auto; transform: none; grid-template-columns: auto auto auto; gap: 10px; padding: 10px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
	.callbar__btn { min-height: 52px; padding: 6px 18px; font-size: 1.02rem; }
	.callbar__btn--call { flex-direction: row; gap: 8px; }
	body.has-callbar { padding-bottom: 0; }
	.site-footer { padding-bottom: 100px; }
}
@media (min-width: 1024px) {
	.desk-nav__menu, .desk-nav .drawer__menu { max-width: 1400px; padding: 0 12px; flex-wrap: nowrap; }
	.desk-nav a { font-size: .9rem; padding: 12px 8px; white-space: nowrap; }
}
@media (min-width: 1200px) { .desk-nav a { font-size: .98rem; padding: 13px 11px; } }
@media (min-width: 1024px) { .desk-nav a { font-size: .86rem; padding: 12px 7px; } .desk-nav__menu, .desk-nav .drawer__menu { justify-content: center; } }
@media (min-width: 1200px) { .desk-nav a { font-size: .92rem; padding: 13px 9px; } }
@media (min-width: 1400px) { .desk-nav a { font-size: 1rem; padding: 13px 12px; } }

/* v1.6 – desktop header: logo left, menu centre, actions right, one row */
@media (min-width: 1024px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; gap: 20px; min-height: 92px; padding: 6px 24px; max-width: 1400px; }
	.hdr-menu { display: none; }
	.brand { text-align: left; }
	.brand .custom-logo { margin: 0; max-height: 80px; }
	.desk-nav { display: block; border: 0; background: none; }
	.desk-nav__menu, .desk-nav .drawer__menu { justify-content: center; padding: 0; max-width: none; }
	.desk-nav a { font-size: .9rem; padding: 10px 7px; font-weight: 600; }
	.desk-nav a::after { bottom: 3px; }
	.hdr-actions { gap: 10px; }
	.hero { min-height: 620px; }
	.cats { gap: 24px; }
	.cat a { border-radius: 12px; }
	.cat__img { aspect-ratio: 3 / 2; }
	.cat__name { font-size: 1.22rem; padding: 16px 8px 18px; }
	.callbar { right: 20px; bottom: 20px; }
}
@media (min-width: 1200px) { .desk-nav a { font-size: .95rem; padding: 10px 9px; } }
@media (min-width: 1400px) { .desk-nav a { font-size: 1rem; padding: 10px 12px; } }
@media (min-width: 1024px) {
	.brand { min-width: 110px; }
	.brand .custom-logo-link { display: inline-block; }
	.brand .custom-logo { height: 80px; width: auto; max-height: none; transition: height .3s var(--ease); }
	.site-header.is-scrolled .brand .custom-logo { height: 56px; max-height: none; }
	.site-footer .custom-logo { height: auto; }
}

/* v1.7 – desktop nav never overflows */
@media (min-width: 1024px) {
	.site-header__inner { overflow: hidden; }
	.desk-nav { min-width: 0; }
	.desk-nav__menu, .desk-nav .drawer__menu { flex-wrap: wrap; row-gap: 0; }
	.desk-nav a { font-size: .86rem; padding: 8px 6px; letter-spacing: 0; }
	.desk-nav__menu > li:nth-last-child(-n+2) { display: none; }
}
@media (min-width: 1200px) { .desk-nav a { font-size: .92rem; padding: 10px 8px; } }
@media (min-width: 1440px) { .desk-nav a { font-size: 1rem; padding: 10px 11px; } .desk-nav__menu > li:nth-last-child(-n+2) { display: block; } }
@media (min-width: 1200px) and (max-width: 1439px) { .desk-nav a { font-size: .84rem; padding: 8px 5px; } .site-header__inner { gap: 12px; } }
