/* Vieteric Gifting — Quà Tết 2027 (v2: set quà có giá) */
:root {
  --red-950: #3f0609; --red-900: #5c0a0e; --red-800: #7a0c13; --red-700: #990f19; --red-600: #b3161f;
  --gold-600: #84621f; --gold-500: #c9a24a; --gold-300: #e6cc8a; --gold-100: #f6ecd0;
  --cream: #fbf6ec; --paper: #fffdf8; --ink: #2a1a14; --ink-2: #5d4a40; --ink-3: #74625a; --line: #eadfca;
  --ok: #2f7a4a;
  --shadow: 0 1px 2px rgba(63, 6, 9, .08), 0 10px 26px -14px rgba(63, 6, 9, .3);
  --shadow-lg: 0 2px 6px rgba(63, 6, 9, .12), 0 28px 50px -24px rgba(63, 6, 9, .45);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar-h: 64px; --wrap: 1240px; --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); -webkit-text-size-adjust: 100%; }
html { font-variant-numeric: lining-nums; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--red-950); box-shadow: 0 6px 18px -8px rgba(201,162,74,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { background: linear-gradient(180deg, #efd99e, var(--gold-300)); }
.btn-red { background: var(--red-700); color: var(--gold-100); }
.btn-red:hover { background: var(--red-600); }
.btn-line { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--gold-500); }
.btn-ghost { border-color: rgba(246,236,208,.45); color: var(--gold-100); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-300); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px var(--paper); }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--topbar-h); background: rgba(92,10,14,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--gold-100); border-bottom: 1px solid rgba(201,162,74,.25); }
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 600; letter-spacing: .14em; font-size: 16px; color: var(--gold-300); white-space: nowrap; }
.brand-sub { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,236,208,.75); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: rgba(246,236,208,.9); }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--gold-100); background:
  radial-gradient(1000px 560px at 80% 30%, rgba(179,22,31,.55), transparent 60%),
  linear-gradient(160deg, var(--red-800), var(--red-900) 60%, var(--red-950)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle, var(--gold-300) 1.2px, transparent 1.6px); background-size: 22px 22px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 16px 0 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; color: #fff7e6; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-300); }
.hero .lead { max-width: 580px; margin: 0 0 26px; font-size: 17px; font-weight: 300; color: rgba(246,236,208,.9); }
.budget-label { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); }
.budget-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.budget-pick a { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(230,204,138,.35); text-decoration: none; transition: background-color .15s, border-color .15s, transform .15s; }
.budget-pick a:hover { background: rgba(255,255,255,.12); border-color: var(--gold-300); transform: translateY(-2px); }
.budget-pick strong { font-size: 14.5px; font-weight: 600; color: #fff7e6; line-height: 1.25; white-space: nowrap; }
.budget-pick span { font-size: 12.5px; color: rgba(246,236,208,.75); }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-strip { display: none; }
.collage { position: relative; height: 470px; }
.collage img { position: absolute; border-radius: 14px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(230,204,138,.3); object-fit: cover; }
.collage .c1 { width: 64%; aspect-ratio: 1.08; left: 0; top: 30px; transform: rotate(-3deg); z-index: 2; }
.collage .c2 { width: 56%; aspect-ratio: 1.08; right: 0; top: 0; transform: rotate(4deg); }
.collage .c3 { width: 58%; aspect-ratio: 1.08; right: 6%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.price-tag { position: absolute; z-index: 4; left: 4%; bottom: 18px; padding: 10px 16px; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.price-tag small { display: block; font-size: 12px; color: var(--ink-3); }
.price-tag b { font-family: var(--serif); font-size: 22px; color: var(--red-800); }

/* trust */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--gold-600); }
.trust b { display: block; font-size: 15px; font-weight: 600; }
.trust span { font-size: 13.5px; color: var(--ink-2); }

/* section heads */
.section { padding: 56px 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.sec-head h2 { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; color: var(--red-900); }
.sec-head p { margin: 6px 0 0; color: var(--ink-2); max-width: 640px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }

/* filters */
.filters { position: sticky; top: var(--topbar-h); z-index: 30; margin: 0 -20px 18px; padding: 12px 20px; background: rgba(251,246,236,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.f-row { display: flex; align-items: center; gap: 8px; }
.f-row + .f-row { margin-top: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip small { font-size: 12px; color: var(--ink-3); }
.chip:hover { border-color: var(--gold-500); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--red-800); border-color: var(--red-800); color: var(--gold-100); }
.chip[aria-pressed="true"] small { color: rgba(246,236,208,.8); }
.f-row select, .f-row input[type=search] { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--ink); }
.f-row select { padding-right: 30px; max-width: 220px; }
.f-main .f-adv { display: flex; gap: 8px; order: -1; }
.f-toggle { display: none; }
.f-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 700; }
.f-row input[type=search] { flex: 1; min-width: 160px; padding-left: 38px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2374625a'%3E%3Cpath d='M10.5 3a7.5 7.5 0 0 1 5.96 12.05l4.25 4.24-1.42 1.42-4.24-4.25A7.5 7.5 0 1 1 10.5 3Zm0 2a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z'/%3E%3C/svg%3E") 12px center / 18px no-repeat; }
.f-row input[type=search]:focus, .f-row select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,74,.2); }
.result-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.result-line strong { color: var(--ink); }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--red-700); font-size: 14px; font-weight: 500; text-decoration: underline; }

