:root {
  --paper: #fbf7f1;
  --card: #ffffff;
  --ink: #2a2320;
  --muted: #6f655e;
  --line: #ebe2d6;
  --red: #9e2b25;
  --red-dark: #7c1f1a;
  --red-soft: #f6e7e3;
  --gold: #a87c2e;
  --zalo: #0068ff;
  --ok: #2f7a4b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 35, 32, .06), 0 6px 18px rgba(42, 35, 32, .06);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.55 var(--font);
  padding-bottom: 84px; /* chừa chỗ thanh Zalo dưới */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; margin-top: 1em; }
p { margin: 0 0 .8em; }
svg { width: 1em; height: 1em; flex: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-weight: 400; }
.fine { font-size: .8rem; color: var(--muted); margin-top: .8em; }
[hidden] { display: none !important; }

/* ---- dải bản mẫu ---- */
#demo-bar {
  background: #3a2f2a; color: #f3e9dc; font-size: .78rem; text-align: center; padding: 6px 16px;
}
#demo-bar b { color: #ffd9a0; }

/* ---- đầu trang ---- */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 241, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--red-dark); text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.brand { white-space: nowrap; min-width: 0; }
.topbar .btn { white-space: nowrap; flex: none; }
@media (max-width: 420px) { .brand { font-size: 1.02rem; } .topbar .btn-label-long { display: none; } }
@media (min-width: 421px) { .topbar .btn-label-short { display: none; } }
.brand small { font: 500 .66rem var(--font); color: var(--muted); border: 1px dashed var(--line); border-radius: 6px; padding: 1px 5px; white-space: nowrap; }
@media (max-width: 380px) { .brand small { display: none; } }
footer .brand small, footer .js-brand small { display: none; }

