/* ===== Danh sách (PUB-03/04/07) ===== */
.top-search{display:flex;gap:14px;align-items:center;margin-bottom:22px;flex-wrap:wrap}
.search-wide{flex:1 1 420px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d6e2e7;border-radius:8px;padding:0 14px;margin:0;min-width:260px;max-width:650px}
.search-wide input{border:0!important;margin:0!important;box-shadow:none!important}
.top-search>.button{padding:12px 34px}
.kpi-row{display:flex;gap:10px;flex-wrap:wrap;flex:1;justify-content:flex-end}
.kpi{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e2ebed;border-radius:10px;padding:8px 16px;min-width:150px;box-shadow:0 2px 8px #163c5510}
.kpi strong{display:block;font-size:13px}
.kpi small{color:#5d7a6c;font-size:11px}
.kpi .ic{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.ic.gold{color:#f2a718}
.ic.green{color:#12975f}
.ic.teal{color:#0b7a98}
.kpi .icon{width:26px;height:26px}
.filters fieldset{border:0;padding:0;margin:0 0 14px;border-bottom:1px solid #e8eeee}
.filters legend{font-weight:700;font-size:12px;margin-bottom:8px;padding:0}
.chk{display:flex;align-items:center;gap:8px;font-weight:500;margin-bottom:8px!important}
.chk input{width:16px;height:16px;accent-color:#0b8a5c;margin:0}
.chk small{color:#789;margin-left:auto}
.stars{display:inline-flex;color:#f2a718}
.stars .icon{width:13px;height:13px;fill:#f2a718}
.list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px;flex-wrap:wrap}
.list-head h2{font-size:17px;margin:0;display:flex;align-items:center;gap:10px}
.list-head p{margin:2px 0 0;font-size:12px}
.hico{display:inline-flex;width:34px;height:34px;background:#e3f4ea;color:#0b8a5c;border-radius:8px;align-items:center;justify-content:center}
.view-switch{display:flex;gap:8px;align-items:center;font-size:12px}
.view-switch select{margin:0;width:auto;padding:7px 10px}
.vbtn{display:inline-flex;gap:6px;align-items:center;border:1px solid #d6e2e7;background:#fff;padding:7px 12px;border-radius:6px;font-size:12px}
.vbtn.on{background:#0b8a5c;color:#fff;border-color:#0b8a5c}
.vbtn .icon{width:14px;height:14px}
.star-badge{position:absolute;left:8px;top:8px;background:#f2a718;color:#fff;font-weight:700;font-size:11px;padding:3px 8px;border-radius:5px;display:flex;align-items:center;gap:3px}
.star-badge .icon{width:12px;height:12px;fill:#fff}
.star-badge.s5{background:#e8532b}
.product-info .loc{display:flex;gap:4px;align-items:center;margin:0 0 8px;min-height:0}
.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.subject-card2{background:#fff;border:1px solid #e2ebed;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px #163c5510;display:flex;flex-direction:column}
.sc-photo{display:block;position:relative;aspect-ratio:1.7;background:#f2f6f3}
.sc-photo>img{width:100%;height:100%;object-fit:cover}
.type-badge{position:absolute;left:8px;top:8px;font-size:11px;font-weight:700;padding:3px 9px;border-radius:5px;background:#fff;color:#1b6bd1}
.type-badge.t-business{color:#e08413}
.type-badge.t-household{color:#0b8a5c}
.sc-body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}
.sc-body h3{font-size:14px;margin:0;line-height:1.4;min-height:40px}
.sc-body p{font-size:11.5px;margin:0;color:#587468;display:flex;gap:5px;align-items:center}
.sc-body p .icon{width:13px;color:#e08413}
.thumbs{display:flex;gap:6px;margin:6px 0;min-height:48px}
.thumbs img{width:calc(33% - 4px);height:48px;object-fit:cover;border-radius:5px}
.sc-body .button{margin-top:auto;font-size:12px}
.as-list{grid-template-columns:1fr!important}
.as-list .product-card,.as-list .subject-card2{display:grid;grid-template-columns:200px 1fr}
.as-list .product-photo,.as-list .sc-photo{aspect-ratio:auto;height:100%;min-height:130px}
@media(max-width:1000px){.subject-grid{grid-template-columns:repeat(2,1fr)}
.kpi-row{justify-content:flex-start}
}
@media(max-width:650px){.subject-grid{grid-template-columns:1fr}
.as-list .product-card,.as-list .subject-card2{grid-template-columns:110px 1fr}
}
.sc-photo{aspect-ratio:auto;height:190px;overflow:hidden}
.sc-photo>img{position:absolute;inset:0}
.as-list .sc-photo{height:auto}
.detail-grid{grid-template-columns:420px 1fr;gap:34px}
.detail-image{height:380px;display:flex;align-items:center;justify-content:center}
.detail-image img{max-width:100%;max-height:100%;height:auto;object-fit:contain}
.gallery{display:flex;gap:8px;margin-top:10px}
.gallery button{border:1px solid #d9e6df;background:#fff;border-radius:8px;padding:2px;width:72px;height:60px}
.gallery img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.star-flag{display:inline-flex;gap:6px;align-items:center;background:#f2a718;color:#fff;font-weight:700;font-size:12px;padding:5px 12px;border-radius:6px;margin-right:6px}
.star-flag .icon{width:14px;fill:#fff}
.type-flag{display:inline-block;background:#e1ecfb;color:#1b62b8;font-weight:700;font-size:12px;padding:5px 12px;border-radius:6px}
.kv.wide{display:grid;grid-template-columns:150px 1fr;gap:8px 12px;font-size:13px;margin:12px 0}
.kv.wide dt{color:#6a8177}
.kv.wide dd{margin:0;font-weight:600}
.claim{display:flex;gap:6px;align-items:center;font-size:13px}
.claim .icon{width:16px;color:#f2a718;fill:#f2a718}
.detail-map{height:320px;border-radius:10px;overflow:hidden;background:#cfe0e6}
@media(max-width:1000px){.detail-grid{grid-template-columns:1fr}
}
.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.stat-grid h2{font-size:15px}
.bars{display:flex;flex-direction:column;gap:10px}
.bar{display:grid;grid-template-columns:170px 1fr 36px;gap:12px;align-items:center;font-size:12px}
.bar div{background:#e8f1ec;border-radius:20px;height:12px}
.bar i{display:block;height:100%;background:linear-gradient(90deg,#0b8a5c,#33b97f);border-radius:20px}
.about-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}
.about-grid .hico{margin-bottom:8px}
.contact-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:24px}
.contact-grid .button{margin:6px 8px 0 0}
.fb-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}
.news-row h2 a:hover{color:#0b8a5c}
@media(max-width:1000px){.stat-grid,.about-grid,.contact-grid,.fb-grid{grid-template-columns:1fr}
.bar{grid-template-columns:110px 1fr 30px}
}
.search-wide{flex:1 1 300px;max-width:520px}
.kpi-row{flex:2 1 520px;flex-wrap:nowrap}
.kpi{min-width:0;flex:1;padding:8px 12px}
.kpi strong{font-size:12.5px;white-space:nowrap}
@media(max-width:1100px){.kpi-row{flex-wrap:wrap}
.kpi{flex:1 1 150px}
}
/* ===== Theo prototype 08/09: chủ thể 3 cột ===== */
.catalog-layout.with-aside{grid-template-columns:240px minmax(0,1fr) 360px}
.with-aside .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1500px){.with-aside .subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog-layout.with-aside{grid-template-columns:240px minmax(0,1fr) 380px}
}
.side-stack{display:flex;flex-direction:column;gap:16px}
.side-stack .section-heading h2{font-size:14px}
.side-map{height:240px!important}
.register-cta{align-self:center;white-space:nowrap}
.donut-row{display:grid;grid-template-columns:70px 100px 1fr;gap:12px;align-items:center}
.donut-total strong{display:block;font-size:30px;line-height:1;color:#13334a}
.donut-total small{font-size:10px;color:#6a8177}
.donut{width:100px;height:100px;border-radius:50%;position:relative}
.donut i{position:absolute;inset:22px;background:#fff;border-radius:50%}
.donut-legend{list-style:none;margin:0;padding:0;font-size:11px;display:flex;flex-direction:column;gap:6px}
.donut-legend li{display:flex;gap:6px;align-items:center}
.donut-legend span{width:8px;height:8px;border-radius:50%}
.donut-legend b{margin-left:auto;font-weight:600;font-size:10.5px}
.feat-subjects{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.feat-subjects a{font-size:10.5px;font-weight:600;text-align:center;line-height:1.3}
.feat-subjects img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px}
@media(max-width:1200px){.catalog-layout.with-aside{grid-template-columns:230px 1fr}
.side-stack{grid-column:1/-1}
}
@media(max-width:900px){.catalog-layout.with-aside{display:block}
}
/* Sản phẩm: lưới 6 cột như prototype 02 */
@media(min-width:1400px){.catalog-products{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px}}
@media(min-width:1100px) and (max-width:1399px){.catalog-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
.catalog-products .product-photo{aspect-ratio:1.45}
.catalog-products .product-photo img{object-fit:cover}
.catalog-products .product-name{font-size:12.5px;font-weight:700;line-height:1.35;display:block;min-height:34px}
.catalog-products .product-info p{font-size:10.5px;margin:5px 0;min-height:0}
.sh-ic.green{background:#e3f4ea;color:#0b8a5c}
.donut-row{grid-template-columns:auto 100px;justify-content:space-between}
.donut-legend{grid-column:1/-1}
.with-aside~*,.catalog-layout.with-aside .kpi{min-width:0}
.top-search .kpi{min-width:0;padding:8px 12px}
.top-search .kpi small{white-space:nowrap}
.sc-photo{height:150px!important}
/* Tin tức / Văn bản tham chiếu,số liệu báo cáo */
.ref-news{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:14px}
.ref-card{display:grid;grid-template-columns:200px 1fr;gap:14px;background:#fff;border:1px solid #e2ebed;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #163c5510}
.ref-card:hover{border-color:#8fd0b0}
.ref-card img{width:100%;height:100%;min-height:150px;object-fit:cover}
.ref-card div{padding:14px 14px 14px 0}
.ref-card h2{font-size:15px;margin:4px 0 6px;line-height:1.35}
.ref-card p{font-size:12px;color:#587468;margin:0 0 6px}
.ref-card small{color:#0b8a5c;font-weight:600}
.table-wrap{overflow:auto;margin-top:12px}
.dt .block{display:block;font-size:11px;margin-top:2px}
.reported-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:12px 0}
.rep{background:#f2f8f5;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:3px}
.rep strong{font-size:30px;color:#0b6a45;line-height:1}
.rep span{font-weight:700;font-size:13px}
.rep small{font-size:11px;color:#587468}
.rep a{font-size:11px;color:#0b8a5c;font-weight:600}
@media(max-width:1000px){.ref-news,.reported-grid{grid-template-columns:1fr}
.ref-card{grid-template-columns:120px 1fr}
}
.lead-desc{font-size:14px;color:#3d5a4d;margin:6px 0 10px;line-height:1.6}
.about-h{font-size:18px;margin:26px 0 10px;color:#0f3b2d}
.about-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.about-list li{display:flex;gap:10px;align-items:flex-start}
.about-list .icon{width:20px;height:20px;color:#12975f;flex:0 0 20px;margin-top:2px}
.about-grid.mod8{grid-template-columns:repeat(4,1fr)}
.about-grid.mod8 a.panel:hover{border-color:#8fd0b0}
@media(max-width:1000px){.about-grid.mod8{grid-template-columns:1fr 1fr}
}


/* Bộ lọc tự áp dụng khi chọn — ẩn nút “Áp dụng bộ lọc”, giữ nút xóa lọc */
.filter-actions>button.button.full{display:none}