/* set cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.more-row { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 26px; }
.more-row .btn { min-width: 240px; }
.more-row small { font-size: 13px; color: var(--ink-3); }
.set { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.set:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.set-media { position: relative; display: block; padding: 0; border: 0; background: #f3e9d6; }
.set-media img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; }
.set-picked { position: absolute; top: 10px; left: 10px; display: none; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 12.5px; font-weight: 600; }
.set-picked svg { width: 14px; height: 14px; }
.set.is-picked .set-picked { display: inline-flex; }
.set-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.set-coll { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.set h3 { margin: 0; cursor: pointer; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.set-price { margin: 2px 0 0; font-size: 21px; font-weight: 700; color: var(--red-700); letter-spacing: -.01em; }
.set-meta { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.set-items { margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.set-items li { position: relative; padding-left: 14px; line-height: 1.45; margin-top: 3px; }
.set-items li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.set-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.set-actions .btn { min-height: 44px; padding: 8px 10px; font-size: 14px; }
.btn-pick[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-2); background: var(--paper); border-radius: var(--radius); }

/* collections */
.coll-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.coll { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--red-900); color: #fff; text-align: left; box-shadow: var(--shadow); }
.coll img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.coll:hover img { transform: scale(1.03); }
.coll-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(30,4,6,.88)); }
.coll-info b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.coll-info span { font-size: 13px; color: rgba(255,247,230,.88); }

/* packaging + products */
.pk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pk { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.pk img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 8px; }
.pk div { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pk b { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.pk small { font-size: 12px; color: var(--ink-3); }
.pk .pk-price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--red-700); }
.pk-more { margin-top: 14px; }
.sub-head { margin: 34px 0 14px; font-family: var(--serif); font-size: 24px; color: var(--red-900); }
.pr-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.pr { position: relative; padding: 0; border: 0; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); scroll-snap-align: start; }
.pr img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: cover; border-radius: 6px; }
.pr span { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(42,26,20,.8); color: #fff; font-size: 11.5px; }

/* services */
.svc { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--gold-600); line-height: 1; margin-bottom: 8px; }
.steps b { display: block; font-size: 15px; line-height: 1.3; }
.steps span { font-size: 13px; color: var(--ink-2); }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.svc-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); }
.svc-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; color: var(--red-900); }
.svc-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.svc-card li { margin: 5px 0; }
.svc-card p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }

/* quote */
.quote-sec { color: var(--gold-100); background: linear-gradient(160deg, var(--red-800), var(--red-950)); }
.quote-sec .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.quote-sec h2 { margin: 12px 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; color: #fff7e6; }
.quote-sec p { color: rgba(246,236,208,.88); font-weight: 300; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,74,.25); text-decoration: none; }
.contact-list a:hover { border-color: var(--gold-300); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--gold-300); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,236,208,.75); }
.contact-list strong { font-weight: 500; color: #fff7e6; }
.qform { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.qform h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; color: var(--red-900); }
.qform > p, .quote-sec .qform [data-q-main] > p { margin: 0 0 16px; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.quote-sec .qform p { font-weight: 400; color: var(--ink-2); }
.picked { margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.picked-empty { margin: 0; padding: 14px; font-size: 14px; color: var(--ink-3); background: var(--cream); }
.pk-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 92px 30px; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.pk-row:first-child { border-top: 0; }
.pk-row img { width: 56px; height: 52px; object-fit: cover; border-radius: 6px; }
.pk-row b { display: block; font-size: 14px; line-height: 1.3; }
.pk-row small { font-size: 13px; color: var(--ink-3); }
.pk-row label { display: flex; flex-direction: column; font-size: 11px; color: var(--ink-3); }
.pk-row input { width: 100%; min-height: 38px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.pk-row button { width: 30px; height: 30px; border: 0; border-radius: 999px; background: var(--cream); color: var(--ink-2); font-size: 18px; line-height: 1; }
.estimate { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--cream); border-top: 1px solid var(--line); font-size: 14px; }
.estimate b { font-size: 18px; color: var(--red-700); }
.estimate small { display: block; font-size: 12px; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 16px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,74,.2); }
.hp { position: absolute; left: -9999px; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.q-actions .btn { flex: 1 1 200px; }
.q-note { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.q-done { text-align: center; padding: 20px 10px; }
.q-done svg { width: 54px; height: 54px; color: var(--ok); margin: 0 auto 8px; }
.q-done h3 { margin: 0 0 6px; }
.q-done p { color: var(--ink-2); }

/* footer + action bar */
.footer { background: var(--red-950); color: rgba(246,236,208,.75); font-size: 13.5px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 26px; padding-bottom: 26px; }
.footer a { color: var(--gold-300); text-decoration: none; }
.footer .fine { flex-basis: 100%; font-size: 12px; color: rgba(246,236,208,.6); }
.actionbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 95; transform: translate(-50%, 20px); width: max-content; max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 14px; line-height: 1.45; text-align: center; background: var(--ink); color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* dialogs */
.overlay { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(30,14,10,.6); }
.dlg { position: relative; width: 100%; max-width: 1080px; max-height: calc(100vh - 48px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.dlg-media { background: #f3e9d6; display: flex; align-items: center; }
.dlg-media img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { display: flex; flex-direction: column; min-height: 0; }
.dlg-scroll { overflow: auto; padding: 26px 26px 10px; }
.dlg-body h2 { margin: 2px 0 2px; font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--red-900); }
.dlg-price { margin: 4px 0 2px; font-size: 26px; font-weight: 700; color: var(--red-700); }
.dlg-price small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.dlg-items { list-style: none; margin: 14px 0 0; padding: 0; }
.dlg-items li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.dlg-items li:first-child { border-top: 0; }
.dlg-items .br { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.dlg-items .en { display: block; font-size: 12.5px; color: var(--ink-3); }
.dlg-box { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--cream); font-size: 14px; }
.dlg-box b { color: var(--ink); }
.dlg-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 26px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.dlg-foot .btn { flex: 1 1 160px; }
.dlg-close, .dlg-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,253,248,.95); color: var(--ink); }
.dlg-close { top: 12px; right: 12px; }
.dlg-close svg, .dlg-nav svg { width: 20px; height: 20px; }
.dlg-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.dlg-next { right: calc(47.5% + 12px); top: 50%; transform: translateY(-50%); }
.viewer { background: #1a0d0b; padding: 0; flex-direction: column; align-items: stretch; }
.v-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #f5ead6; }
.v-top b { flex: 1; font-size: 15px; }
.v-btn { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(245,234,214,.25); background: transparent; color: #f5ead6; }
.v-btn svg { width: 20px; height: 20px; }
.v-stage { position: relative; flex: 1; min-height: 0; overflow: auto; }
.v-stage img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; cursor: zoom-in; }
.v-stage.zoomed img { position: static; width: min(1500px, 220%); height: auto; max-width: none; margin: 0 auto; cursor: zoom-out; }

/* responsive */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .coll-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { display: none; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
  .hero-strip img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 24px -14px rgba(0,0,0,.7), 0 0 0 1px rgba(230,204,138,.3); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 44px; }
  .collage { display: none; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .quote-sec .wrap { grid-template-columns: 1fr; gap: 30px; }
  .svc-cols { grid-template-columns: 1fr; }
  .dlg { grid-template-columns: 1fr; max-height: none; height: 100%; overflow: auto; border-radius: 0; }
  .overlay { padding: 0; }
  .dlg-body { min-height: auto; }
  .dlg-scroll { overflow: visible; }
  .dlg-foot { position: sticky; bottom: 0; }
  .dlg-next { right: 12px; }
  .dlg-prev, .dlg-next { top: 38vw; }
}
@media (max-width: 640px) {
  :root { --topbar-h: 58px; }
  .wrap { padding: 0 16px; }
  .brand-name { font-size: 14px; letter-spacing: .1em; }
  .topbar .btn-gold .lbl { display: none; }
  .topbar .btn-gold { min-height: 42px; padding: 8px 14px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 15.5px; }
  .budget-pick { grid-template-columns: 1fr 1fr; }
  .budget-pick a:last-child { grid-column: span 2; }
  .trust ul { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .section { padding: 40px 0; }
  .filters { margin: 0 -16px 14px; padding: 10px 16px; }
  .f-main { flex-wrap: wrap; }
  .f-main input[type=search] { flex: 1 1 auto; min-width: 0; }
  .f-toggle { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink); }
  .filters.open .f-toggle { border-color: var(--gold-500); }
  .f-main .f-adv { display: none; order: 3; flex-basis: 100%; }
  .filters.open .f-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .f-adv select { min-width: 0; width: 100%; max-width: none; font-size: 13.5px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .set-body { padding: 10px 10px 12px; gap: 2px; }
  .set-coll { font-size: 10px; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .set h3 { font-size: 16px; }
  .set-price { font-size: 16.5px; }
  .set-meta { font-size: 12px; }
  .set-meta .m-box, .set-items, .set-actions .btn-detail { display: none; }
  .set-actions { grid-template-columns: 1fr; padding-top: 8px; }
  .set-actions .btn { min-height: 40px; padding: 6px 8px; font-size: 13px; gap: 6px; }
  .set-picked { top: 6px; left: 6px; font-size: 11px; padding: 3px 8px; }
  .more-row .btn { width: 100%; }
  .coll-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; scrollbar-width: none; }
  .coll-grid::-webkit-scrollbar { display: none; }
  .coll { flex: 0 0 42%; scroll-snap-align: start; }
  .coll { flex: 0 0 46%; }
  .coll-info { padding: 30px 10px 10px; }
  .coll-info b { font-size: 15px; line-height: 1.2; }
  .coll-info span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.35; }
  .pk-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .qform { padding: 18px; }
  .pk-row { grid-template-columns: 48px minmax(0, 1fr) 76px 30px; gap: 8px; }
  .pk-row img { width: 48px; height: 46px; }
  .footer { padding-bottom: 70px; }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,162,74,.3); border-top: 1px solid rgba(201,162,74,.4); padding-bottom: env(safe-area-inset-bottom); }
  .actionbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; background: var(--red-900); color: var(--gold-100); font-size: 12px; font-weight: 500; text-decoration: none; }
  .actionbar svg { width: 20px; height: 20px; color: var(--gold-300); }
  .actionbar .badge { top: 6px; right: calc(50% - 26px); box-shadow: none; }
  .toast { bottom: 80px; }
  .dlg-body h2 { font-size: 26px; }
  .dlg-scroll { padding: 20px 18px 8px; }
  .dlg-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
}
@media (hover: none) { .set:hover { transform: none; box-shadow: var(--shadow); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.pdf-note { margin: 10px 0 0; font-size: 12.5px; color: rgba(246,236,208,.65); }

/* ===== custom set builder ===== */
.bld-sec { background: linear-gradient(180deg, var(--cream), #f5ecd9); border-top: 1px solid var(--line); }
.b-start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }
.b-tab { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-align: left; box-shadow: var(--shadow); }
.b-tab:hover { border-color: var(--gold-500); }
.b-tab > svg { width: 30px; height: 30px; flex: none; color: var(--red-700); }
.b-tab b { display: block; font-size: 15px; }
.b-tab small { display: block; font-size: 13px; color: var(--ink-3); }
.b-tab-sel { flex-wrap: wrap; cursor: default; }
.b-tab-sel > span { flex: 1 1 180px; }
.b-tab-sel select { flex: 1 1 220px; min-width: 0; width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }
.b-grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 24px; align-items: start; }
.b-box { position: sticky; top: calc(var(--topbar-h) + 12px); display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-lg); }
.b-lid { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.b-lid img, .b-lid-ico { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.b-lid-ico { display: grid; place-items: center; color: var(--red-700); }
.b-lid-ico svg { width: 30px; height: 30px; }
.b-lid small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.b-lid b { display: block; font-size: 15px; line-height: 1.3; }
.b-lid span { font-size: 12.5px; color: var(--ink-3); }
.b-tray { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; min-height: 230px; padding: 16px; border-radius: 12px;
  background: repeating-linear-gradient(115deg, rgba(201,162,74,.10) 0 2px, transparent 2px 9px), repeating-linear-gradient(35deg, rgba(122,12,19,.06) 0 1px, transparent 1px 11px), linear-gradient(160deg, #f3e3c3, #e9d3a8);
  box-shadow: inset 0 0 0 2px rgba(122,12,19,.12), inset 0 10px 24px -12px rgba(63,6,9,.35); transition: box-shadow .15s, transform .15s; outline: none; }
.is-dragging .b-tray { box-shadow: inset 0 0 0 2px var(--gold-500), inset 0 10px 24px -12px rgba(63,6,9,.35); }
.b-tray.over { box-shadow: inset 0 0 0 3px var(--red-700), 0 0 0 6px rgba(153,15,25,.12); transform: scale(1.01); }
.b-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; color: var(--ink-2); }
.b-empty span svg { width: 40px; height: 40px; color: rgba(122,12,19,.5); }
.b-empty small { max-width: 260px; font-size: 13px; color: var(--ink-3); }
.b-tile { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 4px 4px; border-radius: 10px; transform: rotate(var(--r, 0deg)); transition: transform .15s; animation: bpop .35s ease-out; }
.b-tile img { width: 100%; height: 86px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(63,6,9,.28)); }
.b-tile.no-img { background: rgba(255,253,248,.85); border: 1px dashed rgba(122,12,19,.25); }
.b-tile .b-ph svg { width: 34px; height: 34px; margin: 18px 0; color: var(--gold-600); }
.b-tile p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.25; text-align: center; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-q { position: absolute; top: 2px; right: 2px; padding: 0 6px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 700; }
.b-tact { position: absolute; inset: auto 0 -2px 0; display: flex; justify-content: center; gap: 3px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.b-tile:hover .b-tact, .b-tile:focus-within .b-tact, .b-tile.swapping .b-tact, .b-tile.active .b-tact { opacity: 1; transform: none; }
.b-tile:hover, .b-tile.swapping { transform: rotate(0) scale(1.04); z-index: 2; }
.b-tact button { display: inline-flex; align-items: center; gap: 3px; height: 28px; min-width: 28px; padding: 0 7px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.b-tact button svg { width: 14px; height: 14px; }
.b-tile.swapping { outline: 2px dashed var(--red-700); outline-offset: 2px; background: rgba(255,253,248,.7); }
.b-tile.target { outline: 3px solid var(--red-700); outline-offset: 2px; background: rgba(255,253,248,.85); }
@keyframes bpop { from { transform: scale(.6) rotate(var(--r, 0deg)); opacity: 0; } to { transform: rotate(var(--r, 0deg)); opacity: 1; } }
.b-cap p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.b-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.b-bar i { display: block; height: 100%; background: var(--gold-500); transition: width .25s; }
.b-cap.ok .b-bar i { background: var(--ok); }
.b-cap.over .b-bar i { background: var(--red-700); }
.b-cap.over p { color: var(--red-700); }
.b-sim-h { margin: 2px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.b-sim-i { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 6px 8px; margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: left; }
.b-sim-i:hover { border-color: var(--gold-500); }
.b-sim-i img { width: 44px; height: 40px; object-fit: cover; border-radius: 6px; }
.b-sim-i b { display: block; font-size: 13.5px; }
.b-sim-i small { font-size: 12px; color: var(--ink-3); }
.b-sim-i em { font-style: normal; font-weight: 700; color: var(--red-700); font-size: 14px; }
.b-order { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.b-qty label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b-step { display: inline-flex; align-items: center; margin-top: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.b-step button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--red-700); }
.b-step input { width: 84px; height: 44px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.b-step input::-webkit-outer-spin-button, .b-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.b-qty small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.b-qty small.warn, .q-moq.warn { color: #9a4b00; }
.b-qty small.good, .q-moq.good { color: var(--ok); font-weight: 600; }
.b-opts { margin: 0; padding: 0; border: 0; display: grid; gap: 2px; }
.b-opts legend { padding: 0; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.b-opts label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; }
.b-opts input { width: 18px; height: 18px; accent-color: var(--red-700); }
.b-price { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--cream); font-size: 13.5px; color: var(--ink-2); }
.b-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.b-cta .btn-red { flex: 1 1 220px; }
[data-b-reset].armed { border-color: var(--red-700); color: var(--red-700); }
.b-shelf { min-width: 0; }
.b-hint { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.b-swapbar { position: sticky; top: calc(var(--topbar-h) + 6px); z-index: 5; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px 14px; border-radius: 10px; background: var(--red-800); color: var(--gold-100); font-size: 14px; box-shadow: var(--shadow); }
.b-swapbar svg { width: 18px; height: 18px; flex: none; }
.b-swapbar span { flex: 1; }
.b-swapbar .link-btn { color: var(--gold-300); }
.b-tools { display: grid; gap: 8px; margin-bottom: 12px; }
.b-tools input[type=search] { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; }
.b-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.b-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; cursor: grab; transition: border-color .15s, box-shadow .15s, transform .15s; }
.b-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow); transform: translateY(-1px); }
.b-card.dragging { opacity: .5; }
.b-card.in { border-color: rgba(47,122,74,.5); }
.b-pic { position: relative; display: grid; place-items: center; height: 128px; padding: 10px; background: radial-gradient(circle at 50% 60%, #fff, #f7eedc); }
.b-pic img { max-height: 108px; width: auto; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(63,6,9,.18)); pointer-events: none; }
.b-ph svg { width: 40px; height: 40px; color: var(--gold-500); }
.b-card.no-img .b-pic { height: 56px; background: #f7eedc; }
.b-card.no-img .b-ph svg { width: 26px; height: 26px; }
.b-in { position: absolute; top: 6px; left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 11.5px; font-weight: 600; }
.b-info { flex: 1; padding: 8px 10px 4px; }
.b-br { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); }
.b-info h4 { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.b-pk { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }
.b-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin: 6px 10px 10px; border: 1px solid var(--red-700); border-radius: 999px; background: var(--paper); color: var(--red-700); font-size: 13.5px; font-weight: 600; }
.b-add:hover { background: var(--red-700); color: var(--gold-100); }
.b-add svg { width: 16px; height: 16px; }
.b-fly { position: fixed; z-index: 100; object-fit: contain; pointer-events: none; transition: transform .6s cubic-bezier(.5,-0.2,.4,1), opacity .6s; }
.b-mbar { display: none; }
.pk-row.is-custom img { object-fit: contain; background: #fff; }
.q-moq { margin: -6px 0 14px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1000px) {
  .b-grid { grid-template-columns: 1fr; }
  .b-box { position: static; }
}
@media (max-width: 640px) {
  .b-start { grid-template-columns: minmax(0, 1fr); }
  .b-hint-d { display: none; }
  .b-tray { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); min-height: 170px; padding: 12px; }
  .b-tile img { height: 72px; }
  .b-tile { cursor: pointer; }
  .b-tile.active { transform: none; background: rgba(255,253,248,.85); box-shadow: 0 0 0 2px var(--red-700); z-index: 3; }
  .b-tact { inset: auto -6px -14px -6px; flex-wrap: nowrap; gap: 2px; pointer-events: none; }
  .b-tile.active .b-tact, .b-tile.swapping .b-tact { pointer-events: auto; }
  .b-tact button { height: 30px; min-width: 30px; padding: 0 6px; }
  .b-tact button span { display: none; }
  .b-tray::after { content: "Chạm vào món để đổi, thêm, bớt"; grid-column: 1 / -1; font-size: 12px; text-align: center; color: var(--ink-3); }
  .toast { bottom: 140px; }
  .b-items { grid-template-columns: 1fr 1fr; gap: 10px; }
  .b-pic { height: 112px; }
  .b-mbar { position: sticky; bottom: 66px; z-index: 20; display: none; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); }
  .b-mbar.show { display: flex; }
  .b-mbar.show.hide { display: none; }
}

/* order info strip + why-us */
.howto { background: var(--paper); border-bottom: 1px solid var(--line); }
.how-h { margin: 0; padding-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); font-family: var(--sans); }
.how-list { list-style: none; margin: 0; padding: 10px 0 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.how-list li { display: flex; gap: 10px; align-items: flex-start; }
.how-list svg { width: 24px; height: 24px; flex: none; margin-top: 2px; color: var(--red-700); }
.how-list b { display: block; font-size: 14.5px; line-height: 1.35; }
.how-list span { display: block; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.why { background: var(--paper); border-top: 1px solid var(--line); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why-list li { padding: 18px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.why-list b { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.25; color: var(--red-900); }
.why-list span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.why-links { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.why-links a { color: var(--red-700); font-weight: 600; }
@media (max-width: 1100px) { .how-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .why-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .how-list { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 16px; }
  .how-list li:last-child { grid-column: 1 / -1; }
  .how-list span { font-size: 12.5px; }
  .why-list { grid-template-columns: 1fr; }
}

/* box picker */
.bp-card { position: relative; width: 100%; max-width: 1080px; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.bp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.bp-head h3 { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--red-900); }
.bp-head .dlg-close { position: static; }
.bp-sub { margin: 4px 20px 12px; font-size: 13.5px; color: var(--ink-3); }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; padding: 0 20px 20px; overflow: auto; }
.bp-item { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; }
.bp-item:hover, .bp-item:focus-visible { border-color: var(--red-700); box-shadow: var(--shadow); }
.bp-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.bp-item b { font-size: 13.5px; line-height: 1.3; }
.bp-item small { font-size: 12px; color: var(--ink-3); }
.bp-item > span:last-child { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--red-700); font-size: 14px; }
.bp-none { justify-content: center; align-items: center; text-align: center; background: var(--cream); border-style: dashed; }
.bp-ico svg { width: 40px; height: 40px; color: var(--red-700); }
@media (max-width: 640px) {
  #bp { padding: 0; }
  .bp-card { max-height: 100vh; height: 100%; border-radius: 0; }
  .bp-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 16px; }
  .bp-head { padding: 12px 12px 0; } .bp-sub { margin: 4px 12px 10px; }
}
.b-sim-r { margin: 0; padding: 8px 10px; border-radius: 8px; background: #f4ead6; font-size: 13.5px; color: var(--ink-2); }
.b-sim-r b { color: var(--red-700); }
.b-lid img.from-set { object-fit: cover; }
.pk-row small .link-btn { padding: 0; font-size: 12.5px; white-space: nowrap; }
@media (min-width: 641px) { .b-tools .chips { flex-wrap: wrap; overflow: visible; } }
