/* Bố cục: nền kem sáng, nhiều khoảng trắng; cây là nhân vật chính (ảnh lớn, lưới sản phẩm đặt ngay đầu trang).
   Một màu nhấn xanh rừng, giá tiền chữ đậm màu mực, đất nung cho nhãn giảm giá. */
:root {
  --green: #2f6b45;
  --green-dark: #234f34;
  --green-soft: #e8f0e6;
  --ink: #1d2620;
  --muted: #6a726b;
  --line: #e6e2d9;
  --bg: #faf8f3;
  --card: #ffffff;
  --photo: #f1efe9;      /* nền ảnh sản phẩm */
  --clay: #c0633f;       /* nhãn giảm giá, "bán chạy" */
  --footer: #1f3326;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(29, 38, 32, .18);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; }
svg.art { overflow: visible; }  /* nền ảnh tràn hết khung, cây luôn hiện trọn */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.container {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ===== THANH THÔNG BÁO ===== */
.announce { background: var(--green-dark); color: #e3efe0; font-size: 13px; }
.announce-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; }
.announce b { color: #fff; }

/* ===== HEADER ===== */
.header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { width: 40px; height: 40px; }
.logo b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--green-dark); line-height: 1.1; }
.logo small { display: block; font-size: 12px; color: var(--muted); }
.logo.light b { color: #fff; }
.logo.light small { color: #a9bfae; }

.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; background: #f3f1ec; border: 1px solid transparent; border-radius: 999px; padding: 0 18px; height: 44px; transition: border-color .2s, background .2s; }
.search:focus-within { background: #fff; border-color: var(--green); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex-shrink: 0; }
.search input { flex: 1; border: none; background: none; outline: none; font: inherit; font-size: 14px; color: var(--ink); min-width: 0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.h-contact { display: flex; align-items: center; gap: 10px; }
.h-contact svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--green-soft); fill: var(--green); }
.h-contact small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.h-contact b { font-size: 15px; color: var(--ink); }
.icon-btn, .cart { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: none; background: none; position: relative; transition: background .2s; }
.icon-btn:hover, .cart:hover { background: #f3f1ec; }
.icon-btn svg, .cart svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 10px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; padding: 0 5px; }
.cart.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.18); } }
.menu-toggle { display: none; }

