/* Website cho khách — cùng tông màu với app quản lý */
:root {
  --bg: #f7f4ef; --card: #ffffff; --text: #1f1b16; --muted: #756d63; --line: #e7e1d8;
  --accent: #8a6d3b; --accent-soft: #f1e9dc; --on-accent: #ffffff;
  --ok: #1f8a3b; --busy: #b4483f; --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210; --card: #1f1c19; --text: #f3efe9; --muted: #a79f94; --line: #36312b;
    --accent: #d4b483; --accent-soft: #3a3226; --on-accent: #1d1a16; --ok: #5cc77a; --busy: #ff8a80;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
/* Không phóng to khi chạm đúp; chữ không tự phóng khi xoay ngang */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font: 16px/1.45 "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding-bottom: 96px; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; }
img { display: block; }

.hero { max-width: 1080px; margin: 0 auto; }
.hero .banner img { width: 100%; height: clamp(115px, 21vw, 200px); object-fit: cover; object-position: center 35%; }
@media (min-width: 1080px) { .hero .banner img { border-radius: 0 0 var(--radius) var(--radius); } }
.hero .brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: -46px; padding: 0 16px 6px; position: relative; }
/* Logo nền trắng → đặt trong vòng tròn trắng để đẹp cả khi máy để chế độ tối */
.hero .logo { width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 4px solid var(--bg); box-shadow: 0 6px 20px rgba(0,0,0,.12); object-fit: contain; }
.hero p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.loading, .empty { text-align: center; color: var(--muted); padding: 60px 0; }
.spinner { width: 28px; height: 28px; margin: 0 auto 10px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Thanh chọn ngày + lọc — dính trên cùng khi cuộn */
.filters { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 10px 0 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.when { display: grid; grid-template-columns: 1fr auto; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.when label { display: block; font-size: 12px; color: var(--muted); }
.when input, .when select { border: 0; background: transparent; width: 100%; padding: 2px 0; outline: none; font-weight: 600; -webkit-appearance: none; appearance: none; }
.when .days { border-left: 1px solid var(--line); padding-left: 12px; min-width: 96px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); padding: 8px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip small { opacity: .7; margin-left: 4px; }
.row2 { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.search { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px; outline: none; }
.toggle { flex: none; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Lưới mẫu */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 6px 0 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; padding: 0; display: flex; flex-direction: column; }
.card .ph { position: relative; aspect-ratio: 3 / 4; background: var(--accent-soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; }
.card .tag { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1f1b16; }
.card .tag.busy { color: var(--busy); }
.card .tag.ok { color: #1f8a3b; }
.card .info { padding: 10px 12px 12px; }
.card .code { font-weight: 700; letter-spacing: .3px; }
.card .sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .price { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sz { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); }
.sz.ok { border-color: var(--ok); color: var(--ok); }
.sz.busy { color: var(--muted); text-decoration: line-through; opacity: .7; }

/* Bảng trượt (chi tiết mẫu, đặt lịch) */
.sheet-bg { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.4); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 20px 20px 0 0; padding: 0 16px calc(env(safe-area-inset-bottom) + 20px); animation: up .2s ease-out; }
.sheet-head { position: sticky; top: 0; z-index: 2; background: var(--bg); display: flex; align-items: center; gap: 8px; padding: 12px 0; }
.sheet-head h2 { flex: 1; margin: 0; font-size: 18px; text-align: center; }
.sheet-head .x { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 6px 12px; cursor: pointer; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 20px; } }

.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 69%; max-width: 336px; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; cursor: zoom-in; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); scroll-snap-align: center; background: var(--accent-soft); }
.detail h3 { margin: 14px 0 2px; font-size: 22px; }
.detail .meta { color: var(--muted); font-size: 14px; }
.prices { display: flex; gap: 10px; margin: 12px 0; }
.prices div { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.prices small { display: block; color: var(--muted); font-size: 12px; }
.prices b { font-size: 17px; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 8px; }
.pick-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-sizes button { min-width: 56px; border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 12px; cursor: pointer; text-align: center; }
.pick-sizes button b { display: block; font-size: 16px; }
.pick-sizes button span { font-size: 11px; color: var(--ok); }
.pick-sizes button.on { border-color: var(--accent); background: var(--accent-soft); }
.pick-sizes button:disabled { cursor: not-allowed; opacity: .55; }
.pick-sizes button:disabled span { color: var(--busy); }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.err { color: var(--busy); font-size: 14px; margin-top: 10px; }

.btn { display: block; width: 100%; border: 0; border-radius: 14px; padding: 14px; font-weight: 600; font-size: 16px; cursor: pointer; margin-top: 16px; background: var(--accent); color: var(--on-accent); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); }

/* Thanh "Đã chọn N bộ" dưới cùng */
#cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(env(safe-area-inset-bottom) + 10px); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
#cartbar .in { max-width: 640px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
#cartbar .in div { flex: 1; font-size: 14px; }
#cartbar .btn { width: auto; margin: 0; padding: 12px 20px; }

/* Biểu mẫu đặt lịch */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.field { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 50px; }
.field:last-child { border-bottom: 0; }
.field label { width: 104px; flex: none; color: var(--muted); font-size: 15px; }
.field input, .field select, .field textarea { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; text-align: right; padding: 4px 0; }
.field textarea { text-align: left; min-height: 70px; resize: vertical; }
.field.col { flex-direction: column; align-items: stretch; }
.field.col label { width: auto; }
.cart-item { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 46px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--accent-soft); }
.cart-item div { flex: 1; min-width: 0; }
.cart-item small { display: block; color: var(--muted); }
.cart-item button { border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; padding: 6px; }
.cart-item.busy small { color: var(--busy); }
.done { text-align: center; padding: 30px 6px 10px; }
.done .ic { font-size: 48px; }
.done h3 { margin: 10px 0 6px; font-size: 22px; }
.done p { color: var(--muted); margin: 6px 0; }


/* ---------- Menu & chân trang dùng chung ---------- */
:root { --nav-h: 58px; }
.site-nav { position: sticky; top: 0; z-index: 8; height: var(--nav-h); background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.nav-links { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { flex: none; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-links a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-call { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); text-decoration: none; }
@media (min-width: 760px) { .nav-links { justify-content: center; } .nav-links a { font-size: 15px; } }
.filters { top: var(--nav-h); }

.site-foot { max-width: none; margin: 30px 0 0; padding: 26px 16px calc(env(safe-area-inset-bottom) + 90px); background: var(--card); border-top: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--muted); }
.foot-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.1fr 1.5fr 1fr; } }
.foot-logo { width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.site-foot h4 { margin: 0 0 8px; color: var(--text); font-size: 15px; }
.site-foot p { margin: 4px 0; }
.site-foot a { color: var(--accent); text-decoration: none; }
.site-foot .copy { max-width: 1080px; margin: 18px auto 0; font-size: 12px; text-align: center; }

.page-title { max-width: 1080px; margin: 0 auto; padding: 18px 16px 4px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.page-title h1 { margin: 6px 0 0; font-size: 26px; }

/* ---------- Trang chủ ---------- */
.hero .cta { width: auto; display: inline-block; padding: 13px 26px; margin-top: 14px; text-decoration: none; }
.home { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.home section { margin-top: 30px; }
.sec-title { font-size: 21px; margin: 0 0 12px; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; }
.sec-row a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.group { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); text-decoration: none; color: #fff; }
.group img { width: 100%; height: 100%; object-fit: cover; }
.group .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; }
.group .g-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.group .g-txt b { display: block; font-size: 17px; }
.group .g-txt small { font-size: 12px; opacity: .9; }
a.card { color: inherit; text-decoration: none; }
.steps { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.steps h3 { margin: 8px 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-strip { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 10px; }
.contact-strip p { margin: 4px 0; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-btns .btn { width: auto; flex: 1; margin: 0; text-decoration: none; text-align: center; }

/* ---------- Trang nội dung (giới thiệu, chính sách, liên hệ) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 4px 16px 10px; font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; scroll-margin-top: calc(var(--nav-h) + 10px); }
.prose h3 { font-size: 16px; margin: 18px 0 4px; }
.prose ul { padding-left: 20px; margin: 6px 0; }
.prose li { margin: 4px 0; }
.prose a { color: var(--accent); }
.prose .muted { color: var(--muted); font-size: 14px; }
.prose-img { width: 100%; border-radius: var(--radius); margin: 8px 0 14px; max-height: 360px; object-fit: cover; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.toc a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.cta-row .btn { width: auto; flex: 1; margin: 0; text-align: center; text-decoration: none; }
.contact-cards { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 6px 0 14px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.c-card { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: inherit; text-decoration: none; }
.c-card span { font-size: 24px; }
.c-card small { display: block; color: var(--muted); font-size: 12px; }
.c-card b { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; max-height: 420px; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Điện thoại: menu gập, bấm ☰ để mở danh sách */
.nav-menu { display: none; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 18px; cursor: pointer; }
@media (max-width: 759px) {
  .nav-menu { display: grid; place-items: center; }
  .nav-links { display: none; }
  .nav-in { justify-content: flex-start; }
  .nav-call { margin-left: auto; }
  .nav-in::after { content: "The Canary"; order: 0; position: absolute; left: 50%; transform: translateX(-50%); font-weight: 700; letter-spacing: 2px; font-size: 15px; pointer-events: none; }
  .site-nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 12px 12px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-nav.open .nav-links a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .nav-in { position: relative; }
}
.prose a.btn { color: var(--on-accent); }
.prose a.btn.ghost { color: var(--text); }

/* ---------- Thanh danh mục dưới logo (trang chủ) + bảng chọn Sản phẩm ---------- */
.cat-bar { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 4px; width: 100%; max-width: 860px; }
.cat-bar > a, .mega-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  text-decoration: none; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.cat-bar > a.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mega-btn i { font-style: normal; font-size: 11px; margin-left: 2px; display: inline-block; transition: transform .15s; }
.has-mega.open .mega-btn { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.has-mega.open .mega-btn i { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 12; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.14);
  grid-template-columns: 1fr 1fr; overflow: hidden; }
.has-mega.open .mega { display: grid; }
.mega > div { padding: 12px 14px; }
.mega > div + div { border-left: 1px solid var(--line); }
.mega h5 { margin: 4px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); }
.mega > div > a { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.mega > div > a:last-child { border-bottom: 0; }
.mega > div > a span { color: var(--muted); }
.mega-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mega-chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; }
.mega-chips a:hover, .mega > div > a:hover { color: var(--accent); border-color: var(--accent); }
.mega .muted { color: var(--muted); font-size: 13px; }
@media (max-width: 480px) { .mega { grid-template-columns: 1fr; } .mega > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Thanh trên cùng (máy tính): bảng chọn bung xuống dưới thanh */
@media (min-width: 760px) {
  .nav-links { overflow: visible; position: static; }
  .nav-in { position: relative; }
  .nav-links .mega-btn { border: 0; background: transparent; font-size: 15px; padding: 8px 12px; }
  .nav-links .mega { left: 12px; right: 12px; max-width: 720px; margin: 0 auto; }
  .home-page .site-nav .nav-links { visibility: hidden; } /* trang chủ đã có thanh danh mục dưới logo */
}
/* Điện thoại: trong menu ☰, mục Sản phẩm mở ngay bên dưới */
.site-nav.open .nav-links .mega-btn { border: 0; background: transparent; text-align: left; padding: 12px 14px; font-size: 16px; width: 100%; }
.site-nav.open .nav-links .mega { position: static; box-shadow: none; margin: 4px 0 8px; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* Thanh danh mục dưới logo: điện thoại 3 cột × 2 hàng đều nhau, máy tính 1 hàng */
.cat-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
.cat-bar > a, .cat-bar .mega-btn { width: 100%; text-align: center; padding: 10px 6px; font-size: 14px; }
.cat-bar .has-mega { position: static; }
@media (min-width: 700px) {
  .cat-bar { display: flex; flex-wrap: nowrap; justify-content: center; max-width: none; gap: 8px; }
  .cat-bar > a, .cat-bar .mega-btn { width: auto; padding: 9px 18px; font-size: 15px; }
  .cat-bar .mega { max-width: 720px; margin: 0 auto; }
}

/* Thanh dưới logo: hàng chính 3 nút + hàng nhỏ (Giới thiệu, Chính sách, Liên hệ) có biểu tượng, nhỏ hơn ~40% */
.cat-bar { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 520px; }
.cat-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.cat-main > a, .cat-main .mega-btn { width: 100%; text-align: center; padding: 10px 6px; font-size: 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); text-decoration: none; font-weight: 500; cursor: pointer; }
.cat-main > a.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cat-minor { display: flex; justify-content: center; gap: 18px; }
.cat-minor a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 12.5px; font-weight: 500; }
.cat-minor a svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.cat-minor a:hover, .cat-minor a.on { color: var(--accent); background: var(--accent-soft); }
@media (min-width: 700px) {
  .cat-bar { max-width: 640px; }
  .cat-main { display: flex; justify-content: center; }
  .cat-main > a, .cat-main .mega-btn { width: auto; padding: 9px 22px; font-size: 15px; }
  .cat-minor { gap: 22px; }
  .cat-minor a { font-size: 13px; }
}

/* Tìm theo size + màu trong bảng Sản phẩm */
.mega-chips button { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.mega-chips button.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.find-btn { display: block; text-align: center; text-decoration: none; margin: 4px 0 0; padding: 12px; font-size: 15px; }
.find-hint { margin: 6px 0 2px; font-size: 12px; color: var(--muted); text-align: center; }
.mega > div > a.find-btn { display: block; text-align: center; color: var(--on-accent); border-bottom: 0; padding: 12px; border-radius: 14px; font-weight: 600; }
.mega > div > a.find-btn:hover { color: var(--on-accent); opacity: .92; }

/* Ba ô chọn: Loại đồ · Size · Màu */
.pickers { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 8px; margin-top: 10px; }
.pick-f { position: relative; display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 7px 26px 7px 12px; cursor: pointer; min-width: 0; }
.pick-f span { display: block; font-size: 11.5px; color: var(--muted); }
.pick-f select { width: 100%; border: 0; background: transparent; outline: none; padding: 1px 0 0; font-weight: 600; font-size: 16px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; cursor: pointer; }
.pick-f::after { content: "▾"; position: absolute; right: 11px; top: 50%; transform: translateY(-15%); color: var(--muted); font-size: 12px; pointer-events: none; }
.pick-f.on { border-color: var(--accent); background: var(--accent-soft); }
.pick-f.on span, .pick-f.on::after { color: var(--accent); }
.clear-f { border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; margin-right: 4px; }
.pickers { grid-template-columns: 1.25fr 1fr 1fr; }
.pick-f { padding: 7px 22px 7px 10px; }
.pick-f::after { right: 9px; }

/* Nút Tìm kiếm dưới 3 ô chọn */
.find-go { margin-top: 10px; padding: 13px; }
.find-go.ready { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
#list { scroll-margin-top: calc(var(--nav-h) + 8px); }

.gallery.single { justify-content: center; }

/* Xem ảnh toàn màn hình */
.viewer { position: fixed; inset: 0; z-index: 50; background: #000; animation: fade .15s; }
.v-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v-track::-webkit-scrollbar { display: none; }
.v-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; overflow: hidden; scroll-snap-align: center; touch-action: pan-x; }
.v-slide.zoomed { touch-action: none; }
.v-slide img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: transform .05s linear;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.v-close { position: absolute; top: calc(env(safe-area-inset-top) + 12px); right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; }
.v-count { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 18px); text-align: center; color: #fff; font-size: 14px; opacity: .85; pointer-events: none; }
.gallery img { flex: none; width: 78%; min-width: 0; height: auto; }
@media (min-width: 700px) { .gallery img { width: 336px; } }

/* Ô bẫy bot: khách không thấy, bot tự điền sẽ bị bỏ qua */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ================= Trang Đặt lịch (theo mẫu thiết kế) ================= */
.booking-page { --mocha: #9a7259; --mocha-d: #7f5c47; --blush: #f4e7e2; --ink: #2b211c; --soft: #8a7a72; background: #f8f4f1; }
@media (prefers-color-scheme: dark) { .booking-page { --mocha: #c49a7e; --mocha-d: #d8b29a; --blush: #3a2d28; --ink: #f3ece7; --soft: #b8aaa2; background: #17120f; } }
.booking-page .script { font-family: "Great Vibes", cursive; font-weight: 400; color: inherit; line-height: 1; }
.booking-page .heart { font-family: system-ui, sans-serif; font-weight: 300; }

.bk-hero { position: relative; color: #fff; min-height: 300px;
  background: linear-gradient(90deg, rgba(122,86,70,.92) 0%, rgba(150,110,92,.72) 45%, rgba(150,110,92,.15) 100%), url("/brand/banner.jpg") center 35% / cover no-repeat; }
.bk-hero-in { max-width: 1080px; margin: 0 auto; padding: 34px 20px 110px; }
.bk-hero .script { font-size: 46px; opacity: .95; }
.bk-hero h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 40px; line-height: 1.15; margin: 4px 0 12px; letter-spacing: .2px; }
.bk-hero p { max-width: 430px; margin: 0; font-weight: 300; font-size: 15.5px; line-height: 1.6; opacity: .95; }
@media (min-width: 760px) { .bk-hero { min-height: 380px; } .bk-hero .script { font-size: 64px; } .bk-hero h1 { font-size: 58px; } .bk-hero-in { padding: 54px 24px 130px; } }

.bk-main { max-width: 1040px; margin: -92px auto 0; padding: 0 14px; position: relative; z-index: 2; }
.bk-card { background: #fff; border-radius: 26px; padding: 16px; box-shadow: 0 18px 50px rgba(110,72,55,.16), 0 2px 6px rgba(110,72,55,.06); }
@media (prefers-color-scheme: dark) { .bk-card { background: #221b17; } }
@media (min-width: 760px) { .bk-card { padding: 22px 24px; } }
.bk-row { display: grid; gap: 10px; margin-bottom: 10px; }
.bk-row.two { grid-template-columns: 1fr; }
.bk-row.three { grid-template-columns: 1fr 1fr; }
.bk-row.three .bk-field:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .bk-row.two { grid-template-columns: 1.4fr 1fr; gap: 16px; } .bk-row.three { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } .bk-row.three .bk-field:first-child { grid-column: auto; } }

.bk-field { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid #ece2dd; border-radius: 18px; background: #fff; cursor: pointer; min-width: 0; }
@media (prefers-color-scheme: dark) { .bk-field { background: #1b1512; border-color: #3a2f29; } }
.bk-field.big { padding: 12px 16px 12px 12px; }
.bk-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.bk-field.big .bk-ic { width: 52px; height: 52px; }
.bk-ic svg, .bk-go svg, .bk-feats svg, .bk-band svg { width: 22px; height: 22px; fill: none; stroke: var(--mocha); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bk-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-txt small { color: var(--soft); font-size: 13px; font-weight: 400; }
.bk-txt b { color: var(--ink); font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-field.big .bk-txt b { font-family: "Playfair Display", Georgia, serif; font-size: 20px; }
.chev { color: var(--soft); font-size: 18px; line-height: 1; transform: translateY(-4px); }
/* Ô chọn thật phủ trong suốt lên cả ô → bấm chỗ nào cũng mở lịch / danh sách */
.bk-field input, .bk-field select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; font-size: 16px; }
.bk-field.on { border-color: var(--mocha); background: color-mix(in srgb, var(--blush) 55%, #fff); }
@media (prefers-color-scheme: dark) { .bk-field.on { background: var(--blush); } }

.bk-go { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 4px; padding: 15px; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, var(--mocha), var(--mocha-d)); color: #fff; font: inherit; font-size: 18px; font-weight: 500; cursor: pointer;
  box-shadow: 0 8px 20px rgba(127,92,71,.28); }
.bk-go svg { stroke: #fff; width: 22px; height: 22px; }
.bk-go i { font-style: normal; opacity: .9; }
.bk-go.ready { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mocha) 30%, transparent), 0 8px 20px rgba(127,92,71,.28); }

.bk-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0e7e3; }
@media (min-width: 760px) { .bk-feats { grid-template-columns: repeat(4, 1fr); } .bk-feats > div + div { border-left: 1px solid #f0e7e3; padding-left: 14px; } }
@media (prefers-color-scheme: dark) { .bk-feats { border-color: #3a2f29; } }
.bk-feats > div { display: flex; gap: 10px; align-items: flex-start; }
.bk-feats svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--blush); }
.bk-feats p { margin: 0; }
.bk-feats b { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink); }
.bk-feats span { display: block; font-size: 11.5px; color: var(--soft); line-height: 1.4; margin-top: 2px; }

/* Kết quả */
.bk-results { margin-top: 30px; scroll-margin-top: calc(var(--nav-h) + 8px); }
.bk-res-head .script { font-size: 32px; color: var(--mocha); }
.bk-res-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 27px; margin: 2px 0 4px; color: var(--ink); }
.bk-res-sub { margin: 0; color: var(--soft); font-size: 14px; }
@media (min-width: 760px) { .bk-res-head h2 { font-size: 34px; } .bk-res-head .script { font-size: 38px; } }
.bk-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: none; }
.bk-chips::-webkit-scrollbar { display: none; }
.bk-chips button { flex: none; padding: 9px 18px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 1px 3px rgba(110,72,55,.08); }
@media (prefers-color-scheme: dark) { .bk-chips button { background: #221b17; } }
.bk-chips button.on { background: var(--mocha); color: #fff; }
.bk-grid { padding-top: 6px; }
.bk-item { border: 0; border-radius: 18px; box-shadow: 0 6px 18px rgba(110,72,55,.10); background: #fff; }
@media (prefers-color-scheme: dark) { .bk-item { background: #221b17; } }
.bk-item .info { position: relative; padding: 12px 14px 14px; }
.bk-item .t { font-weight: 500; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 4px; }
.bk-item .c, .bk-item .z { font-size: 12.5px; color: var(--soft); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-item .p { margin-top: 8px; font-size: 13px; color: var(--soft); padding-right: 34px; }
.bk-item .p b { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.bk-item .go { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); color: var(--mocha); display: grid; place-items: center; font-size: 14px; }

/* Dải "Tỏa sáng cùng The Canary" */
.bk-band { max-width: 1040px; margin: 34px auto 0; padding: 20px 18px; border-radius: 22px; background: var(--blush); display: grid; gap: 14px; align-items: center; color: var(--ink); }
.booking-page .bk-band { margin-left: 14px; margin-right: 14px; }
@media (min-width: 1068px) { .booking-page .bk-band { margin-left: auto; margin-right: auto; } }
@media (min-width: 760px) { .bk-band { grid-template-columns: auto 1fr auto; padding: 22px 30px; } }
.bk-band-title .script { display: block; font-size: 30px; color: var(--mocha); }
.bk-band-title b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 26px; }
.bk-band-items { display: flex; justify-content: space-around; gap: 10px; }
.bk-band-items div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; text-align: center; }
.bk-band-items svg { width: 28px; height: 28px; }
.bk-band-btn { justify-self: center; padding: 11px 22px; border-radius: 999px; background: var(--mocha-d); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.booking-page .site-foot { margin-top: 30px; }
/* Ô Loại đồ / Size / Màu dùng chung class pick-f với bản cũ → bỏ kiểu cũ */
.bk-field.pick-f { padding: 10px 14px 10px 10px; border-radius: 18px; }
.bk-field.pick-f::after { content: none; }
.bk-field.pick-f span { font-size: inherit; color: inherit; }
.bk-field.pick-f .bk-ic { display: grid; }
.bk-field.pick-f .bk-txt { display: flex; }
.bk-field.pick-f .bk-txt small { color: var(--soft); font-size: 13px; }
.bk-field.pick-f.on span.bk-txt small { color: var(--mocha); }
/* Ảnh mẫu luôn cùng khung 3:4, không bị ảnh gốc kéo cao */
.card .ph { overflow: hidden; }
.card .ph img { position: absolute; inset: 0; }
@media (max-width: 759px) {
  .bk-row.three .bk-field { gap: 8px; padding: 8px 10px 8px 8px; }
  .bk-row.three .bk-ic { width: 36px; height: 36px; }
  .bk-row.three .bk-ic svg { width: 19px; height: 19px; }
  .bk-row.three .chev { display: none; }
  .bk-row.three .bk-txt small { font-size: 12px; white-space: nowrap; }
  .bk-row.two .bk-ic { width: 46px; height: 46px; }
  .bk-item .p { white-space: nowrap; font-size: 12px; }
  .bk-item .p b { font-size: 14px; }
}

/* Form tìm đặt đồ nhỏ lại ~15% */
.bk-card { padding: 14px; border-radius: 22px; }
@media (min-width: 760px) { .bk-card { padding: 18px 20px; } }
.bk-row { gap: 8px; margin-bottom: 8px; }
@media (min-width: 760px) { .bk-row.two, .bk-row.three { gap: 14px; } }
.bk-field, .bk-field.pick-f { padding: 8px 12px 8px 8px; gap: 10px; border-radius: 15px; }
.bk-field.big { padding: 10px 14px 10px 10px; }
.bk-ic { width: 38px; height: 38px; }
.bk-field.big .bk-ic, .bk-row.two .bk-ic { width: 44px; height: 44px; }
.bk-ic svg { width: 19px; height: 19px; }
.bk-txt small, .bk-field.pick-f .bk-txt small { font-size: 11.5px; }
.bk-txt b { font-size: 14px; }
.bk-field.big .bk-txt b { font-size: 17px; }
.bk-go { padding: 12px; font-size: 15.5px; margin: 4px 0 0; }
.bk-go svg { width: 19px; height: 19px; }
@media (max-width: 759px) {
  .bk-row.three .bk-ic { width: 32px; height: 32px; }
  .bk-row.three .bk-ic svg { width: 17px; height: 17px; }
  .bk-row.two .bk-ic { width: 40px; height: 40px; }
}

/* Ảnh mẫu: khung 3:4 cố định (iPhone làm khung ảnh trong nút bị co về 0) */
.card .ph { display: block; width: 100%; height: 0; padding-top: 133.333%; aspect-ratio: auto; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .ph .noimg { position: absolute; inset: 0; }
@media (max-width: 759px) { .bk-item .go { width: 24px; height: 24px; right: 10px; font-size: 12px; } .bk-item .p { padding-right: 26px; font-size: 11.5px; } .bk-item .p b { font-size: 13.5px; } }

/* Size trên thẻ mẫu: còn trống nổi, đã có lịch chìm */
.bk-item .z span.ok { color: var(--ink); font-weight: 600; }
.bk-item .z span.off { color: var(--soft); opacity: .45; text-decoration: line-through; }
.bk-item .z i { font-style: normal; margin: 0 4px; opacity: .5; }
.bk-item .z { white-space: normal; overflow: visible; line-height: 1.5; }
.bk-item .z i { margin: 0 3px; }

/* Trang chủ: hàng điểm nổi bật thu nhỏ (~60% nhỏ hơn bản đầy đủ) */
.bk-feats.mini { gap: 6px 8px; margin-top: 10px; padding-top: 10px; }
.bk-feats.mini > div { gap: 6px; align-items: center; }
.bk-feats.mini svg { width: 24px; height: 24px; padding: 5px; }
.bk-feats.mini b { font-size: 11px; line-height: 1.25; }
.bk-feats.mini span { font-size: 9.5px; margin-top: 0; line-height: 1.3; }
@media (min-width: 760px) { .bk-feats.mini > div + div { padding-left: 10px; } .bk-feats.mini b { font-size: 12px; } .bk-feats.mini span { font-size: 10.5px; } }
.bk-res-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.bk-all { flex: none; padding: 9px 16px; border: 1px solid var(--mocha); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13.5px; }

/* Số trong form: Playfair mặc định dùng số kiểu cổ (số 1 giống chữ I) → dùng số thẳng hàng, dễ đọc */
.bk-field.big .bk-txt b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* ---------- Trang chủ (thiết kế "Trang chủ" – tông be/nâu) ---------- */
.home-v2, :root:has(body.home-v2) {
  --bg: #F7F1EA; --card: #FFFFFF; --text: #4A3428; --muted: #7A6152; --line: #EFE5DA;
  --accent: #8E6243; --accent-soft: #F3E8DC; --on-accent: #FFFFFF;
  --hv-ink: #3F2C21; --hv-soft: #6B5446; --hv-gold: #A07A5C; --hv-sand: #F3EAE0; --hv-edge: #E3D3C2;
  color-scheme: light;
}
body.home-v2 { background: #F7F1EA; color: #4A3428; font-size: 15px; line-height: 1.6; padding-bottom: 0; }
.home-v2 a { color: #8E6243; }
.hv-wrap { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.hv-script { margin: 0; font-family: "Great Vibes", cursive; font-weight: 400; font-size: 32px; line-height: 1; color: var(--hv-gold); }
.home-v2 svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Thanh thông báo */
.hv-announce { background: #EADCCB; color: #4A3428; font-size: 12.5px; }
.hv-announce .hv-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.hv-ann-ship { display: inline-flex; align-items: center; gap: 8px; }
.hv-ann-ship svg { width: 16px; height: 16px; stroke-width: 1.6; }
.hv-ann-promo { font-weight: 500; letter-spacing: .04em; }
.hv-ann-links { display: none; gap: 16px; }
.hv-ann-links a { color: #4A3428; text-decoration: none; }
@media (min-width: 900px) {
  .hv-announce .hv-wrap { justify-content: space-between; padding-left: 24px; padding-right: 24px; }
  .hv-ann-links { display: flex; }
}
.home-v2 .site-nav { background: #FFFFFF; border-bottom-color: #EFE5DA; }
/* Chữ "The Canary" trên thanh menu: kiểu viết tay như phần đầu trang, nhỏ hơn 40% */
.home-v2 .nav-in::after { font-family: "Great Vibes", cursive; font-weight: 400; letter-spacing: 0; font-size: 31px; line-height: 1; color: #A07A5C; }
.home-v2 .nav-links a.on { background: transparent; color: #4A3428; border-radius: 0; box-shadow: inset 0 -1.5px 0 #8E6243; }
.home-v2 .nav-call { background: #F3E8DC; }

/* Hero */
/* Ảnh người mẫu chìm dưới chữ: ảnh hiện 15% bên trái → 85% bên phải (phủ lớp màu be 85% → 15%) */
.hv-hero { overflow: hidden; background:
  linear-gradient(90deg, rgba(243,234,224,.85) 0%, rgba(243,234,224,.15) 100%),
  url("/brand/hero-bg.jpg?v=2") 62% 25% / cover no-repeat var(--hv-sand); }
@media (min-width: 900px) { .hv-hero { background-position: 0 0, right 30%; }
  .hv-hero-txt { max-width: 620px; } }
.hv-hero-in { display: flex; flex-direction: column; gap: 34px; padding-top: 34px; padding-bottom: 44px; }
/* Tiêu đề chữ trắng trên ảnh nền: thêm bóng mờ để vẫn đọc rõ */
.hv-hero h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.25; color: #FFFFFF; text-shadow: 0 1px 2px rgba(45,30,22,.85), 0 2px 6px rgba(45,30,22,.6), 0 4px 22px rgba(45,30,22,.55); }
.hv-hero .hv-script { font-size: 52px; }
.hv-from { display: block; margin-top: 12px; font-size: 22px; line-height: 1.25; color: #8E6243; text-shadow: none; }
.hv-lead { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--hv-soft); max-width: 480px; }
.hv-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hv-tags a { padding: 6px 14px; border-radius: 999px; background: #FFFFFF; font-size: 13px; color: var(--hv-soft); text-decoration: none; }
.hv-cta { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-family: "Playfair Display", Georgia, serif; font-size: 19px; white-space: nowrap; }
.home-v2 .hv-btn-main { background: #8E6243; color: #FFFFFF; }
.home-v2 .hv-btn-ghost { background: #FFFFFF; color: #4A3428; border: 1px solid var(--hv-edge); }
.hv-hero-art { position: relative; display: flex; justify-content: center; padding: 0 0 0 0; }
.hv-arch { width: 78%; max-width: 440px; aspect-ratio: 440 / 520; height: auto; object-fit: cover; border-radius: 240px 240px 24px 24px; box-shadow: 0 30px 60px -30px rgba(74,52,40,.45); }
.hv-mini { position: absolute; right: 0; bottom: 20px; width: 30%; max-width: 150px; aspect-ratio: 3 / 4; height: auto; object-fit: cover; border-radius: 18px; border: 5px solid #FFFFFF; box-shadow: 0 16px 32px -16px rgba(74,52,40,.4); }
.hv-quote { position: absolute; left: 0; top: 26px; margin: 0; padding: 10px 14px; max-width: 46%; background: #FFFFFF; border-radius: 14px; font-family: "Great Vibes", cursive; font-size: 19px; line-height: 1.2; color: #8E6243; box-shadow: 0 16px 32px -16px rgba(74,52,40,.35); }
@media (min-width: 900px) {
  .hv-hero-in { flex-direction: row; align-items: center; gap: 48px; padding: 64px 24px 72px; }
  .hv-hero-txt, .hv-hero-art { flex: 1 1 0; min-width: 0; }
  .hv-hero .hv-script { font-size: 72px; }
  .hv-hero h1 { font-size: 29px; line-height: 1.25; }
  .hv-from { font-size: 30px; }
  .hv-lead { font-size: 17px; margin-top: 20px; }
  .hv-tags a { padding: 7px 16px; }
  .hv-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
  .hv-btn { min-height: 52px; padding: 0 28px; font-size: 24px; }
  .hv-arch { width: 100%; }
  .hv-mini { width: 150px; bottom: 36px; border-width: 6px; border-radius: 20px; }
  .hv-quote { top: 40px; max-width: 200px; padding: 14px 18px; font-size: 24px; border-radius: 16px; }
}

/* Các mục */
.hv-sec { padding-top: 48px; padding-bottom: 8px; }
.hv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 20px; }
.hv-head h2 { margin: 6px 0 0; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.18; color: var(--hv-ink); }
.hv-script.hv-big { font-size: 40px; }
#hv-new { padding-top: 30px; }
#hv-new .hv-head { margin-bottom: 16px; }
.hv-more { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--hv-edge); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.home-v2 .hv-more { color: #4A3428; }
.hv-more svg { width: 16px; height: 16px; }
.hv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hv-grid > .loading, .hv-grid > .empty { grid-column: 1 / -1; }
@media (min-width: 760px) { .hv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .hv-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .hv-wrap { padding-left: 24px; padding-right: 24px; }
  .hv-sec { padding-top: 72px; padding-bottom: 24px; }
  .hv-head { margin-bottom: 32px; gap: 16px; }
  .hv-head h2 { font-size: 42px; line-height: 1.15; }
  .hv-script { font-size: 34px; }
  .hv-script.hv-big { font-size: 58px; }
  #hv-new { padding-top: 52px; }
  .hv-more { min-height: 46px; padding: 0 22px; font-size: 14px; }
}

/* Thẻ mẫu */
.hv-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #FFFFFF; border-radius: 20px; padding: 7px; text-decoration: none; color: #4A3428; }
.hv-ph { display: block; position: relative; width: 100%; height: 0; padding-top: 133.333%; border-radius: 15px; overflow: hidden; background: var(--hv-sand); }
.hv-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-badge { position: absolute; top: 15px; left: 15px; padding: 4px 9px; border-radius: 999px; background: #8E6243; color: #FFFFFF; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.hv-badge.hot { background: #FFFFFF; color: #8E6243; }
.hv-fav { position: absolute; top: 13px; right: 13px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #FFFFFF; color: #8E6243; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hv-fav svg { width: 18px; height: 18px; stroke-width: 1.7; }
.hv-fav.on svg { fill: currentColor; }
.hv-info { padding: 11px 6px 4px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hv-cat { font-size: 11.5px; color: #7A6152; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-info h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--hv-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-v2 .hv-info h3 a { color: inherit; text-decoration: none; }
.hv-price { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: 8px; }
.hv-price > span { white-space: nowrap; min-width: 0; }
.home-v2 h1, .home-v2 h2, .home-v2 h3, .hv-cat-row b { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hv-price b { font-size: 14.5px; font-weight: 600; color: var(--hv-ink); font-variant-numeric: lining-nums; }
.hv-price small { font-size: 11px; color: #7A6152; }
.hv-go { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #8E6243; display: grid; place-items: center; }
.home-v2 .hv-go { color: #FFFFFF; }
.hv-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 6px 6px; }
.hv-cat-row > span { display: flex; flex-direction: column; min-width: 0; }
.hv-cat-row b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 17px; color: var(--hv-ink); }
.hv-cat-row small { font-size: 12px; color: #7A6152; line-height: 1.35; }
.hv-cat-row i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F3E8DC; color: #6E4A31; display: grid; place-items: center; }
.hv-cat-row i svg { width: 16px; height: 16px; }
.hv-cats .hv-ph { padding-top: 80%; }
@media (min-width: 900px) {
  .hv-card { border-radius: 24px; padding: 10px; }
  .hv-ph { border-radius: 18px; }
  .hv-badge { top: 22px; left: 22px; padding: 5px 12px; font-size: 11px; }
  .hv-fav { top: 18px; right: 18px; width: 44px; height: 44px; }
  .hv-fav svg { width: 20px; height: 20px; }
  .hv-info { padding: 16px 10px 8px; gap: 2px; }
  .hv-cat { font-size: 12px; }
  .hv-info h3 { font-size: 19px; }
  .hv-price { margin-top: 10px; }
  .hv-price b { font-size: 18px; }
  .hv-price small { font-size: 13px; }
  .hv-go { width: 44px; height: 44px; }
  .hv-cat-row { padding: 16px 10px 10px; }
  .hv-cat-row b { font-size: 20px; }
  .hv-cat-row small { font-size: 13px; }
  .hv-cat-row i { width: 40px; height: 40px; }
}

/* 3 bước */
.hv-steps { background: #FFFFFF; border-radius: 26px; padding: 26px 18px; display: flex; flex-direction: column; gap: 22px; }
.hv-steps h2 { margin: 6px 0 0; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--hv-ink); }
.hv-steps-txt > p:last-child { margin: 12px 0 0; color: var(--hv-soft); }
.hv-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hv-steps li { padding: 18px 20px; border-radius: 20px; background: #F7F1EA; }
.hv-steps li span { font-family: "Playfair Display", Georgia, serif; font-size: 30px; line-height: 1.2; color: var(--hv-gold); font-variant-numeric: lining-nums; }
.hv-steps li h3 { margin: 4px 0 4px; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 18px; color: #4A3428; }
.hv-steps li p { margin: 0; font-size: 14px; color: var(--hv-soft); }
@media (min-width: 900px) {
  .hv-sec:has(.hv-steps) { padding-bottom: 72px; }
  .hv-steps { flex-direction: row; align-items: center; gap: 40px; padding: 48px; border-radius: 32px; }
  .hv-steps-txt { flex: 1 1 320px; min-width: 0; }
  .hv-steps ol { flex: 2 1 520px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hv-steps li { padding: 24px; border-radius: 22px; }
  .hv-steps li span { font-size: 34px; }
  .hv-steps h2 { font-size: 38px; }
  .hv-steps li h3 { font-size: 19px; }
}

/* Chân trang */
.site-foot.hv-foot { margin: 40px 0 0; padding: 0 0 env(safe-area-inset-bottom); background: #4A3428; border: 0; color: #F3E8DC; }
.hv-foot-in { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 26px; }
.hv-foot .hv-script { font-size: 44px; color: #F3E8DC; }
.hv-foot-lead { margin: 12px 0 0; font-size: 14px; color: #D9C7B4; max-width: 320px; }
.hv-foot-in > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #D9C7B4; }
.hv-foot h3 { margin: 0 0 4px; font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 18px; color: #FFFFFF; }
.home-v2 .hv-foot a { color: #D9C7B4; text-decoration: none; }
.home-v2 .hv-foot span a { text-decoration: underline; text-underline-offset: 3px; }
.hv-copy { padding-top: 16px; padding-bottom: 24px; border-top: 1px solid #6A4E3E; font-size: 13px; color: #C9B5A1; }
@media (min-width: 760px) { .hv-foot-in { grid-template-columns: 1.4fr 1.2fr .8fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; } }
.hv-btn-main svg { width: 22px; height: 22px; stroke-width: 1.7; }

/* Nhãn "MỚI VỀ" trên thẻ mẫu ở trang Đặt lịch */
.bk-item .ph { position: relative; }
.bk-item .new-tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: #8E6243; color: #FFFFFF; font-size: 10px; font-weight: 600; letter-spacing: .08em; }

/* "Mẫu mới về": hàng ngang vuốt vòng tròn */
.hv-head-r { display: flex; align-items: center; gap: 8px; }
.hv-nav { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hv-edge); background: #FFFFFF; color: #4A3428; place-items: center; cursor: pointer; padding: 0; }
/* Điện thoại: hàng nằm trong lề 16px (không tràn sát mép) — vuốt từ sát mép màn hình là cử chỉ
   chuyển trang của Safari, để hàng sát mép thì vuốt nhanh dễ bị nhảy sang trang khác */
.hv-row { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 0 4px; border-radius: 20px; }
.hv-row::-webkit-scrollbar { display: none; }
.hv-row > .hv-card { flex: 0 0 calc((100% - 16px) / 2.3); scroll-snap-align: start; }
.hv-row > .loading, .hv-row > .empty { flex: 1; }
@media (min-width: 760px) { .hv-row > .hv-card { flex-basis: calc((100% - 48px) / 4.2); } }
/* Khoảng cách giữa thẻ = lề trái để thẻ trước không lòi ra mép */
@media (min-width: 900px) {
  .hv-row { gap: 24px; margin: 0 -24px; padding: 0 24px 4px; scroll-padding-left: 24px; }
  .hv-row > .hv-card { flex-basis: calc((100% - 72px) / 4.2); }
  .hv-nav { display: grid; }
}
/* Thẻ trong hàng vuốt hẹp hơn: "/ngày" xuống dòng dưới giá thay vì bị cắt */
@media (max-width: 759px) {
  .hv-row .hv-price > span { line-height: 1.2; }
  .hv-row .hv-price small { display: block; }
  .hv-row .hv-go { width: 30px; height: 30px; }
}


/* Trang chính sách: liên kết, bảng */
.policy-links { display: grid; gap: 10px; margin: 12px 0 6px; }
@media (min-width: 640px) { .policy-links { grid-template-columns: repeat(3, 1fr); } }
.policy-links a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--text); }
.prose .policy-links a { color: var(--text); }
.policy-links b { color: var(--accent); }
.policy-links span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tbl-wrap { overflow-x: auto; margin: 8px 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 600; }
.map.map-off { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 160px; padding: 20px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--card); }
.map.map-off small { color: var(--muted); font-size: 13px; }
/* Ô đồng ý chính sách trong form đặt lịch */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 2px 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); }

