/* KT89 Woo Mega Smart Filter v1.2 - Lato font compatible */
.kt89-mega-filter{--kt89-orange:#ff4d00;--kt89-orange2:#ff7a00;--kt89-navy:#0f172a;--kt89-text:#1f2937;--kt89-muted:#6b7280;--kt89-line:#e8edf5;--kt89-soft:#f6f8fb;box-sizing:border-box;width:100%;max-width:100%;font-family:"Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif!important;background:#fff;border:1px solid #edf1f6;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.08);padding:10px;color:var(--kt89-text);overflow:hidden}
.kt89-mega-filter *, .kt89-mega-filter *:before, .kt89-mega-filter *:after{box-sizing:border-box;font-family:inherit!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.kt89-mega-filter:before{content:"";display:block;height:4px;margin:-10px -10px 10px;background:linear-gradient(90deg,var(--kt89-orange),var(--kt89-orange2),#ffb000)}
.kt89-filter-head{display:flex;align-items:center;justify-content:space-between;gap:8px;background:linear-gradient(135deg,#fff6f0,#fff);border:1px solid #ffe0cf;border-radius:15px;padding:10px;margin-bottom:10px}.kt89-eyebrow{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;color:var(--kt89-orange)}.kt89-eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--kt89-orange);box-shadow:0 0 0 4px rgba(255,77,0,.12)}.kt89-filter-head h3{margin:4px 0 0;font-size:16px;line-height:1.15;font-weight:800;color:var(--kt89-navy)}.kt89-active-badge{flex:0 0 auto;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--kt89-orange);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center;box-shadow:0 7px 16px rgba(255,77,0,.24)}
.kt89-searchbox{display:flex;align-items:center;background:#f8fafc;border:1px solid #e5eaf2;border-radius:14px;overflow:hidden;margin:0 0 10px}.kt89-searchbox:focus-within{border-color:#ff9f70;box-shadow:0 0 0 3px rgba(255,77,0,.1)}.kt89-searchbox input[type=search]{min-width:0;width:100%;height:42px;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0 10px!important;font-size:12px!important;color:#111827}.kt89-searchbox button{flex:0 0 38px;width:38px;height:38px;margin:2px;border:0;border-radius:12px;background:var(--kt89-navy);color:#fff;font-size:12px;font-weight:800;cursor:pointer}.kt89-searchbox button:hover{background:var(--kt89-orange)}
.kt89-selected{display:flex;gap:6px;flex-wrap:wrap;background:#fff7f2;border:1px dashed #ffc7ad;border-radius:13px;padding:8px;margin:8px 0 10px}.kt89-selected strong{width:100%;font-size:11px;line-height:1;color:#7c2d12}.kt89-selected span{background:#fff;border:1px solid #ffd3c0;color:#dd3f00;border-radius:999px;padding:5px 7px;font-size:11px;line-height:1.1;font-weight:800}
.kt89-filter-section{border:1px solid #eef2f7;border-radius:15px;background:#fff;margin:9px 0;overflow:hidden}.kt89-section-title{width:100%;border:0;background:#fff;padding:11px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.1;font-weight:800;color:var(--kt89-navy);cursor:pointer;text-align:left;text-transform:uppercase;letter-spacing:.15px}.kt89-section-title span{flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:#fff4ee;color:var(--kt89-orange);display:grid;place-items:center}.kt89-section-title span:after{content:"+";font-size:16px;line-height:1;font-weight:800}.kt89-filter-section.is-open .kt89-section-title{border-bottom:1px solid #f0f3f7}.kt89-filter-section.is-open .kt89-section-title span:after{content:"−"}.kt89-section-body{display:none;padding:9px 10px 10px;background:linear-gradient(180deg,#fff,#fbfcff)}.kt89-filter-section.is-open .kt89-section-body{display:block}
.kt89-cat-tree{display:grid;gap:4px}.kt89-cat-item{margin:0}.kt89-cat-label{position:relative;display:flex;align-items:center;gap:7px;width:100%;min-height:35px;padding:8px 7px;border-radius:12px;cursor:pointer;border:1px solid transparent;transition:.16s;color:#202938}.kt89-cat-label:hover{background:#f7f9fc;border-color:#e7edf5}.kt89-cat-label input{position:absolute;opacity:0;pointer-events:none}.kt89-dot{flex:0 0 auto;width:11px;height:11px;border-radius:50%;border:2px solid #cbd5e1;background:#fff}.kt89-cat-name{flex:1;min-width:0;font-size:12px;line-height:1.22;font-weight:700;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.kt89-cat-label em{flex:0 0 auto;font-style:normal;font-size:10px;line-height:1;color:#64748b;background:#f1f5f9;min-width:22px;text-align:center;padding:5px 6px;border-radius:999px}.kt89-cat-label.is-active{background:linear-gradient(90deg,#fff2ea,#fff);border-color:#ffbc9a;color:#e74600;box-shadow:0 6px 14px rgba(255,77,0,.08)}.kt89-cat-label.is-active .kt89-dot{background:var(--kt89-orange);border-color:var(--kt89-orange);box-shadow:inset 0 0 0 2px #fff}.kt89-cat-label.is-active em{background:#ffe8dc;color:#e74600}.kt89-cat-children{margin:2px 0 4px 13px;padding-left:9px;border-left:1px dashed #d9e1ec}.kt89-cat-children .kt89-cat-label{min-height:31px;padding:7px 6px}.kt89-cat-children .kt89-cat-name{font-size:11.5px;font-weight:700}.kt89-cat-children .kt89-dot{width:8px;height:8px;border-width:1.5px}
.kt89-price-pills{display:grid;grid-template-columns:1fr;gap:7px}.kt89-price-pill{width:100%;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:9px 10px;font-size:12px;line-height:1.1;font-weight:800;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;color:#162033;white-space:nowrap}.kt89-price-pill:after{content:"›";color:#94a3b8;font-size:16px;line-height:1}.kt89-price-pill:hover,.kt89-price-pill.is-active{border-color:#ff8b55;background:#fff5ef;color:#e74600}.kt89-price-pill.is-active:after{content:"✓";font-size:13px;color:#e74600}.kt89-price-inputs{display:grid;grid-template-columns:1fr;gap:7px;margin-top:9px}.kt89-price-inputs label{background:#f8fafc;border:1px solid #e5eaf2;border-radius:12px;padding:7px 9px}.kt89-price-inputs span{display:block;font-size:10px;line-height:1;color:#64748b;margin-bottom:4px;text-transform:uppercase;font-weight:900}.kt89-price-inputs input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important;font-weight:700;font-size:12px;color:#111827}
.kt89-switch{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.25;font-weight:700;margin:8px 0;cursor:pointer;color:#172033}.kt89-switch input{display:none}.kt89-switch span{flex:0 0 36px;width:36px;height:20px;background:#dbe3ee;border-radius:999px;position:relative;transition:.2s}.kt89-switch span:before{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;background:#fff;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.25);transition:.2s}.kt89-switch input:checked+span{background:var(--kt89-orange)}.kt89-switch input:checked+span:before{transform:translateX(16px)}
.kt89-mini-search{width:100%;border:1px solid #e5eaf2!important;background:#f8fafc!important;border-radius:12px!important;padding:9px 10px!important;font-size:12px!important;line-height:1.1!important;margin-bottom:8px;box-shadow:none!important;outline:0!important}.kt89-chip-list{display:flex;flex-wrap:wrap;gap:6px;max-height:178px;overflow:auto;padding-right:2px}.kt89-chip-option input{display:none}.kt89-chip-option span{display:block;border:1px solid #e1e7ef;background:#fff;border-radius:999px;padding:7px 9px;font-size:11px;line-height:1.05;font-weight:700;cursor:pointer;color:#263244}.kt89-chip-option input:checked+span{border-color:#ff8b55;background:#fff2ea;color:#e74600}.kt89-chip-option span:hover{border-color:#ffb28b;color:#e74600}
.kt89-filter-actions{display:grid;grid-template-columns:1fr;gap:7px;position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.72),#fff 40%);padding-top:10px;margin-top:8px}.kt89-apply{border:0;border-radius:14px;background:linear-gradient(135deg,var(--kt89-orange),var(--kt89-orange2));color:#fff;font-size:13px;font-weight:900;padding:12px 10px;cursor:pointer;box-shadow:0 10px 20px rgba(255,82,0,.2)}.kt89-reset{display:block;text-align:center;font-size:12px;font-weight:700;color:#64748b;text-decoration:none;padding:7px 0}.kt89-reset:hover{color:#e74600}
.kt89-recent{margin-top:12px;border:1px solid #eef2f7;border-radius:15px;background:#fff;padding:10px}.kt89-recent h4{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.15px;font-weight:900;color:#0f172a}.kt89-recent-item{display:flex;gap:8px;text-decoration:none;color:#1f2937;padding:8px 0;border-bottom:1px dashed #e5e7eb}.kt89-recent-item:last-child{border-bottom:0}.kt89-recent-item img{flex:0 0 44px;width:44px;height:44px;object-fit:cover;border-radius:10px}.kt89-recent-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;line-height:1.25;font-weight:700}.kt89-recent-item em{display:block;font-style:normal;font-size:11px;color:#e53900;font-weight:900;margin-top:3px}.kt89-filter-loading .products{opacity:.35;filter:grayscale(.2);pointer-events:none}.kt89-filter-loading:after{content:"Đang lọc sản phẩm...";position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:#111827;color:#fff;padding:12px 18px;border-radius:999px;z-index:99999;font-weight:800;box-shadow:0 15px 45px rgba(0,0,0,.25)}
@media(min-width:260px){.kt89-price-inputs{grid-template-columns:1fr 1fr}.kt89-searchbox button{flex-basis:42px;width:42px}.kt89-price-pills{grid-template-columns:1fr 1fr}.kt89-price-pill{justify-content:center;text-align:center;min-height:40px}.kt89-price-pill:after{display:none}}
@media(max-width:220px){.kt89-mega-filter{padding:8px;border-radius:14px}.kt89-mega-filter:before{margin:-8px -8px 8px}.kt89-filter-head{padding:8px}.kt89-filter-head h3{font-size:14px}.kt89-section-title{font-size:11px;padding:10px 9px}.kt89-cat-name{font-size:11px}.kt89-price-pill{font-size:11px;white-space:normal}}

/* Fix lỗi font: đồng bộ toàn bộ input/button/label theo font Lato của website */
.kt89-mega-filter input,
.kt89-mega-filter button,
.kt89-mega-filter select,
.kt89-mega-filter textarea,
.kt89-mega-filter label,
.kt89-mega-filter a,
.kt89-mega-filter span,
.kt89-mega-filter strong,
.kt89-mega-filter em,
.kt89-mega-filter b{font-family:"Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif!important}
.kt89-mega-filter button{appearance:none;-webkit-appearance:none}
.kt89-section-title{text-transform:none!important;letter-spacing:0!important}
.kt89-recent h4{text-transform:none!important;letter-spacing:0!important}
.kt89-eyebrow{letter-spacing:.2px!important}
