/* =========================================================
   GIAO DIỆN CỔNG KHÁCH HÀNG — phong cách hiện đại, ấm, mượt
   (chỉ áp dụng cho index.html, không ảnh hưởng cổng nền tảng / xưởng)
   ========================================================= */
.portal-customer {
  --cream: #f7f3ec;
  --sand: #ece4d8;
  --ink: #1d1a16;
  --ink-2: #4b443c;
  --muted: #8a8176;
  --line: #e6ddd0;
  --wood: #a8683a;
  --wood-dark: #87502a;
  --accent: #c8682c;
  --accent-soft: #fbeee3;
  --ease: cubic-bezier(.22, .61, .36, 1);
  background: var(--cream);
  color: var(--ink);
}
.portal-customer h1, .portal-customer h2, .serif { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.3px; }
.portal-customer .btn { background: var(--ink); }
.portal-customer .btn:hover { background: #000; }
.portal-customer .btn-accent { background: var(--accent); }
.portal-customer .btn-accent:hover { background: var(--wood-dark); }
.portal-customer .btn-ghost { background: #fff; color: var(--ink); }
.portal-customer .btn-danger { background: #fff; color: var(--danger); border-color: #f5c2c4; }
.portal-customer .btn-danger:hover { background: var(--danger-soft); }
.portal-customer .btn-ghost:hover { background: var(--sand); }
.portal-customer .card { border-radius: 20px; border-color: var(--line); box-shadow: 0 10px 30px rgba(60, 40, 20, .06); }
.portal-customer input:focus, .portal-customer select:focus, .portal-customer textarea:focus { outline: 2px solid rgba(200, 104, 44, .25); border-color: var(--accent); }

/* ---------- Header kính mờ, trong suốt trên ảnh hero ---------- */
.portal-customer .topbar { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 1px solid transparent; transition: background .35s var(--ease), border-color .35s, box-shadow .35s; }
.portal-customer .brand { color: #fff; transition: color .35s; }
.portal-customer .brand-tld { color: #f3c79f; }
.portal-customer .brand-mark { background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); }
.portal-customer .top-links a { color: rgba(255,255,255,.9); transition: color .2s, background .2s; }
.portal-customer .top-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.portal-customer .top-links .top-cta { background: #fff; color: var(--ink); }
.portal-customer.scrolled .topbar { background: rgba(247, 243, 236, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(60,40,20,.06); }
.portal-customer.scrolled .brand { color: var(--ink); }
.portal-customer.scrolled .brand-tld { color: var(--accent); }
.portal-customer.scrolled .brand-mark { background: var(--ink); border-color: var(--ink); }
.portal-customer.scrolled .top-links a { color: var(--ink-2); }
.portal-customer.scrolled .top-links a:hover { background: var(--sand); color: var(--ink); }
.portal-customer.scrolled .top-links .top-cta { background: var(--ink); color: #fff; }

/* ---------- Hero ảnh toàn màn hình ---------- */
.hero-x {
  position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(20,14,8,.45) 0%, rgba(20,14,8,.15) 70%),
    linear-gradient(180deg, rgba(20,14,8,.6) 0%, rgba(20,14,8,.35) 45%, rgba(20,14,8,.8) 100%),
    url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=1800&q=75") center / cover no-repeat,
    linear-gradient(135deg, #3a2a1c, #6b4a2f 55%, #a8683a);
  border-radius: 0 0 32px 32px;
}
.hero-x::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(200,104,44,.25), transparent 60%); pointer-events: none; }
.hero-x-inner { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 90px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.eyebrow.dark { background: var(--accent-soft); color: var(--wood-dark); border-color: transparent; }
.hero-x h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; margin: 18px 0 12px; font-weight: 700; }
.hero-x h1 { text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-x h1 em { font-style: italic; color: #f6b47f; }
.hero-x p { font-size: clamp(16px, 2.2vw, 20px); opacity: .92; margin: 0; }
.hero-perks { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.hero-perks span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 14px; }
.hero-perks i { font-style: normal; }
.btn-x { margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; padding: 16px 18px 16px 28px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.25); transition: transform .3s var(--ease), box-shadow .3s; }
.btn-x .arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.btn-x:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.btn-x:hover .arrow { transform: translateX(4px); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 1; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bố cục báo giá nhanh: vào là thao tác ngay ---------- */
/* Khoảng trống dưới header = đúng chiều cao header thật (đo bằng JS → --header-h), không bị đè chữ */
.portal-customer #app { padding-top: var(--header-h, 64px) !important; }
.portal-customer .sticky-chips { top: var(--header-h, 64px) !important; }
.perk-strip { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; background: var(--ink); color: #f3e7d6; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.perk-strip span:first-child, .perk-strip span:nth-child(2), .perk-strip span:nth-child(3) { white-space: nowrap; }
.qq { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; align-items: start; }
.qq-head { padding: 22px 0 4px; }
.qq .chips-x { justify-content: flex-start; }
.qq-head h1 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.qq-head h1 em { font-style: italic; color: var(--accent); }
/* Lời chào chạy như băng rôn (2 bản chữ nối nhau, chạy nửa chiều dài → lặp liền mạch) */
.qq-marquee { overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.mq-track { display: inline-flex; animation: mq-run 22s linear infinite; will-change: transform; }
.mq-track > span { padding-right: 2.2em; }
.mq-track > span::after { content: '•'; color: var(--accent); font-size: .7em; margin-left: 2.2em; vertical-align: middle; opacity: .7; }
.qq-marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .qq-marquee { white-space: normal; -webkit-mask-image: none; mask-image: none; }
  .mq-track { animation: none; display: inline; }
  .mq-track > span + span { display: none; }
  .mq-track > span::after { display: none; }
}
.qq-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.qq .grid-x { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.qq .card-x { border-radius: 16px; border: 2px solid transparent; }
.qq .card-x-img { aspect-ratio: 4 / 3; }
.qq .card-x-body { padding: 10px 12px 12px; }
.qq .card-x-body h3 { font-size: 14px; margin-bottom: 6px; }
.qq .card-x-foot b { font-size: 15px; }
.qq .card-x-foot .go { width: 30px; height: 30px; font-size: 13px; }
.qq .card-x.selected { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 30px rgba(60,40,20,.08); }
.qq .card-x.selected .go { background: var(--accent); color: #fff; }
.qq-panel { position: sticky; top: 74px; margin-top: 22px; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 16px 40px rgba(60,40,20,.10); max-height: calc(100vh - 92px); overflow: auto; }
.qq-prod { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.qq-thumb { width: 84px; height: 84px; flex: none; border-radius: 14px; overflow: hidden; background: var(--sand); }
.qq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qq-thumb .img-fallback { font-size: 38px; }
/* Nhãn kiểu & vật liệu đang chọn + hiệu ứng đổi ảnh */
.q-imgtag { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #2b2118; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .1px; }
.quote-img { position: relative; }
.quote-img .q-imgtag { position: absolute; left: 10px; bottom: 10px; margin: 0; background: rgba(20, 16, 12, .72); backdrop-filter: blur(4px); }
.qq-thumb img, .quote-img img { transition: opacity .25s ease; }
.qq-thumb img.q-img-swap, .quote-img img.q-img-swap { opacity: .35; }
.qq-prod h2 { font-size: 19px; margin: 2px 0 4px; }
.qq-panel .quote-actions .btn { flex: 1; }
.cart-mini { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.qq + .container .section-x { margin-top: 48px; }

/* ---------- Form báo giá theo 3 bước ---------- */
.q-step { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin: 16px 0 8px; color: var(--ink); }
.q-step:first-child { margin-top: 0; }
.q-num { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; flex: none; }

/* Vật liệu dạng thẻ chọn */
.opt-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.opt-pill { position: relative; margin: 0; cursor: pointer; }
.opt-pill input { position: absolute; opacity: 0; pointer-events: none; }
.opt-pill span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s var(--ease), background .2s, box-shadow .2s, transform .15s; }
.opt-pill b { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.opt-pill small { font-size: 12px; color: var(--accent); font-weight: 700; }
.opt-pill:hover span { border-color: #cdbca6; }
.opt-pill:active span { transform: scale(.98); }
.opt-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(200,104,44,.12); }
.opt-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Ô chọn ẩn (radio/checkbox) không được chiếm chỗ → tránh trượt ngang trên điện thoại */
.opt-pill input, .shape-opt input, .addon-check input { width: 1px; height: 1px; padding: 0; margin: 0; left: 0; top: 0; }

/* Chọn kiểu tủ bếp chữ I / chữ L */
.shape-list { display: grid; gap: 8px; }
.shape-opt { position: relative; margin: 0; cursor: pointer; }
.shape-opt input { position: absolute; opacity: 0; pointer-events: none; }
.shape-opt > span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s var(--ease), background .2s, box-shadow .2s; }
.shape-opt svg { width: 40px; height: 40px; flex: none; fill: var(--sand); stroke: var(--wood); stroke-width: 2; transition: fill .2s; }
.shape-opt b { display: block; font-size: 14px; color: var(--ink); }
.shape-opt small { color: var(--muted); font-size: 12px; }
.shape-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(200,104,44,.12); }
.shape-opt input:checked + span svg { fill: #f2c6a4; stroke: var(--accent); }
.shape-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.kind-list .shape-opt > span { padding: 11px 14px; }
.kind-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid #cdbca6; background: #fff; transition: border-color .2s, box-shadow .2s; }
.shape-opt input:checked + span .kind-dot { border-color: var(--accent); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--accent); }
.kind-price { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
#quote-form[data-shape="I"] .if-L, #quote-form[data-shape="L"] .if-I { display: none; }
#quote-form .field.if-L { animation: fadeUp .3s var(--ease) both; }

/* Ô số có nút − / + */
.dims-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.num-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.num-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,104,44,.12); }
.num-input input { border: 0; outline: 0 !important; padding: 10px 2px; text-align: center; font-weight: 700; font-size: 16px; min-width: 0; flex: 1; background: transparent; -moz-appearance: textfield; }
.num-input input::-webkit-outer-spin-button, .num-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-input .suffix { font-size: 12px; color: var(--muted); padding-right: 4px; }
.num-input .step { width: 38px; align-self: stretch; border: 0; background: var(--cream); color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; transition: background .15s; }
.num-input .step:hover { background: var(--sand); }
.num-input .step:active { background: #e2d6c4; }

/* Bảng tính giá chi tiết */
.portal-customer #quote-total { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 2px 14px; margin: 0 0 4px; }
.portal-customer #quote-total .qt-row:last-child { border-bottom: 0; }
.quote-sticky .qt-total { padding: 10px 2px 10px; }
.qq-prod .small.muted:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qq-panel .quote-sticky { position: sticky; bottom: -18px; background: #fff; padding: 6px 0 14px; margin-bottom: -14px; box-shadow: 0 -12px 16px -12px rgba(60,40,20,.12); }
.qt-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; animation: fadeUp .35s var(--ease) both; }
.qt-l b { display: block; font-weight: 600; }
.qt-l small { color: var(--muted); font-size: 12px; }
.qt-m { color: var(--ink-2); white-space: nowrap; text-align: right; }
.qt-r { font-weight: 700; white-space: nowrap; text-align: right; min-width: 84px; }
.qt-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.qt-total span { font-weight: 700; font-size: 14px; }
.qt-total small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.qt-total .big { font-size: 26px; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Đổi mẫu mượt trong khung bên phải */
.qq-panel.swap > * { animation: fadeUp .35s var(--ease) both; }
.qq-panel.swap > *:nth-child(2) { animation-delay: .05s; }
.qq .card-x { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }

/* ---------- Thanh khuyến mãi chạy chữ ---------- */
.promo-bar { position: relative; background: linear-gradient(90deg, #8a3d12, #c8682c 55%, #d9843f); color: #fff; padding: 0 16px; }
.promo-track { display: grid; max-width: 1200px; margin: 0 auto; }
.promo-item { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 8px 4px; border: 0; background: none; color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.promo-item.on { opacity: 1; transform: none; pointer-events: auto; }
.promo-go { flex: none; font-size: 12.5px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.promo-item:hover .promo-go { background: #fff; color: var(--accent); }
.promo-dots { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 5px; }
.promo-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .3s, width .3s; }
.promo-dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.card-x-promo { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #e5484d; color: #fff; box-shadow: 0 4px 12px rgba(229,72,77,.35); }
.promo-note { background: linear-gradient(90deg, #fff1e6, #fde7d3); border: 1px dashed #f0b58a; color: #8a3d12; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
@media (max-width: 640px) {
  .promo-bar { padding: 0 10px; }
  .promo-item { font-size: 13px; min-height: 46px; padding: 6px 2px 12px; line-height: 1.35; }
  .promo-dots { right: 50%; top: auto; bottom: 4px; transform: translateX(50%); }
  .card-x-promo { left: 6px; bottom: 6px; font-size: 12px; padding: 3px 8px; }
}

/* ---------- Bếp trọn gói ---------- */
.card-x-tag.hot { background: var(--accent); color: #fff; }
.card-x-new { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; color: #fff; background: linear-gradient(135deg, #f97316, #e5484d); box-shadow: 0 4px 12px rgba(229,72,77,.35); animation: newPulse 2.4s ease-in-out infinite; }
@keyframes newPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .card-x-new { animation: none; } }
@media (max-width: 600px) { .card-x-new { right: 6px; bottom: 6px; font-size: 10.5px; padding: 3px 8px; } }
.chip-x.chip-new:not(.active) { color: #c2410c; border-color: #fed7aa; background: #fff8f1; }
.addon-list { display: grid; gap: 8px; }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, opacity .2s; }
.addon:has(input:checked) { border-color: #e7b48f; background: #fffaf5; }
.addon:not(:has(input:checked)) select { opacity: .45; }
.addon select { padding: 7px 8px; font-size: 13px; border-radius: 9px; }
.addon-check { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.addon-check input { position: absolute; opacity: 0; pointer-events: none; }
.addon-check .box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 2px solid #cdbca6; background: #fff; display: grid; place-items: center; transition: all .2s var(--ease); }
.addon-check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.addon-check input:checked + .box::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 800; }
.addon-check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.addon-check b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.addon-check small { color: var(--muted); font-size: 12px; }

/* ---------- Zalo ---------- */
.btn-zalo, .portal-customer .btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover, .portal-customer .btn-zalo:hover { background: #0054cc; }
.zalo-fab { position: fixed; left: 18px; bottom: 18px; z-index: 44; width: 58px; height: 58px; border-radius: 50%; background: #0068ff; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 10px 26px rgba(0,104,255,.35); animation: zaloPulse 2.6s ease-out infinite; }
.zalo-fab:hover { background: #0054cc; }
@keyframes zaloPulse { 0% { box-shadow: 0 0 0 0 rgba(0,104,255,.45), 0 10px 26px rgba(0,104,255,.35); } 70% { box-shadow: 0 0 0 16px rgba(0,104,255,0), 0 10px 26px rgba(0,104,255,.35); } 100% { box-shadow: 0 0 0 0 rgba(0,104,255,0), 0 10px 26px rgba(0,104,255,.35); } }
.link-zalo { display: block; width: 100%; margin-top: 8px; border: 0; background: #eef4ff; color: #0054cc; font: inherit; font-size: 13px; font-weight: 700; padding: 9px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.link-zalo:hover { background: #dde9ff; }

/* ---------- Giỏ: tổng, chia sẻ, ảnh hiện trạng ---------- */
.cart-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; margin: 10px 0; font-weight: 700; }
.cart-total b { font-size: 22px; color: var(--accent); }
/* Nhóm theo phòng: thanh tiêu đề nhỏ + tạm tính của phòng */
.cg { margin-top: 12px; }
.cg-head { display: flex; align-items: center; gap: 8px; background: #f6f1ea; border-radius: 10px; padding: 7px 10px; font-size: 14px; }
.cg-head .cg-ic { font-size: 16px; line-height: 1; }
.cg-head small { color: var(--muted); font-size: 12px; font-weight: 500; }
.cg-head .cg-sub { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--ink); }
.cg .cart-item { padding-left: 4px; }
/* Ô tổng: tạm tính từng phòng + tổng cộng */
.cart-sum { background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; margin: 14px 0 10px; }
.cs-rows { display: grid; gap: 5px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed rgba(200, 104, 44, .35); font-size: 13.5px; color: var(--ink-2); }
.cs-rows div { display: flex; justify-content: space-between; gap: 10px; }
.cs-rows b { font-weight: 600; white-space: nowrap; color: var(--ink); }
.cs-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cs-total span { font-weight: 700; font-size: 15px; }
.cs-total small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 1px; }
.cs-total b { font-size: 24px; font-weight: 800; color: var(--accent); white-space: nowrap; letter-spacing: -.3px; }
.share-row { display: flex; gap: 6px; flex-wrap: wrap; }
.share-row .btn { flex: 1 1 auto; }
.photo-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-item { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; animation: fadeUp .3s var(--ease) both; }
.pp-item img { width: 100%; height: 100%; object-fit: cover; }
.pp-item button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; cursor: pointer; }
.pp-add { width: 76px; height: 76px; margin: 0; border: 2px dashed #cdbca6; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); transition: border-color .2s, background .2s; }
.pp-add:hover { border-color: var(--accent); background: var(--accent-soft); }
.pp-add span { font-size: 22px; line-height: 1; }
.pp-add small { font-size: 10px; text-align: center; }

/* ---------- In / lưu PDF báo giá ---------- */
#print-area { display: none; }
@media print {
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing #print-area { display: block; color: #000; font-size: 12px; }
  .pq-head { display: flex; justify-content: space-between; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 14px; }
  .pq-brand { font-size: 20px; font-weight: 800; } .pq-brand span { color: #c8682c; }
  .pq-sub { font-size: 11px; color: #555; }
  .pq-meta { text-align: right; font-size: 11px; } .pq-meta b { font-size: 15px; display: block; }
  .pq-table { width: 100%; border-collapse: collapse; }
  .pq-table th, .pq-table td { border: 1px solid #999; padding: 6px 8px; text-align: left; font-size: 11.5px; }
  .pq-table th { background: #f1ece4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; text-transform: none; letter-spacing: 0; color: #000; }
  .pq-table .r { text-align: right; white-space: nowrap; }
  .pq-table tfoot td { font-weight: 800; font-size: 13px; }
  .pq-note { font-size: 10px; color: #666; }
  .pq-foot { margin-top: 14px; font-size: 11px; color: #333; } .pq-foot p { margin: 3px 0; }
  @page { margin: 14mm; }
}

/* ---------- Banner gọn: vào trang là thấy sản phẩm ngay ---------- */
.hero-slim {
  position: relative; color: #fff; overflow: hidden; border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, rgba(20,14,8,.72) 0%, rgba(20,14,8,.55) 100%),
    url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=1800&q=70") center 60% / cover no-repeat,
    linear-gradient(135deg, #3a2a1c, #6b4a2f 55%, #a8683a);
}
.hero-slim-inner { padding-top: 86px; padding-bottom: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; animation: fadeUp .7s var(--ease) both; }
.hero-slim h1 { font-size: clamp(30px, 5vw, 52px); margin: 0; font-weight: 700; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero-slim h1 em { font-style: italic; color: #f6b47f; }
.hero-slim .hero-perks { margin-top: 14px; }
.hero-hint { margin: 14px 0 0; font-size: 14px; opacity: .9; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Thanh danh mục dính dưới header khi cuộn */
.sticky-chips { position: sticky; top: 56px; z-index: 30; background: var(--cream); margin: 0 -16px 18px; padding: 16px 16px 12px; }

/* ---------- Tiêu đề khu vực ---------- */
.section-x { text-align: center; margin: 64px 0 24px; }
.section-x h2 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 6px; }
.section-x p { margin: 0; }

/* ---------- Bộ lọc dạng viên thuốc ---------- */
.chips-x { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.chip-x { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s var(--ease); }
.chip-x:hover { border-color: var(--ink); color: var(--ink); }
.chip-x.active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(29,26,22,.2); }

/* ---------- Lưới sản phẩm ---------- */
.grid-x { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card-x { background: #fff; border-radius: 22px; overflow: hidden; cursor: pointer; box-shadow: 0 1px 2px rgba(60,40,20,.04), 0 10px 30px rgba(60,40,20,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-x:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(60,40,20,.14); }
.card-x-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(110deg, var(--sand) 8%, #f5efe6 18%, var(--sand) 33%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.card-x-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.card-x-img img.loaded { opacity: 1; transform: scale(1); }
.card-x:hover .card-x-img img.loaded { transform: scale(1.07); }
.card-x-img .img-fallback { background: linear-gradient(135deg, var(--sand), var(--accent-soft)); }
.card-x-tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); color: var(--ink); }
.card-x-body { padding: 16px 18px 18px; }
.card-x-body h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; line-height: 1.35; }
.card-x-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-x-foot .from { color: var(--muted); font-size: 12px; }
.card-x-foot b { color: var(--accent); font-size: 17px; }
.card-x-foot .unit { color: var(--muted); font-size: 12px; margin-left: 2px; }
.card-x-foot .go { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-weight: 700; transition: background .3s, color .3s, transform .3s var(--ease); }
.card-x:hover .go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Hiện dần khi cuộn ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Modal: phóng nhẹ trên máy tính, trượt lên trên điện thoại ---------- */
.portal-customer .modal-backdrop { background: rgba(29, 22, 14, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease); }
.portal-customer .modal-card { border-radius: 26px; animation: popIn .4s var(--ease); }
.portal-customer .quote-img { border-radius: 18px; aspect-ratio: 16 / 10; max-height: 280px; width: 100%; }
.portal-customer .quote-img .img-fallback { font-size: 72px; }
.portal-customer .quote-total { background: var(--accent-soft); border: 0; border-radius: 16px; }
.portal-customer .price { color: var(--accent); }
.bep-note { background: var(--sand); border-radius: 12px; padding: 9px 12px; font-size: 13px; margin-bottom: 12px; color: var(--ink-2); }
.portal-customer .formula { line-height: 1.6; }
.card-x-img > .img-fallback { font-size: 72px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes sheetUp { from { transform: translateY(100%); } }

/* ---------- Thanh dưới & nút giỏ ---------- */
.portal-customer .cart-fab { background: var(--ink); box-shadow: 0 12px 30px rgba(29,26,22,.3); }
.portal-customer .cart-fab .count { color: var(--ink); }
.portal-customer .footer { background: var(--ink); color: #e9e2d6; border: 0; border-radius: 32px 32px 0 0; margin-top: 72px; padding: 32px 0; }
.portal-customer .footer .muted { color: #a89e90; }
.portal-customer .footer .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.portal-customer .footer .btn-ghost:hover { background: rgba(255,255,255,.08); }

@media (max-width: 899px) {
  .qq { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .qq-left { min-width: 0; }
}
@media (max-width: 640px) {
  .portal-customer #app { padding-top: 50px; }
  .perk-strip { gap: 12px; font-size: 11.5px; padding: 7px 10px; }
  .qq-head { padding: 14px 0 0; }
  .qq-head h1 { font-size: 22px; }
  .qq-head p { font-size: 12.5px; }
  .qq .grid-x { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qq .card-x-foot .go { display: none; }
  .qq .card-x-foot > div { white-space: nowrap; }
  .zalo-fab { display: none; } /* điện thoại: Zalo nằm trong thanh dưới */
  .portal-customer .mobile-bar .btn { padding: 12px 6px; font-size: 14px; }
  .portal-customer .mobile-bar .btn-accent { flex: 1.3; }
  .addon { grid-template-columns: 1fr; }
  .card-x-tag.hot { font-size: 10px; }
  .opt-pills { grid-template-columns: 1fr 1fr; }
  .dims-row { grid-template-columns: 1fr 1fr; }
  .qt-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .qt-m { grid-column: 1; text-align: left; font-size: 12px; }
  .qt-r { grid-column: 2; grid-row: 1 / span 2; }
  .qt-total .big { font-size: 22px; }
  .qq .card-x-foot b { font-size: 14px; }
  .portal-customer .quote-img { aspect-ratio: 21 / 9; max-height: 150px; }
  .hero-x { min-height: 78vh; border-radius: 0 0 24px 24px; }
  .hero-x-inner { padding-top: 92px; padding-bottom: 70px; }
  .hero-perks { gap: 6px; margin-top: 18px; }
  .hero-perks span { padding: 7px 11px; font-size: 12.5px; border-radius: 12px; }
  .btn-x { width: 100%; justify-content: space-between; margin-top: 22px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 1.4px; white-space: nowrap; }
  .hide-sm { display: none; }
  .portal-customer .topbar-inner { flex-wrap: nowrap; gap: 10px; }
  .portal-customer .brand { font-size: 14px; min-width: 0; gap: 7px; letter-spacing: -.2px; }
  .portal-customer .topbar-inner { padding-left: 12px; padding-right: 12px; }
  .portal-customer .brand-mark { width: 30px; height: 30px; flex: none; }
  .portal-customer .top-links { margin-left: auto; flex: none; }
  .section-x { margin: 40px 0 16px; }
  .chips-x { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 14px; padding: 12px 16px 10px; scrollbar-width: none; }
  .sticky-chips { top: 50px; }
  .hero-slim { border-radius: 0 0 22px 22px; }
  .hero-slim-inner { padding-top: 66px; padding-bottom: 18px; }
  .hero-slim h1 { font-size: 30px; }
  .hero-slim .hero-perks { margin-top: 10px; flex-wrap: nowrap; }
  .hero-slim .hero-perks { gap: 5px; }
  .hero-slim .hero-perks span { padding: 5px 9px; font-size: 11.5px; gap: 0; white-space: nowrap; border-radius: 10px; }
  .hero-slim .hero-perks i { display: none; }
  .hero-slim .hero-perks span::before { content: "✓ "; color: #f6b47f; font-weight: 800; }
  .hero-hint { font-size: 12.5px; margin-top: 10px; }
  .chips-x::-webkit-scrollbar { display: none; }
  .chip-x { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
  .grid-x { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-x { border-radius: 18px; }
  .card-x-body { padding: 10px 12px 12px; }
  .card-x-body h3 { font-size: 13.5px; margin-bottom: 6px; }
  .card-x-foot b { font-size: 14px; }
  .card-x-foot .go { display: none; }
  .card-x-tag { font-size: 10.5px; left: 8px; top: 8px; padding: 3px 8px; }
  .portal-customer .top-links { display: flex; }
  .portal-customer .top-links a:not(.top-cta) { display: none; }
  .portal-customer .top-links .top-cta { padding: 6px 10px; font-size: 12.5px; }
  /* bottom sheet */
  .portal-customer .modal { align-items: end; padding: 0; }
  .portal-customer .modal-card { border-radius: 24px 24px 0 0; max-height: 92vh; animation: sheetUp .42s var(--ease); padding-top: 26px; }
  .portal-customer .modal-card::before { content: ""; position: absolute; top: 9px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line); }
  .portal-customer .mobile-bar { background: rgba(247,243,236,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top-color: var(--line); }
  .portal-customer .mobile-bar .btn-accent { background: var(--ink); }
  .portal-customer .footer { padding-bottom: 96px; }
}

/* ---------- Dễ bấm, dễ đọc trên điện thoại (nút ≥ 44px, chữ ≥ 12px) ---------- */
.dims-hint { font-size: 12.5px; color: #9a6503; background: var(--warn-soft); border-radius: 10px; padding: 7px 10px; margin: -4px 0 10px; }
#quote-form[data-touched="1"] .dims-hint { display: none; }
.ref-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #9a6503; background: var(--warn-soft); border-radius: 6px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
/* Giỏ báo giá: các phần của tủ bếp (trên/dưới) – gạch dọc bên trái, vật liệu + cách tính */
.ci-lines { margin-top: 6px; display: grid; gap: 6px; }
.ci-line { border-left: 3px solid var(--line); padding: 1px 0 1px 9px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ci-line b { color: var(--ink); font-weight: 700; }
.ci-line small { display: block; font-size: 12.5px; color: var(--muted); }
.ci-line small i { font-style: normal; }
@media (max-width: 640px) {
  .chip-x { min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .portal-customer .brand { min-height: 44px; }
  .portal-customer .footer .btn { min-height: 44px; }
  .num-input .step { width: 46px; min-height: 48px; font-size: 20px; }
  .num-input input { min-height: 48px; }
  .addon select { min-height: 44px; font-size: 14px; }
  .addon-check { min-height: 44px; }
  .portal-customer .top-links .top-cta { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 14px; font-size: 14px; }
  .link-zalo { min-height: 44px; font-size: 14px; }
  .share-row .btn { min-height: 44px; }
  .opt-pill span { min-height: 48px; }
  .perk-strip { font-size: 12.5px; gap: 10px; }
  .card-x-tag, .card-x-tag.hot { font-size: 12px; padding: 3px 9px; }
  .eyebrow { font-size: 12px; }
  .qq-head p, .opt-pill small, .addon-check small, .shape-opt small, .qt-l small, .qt-total small { font-size: 12.5px; }
}

/* Không còn thanh Gọi/Zalo dưới đáy: nút giỏ báo giá rộng, dễ bấm */
@media (max-width: 640px) {
  .portal-customer .footer { padding-bottom: 90px; }
  .portal-customer .cart-fab { left: 12px; right: 12px; bottom: 14px; justify-content: center; min-height: 52px; font-size: 15px; }
}

/* ---------- Báo giá trọn gói theo căn hộ ---------- */
.pkg-cta { margin: 14px 0 4px; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #1d1a16 0%, #3a2a1c 60%, #6b4a2f 100%); color: #fff; box-shadow: 0 14px 34px rgba(60,40,20,.18); }
.pkg-cta-head b { display: block; font-size: 18px; }
.pkg-cta-head span { display: block; font-size: 13.5px; color: #d9cbb8; margin-top: 2px; }
.pkg-homes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.pkg-homes button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 92px; padding: 10px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font: inherit; cursor: pointer; transition: background .2s, transform .15s, border-color .2s; }
.pkg-homes button:hover { background: rgba(255,255,255,.16); border-color: #f6b47f; transform: translateY(-2px); }
.pkg-homes i { font-style: normal; font-size: 24px; }
.pkg-homes b { font-size: 13.5px; text-align: center; line-height: 1.25; }
.pkg-homes small { font-size: 12px; color: #d9cbb8; }
.pkg-homes em { font-style: normal; font-weight: 800; color: #f6b47f; }
.pkg h2 { margin-bottom: 6px; }
.seg { display: grid; gap: 6px; }
.seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg button { min-height: 52px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; transition: all .2s var(--ease); }
.seg button b { font-size: 13.5px; color: var(--ink); }
.seg button small { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.25; }
.seg button.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(200,104,44,.12); }
.pkg-room { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 8px; overflow: hidden; }
.pkg-room h4 { display: flex; justify-content: space-between; margin: 0; padding: 9px 12px; font-size: 13.5px; background: var(--cream); }
.pkg-room h4 span { color: var(--accent); }
.pkg-row { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 12px; border-top: 1px solid var(--line); cursor: pointer; transition: opacity .2s, background .2s; }
.pkg-row:hover { background: #fffaf5; }
.pkg-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pkg-row .box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 2px solid #cdbca6; display: grid; place-items: center; transition: all .2s var(--ease); }
.pkg-row input:checked + .box { background: var(--accent); border-color: var(--accent); }
.pkg-row input:checked + .box::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 800; }
.pkg-row input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.pkg-name { flex: 1; min-width: 0; }
.pkg-name b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pkg-name b em { font-style: normal; color: var(--accent); }
.pkg-name small { display: block; font-size: 12px; color: var(--muted); }
.pkg-price { font-size: 13.5px; white-space: nowrap; }
.pkg-row.off { opacity: .45; }
.pkg-row.off .pkg-price { text-decoration: line-through; }
.pkg-foot { position: sticky; bottom: -24px; background: #fff; margin: 0 -4px -24px; padding: 8px 4px 16px; box-shadow: 0 -12px 16px -12px rgba(60,40,20,.15); z-index: 2; }
.link-edit { display: block; width: 100%; margin-top: 8px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; min-height: 36px; cursor: pointer; text-decoration: underline; }
@media (max-width: 640px) {
  .pkg-cta { padding: 14px 12px; border-radius: 18px; }
  .pkg-cta-head b { font-size: 16.5px; }
  .pkg-homes { grid-template-columns: repeat(2, 1fr); }
  .pkg-homes button { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 10px; text-align: left; }
  .pkg-homes button b, .pkg-homes button small { text-align: left; }
  .pkg-homes button > b { flex: 1; }
  .pkg-homes button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; }
  .pkg-homes i { grid-row: 1 / span 2; font-size: 22px; }
  .seg-4 { grid-template-columns: repeat(2, 1fr); }
  .seg button { min-height: 48px; }
}

/* ---------- Blog mẹo trang trí ---------- */
.blog { margin-top: 48px; }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.blog-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 8px 0 4px; }
.blog-head p { margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.post-card { background: #fff; border-radius: 20px; overflow: hidden; cursor: pointer; box-shadow: 0 1px 2px rgba(60,40,20,.04), 0 10px 28px rgba(60,40,20,.06); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(60,40,20,.13); }
.post-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--accent-soft)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-cover .img-fallback { font-size: 56px; background: none; }
.post-cat { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; color: var(--wood-dark); }
.post-cat.inline { position: static; display: inline-block; background: var(--accent-soft); margin-top: 12px; }
.post-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-body h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.post-body p { margin: 0; color: var(--ink-2); font-size: 14px; flex: 1; }
.post-body small { color: var(--muted); font-size: 12.5px; }
.post-read { max-width: 680px; margin: 0 auto; }
.post-hero { border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; background: linear-gradient(135deg, var(--sand), var(--accent-soft)); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero .img-fallback { font-size: 72px; background: none; }
.post-read h2 { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 6px; }
.post-lead { font-size: 16.5px; color: var(--ink-2); font-weight: 500; margin: 14px 0; }
.post-content { font-size: 15.5px; line-height: 1.75; color: var(--ink); }
.post-content h3 { font-size: 18px; margin: 20px 0 6px; }
.post-content p { margin: 0 0 12px; }
.post-content ul { margin: 0 0 12px; padding-left: 20px; }
.post-content li { margin: 4px 0; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #1d1a16, #3a2a1c); color: #fff; }
.post-cta b { display: block; font-size: 16px; }
.post-cta span { color: #d9cbb8; font-size: 13.5px; }
.post-more, .post-list { display: grid; gap: 8px; }
.post-more button, .post-row { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.post-more button:hover, .post-row:hover { background: var(--accent-soft); border-color: #e7b48f; }
.post-more i { font-style: normal; font-size: 20px; }
.post-row b { display: block; font-size: 14.5px; }
.post-row small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.post-cover.sm { width: 96px; flex: none; border-radius: 10px; }
.post-cover.sm .img-fallback { font-size: 28px; }
@media (max-width: 640px) {
  .blog { margin-top: 32px; }
  .blog-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card { flex-direction: row; border-radius: 16px; }
  .post-card .post-cover { width: 112px; flex: none; aspect-ratio: auto; }
  .post-card .post-cover .img-fallback { font-size: 36px; }
  .post-card .post-cat { display: none; }
  .post-body { padding: 10px 12px; gap: 4px; }
  .post-body h3 { font-size: 15px; }
  .post-body p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .post-cta .btn { width: 100%; }
}

/* ---------- Tài khoản khách hàng ---------- */
.top-account { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.top-account:hover { background: var(--sand); }
.top-account svg { width: 18px; height: 18px; flex: none; }
.top-account.logged { border-color: #e7b48f; background: var(--accent-soft); color: var(--wood-dark); }
.btn-save, .portal-customer .btn-save { background: var(--ink); color: #fff; }
.btn-save small { font-weight: 500; opacity: .75; margin-left: 2px; }
.auth-head, .acc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.auth-head img { border-radius: 10px; }
.auth-head b, .acc-head b { display: block; font-size: 18px; }
.auth-head span, .acc-head span { display: block; font-size: 13px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--cream); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 9px; background: none; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(60,40,20,.08); }
.auth-err { color: var(--danger); background: var(--danger-soft); border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.auth-switch { text-align: center; margin: 12px 0 0; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.acc-head { padding: 0 44px 14px 0; border-bottom: 1px solid var(--line); }
.acc-head > div:nth-child(2) { flex: 1; min-width: 0; }
.acc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.acc h3 { font-size: 15px; margin: 14px 0 8px; }
.acc-list { display: grid; gap: 8px; }
.acc-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.acc-item b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-item span { display: block; font-size: 12.5px; color: var(--muted); }
.acc-item strong { color: var(--accent); white-space: nowrap; }
.rate-box, .rate-done { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; padding-top: 6px; border-top: 1px dashed var(--line); }
.rate-stars { display: flex; }
.rate-stars button { width: 36px; height: 36px; border: 0; background: none; font-size: 24px; color: #d6cbbd; cursor: pointer; transition: color .15s, transform .15s; }
.rate-stars:hover button { color: #f5b301; }
.rate-stars button:hover ~ button { color: #d6cbbd; }
.rate-stars button:hover { transform: scale(1.15); }
.stars { color: #f5b301; letter-spacing: 1px; }
.acc-actions { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; }
@media (max-width: 640px) {
  .top-account { min-height: 40px; min-width: 40px; padding: 0 9px; justify-content: center; }
  .top-account span { display: none; } /* điện thoại: chỉ hiện biểu tượng người dùng */
  .portal-customer .top-links { gap: 6px; flex: none; }
  /* Điện thoại: bỏ nút "Báo giá ngay" (lưới mẫu ngay bên dưới đã là chỗ báo giá) để logo không bị đè */
  .portal-customer .top-links .top-cta { display: none; }
  .portal-customer .brand { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .portal-customer .brand-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-account { width: 42px; height: 42px; padding: 0; }
  .acc-actions .btn { min-height: 40px; }
}

/* ---------- Logo & chân trang ---------- */
.brand-logo { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.portal-customer .footer.footer-x { padding: 28px 0 18px; }
/* Logo dạng 1 dòng: biểu tượng + tên + khẩu hiệu nhỏ */
/* Logo dạng 1 khối: biểu tượng │ tên công ty + khẩu hiệu nhỏ */
.fx-logo { display: flex; align-items: center; gap: 12px; }
.fx-logo img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.fx-logo div { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.16); }
.fx-logo b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: .9px; color: #fff; line-height: 1.25; white-space: nowrap; }
.fx-logo span { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; letter-spacing: .2px; color: #b5aa9b; line-height: 1.3; }
.fx-app h4 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #a89e90; }
.fx-qr-row { display: flex; gap: 12px; }
.fx-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-box { width: 100px; height: 100px; padding: 6px; background: #fff; border-radius: 12px; display: grid; place-items: center; }
.qr-box img, .qr-box canvas { display: block; width: 88px !important; height: 88px !important; }
.qr-fallback { font-weight: 800; color: var(--ink); font-size: 28px; }
.store-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; min-width: 128px; padding: 6px 12px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); transition: background .2s, transform .15s; }
.store-btn:hover { background: #222; transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 15px; }
.store-btn small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.store-btn.is-soon small { color: #f6b47f; opacity: 1; }
/* ===== Chân trang mới =====
   Máy tính: [thương hiệu + tải ứng dụng] | Danh mục | Dự toán trọn gói | Hỗ trợ khách hàng
   Điện thoại: thương hiệu → nút tải app → 3 nhóm liên kết thu gọn (bấm để mở) → bản quyền */
.fx { display: grid; grid-template-columns: minmax(350px, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; }
.fx-brand { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.fx-app { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); align-self: flex-start; }
.fx-app h4 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #a89e90; }
.fx-cols { display: contents; }
.fx-col { min-width: 0; }
.fx-col > summary { list-style: none; display: block; margin: 4px 0 14px; padding-bottom: 10px; position: relative; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #fff; cursor: default; }
.fx-col > summary::-webkit-details-marker { display: none; }
.fx-col > summary::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: #c8682c; }
.fx-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.fx-links button, .fx-links a { padding: 5px 0; border: 0; background: none; font: inherit; font-size: 14px; color: #b5aa9b; text-align: left; text-decoration: none; cursor: pointer; transition: color .15s, transform .15s; }
.fx-links button:hover, .fx-links a:hover { color: #f6b47f; transform: translateX(3px); }
.how-steps { margin: 6px 0 18px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.how-steps li { counter-increment: s; position: relative; padding-left: 44px; min-height: 32px; }
.how-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.how-steps b { display: block; font-size: 15px; } .how-steps span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 761px) { .fx-logo span { white-space: nowrap; } }
@media (max-width: 1100px) and (min-width: 761px) {
  .fx { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .fx { grid-template-columns: 1fr; gap: 0; }
  .fx-brand { gap: 16px; padding-bottom: 16px; }
  .fx-app { padding: 0; background: none; border: 0; }
  .fx-col { border-top: 1px solid rgba(255,255,255,.08); }
  .fx-col:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
  .fx-col > summary { margin: 0; padding: 15px 2px; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
  .fx-col > summary::after { position: static; width: 9px; height: 9px; border-radius: 0; background: none; border-right: 2px solid #a89e90; border-bottom: 2px solid #a89e90; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .fx-col[open] > summary::after { transform: rotate(225deg) translateY(-3px); }
  .fx-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 0 2px 12px; }
  .fx-links button, .fx-links a { padding: 9px 0; font-size: 14px; }
  .fx-links button:hover, .fx-links a:hover { transform: none; }
}.fx-bottom { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: #8f8578; text-align: center; }
@media (max-width: 640px) {
  /* Chân trang gọn: chỉ chừa chỗ dưới đáy khi đang có nút "Giỏ báo giá" nổi */
  .portal-customer .footer.footer-x { margin-top: 36px; padding: 18px 0 14px; border-radius: 20px 20px 0 0; }
  .portal-customer.has-fab .footer.footer-x { padding-bottom: 82px; }
  .fx-app { width: 100%; }
  .fx-app h4 { margin: 0 0 6px; font-size: 12px; }
  .fx-logo img { width: 36px; height: 36px; }
  .fx-logo b { font-size: 13.5px; }
  .fx-logo span { font-size: 12px; margin-top: 2px; } /* co chữ theo màn hình để luôn vừa 1 hàng */
  .store-btn { min-height: 42px; }
  .store-btn small { font-size: 11px; }
  .fx-bottom { margin-top: 12px; padding-top: 10px; font-size: 12px; }
  .qr-box { display: none; } /* trên điện thoại không quét được màn hình của chính mình → chỉ hiện nút tải */
  .fx-qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-btn { width: 100%; min-width: 0; justify-content: center; padding: 7px 8px; }
  .store-btn span { font-size: 14px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-x, .card-x-img img, .btn-x, .portal-customer .modal-card, .scroll-hint span { animation: none !important; transition: none !important; }
}

/* Chính sách & điều khoản */
.pol-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 36px 14px 0; }
.pol-tabs button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pol-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pol-body h4 { margin: 18px 0 6px; font-size: 15px; }
.pol-body p, .pol-body li { font-size: 14px; line-height: 1.65; color: #4b443c; }
.pol-body p { margin: 0 0 6px; } .pol-body ul { margin: 0 0 6px; padding-left: 20px; } .pol-body li { margin: 3px 0; }
.pol-company { display: grid; gap: 3px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--sand, #f5efe6); font-size: 13px; color: #4b443c; }
.pol-company b { font-size: 13.5px; color: var(--ink); }
.pol-consent { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.pol-consent button { padding: 0; border: 0; background: none; font: inherit; color: var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .pol-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: 44px; } .pol-tabs::-webkit-scrollbar { display: none; } .pol-tabs button { flex: none; } }

/* Tiêu đề báo giá nhảy theo kiểu tủ bếp */
.q-swap { animation: qSwap .35s ease; }
@keyframes qSwap { from { opacity: .2; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .q-swap { animation: none; } }

/* Tủ bếp: gói vật liệu tách tủ trên / tủ dưới */
.opt-pill .opt-sub { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.3; }

/* Nút "Đặt tư vấn miễn phí →": mũi tên luôn đi cùng dòng chữ, không rớt xuống dòng riêng */
.btn-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-go span { text-wrap: balance; text-align: center; }
.btn-go svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn-go:hover svg { transform: translateX(3px); }
.qq-panel .quote-actions .btn-ghost { flex: 0 0 auto; }
.qq-panel .quote-actions { flex-wrap: nowrap; }
.qq-panel .quote-actions .btn-go { flex: 1 1 auto; min-width: 0; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
@media (max-width: 400px) { .qq-panel .quote-actions .btn-go, .quote-actions .btn-go { white-space: normal; } }
/* Chân trang: liên hệ & thông tin doanh nghiệp (từ COMPANY) */
.fx-contact { display: grid; gap: 6px; margin-top: -6px; }
.fx-contact a, .fx-contact span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d9cfc1; text-decoration: none; }
.fx-contact a:hover { color: #f6b47f; }
.fx-contact svg { width: 16px; height: 16px; flex: none; color: #f6b47f; }
.fx-contact small { font-size: 12px; color: #8f8578; }

/* Thanh danh mục: gom thành 1 dải liền khối, 1 hàng (hẹp thì vuốt ngang) */
.qq .chips-x.sticky-chips { display: block; margin-bottom: 18px; padding-top: 14px; padding-bottom: 12px; }
.chips-track { display: flex; gap: 2px; width: 100%; padding: 5px; overflow-x: auto; scrollbar-width: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 4px 14px rgba(60,40,20,.06); }
.chips-track::-webkit-scrollbar { display: none; }
.chips-track .chip-x { flex: 1 0 auto; border: 0; background: transparent; box-shadow: none; padding: 9px 12px; font-size: 14px; white-space: nowrap; color: var(--ink-2); min-height: 0; }
.chips-track .chip-x:hover { background: #f5efe6; color: var(--ink); }
.chips-track .chip-x.active { background: var(--ink); color: #fff; box-shadow: 0 4px 12px rgba(29,26,22,.22); }
.chips-track .chip-x.chip-new:not(.active) { background: #fff8f1; color: #c2410c; }
@media (max-width: 640px) {
  .qq .chips-x.sticky-chips { margin: 0 -16px 14px; padding: 10px 16px; overflow: visible; }
  .chips-track { width: auto; border-radius: 14px; }
  .chips-track .chip-x { padding: 9px 13px; font-size: 13.5px; border-radius: 10px; }
}

/* Chân trang gọn: mạng xã hội nằm ở dải cuối (bản quyền trái · biểu tượng phải) */
.fx-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; text-align: left; }
.fx-follow { display: flex; align-items: center; gap: 10px; }
.fx-follow > span { font-size: 12px; color: #8f8578; }
.fx-social-icons { display: flex; gap: 6px; }
.so-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: #e9e2d6; text-decoration: none; transition: background .2s, transform .15s; }
.so-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.so-btn svg { width: 17px; height: 17px; color: var(--c); }
a.so-btn:hover { background: var(--c); border-color: var(--c); transform: translateY(-1px); }
a.so-btn:hover svg { color: #fff; }
.so-btn.soon { opacity: .5; cursor: default; }
/* Thẻ tải ứng dụng & cột liên kết gọn hơn (máy tính) */
@media (min-width: 761px) {
  .fx { gap: 24px; }
  .fx-brand { gap: 16px; }
  .fx-app { padding: 12px 14px; }
  .fx-app h4 { margin-bottom: 8px; }
  .fx-qr-row { gap: 10px; }
  .fx-qr { gap: 6px; }
  .qr-box { width: 78px; height: 78px; padding: 5px; border-radius: 10px; }
  .qr-box img, .qr-box canvas { width: 68px !important; height: 68px !important; }
  .store-btn { min-height: 36px; min-width: 0; padding: 4px 10px; gap: 6px; border-radius: 10px; }
  .store-btn svg { width: 18px; height: 18px; }
  .store-btn span { font-size: 13px; } .store-btn small { font-size: 10.5px; }
  .fx-col > summary { margin-bottom: 10px; }
  .fx-links button, .fx-links a { padding: 3px 0; font-size: 13.5px; }
  .portal-customer .footer.footer-x { padding-top: 26px; padding-bottom: 14px; }
  .fx-bottom { margin-top: 18px; padding-top: 12px; }
}
@media (max-width: 760px) {
  .fx-bottom { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 10px; }
}

/* ---------- Tin tức & hoạt động ---------- */
.news-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.news-chips::-webkit-scrollbar { display: none; }
.news-chips button { flex: none; border: 1.5px solid #e3d6c4; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.news-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-n { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; }
.ws-hot { display: inline-block; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: #fff1e6; color: #b4530c; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.ws-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 14px 0; }
.ws-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; cursor: zoom-in; display: block; }
.ws-gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.blog-grid.sm { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.blog-grid.sm .post-body p { display: none; }
.img-zoom { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.img-zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; }
@media (max-width: 760px) { .ws-gallery { grid-template-columns: 1fr 1fr; } }
