/* styles/dalat2.css */
/*
 * dalat.flowers — giao diện mới (bản duyệt docs/thiet-ke/dalat-flowers-giao-dien-moi.html + khung chung dalat-chung.js).
 * Một tệp cho cả trang: màu và bo góc là biến ở :root (sáng + tối), phông Be Vietnam Pro, không Bootstrap, không Font Awesome.
 * Mục lục: 1 biến và nền · 2 khung trang · 3 thành phần chung · 4 trang chủ · 5 thẻ sản phẩm · 6 danh mục · 7 sản phẩm
 *          8 đặt hàng · 9 tài khoản · 10 hộp thoại, thanh giỏ, khung chờ · 11 khổ nhỏ · 12 điện thoại · 13 trang còn CSS cũ.
 */

/* ---------- 1. Biến và nền ---------- */
:root{
  --bg:#f6f5f3;--surface:#fff;--surface-2:#faf8f7;--ink:#1d1b1c;--ink-2:#4b4648;--muted:#7a7476;--line:#e8e3e1;
  --brand:#ca184b;--brand-ink:#a00e38;--brand-soft:#fff0f3;--brand-line:#f6c9d5;
  --trust:#2e7d32;--trust-soft:#e9f5ea;--warn:#a15c00;--warn-soft:#fff5e0;--info:#1d5fa8;--info-soft:#eaf2fc;
  --shadow:0 1px 2px rgba(30,20,25,.06),0 6px 20px rgba(30,20,25,.06);--r:20px;
  --font:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#141214;--surface:#1d1a1c;--surface-2:#242023;--ink:#f1edee;--ink-2:#cfc8ca;--muted:#9a9294;--line:#363033;
  --brand:#ff5a86;--brand-ink:#ff8aa8;--brand-soft:#3a1a25;--brand-line:#5a2638;
  --trust:#7fcf86;--trust-soft:#1c3320;--warn:#f0b54a;--warn-soft:#3a2c12;--info:#7db4f0;--info-soft:#16283d;--shadow:0 1px 2px rgba(0,0,0,.4);
}}
:root[data-theme="dark"]{--bg:#141214;--surface:#1d1a1c;--surface-2:#242023;--ink:#f1edee;--ink-2:#cfc8ca;--muted:#9a9294;--line:#363033;--brand:#ff5a86;--brand-ink:#ff8aa8;--brand-soft:#3a1a25;--brand-line:#5a2638;--trust:#7fcf86;--trust-soft:#1c3320;--warn:#f0b54a;--warn-soft:#3a2c12;--info:#7db4f0;--info-soft:#16283d;--shadow:0 1px 2px rgba(0,0,0,.4)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 var(--font);overflow-x:hidden}
/* .dl2: vùng dùng giao diện mới (cả <body> ở trang đã chuyển; chỉ đầu trang, chân trang, hộp thoại ở trang còn CSS cũ). */
.dl2{font:15px/1.55 var(--font);color:var(--ink)}
:where(.dl2) img{max-width:100%;height:auto;display:block}
:where(.dl2) a{color:inherit;text-decoration:none}
:where(.dl2) :is(button,input,select,textarea){font:inherit;color:inherit}
:where(.dl2) :is(h1,h2,h3,h4){line-height:1.25}
:where(.dl2) :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--brand);outline-offset:2px}
svg.i{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
svg.i.sm{width:14px;height:14px}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:8px;top:-60px;z-index:200;background:var(--surface);color:var(--brand);border:1px solid var(--brand-line);border-radius:10px;padding:10px 14px;font-weight:700}
.skip:focus{top:8px}

