/*
Theme Name: Quà Tặng Quảng Trị
Theme URI: https://hoatuoiquatang.com/
Author: Quà Tặng Quảng Trị
Description: Theme viết tay cho Quà Tặng Quảng Trị: hoa tươi, giỏ quà, quà doanh nghiệp. Dữ liệu gom trong inc/data.php, WooCommerce, schema JSON-LD, form lưu đơn, nút liên hệ nổi, 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: quatangquangtri
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây
   Phong cách học từ mẫu (thẻ bo lớn, bóng mềm theo màu chính, nút viên thuốc, tiêu đề rất đậm);
   màu theo logo Dan (đỏ đô + hồng).
   ========================================================================== */
:root {
	/* Bảng màu Tiệm Đan: giấy ngà, hồng phấn, hồng đất, đỏ rượu */
	--c-primary: #984956;
	--c-primary-dark: #713541;
	--c-primary-2: #713541;
	--c-accent: #984956;
	--c-accent-soft: #F5E7E2;
	--c-gold: #B58C62;
	--c-heading: #392D30;
	--c-wine: #713541;
	--c-text: #392D30;
	--c-text-muted: #736064;
	--c-text-invert: #FFF8F4;
	--c-bg: #FCF8F5;
	--c-bg-alt: #F5E7E2;
	--c-bg-soft: #FAF0EB;
	--c-bg-dark: #713541;
	--c-paper: #FFFAF7;
	--c-border: #DFC9C3;
	--c-border-2: #CBA5A0;

	--grad-main: linear-gradient(100deg, #984956 0%, #713541 100%);
	--grad-line: linear-gradient(90deg, #713541, #CBA5A0);
	--grad-section: radial-gradient(ellipse at 85% 20%, #EFDCD6 0, transparent 55%),
		linear-gradient(115deg, #FCF8F5, #F7EAE4);
	--grad-card: linear-gradient(180deg, #FFFAF7, #FAF0EB);

	--f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Lora", Georgia, serif;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.0625rem;
	--fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
	--fs-h2: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem);
	--fs-h2-xl: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem);
	--fs-h1: clamp(1.75rem, 1.15rem + 2.6vw, 3.05rem);

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--radius-xl: 34px;
	--radius-pill: 999px;
	--shadow-xs: 0 6px 16px rgba(113, 53, 65, 0.05);
	--shadow: 0 12px 30px rgba(113, 53, 65, 0.08);
	--shadow-md: 0 15px 45px rgba(113, 53, 65, 0.11);
	--arch: 240px 240px 16px 16px;

	--space-section: clamp(3rem, 2rem + 3.5vw, 5.5rem);
	--container: 1320px;
	--gutter: 16px;
	--header-h: 72px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -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-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.2; margin: 0 0 0.6em; color: var(--c-heading); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 600; color: var(--c-primary); }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
::selection { background: #EBC8C9; }
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; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.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; }

.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--soft { background: var(--grad-section); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-invert); }
.section__head { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { margin-bottom: 0.35em; }
.section__eyebrow { display: inline-block; margin-bottom: 0.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-primary); }
.eyebrow .icon { width: 20px; height: 20px; }
.section--blush { background: var(--c-bg-alt); border-block: 1px solid #E8D6CF; }
.section--tight { padding-block: 0 var(--space-section); }
.section__line { display: block; width: 72px; height: 4px; margin: 0 auto 1rem; border-radius: 4px; background: var(--grad-line); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.8); }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.25rem; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid var(--c-border-2); border-radius: var(--radius-pill); background: var(--c-bg-alt); color: var(--c-primary); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pill--duo { flex-wrap: wrap; justify-content: center; padding: 4px 4px 4px 14px; margin-bottom: 1rem; font-size: 0.72rem; }
.pill--duo span + span { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--grad-main); color: #fff; text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   3. Nút — viên thuốc, nút chính dải màu
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 24px; 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: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 22px rgba(113, 53, 65, 0.18); }
.btn--primary:hover { background: var(--c-wine); border-color: var(--c-wine); color: #fff; box-shadow: 0 14px 28px rgba(113, 53, 65, 0.24); }
.btn--light { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-wine); }
.btn--light:hover { background: #fff; color: var(--c-wine); }
.btn--outline-light { background: transparent; border-color: rgba(255, 248, 244, 0.55); color: var(--c-text-invert); }
.btn--outline-light:hover { background: rgba(255, 248, 244, 0.1); color: #fff; }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { color: #fff; filter: brightness(1.05); }
.btn--ghost { border-color: var(--c-border); color: var(--c-wine); background: transparent; border-width: 1px; }
.btn--ghost:hover { background: #F0DFDA; color: var(--c-wine); }
.btn--soft { background: var(--c-bg-alt); border-color: var(--c-border-2); color: var(--c-primary); }
.btn--soft:hover { background: var(--c-accent-soft); color: var(--c-primary-dark); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.85rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header — nền trắng, logo trái, menu, nút gọi viên thuốc
   ========================================================================== */
.announcement { padding: 8px 16px; background: var(--c-wine); color: var(--c-text-invert); font-size: 0.72rem; letter-spacing: 0.06em; text-align: center; }
.announcement__item + .announcement__item::before { content: "·"; margin: 0 10px; opacity: 0.7; }
@media (max-width: 479px) { .announcement__item:nth-child(n+3) { display: none; } }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(252, 248, 245, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--c-primary); text-decoration: none; }
.site-logo__img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-xs); }
.site-logo__text { display: flex; flex-direction: column; min-width: 0; }
.site-logo__name { font-family: var(--f-heading); font-weight: 900; font-size: 1.05rem; line-height: 1.15; color: var(--c-primary); white-space: nowrap; }
.site-logo__tag { display: none; font-size: 0.72rem; color: var(--c-text-muted); white-space: nowrap; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-bg-alt); cursor: pointer; flex: none; }
.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: var(--header-h) 0 0 0; background: #fff; 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-heading); font-weight: 700; 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 a:hover { color: var(--c-accent); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); }
.header-cart .icon { width: 22px; height: 22px; }
.header-cart__count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--c-primary); color: #fff; font-size: 0.7rem; font-weight: 700; line-height: 20px; text-align: center; }
.header-cta { display: none; }

/* ==========================================================================
   5. Banner — khung bo góc lớn, chữ trái + ảnh phải, dải cam kết
   ========================================================================== */
.hero { padding-block: 16px 8px; }
.hero__card { position: relative; display: grid; gap: 28px; padding: 28px 20px 20px; border-radius: var(--radius-lg); background: var(--grad-section); box-shadow: var(--shadow); border: 1px solid #EAD7D1; overflow: hidden; }
.hero__content { text-align: center; }
.hero__content .eyebrow { justify-content: center; }
.hero__content h1 { margin-bottom: 0.5em; }
.hero__lead { font-size: var(--fs-lg); line-height: 1.8; color: var(--c-text-muted); max-width: 540px; margin-inline: auto; }
.hero__lead2 { font-size: 0.95rem; color: var(--c-text-muted); max-width: 480px; margin-inline: auto; }
.hero__content .btn-group { margin: 1.5rem 0 1rem; justify-content: center; }
.hero__note { font-size: 0.78rem; color: var(--c-text-muted); margin: 0; }
.hero__media { position: relative; margin: 0 auto; padding: 10px; width: 100%; max-width: 380px; }
.hero__media::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--c-border-2); border-radius: var(--arch); transform: rotate(3deg); }
.hero__img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 43%; border-radius: var(--arch); }
.hero__caption { position: absolute; left: -6px; bottom: 26px; display: flex; flex-direction: column; gap: 4px; max-width: 220px; padding: 14px 18px; border: 1px solid var(--c-border); border-radius: 8px; background: rgba(252, 248, 245, 0.96); box-shadow: 0 12px 30px rgba(113, 53, 65, 0.08); color: var(--c-wine); font-style: italic; font-weight: 500; font-size: 0.9rem; line-height: 1.55; text-align: left; }
.hero__caption .icon { color: var(--c-primary); }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 12px; list-style: none; border-radius: var(--radius); background: rgba(255, 250, 247, 0.92); border: 1px solid #EEDDD7; }
.trust__item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; line-height: 1.3; }
.trust__item strong { display: block; color: var(--c-heading); font-size: 0.85rem; }
.trust__item small { color: var(--c-text-muted); }
.trust__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); flex: none; }
.trust__icon .icon { width: 22px; height: 22px; }