/* ===== MENU ===== */
.nav { border-top: 1px solid #f0ede6; }
.nav-inner { display: flex; align-items: center; gap: 4px; height: 48px; }
.nav-inner > a, .nav-dd > a { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 48px; font-size: 14.5px; font-weight: 500; color: #3a443d; white-space: nowrap; position: relative; }
.nav-inner > a::after, .nav-dd > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.nav-inner > a:hover, .nav-dd:hover > a, .nav a.active { color: var(--green); }
.nav a.active::after, .nav-inner > a:hover::after, .nav-dd:hover > a::after { transform: scaleX(1); }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; }
.nav-cart { margin-left: auto; }
.hide-lg { display: none !important; }
.nav-dd { position: relative; }
.dd, .mega { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 40; }
.nav-dd:hover .dd, .nav-dd:hover .mega, .nav-dd:focus-within .dd, .nav-dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.dd { min-width: 240px; padding: 8px; }
.dd a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #3a443d; }
.dd a:hover { background: var(--green-soft); color: var(--green); }
.mega { width: min(860px, 90vw); padding: 24px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 28px; }
.mega h5 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.mega-links a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.mega-links a:hover { background: var(--green-soft); color: var(--green); }
.mega-links .mini { width: 30px; height: 30px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.mega-links .mini svg { width: 100%; height: 100%; display: block; }
.mega-feature { background: var(--photo); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.mega-feature .mf-img { aspect-ratio: 4 / 3; }
.mega-feature svg { width: 100%; height: 100%; display: block; }
.mega-feature div:last-child { padding: 12px 14px; }
.mega-feature b { display: block; }
.mega-feature span { color: var(--green); font-weight: 600; }
.overlay { position: fixed; inset: 0; background: rgba(20,28,22,.4); z-index: 45; opacity: 0; visibility: hidden; transition: opacity .25s; }

/* ===== NÚT ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 12px 24px; font-weight: 600; font-size: 15px; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-soft); }
.link-arrow { font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== TIÊU ĐỀ KHỐI ===== */
.section { padding-block: 56px; }
.section.tight { padding-block: 36px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--clay); margin-bottom: 6px; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -.3px; text-wrap: balance; }
.sub { color: var(--muted); margin-top: 6px; max-width: 60ch; }

/* ===== HERO ===== */
.hero { padding-block: 28px 8px; }
.hero-card { background: linear-gradient(120deg, #e6efe1 0%, #f3efe5 100%); border-radius: 24px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; overflow: hidden; min-height: 400px; }
.hero-text { padding: 48px 0 48px 56px; }
.hero-text h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.8px; color: var(--green-dark); text-wrap: balance; }
.hero-text p { color: #4d574f; font-size: 17px; margin: 16px 0 26px; max-width: 46ch; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--display); font-size: 24px; color: var(--green-dark); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; height: 100%; min-height: 400px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; padding: 24px 24px 24px 0; }
.hv { border-radius: 18px; overflow: hidden; position: relative; display: block; background: var(--photo); }
.hv svg { width: 100%; height: 100%; display: block; transition: transform .5s; }
.hv:hover svg { transform: scale(1.05); }
.hv.big { grid-row: span 2; }
.hv-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); border-radius: 10px; padding: 8px 12px; font-size: 13px; line-height: 1.3; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.hv-tag b { display: block; font-size: 14px; }
.hv-tag span { color: var(--green); font-weight: 600; }

/* ===== DANH MỤC TRÒN ===== */
.cat-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.cat-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; font-weight: 500; }
.cat-chip .ring { width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--photo); border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.cat-chip .ring svg { width: 100%; height: 100%; display: block; }
.cat-chip:hover .ring { border-color: var(--green); transform: translateY(-3px); }
.cat-chip:hover { color: var(--green); }
.cat-chip small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: -6px; }

/* ===== BỘ LỌC NHANH (tab) ===== */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: #3a443d; transition: all .2s; }
.pill:hover { border-color: var(--green); color: var(--green); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ===== THẺ SẢN PHẨM ===== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--photo); max-width: 100%; }
.card-link { display: block; height: 100%; }
.card-img svg { width: 100%; height: 100%; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img svg { transform: scale(1.06); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.badge.hot { background: var(--clay); color: #fff; }
.quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; border: none; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 999px; padding: 11px; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, background .2s, color .2s; box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--green); color: #fff; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.card-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.card-name { font-weight: 600; font-size: 16px; line-height: 1.35; }
.card-name:hover { color: var(--green); }
.card-meta { font-size: 13px; color: var(--muted); }
.card-price { font-weight: 700; font-size: 17px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.card-price s { font-weight: 400; font-size: 14px; color: #9aa09b; margin-left: 6px; }

/* ===== MUA THEO KHÔNG GIAN ===== */
.rooms { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.room { position: relative; border-radius: 20px; overflow: hidden; min-height: 300px; display: block; background: var(--photo); }
.room svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s; }
.room:hover svg { transform: scale(1.05); }
.room-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(20,34,25,.72)); color: #fff; }
.room-text b { font-family: var(--display); font-size: 24px; font-weight: 600; display: block; }
.room-text span { font-size: 14px; opacity: .9; }

/* ===== BĂNG XANH TƯ VẤN ===== */
.consult { background: var(--green-dark); color: #e9f2e6; border-radius: 24px; padding: 40px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.consult .h2 { color: #fff; }
.consult p { margin-top: 10px; color: #c7d9c8; }
.consult-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.consult-actions .phone { font-family: var(--display); font-size: 30px; color: #fff; }

/* ===== BÀI VIẾT ===== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--photo); max-width: 100%; }
.post-img svg { width: 100%; height: 100%; display: block; transition: transform .5s; }
.post-card:hover .post-img svg { transform: scale(1.04); }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.post-card h3:hover { color: var(--green); }
.post-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== ĐÁNH GIÁ ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #e0a526; letter-spacing: 2px; }
.review blockquote { font-size: 15px; line-height: 1.7; color: #333d36; }
.review cite { font-style: normal; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 700; }
.review .note { color: var(--muted); font-weight: 400; font-size: 12px; }

/* ===== ĐIỂM MẠNH ===== */
.perks { border-top: 1px solid var(--line); background: #fff; }
.perks-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 28px; }
.perks-inner > div { display: flex; gap: 14px; align-items: center; }
.perks svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.perks b { display: block; font-size: 14.5px; }
.perks span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ===== FOOTER ===== */
.footer { background: var(--footer); color: #b9c9bc; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding-block: 52px 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer li { padding: 4px 0; }
.footer a:hover { color: #fff; }
.f-brand p { margin: 14px 0; max-width: 36ch; }
.f-contact li { display: flex; gap: 8px; }
.f-news p { margin-bottom: 12px; }
.f-news form { display: flex; background: #fff; border-radius: 999px; padding: 4px; }
.f-news input { flex: 1; border: none; outline: none; padding: 0 14px; font: inherit; font-size: 14px; min-width: 0; background: none; color: var(--ink); }
.f-news button { border: none; background: var(--green); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; }
.f-news button:hover { background: #3c8558; }
.form-msg { min-height: 20px; font-size: 13px; margin-top: 8px; color: #9ed3a8; }
.form-msg.err { color: #ffb4a1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; flex-wrap: wrap; }

/* ===== NÚT LIÊN HỆ NHANH ===== */
.quick { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.quick a, .quick button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .2s; }
.quick a:hover, .quick button:hover { transform: translateY(-2px); }
.q-zalo { background: #0b8ff5; color: #fff; font-weight: 700; font-size: 13px; }
.q-call { background: var(--green); }
.q-call svg { width: 22px; height: 22px; fill: #fff; }
.q-top { background: #fff; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .3s !important; }
.q-top.show { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; display: flex; align-items: center; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: 100; max-width: calc(100% - 32px); font-size: 14px; }
.toast { visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #b8e0bf; font-weight: 600; white-space: nowrap; }

/* =====================================================================
   TRANG CON
   ===================================================================== */
.page-head { padding-block: 26px 8px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--green); }
.crumbs span:last-child { color: var(--ink); }
.page-title { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; letter-spacing: -.4px; margin-top: 10px; text-wrap: balance; }
.page-lead { color: var(--muted); font-size: 16px; margin-top: 8px; max-width: 70ch; }

/* Danh mục: bộ lọc bên trái + lưới cây */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding-block: 24px 56px; align-items: start; }
.filters { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 26px; }
.f-group h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }
.f-cats a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.f-cats a:hover { background: #f1eee7; }
.f-cats a.on { background: var(--green-soft); color: var(--green); font-weight: 600; }
.f-cats em { font-style: normal; color: var(--muted); font-size: 13px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.f-opt input { width: 17px; height: 17px; accent-color: var(--green); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-bar select { font: inherit; font-size: 14px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* Trang sản phẩm */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-block: 20px 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: 140px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--photo); }
.thumbs button.on { border-color: var(--green); }
.thumbs svg { width: 100%; height: 100%; display: block; }
.main-img { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--photo); max-width: 100%; }
.main-img svg { width: 100%; height: 100%; display: block; }
.pd-cat { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--green); font-weight: 600; }
.pd h1 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 8px 0 10px; }
.pd-sub { display: flex; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.in-stock { color: var(--green); font-weight: 600; }
.pd-price { font-size: 30px; font-weight: 700; margin: 18px 0 6px; font-variant-numeric: tabular-nums; }
.pd-note { font-size: 13px; color: var(--muted); }
.pd-desc { margin: 18px 0; color: #3a443d; font-size: 15.5px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.spec small { display: block; font-size: 12px; color: var(--muted); }
.spec b { font-size: 14px; font-weight: 600; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 42px; height: 46px; border: none; background: none; font-size: 18px; }
.stepper input { width: 40px; text-align: center; border: none; font: inherit; font-weight: 600; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; min-width: 150px; }
.assure { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; font-size: 14px; color: #3a443d; }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-top: 10px; overflow-x: auto; }
.tabs button { border: none; background: none; padding: 14px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.tab-panel { padding-block: 10px 30px; max-width: 760px; }

/* Bài viết & trang nội dung */
.prose { max-width: 760px; }
.prose p { margin-bottom: 14px; line-height: 1.8; color: #333d36; font-size: 16px; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 30px 0 10px; line-height: 1.3; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose ul.check { margin: 6px 0 16px; display: grid; gap: 8px; }
.prose ul.check li { padding-left: 28px; position: relative; color: #333d36; }
.prose ul.check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.lead-img { aspect-ratio: 16 / 8; border-radius: 20px; overflow: hidden; margin: 10px 0 24px; background: var(--photo); max-width: 100%; }
.lead-img svg { width: 100%; height: 100%; display: block; }
.meta { color: var(--muted); font-size: 14px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 4px 0 20px; }
.toc b { font-size: 14px; }
.toc ol { padding-left: 20px; margin-top: 8px; display: grid; gap: 4px; font-size: 15px; }
.note-box { background: var(--green-soft); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; font-size: 15px; }
.hint { font-size: 13px; color: var(--muted); font-style: italic; }
.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding-block: 20px 50px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 140px; }
.side-card h4 { font-size: 15px; margin-bottom: 12px; }
.side-card .mini-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1eee8; }
.side-card .mini-item:last-of-type { border: none; }
.mini-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--photo); }
.mini-img svg { width: 100%; height: 100%; display: block; }
.mini-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mini-item span { font-size: 13px; color: var(--muted); }
.mini-item:hover b { color: var(--green); }
.side-card .btn { width: 100%; margin-top: 14px; }
.side-cta { margin-top: 16px; background: var(--green-dark); color: #dbe9d8; border-radius: var(--radius); padding: 20px; }
.side-cta b { display: block; color: #fff; font-family: var(--display); font-size: 22px; margin: 4px 0 8px; }

/* Các thẻ dịch vụ / hướng dẫn */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 10px 0 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; transition: border-color .2s, box-shadow .2s; text-decoration: none !important; color: var(--ink) !important; }
.tile:hover { border-color: var(--green); box-shadow: var(--shadow); }
.tile .mini-img { border-radius: 12px; }
.tile b { display: block; font-size: 16px; }
.tile span { font-size: 14px; color: var(--muted); }

/* Bảng & câu hỏi */
.table-wrap { overflow-x: auto; margin: 10px 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-bottom: 1px solid #f1eee8; vertical-align: middle; font-variant-numeric: tabular-nums; }
.table tr:last-child td { border-bottom: none; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: #3a443d; }

/* Liên hệ, bản đồ, biểu mẫu */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding-block: 20px 50px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.info-list { display: grid; gap: 16px; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.info-list i { width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; font-style: normal; }
.info-list small { display: block; color: var(--muted); font-size: 13px; }
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form textarea, .form select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form .err-msg { color: #b23b2a; font-size: 14px; min-height: 20px; }
.form .ok-msg { color: var(--green); font-size: 14px; }
.radio-card { display: flex !important; grid-template-columns: none; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--green); background: #f6faf4; }
.radio-card input { width: 18px !important; accent-color: var(--green); }
.map { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }
.map-card { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); max-width: 70%; font-size: 14px; }
.map-card b { display: block; }

/* Giỏ hàng, thanh toán */
.cart-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding-block: 20px 50px; align-items: start; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid #f1eee8; align-items: center; }
.cart-item:last-child { border-bottom: none; }
.cart-item .mini-img { border-radius: 12px; }
.cart-item b { display: block; font-weight: 600; }
.cart-item .unit { font-size: 13px; color: var(--muted); }
.cart-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item .line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper.sm button { width: 32px; height: 34px; font-size: 16px; }
.stepper.sm span { min-width: 26px; text-align: center; font-weight: 600; }
.remove { border: none; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; }
.remove:hover { color: #b23b2a; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 140px; }
.summary h3 { font-size: 18px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.summary .btn { width: 100%; margin-top: 16px; }
.free-ship { font-size: 13px; color: var(--green); background: var(--green-soft); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.success { text-align: center; padding: 50px 20px 60px; max-width: 560px; margin: 0 auto; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 34px; margin: 0 auto 16px; }
.success h1 { font-family: var(--display); font-size: 32px; margin-bottom: 10px; }
.success p { color: #3a443d; margin-bottom: 8px; }

/* Chính sách: menu trái */
.policy-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-block: 20px 50px; align-items: start; }
.policy-menu { position: sticky; top: 140px; display: grid; gap: 2px; }
.policy-menu a { padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.policy-menu a:hover { background: #f1eee7; }
.policy-menu a.on { background: var(--green-soft); color: var(--green); font-weight: 600; }
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-block: 20px 50px; }
.sitemap h3 { font-size: 16px; margin-bottom: 10px; }
.sitemap a { display: block; padding: 4px 0; color: #3a443d; }
.sitemap a:hover { color: var(--green); }

/* ===== MÀN HÌNH VỪA ===== */
@media (max-width: 1100px) {
  .h-contact span { display: none; }
  .nav-inner > a, .nav-dd > a { padding: 0 9px; font-size: 14px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cat-row { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .hero-text { padding-left: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .header-inner { gap: 12px; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; }
  .search { order: 5; flex-basis: 100%; max-width: none; height: 42px; }
  .h-contact { display: none; }
  .nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: #fff; z-index: 55; transform: translateX(-102%); transition: transform .3s; overflow-y: auto; border: none; box-shadow: var(--shadow); padding-top: env(safe-area-inset-top, 0px); }
  .nav.open { transform: none; }
  .nav.open + .overlay, .overlay.show { opacity: 1; visibility: visible; }
  .nav-inner { flex-direction: column; align-items: stretch; height: auto; padding: 16px; gap: 0; }
  .nav-inner > a, .nav-dd > a { height: auto; padding: 13px 8px; border-bottom: 1px solid #f1eee8; justify-content: space-between; }
  .nav-inner > a::after, .nav-dd > a::after { display: none; }
  .hide-lg { display: flex !important; }
  .nav-cart { margin-left: 0; }
  .dd, .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 4px 0 8px 8px; display: block; width: auto; }
  .mega > div:not(:first-child) { display: none; }
  .mega h5 { display: none; }
  .mega-links .mini { display: none; }
  .mega-links a, .dd a { padding: 8px; font-size: 14px; color: var(--muted); }
  .hero-card { grid-template-columns: 1fr; }
  .hero-text { padding: 36px 28px 8px; }
  .hero-visual { min-height: 320px; padding: 20px; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .rooms .room:first-child { grid-column: span 2; }
  .consult { grid-template-columns: 1fr; padding: 32px 28px; }
  .posts, .reviews { grid-template-columns: 1fr 1fr; }
  .perks-inner { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; gap: 0; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
  .filters.open { display: flex; }
  .pd, .content-wrap, .two-col, .cart-wrap, .policy-wrap { grid-template-columns: 1fr; gap: 28px; }
  .gallery, .side-card, .summary, .policy-menu { position: static; }
  .policy-menu { display: flex; overflow-x: auto; gap: 6px; }
  .policy-menu a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; }
}
/* ===== ĐIỆN THOẠI ===== */
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .announce-right { display: none; }
  .announce-inner { justify-content: center; text-align: center; font-size: 12px; }
  .header-inner { height: auto; }
  .logo b { font-size: 19px; }
  .logo small { display: none; }
  .section { padding-block: 40px; }
  .hero { padding-top: 16px; }
  .hero-card { border-radius: 18px; }
  .hero-text { padding: 24px 20px 4px; }
  .hero-text .eyebrow { font-size: 11px; }
  .hero-text h1 { font-size: 28px; }
  .hero-text p { font-size: 14.5px; margin: 10px 0 18px; }
  .hero-btns .btn { padding: 11px 20px; font-size: 14px; }
  .hero-btns .btn-outline, .hero-stats { display: none; }
  .hero-visual { min-height: 0; height: 170px; padding: 16px; gap: 10px; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
  .hv.big { grid-row: auto; }
  .hv-tag { display: none; }
  .cat-row { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cat-chip { font-size: 12.5px; gap: 6px; }
  .cat-chip small { display: none; }
  .grid, .grid.cols3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .quick-add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 38px; height: 38px; padding: 0; font-size: 0; }
  .quick-add::before { content: "+"; font-size: 22px; line-height: 38px; }
  .card-name { font-size: 14.5px; }
  .card-meta { display: none; }
  .card-price { font-size: 15.5px; }
  .rooms { grid-template-columns: 1fr; }
  .rooms .room:first-child { grid-column: auto; }
  .room { min-height: 220px; }
  .posts, .reviews { grid-template-columns: 1fr; }
  .perks-inner { grid-template-columns: 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .main-img { aspect-ratio: 1; }
  .thumbs { flex-direction: row; order: 2; }
  .thumbs button { width: 64px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .tiles, .form .row2, .sitemap { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .quick { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .quick a, .quick button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, html { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