/* ---------- 2. Khung trang ---------- */
.topbar{background:#101827;color:#d9d3d5;font-size:12px}
.topbar .wrap{display:flex;justify-content:space-between;gap:12px;padding-top:6px;padding-bottom:6px}
.topbar span,.topbar a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.topbar a,.topbar a:hover{color:#fff;font-weight:600}
.topbar .l{display:flex;gap:18px}
header.site{background:var(--surface);border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:20px;padding-top:12px;padding-bottom:12px}
header.site .logo{display:flex;align-items:center;flex:none;width:auto}
header.site .logo img{width:171px;height:36px}
header.site .search{flex:1;display:flex;align-items:center;gap:4px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:0 4px 0 12px;min-width:0;width:auto;float:none;margin:0;position:static}
header.site .search:focus-within{border-color:var(--brand);background:var(--surface)}
header.site .search input{border:0;background:transparent;outline:0;padding:10px 0;width:100%;min-width:0;height:auto;border-radius:0;box-shadow:none}
header.site .search button{border:0;background:transparent;cursor:pointer;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;color:var(--ink-2);flex:none;padding:0}
header.site .search button:hover{color:var(--brand)}
.hd-act{display:flex;gap:6px}
.icon-btn{position:relative;display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-weight:600;font-size:13px;line-height:1.55;cursor:pointer;white-space:nowrap;color:var(--ink)}
.icon-btn:hover{border-color:var(--brand-line);color:var(--ink)}
.icon-btn .lbl{max-width:14ch;overflow:hidden;text-overflow:ellipsis}
.icon-btn .n,.sticky-buy .n{position:absolute;top:-6px;right:-6px;background:var(--brand);color:#fff;font-size:11px;border-radius:99px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px}
.icon-btn .n:empty,.sticky-buy .n:empty{display:none}
.sticky-buy .btn{position:relative}
.icon-btn.region,.icon-btn.region:hover{color:var(--brand);border-color:var(--brand-line);background:var(--brand-soft)}
nav.cats{background:var(--surface);border-bottom:1px solid var(--line)}
nav.cats .wrap{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-top:4px;padding-bottom:4px}
nav.cats .wrap::-webkit-scrollbar{display:none}
nav.cats a{padding:8px 12px;border-radius:10px;font-size:14px;font-weight:500;color:var(--ink-2);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
nav.cats a .i{width:17px;height:17px;flex:none;color:var(--brand);opacity:.85}
nav.cats a.on,nav.cats a:hover{background:var(--brand-soft);color:var(--brand)}
nav.cats a.hot{color:var(--brand);font-weight:700}

.usp{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.usp div{display:flex;flex-direction:row;gap:12px;align-items:center;padding:16px}
.usp .ic{width:44px;height:44px;border-radius:12px;background:var(--trust-soft);color:var(--trust);display:grid;place-items:center;flex:none}
.usp p{margin:0}
.usp b{display:block;font-size:14px}.usp span{font-size:12.5px;color:var(--muted)}

footer.site,#footer.site{margin-top:40px;background:#1d1b1c;color:#cfc8ca;font-size:14px;float:none;width:auto}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:24px;padding-top:36px;padding-bottom:24px}
footer.site h4{color:#fff;margin:0 0 10px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
footer.site ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
footer.site p{margin:0 0 8px}
footer.site b,footer.site strong{color:#fff;font-weight:600}
footer.site a:hover{color:#fff;text-decoration:underline}
footer.site .logo img{width:171px;height:36px;background:#fff;border-radius:10px;padding:4px 8px;box-sizing:content-box;margin-bottom:10px}
footer.site .bct img{width:150px;margin-top:10px}
footer.site .copy{border-top:1px solid #363033;padding-top:14px;padding-bottom:18px;font-size:13px;color:#9a9294}

/* ---------- 3. Thành phần chung ---------- */
.sec{margin-top:28px;margin-bottom:28px}
.sec-h{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}
.sec-h h2{margin:0;font-size:21px;letter-spacing:-.3px}
.sec-h p{margin:2px 0 0;color:var(--muted);font-size:13px}
.more{color:var(--brand);font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}
.pad{padding:20px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:99px;white-space:nowrap}
.c-brand{background:var(--brand-soft);color:var(--brand)}.c-trust{background:var(--trust-soft);color:var(--trust)}.c-warn{background:var(--warn-soft);color:var(--warn)}.c-info{background:var(--info-soft);color:var(--info)}.c-gray{background:var(--surface-2);color:var(--ink-2);border:1px solid var(--line)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 18px;font-weight:700;border:1px solid transparent;cursor:pointer;font-size:14px;line-height:1.3;text-align:center;text-decoration:none}
.btn-p,.btn-p:hover{background:var(--brand);color:#fff}.btn-p:hover{background:var(--brand-ink)}
.btn-o,.btn-o:hover{background:var(--surface);color:var(--brand);border-color:var(--brand-line)}.btn-o:hover{background:var(--brand-soft)}
.btn-g,.btn-g:hover{background:var(--surface-2);border-color:var(--line);color:var(--ink)}
.btn-block{width:100%}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.6;cursor:not-allowed}
.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.stepper button{width:40px;height:44px;border:0;background:transparent;cursor:pointer;font-size:18px;padding:0}
.stepper input{width:52px;text-align:center;border:0;background:transparent;font-weight:700;outline:0;padding:0;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.add-step{width:100%;justify-content:space-between;border-color:var(--brand-line)}
.add-step button{flex:none;color:var(--trust);font-weight:700;font-size:22px}
/* width:0 + flex: ô số tự co theo thẻ. Để width:auto thì ô nhập mang bề ngang mặc định (khoảng 170px), thẻ hẹp (trang chủ khi giỏ hàng mở) bị nội dung
   rộng hơn khung và trượt ngang khi nút + nhận tiêu điểm (anh Dương báo 19/11/2026). */
.add-step input{flex:1 1 0;width:0;min-width:0;color:var(--brand)}
.notice{font-size:12.5px;border-radius:12px;padding:10px 12px;background:var(--warn-soft);color:var(--warn)}
.notice p{margin:0}.notice p+p{margin-top:4px}
.note-info{font-size:13px;border-radius:12px;padding:10px 12px;background:var(--info-soft);color:var(--info)}
.empty{padding:32px 16px;text-align:center;color:var(--muted)}
.crumb{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted);margin:16px 0 8px;flex-wrap:wrap}
.crumb b{color:var(--ink)}
.crumb a:hover{color:var(--brand)}
.pager{display:flex;gap:6px;justify-content:center;margin-top:20px;flex-wrap:wrap}
.pager a{min-width:38px;height:38px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface);font-weight:600;padding:0 8px}
.pager a.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.sel{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 10px}
.seg{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.seg button{border:0;background:var(--surface);padding:8px 10px;cursor:pointer;display:grid;place-items:center}
.seg button.on{background:var(--brand-soft);color:var(--brand)}
/* Nội dung soạn sẵn (mô tả sản phẩm, bài viết). */
.rich{color:var(--ink-2);overflow-wrap:anywhere}
.rich>:first-child{margin-top:0}.rich>:last-child{margin-bottom:0}
.rich img{height:auto;border-radius:12px;margin:10px 0}
.rich a{color:var(--brand);font-weight:600}
.rich table{max-width:100%;border-collapse:collapse}
.rich td,.rich th{border:1px solid var(--line);padding:6px 8px}
.rich iframe{max-width:100%}
.spec{width:100%;border-collapse:collapse;font-size:14px}
.spec td{padding:9px 0;border-bottom:1px dashed var(--line)}
.spec td:first-child{color:var(--muted);width:42%}
.spec td:last-child{font-weight:600}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:10px;counter-reset:s}
.steps li{display:flex;gap:10px;font-size:14px;color:var(--ink-2)}
.steps li:before{counter-increment:s;content:counter(s);width:26px;height:26px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;font-weight:700;font-size:12px;flex:none;color:var(--ink)}
.steps a{color:var(--brand);font-weight:600}
details.fold>summary{list-style:none;cursor:default}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary h2{margin-top:0}
.news{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.news a{overflow:hidden;display:block}
.news .th{aspect-ratio:16/10;background:linear-gradient(135deg,var(--brand-soft),var(--trust-soft));display:grid;place-items:center;color:var(--brand);overflow:hidden}
.news .th img{width:100%;height:100%;object-fit:cover}
.news .tx{padding:12px 14px}
.news h3{font-size:14px;margin:0 0 6px;line-height:1.4}
.news small{color:var(--muted)}

/* ---------- 4. Trang chủ ---------- */
.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin-top:20px}
.hero-main{position:relative;border-radius:20px;overflow:hidden;min-height:300px;background:linear-gradient(120deg,#3b0d1c,#ca184b 55%,#f08aa6);color:#fff;padding:36px;display:flex;flex-direction:column;justify-content:center}
.hero-main h1{font-size:38px;line-height:1.15;margin:10px 0;letter-spacing:-1px;max-width:15ch}
.hero-main p{max-width:42ch;opacity:.92;margin:0 0 20px}
.hero-main .btn-p,.hero-main .btn-p:hover{background:#fff;color:#ca184b}
.hero-main .eyebrow,.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
/* Banner thật của trang (ảnh minh họa có sẵn): phủ kín ô, không có chữ đè lên. */
.hero-main.pic{padding:0;background:var(--surface-2);border:1px solid var(--line)}
.hero-main.pic img{width:100%;height:100%;min-height:300px;object-fit:cover;object-position:left center}
.hero-side{display:grid;gap:16px}
.hero-side .card{padding:18px}
.hero-side h1{margin:6px 0 8px;font-size:24px;letter-spacing:-.4px}
.hero-side h2{margin:0 0 10px;font-size:15px}
.hero-side p{margin:0 0 12px;color:var(--ink-2);font-size:14px}
.hero-side .eyebrow{color:var(--brand);opacity:1}
.hero-act{display:flex;gap:8px;flex-wrap:wrap}
.zalo-list{display:grid;gap:8px}
.zalo-list a{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);min-height:44px}
.zalo-list a:hover{border-color:var(--brand-line)}
.zalo-list .z{flex:none;background:#0068ff;color:#fff;font-weight:800;font-size:11px;border-radius:8px;padding:4px 6px}
.zalo-list b{font-variant-numeric:tabular-nums}
.zalo-list small{margin-left:auto;color:var(--muted);font-size:12.5px;text-align:right}

.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px}
.quick a{position:relative;overflow:hidden;border-radius:var(--r);padding:18px;height:120px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line);color:#1d1b1c}
.quick a b{font-size:15px;max-width:60%;position:relative;z-index:1}
.quick a span{font-size:13px;font-weight:600;margin-top:6px;position:relative;z-index:1;text-decoration:underline;text-underline-offset:4px}
.quick img{position:absolute;right:8px;top:50%;transform:translateY(-50%);height:110px;width:auto;transition:transform .25s}
.quick a:hover img{transform:translateY(-50%) scale(1.06)}
.q1{background:linear-gradient(90deg,#fdf0fb,#fdeef4)}.q1 span{color:#a3127d}
.q2{background:linear-gradient(90deg,#fff6ea,#fff9e6)}.q2 span{color:#b45309}
.q3{background:linear-gradient(90deg,#f6fbe9,#eafbfb)}.q3 span{color:#0e7490}
.q4{background:linear-gradient(90deg,#fff1ef,#fdf3f1)}.q4 span{color:#be123c}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .quick a{background:var(--surface);color:var(--ink)}:root:not([data-theme="light"]) .quick a span{color:var(--brand)}}
:root[data-theme="dark"] .quick a{background:var(--surface);color:var(--ink)}:root[data-theme="dark"] .quick a span{color:var(--brand)}

.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:14px 12px}
.cat-grid a{text-align:center;font-size:13px;font-weight:600;display:block}
.cat-grid .ring{display:block;aspect-ratio:1;border-radius:50%;background:var(--surface);border:1px solid var(--line);padding:10%;margin-bottom:8px;transition:border-color .2s,transform .2s;overflow:hidden}
.cat-grid a:hover .ring{border-color:var(--brand);transform:translateY(-2px)}
.cat-grid .ring img{width:100%;height:100%;object-fit:contain}
.cat-grid small{display:block;color:var(--muted);font-weight:400;font-size:12px}

/* ---------- 5. Thẻ sản phẩm ---------- */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.p{position:relative;display:flex;flex-direction:column;overflow:hidden}
.p .img{position:relative;background:var(--surface-2);aspect-ratio:1/1;display:block;overflow:hidden}
.p .img img{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);object-fit:contain;mix-blend-mode:multiply}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .p .img img{mix-blend-mode:normal}}
:root[data-theme="dark"] .p .img img{mix-blend-mode:normal}
.p .tl{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.fav{position:absolute;top:8px;right:8px;width:34px;height:34px;border-radius:50%;background:var(--surface);border:1px solid var(--line);display:grid;place-items:center;cursor:pointer;color:var(--muted);padding:0}
.fav:hover{color:var(--brand)}
.fav.on{color:var(--brand);border-color:var(--brand-line);background:var(--brand-soft)}
.fav.on svg{fill:currentColor}
.p .body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.p .body>.r{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.p h3{margin:0;font-size:15px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.p h3 a:hover{color:var(--brand)}
.p .meta{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;font-size:12.5px;color:var(--muted)}
.p .meta b{color:var(--ink-2);font-weight:600;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stock{font-size:12px;color:var(--trust);font-weight:600;display:flex;align-items:center;gap:6px}
.stock .bar{flex:1;height:5px;border-radius:99px;background:var(--line);overflow:hidden}
.stock .bar i{display:block;height:100%;background:var(--trust)}
/* :where(.dl2): lớp trùng tên với markup của trang còn CSS cũ (.price ở giỏ cũ, .article ở bài viết cũ) chỉ áp trong vùng giao diện mới. */
:where(.dl2) .price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:auto}
:where(.dl2) .price b{font-size:19px;color:var(--brand);font-weight:800}
:where(.dl2) .price s{color:var(--muted);font-size:13px}
:where(.dl2) .price .vip{font-size:12px;color:var(--trust);font-weight:600}
.unit{font-size:12px;color:var(--muted)}

/* ---------- 6. Danh mục ---------- */
.listing{display:grid;grid-template-columns:260px 1fr;gap:20px;align-items:start}
.listing>div{min-width:0}
.filters{padding:16px;position:sticky;top:16px}
.filters h4{margin:16px 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.filters h4:first-of-type{margin-top:0}
.filters label{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:14px;cursor:pointer}
.filters label small,.fl small{margin-left:auto;color:var(--muted)}
.filters input[type=checkbox]{accent-color:var(--brand);width:16px;height:16px}
/* Danh mục / nhà cung cấp dạng liên kết (dữ liệu thật hiện có; ô lọc nhiều tiêu chí chưa có ở máy API). */
.fl{list-style:none;margin:0;padding:0}
.fl a{display:flex;align-items:center;gap:8px;padding:6px 8px;margin:0 -8px;border-radius:10px;font-size:14px}
.fl a:hover{background:var(--surface-2)}
.fl a.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
.fl a.on small{color:var(--brand)}
.swatch{display:flex;flex-wrap:wrap;gap:8px}
.swatch button{width:28px;height:28px;border-radius:50%;border:2px solid var(--surface);outline:1px solid var(--line);cursor:pointer}
.swatch button.on{outline:2px solid var(--brand)}
.std{display:grid;gap:6px}
.std label{border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.std label span{display:block;font-size:12px;color:var(--muted)}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.toolbar h1{margin:0;font-size:24px;letter-spacing:-.4px}
.toolbar h1 span{font-size:14px;color:var(--muted);font-weight:500;letter-spacing:0}
.tb-r{display:flex;gap:8px;align-items:center}
.active-f{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.listing .pgrid{grid-template-columns:repeat(3,1fr)}
.pgrid.list{grid-template-columns:1fr}
.pgrid.list .p{flex-direction:row}
.pgrid.list .p .img{width:200px;flex:none;aspect-ratio:auto;min-height:160px}
.pgrid.list .p .body{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:8px 20px}
.pgrid.list .p .body>.l{flex:1 1 260px;display:grid;gap:8px}
.pgrid.list .p .body>.r{flex:0 0 200px;display:grid;gap:8px;align-content:start;margin-top:0}
.mfilter{display:none}
.mbar,.sheet-h,.sheet-f,.sheet-bg{display:none}

/* ---------- 7. Sản phẩm ---------- */
.pd{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;margin-top:8px}
.pd>div{min-width:0}
.gal .main{position:relative;border-radius:20px;overflow:hidden;background:var(--surface-2);aspect-ratio:1/1;display:grid;place-items:center;border:1px solid var(--line)}
.gal .main img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gal .tl{position:absolute;left:14px;top:14px;display:flex;gap:6px;flex-wrap:wrap}
.gal .fav{top:12px;right:12px;width:44px;height:44px}
.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}
.thumbs button{aspect-ratio:1;border-radius:12px;border:2px solid var(--line);background:var(--surface-2);padding:4px;cursor:pointer;overflow:hidden}
.thumbs button.on{border-color:var(--brand)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.real{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--trust-soft);color:var(--trust);font-size:13px}
.pi .sku{font-size:13px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap}
.pi h1{font-size:28px;line-height:1.2;margin:6px 0 10px;letter-spacing:-.5px}
.pbox{margin:16px 0;padding:16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}
.pbox .now{font-size:32px;font-weight:800;color:var(--brand);letter-spacing:-.5px}
.pbox .prow{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pbox .vipline{margin-top:6px;font-size:13px;color:var(--ink-2)}
.pbox .vipline b{color:var(--trust)}
.pbox .vipline a,.pbox .lnk,.lnk{color:var(--brand);font-weight:600}
button.lnk{border:0;background:none;padding:0;cursor:pointer;font-size:inherit}
.supply{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.supply div{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px;text-align:center}
.supply small{display:block;font-size:11.5px;color:var(--muted)}
.supply b{font-size:17px}
.supply .today{border-color:var(--trust);background:var(--trust-soft)}
.supply .today b{color:var(--trust)}
.supply-note{font-size:12px;color:var(--muted);margin-top:6px}
.qtyrow{display:flex;gap:10px;align-items:center;margin:14px 0}
.ctas{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}
.ctas .btn{padding:14px}
.ctas .stepper button{height:48px;width:48px}
.cutoff{margin-top:12px;font-size:13px;color:var(--ink-2);display:flex;gap:8px;align-items:center}
.cutoff svg{color:var(--trust)}
.guar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}
.guar div{text-align:center;font-size:12px;color:var(--muted);padding:10px 6px;border:1px solid var(--line);border-radius:12px}
.guar div svg{margin:0 auto 4px;color:var(--trust)}
.guar b{display:block;color:var(--ink);font-size:12.5px}
.pd-more{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:28px;align-items:start}
.pd-more>div{min-width:0}
.pd-more .card{padding:20px}
.pd-more h2{margin:0 0 12px;font-size:18px}
.pd-more details+details{margin-top:20px}
.pack{margin-top:16px;border:1px solid var(--brand-line);background:var(--brand-soft);border-radius:14px;padding:14px;display:flex;gap:14px;align-items:center}
.pack .code{background:var(--brand);color:#fff;font-weight:800;border-radius:10px;padding:10px 12px;text-align:center;line-height:1.1;flex:none}
.pack .code small{display:block;font-weight:500;font-size:10px;opacity:.85}
.pack p{margin:2px 0 0;font-size:13px;color:var(--ink-2)}
.life{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:12px;background:var(--trust-soft);color:var(--trust);font-weight:700;margin-bottom:12px}
.share{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--muted)}
.sticky-buy{display:none}

/* ---------- 8. Đặt hàng ---------- */
.progress{display:flex;align-items:center;gap:10px;margin:18px 0;flex-wrap:wrap;height:auto;background:none;border-radius:0;overflow:visible;font-size:inherit}
.progress .s{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--muted)}
.progress .s i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;background:var(--line);color:var(--ink-2)}
.progress .s.done i{background:var(--trust);color:#fff}.progress .s.on{color:var(--ink)}.progress .s.on i{background:var(--brand);color:#fff}
.progress .ln{flex:0 1 60px;height:2px;background:var(--line)}
.co{display:grid;grid-template-columns:1fr 380px;gap:20px;align-items:start}
.co>div{min-width:0}
.co-main{display:grid;gap:16px}
.co .card{padding:20px}
.co h2{margin:0 0 14px;font-size:18px;display:flex;align-items:center;gap:10px}
.co h2 i{width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-style:normal;font-size:13px}
.co h3{font-size:15px;margin:18px 0 10px;display:flex;gap:8px;align-items:center}
.cline{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.cline:last-of-type{border-bottom:0}
.cline img{width:72px;height:72px;object-fit:contain;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);flex:none}
.cline .t{flex:1;min-width:0}
.cline h4{margin:0;font-size:14.5px}
.cline small{color:var(--muted);font-size:12.5px}
.cline .rr{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px;flex-wrap:wrap}
.cline .rr b{color:var(--brand)}
.cline .stepper button{width:32px;height:34px}
.cline .stepper input{width:36px}
.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form .full{grid-column:1/-1}
.form label{font-size:12.5px;font-weight:600;color:var(--ink-2);display:block;margin-bottom:5px}
.form input,.form select,.form textarea{width:100%;border:1px solid var(--line);background:var(--surface-2);border-radius:12px;padding:11px 12px;outline:0}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--brand);background:var(--surface)}
.form .is-invalid{border-color:#d93a3a}
.form .err{color:#d93a3a;font-size:12.5px;margin-top:4px}
.form input:disabled{opacity:.7}
.toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.toggle label{border:2px solid var(--line);border-radius:12px;padding:12px;display:flex;gap:10px;align-items:center;cursor:pointer;font-weight:600;font-size:14px}
.toggle input{accent-color:var(--brand)}
.toggle label:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.slots button{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 4px;font-size:13px;font-weight:600;cursor:pointer}
.slots button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.slots button:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.days{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.days button{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;font-weight:600;font-size:13px;cursor:pointer}
.days button.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.days button small{display:block;font-weight:500;opacity:.8}
.pay{display:grid;gap:10px}
.pay label{border:2px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;gap:12px;align-items:center;cursor:pointer}
.pay label:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.pay input{accent-color:var(--brand)}
.pay b{display:block;font-size:14px}.pay span{font-size:12.5px;color:var(--muted)}
.pay .lg{margin-left:auto;font-weight:800;font-size:12px;border-radius:8px;padding:4px 8px;background:var(--surface);border:1px solid var(--line);color:var(--ink)}
label.vatbox{display:flex;gap:10px;align-items:center;margin-top:14px;font-size:14px}
label.vatbox input{accent-color:var(--brand)}
.sum{position:sticky;top:16px;overflow:hidden}
.co .sum{padding:0}
.sum .hd{padding:16px 20px;background:var(--brand-soft);font-weight:800}
.sum .bd{padding:16px 20px;display:grid;gap:10px;font-size:14px}
.sum .bd>div{display:flex;justify-content:space-between;gap:10px}
.sum .save{background:var(--trust-soft);color:var(--trust);border-radius:12px;padding:10px 12px;font-weight:700}
.sum .total{border-top:1px dashed var(--line);padding-top:12px;align-items:flex-end}
.sum .total b{font-size:26px;color:var(--brand)}
.sum .total small{display:block;font-size:11.5px;color:var(--muted);text-align:right}
.sum .ft{padding:0 20px 20px;display:grid;gap:10px}
.sum .ft .fine{font-size:12px;color:var(--muted);margin:0;text-align:center}

/* ---------- 9. Tài khoản ---------- */
.acc{display:grid;grid-template-columns:240px 1fr;gap:20px;align-items:start;margin-top:20px}
.acc>div{min-width:0}
.acc-nav{padding:10px;position:sticky;top:16px}
.acc-nav .who{display:flex;gap:10px;align-items:center;padding:8px 8px 14px;border-bottom:1px solid var(--line);margin-bottom:8px}
.acc-nav .who .av{width:42px;height:42px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800;flex:none}
.acc-nav .who small{display:block;color:var(--muted)}
.acc-nav a{display:flex;gap:10px;align-items:center;padding:10px;border-radius:10px;font-size:14px;font-weight:500;color:var(--ink-2)}
.acc-nav a:hover{background:var(--surface-2)}
.acc-nav a.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
/* Nút Đăng xuất là biểu mẫu POST (rà bảo mật 23/11/2026): trông như một mục của menu. */
.acc-nav form{display:contents}
.acc-nav button{display:flex;gap:10px;align-items:center;width:100%;padding:10px;border:0;border-radius:10px;background:none;font:inherit;font-size:14px;font-weight:500;color:var(--ink-2);text-align:left;cursor:pointer}
.acc-nav button:hover{background:var(--surface-2)}
.aff-out{display:flex;justify-content:flex-end;margin-bottom:12px}
.acc-main{display:grid;gap:16px}
.acc-main .card{padding:20px}
.acc-main h1,.acc-main h2{margin:0 0 4px;font-size:18px}
.acc-main .sub{margin:0 0 14px;color:var(--muted);font-size:13px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stats div{padding:14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.stats small{color:var(--muted);font-size:12.5px}.stats b{display:block;font-size:20px}
.otable-wrap{overflow-x:auto}
.otable{width:100%;border-collapse:collapse;font-size:14px}
.otable th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;border-bottom:1px solid var(--line)}
.otable td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle}
.otable tr:last-child td{border-bottom:0}
.otable td a{color:var(--brand);font-weight:700}
/* Trang một cột hẹp: đăng nhập, liên hệ, báo trạng thái. */
.narrow{max-width:520px;margin:24px auto}
.narrow .card{padding:24px}
.narrow h1{margin:0 0 6px;font-size:22px}
:where(.dl2) .article{max-width:820px;margin:20px auto}
:where(.dl2) .article .card{padding:24px}
:where(.dl2) .article h1{margin:0 0 12px;font-size:26px;letter-spacing:-.4px}

/* ---------- 10. Hộp thoại, thanh giỏ, khung chờ ---------- */
.dlg{position:fixed;inset:0;z-index:120;background:rgba(10,12,16,.5);display:grid;place-items:center;padding:16px;overflow:auto}
.dlg-box{width:100%;max-width:460px;padding:20px;max-height:calc(100vh - 32px);overflow:auto}
.dlg-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.dlg-h h2{margin:0;font-size:18px}
.dlg-x{width:44px;height:44px;margin:-10px -10px 0 0;border-radius:50%;border:0;background:var(--surface-2);cursor:pointer;font-size:16px;flex:none}
.dlg h3{margin:16px 0 8px;font-size:14px}
.dlg .days button{flex:1;min-height:44px}
.dlg .des{font-size:13px;color:var(--ink-2);background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:6px}
.dlg-f{display:flex;justify-content:flex-end;margin-top:16px}
.dlg-f .btn{min-width:120px;min-height:44px}
.dlg-body{color:var(--ink-2)}
body.dlg-open{overflow:hidden}

.cartbar{position:fixed;right:12px;top:96px;bottom:84px;width:312px;z-index:45;background:var(--surface);border:1px solid var(--brand-line);border-radius:18px;box-shadow:0 10px 40px rgba(30,20,25,.18);display:none;flex-direction:column;overflow:hidden}
.cartbar.on{display:flex}
.cb-h{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px dashed var(--brand-line);background:var(--brand-soft)}
.cb-h h3{margin:0;font-size:17px;font-weight:700;line-height:1.3}
.cb-h button{width:32px;height:32px;border-radius:50%;border:0;background:var(--surface);cursor:pointer;padding:0}
.cb-list{flex:1;overflow:auto;padding:6px 14px}
.cb-item{display:grid;grid-template-columns:44px 1fr 34px;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.cb-item img{width:44px;height:44px;object-fit:contain;background:var(--surface-2);border-radius:8px}
.cb-item b{display:block;font-size:13.5px;line-height:1.3;font-weight:600}.cb-item span{font-size:12.5px;color:var(--muted)}
.cb-item button{width:34px;height:34px;border-radius:50%;border:0;background:var(--surface-2);cursor:pointer;display:grid;place-items:center;color:var(--ink-2);padding:0}
.cb-empty{color:var(--muted);font-size:13.5px;text-align:center;margin:24px 0}
.cb-f{padding:12px 14px;border-top:1px dashed var(--brand-line)}
.cb-total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}.cb-total b{font-size:20px;color:var(--brand)}
.cb-btn{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cb-btn .btn{padding:10px 8px}
@media (max-width:900px){.cartbar,.cartbar.on{display:none}}

.dl-loading{position:fixed;inset:0;background:color-mix(in srgb,var(--bg) 55%,transparent);z-index:2000;display:none}
.dl-loading.on{display:block}
.dl-loading::after{content:"";position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border:3px solid var(--brand);border-top-color:transparent;border-radius:50%;animation:dl-spin .8s linear infinite}
@keyframes dl-spin{to{transform:rotate(360deg)}}

.only-mob{display:none!important}

/* ---------- 11. Khổ nhỏ ---------- */
@media (max-width:1024px){
  .pgrid{grid-template-columns:repeat(3,1fr)}
  .news,.usp{grid-template-columns:repeat(2,1fr)}
  .listing{grid-template-columns:minmax(0,1fr)}
  .mfilter{display:inline-flex}
  .co{grid-template-columns:minmax(0,1fr)}
  .sum{position:static}
  /* Danh mục / bộ lọc: tấm trượt từ đáy */
  .filters{display:block;position:fixed;left:0;right:0;bottom:0;top:auto;z-index:90;max-height:86vh;overflow:auto;border-radius:20px 20px 0 0;padding:0 16px 16px;transform:translateY(105%);visibility:hidden;transition:transform .25s,visibility .25s;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .filters.open{transform:none;visibility:visible}
  .sheet-bg{display:block;position:fixed;inset:0;background:rgba(10,12,16,.5);z-index:89;opacity:0;pointer-events:none;transition:opacity .25s}
  .sheet-bg.open{opacity:1;pointer-events:auto}
  .sheet-h{display:flex;position:sticky;top:0;z-index:2;background:var(--surface);justify-content:space-between;align-items:center;padding:12px 0 8px;border-bottom:1px solid var(--line);margin-bottom:10px}
  .sheet-h b{font-size:17px}
  .sheet-h button{width:44px;height:44px;border-radius:50%;border:0;background:var(--surface-2);cursor:pointer;font-size:16px}
  .sheet-f{display:grid;grid-template-columns:1fr 2fr;gap:8px;position:sticky;bottom:0;background:var(--surface);padding:10px 0 calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);margin-top:12px}
  .sheet-f .btn{min-height:50px;font-size:16px}
  .filters label{min-height:46px;padding:0 4px;font-size:15px}
  .fl a{min-height:46px;font-size:15px}
  .filters input[type=checkbox]{width:22px;height:22px}
  .filters .std label{min-height:56px;padding:8px 10px}
  .swatch{gap:10px}.swatch button{width:44px;height:44px}
  .filters .more{min-height:44px}
  body.sheet-open{overflow:hidden}
}
@media (max-width:760px){
  .topbar .l span:nth-child(n+2){display:none}
  .topbar .l span{white-space:normal}
  .topbar a{min-height:44px}
  .topbar .wrap{padding-top:0;padding-bottom:0;align-items:center}
  footer.site p a{display:inline-flex;align-items:center;min-height:44px}
  header.site .wrap{flex-wrap:wrap;gap:10px}
  header.site .search{order:3;flex-basis:100%}
  header.site .logo{min-height:44px}
  header.site .logo img{width:152px;height:32px}
  .hd-act{margin-left:auto}
  .hd-act .lbl{display:none}
  .hero{grid-template-columns:1fr}
  .hero-main{padding:24px;min-height:240px}
  .hero-main h1{font-size:28px}
  .hero-main.pic{padding:0;min-height:0}
  .hero-main.pic img{min-height:0;height:auto;aspect-ratio:16/9}
  .quick{grid-template-columns:1fr 1fr;gap:10px}
  .quick a{height:104px;padding:14px}
  .quick a b{font-size:13.5px}
  .quick img{height:64px;right:4px}
  .cat-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:10px 8px}
  .cat-grid a{font-size:12.5px}.cat-grid small{display:none}
  .pgrid,.listing .pgrid{grid-template-columns:1fr 1fr;gap:10px}
  .p .body{padding:10px}
  .p .meta{font-size:12px}
  .p .meta .hide-m{display:none}
  :where(.dl2) .price b{font-size:16px}
  .pgrid.list{grid-template-columns:1fr}
  .news{grid-template-columns:1fr 1fr;gap:10px}
  .usp{grid-template-columns:1fr 1fr;gap:10px}
  .usp div{padding:12px;flex-direction:column;align-items:flex-start;gap:8px}
  footer.site .cols{grid-template-columns:1fr 1fr}
  footer.site .cols>div:first-child,footer.site .cols>div:last-child{grid-column:1/-1}
  .pd{grid-template-columns:minmax(0,1fr);gap:16px}
  .pi h1{font-size:22px}
  .pbox .now{font-size:26px}
  .guar{grid-template-columns:repeat(2,1fr)}
  .pd-more{grid-template-columns:minmax(0,1fr)}
  /* Điện thoại: "Mua ngay" nằm ở thanh đáy; ô thêm vào giỏ / − n + vẫn ở trong trang. */
  .ctas{grid-template-columns:1fr}
  .ctas>.btn{display:none}
  .sticky-buy{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:10px;align-items:center;box-shadow:0 -6px 18px rgba(0,0,0,.08)}
  .sticky-buy .t{flex:1;min-width:0}
  .sticky-buy small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sticky-buy b{color:var(--brand);font-size:17px}
  .form{grid-template-columns:1fr}
  .toggle{grid-template-columns:1fr}
  .slots{grid-template-columns:repeat(3,1fr)}
  .acc{grid-template-columns:minmax(0,1fr)}
  .acc-nav{position:static;display:flex;overflow-x:auto;gap:4px;padding:6px}
  .acc-nav .who{display:none}
  .acc-nav a,.acc-nav button{white-space:nowrap}
  .acc-nav button{width:auto}
  .stats{grid-template-columns:1fr 1fr 1fr;gap:8px}
  .stats div{padding:10px}.stats b{font-size:16px}
  .otable .hide-m{display:none}
  .only-desk{display:none!important}
  .only-mob{display:revert!important}
}

/* ---------- 12. Điện thoại: vùng bấm ≥ 44px, chữ ô nhập ≥ 16px, hành động chính ở đáy màn hình ---------- */
@media (max-width:760px){
  input,select,textarea{font-size:16px}
  header.site .icon-btn{min-width:44px;min-height:44px;justify-content:center;padding:10px 12px}
  header.site .search input{font-size:16px;padding:12px 0}
  header.site .search button{width:44px;height:44px}
  nav.cats .wrap{gap:8px}
  nav.cats a{padding:12px 14px;min-height:44px;display:inline-flex;align-items:center;font-size:15px}
  footer.site li a{display:block;padding:11px 0;min-height:44px}
  footer.site ul{gap:0}
  .more{min-height:44px}
  .chip{font-size:12px}
  a.chip{min-height:44px;padding:0 14px;font-size:13px}
  .crumb{margin:8px 0 4px;gap:4px 6px}.crumb a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
  .zalo-list a{min-height:48px}
  .hero-act .btn{min-height:48px}
  /* Lưới sản phẩm 2 cột: tên, giá, nút */
  .p .fav{width:44px;height:44px;top:4px;right:4px}
  .p h3{font-size:14px;line-height:1.3;min-height:2.6em}
  .p h3 a{display:block;min-height:44px}
  .p .meta span{display:none}
  .p .tl .chip.c-gray{display:none}
  .p .btn,.addbox .btn{min-height:48px;padding:0 6px;font-size:14px}
  .stepper button,.cline .stepper button,.add-step button{width:48px;height:48px;font-size:24px;flex:none}
  .stepper input,.cline .stepper input{width:56px;height:48px;font-size:16px;padding:0}
  .add-step input{flex:1 1 0;min-width:48px;width:0}
  .p .price{flex-wrap:wrap;gap:2px 6px}
  .pgrid.list .p .img{width:104px}
  .pgrid.list .p .body{min-width:0;flex-direction:column;flex-wrap:nowrap;gap:6px}
  .pgrid.list .p .body>.l,.pgrid.list .p .body>.r{flex:none;min-width:0;width:100%}
  /* Danh mục */
  .toolbar h1{font-size:21px}
  .tb-r{width:100%;gap:8px}
  .tb-r .mfilter{min-height:48px;padding:0 16px;font-size:15px}
  .sel{flex:1;min-height:48px;min-width:0}
  .seg{border:0;gap:8px;overflow:visible}.seg button{width:48px;height:48px;border:1px solid var(--line);border-radius:10px}
  .active-f{gap:8px;align-items:center}.active-f .chip{min-height:32px;padding:0 10px}.active-f a.chip{min-height:44px}
  .pager{gap:8px}.pager a{min-width:46px;height:46px}
  .pager .btn{min-height:48px;width:100%}
  /* Sản phẩm */
  .pi .sku{line-height:1.3}
  .pi .sku a,.vipline a,.pbox .lnk{display:inline-flex;align-items:center;min-height:44px}
  .thumbs{gap:8px}
  .qtyrow{margin:10px 0}
  .supply small{font-size:12px}
  .pd-more .card{padding:4px 16px}
  details.fold>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:52px;gap:10px}
  details.fold>summary h2{margin:0;font-size:16px}
  details.fold>summary:after{content:"+";font-size:24px;color:var(--muted);width:28px;text-align:center;flex:none}
  details.fold[open]>summary:after{content:"−"}
  details.fold{border-bottom:1px solid var(--line)}details.fold:last-child{border-bottom:0}
  .pd-more details+details{margin-top:0}
  details.fold>:not(summary){margin-bottom:14px}
  .share a{display:inline-flex;align-items:center;min-height:44px}
  .sticky-buy .btn{min-height:48px}.sticky-buy .btn-o{min-width:48px;padding:0 12px}.sticky-buy .btn-p{padding:0 18px;font-size:15px}
  body.has-sticky{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  /* Giỏ và đặt hàng */
  .progress{font-size:12.5px}
  .cline img{width:64px;height:64px}
  .cline .rr{flex-direction:column;align-items:stretch;gap:8px}
  .cline .rr .stepper{align-self:flex-start}
  .form label{font-size:13.5px}
  .form input,.form select{min-height:48px;padding:0 12px}
  .toggle{gap:8px}.toggle label{min-height:52px;font-size:15px}
  .toggle input,.pay input{width:22px;height:22px;flex:none}
  .days{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .days button{min-height:48px;font-size:14px;padding:0 6px}
  .dlg .ul-region{grid-template-columns:1fr 1fr 1fr}
  .dlg .ul-delivery{grid-template-columns:1fr 1fr 1fr}
  .slots{gap:8px}
  .slots button{min-height:48px;font-size:14px;padding:0 2px}
  .pay label{min-height:60px}
  label.vatbox{min-height:48px}label.vatbox input{width:22px;height:22px;flex:none}
  .sum .total small{font-size:12px}
  .pack .code small{font-size:12px}
  /* Tài khoản */
  .acc-nav{gap:8px}.acc-nav a{min-height:46px;padding:0 12px}
  .stats small{font-size:12px}
  .otable,.otable tbody{display:block}
  .otable tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}
  .otable tr:first-child{display:none}
  .otable td{display:block;padding:0;border:0}
  .otable .hide-m{display:block;grid-column:1;color:var(--muted);font-size:13px}
  .otable td:nth-child(1){grid-column:1}.otable td:nth-child(3){grid-column:2;grid-row:1;text-align:right;font-weight:700}.otable td:nth-child(4){grid-column:2;grid-row:2;text-align:right}
  .otable td a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
  /* Thanh đáy: giỏ hàng (trang chủ, danh mục) và đặt hàng */
  .mbar{position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:12px;align-items:center;box-shadow:0 -6px 18px rgba(0,0,0,.1)}
  .mbar.on{display:flex}
  .mbar .t{flex:1;min-width:0;line-height:1.25}
  .mbar .t small{display:block;color:var(--muted);font-size:12.5px}
  .mbar .t b{font-size:18px;color:var(--brand)}
  .mbar .btn{min-height:50px;padding:0 20px;font-size:16px}
  body.has-mbar{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* == TÀI KHOẢN (bổ sung) == đăng nhập, hồ sơ, đổi mật khẩu, đơn của tôi, chi tiết đơn, cộng tác viên */
.note-ok,.note-bad{font-size:13.5px;border-radius:12px;padding:10px 12px;margin:0 0 14px;white-space:pre-line;overflow-wrap:anywhere}
.note-ok{background:var(--trust-soft);color:var(--trust)}
.note-bad{background:var(--brand-soft);color:var(--brand-ink);border:1px solid var(--brand-line)}
.form-act{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}
.form .req{color:var(--brand)}
.form textarea{resize:vertical;min-height:72px}
.narrow .sub{margin:0 0 16px;color:var(--muted);font-size:13.5px}
.narrow .form{margin-top:14px}
.login-or{display:flex;align-items:center;gap:12px;margin:20px 0 12px;color:var(--muted);font-size:13px}
.login-or::before,.login-or::after{content:"";flex:1;height:1px;background:var(--line)}
.login-social{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.login-social .btn{min-height:44px}
.login-social img{width:20px;height:20px;flex:none}
.login-note{margin:14px 0 0;color:var(--muted);font-size:13px;line-height:1.5;text-align:center}
.form .otp-channel{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center}
.form .otp-channel legend{font-size:12.5px;font-weight:600;color:var(--ink-2);padding:0;margin-bottom:6px}
.form .otp-channel label{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:500;min-height:32px;cursor:pointer}
.form .otp-channel input{width:18px;height:18px;min-height:0;padding:0;flex:none;accent-color:var(--brand)}
.form .otp-channel .is-off{color:var(--muted);cursor:not-allowed}
.form .otp-channel .is-off span{font-size:12.5px}
.form .otp-code{font-size:22px;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
.form small{display:block;margin-top:5px;color:var(--muted);font-size:12.5px;line-height:1.45}
.acc>.acc-main{min-width:0}
.acc-main .otable td .chips{flex-wrap:nowrap}
.acc-main .otable .num{white-space:nowrap;font-variant-numeric:tabular-nums}
.od-head{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap}
.od-head h1{margin:0}
.od-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.od-two h2{margin-bottom:8px}
.od-two .spec td{overflow-wrap:anywhere;vertical-align:top}
.acc-main .cline h3{margin:0;font-size:14.5px}
.acc-main .cline .rr{justify-content:flex-start;gap:6px 20px;font-size:13.5px;color:var(--ink-2)}
.od-sum{display:grid;gap:8px;max-width:340px;margin:14px 0 0 auto;font-size:14px}
.od-sum div{display:flex;justify-content:space-between;gap:10px}
.od-sum .total{border-top:1px dashed var(--line);padding-top:10px;align-items:baseline}
.od-sum .total b{font-size:20px;color:var(--brand)}
/* Cộng tác viên: bộ lọc và bảng đơn 10 cột (điện thoại: mỗi đơn một thẻ, tên cột lấy từ data-th). */
.form.aff-filter{grid-template-columns:repeat(3,1fr)}
.form .checks{border:0;margin:0;padding:0;min-width:0}
.form .checks legend{font-size:12.5px;font-weight:600;color:var(--ink-2);padding:0;margin-bottom:5px}
.form .checks div{display:flex;flex-wrap:wrap;gap:4px 16px}
.form .checks label{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:500;font-size:14px;color:var(--ink);min-height:32px;cursor:pointer}
.form .checks input{width:18px;height:18px;min-height:0;padding:0;flex:none;accent-color:var(--brand)}
.aff-stats{grid-template-columns:repeat(2,minmax(0,220px))}
.atable{width:100%;border-collapse:collapse;font-size:13.5px}
.atable th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.atable td{padding:10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.atable tbody tr:last-child td{border-bottom:0}
.atable .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.atable .nw{white-space:nowrap}
@media (max-width:760px){
  .form.aff-filter{grid-template-columns:minmax(0,1fr)}
  .form-act .btn{flex:1 1 auto;min-height:48px}
  .narrow{margin:12px auto}
  .narrow .card{padding:18px 16px}
  .narrow .btn,.login-social .btn{min-height:48px}
  .acc-nav{scrollbar-width:none}
  .acc-nav::-webkit-scrollbar{display:none}
  .acc-main .card{padding:16px}
  .acc-main .otable td .chips{flex-direction:column;align-items:flex-end;gap:4px}
  .acc-main .otable td.only-desk{display:none!important}
  .od-two{grid-template-columns:minmax(0,1fr)}
  .od-sum{max-width:none}
  .form .checks label{min-height:44px;font-size:15px}
  .form .checks input{width:22px;height:22px}
  .aff-stats{grid-template-columns:1fr 1fr}
  .atable,.atable tbody,.atable tr,.atable td{display:block}
  .atable thead{display:none}
  .atable tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .atable tbody tr:last-child{border-bottom:0}
  .atable td{display:flex;justify-content:space-between;gap:12px;padding:3px 0;border:0;text-align:right}
  .atable td::before{content:attr(data-th);flex:none;color:var(--muted);font-size:12.5px;text-align:left}
  .atable .nw{white-space:normal}
}

/* == ĐẶT HÀNG (bổ sung) == giỏ hàng, thông tin đơn hàng, thanh toán, hoàn tất, thanh toán thất bại, trang báo trạng thái */
.co>*{min-width:0}
.co-h1{margin:0 0 14px;font-size:22px;letter-spacing:-.3px}
.co h2 svg.i{color:var(--brand)}
.co .card>.more{margin-top:10px;min-height:44px}
.btn-lg{padding:15px 18px;font-size:16px}
.progress a.s:hover{color:var(--brand)}
.cline>a{flex:none}
.cline small{display:block}
.cline .th{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.cline .th h2,.co .cline h3{display:block;margin:0;font-size:14.5px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.cline .th h2 a:hover{color:var(--brand)}
.cline .rm{width:44px;height:44px;margin:-10px -10px 0 0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center;flex:none;padding:0}
.cline .rm:hover{background:var(--surface-2);color:var(--brand)}
.cline .rr .total{white-space:nowrap;margin-left:auto}
#cart-empty .btn{min-height:48px}
.form .err-if{display:none}
.form .is-invalid~.err-if{display:block}
.co .form select{min-height:46px}
.co #pnlOther h2{margin-top:6px}
.co .toggle input,.co .pay input{width:18px;height:18px;flex:none}
.co-check{display:flex;gap:10px;align-items:center;min-height:44px;margin-bottom:10px;font-size:14px;font-weight:600;cursor:pointer}
.co-check input{accent-color:var(--brand);width:20px;height:20px;flex:none}
.co-note{margin-top:14px}
.sum-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sum-lines li{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.sum-lines li>span{min-width:0;overflow-wrap:anywhere}
.sum-lines small{color:var(--muted);white-space:nowrap}
.sum-lines b{font-weight:600;white-space:nowrap}
.sum .total>span{font-weight:700}
.sum .total b{white-space:nowrap}
.sum .shipping-cost{margin:0;font-size:13px;color:var(--ink-2)}
.sum .minus{color:var(--trust)}
.sum .ft .more{justify-content:center;min-height:44px}
.pay label>div{min-width:0}
.pay-act{margin:16px 0 0}
.bank-transfer p{margin:16px 0 0}
.bank-transfer .spec td:last-child{overflow-wrap:anywhere}
/* Mã QR luôn trên nền trắng (chế độ tối vẫn quét được). */
.qr{display:inline-block;margin-top:16px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px;line-height:0}
.qr canvas{display:block;max-width:100%;height:auto}
.done-h{display:flex;gap:14px;align-items:center;padding:20px;margin-bottom:16px}
.done-h h1{margin:0;font-size:22px}
.done-h p{margin:2px 0 0;color:var(--ink-2)}
.done-h .ic,.st .ic{width:48px;height:48px;border-radius:50%;background:var(--trust-soft);color:var(--trust);display:grid;place-items:center;flex:none;font-weight:800;font-size:22px}
.st .ic.warn{background:var(--warn-soft);color:var(--warn)}
.co-info{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.co-info .spec td:last-child{overflow-wrap:anywhere}
.st{text-align:center}
.st .ic{margin:0 auto 12px}
.st p{margin:8px 0 0;color:var(--ink-2)}
.st p.st-act{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.st-act .btn{min-height:44px}
@media (max-width:760px){
  .progress{flex-wrap:nowrap;gap:6px;margin:10px 0 14px}
  .progress .s:not(.on)>span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .progress .s.on{white-space:nowrap}
  .progress .ln{flex:1 1 12px;min-width:6px}
  .progress a.s{min-width:44px;min-height:44px;justify-content:center}
  .co .card{padding:16px}
  .co .sum{padding:0}
  .co-h1,.done-h h1{font-size:20px}
  .co-info{grid-template-columns:minmax(0,1fr)}
  .cline .rr:has(>.total){flex-direction:row;align-items:center}
  .cline .th h2 a{display:block;min-height:44px}
  .co .form select{min-height:48px}
  .co-check{min-height:48px;font-size:15px}
  .co-check input{width:22px;height:22px}
  .btn-lg,.pay-act .btn,.st-act .btn,.sum .ft .btn,.co .empty .btn{min-height:48px}
  .pay-act .btn{width:100%}
  .st-act .btn{flex:1 1 140px}
  .mbar .t b{white-space:nowrap}
  .mbar .btn{white-space:nowrap}
  .narrow .card.st{padding:20px 16px}
}

/* == NỘI DUNG (bổ sung) == bài cố định, tin tức / blog, liên hệ, bảng giá */
/* Bài viết + khung "Thông tin hỗ trợ": chữ bài rộng tối đa 72 ký tự, dãn dòng thoáng. */
.doc{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start;margin-bottom:28px}
.doc>*{min-width:0}
:where(.dl2) .doc .article{max-width:none;margin:0}
.doc .article .card{padding:28px 32px}
.doc .article h1{max-width:30ch}
.doc-nav{padding:16px;position:sticky;top:16px}
.doc-nav h2{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
/* Nội dung do trình soạn thảo sinh ra (đã lọc HTML): ảnh, bảng, khung nhúng không được làm tràn trang. */
.article .rich{max-width:72ch;font-size:16px;line-height:1.75}
.article .rich :is(h1,h2,h3,h4,h5,h6){color:var(--ink);line-height:1.3;margin:1.5em 0 .5em;letter-spacing:-.2px}
.article .rich :is(h1,h2){font-size:21px}.article .rich h3{font-size:18px}.article .rich :is(h4,h5,h6){font-size:16px}
.article .rich p{margin:0 0 1em}
.article .rich :is(ul,ol){margin:0 0 1em;padding-left:1.4em}
.article .rich li{margin:.35em 0}
.article .rich li>:is(ul,ol){margin-bottom:0}
.article .rich blockquote{margin:1.2em 0;padding:10px 16px;border-left:3px solid var(--brand-line);background:var(--surface-2);border-radius:0 12px 12px 0}
.article .rich blockquote>:last-child{margin-bottom:0}
.article .rich a{text-decoration:underline;text-underline-offset:3px}
.article .rich :is(img,video){max-width:100%!important;height:auto!important}
.article .rich figure{margin:1.2em 0;max-width:100%}
.article .rich figcaption{font-size:13px;color:var(--muted);text-align:center}
.article .rich table{display:block;width:max-content;max-width:100%;overflow-x:auto;margin:1em 0;font-size:14.5px;line-height:1.5}
.article .rich th{background:var(--surface-2);color:var(--ink);text-align:left}
.article .rich iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:12px;margin:1em 0}
.article .rich pre{max-width:100%;overflow-x:auto;padding:12px;border-radius:12px;background:var(--surface-2);font-size:14px}
.article .rich hr{border:0;border-top:1px solid var(--line);margin:1.5em 0}
.article .rich :is(b,strong){color:var(--ink)}
.related{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);max-width:72ch}
.related h2{margin:0 0 6px;font-size:17px}
.related ul{list-style:none;margin:0;padding:0}
.related a{display:flex;gap:8px;align-items:center;padding:8px 0;color:var(--brand);font-weight:600}
.related a:hover{text-decoration:underline;text-underline-offset:3px}
/* Danh sách tin / blog: 3 thẻ một hàng, có mô tả, tác giả, ngày. */
.news-list{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}
.news-list a{display:flex;flex-direction:column}
.news-list .tx{display:flex;flex-direction:column;gap:8px;flex:1;padding:14px 16px 16px}
.news-list :is(h2,h3){margin:0;font-size:16px;line-height:1.4}
.news-list a:hover :is(h2,h3){color:var(--brand)}
.news-list p{margin:0;color:var(--ink-2);font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-list .by{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.news-list .by img{width:24px;height:24px;border-radius:50%;object-fit:cover;background:var(--surface-2)}
.news-list .by time{margin-left:auto}
.news-list .more{margin-top:auto;padding-top:4px}
.pager a:hover{border-color:var(--brand-line);color:var(--brand)}
.pager a.on:hover{color:#fff}
/* Liên hệ: thẻ thông tin + thẻ mẫu gửi. */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px;align-items:start;margin-bottom:28px}
.contact .card{padding:24px}
.contact h1{margin:0 0 14px;font-size:22px;letter-spacing:-.3px}
.contact-info p{margin:0 0 10px;color:var(--ink-2);line-height:1.6}
.contact-info p:last-child{margin-bottom:0}
.contact-info strong{color:var(--ink)}
.contact .sub{margin:0 0 16px;color:var(--ink-2);font-size:14px}
.contact textarea{min-height:160px}
.contact .captcha{min-height:65px}
.contact .btn{min-width:140px;min-height:44px}
/* Bảng giá /BaoGia.aspx (trang riêng, body.dl-baogia): thanh tìm + lưới thẻ (.plist) hoặc danh sách (.plist.list); dalat.js vẽ thẻ. */
.pl-head{margin:20px 0 0}
.pl-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 16px}
.pl-bar .sel{min-height:44px;outline:0}
.pl-bar .sel:focus{border-color:var(--brand)}
.pl-bar input.sel{flex:1 1 240px;min-width:0;max-width:360px;padding:8px 12px}
.pl-bar .btn{min-height:44px}
.pl-bar .seg{margin-left:auto}
.pl-bar .seg button{width:44px;height:44px;padding:0}
.plist{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:32px}
.plist .empty{grid-column:1/-1;margin:0}
.plist .p .body{padding:10px 12px 12px;gap:4px}
.plist .p h3{font-size:14px;min-height:0;margin-bottom:2px}
.plist p{margin:0}
.pl-id{font-size:12.5px;color:var(--muted)}
.pl-pr{font-size:13.5px;color:var(--ink-2)}
.pl-pr b{color:var(--brand);font-weight:700;white-space:nowrap}
.plist.list{grid-template-columns:repeat(3,minmax(0,1fr))}
.plist.list .p{flex-direction:row;align-items:stretch}
.plist.list .p .img{width:84px;flex:none;aspect-ratio:auto;min-height:92px}
.plist.list .p .img img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}
.plist.list .p .body{min-width:0;padding-right:48px;justify-content:center}
@media (max-width:1100px){
  .plist{grid-template-columns:repeat(4,minmax(0,1fr))}
  .plist.list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1024px){
  .doc{grid-template-columns:minmax(0,1fr)}
  .doc-nav{position:static}
  .news-list{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .doc .article .card{padding:18px 16px}
  :where(.dl2) .article h1{font-size:22px}
  .related a{min-height:44px}
  .news-list{grid-template-columns:minmax(0,1fr);gap:12px}
  .contact{grid-template-columns:minmax(0,1fr);gap:12px}
  .contact .card{padding:18px 16px}
  .contact .btn{width:100%;min-height:48px}
  .contact-info p{overflow-wrap:anywhere}
  .pl-head{margin-top:14px}
  .pl-bar input.sel{flex-basis:100%;max-width:none}
  .pl-bar .sel{min-height:48px}
  .pl-bar select.sel{flex:1 1 100%}
  .pl-bar .btn{flex:1 1 auto;min-height:48px;padding:0 12px}
  .pl-bar .seg{margin-left:0;border:0;gap:8px;overflow:visible}
  .pl-bar .seg button{width:48px;height:48px;border:1px solid var(--line);border-radius:10px}
  .plist{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .plist.list{grid-template-columns:minmax(0,1fr)}
  .plist.list .p .body{padding-right:52px}
  .dl-baogia .hd-act{margin-left:auto}
}
/* In bảng giá: bỏ đầu trang, thanh tìm, nút; chữ đen trên nền trắng (kể cả khi máy đang ở chế độ tối). */
@media print{
  body.dl-baogia{--bg:#fff;--surface:#fff;--surface-2:#fff;--ink:#000;--ink-2:#000;--muted:#000;--line:#999;--brand:#000;--brand-ink:#000;--shadow:none;background:#fff;color:#000;font-size:11pt}
  .dl-baogia :is(.pl-home,.pl-bar,.fav,.skip,.dlg,.dl-loading,.zalo-chat-widget){display:none!important}
  .dl-baogia header.site{border:0}
  .dl-baogia .wrap{max-width:none;padding:0}
  .dl-baogia .plist{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
  .dl-baogia .plist.list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dl-baogia .plist.list .p .body{padding-right:12px}
  .dl-baogia .p{break-inside:avoid;box-shadow:none;border-radius:6px}
  .dl-baogia .p .img{background:#fff}
  .dl-baogia .p .img img{mix-blend-mode:normal}
}

/* ---------- 13. Trang còn CSS cũ (body.dl-legacy): chỉ để khung mới không bị CSS cũ kéo lệch. Xóa mục này khi mọi trang đã chuyển. ---------- */
body.dl-legacy{font-size:13px;line-height:1.5}
body.dl-legacy #main{float:none;min-height:40vh}
body.dl-legacy #main::after{content:"";display:block;clear:both}
body.dl-legacy .usp .card{min-width:0}

/* == MẬT ĐỘ (anh yêu cầu 16/11/2026) == hiện nhiều sản phẩm hơn trên một hàng và trong một màn hình: khung rộng hơn, 5–6 thẻ mỗi hàng
   (bản cũ 5 thẻ), ảnh thấp hơn, bớt khoảng hở giữa các khối. Chỉ áp dụng từ 761px; điện thoại giữ 2 thẻ mỗi hàng và vùng bấm 44px. */
@media (min-width:761px){
  .wrap{max-width:1440px}
  .sec{margin-top:16px;margin-bottom:16px}
  .sec-h{margin-bottom:8px}
  .sec-h h2{font-size:19px}
  header.site .wrap{padding-top:8px;padding-bottom:8px}
  nav.cats .wrap{padding-top:2px;padding-bottom:2px}
  .crumb{margin:10px 0 6px}
  .hero{margin-top:12px;gap:12px}
  .hero-main{min-height:0}
  .quick{gap:10px;margin-top:10px}
  .quick a{height:84px;padding:12px 16px}
  .cat-grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px 8px}
  .pgrid,.listing .pgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .pgrid.list{grid-template-columns:1fr}
  .p .img{aspect-ratio:4/3}
  .p .body{padding:8px 10px 10px;gap:5px}
  .p h3{font-size:14px;line-height:1.3;min-height:2.6em}
  :where(.dl2) .price b{font-size:17px}
  .p .btn,.p .add-step{padding-top:7px;padding-bottom:7px;font-size:13.5px}
  .listing{grid-template-columns:220px minmax(0,1fr);gap:14px}
  .filters{padding:12px}
  .usp{gap:10px}
  .usp div{padding:10px 12px}
  .news{gap:10px}
}
@media (min-width:1025px){
  .pgrid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .listing .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pgrid.list,.listing .pgrid.list{grid-template-columns:1fr}
}
@media (min-width:1360px){
  .pgrid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .listing .pgrid{grid-template-columns:repeat(5,minmax(0,1fr))}
  .pgrid.list,.listing .pgrid.list{grid-template-columns:1fr}
}

/* == CHUẨN ĐÓNG GÓI == trang /chuan-dong-goi (Pages/Packaging.cshtml) và nhãn chuẩn trên trang sản phẩm (_PackagingBadge) */
.pk-hero{background:linear-gradient(120deg,var(--trust-soft),var(--info-soft));border-radius:24px;padding:24px;margin:8px 0 18px}
.pk-hero h1{margin:8px 0 6px;font-size:28px;letter-spacing:-.5px}
.pk-hero p{margin:0;color:var(--ink-2);max-width:780px}
.pk-empty p{margin:0;color:var(--ink-2)}.pk-empty p+p{margin-top:12px}
.pk-tabs{display:flex;gap:8px;flex-wrap:wrap}
.pk-tab{display:inline-flex;flex-direction:column;justify-content:center;min-height:44px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:8px 14px}
.pk-tab b{font-weight:600}
.pk-tab small{color:var(--muted);font-size:12px}
.pk-tab:hover{border-color:var(--brand-line)}
.pk-tab.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.pk-tab.on small{color:inherit}
.pk-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:16px;margin:14px 0 8px;align-items:start}
.pk-box h2{margin:8px 0 6px;font-size:22px;letter-spacing:-.3px}
.pk-box h3{margin:20px 0 8px;font-size:16px}
.pk-desc{margin:0 0 8px;color:var(--ink-2)}
.pk-lbl{margin:10px 0 6px;color:var(--muted);font-size:13px}
.pk-note{margin:8px 0 0;color:var(--muted);font-size:12.5px}
.pk-note a{color:var(--brand);font-weight:600}
.pk-cats{display:flex;flex-wrap:wrap;gap:6px}
.pk-cats .chip{font-size:12.5px;padding:4px 10px}
.pk-packs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pk-packs li{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:6px 12px;font-weight:600;font-size:14px}
.pk-packs li.on{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand)}
.pk-packs li.off{opacity:.4;font-weight:500}
.pk-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;margin-top:16px}
.pk-fact{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:10px 12px;min-width:0}
.pk-fact small{display:block;color:var(--muted);font-size:12px}
.pk-fact b{font-size:15px;overflow-wrap:anywhere}
.pk-cmp{width:100%;border-collapse:collapse;font-size:13.5px}
.pk-cmp th,.pk-cmp td{text-align:left;padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
.pk-cmp thead th{color:var(--muted);font-weight:600}
.pk-cmp tbody th{font-weight:700;white-space:nowrap}
.pk-cmp tbody tr:last-child>*{border-bottom:0}
.pk-how h2{margin-top:0;font-size:18px}
.pk-how ul{margin:6px 0;padding-left:20px;color:var(--ink-2)}
.pk-how li{margin:6px 0}
.pk-badge{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 12px;border-radius:12px;background:var(--trust-soft);color:var(--trust);font-size:13px}
.pk-badge b{font-weight:700}
.pk-badge:hover{text-decoration:underline}
/* Quy cách đóng gói theo hạng (di trú 625): mỗi hạng một thẻ dưới bảng so sánh trên trang nhóm chuẩn (.pk-spec), tóm tắt trên trang sản phẩm (.pk-sum) */
.pk-specs{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:4px}
.pk-cmp+.pk-lbl{margin-top:16px}
.pk-cmp td{overflow-wrap:anywhere}
.pk-spec{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0}
.pk-spec h4{margin:0 0 6px;font-size:15px}
.pk-spec dl{margin:0;display:grid;gap:6px}
.pk-spec dt{color:var(--muted);font-size:12px}
.pk-spec dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.pk-shots{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pk-shots a{display:block;flex:1 1 96px;max-width:160px;min-width:0}
.pk-shots img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--surface)}
.pk-sum{display:flex;gap:12px;align-items:flex-start;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);max-width:560px}
.pk-sum-img{flex:none}
.pk-sum-img img{display:block;width:96px;height:72px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--surface)}
.pk-sum-txt{min-width:0;display:grid;gap:3px;font-size:13.5px}
.pk-sum-txt b{font-size:14px}
.pk-sum-txt p{margin:0;overflow-wrap:anywhere}
.pk-sum-txt p span{color:var(--muted)}
.pk-sum-txt .more{justify-self:start;white-space:normal;font-size:13.5px}
@media (max-width:900px){
  .pk-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .pk-hero{padding:18px;border-radius:20px}.pk-hero h1{font-size:23px}
  .pk-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;margin:0 -16px;padding-left:16px;padding-right:16px}
  .pk-tabs::-webkit-scrollbar{display:none}
  .pk-tab{flex:none;padding:10px 14px}
  .pk-cats .chip{min-height:44px;padding:4px 14px;font-size:13.5px}
  .pk-note a{display:inline-flex;align-items:center;min-height:44px}
  .pk-facts{grid-template-columns:minmax(0,1fr)}
  /* Bảng so sánh 4 hạng thành thẻ: mỗi hạng một thẻ, tên cột lấy từ data-l. */
  .pk-cmp,.pk-cmp tbody{display:block}
  .pk-cmp thead{display:none}
  .pk-cmp tbody tr{display:block;border:1px solid var(--line);border-radius:14px;padding:10px 12px;margin-bottom:10px}
  .pk-cmp tbody th,.pk-cmp tbody td{display:flex;justify-content:space-between;gap:12px;border:0;padding:5px 0;text-align:right;white-space:normal}
  .pk-cmp tbody th::before,.pk-cmp tbody td::before{content:attr(data-l);color:var(--muted);font-weight:400;text-align:left;flex:none}
  .pk-cmp tbody th{font-size:16px;border-bottom:1px dashed var(--line);margin-bottom:4px;padding-bottom:8px}
  .pk-badge{min-height:44px}
  .pk-specs{grid-template-columns:minmax(0,1fr)}
  .pk-sum{max-width:none}
}

/* == DỰ BÁO == trang /du-bao-nganh-hoa (Pages/Forecast.cshtml), ô tóm tắt ở trang chủ (.fc-mini) và tờ lịch dùng chung (.dl-cal, _CalendarLeaf) */
/* Năm màu cấp độ theo bản demo docs/thiet-ke/dalat-flowers-du-bao.html: --fc-l1..--fc-l5 nền, --fc-t1..--fc-t5 chữ; có bản tối. */
:root{--fc-l1:#fde8ee;--fc-l2:#f8b9c9;--fc-l3:#ee7c9b;--fc-l4:#ca184b;--fc-l5:#7a0c2c;--fc-t1:#111827;--fc-t2:#111827;--fc-t3:#111827;--fc-t4:#fff;--fc-t5:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--fc-l1:#3a1a24;--fc-l2:#6e2238;--fc-l3:#a82a4f;--fc-l4:#e04a75;--fc-l5:#ff9fb8;--fc-t1:#e9ebee;--fc-t2:#fff;--fc-t3:#fff;--fc-t4:#fff;--fc-t5:#111827}}
:root[data-theme="dark"]{--fc-l1:#3a1a24;--fc-l2:#6e2238;--fc-l3:#a82a4f;--fc-l4:#e04a75;--fc-l5:#ff9fb8;--fc-t1:#e9ebee;--fc-t2:#fff;--fc-t3:#fff;--fc-t4:#fff;--fc-t5:#111827}
.fc-lv1{background:var(--fc-l1);color:var(--fc-t1)}.fc-lv2{background:var(--fc-l2);color:var(--fc-t2)}.fc-lv3{background:var(--fc-l3);color:var(--fc-t3)}.fc-lv4{background:var(--fc-l4);color:var(--fc-t4)}.fc-lv5{background:var(--fc-l5);color:var(--fc-t5)}
.fc-sw{display:inline-grid;place-items:center;width:34px;height:30px;border-radius:9px;font-style:normal;font-weight:700;font-size:15px;flex:none;background:var(--surface-2);color:var(--muted)}
.fc-sw.fc-lv1{background:var(--fc-l1);color:var(--fc-t1)}.fc-sw.fc-lv2{background:var(--fc-l2);color:var(--fc-t2)}.fc-sw.fc-lv3{background:var(--fc-l3);color:var(--fc-t3)}.fc-sw.fc-lv4{background:var(--fc-l4);color:var(--fc-t4)}.fc-sw.fc-lv5{background:var(--fc-l5);color:var(--fc-t5)}
.fc-hero{background:linear-gradient(120deg,var(--brand-soft),var(--info-soft));border-radius:24px;padding:24px;margin:8px 0 18px}
.fc-hero h1{margin:8px 0 6px;font-size:28px;letter-spacing:-.5px}
.fc-hero p{margin:0;color:var(--ink-2);max-width:780px}
.fc-empty p{margin:0 0 10px;color:var(--ink-2)}.fc-empty p:last-child{margin:0}
.fc-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:13px;margin:10px 0 14px;color:var(--ink-2)}
.fc-legend span{display:inline-flex;align-items:center;gap:6px}
.fc-legend .fc-sw{width:26px;height:22px;border-radius:6px;font-size:12px}
.fc-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.fc-card{display:flex;flex-direction:column;gap:2px;padding:14px;min-height:44px;border-radius:18px}
.fc-card.on{outline:2px solid var(--brand);outline-offset:-1px}
.fc-card:hover{border-color:var(--brand-line)}
.fc-card small{color:var(--muted);font-size:12.5px}
.fc-card b{font-size:15px;margin-bottom:6px}
.fc-now{display:flex;align-items:center;gap:8px;font-weight:700}
.fc-next{margin-top:6px}
.fc-h{font-size:20px;margin:28px 0 12px;letter-spacing:-.3px}
.fc-panel{scroll-margin-top:12px}
.fc-stock{display:flex;gap:10px;align-items:flex-start;background:var(--warn-soft);color:var(--warn);border-radius:14px;padding:12px 14px;margin:0 0 12px;font-size:14px}
.fc-stock p{margin:0}.fc-stock svg{margin-top:2px}
.fc-stock .more{margin-left:6px}
.fc-weekbox h3{margin:0 0 12px;font-size:16px}
.fc-week{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.fc-day{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}
.fc-day-lv{display:grid;justify-items:center;gap:3px;font-size:13.5px}
.fc-day-lv small{color:var(--warn);font-weight:600;font-size:12px}
.fc-chartbox{margin-top:12px}
.fc-swipe{display:none;margin:0 0 6px;font-size:12.5px;color:var(--muted)}
.fc-chart{position:relative;overflow-x:auto;-webkit-overflow-scrolling:touch}
.fc-bars{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(30,minmax(26px,1fr));gap:4px;min-width:900px;align-items:end}
.fc-col{position:relative;display:grid;justify-items:center;gap:1px;font-size:11px;min-width:0}
.fc-col b{font-weight:600;font-size:11.5px}.fc-col.sun b{color:var(--brand)}
.fc-col small{color:var(--muted);font-size:10px}
.fc-col em{font-style:normal;color:var(--warn);font-weight:600;font-size:10px;min-height:14px;white-space:nowrap}
.fc-track{display:flex;align-items:flex-end;width:100%;height:170px;border-bottom:1px solid var(--line)}
.fc-bar{display:flex;align-items:flex-start;justify-content:center;width:100%;border-radius:6px 6px 0 0;font-weight:700;font-size:12px;padding-top:3px;height:0}
.fc-h1{height:20%}.fc-h2{height:40%}.fc-h3{height:60%}.fc-h4{height:80%}.fc-h5{height:100%}
.fc-chartnote{color:var(--muted);font-size:13.5px;margin:10px 0 0}
.fc-heat{overflow-x:auto}
.fc-heat table{border-collapse:separate;border-spacing:3px;width:100%;min-width:1040px;font-size:13px}
.fc-heat th{font-weight:600;color:var(--muted);text-align:center;padding:2px 0;font-size:10.5px;white-space:nowrap;line-height:1.25}
.fc-heat th.sun{color:var(--brand)}
.fc-heat th.r{text-align:left;color:var(--ink);font-size:13px;min-width:150px;padding-right:6px;white-space:normal;position:sticky;left:0;background:var(--surface);z-index:1}
.fc-heat th.r.ev{color:var(--muted);font-weight:500}
.fc-heat td{height:32px;min-width:28px;text-align:center;border-radius:8px;font-weight:700}
.fc-heat td.fc-lv0{background:var(--surface-2);color:var(--muted);font-weight:500}
.fc-heat td.ev{font-size:10px;color:var(--warn);font-weight:600;line-height:1.15;height:auto;white-space:normal}
.fc-list{display:none}
.fc-about{margin-top:20px}
.fc-about h2{margin:0 0 6px;font-size:18px}
.fc-about ul{margin:6px 0;padding-left:20px;color:var(--ink-2)}
.fc-about li{margin:6px 0}
/* Dải tóm tắt ở trang chủ, ngay dưới banner (chỉ in khi có bản dự báo đã công bố). */
.fc-mini{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:14px 18px;margin-top:16px}
.fc-mini:hover{border-color:var(--brand-line)}
.fc-mini .more{margin-left:auto}
.fc-mini-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fc-mini-h b{display:inline-flex;align-items:center;gap:6px;font-size:15px}.fc-mini-h svg{color:var(--brand)}
.fc-rows{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px}
.fc-rows>span{display:inline-flex;align-items:center;gap:8px}
.fc-rows .fc-sw{width:auto;height:auto;padding:1px 9px;border-radius:99px;font-size:12px}
.fc-mini small{color:var(--warn);font-weight:600;font-size:12.5px}
/* Tờ lịch dùng chung (DLCalendar của bản demo): luôn giấy trắng chữ đen, kể cả chế độ tối. */
.dl-cal{display:inline-flex;flex-direction:column;align-items:center;width:132px;max-width:100%;flex:none;background:#fff;color:#111827;border-radius:14px;overflow:hidden;box-shadow:0 2px 0 #e5e7eb,0 6px 18px rgba(0,0,0,.12);border:1px solid #e5e7eb;text-align:center;line-height:1.25}
.dl-cal-l{font-size:11px;font-weight:700;color:#6b7280;padding:5px 6px 0}
.dl-cal-m{align-self:stretch;background:#ca184b;color:#fff;font-size:12px;font-weight:700;padding:4px 6px;letter-spacing:.03em;text-transform:uppercase}
.dl-cal-l+.dl-cal-m{margin-top:4px}
.dl-cal-close .dl-cal-m{background:#1f2937}.dl-cal-close .dl-cal-a{background:#f3f4f6}
.dl-cal-d{font-size:46px;font-weight:800;line-height:1.05;margin-top:4px;letter-spacing:-1px}.dl-cal-d.sun{color:#ca184b}
.dl-cal-w{font-size:14px;font-weight:700}
.dl-cal-a{align-self:stretch;margin-top:5px;padding:5px 6px 6px;border-top:1px dashed #e5e7eb;font-size:11.5px;color:#4b5563;background:#fffbeb}.dl-cal-a b{color:#b45309}
@media (max-width:1100px){
  .fc-week .dl-cal-d{font-size:36px}.fc-week .dl-cal-m{font-size:10.5px;letter-spacing:0}.fc-week .dl-cal-a{font-size:10.5px}
}
@media (max-width:900px){
  .fc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .fc-hero{padding:18px;border-radius:20px}.fc-hero h1{font-size:23px}
  .fc-cards{gap:8px}.fc-card{padding:12px}.fc-card b{font-size:14px}
  .fc-legend{font-size:13.5px}
  .fc-h{font-size:18px;margin:22px 0 10px}
  /* 7 ngày tới: mỗi ngày một dòng, tờ lịch nhỏ bên trái, cấp độ bên phải. */
  .fc-week{grid-template-columns:minmax(0,1fr);gap:0}
  .fc-day{flex-direction:row;align-items:center;gap:14px;text-align:left;padding:10px 0;border-bottom:1px solid var(--line)}
  .fc-day:last-child{border-bottom:0;padding-bottom:0}.fc-day:first-child{padding-top:0}
  .fc-day .dl-cal{width:96px}.fc-week .dl-cal-d{font-size:28px;margin-top:2px}.fc-week .dl-cal-y{display:none}.fc-week .dl-cal-a{margin-top:3px;padding:3px 4px 4px}
  .fc-day-lv{grid-template-columns:auto minmax(0,1fr);justify-items:start;align-items:center;gap:4px 10px;font-size:15px}
  .fc-day-lv .fc-sw{width:40px;height:36px;font-size:17px;border-radius:10px}
  .fc-day-lv small{grid-column:1/-1;font-size:12.5px}
  .fc-swipe{display:block}
  .fc-bars{min-width:960px}.fc-track{height:150px}
  .fc-stock .more{display:flex;min-height:44px;margin:4px 0 0}
  .fc-empty .more{min-height:44px}
  .fc-mini{padding:14px 16px}.fc-mini-h{flex-basis:100%}
  .fc-rows{display:grid;flex-basis:100%}.fc-rows>span{display:flex;justify-content:space-between}
  .fc-mini .more{margin-left:0;min-height:24px}
  /* Bảng 5 mảng × 30 ngày thành danh sách gọn: mỗi ngày một dòng, năm ô cấp độ. */
  .fc-heat{display:none}
  .fc-list{display:block}
  .fc-list ol{list-style:none;margin:0;padding:0}
  .fc-list li,.fc-list-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid var(--line)}
  .fc-list li:last-child{border-bottom:0}
  .fc-list-h{margin:0;font-size:12px;font-weight:700;color:var(--muted);position:sticky;top:0;background:var(--surface);z-index:1}
  .fc-list-d{min-width:0}.fc-list-d b{display:block;font-size:14.5px}.fc-list li.sun .fc-list-d b{color:var(--brand)}
  .fc-list-d small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
  .fc-list-lv{display:flex;gap:4px;flex:none}
  .fc-list-lv .fc-sw,.fc-list-lv abbr{width:36px;height:32px;font-size:15px}
  .fc-list-lv abbr{display:inline-grid;place-items:center;text-decoration:none;height:auto}
  .fc-list-k{margin:8px 0 0;font-size:12px;color:var(--muted)}
}

/* == MUA CHUNG == trang /mua-chung, /mua-chung/{mã phiên}, /mua-chung/cua-toi (Pages/GroupBuy*.cshtml). Tờ lịch dùng .dl-cal của mục DỰ BÁO.
   Hai mốc thời gian tách rõ: tờ lịch "Hàng về" (dải màu thương hiệu) và khung "Đóng phiên" (tờ lịch dải sẫm + đồng hồ đếm ngược). */
.gb-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;background:linear-gradient(120deg,var(--trust-soft),var(--brand-soft));border-radius:24px;padding:22px;margin:8px 0 20px}
.gb-hero h1{margin:8px 0 6px;font-size:27px;letter-spacing:-.5px}
.gb-hero p{margin:0;color:var(--ink-2);max-width:900px}
.gb-guide-link{margin-top:12px;min-height:44px;background:var(--surface)}
.gb-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;counter-reset:gb}
.gb-flow li{counter-increment:gb;background:var(--surface);border-radius:14px;padding:10px;font-size:12.5px;box-shadow:var(--shadow);color:var(--ink-2)}
.gb-flow b{display:flex;align-items:center;gap:6px;font-size:13px;margin-bottom:2px;color:var(--ink)}
.gb-flow b::before{content:counter(gb);width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;display:inline-grid;place-items:center;font-size:11.5px;flex:none}
.gb-sec-h{align-items:center;flex-wrap:wrap}
.gb-seg{display:inline-flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);flex:none}
.gb-seg a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;font-weight:600;color:var(--muted)}
.gb-seg a.on,.gb-seg a.on:hover{background:var(--brand);color:#fff}
.gb-seg a:hover{color:var(--brand)}
.gb-seg-row{margin:16px 0 8px;align-items:center}
.gb-seg-row>span{padding:0 12px;font-size:13px;color:var(--muted);font-weight:600}
.gb-ses{margin-bottom:18px;overflow:hidden}
.gb-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 16px;align-items:center;padding:14px 18px 16px}
.gb-top{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.gb-top .gb-open{margin:0}
.gb-info h1,.gb-info h3{margin:0 0 6px;font-size:20px;letter-spacing:-.2px}
.gb-info h1{font-size:23px}
.gb-info h3 a:hover{color:var(--brand)}
.gb-meta{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:13px;color:var(--muted)}
.gb-meta span{white-space:nowrap}
.gb-meta b{color:var(--ink)}
.gb-open{margin:8px 0 0;font-size:13px;color:var(--info)}
.gb-close{border:1px solid var(--line);border-radius:16px;padding:10px 12px;background:var(--surface-2);display:grid;gap:8px;justify-items:center;text-align:center}
.gb-close-t{font-size:14px}
.gb-close-d{font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.gb-count{display:grid;grid-template-columns:repeat(4,56px);gap:6px}
.gb-count span{background:#111827;color:#fff;border-radius:10px;padding:8px 0 6px;text-align:center;line-height:1.1}
.gb-count span b{display:block;font-size:24px;font-variant-numeric:tabular-nums}
.gb-count span small{font-size:11px;color:#cbd5e1}
.gb-count .over{grid-column:1/-1;background:var(--warn-soft);color:var(--warn);font-weight:700;padding:12px 10px;line-height:1.3}
.gb-preview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:12px 18px 16px;border-top:1px solid var(--line)}
.gb-preview ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 24px}
.gb-preview li{border-bottom:1px dashed var(--line);padding-bottom:6px;min-width:0}
.gb-pv{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:44px;padding:4px;border:0;background:none;border-radius:12px;font:inherit;font-size:13.5px;color:inherit;text-align:left;cursor:pointer}
.gb-pv:hover,.gb-pv:focus-visible{background:var(--surface-2)}
.gb-pv img,.gb-imb img{width:56px;height:56px;object-fit:cover;background:var(--surface-2);border-radius:10px;display:block}
.gb-pv-n{min-width:0;overflow-wrap:break-word;font-weight:600}
.gb-pv small{display:block;color:var(--muted);font-size:12px;font-weight:400}
.gb-pv-p{white-space:nowrap;color:var(--brand);text-align:right}
.gb-regd b{color:var(--trust);font-weight:700}
.gb-imb{border:0;padding:0;background:none;border-radius:10px;cursor:pointer;display:block}
.gb-items td.nm[data-gb-item-open]{cursor:pointer}
.gb-items td.nm[data-gb-item-open]:hover>b{color:var(--brand)}
/* Cửa sổ thông tin hoa: bấm thì mở giữa màn hình (dialog); rê chuột thì hiện cạnh hoa (lớp .hov, dalat.js đặt vị trí). */
.gb-pop{border:0;padding:0;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 24px 64px rgba(0,0,0,.28)}
.gb-pop::backdrop{background:rgba(17,24,39,.5)}
.gb-pop.hov{display:block;position:fixed;margin:0;z-index:90;border:1px solid var(--line);pointer-events:none}
.gb-pop.hov .gb-pop-x{display:none}
.gb-pop>img{display:block;width:100%;height:auto;aspect-ratio:1/1;max-height:min(420px,48vh);object-fit:cover;background:var(--surface-2)}
.gb-pop-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(17,24,39,.6);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.gb-pop-b{padding:14px 18px 18px}
.gb-pop-b h3{margin:0 0 2px;font-size:19px}
.gb-pop-b p{margin:0 0 8px;color:var(--muted);font-size:13.5px}
.gb-pop-b dl{margin:0 0 12px}
.gb-pop-b dl div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:14px}
.gb-pop-b dt{color:var(--muted)}
.gb-pop-b dd{margin:0;font-weight:700;text-align:right;white-space:nowrap}
.gb-pop-b dd.pr{color:var(--brand)}
.gb-pop-b .btn{min-height:44px}
.gb-preview-a{display:grid;gap:6px;justify-items:end}
.gb-preview-a small{color:var(--muted)}
.gb-preview-a .btn,.gb-form .btn,.gb-withdraw .btn,.gb-reg-a .btn{min-height:44px}
.gb-mine-link{margin:0 0 8px}
.gb-past{padding:6px 18px}
.gb-past a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.gb-past a:last-child{border-bottom:0}
.gb-past a:hover b{color:var(--brand)}
.gb-past-m{display:inline-flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;white-space:nowrap}
.gb-rules{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gb-rules h2{margin:0 0 8px;font-size:17px}
.gb-rules ul,.gb-rules ol{margin:0;padding-left:20px;font-size:14px;color:var(--ink-2)}
.gb-rules li{margin:5px 0}
.gb-msg{margin:0 0 14px;font-size:14px}
.gb-note{margin:0 0 14px;color:var(--ink-2);font-size:14px}
.gb-sub{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.gb-mine{margin-bottom:6px}
.gb-mine-h{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.gb-mine-h h2{margin:0;font-size:17px}
.gb-mine .spec td:first-child{width:52%}
.gb-mine .spec .chip{margin-left:6px}
.gb-mine p .btn{margin-top:6px;min-height:44px}
.gb-transfer{margin-top:10px}
.gb-form{overflow:hidden}
.gb-body{display:grid;grid-template-columns:minmax(0,1fr) 330px}
.gb-items-wrap{min-width:0;padding-bottom:14px}
.gb-items{width:100%;border-collapse:collapse;font-size:13.5px}
.gb-items th,.gb-items td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}
.gb-items th{color:var(--muted);font-weight:600;font-size:12.5px;white-space:nowrap}
.gb-items .num{text-align:right;font-variant-numeric:tabular-nums}
.gb-items img{width:48px;height:48px;object-fit:cover;background:var(--surface-2);border-radius:8px}
.gb-items .nm small,.gb-items .pr small{display:block;color:var(--muted);font-size:12px}
.gb-items .pr b{color:var(--brand)}
.gb-items tr.out td{opacity:.6}
.gb-items .gb-out{display:block;color:var(--warn);font-size:12px;opacity:1}
.gb-items .gb-step{display:inline-flex}
.gb-step button{width:44px;height:44px;font-size:22px}
.gb-step input{width:60px;height:44px;font-size:16px}
.gb-items .cl input{width:112px;height:44px;text-align:right;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:0 10px;font-size:16px}
.gb-items .cl input:focus{border-color:var(--brand);background:var(--surface);outline:0}
.gb-cap-note{padding:0 14px}
.gb-contact{padding:14px 14px 0}
.gb-now label{display:flex;align-items:center;gap:8px;cursor:pointer}
.gb-now input{width:18px;height:18px;margin:0;flex:none}
.gb-now small{display:block;margin-top:4px;color:var(--ink-2);font-size:13px}
.gb-sum{padding:16px;border-left:1px dashed var(--line);background:linear-gradient(180deg,transparent,var(--brand-soft))}
.gb-sum h2{margin:0 0 8px;font-size:15px}
.gb-sum .l{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;padding:4px 0}
.gb-sum .l>span{color:var(--muted)}
.gb-sum .l b{font-variant-numeric:tabular-nums;white-space:nowrap}
.gb-sum .tot{border-top:1px dashed var(--line);margin-top:6px;padding-top:8px}
.gb-sum .tot b{font-size:20px;color:var(--brand)}
.gb-need{font-size:13px;font-weight:600;border-radius:10px;padding:8px 10px;margin:10px 0}
.gb-need.no{background:var(--warn-soft);color:var(--warn)}
.gb-need.ok{background:var(--trust-soft);color:var(--trust)}
.gb-bar{display:none}
.gb-withdraw{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:14px 0 0;font-size:13.5px;color:var(--muted)}
.gb-regs{display:grid;gap:12px}
.gb-reg{border:1px solid var(--line);border-radius:14px;padding:14px;display:grid;gap:8px}
.gb-reg-h{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.gb-reg-h a{font-size:15px}
.gb-reg-h a:hover{color:var(--brand)}
.gb-reg-m{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:13.5px;color:var(--ink-2)}
.gb-reg-a{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:1100px){
  .gb-head{grid-template-columns:auto minmax(0,1fr)}
  .gb-head .gb-close{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px}
  .gb-flow{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1000px){
  .gb-body{grid-template-columns:minmax(0,1fr)}
  .gb-sum{border-left:0;border-top:1px dashed var(--line)}
  /* Tablet và điện thoại (anh Dương 17/11/2026: ở tablet bảng 7 cột bị ép, tên hoa xuống dòng từng chữ). */
  /* Bảng hoa thành thẻ: ảnh trái, tên và giá phải, ô số lượng và thành tiền ở hàng dưới. */
  .gb-items .only-mob{display:revert!important}
  .gb-items td.lt small.only-mob{display:block!important}
  .gb-items,.gb-items tbody{display:block}
  .gb-items thead{display:none}
  .gb-items tr{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:6px 12px;align-items:center;padding:14px;border-bottom:1px solid var(--line)}
  .gb-items td{border:0;padding:0}
  .gb-items td.bx{display:none}
  .gb-items img{width:64px;height:64px}
  .gb-items td.im{grid-row:1/3;align-self:start}
  .gb-items td.nm{grid-column:2/4;font-size:15px}
  .gb-items td.pr{grid-column:2/4;text-align:left}
  .gb-items td.qt{grid-column:1/3;margin-top:4px}
  .gb-items td.lt{grid-column:3;text-align:right;margin-top:4px}
  .gb-items td.lt small{display:block;color:var(--muted);font-size:12px}
  .gb-items td.cl{order:9;grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;font-size:13px;color:var(--muted)}
  .gb-items .cl input{width:140px}
  .gb-step button{width:48px;height:48px}.gb-step input{width:64px;height:48px;font-size:17px}
}
@media (max-width:760px){
  .gb-rules{grid-template-columns:minmax(0,1fr)}
  .gb-hero{padding:16px;border-radius:18px}
  .gb-hero h1{font-size:22px}
  .gb-flow{grid-template-columns:1fr 1fr}
  .gb-seg{width:100%}.gb-seg a{flex:1;padding:8px 6px}
  .gb-seg-row>span{display:none}
  .gb-head{padding:12px 14px 14px;gap:12px}
  .gb-head>.dl-cal{width:118px}
  /* Điện thoại: tên phiên cạnh tờ lịch; các thông số thành từng dòng "nhãn … giá trị" trải hết bề ngang (không còn chữ bẻ dòng giữa chừng). */
  .gb-info{display:contents}
  .gb-info h1,.gb-info h3{font-size:19px;margin:0;align-self:center;overflow-wrap:break-word}
  .gb-meta{grid-column:1/-1;display:grid;gap:0;font-size:14px}
  .gb-meta span{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line);white-space:normal}
  .gb-meta span b{text-align:right;white-space:nowrap}
  .gb-head .gb-close{display:grid;justify-items:stretch}
  .gb-count{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gb-preview{grid-template-columns:minmax(0,1fr);padding:12px 14px 14px}
  .gb-preview ul{grid-template-columns:minmax(0,1fr)}
  .gb-preview-a{justify-items:stretch}
  .gb-past{padding:4px 14px}
  .gb-past a{flex-direction:column;align-items:flex-start;gap:4px;min-height:44px}
  .gb-past-m{white-space:normal;flex-wrap:wrap}
  .gb-sum .btn{display:none}
  .gb-sum .l{font-size:14.5px;padding:6px 0}
  .gb-form{margin-bottom:8px}
  .gb-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.12);padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:12px;align-items:center;justify-content:space-between}
  .gb-bar small{display:block;color:var(--muted);font-size:12px}
  .gb-bar b{font-size:18px;color:var(--brand)}
  .gb-bar .btn{min-height:48px;flex:none;max-width:60%;white-space:normal;line-height:1.2}
  body:has(.gb-bar){padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .gb-withdraw{justify-content:space-between}
  .gb-reg-a .btn{flex:1}
}

/* == ĐẤU GIÁ == phòng đấu giá hoa ngược /dau-gia, quy chế, "Đấu giá của tôi" (bản duyệt docs/thiet-ke/dalat-flowers-dau-gia.html, 16/11/2026).
   Mỗi phiên chiếm hết chiều ngang: đồng hồ 100 đèn | kiện hàng | ô hành động. Điện thoại: hành động nằm trước bảng chi tiết, nút MUA cao 56px,
   ô nhập chữ 16px. Mặt đồng hồ luôn nền tối (như bảng điện của sàn hoa) ở cả giao diện sáng và tối. Không có hiệu ứng khi prefers-reduced-motion. */
.au-defs{position:absolute}
.au{margin-bottom:28px}
.au .i{width:14px;height:14px}
.au-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;padding:8px 0;background:var(--bg);border-bottom:1px solid var(--line)}
.au-bar .btn{padding:8px 14px;min-height:44px}
.au-bar .btn .n{background:#fff;color:var(--brand);border-radius:99px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;padding:0 6px}
.au-sp{flex:1}
.au-pulse{animation:au-pulse 1s infinite}
@keyframes au-pulse{50%{box-shadow:0 0 0 8px rgba(202,24,75,.18)}}
.au-hero{background:linear-gradient(120deg,var(--brand-soft),var(--info-soft));border-radius:24px;padding:22px;margin:16px 0;display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:center}
.au-hero h1{margin:0 0 6px;font-size:28px;letter-spacing:-.5px}
.au-hero p{margin:0 0 8px;color:var(--ink-2)}
.au-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.au-stat{background:var(--surface);border-radius:16px;padding:12px;box-shadow:var(--shadow)}
.au-stat b{display:block;font-size:22px;font-variant-numeric:tabular-nums}
.au-stat small{color:var(--muted)}
.au-block{font-weight:600}
.au-h{font-size:20px;margin:26px 0 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.au-note{margin:-6px 0 12px;font-size:13px;color:var(--muted)}
.au-muted{color:var(--muted);font-size:13px}
.au-static{padding:14px 16px;margin-bottom:12px}
.au-static h3{margin:0 0 4px;font-size:17px}
.au-static p,.au-static ul{margin:0;color:var(--ink-2);font-size:14px}
.au-static ul{padding-left:18px;margin-top:6px}
.au .empty.card{margin-bottom:12px}
.au-lot{margin-bottom:16px;display:grid;grid-template-columns:270px minmax(0,1fr) 300px;grid-template-areas:"c hd a" "c dt a";grid-template-rows:auto 1fr;overflow:hidden;border-radius:22px}
.au-lot.up{grid-template-columns:150px minmax(0,1fr) 300px}
.au-lot-hd{grid-area:hd;padding:14px 16px 0;min-width:0}
.au-lot-hd h3{margin:6px 0 2px;font-size:18px}
.au-meta{font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:2px 12px;margin:0 0 8px}
.au-px,.au-items .m-spec,.au-lot .pre .hint{display:none}
.au-lot-c{grid-area:c;background:#0f172a;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#e2e8f0}
.au-lot-c.upc{background:var(--surface-2);color:var(--ink);text-align:center;gap:2px}
.au-lot-c.upc b{font-size:20px;font-variant-numeric:tabular-nums}
.au-lot-c.upc small{color:var(--muted)}
.au-dial{position:relative;width:240px;max-width:100%;aspect-ratio:1}
.au-dial svg{width:100%;height:100%;display:block}
.au-dial .ring{fill:none;stroke:#1e293b;stroke-width:2}
.au-dial .lamp{fill:#334155}
.au-dial .lamp.tr{fill:#7f1d3a}
.au-dial .lamp.on{fill:#ff3b6b;filter:drop-shadow(0 0 4px #ff3b6b)}
.au-dial .num{fill:#94a3b8;font-size:9px;font-weight:600}
.au-dial .c{position:absolute;inset:20%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.25}
.au-dial .c small{color:#94a3b8;font-size:11px}
.au-dial .price{font-size:25px;font-weight:800;color:#fff;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.au-dial .cd{font-size:15px;font-weight:700;color:#fbbf24;font-variant-numeric:tabular-nums}
.au-lot-c .state{font-size:12.5px;font-weight:600;text-align:center;min-height:36px}
.au-lot-a{grid-area:a;padding:14px;border-left:1px dashed var(--line);background:linear-gradient(180deg,transparent,var(--brand-soft));display:flex;flex-direction:column;gap:10px}
.au-lot-a label{font-size:12.5px;color:var(--muted);font-weight:600;display:block;margin-bottom:3px}
.au-row{display:flex;gap:8px;align-items:flex-end}
.au-qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--surface);width:max-content}
.au-qty button{width:38px;height:44px;border:0;background:none;font-size:18px;cursor:pointer;color:var(--ink)}
.au-qty input{width:64px;text-align:center;border:0;background:none;font:inherit;font-weight:700;color:var(--ink)}
.au-lot .inp{height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-weight:700;padding:0 10px;width:100%;min-width:0}
.au-lot .buy{font-size:18px;padding:14px;width:100%;letter-spacing:.5px}
.au-lot .act{display:flex;flex-direction:column;gap:10px;order:1}
.au-lot .pre{order:2;border-top:1px dashed var(--line);padding-top:10px}
.au-lot .pre>summary{list-style:none;cursor:default;font-size:12.5px;color:var(--muted);font-weight:600;margin-bottom:3px}
.au-lot .pre>summary::-webkit-details-marker,.au-lot-dt>summary::-webkit-details-marker{display:none}
.au-lot .pre>summary small{font:inherit}
.au-lot .pre>summary .ps:after{content:": "}
.au-lot .pset{min-height:44px}
.au-lot .pre .set{font-size:13px;font-weight:600;color:var(--info);background:var(--info-soft);border-radius:10px;padding:6px 10px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.au-lot .pre .set[hidden],.au-lot .pre-form[hidden]{display:none}
.au-lot .pre .set button{border:0;background:none;color:var(--brand);font:inherit;font-weight:700;cursor:pointer;min-height:32px}
.au-lot-dt{grid-area:dt;padding:0 16px 14px;min-width:0}
.au-lot-dt>summary{display:none}
.au-shots{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px}
.au-shots img{width:132px;height:99px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);flex:none}
.au-wrapx{overflow-x:auto}
.au-items{width:100%;border-collapse:collapse;font-size:13.5px}
.au-items th,.au-items td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.au-items th{color:var(--muted);font-weight:600;font-size:12.5px}
.au-items img{width:38px;height:38px;object-fit:contain;background:var(--surface-2);border-radius:8px;display:block}
.au-kv{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;margin-top:10px}
.au-kv span{color:var(--muted)}
.au-kv b{font-variant-numeric:tabular-nums}
.au-bar2{height:8px;background:var(--line);border-radius:99px;overflow:hidden;margin-top:8px}
.au-bar2 i{display:block;height:100%;width:0;background:var(--trust)}
.au-result{padding:14px 16px;margin-bottom:12px}
.au-result h3{margin:0 0 4px;font-size:17px}
.au-log{padding:12px 14px;font-size:13px;max-height:200px;overflow:auto}
.au-log div{padding:4px 0;border-bottom:1px solid var(--line)}
.au-log div:last-child{border-bottom:0}
.dlg .au-dlg{max-width:860px}
.au-lead{color:var(--ink-2);margin:0 0 12px}
.au-diagram{background:var(--surface-2);border-radius:16px;padding:10px;overflow-x:auto;color:var(--ink)}
.au-diagram svg{width:100%;min-width:560px;height:auto;display:block;font-family:inherit}
.au-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}
.au-step{background:var(--surface-2);border-radius:16px;padding:12px;font-size:13px}
.au-step b{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:4px}
.au-step b i{font-style:normal;width:24px;height:24px;border-radius:50%;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:none}
.au-rules{font-size:14px;margin:0;padding-left:18px}
.au-rules li{margin:4px 0}
.au-rules .i{width:15px;height:15px;vertical-align:-2px}
.au-agree{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.au-agree[hidden]{display:none}
.au-agree label{display:flex;gap:12px;align-items:center;min-height:44px;cursor:pointer;font-size:14px}
.au-agree input{width:24px;height:24px;flex:none;accent-color:var(--brand)}
.au-page{padding:22px;margin:8px 0 28px}
.au-page h1{margin:0 0 8px;font-size:24px}
.au-total{font-size:22px;font-weight:800;color:var(--brand);margin:0 0 4px}
.au-pays{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-top:12px}
.au-payc{border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:4px;font-size:13.5px;align-items:flex-start;overflow-wrap:anywhere}
.au-payc .qr{margin-top:6px}
.au-wins small{color:var(--muted)}
.au-toast{position:fixed;left:16px;bottom:16px;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--trust);border-radius:14px;padding:10px 14px;box-shadow:var(--shadow);font-size:13.5px;max-width:340px;z-index:130;transform:translateY(200%);transition:transform .3s}
.au-toast.on{transform:none}
@media (max-width:1000px){
  .au-lot,.au-lot.up{grid-template-columns:230px minmax(0,1fr);grid-template-areas:"c hd" "c dt" "a a"}
  .au-lot.up{grid-template-columns:120px minmax(0,1fr)}
  .au-lot-a{border-left:0;border-top:1px dashed var(--line)}
}
@media (max-width:860px){
  .au-hero{grid-template-columns:minmax(0,1fr)}
  .au-steps{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .au-steps{grid-template-columns:1fr}
  .au-hero{padding:16px;margin:12px 0;gap:12px}
  .au-hero h1{font-size:23px}
  .au-h{font-size:19px}
  .au-note,.au-meta,.au-kv,.au-lot-a label,.au-items,.au-items th,.au-log,.au-step,.au-stat small{font-size:14px}
  .au-bar>b{display:none}
  .au-bar{gap:8px}
  .au-bar .btn{padding:8px 12px;white-space:nowrap;font-size:13.5px}
  .au-lot,.au-lot.up{grid-template-columns:minmax(0,1fr);grid-template-areas:"hd" "c" "a" "dt";grid-template-rows:auto}
  .au-lot-hd{padding:12px 14px 10px}
  .au-lot.up .au-px{display:block;font-size:14px;margin-top:2px}
  .au-lot-c{display:grid;grid-template-columns:132px minmax(0,1fr);gap:2px 12px;align-items:center;justify-items:start;padding:12px 14px}
  .au-dial{display:contents}
  .au-dial svg{width:132px;height:132px;grid-column:1;grid-row:1/3}
  .au-dial .c{position:static;inset:auto;align-items:flex-start;text-align:left;align-self:end;grid-column:2;grid-row:1}
  .au-dial .c small{font-size:14px}
  .au-dial .price{font-size:24px;white-space:nowrap}
  .au-dial .cd{font-size:19px}
  .au-lot-c .state{font-size:14px;text-align:left;min-height:0;align-self:start;grid-column:2;grid-row:2}
  .au-lot-c.upc{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:2px 10px;padding:10px 14px}
  .au-lot-a{padding:12px 14px;gap:12px}
  .au-lot .act{flex-direction:row;align-items:flex-end;gap:10px}
  .au-qty{border-radius:14px}
  .au-qty button{width:48px;height:56px;font-size:26px}
  .au-qty input{width:60px;height:56px;font-size:19px}
  .au-lot .buy{flex:1;width:auto;min-height:56px;font-size:21px;padding:0 10px}
  .au-lot.up .buy{display:none}
  .au-lot.up .pre:not([open])~.act{display:none}
  .au-lot .pre{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:0}
  .au-lot .pre>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;margin:0;cursor:pointer;color:var(--ink);font-size:15px;font-weight:700}
  .au-lot .pre>summary:after{content:"▾";color:var(--muted)}
  .au-lot .pre[open]>summary:after{content:"▴"}
  .au-lot .pre>summary small{display:none}
  .au-lot .pre>summary .ps:after{content:""}
  .au-lot .pre .hint{display:block;font-size:14px;color:var(--muted);margin:0 14px 8px}
  .au-lot .pre .pre-form,.au-lot .pre .set{margin:0 14px 14px}
  .au-row{gap:10px}
  .au-lot .inp{height:48px;font-size:16px}
  .au-lot .pset{min-height:48px;min-width:76px}
  .au-lot .pre .set{font-size:14px;padding:2px 2px 2px 12px}
  .au-lot .pre .set button{min-width:60px;min-height:44px}
  .au-lot-dt{padding:0 14px 12px}
  .au-lot-dt>summary{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:10px;font-weight:700;font-size:14px;cursor:pointer;list-style:none;border-top:1px dashed var(--line)}
  .au-lot-dt>summary:after{content:"▾";color:var(--muted)}
  .au-lot-dt[open]>summary:after{content:"▴"}
  .au-lot .au-wrapx{overflow:visible}
  .au-lot .au-items,.au-lot .au-items tbody{display:block}
  .au-lot .au-items tr:first-child{display:none}
  .au-lot .au-items tr{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:0 10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
  .au-lot .au-items td{display:block;border:0;padding:0}
  .au-lot .au-items td:nth-child(1){grid-column:1;grid-row:1/3}
  .au-lot .au-items img{width:48px;height:48px}
  .au-lot .au-items td:nth-child(2){grid-column:2;grid-row:1}
  .au-lot .au-items td:nth-child(3),.au-lot .au-items td:nth-child(4){display:none}
  .au-lot .au-items td.m-spec{display:block;grid-column:2;grid-row:2;color:var(--muted)}
  .au-lot .au-items td:nth-child(5){grid-column:3;grid-row:1/3;font-weight:700;white-space:nowrap}
  .dlg:has(.au-dlg){padding:0;place-items:stretch}
  .dlg .au-dlg{border-radius:0;max-height:none;min-height:100%;padding:16px}
  .au-agree .btn{flex:1 1 100%;min-height:50px;font-size:16px}
  .au-toast{left:12px;right:12px;max-width:none;bottom:12px}
}
@media (prefers-reduced-motion:reduce){
  .au-pulse{animation:none}
  .au-toast{transition:none}
  .au-dial .lamp.on{filter:none}
}

/* == TRANG CHỦ: Dự báo + Đấu giá ở cột phải banner, Mua chung đang diễn ra, Zalo ở chân trang (anh chốt 17/11/2026) == */
.home-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-top:12px}
.home-head h1{margin:0;font-size:20px;letter-spacing:-.3px}
.home-head .h2-region{margin:0;color:var(--ink-2);font-size:14px;flex:1 1 260px}
.home-head .btn{padding:7px 12px;font-size:13px}
.hero-side{align-content:stretch}
.hs-card{display:flex;flex-direction:column;gap:8px;padding:14px 16px;color:inherit}
.hs-card:hover{border-color:var(--brand-line)}
.hs-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.hs-h b{display:inline-flex;align-items:center;gap:6px;font-size:15px}.hs-h svg{color:var(--brand)}
.hs-card .fc-rows,.hs-rows{display:grid;gap:5px;font-size:13.5px}
.hs-card .fc-rows>span,.hs-rows>span{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hs-card .fc-rows>span>span:first-child,.hs-rows>span>span:first-child{color:var(--ink-2)}
.hs-card small{color:var(--warn);font-weight:600;font-size:12.5px}
.hs-card .more{margin-top:auto}
.hs-h a{color:inherit}.hs-h a:hover b{color:var(--brand)}
/* Banner thành băng chuyển: mỗi slide phủ kín khung; slide giới thiệu có chữ bên trái trên nền sáng dần, hình chính nằm bên phải ảnh. */
.hero-rot{display:block}
.hero-s{display:none;position:absolute;inset:0;color:#1d1b1c}
.hero-s.on{display:block;animation:hero-in .5s ease}
@keyframes hero-in{from{opacity:0}to{opacity:1}}
.hero-main.pic .hero-s img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover;object-position:right center}
/* Chữ của slide (anh Dương 18/11/2026): ảnh hiện trọn, không phủ lớp trắng; chữ nằm trong một ô chữ nhật bo góc, nền trắng trong khoảng 80% để còn thấy ảnh phía sau.
   Tên chức năng (Mua chung, Đấu giá, Dự báo…) to gấp đôi dòng mô tả bên dưới; dòng phụ nhỏ hơn một cỡ. */
.hero-t{position:absolute;z-index:2;left:22px;top:50%;transform:translateY(-50%);width:min(48%,440px);padding:18px 22px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;background:rgba(255,255,255,.8);border-radius:18px;box-shadow:0 6px 24px rgba(0,0,0,.12)}
.hero-t small{font-size:clamp(30px,3.3vw,42px);font-weight:800;line-height:1.1;letter-spacing:-.8px;color:#ca184b}
.hero-t b{font-size:clamp(15px,1.65vw,21px);line-height:1.25;letter-spacing:-.2px}
.hero-t>span:not(.btn){font-size:13.5px;color:#4b4648;line-height:1.4}
.hero-main .hero-t .btn-p,.hero-main .hero-t .btn-p:hover{background:#ca184b;color:#fff;margin-top:6px;min-height:44px}
.hero-dots{position:absolute;z-index:3;left:0;right:0;bottom:8px}
.hero-dots button{height:24px;width:26px}
.hero-dots button::before{top:10px;background:rgba(255,255,255,.75);box-shadow:0 0 0 1px rgba(0,0,0,.18)}
.hero-dots button.on::before{background:#ca184b}
@media (max-width:1024px){.hero-rot{aspect-ratio:16/9}}
@media (max-width:760px){
  .hero-rot{aspect-ratio:4/3}
  .hero-t>span:not(.btn){display:none}
  .hero-t{left:10px;width:74%;padding:12px 14px 14px;border-radius:14px}
  .hero-t small{font-size:26px}
  .hero-t b{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){.hero-s.on{animation:none}}
/* Giỏ hàng bên phải (màn hình rộng): khi mở thì cả trang lùi sang trái vừa đủ bề ngang giỏ hàng, không còn che vùng thao tác sản phẩm
   (anh Dương 17/11/2026). dalat.js gắn lớp cart-on vào <html> theo trạng thái của #cartbar. Màn hình hẹp hơn 1280px giữ kiểu nổi như cũ. */
@media (min-width:1280px){
  body{transition:padding-right .2s ease}
  html.cart-on body{padding-right:336px}
}
@media (prefers-reduced-motion:reduce){body{transition:none}}
/* Băng chuyển trong ô (dalat.js: [data-rot="mili giây"]); chưa có script thì chỉ hiện .on đầu tiên. */
.hs-rot{display:grid;gap:8px;min-width:0}
.hs-slide{display:none;min-width:0}
.hs-slide.on{display:grid;gap:8px;animation:hs-in .4s ease}
@keyframes hs-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hs-dots{display:flex;gap:6px;justify-content:center;min-height:10px}
.hs-dots button{width:22px;height:10px;padding:0;border:0;background:none;cursor:pointer;position:relative}
.hs-dots button::before{content:"";position:absolute;left:0;right:0;top:3px;height:4px;border-radius:4px;background:var(--line)}
.hs-dots button.on::before{background:var(--brand)}
/* Biểu đồ cột nhỏ của ô Dự báo: 14 ngày, cột cao theo cấp 1–5 (fcm-h1..5), màu theo cấp (fc-lv1..5). */
.fcm-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fcm-n{font-weight:700;font-size:15px;min-width:0;overflow-wrap:break-word}
.fc-sw.fcm-lv{width:auto;height:auto;padding:3px 11px;border-radius:99px;font-size:12.5px;font-weight:700;white-space:nowrap;flex:none}
.fcm-chart{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;align-items:end;height:92px;padding-top:4px}
.fcm-col{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:3px;height:100%;justify-items:stretch;text-align:center}
.fcm-b{display:block;align-self:end;border-radius:4px 4px 2px 2px;min-height:3px}
.fcm-h1{height:20%}.fcm-h2{height:40%}.fcm-h3{height:60%}.fcm-h4{height:80%}.fcm-h5{height:100%}.fcm-h0{height:3px;background:var(--line)}
.hs-slide.on .fcm-b{transform-origin:bottom;animation:fcm-grow .5s ease}
@keyframes fcm-grow{from{transform:scaleY(.15)}to{transform:none}}
.fcm-col small{font-size:10.5px;line-height:1.1;color:var(--muted);font-weight:500}
.fcm-col.today small{color:var(--ink);font-weight:700}
.fcm-col.today .fcm-b{outline:2px solid var(--ink);outline-offset:1px}
/* Ô Đấu giá: ba con số và đồng hồ giá từng phiên. */
.hs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hs-stats>span{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px 6px;text-align:center;display:grid;gap:1px}
.hs-stats b{font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--brand)}
.hs-stats small{font-size:11.5px;color:var(--muted);font-weight:500;line-height:1.25}
.hs-au{grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px}
.hs-slide.on.hs-au{display:grid}
.hs-dial{position:relative;width:104px;height:104px}
.hs-dial svg{width:100%;height:100%;display:block;transform:rotate(-90deg)}
.hs-dial .tr{fill:none;stroke:var(--line);stroke-width:9}
.hs-dial .ar{fill:none;stroke:var(--brand);stroke-width:9;stroke-linecap:round;transition:stroke-dashoffset .3s linear}
.hs-dial.up .ar{stroke:var(--info)}
.hs-dial .c{position:absolute;inset:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;line-height:1.15}
.hs-dial .c small{font-size:10px;color:var(--muted);font-weight:500}
.hs-dial .c b{font-size:15px;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.hs-au-i{display:grid;gap:4px;min-width:0}
.hs-au-i .hs-name{overflow-wrap:break-word;line-height:1.25}
.hs-au-st{font-size:13px;color:var(--ink-2)}
.hs-au-st b{color:var(--brand)}
.hs-bar{height:6px;border-radius:6px;background:var(--line);overflow:hidden}
.hs-bar i{display:block;height:100%;background:var(--trust);border-radius:6px}
.hs-au-q{font-size:12.5px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.hs-slide.on,.hs-slide.on .fcm-b{animation:none}.hs-dial .ar{transition:none}}
.hs-name{font-weight:700;font-size:15px}
.hs-empty{color:var(--muted);font-size:13.5px}
.hs-auction{background:linear-gradient(135deg,var(--surface),var(--brand-soft))}
.hs-live{display:inline-flex;align-items:center;gap:6px}
.hs-live:before{content:"";width:8px;height:8px;border-radius:50%;background:#e5383b;animation:hs-pulse 1.2s infinite}
@keyframes hs-pulse{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.hs-live:before{animation:none}}
.gb-home{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.gb-home-c{display:flex;flex-direction:column;gap:10px;padding:14px 16px;color:inherit}
.gbh-top{display:flex;flex-wrap:wrap;gap:6px}
.gbh-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
.gbh-main .dl-cal{width:114px}.gbh-main .dl-cal-d{font-size:34px}.gbh-main .dl-cal-w{font-size:12.5px}.gbh-main .dl-cal-l{font-size:10.5px}.gbh-main .dl-cal-m{font-size:11px;letter-spacing:0}.gbh-main .dl-cal-a{font-size:10.5px}
.gbh-info{display:grid;gap:6px;min-width:0}
.gbh-name{font-size:16px;line-height:1.3;overflow-wrap:break-word}
.gbh-dl{display:grid;font-size:12.5px;color:var(--muted)}
.gbh-dl b{font-size:14px;color:var(--brand)}
.gbh-min{font-size:12.5px;color:var(--muted)}.gbh-min b{color:var(--ink)}
.gbh-items{display:flex;align-items:center;padding-left:8px;min-height:44px}
.gbh-items img,.gbh-more{width:40px;height:40px;border-radius:50%;border:2px solid var(--surface);margin-left:-8px;object-fit:cover;background:var(--surface-2);box-shadow:0 1px 3px rgba(0,0,0,.15);flex:none}
.gbh-more{display:inline-grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:12.5px;font-weight:700}
.gbh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.gbh-stats>span{background:var(--surface-2);border-radius:10px;padding:6px 4px;text-align:center;display:grid}
.gbh-stats b{font-size:18px;line-height:1.15;font-variant-numeric:tabular-nums}
.gbh-stats small{font-size:11.5px;color:var(--muted);line-height:1.2}
.gb-home-c:hover{border-color:var(--brand-line)}
.gb-home-c .more{margin-top:auto}
.ft-zalo a{display:block;padding:2px 0}
.ft-zalo small{color:#9a9294}

@media (max-width:760px){
  .home-head h1{font-size:18px;flex-basis:100%}
  .home-head .btn{min-height:44px}
  .gb-home{grid-template-columns:1fr}
  .hs-card,.gb-home-c{padding:14px}
  .hs-card .more,.gb-home-c .more{min-height:44px;display:inline-flex;align-items:center}
  .ft-zalo a{padding:11px 0;min-height:44px}
}

/* == HOA YÊU THÍCH: khối hướng dẫn bấm trái tim (Pages/Shared/_WishGuide.cshtml) == */
.wish-guide{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:center;padding:20px 24px;margin:0 0 16px;background:linear-gradient(120deg,var(--brand-soft),var(--surface))}
.listing .wish-guide:last-child{margin:16px 0 0}
.wg-pic{position:relative;width:190px;padding:6px 0 26px}
.wg-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px;box-shadow:var(--shadow);display:grid;gap:7px}
.wg-img{display:grid;place-items:center;height:120px;border-radius:12px;background:var(--surface-2);overflow:hidden}
.wg-img img{height:112px;width:auto}
.wg-l{height:9px;border-radius:9px;background:var(--line)}.wg-l1{width:78%}.wg-l2{width:46%;background:var(--brand-line)}
.wg-heart{top:16px;right:16px;cursor:default}
.wg-heart::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--brand);opacity:.7;animation:wg-pulse 1.6s ease-out infinite}
@keyframes wg-pulse{from{transform:scale(.75);opacity:.8}to{transform:scale(1.5);opacity:0}}
.wg-tip{position:absolute;right:-6px;bottom:0;background:var(--brand);color:#fff;font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:99px;white-space:nowrap}
.wg-tip::before{content:"";position:absolute;right:26px;top:-118px;height:116px;border-left:2px dashed var(--brand)}
.wg-txt h2{margin:0 0 8px;font-size:19px;letter-spacing:-.2px}
.wg-txt ol{margin:0 0 14px;padding-left:20px;color:var(--ink-2);font-size:14.5px}
.wg-txt li{margin:5px 0}
.wg-txt .btn{min-height:44px}
@media (max-width:640px){
  .wish-guide{grid-template-columns:minmax(0,1fr);justify-items:center;padding:16px;gap:14px}
  .wg-txt{justify-self:stretch}
}
@media (prefers-reduced-motion:reduce){.wg-heart::after{animation:none;opacity:.5}}

/* == CHUẨN ĐÓNG GÓI: lưới so sánh 4 hạng và tem từng hạng (duyệt 18/11/2026, demo docs/thiet-ke/dal-chuan-dong-goi-demo.html) == */
.pk-stk{display:block;flex:none;filter:drop-shadow(0 3px 6px rgba(0,0,0,.18))}
.pk-mxbox{margin-top:16px;padding:18px 18px 20px}
.pk-mxbox h2,.pk-stickers h2{margin:0 0 10px;font-size:19px}
.pk-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px}
.pk-mx{width:100%;min-width:900px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px}
.pk-mx col.c0{width:160px}
.pk-mx th,.pk-mx td{padding:10px 14px;border-bottom:1px solid var(--line);border-left:1px solid var(--line);vertical-align:top;text-align:left;overflow-wrap:break-word}
.pk-mx th[scope=row]{position:sticky;left:0;z-index:1;background:var(--surface-2);border-left:0;color:var(--ink-2);font-weight:600;font-size:13.5px}
.pk-mx thead th{text-align:center;vertical-align:bottom;padding:16px 10px 12px;background:var(--surface)}
.pk-mx thead th:first-child{background:var(--surface-2);border-left:0}
.pk-mx thead .pk-stk{margin:0 auto}
.pk-mx tbody tr:last-child th,.pk-mx tbody tr:last-child td{border-bottom:0}
.pk-mx tr.sec th{background:var(--brand-soft);color:var(--brand);font-size:12.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;padding:7px 14px}
.pk-gname{display:block;font-size:17px;font-weight:800;margin-top:8px}
.pk-chips{display:flex;flex-wrap:wrap;gap:6px}
/* Quy cách bó tham khảo: chữ nhân viên gõ tự do, mỗi đoạn giữa hai dấu phẩy nằm trong một ô viền đỏ (anh Dương 18/11/2026). */
.pk-pack{padding:3px 10px;border-radius:8px;border:1.5px solid var(--brand);background:var(--surface);color:var(--brand);font-weight:700;font-size:13.5px;overflow-wrap:anywhere}
.pk-none{color:var(--muted)}
.pk-mx td.pk-warn{color:var(--warn);font-size:13.5px}
.pk-mx .pk-shots{display:grid;gap:8px}
.pk-mx .pk-shots a{position:relative;display:block}
.pk-mx .pk-shots img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block;border:1px solid var(--line)}
.pk-mx .pk-shots .pk-stk{position:absolute;right:8px;top:8px;width:56px;height:56px;transform:rotate(-10deg)}
.pk-stickers{margin-top:22px}
.pk-stickers p{margin:0 0 12px;color:var(--ink-2);font-size:14.5px}
.pk-stk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pk-stk-card{padding:18px 12px 14px;text-align:center;display:grid;justify-items:center;gap:10px}
.pk-sum>.pk-stk{align-self:flex-start}
@media (max-width:760px){
  .pk-mxbox{padding:14px 12px 16px}
  .pk-mx col.c0{width:112px}
  .pk-mx th,.pk-mx td{padding:8px 10px}
  .pk-stk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.pk-mx th small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.pk-mxbox>.pk-note{margin:10px 2px 0}
.pk-sum-packs{display:flex;flex-wrap:wrap;gap:5px;align-items:center}

/* ---------- Đa ngôn ngữ: phông chữ Hán / Kana, nút đổi ngôn ngữ, dải gợi ý (docs/dalat-flowers/da-ngon-ngu-huong-dan.md) ---------- */
/* Be Vietnam Pro không có chữ Hán và Kana: bản Trung giản thể (lang zh-Hans) và bản Nhật dùng phông hệ thống của máy khách, không tải thêm tệp phông. */
/* Be Vietnam Pro đứng đầu: chữ Latin và chữ Việt có dấu trong dữ liệu chưa dịch (tên hoa, tiêu chí…) vẫn hiện đúng dấu; chữ Hán / Kana rơi xuống phông CJK phía sau. */
:root:lang(zh){--font:"Be Vietnam Pro","PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC","Source Han Sans SC",system-ui,-apple-system,"Segoe UI",sans-serif}
:root:lang(ja){--font:"Be Vietnam Pro","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans CJK JP","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif}
/* Chữ của ngôn ngữ khác nằm lẻ trong trang (mục 中文 / 日本語 của nút đổi ngôn ngữ, dải gợi ý). */
[lang|="zh"]:not(html){font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC","Source Han Sans SC",system-ui,sans-serif}
[lang="ja"]:not(html){font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,"Noto Sans CJK JP","Noto Sans JP",system-ui,sans-serif}
/* Nút đổi ngôn ngữ: <details> nên không cần script; máy tính nằm cạnh nút khu vực, điện thoại nằm ở dải trên cùng (hàng nút không còn chỗ). */
.lang{position:relative;flex:none}
.lang>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-weight:600;font-size:13px;line-height:1.55;white-space:nowrap;cursor:pointer}
.lang>summary::-webkit-details-marker{display:none}
.lang>summary::after{content:"";width:6px;height:6px;margin:-3px 0 0 2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);opacity:.6}
.lang>summary:hover,.lang[open]>summary{border-color:var(--brand-line)}
.lang ul{position:absolute;right:0;top:calc(100% + 6px);z-index:60;margin:0;padding:6px;list-style:none;min-width:136px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.lang li a{display:flex;align-items:center;min-height:44px;padding:6px 12px;border-radius:8px;color:var(--ink);font-weight:600;font-size:14px;white-space:nowrap}
.lang li a:hover{background:var(--surface-2);color:var(--ink)}
.lang li a.on{background:var(--brand-soft);color:var(--brand)}
.topbar .lang{margin-left:auto}
.topbar .lang>summary{min-height:44px;padding:0 6px;border:0;background:transparent;color:#fff;font-size:12px}
/* Dải trên cùng tô mọi liên kết màu trắng (.topbar a): các mục trong hộp ngôn ngữ nền sáng phải lấy lại màu chữ. */
.topbar .lang li a,.topbar .lang li a:hover{color:var(--ink);font-weight:600}
.topbar .lang li a.on,.topbar .lang li a.on:hover{color:var(--brand)}
/* Dải gợi ý ở bản Việt khi khách từng chọn ngôn ngữ khác: một dòng, có liên kết sang bản đó và nút đóng. Không tự chuyển trang. */
.langhint{background:var(--info-soft);color:var(--ink);border-bottom:1px solid var(--line);font-size:14px}
.langhint .wrap{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.langhint a{color:var(--info);font-weight:700;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.langhint button{margin-left:auto;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--ink-2);font-size:15px;cursor:pointer;flex:none}
.langhint button:hover{background:var(--surface)}
/* ==== ĐỊA CHỈ 2 CẤP (04/12/2026): ô chọn Phường / xã kiểu combobox (js/hyt-combo.js, bản chép của combo.js website hoayeuthuong.com) ====
 * Ô gõ nhận lại lớp của <select> gốc nên mang đúng kiểu .form input (viền, bo góc, nền, is-invalid). Danh sách thả nằm gọn trong bề ngang của ô
 * (không tràn ngang); điện thoại: chữ 16px (iPhone không tự phóng to khi gõ), mỗi dòng cao từ 44px. Màu theo biến nên chạy cả nền tối.
 */
select.hyt-combo-native{display:none!important}
.hyt-combo{position:relative;display:block;min-width:0}
.hyt-combo[hidden]{display:none!important}
.hyt-combo .hyt-combo-input{display:block;width:100%;max-width:100%;padding-right:44px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:text;-webkit-appearance:none;appearance:none}
.hyt-combo .hyt-combo-input:disabled{cursor:not-allowed}
.hyt-combo .hyt-combo-btn{position:absolute;top:1px;right:1px;bottom:1px;width:44px;margin:0;padding:0;border:0;border-radius:0 11px 11px 0;background:transparent;color:var(--ink-2);cursor:pointer}
.hyt-combo .hyt-combo-btn::before{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-6px 0 0 -4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.hyt-combo.is-open .hyt-combo-btn::before{transform:rotate(-135deg);margin-top:-2px}
.hyt-combo .hyt-combo-btn:disabled{cursor:not-allowed;opacity:.45}
.hyt-combo .hyt-combo-list{position:absolute;z-index:40;left:0;right:0;top:100%;max-height:300px;overflow-y:auto;overscroll-behavior:contain;margin:4px 0 0;padding:4px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.16);-webkit-overflow-scrolling:touch;text-align:left}
.hyt-combo.is-up .hyt-combo-list{top:auto;bottom:100%;margin:0 0 4px}
.hyt-combo .hyt-combo-list[hidden]{display:none}
.hyt-combo .hyt-combo-list li{display:block;margin:0;padding:9px 10px;min-height:40px;border-radius:8px;cursor:pointer;font-size:14px;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.hyt-combo .hyt-combo-opt.is-active{background:var(--brand-soft)}
.hyt-combo .hyt-combo-opt[aria-selected="true"] .hyt-combo-main{font-weight:700;color:var(--brand)}
.hyt-combo .hyt-combo-opt[aria-disabled="true"]{color:var(--muted);cursor:default}
.hyt-combo .hyt-combo-main,.hyt-combo .hyt-combo-sub{display:block}
.hyt-combo .hyt-combo-sub{margin-top:1px;font-size:12px;color:var(--muted)}
.hyt-combo .hyt-combo-list .hyt-combo-empty{color:var(--muted);cursor:default}
@media (hover:hover){.hyt-combo .hyt-combo-opt:not([aria-disabled="true"]):hover{background:var(--brand-soft)}}
.form select:disabled{opacity:.7;cursor:not-allowed}
.form .hint{color:var(--muted);font-size:12.5px;margin-top:4px}
.form .hint[hidden]{display:none}
@media (max-width:760px){
  .form .hyt-combo .hyt-combo-input{font-size:16px;padding-right:48px}
  .hyt-combo .hyt-combo-btn{width:48px}
  .hyt-combo .hyt-combo-list{max-height:50vh}
  .hyt-combo .hyt-combo-list li{min-height:44px;padding:11px 12px;font-size:16px}
  .hyt-combo .hyt-combo-sub{font-size:13px}
}
/* ==== hết ĐỊA CHỈ 2 CẤP ==== */