/* ==========================================================================
   6. Danh mục 01–06 trong khung lớn (phong cách mẫu)
   ========================================================================== */
.section--intro { padding-top: 24px; }
.panel { padding: 32px 16px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); }
.h2--xl { font-size: var(--fs-h2-xl); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-card { position: relative; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--grad-card); color: var(--c-heading); text-decoration: none; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.cat-card::before { content: ""; position: absolute; top: 0; left: 16px; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-line); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-2); color: var(--c-heading); }
.cat-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cat-card__num { font-family: var(--f-heading); font-weight: 900; font-size: 0.85rem; color: var(--c-primary); }
.cat-card__go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-border-2); color: var(--c-primary); }
.cat-card__go .icon { width: 14px; height: 14px; }
.cat-card__title { font-family: var(--f-heading); font-weight: 800; font-size: 1rem; line-height: 1.25; }
.cat-card__tags { margin: 4px 0 12px; font-size: 0.78rem; color: var(--c-text-muted); }
.cat-card__media { margin-top: auto; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--c-bg-alt); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }

/* ==========================================================================
   7. Quà doanh nghiệp — so sánh 2 cột
   ========================================================================== */
.compare { display: grid; gap: 20px; align-items: stretch; }
.compare__col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; box-shadow: var(--shadow-xs); }
.compare__col h3 { margin-bottom: 1rem; }
.compare__col ul { margin: 0; padding: 0; list-style: none; }
.compare__col li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--c-border); }
.compare__col li:last-child { border-bottom: 0; }
.compare__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; }
.compare__mark .icon { width: 15px; height: 15px; }
.compare__col--bad { background: #FBFAFA; }
.compare__col--bad h3 { color: var(--c-text-muted); }
.compare__col--bad .compare__mark { background: #EEE8E9; color: #8B7A7D; }
.compare__col--good { border-color: var(--c-border-2); background: var(--grad-card); box-shadow: var(--shadow); }
.compare__col--good .compare__mark { background: var(--grad-main); color: #fff; }
.compare__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ==========================================================================
   8. Thẻ sản phẩm (trang chủ + cửa hàng)
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.product-grid__item { list-style: none; }
.product-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--c-border); border-radius: 175px 175px 16px 16px; background: var(--grad-card); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 4.4; border-radius: 175px 175px 12px 12px; border-bottom: 1px solid var(--c-border); overflow: hidden; background: #ECE8E2; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: 0.72rem; font-weight: 700; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 12px 12px; text-align: center; }
.product-card__cat { margin: 0 0 6px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-primary); }
.product-card__title { margin: 0 0 6px; font-family: var(--f-heading); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.product-card__title a { color: var(--c-wine); text-decoration: none; }
.product-card__title a:hover { color: var(--c-primary); }
.product-card__desc { margin: 0 0 12px; font-size: 0.82rem; line-height: 1.65; color: var(--c-text-muted); }
.product-card__price { margin-top: auto; padding: 8px 12px; border: 1px solid var(--c-border); border-radius: 12px; background: var(--c-paper); }
.product-card__price small { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); }
.product-card__price span { font-weight: 700; color: var(--c-wine); font-size: 0.95rem; }
.product-card__ask { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; color: var(--c-wine); font-size: 0.85rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.product-card__ask .icon { width: 15px; height: 15px; }
.product-card__price del { color: var(--c-text-muted); font-weight: 400; font-size: 0.8rem; }
.product-card__price ins { text-decoration: none; }
.product-card__actions { display: grid; gap: 8px; margin-top: 10px; }
.product-card__actions .btn { width: 100%; padding-inline: 8px; gap: 6px; white-space: nowrap; }
.product-card__actions .btn .icon { width: 16px; height: 16px; }
.product-card .added_to_cart { display: block; margin-top: 6px; font-size: 0.8rem; text-align: center; }

/* Bộ lọc bộ sưu tập + ghi chú */
.filters { display: flex; gap: 8px; margin: 0 -16px 8px; padding: 2px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { cursor: pointer; font-family: inherit; }
.filter-status { margin: 0 0 18px; font-size: 0.78rem; color: var(--c-text-muted); }
.collection-note { max-width: 800px; margin: 24px auto 0; font-size: 0.78rem; line-height: 1.8; color: var(--c-text-muted); text-align: center; }

/* ==========================================================================
   8b. Khối Tiệm Đan: dịp tặng, an tâm + lá thư, doanh nghiệp, tư vấn, lời kết
   ========================================================================== */
.occasions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.occasion { display: flex; flex-direction: column; padding: 22px 16px 12px; border: 1px solid #D9BBB4; border-radius: 16px; background: rgba(255, 248, 244, 0.35); }
.occasion__icon { color: var(--c-primary); margin-bottom: 12px; }
.occasion__icon .icon { width: 30px; height: 30px; }
.occasion h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.occasion p { margin: 0 0 12px; font-size: 0.85rem; color: var(--c-text-muted); }
.occasion__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-border); color: var(--c-wine); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.occasion__btn .icon { width: 15px; height: 15px; }

.reassure { display: grid; gap: 32px; align-items: center; }
.reassure__copy h2 { margin-bottom: 0.5em; }
.reasons { margin: 24px 0 0; padding: 0; list-style: none; }
.reasons li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-border); }
.reasons__num { padding-top: 3px; color: var(--c-primary); font-size: 0.82rem; font-weight: 600; }
.reasons h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.reasons p { margin: 0; font-size: 0.9rem; color: var(--c-text-muted); }
.letter { position: relative; max-width: 520px; margin-inline: auto; padding: 40px 26px; border: 1px solid var(--c-border); border-radius: 8px; background: #F8ECE6; text-align: center; }
.letter::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--c-border); pointer-events: none; }
.letter__icon { color: var(--c-primary); display: inline-block; }
.letter__icon .icon { width: 34px; height: 34px; }
.letter blockquote { margin: 16px 0; font-size: 1.3rem; line-height: 1.7; font-style: italic; color: var(--c-wine); }
.letter p { margin: 0; font-size: 0.82rem; font-weight: 500; color: var(--c-text-muted); }