/* ---- nút ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 11px 18px; font: 600 .95rem var(--font);
  cursor: pointer; text-decoration: none; transition: background .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red-dark); border: 1px solid #e3cfc9; }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: #0057d6; }
.btn-sm { padding: 7px 14px; font-size: .85rem; margin-top: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---- hero ---- */
.hero { padding: 22px 0 8px; }
.hero h1 { font-size: 1.6rem; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { color: var(--muted); margin-bottom: 14px; }
.search { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; font: inherit; outline: none; }
.search .btn { padding: 9px 16px; }

/* ---- bộ lọc ---- */
.filters { position: sticky; top: 56px; z-index: 15; background: var(--paper); padding: 10px 16px 8px; margin: 0 -16px; }
.filters .f-title { display: none; }
.f-sel { display: block; min-width: 0; }
.chips-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 7px 14px; border-radius: 999px; font: 500 .88rem var(--font); cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.selects { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 8px; }
.selects select, .field input, .field select {
  width: 100%; font: inherit; font-size: .88rem; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 26px;
}
.field input { background-image: none; padding-right: 10px; font-size: 1rem; }
.result-head { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 10px; font-size: .88rem; color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--red); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---- lưới thẻ ---- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(42,35,32,.08), 0 12px 28px rgba(42,35,32,.1); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: #eee; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 8px; top: 8px; font-size: .66rem; font-weight: 600; padding: 3px 7px;
  border-radius: 6px; background: rgba(42, 35, 32, .78); color: #fff; letter-spacing: .01em;
}
.tag-ad { left: auto; right: 8px; background: var(--gold); }
.tag-pending { background: rgba(168, 124, 46, .92); }
.card-img.is-logo { background: #fff; border-bottom: 1px solid var(--line); }
.avatar.is-logo { object-fit: contain; background: #fff; padding: 4px; }
.card-img.is-logo img { object-fit: contain; padding: 8% 14%; }
.shop-head .tag { position: static; display: inline-block; }
.card-body { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat {
  align-self: flex-start; font-size: .7rem; font-weight: 600; color: hsl(var(--h), 45%, 32%);
  background: hsl(var(--h), 45%, 94%); padding: 2px 8px; border-radius: 999px;
}
.card-name { font: 600 .95rem/1.3 var(--font); margin: 2px 0 0; }
.card-price { margin: 0; font-size: .85rem; color: var(--muted); }
.card-price b { color: var(--red); font-size: 1rem; }
.card-meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.area { display: inline-flex; align-items: center; gap: 3px; }
.rating { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); }
.rating svg { color: #e0a321; }
.rating small { color: var(--muted); }
.rating-big { font-size: 1rem; }
.badge-new { font-size: .7rem; font-weight: 700; color: var(--ok); background: #e5f2ea; padding: 2px 8px; border-radius: 999px; }
.badge-trust { font: 600 .68rem var(--font); color: #fff; background: var(--ok); padding: 2px 7px; border-radius: 6px; vertical-align: middle; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

.sponsored { margin: 6px 0 18px; padding: 12px; border: 1px dashed #d9c39b; border-radius: var(--radius); background: #fffaf0; }
.sponsored h2 { font: 600 .85rem var(--font); color: var(--gold); margin-bottom: 8px; }

/* ---- khối nội dung ---- */
.section { padding: 28px 0 8px; }
.card-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
details.rules summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.rules summary::after { content: "+"; color: var(--red); font-size: 1.2rem; line-height: 1; }
details.rules[open] summary::after { content: "–"; }
details.rules ol { padding-left: 1.2em; margin: 12px 0 6px; }
details.rules li { margin-bottom: 6px; }
.form-wrap { display: grid; gap: 16px; }
.form-intro h2 { font-size: 1.35rem; }
.form-intro ul { padding-left: 1.1em; color: var(--muted); margin: 0; }

/* ---- form ---- */
.lead-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.req { color: var(--red); }
.hint { color: var(--muted); font-size: .78rem; }
.err { color: var(--red); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip-check span {
  display: inline-block; border: 1px solid var(--line); background: var(--paper); padding: 7px 13px;
  border-radius: 999px; font-size: .86rem; cursor: pointer; user-select: none;
}
.chip-check input:checked + span { background: var(--red-soft); border-color: var(--red); color: var(--red-dark); font-weight: 600; }
.chip-check input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form-done { background: #eef6f0; border: 1px solid #cfe5d6; border-radius: 10px; padding: 12px; font-size: .9rem; }

/* ---- chân trang ---- */
footer { margin-top: 36px; padding: 24px 0 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
footer p { margin-bottom: .5em; }

/* ---- thanh Zalo cố định ---- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(42, 35, 32, .08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.bottom-bar .inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.bb-info { flex: 1; min-width: 0; line-height: 1.25; }
.bb-info b { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-info small { color: var(--red); font-weight: 600; }
.bottom-bar .btn { padding: 11px 16px; }

/* ---- trang cửa hàng ---- */
/* width: 100% là bắt buộc: chỉ có aspect-ratio + max-height thì trình duyệt tự thu chiều ngang
   xuống 864px (360 x 12/5), ảnh bìa hụt một khoảng bên phải trên màn hình rộng */
.cover { position: relative; width: 100%; aspect-ratio: 12 / 5; max-height: 360px; overflow: hidden; background: #eee; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
/* khách sạn dùng chính ảnh toà nhà làm ảnh bìa: cắt từ phía trên để còn thấy toà nhà, không cắt mất mái */
.cover-tren img { object-position: center 28%; }
.back {
  position: absolute; left: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: var(--shadow); font-size: 1.2rem;
}
.shop-layout {
  display: grid; gap: 12px; margin-top: -36px; position: relative;
  grid-template-columns: minmax(0, 1fr);
  /* điện thoại: gợi ý liên quan nằm ngay dưới phần giới thiệu */
  grid-template-areas: "head" "tabs" "about" "side" "gallery" "halls" "products" "services" "try" "reviews" "form";
}
.shop-layout > section { scroll-margin-top: 118px; }
.shop-tabs {
  position: sticky; top: 56px; z-index: 12; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  background: var(--paper); margin: 0 -16px; padding: 8px 16px; border-bottom: 1px solid var(--line);
}
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs a {
  flex: none; text-decoration: none; font-size: .88rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); white-space: nowrap;
}
.shop-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo-note { font-size: .86rem; background: #fff6e5; border: 1px dashed #d9b46a; border-radius: 10px; padding: 9px 12px; color: #6b4e17; }
.tour { position: relative; height: 62vw; min-height: 260px; max-height: 460px; border-radius: 12px; overflow: hidden; background: #e9e1d6; }
.tour-start {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  background-size: cover; background-position: center;
}
.tour-start::before { content: ""; position: absolute; inset: 0; background: rgba(42, 35, 32, .35); }
.tour-start > * { position: relative; }
.tour-hint { color: #fff; font-size: .82rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.tour.loading .tour-start .btn { opacity: .6; pointer-events: none; }
.tour.loading .tour-start .btn::after { content: "…"; }
.tour-scenes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tour-scenes .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.try-grid { display: grid; gap: 10px; }
.try-card { position: relative; display: grid; gap: 4px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); font-size: .88rem; color: var(--muted); }
.try-card b { color: var(--ink); font-size: .95rem; }
.try-card em { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: .7rem; font-weight: 700; color: var(--gold); background: #fff6e5; padding: 2px 8px; border-radius: 999px; }
@media (min-width: 640px) { .try-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-head { display: flex; gap: 14px; align-items: flex-start; }
.avatar { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); margin-top: -34px; flex: none; }
.shop-title { min-width: 0; }
.shop-title h1 { font-size: 1.4rem; margin: 4px 0 6px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.head-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--muted); }
.head-meta b { color: var(--red); }
.head-meta .rating b { color: var(--ink); }
.side { display: grid; gap: 12px; align-content: start; }
.mini-list { display: grid; gap: 10px; }
.mini { display: flex; gap: 10px; text-decoration: none; align-items: center; padding: 6px; margin: -6px; border-radius: 10px; }
.mini:hover { background: var(--paper); }
.mini img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.mini span { display: grid; min-width: 0; font-size: .82rem; line-height: 1.35; }
.mini b { font-size: .88rem; }
.mini small { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.g-item { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #eee; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-ph { cursor: default; }
.empty-note { color: var(--muted); font-size: .9rem; background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.services { list-style: none; padding: 0; margin: 0; }
.services li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.services li:last-child { border-bottom: 0; }
.services b { color: var(--red); white-space: nowrap; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.review-head { display: flex; justify-content: space-between; }
.verified { color: var(--ok); }
.notfound { padding: 60px 16px; text-align: center; }
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 90vh; }
dialog#lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog#lightbox img { max-height: 86vh; border-radius: 8px; }
.lb-close { position: fixed; top: 12px; right: 16px; font-size: 2rem; background: none; border: 0; color: #fff; cursor: pointer; }

/* ---- giỏ báo giá ---- */
.top-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.cart-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e3cfc9;
  background: var(--card); color: var(--red-dark); display: grid; place-items: center; cursor: pointer; font-size: 1.15rem; padding: 0;
}
.cart-badge {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font: 700 .68rem/18px var(--font); text-align: center;
}
.services li { align-items: center; }
.svc-name { display: grid; gap: 2px; min-width: 0; }
.btn-add {
  flex: none; border: 1px solid var(--red); color: var(--red); background: #fff; border-radius: 999px;
  padding: 6px 12px; font: 600 .8rem var(--font); cursor: pointer; white-space: nowrap;
}
.btn-add.on { background: var(--red); color: #fff; }
.cart-hint { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
dialog.sheet {
  border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92vh;
  border-radius: 18px 18px 0 0; background: var(--paper); color: var(--ink); overflow: auto;
}
dialog.sheet::backdrop { background: rgba(42, 35, 32, .45); }
.sheet-head {
  position: sticky; top: 0; z-index: 1; background: var(--paper); display: flex; justify-content: space-between;
  align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.sheet-head h2 { margin: 0; }
.sheet-close { background: none; border: 0; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.sheet-body { padding: 14px 16px 28px; }
.cart-group { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 10px; }
.cart-group h3 { margin: 0 0 6px; font-size: .92rem; }
.cart-group h3 a { text-decoration: none; }
.cart-item { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px dashed var(--line); font-size: .88rem; }
.cart-item span { flex: 1; min-width: 0; }
.cart-item b { color: var(--red); white-space: nowrap; }
.cart-rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.25rem; line-height: 1; padding: 0 4px; }
.cart-total { display: grid; gap: 4px; padding: 10px 2px 4px; font-size: .9rem; }
.cart-total div { display: flex; justify-content: space-between; }
.cart-total b { color: var(--red); }
.cart-total small { color: var(--muted); }
.cart-total .link-btn { justify-self: start; font-size: .82rem; margin-top: 4px; }
.cart-form { margin-top: 14px; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 14px; }
.cart-form h3 { margin: 0 0 10px; }
@media (min-width: 900px) {
  dialog.sheet { margin: 0 0 0 auto; width: 440px; height: 100vh; max-height: 100vh; border-radius: 0; }
}

/* ---- thông báo ---- */
#toast {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0;
  background: #2a2320; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: .88rem;
  max-width: calc(100vw - 32px); transition: .25s; z-index: 50; pointer-events: none; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- máy tính bảng / máy tính ---- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero h1 { font-size: 2rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 12px; }
  .hero .wrap { max-width: 780px; text-align: center; }
  /* máy tính: bộ lọc thành cột trái, lưới cửa hàng bên phải */
  .browse { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 18px; }
  .filters {
    top: 72px; margin: 0; padding: 18px 16px; z-index: 5; max-height: calc(100vh - 72px - var(--day-bar, 76px)); overflow: auto; overscroll-behavior: contain;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .filters .f-title { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
  .chips-scroll { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .chips-scroll .chip { border: 0; background: transparent; text-align: left; border-radius: 8px; padding: 7px 10px; white-space: normal; }
  .chips-scroll .chip:hover { background: var(--paper); }
  .chips-scroll .chip[aria-pressed="true"] { background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
  .selects { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
  .result-head { margin-top: 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
  .shop-layout {
    grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: -48px;
    grid-template-areas:
      "head head"
      "tabs tabs"
      "about side"
      "gallery side"
      "halls side"
      "products side"
      "services side"
      "try side"
      "reviews side"
      "form side";
  }
  .side { position: sticky; top: 118px; align-self: start; grid-row: 3 / span 8; }
  .shop-tabs { margin: 0; border-radius: 999px; border: 1px solid var(--line); background: rgba(251, 247, 241, .95); }
  .avatar { width: 96px; height: 96px; margin-top: -48px; }
  .shop-title h1 { font-size: 1.8rem; }
  .card-box { padding: 22px; }
  .bottom-bar .inner { max-width: 760px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.tour .tour-pano { position: absolute !important; inset: 0; width: 100%; height: 100% !important; }

/* ---- bộ sưu tập mẫu ---- */
.p-cats { margin-bottom: 12px; }
.p-cats .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.p-card { padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; font: inherit; color: inherit; }
.p-img { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #eee; }
.p-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-count { position: absolute; right: 6px; bottom: 6px; font-size: .68rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 7px; border-radius: 6px; }
.p-info { display: grid; padding: 6px 2px 0; font-size: .85rem; line-height: 1.3; }
.p-info small { color: var(--red); font-weight: 600; }
@media (min-width: 640px) { .p-grid { grid-template-columns: repeat(3, 1fr); } }

dialog.pv { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; background: #111; color: var(--ink); overflow: auto; }
dialog.pv::backdrop { background: #000; }
.pv-media { position: relative; height: 72vh; background: #111; display: flex; flex-direction: column; }
.pv-stage { flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.pv-img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .25s; user-select: none; }
.pv-img.zoomed { transform: scale(2.4); cursor: zoom-out; touch-action: none; }
.pv-nav { position: absolute; top: 42%; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.pv-prev { left: 10px; } .pv-next { right: 10px; }
.pv-zoom-hint { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font-size: .72rem; color: #ddd; background: rgba(0, 0, 0, .45); padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.pv-thumbs { display: flex; gap: 6px; justify-content: center; padding: 8px; overflow-x: auto; }
.pv-thumbs button, .pv-strip button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; }
.pv-thumbs button { width: 46px; height: 60px; opacity: .6; }
.pv-thumbs button.on, .pv-strip button.on { border-color: var(--gold); opacity: 1; }
.pv-thumbs img, .pv-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pv-info { position: relative; background: var(--paper); padding: 18px 16px 28px; min-height: 28vh; }
.pv-close { position: absolute; right: 12px; top: 10px; }
.pv-name { margin: 8px 0 2px; font-size: 1.3rem; }
.pv-price { color: var(--red); font-weight: 700; font-size: 1.05rem; margin: 8px 0; }
.pv-desc { color: var(--muted); font-size: .9rem; }
.pv-actions { display: grid; gap: 8px; margin: 14px 0; }
.pv-actions .link-btn { justify-self: center; font-size: .85rem; }
.pv-more b { font-size: .85rem; }
.pv-strip { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; padding-bottom: 4px; }
.pv-strip button { width: 56px; height: 74px; }
@media (min-width: 900px) {
  dialog.pv { display: none; }
  dialog.pv[open] { display: grid; grid-template-columns: minmax(0, 1fr) 380px; overflow: hidden; }
  .pv-media { height: 100vh; }
  .pv-info { height: 100vh; overflow: auto; padding: 28px 24px; }
}

/* ---- thử đồ AI ---- */
dialog.tryon { z-index: 60; }
.to-garment { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 12px; padding: 10px; box-shadow: var(--shadow); margin-bottom: 14px; }
.to-garment img { width: 64px; height: 84px; object-fit: cover; object-position: top; border-radius: 8px; }
.to-garment div { display: grid; font-size: .9rem; }
.to-garment small { color: var(--muted); }
.to-form { display: grid; gap: 14px; }
.to-drop { display: grid; place-items: center; min-height: 200px; border: 2px dashed #d9c8b4; border-radius: 14px; background: var(--card); cursor: pointer; text-align: center; padding: 12px; overflow: hidden; }
.to-drop-text { display: grid; gap: 4px; }
.to-drop-text small { color: var(--muted); font-size: .8rem; }
.to-preview { max-height: 320px; border-radius: 10px; }
.to-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.to-consent input { margin-top: 3px; }
.to-result { position: relative; }
.to-result > img { width: 100%; border-radius: 12px; }
.to-label { position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(42, 35, 32, .82); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; }

/* ---- hồ sơ thử đồ ---- */
.profile-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e3cfc9; background: var(--card); color: var(--red-dark); display: grid; place-items: center; cursor: pointer; font-size: 1.15rem; padding: 0; }
.profile-btn.has::after { content: ""; position: absolute; right: 1px; top: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; }
.hs-form { display: grid; gap: 14px; }
.hs-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hs-row input { width: 100%; font: inherit; font-size: 1rem; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: var(--card); }
.hs-face { min-height: 150px; }
.hs-face-img { max-height: 200px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.hs-result { margin-top: 18px; }
.hs-clear { margin-top: 16px; font-size: .82rem; color: var(--muted); }
.to-note { font-size: .84rem; color: var(--muted); background: var(--paper); border-radius: 10px; padding: 8px 10px; margin: 0; }
.pv-fit { font-size: .88rem; background: #eef6f0; border-radius: 10px; padding: 8px 10px; }
.pv-fit:empty { display: none; }
.fit-size { color: var(--ok); }

/* ---- trang văn bản (chính sách, điều khoản) ---- */
.doc-page { padding-bottom: 0; }
.doc { max-width: 780px; padding-top: 24px; padding-bottom: 40px; }
.doc h1 { font-size: 1.7rem; margin-top: 10px; }
.doc h2 { font-size: 1.15rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--red); }
.doc-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 10px 0; display: block; overflow-x: auto; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--card); }
footer a { color: inherit; }

/* ---- trợ lý AI tư vấn ---- */
.ai-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--red); background: var(--red-soft); color: var(--red-dark);
  border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--font);
}
.ai-btn:hover { background: #f1d9d3; }
.ai-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ai-btn-long { display: none; }
@media (min-width: 1100px) { .ai-btn-long { display: inline; } .ai-btn-short { display: none; } }
@media (max-width: 480px) { .topbar .top-actions > a.btn-ghost { display: none; } .ai-btn { padding: 6px 10px; } }
.ai-sheet .sheet-head h2 { font-size: 1.02rem; line-height: 1.35; padding-right: 8px; }
.ai-notice { background: var(--card); border-left: 3px solid var(--red); border-radius: 8px; padding: 10px 12px; font-size: .86rem; margin: 0 0 10px; }
.ai-beta { background: #fff6e0; border-radius: 8px; padding: 9px 12px; font-size: .84rem; margin: 0 0 12px; color: #6b4d12; }
.ai-pick { font-weight: 600; margin: 4px 0 10px; }
.ai-tiers { display: grid; gap: 12px; }
.ai-tier { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; }
.ai-tier.is-soon { background: #fdfbf8; }
.ai-tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ai-tier h3 { margin: 0; font-size: 1rem; }
.ai-price { flex: none; font-weight: 700; font-size: .82rem; color: var(--ok); background: #e8f3ec; border-radius: 999px; padding: 2px 9px; }
.ai-price.soon { color: var(--muted); background: #f0ebe4; }
.ai-desc { margin: 6px 0 10px; font-size: .9rem; }
.ai-tier .ai-start { width: 100%; margin: 0; }
.ai-tier .ai-start[disabled] { opacity: .6; cursor: not-allowed; }
.ai-limit { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.ai-data { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }
.ai-fine { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); }
footer .ai-foot { font-size: .8rem; }

/* ---- chi tiết mẫu: góc chụp, thông số ---- */
.pv-stage { position: relative; }
.pv-goc { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; pointer-events: none; }
.pv-thumbs button { position: relative; }
.pv-thumbs button small { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: #fff; font-size: .58rem; line-height: 1.5; text-align: center; white-space: nowrap; overflow: hidden; }
.pv-desc { font-size: .9rem; color: var(--ink); }
.pv-desc p { color: var(--muted); margin: 6px 0 0; }
.pv-specs { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0 0 6px; }
.pv-specs dt { color: var(--muted); }
.pv-specs dd { margin: 0; font-weight: 500; }
.pv-feats { margin: 4px 0 0; padding-left: 1.1em; }
.pv-feats li { margin-bottom: 2px; }
.to-360 { display: grid; gap: 4px; }
.to-360 .btn[disabled] { opacity: .6; cursor: not-allowed; }
.to-360 small { color: var(--muted); font-size: .76rem; }

/* ---- video xoay 360° trong khung gương ---- */
.to-360-out { display: grid; gap: 6px; margin-top: 6px; }
.mirror { position: relative; margin: 0 auto; width: min(100%, 340px); aspect-ratio: 9 / 17; border-radius: 170px 170px 14px 14px;
  padding: 10px; background: linear-gradient(135deg, #d9c08a, #a87c2e 40%, #f1e2b8 60%, #a87c2e); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.mirror video { width: 100%; height: 100%; object-fit: cover; border-radius: 160px 160px 8px 8px; background: #eee; display: block; }

/* ---- mặc thử ngày cưới ---- */
.nc-box h3 { margin: 0 0 6px; }
.nc-box p { font-size: .86rem; margin: 0 0 10px; }
.nc-label { font-weight: 600; margin: 4px 0 6px; font-size: .9rem; }
.nc-pick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.nc-pick button { flex: none; width: 84px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--card); cursor: pointer; overflow: hidden; text-align: left; }
.nc-pick button.on { border-color: var(--red); }
.nc-pick img { width: 100%; height: 96px; object-fit: cover; object-position: top; display: block; }
.nc-pick small { display: block; font-size: .68rem; padding: 3px 5px; line-height: 1.3; max-height: 2.6em; overflow: hidden; }
.nc-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.nc-row label { display: grid; gap: 4px; font-size: .84rem; flex: 1 1 140px; }
.nc-row select, .nc-row input { font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nc-stage { position: relative; background: #eee; border-radius: 12px; overflow: hidden; }
.nc-canvas { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; }
.nc-tag { position: absolute; left: 8px; top: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }
.nc-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.75); font-weight: 600; text-align: center; padding: 16px; }
.nc-note { font-size: .82rem; margin: 8px 0 4px; }
.nc-ai { display: grid; gap: 6px; margin-top: 10px; }
.nc-ai img { width: 100%; border-radius: 12px; }
@media (min-width: 900px) { dialog.nc-sheet { width: 640px; } }

/* ---- thử váy xoay 360° ---- */
.tv-chon { display: flex; gap: 8px; margin: 6px 0 10px; flex-wrap: wrap; }
.tv-chon label { flex: 1 1 140px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--card); cursor: pointer; font-size: .9rem; }
.tv-chon input { accent-color: var(--red); }
.tv-run { margin-top: 10px; }
.tv-bar { height: 12px; background: #eee3d8; border-radius: 999px; overflow: hidden; }
.tv-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 999px; transition: width .8s ease; }
.tv-pct { display: flex; gap: 10px; align-items: baseline; margin-top: 8px; }
.tv-pct b { font-size: 1.3rem; color: var(--red); min-width: 3.2em; }
.tv-pct span { font-weight: 600; font-size: .92rem; }
.tv-msg { font-size: .88rem; margin: 6px 0; min-height: 1.3em; }
.tv-wait { margin: 8px 0; }
.tv-done { display: grid; gap: 10px; justify-items: center; }
.tv-done xem-thu-vay-360 { --tv-nhan: #9e2b25; }
.tv-done .pv-actions { width: 100%; }

/* ---- video 360° của khách: giỏ, xem lại, so sánh ---- */
.tvb-box h3 { margin: 0 0 4px; }
.tvb-box > p { font-size: .84rem; margin: 0 0 8px; }
.tvb-list { display: grid; gap: 8px; margin-bottom: 10px; }
.tvb-o { display: grid; grid-template-columns: auto 52px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.tvb-o input { accent-color: var(--red); width: 18px; height: 18px; }
.tvb-o img { width: 52px; height: 92px; object-fit: cover; border-radius: 6px; background: #eee; }
.tvb-o span { display: grid; font-size: .86rem; min-width: 0; }
.tvb-o small { color: var(--muted); }
.cart-item .js-cart-vid { font-size: .78rem; white-space: nowrap; }
.tvx-grid { display: grid; gap: 12px; justify-items: center; }
.tvx-grid.hai { grid-template-columns: 1fr 1fr; gap: 8px; }
.tvx-o { display: grid; gap: 6px; justify-items: center; width: 100%; }
.tvx-o xem-thu-vay-360 { --tv-nhan: #9e2b25; }
.tvx-cap { display: grid; text-align: center; font-size: .86rem; }
.tvx-cap small { color: var(--muted); }
.tvx-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@media (min-width: 900px) { dialog.tv-xem { width: 720px; } }

/* ---- so sánh trong khung xem mẫu ---- */
.pv-ss { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.pv-ss-t { display: block; font-size: .95rem; }
.pv-ss .fine { margin: 2px 0 8px; }
.pv-ss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pv-ss-o { display: grid; gap: 4px; justify-items: center; text-align: center; font-size: .78rem; }
.pv-ss-o xem-thu-vay-360 { max-width: none; border-radius: 12px; --tv-nhan: #9e2b25; }
.pv-ss-o.dang-xem xem-thu-vay-360 { outline: 2px solid var(--red); outline-offset: 1px; }
.pv-ss-o small { color: var(--muted); line-height: 1.35; }

/* ---- phòng so sánh: tắt đèn, toàn màn hình ---- */
.pv-ss-dau { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
dialog.pss { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0807; color: #fff; overflow: hidden; }
dialog.pss::backdrop { background: rgba(0, 0, 0, .94); }
.pss-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,0)); }
.pss-tieu-de { font-size: .95rem; white-space: nowrap; }
.pss-chon { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: .8rem; color: rgba(255,255,255,.75); }
.pss-chon button { min-width: 38px; height: 34px; border-radius: 9px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: 700 .95rem var(--font); cursor: pointer; }
.pss-chon button.on { background: #fff; color: #111; }
.pss-dong { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.pss-cuon { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; }
.pss-trang { height: 100vh; height: 100dvh; box-sizing: border-box; padding: 54px 8px 10px; display: grid; gap: 8px; scroll-snap-align: start; scroll-snap-stop: always; }
.n1 .pss-trang { grid-template-columns: 1fr; }
.n2 .pss-trang { grid-template-columns: 1fr 1fr; }
.n4 .pss-trang { grid-template-columns: repeat(4, 1fr); }
.pss-o { position: relative; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.pss-khung { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; position: relative; }
.pss-khung xem-thu-vay-360 { max-width: none; width: 100%; height: 100%; aspect-ratio: auto; --tv-nhan: #9e2b25; }
.pss-tam { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: #222; }
.pss-nhan { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; z-index: 2; max-width: 92%; font-size: .78rem; background: rgba(0,0,0,.6); padding: 4px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.pss-cuoi { text-align: center; font-size: .78rem; color: rgba(255,255,255,.6); padding: 16px 16px 28px; scroll-snap-align: end; }
@media (max-width: 700px) {
  .n2 .pss-trang { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .n4 .pss-trang { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .pss-tieu-de { display: none; }
  .pss-chon span { display: none; }
  .pss-chon { margin-left: 0; }
  .pss-top { justify-content: space-between; }
  .n1 .pss-trang { padding: 50px 0 0; }
  .n2 .pss-nhan, .n4 .pss-nhan { bottom: 56px; font-size: .7rem; }
}

/* ---- ô tick chọn video so sánh ---- */
.pv-ss-nut { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 10px; }
.pv-ss-nut .btn { margin: 0; flex: 1 1 auto; }
.pv-ss-nut .btn[disabled] { opacity: .55; cursor: not-allowed; }
.pv-ss-o { position: relative; }
.pv-ss-tick { position: absolute; z-index: 3; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 600; padding: 3px 8px 3px 5px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.15); cursor: pointer; }
.pv-ss-tick input { width: 15px; height: 15px; accent-color: var(--red); margin: 0; }
.pv-ss-o.da-chon .pv-ss-khung { outline: 3px solid var(--gold); outline-offset: 1px; border-radius: 12px; }
.pv-ss-khung { width: 100%; }
.pv-ss-khung xem-thu-vay-360 { max-width: none; border-radius: 12px; --tv-nhan: #9e2b25; }
.pv-ss-anh { position: relative; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #eee; cursor: pointer; display: block; }
.pv-ss-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-ss-anh span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* ---- ảnh mẫu luôn nằm gọn trong khung (Firefox không co ảnh theo max-height % trong lưới) ---- */
.pv-stage { position: relative; }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }

/* ---- đăng nhập, tài khoản ---- */
.dn-ly-do { font-weight: 600; margin: 0 0 12px; }
.dn-nut { display: grid; gap: 8px; }
.dn-nut .btn { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; text-decoration: none; }
.dn-nut .btn b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; font-size: .85rem; }
.dn-zalo { background: #0068ff; color: #fff; border: 0; } .dn-zalo b { background: #fff; color: #0068ff; }
.dn-google { background: #fff; color: #222; border: 1px solid var(--line); } .dn-google b { background: #4285f4; color: #fff; }
.dn-fb { background: #1877f2; color: #fff; border: 0; } .dn-fb b { background: #fff; color: #1877f2; }
.dn-hoac { display: flex; align-items: center; gap: 10px; margin: 14px 0 8px; color: var(--muted); font-size: .82rem; }
.dn-hoac::before, .dn-hoac::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dn-sdt .field { margin-bottom: 10px; }
.tk-dau { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.tk-dau img, .tk-dau span { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; }
.tk-dau div { display: grid; } .tk-dau small { color: var(--muted); }
.tk-so-do { background: var(--card); border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.js-profile-open.da-dang-nhap { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.tv-so-do-co { margin: 8px 0; }
.tk-sdt { display: block; margin: 8px 0 4px; font-size: .9rem; } .tk-sdt input { display: block; width: 100%; margin-top: 4px; } .tk-sdt input[readonly] { opacity: .7; }
.tk-ok { color: #1e7a3c; font-weight: 600; margin: 4px 0 8px; }
.tk-dc { flex-basis: 100% !important; }

.tk-don { background: var(--card); border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); font-size: .88rem; }
.tk-don-ds { list-style: none; margin: 4px 0 0; padding: 0; max-height: 220px; overflow: auto; }
.tk-don-ds > li { padding: 8px 0; border-top: 1px solid var(--line); }
.tk-don-ds > li:first-child { border-top: 0; }
.tk-don-ds ul { margin: 4px 0 0 16px; padding: 0; }

/* tab dịch vụ trong trang cửa hàng */
.dv-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -4px 0; padding: 2px 4px 4px; }
.dv-tabs::-webkit-scrollbar { display: none; }
.dv-tab { flex: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid hsl(var(--h, 20) 40% 82%); background: hsl(var(--h, 20) 60% 96%); color: hsl(var(--h, 20) 45% 30%); white-space: nowrap; }
.dv-tab small { font-weight: 500; opacity: .75; margin-left: 2px; }
.dv-tab[aria-selected="true"] { background: hsl(var(--h, 20) 45% 34%); border-color: hsl(var(--h, 20) 45% 34%); color: #fff; }
.dv-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dv-ten { font-weight: 500; color: var(--muted, #7a6a5f); }
.shop-head { flex-wrap: wrap; } .shop-head .dv-tabs { flex: 1 1 100%; width: 100%; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.dv-tabs-nho { margin: 0 -4px 10px; } .dv-tabs-nho .dv-tab { font-size: .82rem; padding: 6px 12px; }
.dv-tabs { flex-wrap: wrap; overflow: visible; }

/* nút Trải nghiệm cửa hàng 360° trong ô đầu trang cửa hàng */
.shop-head .shop-title { flex: 1 1 220px; min-width: 0; }
.btn-360 { flex: none; align-self: flex-start; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; font: inherit;
  padding: 10px 14px 10px 10px; border-radius: 14px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-360:hover { background: var(--ink); color: #fff; }
.btn-360-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .8rem; }
.btn-360:hover .btn-360-ic { background: #fff; color: var(--ink); }
.btn-360 b { display: block; font-size: .92rem; }
.btn-360 small { display: block; font-size: .78rem; opacity: .75; }
@media (max-width: 640px) { .btn-360 { flex: 1 1 100%; } }
/* hộp 360 toàn màn hình */
.tour-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; }
.tour-dlg[open] { display: flex; flex-direction: column; }
.tour-dlg::backdrop { background: rgba(0, 0, 0, .85); }
.tour-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.tour-dlg-head small { display: block; font-size: .78rem; opacity: .7; }
.tour-dlg-close { font-size: 1.8rem; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px 10px; }
.tour.tour-full { flex: 1; height: auto; max-height: none; min-height: 0; border-radius: 0; }
.tour-dlg-foot { padding: 10px 16px 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.tour-dlg-foot .chip { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.tour-dlg-foot .chip[aria-pressed="true"] { background: #fff; color: #111; }
.tour-dlg-foot .tour-hint { position: static; font-size: .8rem; opacity: .7; color: #fff; background: none; padding: 0; }
.tour-dlg-trong { flex: 1; display: grid; place-items: center; padding: 24px; text-align: center; opacity: .85; }

/* tour bằng ảnh thường: phủ kín, kéo để nhìn, điểm bấm sang phòng */
.tour-full { position: relative; overflow: hidden; touch-action: none; }
.tp-canh { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .45s ease, transform .9s ease; cursor: grab; user-select: none; }
.tp-canh.hien { opacity: 1; transform: none; }
.tp-canh.dang-keo { cursor: grabbing; }
.tp-khung { position: absolute; left: 0; top: 0; will-change: transform; }
.tp-khung img { width: 100%; height: 100%; display: block; pointer-events: none; }
.tp-diem { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit; }
.tp-cham { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #222; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .28); animation: tp-nhip 1.8s ease-in-out infinite; }
.tp-di .tp-cham { background: var(--ink, #6b3a2e); color: #fff; }
.tp-nhan { background: rgba(0, 0, 0, .62); padding: 6px 10px; border-radius: 999px; font-size: .85rem; white-space: nowrap; }
@keyframes tp-nhip { 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, .08); } }
.tp-ten { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .55); padding: 6px 12px; border-radius: 8px; font-weight: 600; }

/* Chế độ nhúng (?nhung=1): phần mẫu của cửa hàng mở trong bảng nổi của cửa hàng 3D */
body.nhung { background: #fbf7f1; padding: 0; }
body.nhung .topbar, body.nhung footer, body.nhung #bottom-bar, body.nhung #demo-bar, body.nhung .ai-btn { display: none !important; }
body.nhung #shop { padding: 12px 12px 24px; max-width: 980px; margin: 0 auto; }
body.nhung #mau, body.nhung .nhung-so-sanh { margin: 0 0 12px; }
body.nhung #mau h2 { font-size: 1.05rem; }
body.nhung .p-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
body.nhung .p-o { display: flex; flex-direction: column; gap: 6px; }
body.nhung .p-nut { display: flex; flex-direction: column; gap: 6px; }
body.nhung .p-nut .btn { width: 100%; margin: 0; font-size: .82rem; padding: 9px 8px; }
/* màn đăng nhập trước khi vào cửa hàng 3D */
body.nhung-dn { background: transparent; }
body.nhung-dn #shop { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.dn3d { max-width: 420px; width: 100%; text-align: center; }
.dn3d h1 { font-size: 1.3rem; margin: 0 0 8px; }
.dn3d .btn { margin-top: 10px; }

/* ---------- Mẫu trang điểm: dòng phong cách, mô tả, khung Xem cận mặt 360° ---------- */
.p-info small.p-pc { color: var(--muted, #6b5f58); font-weight: 500; font-style: italic; }
.pv-pc { margin: 10px 0 6px; line-height: 1.55; }
.pv-hop { margin: 6px 0; font-size: .92rem; line-height: 1.5; }
.pv-h { font-size: .95rem; margin: 12px 0 4px; }
dialog.can-mat { border: 0; padding: 0; width: min(980px, 100vw); max-width: 100vw; max-height: 100dvh; border-radius: 16px; background: var(--card, #fff); color: var(--ink); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
dialog.can-mat:not([open]) { display: none; }
dialog.can-mat::backdrop { background: rgba(0, 0, 0, .78); }
.cm-video { position: relative; background: #111; display: grid; place-items: center; }
.cm-video video { width: 100%; max-height: 86dvh; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.cm-toc { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 16, 14, .62); }
.cm-toc button { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: .82rem; }
.cm-toc button[aria-pressed="true"] { background: #e9c58a; color: #2a2320; font-weight: 600; }
.cm-info { position: relative; padding: 20px 22px; }
.cm-info h2 { margin: 8px 36px 2px 0; font-size: 1.2rem; }
.cm-info .sheet-close { position: absolute; top: 12px; right: 12px; }
.cm-pc { margin: 12px 0 4px; }
.cm-nut { display: grid; gap: 8px; margin-top: 12px; }
@media (max-width: 760px) {
  dialog.can-mat { grid-template-columns: 1fr; width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .cm-video video { max-height: 62dvh; aspect-ratio: auto; height: 62dvh; }
}

/* ---------- Khung "Tư vấn mẫu này" ---------- */
.tv .sheet-body { display: grid; gap: 10px; }
.tv-mau-dau { display: flex; gap: 10px; align-items: center; }
.tv-mau-dau img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.tv-mau-dau div { display: grid; gap: 2px; min-width: 0; }
.tv-mau-dau small { color: var(--muted, #6b5f58); font-size: .82rem; }
.tv-loi { display: grid; gap: 8px; max-height: 34vh; overflow: auto; padding-right: 2px; }
.tv-loi:empty { display: none; }
.tv-trangthai { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--muted, #6b5f58); }
.tv-nho { all: unset; cursor: pointer; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line, #ddd); font-size: .8rem; color: var(--ink); }
.tv-nho[hidden] { display: none !important; }
.tv-song { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; opacity: .35; }
.tv-song i { width: 3px; height: 5px; border-radius: 2px; background: var(--red, #7b2230); }
.tv-trangthai.dang-noi .tv-song { opacity: 1; }
.tv-trangthai.dang-noi .tv-song i { animation: tv-song 1s infinite ease-in-out; }
.tv-trangthai.dang-noi .tv-song i:nth-child(2) { animation-delay: .15s; }
.tv-trangthai.dang-noi .tv-song i:nth-child(3) { animation-delay: .3s; }
.tv-trangthai.dang-noi .tv-song i:nth-child(4) { animation-delay: .45s; }
@keyframes tv-song { 0%, 100% { height: 5px; } 50% { height: 15px; } }
@media (prefers-reduced-motion: reduce) { .tv-trangthai.dang-noi .tv-song i { animation: none; height: 10px; } }
.js-tv-noi.dang-nghe { background: var(--red, #7b2230); color: #fff; }
.tv-tin { padding: 10px 12px; border-radius: 12px; line-height: 1.55; font-size: .93rem; white-space: pre-wrap; }
.tv-nv { background: var(--bg-soft, #f6efe9); border-bottom-left-radius: 4px; }
.tv-khach { background: var(--red, #7b2230); color: #fff; justify-self: end; max-width: 85%; border-bottom-right-radius: 4px; }
.tv-tin.dang-go { opacity: .6; }
.tv-hoi { display: flex; gap: 6px; }
.tv-hoi input { flex: 1; min-width: 0; font: inherit; padding: 9px 12px; border: 1px solid var(--line, #ddd); border-radius: 999px; }
.tv-chips { gap: 6px; }
.tv-chips .chip { font-size: .82rem; }

/* Chọn cách tư vấn: nghe nhân viên nói, hay đọc chữ khi cần yên lặng */
.tv-cach { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-soft, #f6efe9); }
.tv-cach button { all: unset; cursor: pointer; flex: 1; text-align: center; padding: 7px 10px; border-radius: 999px; font-size: .88rem; color: var(--muted, #6b5f58); }
.tv-cach button[aria-pressed="true"] { background: var(--card, #fff); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.tv-trangthai[hidden], .js-tv-noi[hidden] { display: none !important; }

/* Khung xem mẫu lớn trong lúc nhân viên tư vấn: ảnh tự chuyển chậm giữa góc xa và góc cận */
.tv-khung { position: relative; height: min(46vh, 360px); border-radius: 14px; overflow: hidden; background: #efe6df; }
.tv-khung img, .tv-khung video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.tv-khung video { object-fit: cover; }
.tv-khung .tv-anh { transition: transform 3.5s ease-in-out; transform-origin: 50% 28%; cursor: zoom-in; }
.tv-khung .tv-anh.can { transform: scale(1.85); }
.tv-goc-nhin { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 16, 14, .62); color: #fff; font-size: .76rem; }
@media (prefers-reduced-motion: reduce) { .tv-khung .tv-anh { transition: none; } }

/* Sảnh tiệc của khách sạn, trung tâm tiệc cưới */
.sanh-tang { margin: 14px 0 6px; font-size: 1rem; color: var(--muted, #6b5f58); }
.sanh-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sanh { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line, #e7ded6); border-radius: 12px; align-items: flex-start; }
.sanh-anh { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; }
.sanh-chu { min-width: 0; display: grid; gap: 2px; }
.sanh-chu small { color: var(--muted, #6b5f58); }
.sanh-so { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: .92rem; }
.sanh-so dt { color: var(--muted, #6b5f58); }
.sanh-so dd { margin: 0; }
.sanh-gia { margin: 6px 0 0; color: var(--red, #7b2230); font-weight: 600; }
@media (max-width: 520px) { .sanh { flex-direction: column; } .sanh-anh { width: 100%; height: 150px; } }
.sanh-3d { margin-top: 8px; align-self: start; }
.sanh-3d-to { margin: 4px 0 12px; }

/* thẻ (tag) và video của mẫu do cửa hàng tự đăng */
.pv-tag { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.pv-tag span { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--chip, #f1ece6); color: var(--ink, #2b2017); }
.pv-video { width: 100%; max-height: 320px; border-radius: 12px; margin-top: 12px; background: #000; }

/* ảnh dự án gom theo album (cửa hàng tự đăng) */
.album-ds { display: grid; gap: 18px; }
.album h4 { margin: 0 0 4px; font-size: 1rem; }
.album p { margin: 0 0 8px; font-size: .92rem; }

/* hạng Miễn phí: khối liên hệ thẳng với cửa hàng */
.lh-thang { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #eee); }
.lh-thang h3 { margin: 0 0 6px; }
.lh-thang p { margin: 4px 0 10px; }

/* ---------- Voucher ---------- */
.hero-loi { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 0; }
.hero-vc { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line, #e7dccd); color: var(--ink, #2b2017); font-weight: 600; text-decoration: none; font-size: .92rem; }
.hero-vc:hover { border-color: var(--nau, #7d2338); }
.tag-vc { background: #fff3d6; color: #7a4b00; }
.vc-trang, .bd-trang { padding-top: 22px; padding-bottom: 90px; max-width: 980px; }
.vc-dau h1, .bd-o h1 { margin: 0 0 6px; }
/* thanh tag dịch vụ của trang voucher: luôn là hàng nút ngang (không theo kiểu cột lọc bên trái trang chủ) */
.vc-tag.chips-scroll { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; margin: 0 !important; padding: 12px 0 !important; overflow: visible; }
.vc-tag.chips-scroll .chip { border: 1px solid var(--line) !important; background: var(--card) !important; border-radius: 999px !important; padding: 7px 14px !important; white-space: nowrap !important; text-align: center; }
.vc-tag.chips-scroll .chip[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; font-weight: 600; }
.chip-trong { opacity: .55; }
.vc-ds { display: grid; gap: 12px; margin-top: 6px; }
.vc-the { background: var(--card, #fff); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border-left: 6px solid #e0a43a; }
.vc-bam { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.vc-giam { font-weight: 700; color: #a3121f; font-size: 1.05rem; max-width: 170px; line-height: 1.25; }
.vc-ten b { display: block; }
.vc-ten small { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted, #6b6b6b); margin-top: 4px; }
.vc-gia { text-align: right; white-space: nowrap; }
.vc-gia b { display: block; font-size: 1.1rem; color: var(--ink, #2b2017); }
.vc-gia small { display: block; color: #1e7a3c; font-weight: 600; }
.vc-cach { margin: 10px 0 0; padding-left: 20px; color: var(--muted, #6b6b6b); }
.vc-cach li { margin: 3px 0; }
.vc-mua { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.vc-mua input { flex: 1 1 180px; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; }
.vc-bao { margin: 8px 0 0; } .vc-bao.ok { color: #1e7a3c; } .vc-bao.err { color: #b3261e; }
@media (max-width: 560px) { .vc-bam { grid-template-columns: 1fr auto; } .vc-giam { grid-column: 1 / -1; max-width: none; } }
.vc-chi { padding: 0 16px 16px; }
.vc-ma { letter-spacing: .06em; background: #fff3d6; padding: 2px 8px; border-radius: 6px; }
.vc-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 10px 0 12px; }
.vc-shop-o { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line, #eee); border-radius: 10px; text-decoration: none; color: inherit; }
.vc-shop-o img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.vc-shop-o small { display: block; color: var(--muted, #6b6b6b); }
.vc-shop { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fff8e8; border: 1px dashed #e0a43a; }
.vc-shop h3 { margin: 0 0 8px; }
.vc-dong { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(0,0,0,.06); }
.vc-dong small { display: block; color: var(--muted, #6b6b6b); }
.vc-goi { display: block; margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #fff3d6; color: #7a4b00; font-weight: 600; text-decoration: none; }

/* ---------- Bắt đầu (khách từ TikTok, Facebook) ---------- */
.bd-o { background: var(--card, #fff); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.bd-buoc { color: var(--muted, #6b6b6b); margin: 0 0 4px; font-weight: 600; }
.bd-chon { display: grid; gap: 10px; margin: 14px 0; }
.bd-nut { padding: 16px; border-radius: 12px; border: 1px solid var(--line, #e7dccd); background: #fff; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.bd-nut:hover { border-color: var(--nau, #7d2338); }
.bd-tich { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 12px 0; }
.bd-tich label { display: flex; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line, #eee); border-radius: 10px; }
.bd-hang { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.bd-hang input { flex: 1 1 200px; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; }
.bd-o-nhap { display: block; font-weight: 600; margin: 12px 0; }
.bd-o-nhap select, .bd-o-nhap input { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; box-sizing: border-box; }
.bd-form { margin: 14px 0; }
.bd-bao.ok { color: #1e7a3c; } .bd-bao.err { color: #b3261e; }
.bd-nhom { margin-top: 20px; }
.bd-nhom h2 { font-size: 1.15rem; }

/* thanh toán voucher bằng QR */
.vc-mua select { flex: 1 1 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; }
.vc-qr { text-align: center; }
.vc-qr img { width: min(300px, 80vw); height: auto; border-radius: 12px; border: 1px solid var(--line, #eee); background: #fff; }
.vc-qr-tieu { font-size: 1.05rem; margin: 4px 0 10px; }
.vc-tk { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; max-width: 420px; margin: 12px auto; }
.vc-tk dt { color: var(--muted, #6b6b6b); }
.vc-tk dd { margin: 0; word-break: break-all; }
.vc-cho { display: flex; gap: 8px; justify-content: center; align-items: center; color: var(--muted, #6b6b6b); }
.vc-xoay { width: 16px; height: 16px; border: 2px solid #e0a43a; border-top-color: transparent; border-radius: 50%; animation: vcxoay 1s linear infinite; }
@keyframes vcxoay { to { transform: rotate(360deg); } }
.vc-xong { text-align: center; padding: 8px 0; }
.vc-ma-lon { font-size: 1.8rem; font-weight: 700; letter-spacing: .08em; margin: 8px 0 12px; color: #a3121f; word-break: break-all; }
.vc-cho.ok { color: #1e7a3c; display: block; text-align: center; }

/* giá theo từng mục dịch vụ, ngay trên các mẫu */
.p-gia { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; padding: 10px 12px; background: #fbf4e8; border-radius: 10px; font-size: .95rem; }
.p-gia b { color: #7a4b12; }
.p-gia.muted { background: transparent; padding: 0; }
.album-the { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 2px 0 6px; font-size: .92rem; }
.album-the span { background: #fbf4e8; border-radius: 99px; padding: 2px 10px; }
.album-the b { color: #7a4b12; }
/* khung giới thiệu mảng có danh sách nhiệm vụ (vd Trợ lý cô dâu) */
.mang-gt { margin-bottom: 14px; }
.mang-gt h2 { margin: 0 0 6px; font-size: 1.15rem; }
.mang-gt ul { margin: 6px 0 12px; padding-left: 20px; line-height: 1.6; }
.mang-gt .btn { margin-right: 10px; }

/* ===== Lịch trống âm lịch, cam kết đúng giờ, nơi nhận phục vụ, báo giá theo hạng mục ===== */
.f-sel input[type="date"] { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: #fff; }
.f-am { display: block; margin-top: 4px; font-size: .78rem; color: var(--red-dark, #8a1f2b); min-height: 1em; }
.tag-trong { background: #e3f5e8; color: #1d6b35; }
.tag-kin { background: #fff; color: #c62828; font-weight: 700; border: 1px solid #f2b8b8; top: auto; bottom: 8px; }
.tag-vote { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 2px; }
.tag-vote span { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: #eef4fb; color: #24518a; }
.tag-vote b { font-weight: 700; }
.bg-hm { margin-top: 12px; }
.bg-hm table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 6px 0; }
.bg-hm th, .bg-hm td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line, #eee); }
.bg-hm th { font-weight: 600; color: var(--muted, #666); font-size: .8rem; }
.lich-pv { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line, #eee); }
.kt-ngay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.kt-ngay input { font: inherit; padding: 7px 10px; border: 1px solid var(--line, #ddd); border-radius: 10px; }
.kt-trong { color: #1d6b35; }
.kt-kin { color: #a3202f; }
.review-anh { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.review-anh .g-item { width: 72px; height: 72px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.review-anh img { width: 100%; height: 100%; object-fit: cover; }
.gui-dg { margin-top: 12px; }
.tag-trong { top: auto; bottom: 8px; }
.f-ngay-wrap { grid-column: span 2; }
@media (min-width: 900px) { .f-ngay-wrap { grid-column: auto; } }