.business { display: grid; gap: 28px; align-items: center; padding: 26px 22px; border-radius: var(--radius); background: var(--c-wine); color: var(--c-text-invert); }
.business .section__eyebrow { color: #EFD0CA; }
.business h2 { color: var(--c-text-invert); }
.business p { color: #F1DED7; }
.business ul { margin: 16px 0 24px; padding: 0; list-style: none; }
.business li { display: flex; gap: 10px; padding: 6px 0; color: #F1DED7; font-size: 0.93rem; }
.business li .icon { width: 18px; height: 18px; margin-top: 3px; color: #EFD0CA; }
.business__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: end; }
.business__img { width: 100%; object-fit: cover; }
.business__img--main { aspect-ratio: 4 / 5; border-radius: 150px 150px 12px 12px; }
.business__img--sub { aspect-ratio: 3 / 4; border-radius: 100px 100px 12px 12px; border: 5px solid rgba(255, 248, 244, 0.25); }

.consult { background: linear-gradient(115deg, #F5E6E1, #FAF2ED); }
.consult__grid { display: grid; gap: 28px; align-items: start; }
.how { margin: 22px 0; padding-left: 22px; color: var(--c-text-muted); font-size: 0.92rem; }
.how li { padding: 6px 0 6px 6px; }
.how li::marker { color: var(--c-primary); font-weight: 600; }
.consult__label { margin: 24px 0 0; color: var(--c-text-muted); }
.consult__phone { display: inline-block; padding: 6px 0; font-family: var(--f-heading); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; color: var(--c-wine); text-decoration: none; }
.consult__meta { font-size: 0.82rem; color: var(--c-text-muted); }
.form__title { margin: 0 0 4px; font-size: 1.35rem; }
.form__title span { color: var(--c-primary); }
.form__lead { margin: 0 0 6px; font-size: 0.85rem; color: var(--c-text-muted); }
.form__submit { width: 100%; }

.closing { padding: 48px 0 64px; text-align: center; background: linear-gradient(transparent, #F9EEE8); }
.closing h2 { max-width: 640px; margin: 0 auto 1.5rem; }

/* ==========================================================================
   9. Lý do, số liệu, bảng giá, quy trình, cam kết, đánh giá, FAQ, album
   ========================================================================== */
.feature { height: 100%; padding: 26px 24px; border-radius: var(--radius); background: var(--grad-card); border: 1px solid var(--c-border); box-shadow: var(--shadow-xs); transition: transform 0.2s, box-shadow 0.2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { margin: 0; color: var(--c-text-muted); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 15px; background: var(--grad-main); color: #fff; box-shadow: 0 8px 18px rgba(109, 7, 18, 0.2); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature--center { text-align: center; }
.feature--center .feature__icon { margin-inline: auto; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 2rem; padding: 20px; border-radius: var(--radius-lg); background: var(--grad-main); color: #fff; box-shadow: var(--shadow-md); }
.stats__item { text-align: center; }
.stats__item strong { display: block; font-family: var(--f-heading); font-weight: 900; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.1; }
.stats__item span { font-size: var(--fs-sm); opacity: 0.9; }

.pricing { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 22px 22px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.pricing--featured { border: 2px solid var(--c-accent); background: var(--grad-card); box-shadow: var(--shadow-md); }
.pricing__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: var(--radius-pill); background: var(--grad-main); color: #fff; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.pricing__name { margin-bottom: 0.25rem; font-size: 1.05rem; color: var(--c-text-muted); }
.pricing__price { font-family: var(--f-heading); font-size: 1.35rem; font-weight: 900; line-height: 1.25; color: var(--c-primary); }
.pricing__items { margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.pricing__items li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--c-border); font-size: 0.93rem; }
.pricing__items li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.pricing .btn { margin-top: auto; }

.steps-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.step-card { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; box-shadow: var(--shadow-xs); }
.step-card::before { content: ""; position: absolute; top: 0; left: 22px; width: 52px; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-line); }
.step-card__num { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--c-bg-alt); color: var(--c-primary); font-weight: 800; font-size: 0.8rem; }
.step-card h3 { font-size: 1.1rem; }
.step-card p { margin: 0; color: var(--c-text-muted); }

.quote-card { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--c-border); background: #fff; box-shadow: var(--shadow-xs); }
.quote-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--c-accent-soft); color: var(--c-primary); }
.quote-card blockquote { flex: 1; margin: 0 0 18px; font-size: 1rem; line-height: 1.7; color: var(--c-text); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.quote-card figcaption strong { display: block; color: var(--c-heading); }
.quote-card figcaption small { color: var(--c-text-muted); font-size: 0.8rem; line-height: 1.35; display: block; }
.quote-card__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); color: #fff; font-weight: 800; flex: none; }

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

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.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(42, 4, 8, 0.9); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-sm); }
.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; }

/* ==========================================================================
   10. Form đặt quà
   ========================================================================== */
.form-band { display: grid; gap: 28px; padding: 28px 18px; border-radius: var(--radius-xl); background: radial-gradient(circle at 90% 10%, rgba(224, 122, 143, 0.35), transparent 40%), linear-gradient(135deg, #6D0712 0%, #4A0610 100%); color: #fff; box-shadow: var(--shadow-md); }
.form-band h2 { color: #fff; }
.form-band .section__eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.form-band .section__lead { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.25rem; }
.form-band .btn--accent { background: #fff; color: var(--c-primary); }
.form-band .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.form-band__info { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.88); }
.form-band__info li { display: flex; gap: 10px; align-items: flex-start; }
.form-band__info .icon { color: var(--c-accent); margin-top: 2px; }
.form { display: grid; gap: 14px; padding: 24px 18px; background: var(--c-paper); color: var(--c-text); border: 1px solid #E2CAC2; border-radius: var(--radius); box-shadow: 0 15px 45px rgba(113, 53, 65, 0.05); }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-heading); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: var(--c-bg-soft); color: var(--c-text); }
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-accent); outline: none; box-shadow: 0 0 0 4px var(--c-accent-soft); background: #fff; }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: 0.8rem; color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   11. Trang con, bài viết
   ========================================================================== */
.page-hero { padding-block: 36px; background: var(--grad-section); border-bottom: 1px solid var(--c-border); }
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero__lead { max-width: 760px; color: var(--c-text-muted); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); 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; }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 10px; border: 1px solid var(--c-border); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4 / 3; 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; font-size: 1.1rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__meta { margin-top: auto; font-weight: 700; color: var(--c-primary); }
.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-pill); text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.cta-band { padding-block: 56px; background: var(--grad-main); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--accent { background: #fff; color: var(--c-primary); }
.cta-band .btn--ghost { background: transparent; border-color: #fff; color: #fff; }

/* ==========================================================================
   12. WooCommerce
   ========================================================================== */
.section--shop { padding-top: 28px; }
.cat-chips { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; padding: 8px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; color: var(--c-heading); font-weight: 600; font-size: 0.88rem; text-decoration: none; white-space: nowrap; }
.chip:hover, .chip.is-active { background: var(--grad-main); border-color: transparent; color: #fff; }
.woocommerce .woocommerce-result-count { color: var(--c-text-muted); font-size: var(--fs-sm); }
.woocommerce .woocommerce-ordering select { min-height: 42px; padding: 6px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; clear: both; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product-grid__item { width: auto; margin: 0; float: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt { padding: 12px 22px; border-radius: var(--radius-pill); background: var(--grad-main); color: #fff; font-weight: 700; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--c-primary-dark); color: #fff; }
.woocommerce div.product .product_title { font-size: var(--fs-h2); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-primary); font-weight: 800; font-size: 1.4rem; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product form.cart .button { min-height: 48px; }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); }
.single-ask { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.5rem; }
.price-contact { color: var(--c-primary); font-weight: 800; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--c-primary); background: var(--c-bg-alt); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--c-primary); }
.woocommerce span.onsale { background: var(--c-primary); }
.woocommerce table.shop_table { border-radius: var(--radius-sm); border-color: var(--c-border); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer { margin-top: 0; background: #EFE2DC; border-top: 1px solid var(--c-border); color: var(--c-text-muted); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: 28px; padding-block: 48px 28px; }
.site-footer a { color: var(--c-text); text-decoration: none; }
.site-footer a:hover { color: var(--c-wine); text-decoration: underline; }
.site-footer h3 { color: var(--c-heading); font-family: var(--f-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-logo--footer { margin-bottom: 12px; }
.site-logo--footer .site-logo__name { color: var(--c-wine); }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social a { padding: 6px 14px; border: 1px solid var(--c-border-2); border-radius: var(--radius-pill); }
.social a:hover { background: var(--c-bg); text-decoration: none; }
.site-footer__contact strong { color: var(--c-heading); font-weight: 600; }
.site-footer__bottom { padding-block: 18px 92px; border-top: 1px solid #D9C6BE; font-size: 0.75rem; text-align: center; }

/* ==========================================================================
   14. Nút liên hệ nổi — mobile: thanh 2 nút dưới đáy; desktop: cột nút 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; gap: 8px; padding: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 -4px 16px rgba(109, 7, 18, 0.12); }
.float-contact__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius-sm); font-size: 0.9rem; 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-main); }
.float-contact__zalo { background: var(--c-paper); border: 1px solid var(--c-border); color: var(--c-wine); }
.float-contact__zalo:hover { color: var(--c-wine); background: #fff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (min-width: 480px) {
	.site-logo__tag { display: block; }
}
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.trust { grid-template-columns: repeat(4, 1fr); }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.filters { justify-content: center; flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
	.filter-status { text-align: center; }
}
@media (min-width: 768px) {
	:root { --gutter: 28px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.stats { grid-template-columns: repeat(4, 1fr); padding: 28px; }
	.steps-grid { grid-template-columns: repeat(2, 1fr); }
	.panel { padding: 44px 32px; }
	.form-band { padding: 40px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
	.compare { grid-template-columns: 1fr 1fr; }
	.compare__media { grid-column: 1 / -1; grid-row: 1; }
	.compare__media img { max-height: 340px; }
	.business { grid-template-columns: 1.15fr 0.85fr; gap: 36px; padding: 40px; }
	.reassure { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
	.letter { transform: rotate(-2deg); }
	.form { padding: 30px; }
}
@media (min-width: 1024px) {
	:root { --gutter: 40px; --header-h: 84px; }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
	.cat-grid { grid-template-columns: repeat(7, 1fr); gap: 10px; }
	.steps-grid { grid-template-columns: repeat(4, 1fr); }
	.hero { padding-block: 24px 8px; }
	.hero__card { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; padding: 52px 52px 28px 64px; }
	.hero__content { text-align: left; }
	.hero__content .eyebrow, .hero__content .btn-group { justify-content: flex-start; }
	.hero__lead, .hero__lead2 { margin-inline: 0; }
	.hero__media { max-width: 440px; margin-right: 0; }
	.hero__caption { left: -40px; bottom: 34px; }
	.trust { grid-column: 1 / -1; }
	.occasions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	.consult__grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
	.form-band { grid-template-columns: 1fr 1.15fr; align-items: center; padding: 52px; }
	.compare { grid-template-columns: 1fr 0.9fr 1fr; align-items: center; }
	.compare__media { grid-column: auto; grid-row: auto; }
	.compare__media img { max-height: 460px; }
	.site-logo__img { width: 56px; height: 56px; }
	.site-logo__name { font-size: 1.2rem; }
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; margin-left: auto; }
	.primary-nav > div > ul, .primary-nav > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 10px 12px; border: 0; font-size: 0.95rem; }
	.primary-nav li { position: relative; }
	.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-md); 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; border-radius: 10px; white-space: nowrap; font-weight: 600; }
	.primary-nav .sub-menu a:hover { background: var(--c-bg-alt); }
	.primary-nav a { white-space: nowrap; }
	.header-cta { display: inline-flex; }
	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 10px; padding: 10px; border-radius: 18px; border: 1px solid var(--c-border); box-shadow: var(--shadow-md); }
	.float-contact__btn { min-width: 150px; padding: 0 18px; justify-content: flex-start; border-radius: 14px; }
	.site-footer__bottom { padding-bottom: 18px; }
}
@media (min-width: 1280px) {
	.primary-nav a { padding-inline: 14px; }
}
/* ==========================================================================
   16. Luồng chọn quà
   ========================================================================== */
.picker, .pick-final { max-width: 860px; margin-inline: auto; }
.picker { padding: 24px 18px; border: 1px solid #E2CAC2; border-radius: var(--radius); background: var(--c-paper); }
.picker__seen { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-bg-alt); font-size: 0.9rem; }
.picker__step { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.picker__step[hidden] { display: none; }
.picker__step legend { margin-bottom: 14px; padding: 0; font-family: var(--f-heading); font-size: 1.25rem; font-weight: 800; color: var(--c-heading); }
.picker__step legend span { display: block; margin-bottom: 4px; font-family: var(--f-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--c-primary); }
.pick-tiles { display: grid; gap: 10px; }
.pick-tiles--img { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick-tile { display: block; margin: 0; cursor: pointer; }
.pick-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-tile span { display: block; padding: 13px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; font-weight: 600; color: var(--c-heading); transition: background 0.15s, border-color 0.15s; }
.pick-tile:hover span { border-color: var(--c-primary); }
.pick-tile input:checked + span { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.pick-tile input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.pick-tile--img span { padding: 8px 8px 12px; text-align: center; font-size: 0.9rem; }
.pick-tile--img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.picker__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.picker__nav .btn[hidden] { display: none; }
.picker__nav [data-picker-next], .picker__nav [data-picker-submit] { margin-left: auto; }
.pick-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-bg-alt); font-size: 0.9rem; }
.product-grid__item.is-seen { order: -1; }
.pick-final { display: grid; gap: 24px; align-items: start; }
.pick-final__item { padding: 18px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--grad-card); }
.pick-final__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 120px 120px 12px 12px; }
.pick-final__item h2 { margin: 14px 0 10px; font-size: 1.25rem; }
.pick-final__rows { margin: 0; }
.pick-final__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--c-border); font-size: 0.9rem; }
.pick-final__rows dt { color: var(--c-text-muted); }
.pick-final__rows dd { margin: 0; font-weight: 600; text-align: right; }
.pick-bank { display: none; padding: 14px 16px; border: 1px solid var(--c-border-2); border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.pick-tiles:has(input:checked) + .pick-bank { display: block; }
.pick-bank p { margin: 0 0 8px; font-size: 0.92rem; }
.pick-bank dl { margin: 0; }
.pick-bank dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid var(--c-border); font-size: 0.9rem; }
.pick-bank dt { color: var(--c-text-muted); }
.pick-bank dd { margin: 0; font-weight: 700; color: var(--c-wine); text-align: right; }
.pick-final__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-final__links { margin: 12px 0 0; font-size: 0.85rem; }
@media (min-width: 768px) {
	.picker { padding: 36px; }
	.pick-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pick-tiles--img { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pick-final { grid-template-columns: 0.8fr 1.2fr; }
	.pick-final__form .pick-tiles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   17. Giao diện cửa hàng
   ========================================================================== */
body { background: #F6EFEB; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
h1 em, .shop-cta em { font-style: italic; font-weight: 600; color: var(--c-primary); }
.shop-head { background: #fff; }
.shop-head__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 10px; }
.shop-head .site-logo { flex: 1 1 auto; }
.shop-head .site-logo__name { font-family: var(--f-heading); }
.shop-search { order: 9; display: flex; flex: 1 1 100%; padding: 4px; border-radius: var(--radius-pill); background: var(--c-bg-alt); }
.shop-search input[type=search] { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; border: 0; background: none; color: var(--c-text); }
.shop-search input:focus { outline: none; }
.shop-search button { padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-weight: 600; cursor: pointer; }
.shop-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.shop-phone__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); }
.shop-phone__text { display: none; line-height: 1.2; }
.shop-phone small { display: block; color: var(--c-text-muted); font-size: .75rem; }
.shop-phone strong { color: var(--c-primary); font-size: 1.1rem; }
.shop-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); color: var(--c-heading); font-weight: 600; font-size: .9rem; text-decoration: none; }
.shop-pill--login, .shop-pill__label { display: none; }
.shop-head__nav { border-top: 1px solid #F0E6E2; }
.shop-head__row { display: flex; align-items: center; gap: 10px; }
.cat-drop { display: none; }
.shop-hero { padding-block: 14px 0; }
.shop-hero__grid { display: grid; gap: 14px; }
.shop-hero__main { position: relative; display: grid; align-items: center; min-height: 340px; padding: 24px 20px; border-radius: var(--radius-lg); background: linear-gradient(110deg, #F5E7E2, #EFDCD6); overflow: hidden; }
.shop-hero__copy { position: relative; z-index: 1; max-width: 62%; }
.shop-hero__copy p { color: var(--c-text-muted); }
.shop-hero__copy h1 { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.15; margin: .5em 0; }
.shop-hero__copy h1 em { display: block; }
.shop-hero__img { position: absolute; right: -6%; bottom: 0; width: 52%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%); mask-image: linear-gradient(90deg, transparent, #000 28%); }
.shop-tag { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: #fff; color: var(--c-primary); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.btn--white { background: #fff; color: var(--c-heading); }
.btn--white:hover { color: var(--c-primary); }
.shop-hero__side { position: relative; display: flex; align-items: center; min-height: 170px; padding: 20px; border-radius: var(--radius-lg); background: var(--c-wine); color: #fff; text-decoration: none; overflow: hidden; }
.shop-hero__side--2 { background: #EFDCD6; color: var(--c-heading); }
.shop-hero__side-text { position: relative; z-index: 1; max-width: 62%; }
.shop-hero__side strong { display: block; font-family: var(--f-heading); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.shop-hero__side em { display: block; font-style: italic; color: #F3C9CF; }
.shop-hero__side--2 em { color: var(--c-primary); }
.shop-hero__side small { display: block; margin-top: 6px; opacity: .85; }
.shop-hero__side img { position: absolute; right: 0; top: 0; width: 44%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.shop-box { padding: 18px 14px; border-radius: var(--radius-lg); background: #fff; }
.shop-cats { padding-top: 14px; }
.shop-cats__row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.shop-cats__row::-webkit-scrollbar { display: none; }
.shop-cat { flex: 0 0 92px; text-align: center; color: var(--c-heading); font-size: .84rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.shop-cat__img { display: block; width: 76px; height: 76px; margin: 0 auto 8px; padding: 3px; border: 2px solid var(--c-accent-soft); border-radius: 50%; }
.shop-cat__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.shop-section { padding-top: 14px; }
.shop-section__head { display: grid; gap: 10px; margin-bottom: 14px; }
.shop-section__head h2 { margin: 0; }
.shop-section__head p { margin: 0; color: var(--c-text-muted); font-size: .9rem; }
.shop-section__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.shop-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.shop-chips .chip { padding: 6px 12px; border: 0; background: var(--c-bg-alt); font: inherit; font-size: .84rem; font-weight: 500; cursor: pointer; }
.shop-chips .chip.is-active, .shop-chips .chip:hover { background: var(--c-primary); color: #fff; }
.shop-more { flex: none; color: var(--c-primary); font-size: .88rem; font-weight: 600; text-decoration: none; }
.shop-layout { display: grid; gap: 12px; }
.shop-layout__left { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #F5E7E2, #EFDCD6); }
.shop-layout__grid, .woocommerce ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop-card { display: flex; flex-direction: column; height: 100%; border: 1px solid #F0E6E2; border-radius: var(--radius); background: #fff; overflow: hidden; }
.shop-card[hidden] { display: none; }
.shop-card__media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--c-bg-alt); overflow: hidden; }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-card:hover .shop-card__media img { transform: scale(1.03); }
.shop-card__sku { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.92); color: var(--c-heading); font-size: .7rem; font-weight: 700; }
.shop-card__body { display: flex; flex-direction: column; flex: 1; padding: 10px; }
.shop-card__title { margin: 0 0 8px; font-family: var(--f-body); font-size: .92rem; font-weight: 500; line-height: 1.4; }
.shop-card__title a { color: var(--c-heading); text-decoration: none; }
.shop-card__price { margin: auto 0 8px; color: var(--c-primary); font-size: 1.02rem; font-weight: 700; }
.shop-card__price del { color: var(--c-text-muted); font-size: .8rem; font-weight: 400; }
.shop-card__price ins { text-decoration: none; }
.shop-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shop-btn { display: grid; place-items: center; min-height: 38px; border-radius: 9px; font-size: .84rem; font-weight: 700; text-decoration: none; }
.shop-btn--soft { background: var(--c-bg-alt); color: var(--c-heading); }
.shop-btn--buy { background: var(--c-primary); color: #fff; }
.shop-btn--buy:hover { background: var(--c-wine); color: #fff; }
.shop-card--big { border: 0; border-radius: 0; }
.shop-card--big .shop-card__media { aspect-ratio: 4 / 4.2; }
.shop-info { padding: 16px; }
.shop-info h3 { margin-bottom: .4em; }
.shop-info p { color: var(--c-text-muted); font-size: .9rem; }
.shop-info ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shop-info li, .shop-why__list li, .shop-perks li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: .84rem; font-weight: 500; }
.shop-info li span, .shop-why__list li span, .shop-perks li span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary); }
.shop-why { display: grid; gap: 22px; }
.shop-why__list { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.shop-why__list li { background: #F7F1EE; }
.shop-why__list strong, .shop-perks strong { display: block; }
.shop-why__list small, .shop-perks small { opacity: .75; }
.shop-why__steps { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.shop-why__steps li::marker { color: var(--c-primary); font-weight: 700; }
.shop-why__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shop-why__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.shop-about { display: grid; gap: 18px; }
.shop-about h2 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 700; }
.shop-about p { margin: 0; color: var(--c-text-muted); }
.consult { margin-top: 14px; }
.shop-foot { margin-top: 90px; background: #3D1B23; color: rgba(255,255,255,.75); }
.shop-foot a, .shop-foot h3, .shop-foot .site-footer__contact strong, .shop-foot .site-logo--footer .site-logo__name { color: #fff; }
.shop-foot h3 { font-family: var(--f-body); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #F3C9CF; }
.shop-foot .social a { border-color: rgba(255,255,255,.3); }
.shop-foot .social a:hover { background: rgba(255,255,255,.1); }
.shop-foot .site-footer__bottom { border-top-color: rgba(255,255,255,.12); }
.shop-foot .site-footer__grid ul + ul { margin-top: 10px; }
.shop-cta { position: relative; display: flex; margin-top: -60px; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--c-primary); color: #fff; overflow: hidden; }
.shop-cta__text { position: relative; z-index: 1; }
.shop-cta h2 { color: #fff; }
.shop-cta em { color: #F9DEE2; }
.shop-cta p { opacity: .9; }
.shop-cta__img { display: none; }
.shop-perks { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.shop-perks li { background: rgba(255,255,255,.07); }
.shop-perks small { display: block; }
.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
.single-ask .btn { flex: 1 1 auto; }
@media (min-width: 600px) {
	.shop-section__head { grid-template-columns: 1fr auto; align-items: end; }
	.shop-perks { grid-template-columns: repeat(2, 1fr); }
	.shop-why__list { grid-template-columns: 1fr 1fr; }
	.shop-why__steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
	.shop-box { padding: 24px; }
	.shop-layout__grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.shop-layout { grid-template-columns: 1fr 1fr; gap: 14px; }
	.shop-about, .shop-why { grid-template-columns: 1fr 1fr; gap: 32px; }
	.shop-cat { flex: 1 1 0; }
	.shop-cat__img { width: 84px; height: 84px; }
	.shop-cta__img { display: block; position: absolute; right: 0; top: 0; bottom: 0; width: 36%; }
	.shop-cta__img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
	.shop-cta { padding: 34px 40px; }
}
@media (min-width: 1024px) {
	.shop-head__top { flex-wrap: nowrap; gap: 18px; padding-block: 14px; }
	.shop-head .site-logo { flex: 0 0 auto; }
	.shop-search { order: 0; flex: 1 1 auto; }
	.shop-phone__text, .shop-pill--login, .shop-pill__label { display: block; }
	.shop-pill { padding: 0 18px; }
	.shop-pill--login { display: inline-flex; align-items: center; }
	.shop-head__row { padding-block: 8px; }
	.cat-drop { position: relative; display: block; flex: none; }
	.cat-drop__btn { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--c-primary); color: #fff; font-weight: 600; cursor: pointer; }
	.cat-drop__bars, .cat-drop__bars::before, .cat-drop__bars::after { display: block; width: 14px; height: 2px; background: currentColor; }
	.cat-drop__bars { position: relative; }
	.cat-drop__bars::before, .cat-drop__bars::after { content: ""; position: absolute; left: 0; }
	.cat-drop__bars::before { top: -5px; }
	.cat-drop__bars::after { top: 5px; }
	.cat-drop__list { position: absolute; top: 100%; left: 0; z-index: 20; min-width: 250px; margin: 6px 0 0; padding: 8px; list-style: none; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: .15s; }
	.cat-drop:hover .cat-drop__list, .cat-drop:focus-within .cat-drop__list { opacity: 1; visibility: visible; }
	.cat-drop__list a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--c-heading); font-weight: 500; text-decoration: none; }
	.cat-drop__list a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
	.shop-head .primary-nav { flex: 1; margin-left: 0; }
	.shop-head .primary-nav > ul, .shop-head .primary-nav > div > ul { gap: 0; }
	.shop-head .primary-nav li:nth-last-child(2) { margin-left: auto; }
	.shop-head .primary-nav a { padding: 10px; font-size: .93rem; font-weight: 500; }
	.shop-hero { padding-top: 26px; }
	.shop-hero__grid { grid-template-columns: 1.9fr 1fr; grid-template-rows: 1fr 1fr; }
	.shop-hero__main { grid-row: span 2; min-height: 400px; padding: 44px; }
	.shop-layout { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.shop-perks { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.shop-foot a.btn--light, .shop-foot a.btn--light:hover { color: var(--c-wine); text-decoration: none; }
.shop-foot a.btn { text-decoration: none; }

/* Menu điện thoại: header không được tạo khung chứa cho menu cố định */
.shop-head { backdrop-filter: none; }
@media (max-width: 1023px) {
	.shop-head__nav { border-top: 0; }
	.shop-head .primary-nav { top: 124px; bottom: 0; z-index: 150; }
	.nav-open .float-contact { display: none; }
}

/* Trang sản phẩm */
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; margin-bottom: .3em; }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.pd-sku { padding: 4px 12px; border-radius: 8px; background: #F2ECE8; color: var(--c-text-muted); font-weight: 600; font-size: .9rem; }
.pd-stars { color: #DDD2CD; font-size: 1.1rem; letter-spacing: 3px; }
.pd-rate { color: var(--c-text-muted); font-size: .9rem; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: var(--c-bg-soft); }
.pd-price strong { color: var(--c-primary); font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.pd-price del { font-size: 1rem; font-weight: 400; color: var(--c-text-muted); }
.pd-price ins { text-decoration: none; }
.pd-price span { color: var(--c-wine); font-size: .92rem; font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { font-style: italic; color: var(--c-wine); font-size: 1.05rem; margin-bottom: 16px; }
.pd-perks { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.pd-perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #F0E6E2; border-radius: 14px; background: #fff; }
.pd-perks span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary); }
.pd-perks strong { display: block; color: var(--c-heading); font-size: .95rem; }
.pd-perks small { color: var(--c-text-muted); font-size: .83rem; }
.woocommerce div.product form.cart { display: flex; gap: 12px; margin-bottom: 12px; }
.woocommerce div.product form.cart div.quantity { display: flex; align-items: center; float: none; margin: 0; border: 1px solid var(--c-border); border-radius: 14px; }
.woocommerce div.product form.cart .quantity .qty { width: 42px; min-height: 52px; border: 0; background: none; font-weight: 700; text-align: center; -moz-appearance: textfield; }
.woocommerce .quantity .qty::-webkit-inner-spin-button { display: none; }
.qty-btn { width: 40px; min-height: 52px; border: 0; background: none; font-size: 1.3rem; font-weight: 600; cursor: pointer; color: var(--c-heading); }
.woocommerce div.product form.cart .single_add_to_cart_button, .pd-buy { flex: 1; display: grid; place-items: center; min-height: 54px; float: none; border-radius: 14px; background: var(--c-primary); color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.pd-buy { margin-bottom: 12px; }
.pd-buy:hover { background: var(--c-wine); color: #fff; }
.pd-contact { display: grid; gap: 10px; margin-bottom: 18px; }
.pd-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; background: #F2ECE8; color: var(--c-heading); font-weight: 700; text-decoration: none; }
.pd-contact a:hover { background: var(--c-accent-soft); color: var(--c-primary); }
@media (min-width: 600px) {
	.pd-perks, .pd-contact { grid-template-columns: 1fr 1fr; }
}
.pd-price { background: #fff; border: 1px solid #F0E6E2; }
.pd-price > span { color: var(--c-wine); font-size: .92rem; font-weight: 600; }
.pd-price > strong, .pd-price > strong .woocommerce-Price-amount, .pd-price > strong .price-contact { color: var(--c-primary); font-size: 1.7rem; font-weight: 700; line-height: 1.2; }

/* Mô tả sản phẩm */
.woocommerce div.product .woocommerce-tabs { clear: both; margin-top: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 26px 30px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.woocommerce div.product .woocommerce-tabs .panel h2 { margin: 0 0 .5em; font-size: 1.5rem; }
.woocommerce div.product .woocommerce-tabs .panel p { margin: 0; font-size: 1.05rem; line-height: 1.85; }

/* Trỏ chuột: mọi lựa chọn đổi nền và màu chữ */
.chip:hover, .shop-chips .chip:hover, .cat-chips .chip:hover,
.shop-btn:hover, .shop-btn--soft:hover,
.btn--soft:hover, .btn--ghost:hover, .btn--white:hover, .btn--light:hover, .shop-foot a.btn--light:hover, .btn--outline-light:hover,
.shop-pill:hover, .pd-contact a:hover, .qty-btn:hover, .shop-search button:hover,
.pd-perks li:hover, .shop-info li:hover, .shop-why__list li:hover, .shop-perks li:hover,
.pick-tile:hover span, .faq__item:hover .faq__q, .qo-date__btns button:hover, .qo-qty button:hover, .qo-item__x:hover, .qo-zalo:hover, .qo-promise li:hover {
	background: var(--c-primary); border-color: var(--c-primary); color: #fff;
}
.pd-perks li:hover *, .shop-info li:hover *, .shop-why__list li:hover *, .shop-perks li:hover *, .qo-zalo:hover *, .shop-pill:hover .icon { color: #fff; }
.pd-perks li:hover span, .shop-info li:hover span, .shop-why__list li:hover span, .shop-perks li:hover span, .qo-zalo:hover span:first-child { background: rgba(255,255,255,.18); }
.pd-perks li, .shop-info li, .shop-why__list li, .shop-perks li, .pd-contact a, .shop-btn, .shop-pill, .qo-date__btns button, .qo-zalo, .qo-promise li { transition: background .15s, color .15s, border-color .15s; }
.shop-btn--buy:hover, .woocommerce div.product form.cart .single_add_to_cart_button:hover, .qo-submit:hover { background: var(--c-wine); color: #fff; }
.primary-nav a:hover, .cat-drop__list a:hover { background: var(--c-primary); color: #fff; border-radius: 8px; }

/* Trang đặt hàng */
.qo-page { padding-block: 22px 40px; }
.qo-page .breadcrumb { display: none; }
.qo-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.qo-head h1 { margin: 0; }
.qo-steps { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: .86rem; font-weight: 600; color: var(--c-text-muted); }
.qo-steps li { display: flex; align-items: center; gap: 6px; }
.qo-steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E4D8D3; color: #fff; font-size: .75rem; }
.qo-steps .is-done { color: var(--c-primary); }
.qo-steps .is-done span { background: var(--c-primary); }
.qo { display: grid; gap: 14px; align-items: start; }
.woocommerce form.qo .form-row { margin: 0; padding: 0; float: none; width: auto; }
.qo-main, .qo-side { display: grid; gap: 12px; min-width: 0; }
.qo-box { padding: 18px 16px; border-radius: var(--radius); background: #fff; }
.qo-box h2 { margin: 0 0 12px; font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; }
.qo-box__head { display: flex; justify-content: space-between; gap: 10px; }
.qo-box__head a { color: var(--c-primary); font-size: .9rem; font-weight: 600; text-decoration: none; }
.qo-item { display: flex; gap: 12px; padding-block: 10px; border-top: 1px solid #F0E6E2; }
.qo-item:first-of-type { border-top: 0; }
.qo-item__img { flex: none; width: 72px; }
.qo-item__img img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.qo-item__main { flex: 1; min-width: 0; }
.qo-item__top { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center; }
.qo-item__name { grid-column: 1 / -1; }
.qo-item__name strong { display: block; color: var(--c-heading); }
.qo-item__name small { color: var(--c-text-muted); }
.qo-qty { display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--c-border); border-radius: 10px; }
.qo-qty button { width: 34px; height: 36px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; border-radius: 9px; }
.qo-qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qo-item__total { color: var(--c-primary); font-weight: 700; text-align: right; }
.qo-item__x { position: absolute; }
.qo-item { position: relative; }
.qo-item__x { top: 8px; right: 0; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--c-bg-alt); font-size: 1.1rem; cursor: pointer; }
.qo-item__note { width: 100%; min-height: 40px; margin-top: 8px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; }
.qo-grid { display: grid; gap: 12px; }
.qo label { display: block; margin-bottom: 4px; font-size: .88rem; font-weight: 600; color: var(--c-heading); }
.qo label .optional { display: none; }
.qo abbr.required { color: var(--c-primary); text-decoration: none; }
.qo input.input-text, .qo select, .qo textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; color: var(--c-text); }
.qo textarea { min-height: 84px; resize: vertical; }
.qo input.input-text:focus, .qo select:focus, .qo textarea:focus, .qo-item__note:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.qo-date__btns { display: flex; gap: 8px; margin-top: 8px; }
.qo-date__btns button { flex: 1; min-height: 40px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
.qo-date__btns button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.qo-vat { display: grid; gap: 12px; padding: 12px; border: 1px dashed var(--c-border-2); border-radius: 12px; }
.woocommerce-checkout .qo #payment { background: none; border-radius: 0; }
.woocommerce-checkout .qo #payment ul.payment_methods { padding: 0; border: 0; }
.woocommerce-checkout .qo #payment ul.payment_methods li { margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 12px; list-style: none; }
.woocommerce-checkout .qo #payment div.payment_box { margin: 8px 0 0; background: var(--c-bg-soft); color: var(--c-text-muted); }
.woocommerce-checkout .qo #payment div.payment_box::before { display: none; }
.woocommerce-checkout .qo #payment div.form-row { padding: 0; }
.qo-how { display: grid; gap: 10px; margin: 8px 0 0; padding: 12px; list-style: none; border-radius: 12px; background: var(--c-bg-soft); font-size: .88rem; font-weight: 500; }
.qo-how li { display: flex; align-items: center; gap: 10px; }
.qo-how span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; font-size: .8rem; }
.qo-sum h2 { font-family: var(--f-heading); font-size: 1.5rem; font-weight: 600; }
.qo-review__item { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; }
.qo-review__item img { width: 52px; height: 62px; object-fit: cover; border-radius: 8px; }
.qo-review__item div { flex: 1; min-width: 0; }
.qo-review__item strong { display: block; font-size: .92rem; }
.qo-review__item small { color: var(--c-text-muted); }
.qo-review__item > span { font-weight: 700; font-size: .88rem; text-align: right; }
.qo-review__rows { margin: 0; padding-block: 10px; border-block: 1px solid #F0E6E2; }
.qo-review__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .92rem; }
.qo-review__rows dt { color: var(--c-text-muted); }
.qo-review__rows dd { margin: 0; font-weight: 600; text-align: right; }
.qo-review__rows dd small { display: block; font-weight: 400; color: var(--c-text-muted); }
.qo-review__total { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; font-weight: 700; }
.qo-review__total strong { color: var(--c-primary); font-size: 1.4rem; }
.qo-submit { width: 100%; min-height: 54px; border: 0; border-radius: 12px; background: var(--c-primary); color: #fff; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.qo-back { display: block; margin-top: 12px; color: var(--c-text-muted); font-size: .88rem; text-align: center; }
.qo-promise { display: grid; gap: 4px; margin: 0; padding: 10px; list-style: none; border-radius: var(--radius); background: #EDF1EC; font-size: .9rem; font-weight: 600; }
.qo-promise li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; }
.qo-zalo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: #fff; color: var(--c-heading); text-decoration: none; }
.qo-zalo > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary); }
.qo-zalo small { display: block; color: var(--c-text-muted); }
.woocommerce form .form-row .woocommerce-error, .qo .woocommerce-invalid input.input-text { border-color: #B73A3A; }
@media (min-width: 600px) {
	.qo-grid { grid-template-columns: 1fr 1fr; }
	.qo-vat { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
	.qo-how { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.qo-item__top { grid-template-columns: 1fr auto auto 34px; }
	.qo-item__name { grid-column: auto; }
	.qo-item__x { position: static; grid-column: 4; }
	.qo { grid-template-columns: 1.65fr 1fr; }
	.qo-side { position: sticky; top: 16px; }
	.qo-box { padding: 22px; }
}

/* Trang đặt hàng: không cần báo "đã thêm vào giỏ" */
.qo-page .woocommerce-message { display: none; }

/* Tiêu đề mềm, dễ đọc */
h1, h2, h3 { font-weight: 500; }
.shop-hero__copy h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.7rem); line-height: 1.3; }
h1 em, .shop-cta em, .shop-hero__side em { font-weight: 500; }

/* Ô phụ ở banner: giữ màu chữ khi trỏ chuột */
.shop-hero__side:hover { color: #fff; }
.shop-hero__side--2:hover { color: var(--c-heading); }

/* Nút Gọi / Zalo nổi: nhịp nhấp nháy thu hút */
@keyframes qtqt-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(152, 73, 86, .55); }
	50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(152, 73, 86, 0); }
}
.float-contact__btn { animation: qtqt-pulse 1.6s ease-in-out infinite; }
.float-contact__zalo { animation-delay: .8s; }
.float-contact__btn:hover { animation-play-state: paused; }
@media (min-width: 1024px) {
	.float-contact { bottom: 150px; }
}

/* Ảnh sản phẩm: lướt < > */
.pd-gallery__stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; }
.pd-gallery__track { display: flex; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-gallery__track::-webkit-scrollbar { display: none; }
.pd-gallery__slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.woocommerce div.product div.images.pd-gallery img, .pd-gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__slide figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.94); font-size: .9rem; }
.pd-gallery__slide figcaption a { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--c-primary); color: #fff; font-weight: 600; text-decoration: none; }
.pd-gallery__slide figcaption a:hover { background: var(--c-wine); color: #fff; }
.pd-gallery__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; padding: 0 0 4px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--c-primary); font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: background .15s, color .15s; }
.pd-gallery__nav:hover { background: var(--c-primary); color: #fff; }
.pd-gallery__nav--prev { left: 12px; }
.pd-gallery__nav--next { right: 12px; }
.pd-gallery__count { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(57,45,48,.7); color: #fff; font-size: .8rem; font-weight: 600; }
.pd-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pd-gallery__thumbs button { flex: 0 0 66px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.pd-gallery__thumbs button:hover, .pd-gallery__thumbs button.is-active { border-color: var(--c-primary); opacity: 1; }

/* Nút nổi nhấp nháy rõ, chạy cả khi Windows bật giảm chuyển động */
@keyframes qtqt-pulse-strong {
	0%, 100% { transform: scale(1); filter: brightness(1); box-shadow: 0 0 0 0 rgba(152, 73, 86, .75); }
	50% { transform: scale(1.09); filter: brightness(1.22); box-shadow: 0 0 0 14px rgba(152, 73, 86, 0); }
}
.float-contact .float-contact__btn { animation: qtqt-pulse-strong 1.2s ease-in-out infinite !important; }
.float-contact .float-contact__zalo { animation-delay: .6s !important; }

/* Nút nổi hạ thấp một chút; hàng menu hiện danh mục 1-7, còn lại trong nút Danh mục */
@media (min-width: 1024px) {
	.float-contact { bottom: 90px; }
	.shop-head .primary-nav li:nth-child(8), .shop-head .primary-nav li:nth-child(9) { display: none; }
	.shop-head .primary-nav a { padding-inline: 8px; font-size: .9rem; }
}

/* Bản đồ */
.shop-map { max-width: 800px; margin: 2.5rem auto 0; }
.shop-map p { color: var(--c-text-muted); }
.shop-map iframe { display: block; border-radius: var(--radius); }


/* Chọn size ở trang sản phẩm */
.pd-size { margin: -6px 0 18px; padding: 0; border: 0; }
.pd-size legend { margin-bottom: 8px; padding: 0; font-size: .9rem; font-weight: 600; color: var(--c-heading); }
.pd-size__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-size label { position: relative; cursor: pointer; }
.pd-size input { position: absolute; opacity: 0; }
.pd-size span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--c-border); border-radius: 12px; background: #fff; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.pd-size label:hover span { border-color: var(--c-primary); color: var(--c-primary); }
.pd-size input:checked + span { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.pd-size input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.qo-item__size { display: inline-block; margin: 2px 0; padding: 1px 10px; border-radius: 999px; background: var(--c-accent-soft); color: var(--c-primary); font-size: .8rem; font-weight: 600; }

/* Trang xác nhận đơn */
.qo-steps .is-current span { box-shadow: 0 0 0 4px var(--c-accent-soft); }
.qo-ok { display: grid; gap: 14px; }
.qo-ok__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #E6F0E4; color: #3E7A43; }
.qo-ok__icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.qo-ok h2 { margin: 0 0 6px; font-family: var(--f-heading); font-size: 1.5rem; font-weight: 600; }
.qo-ok p { margin: 0; color: var(--c-text-muted); }
.qo-ok--fail .btn { margin-top: 12px; }
.qo-ok__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border: 1px solid #F0E6E2; border-radius: 14px; background: #F0E6E2; overflow: hidden; }
.qo-ok__meta div { padding: 10px 14px; background: var(--c-bg-soft); }
.qo-ok__meta dt { font-size: .78rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.qo-ok__meta dd { margin: 2px 0 0; font-weight: 700; color: var(--c-heading); }
.qo-ok__meta dd.is-total { color: var(--c-primary); }
.qo-info { display: grid; gap: 10px 18px; margin: 0; }
.qo-info dt { font-size: .82rem; color: var(--c-text-muted); }
.qo-info dd { margin: 2px 0 0; font-weight: 600; color: var(--c-heading); overflow-wrap: anywhere; }
.qo-info__title { margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid #F0E6E2; font-family: var(--f-body); font-size: .95rem; font-weight: 700; }
.qo-pay__note { margin: 0 0 12px; }
.qo-bank { display: grid; gap: 0; margin: 0 0 4px; padding: 6px 16px; border: 1px dashed var(--c-border-2, var(--c-border)); border-radius: 14px; background: var(--c-bg-soft); }
.qo-bank div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 9px 0; border-top: 1px solid #F0E6E2; }
.qo-bank div:first-child { border-top: 0; }
.qo-bank dt { color: var(--c-text-muted); font-size: .9rem; }
.qo-bank dd { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; text-align: right; }
.qo-copy { min-height: 30px; padding: 0 12px; border: 1px solid var(--c-primary); border-radius: 8px; background: #fff; color: var(--c-primary); font-size: .8rem; font-weight: 700; cursor: pointer; }
.qo-copy:hover { background: var(--c-primary); color: #fff; }
a.qo-submit { display: grid; place-items: center; text-decoration: none; }
a.qo-submit:hover { color: #fff; }
.order-chat { border: 2px solid var(--c-primary); }
.order-chat__head { display: flex; gap: 12px; margin-bottom: 14px; }
.order-chat__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary); }
.order-chat h2 { margin-bottom: 4px; }
.order-chat__head p { margin: 0; color: var(--c-text-muted); font-size: .92rem; }
a.qo-submit.order-chat__btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.order-chat__status { min-height: 1.4em; margin: 8px 0 0; color: #3E7A43; font-weight: 600; text-align: center; }
.order-chat__more summary { color: var(--c-primary); font-size: .88rem; font-weight: 600; cursor: pointer; }
.order-chat__more textarea { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; font: inherit; font-size: .88rem; resize: vertical; }
@media (min-width: 600px) {
	.qo-ok { grid-template-columns: auto 1fr; }
	.qo-ok__meta { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
	.qo-info { grid-template-columns: 1fr 1fr; }
	.qo-info .is-wide { grid-column: 1 / -1; }
}
