.hth-catalog-page{padding:34px 0 60px;background:#fff}.hth-catalog-topline{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}.hth-catalog-topline h1{font-size:38px;margin:5px 0 0}.hth-catalog-tools{display:flex;align-items:center;gap:12px}.hth-mobile-filter-open{display:none}.woocommerce-ordering{margin:0!important}.woocommerce-ordering select{padding:10px 38px 10px 12px;border:1px solid #ddd;border-radius:8px;background:#fff}.hth-catalog-filter-form{position:relative}.hth-filter-quickbar{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:16px}.hth-filter-quickbar button{min-height:58px;border:1px solid #ddd;background:#fff;border-radius:8px;padding:10px 12px;font-weight:700;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer}.hth-filter-quickbar button.is-active,.hth-filter-quickbar button:hover{border-color:#ef1b24;color:#ef1b24}.hth-filter-quickbar button.is-more{border-color:#ef1b24}.hth-filter-quickbar b{display:inline-grid;place-items:center;width:22px;height:22px;background:#ef1b24;color:#fff;border-radius:50%;font-size:14px}.hth-filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.hth-filter-chips>span{font-weight:700}.hth-filter-chip{border:1px solid #f0caca;background:#fff5f5;color:#bb161c;border-radius:6px;padding:7px 10px;cursor:pointer}.hth-filter-chips>a{margin-left:auto;color:#e9151d;font-weight:700}.hth-filter-detail{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #e7e7e7;border-radius:10px;overflow:hidden;background:#fff;margin-bottom:24px}.hth-filter-detail>[data-filter-panel]{min-width:0;border-right:1px solid #eee}.hth-filter-detail>[data-filter-panel]:not(.is-active){display:none}.hth-filter-detail>[data-filter-panel].is-active{display:block;grid-column:1/-1}.hth-filter-detail .hth-filter-more-grid.is-active{display:grid;grid-template-columns:repeat(3,1fr)}.hth-filter-group{border:0;margin:0;padding:18px}.hth-filter-group legend{font-weight:800;color:#e9151d;padding:0 0 10px;font-size:14px}.hth-filter-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 18px}.hth-filter-more-grid .hth-filter-options{grid-template-columns:1fr}.hth-filter-options label{display:flex;align-items:flex-start;gap:6px;font-size:14px;line-height:1.4;cursor:pointer}.hth-filter-options input{margin-top:2px;accent-color:#e9151d}.hth-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;align-items:center;padding:13px 18px;border-top:1px solid #eee;background:#fff}.hth-filter-actions>a{color:#e9151d;font-weight:700}.hth-mobile-filter-drawer{display:none}.hth-result-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hth-result-head .woocommerce-result-count{margin:0!important;color:#777;font-size:14px}.hth-catalog-products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hth-catalog-card{border:1px solid #e7e7e7;border-radius:10px;overflow:hidden;background:#fff;transition:.2s ease}.hth-catalog-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.06)}.hth-catalog-card-image{display:block;aspect-ratio:1.1;background:#fff}.hth-catalog-card-image img{width:100%;height:100%;object-fit:contain;padding:14px}.hth-catalog-card-copy{padding:14px}.hth-catalog-card h2{font-size:17px;line-height:1.4;margin:0 0 6px}.hth-catalog-card p.brand{font-size:14px;color:#e9151d;margin:0 0 6px;font-weight:700}.hth-card-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px;color:#777;margin-bottom:12px}.hth-card-meta .stock.in{color:#198f3f}.hth-card-meta .stock.out{color:#b66b00}.hth-card-quote{display:block;border:1px solid #e9151d;color:#e9151d;text-align:center;font-weight:700;border-radius:6px;padding:9px}.hth-pagination{margin-top:28px}.hth-pagination ul{display:flex!important;justify-content:center;gap:6px;border:0!important}.hth-pagination li{border:0!important}.hth-pagination a,.hth-pagination span{border:1px solid #ddd!important;border-radius:6px!important;min-width:38px;text-align:center}.hth-pagination .current{background:#e9151d!important;color:#fff!important}.hth-no-products{padding:36px;border:1px dashed #ddd;border-radius:10px;text-align:center;color:#777}
@media(max-width:1050px){.hth-filter-quickbar{grid-template-columns:repeat(4,1fr)}.hth-catalog-products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.hth-catalog-topline{align-items:center}.hth-mobile-filter-open{display:inline-flex;border:1px solid #e9151d;background:#fff;color:#e9151d;border-radius:8px;padding:10px 13px;font-weight:800}.hth-filter-quickbar,.hth-filter-detail,.hth-filter-chips{display:none}.hth-catalog-products{grid-template-columns:1fr}.hth-catalog-card{display:grid;grid-template-columns:125px 1fr}.hth-catalog-card-image{aspect-ratio:1}.hth-catalog-card-copy{padding:12px}.hth-catalog-card h2{font-size:16px}.hth-mobile-filter-drawer{display:flex;position:fixed;z-index:9999;left:0;right:0;bottom:0;top:12vh;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -20px 60px rgba(0,0,0,.2);flex-direction:column;transform:translateY(105%);transition:.25s ease}.hth-mobile-filter-drawer.is-open{transform:translateY(0)}body.hth-filter-open:before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9998}.hth-mobile-filter-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #eee;font-size:18px}.hth-mobile-filter-close{border:0;background:transparent;font-size:30px}.hth-mobile-filter-body{overflow:auto;padding-bottom:18px}.hth-mobile-filter-body .hth-filter-group{border-bottom:1px solid #eee}.hth-mobile-filter-body .hth-filter-options{grid-template-columns:1fr 1fr}.hth-mobile-filter-footer{margin-top:auto;padding:12px 18px;border-top:1px solid #eee;display:grid;grid-template-columns:120px 1fr;gap:10px;align-items:center;background:#fff}.hth-mobile-filter-footer>a{text-align:center;color:#e9151d;font-weight:700}.hth-mobile-filter-footer .btn{width:100%}.hth-result-head .woocommerce-result-count{display:none}}
@media(max-width:450px){.hth-catalog-topline{display:block}.hth-catalog-tools{margin-top:12px;justify-content:space-between}.hth-mobile-filter-body .hth-filter-options{grid-template-columns:1fr}.hth-catalog-card{grid-template-columns:110px 1fr}}
@media(min-width:761px){.hth-filter-detail{grid-template-columns:repeat(7,minmax(0,1fr))}.hth-filter-detail>[data-filter-panel],.hth-filter-detail>[data-filter-panel]:not(.is-active),.hth-filter-detail>[data-filter-panel].is-active{display:block!important;grid-column:auto!important}.hth-filter-detail .hth-filter-more-grid,.hth-filter-detail .hth-filter-more-grid.is-active{display:block!important}.hth-filter-detail .hth-filter-options{grid-template-columns:1fr}.hth-filter-detail .hth-filter-group{padding:16px 12px}.hth-filter-detail .hth-filter-actions{grid-column:1/-1!important}.hth-filter-detail>[data-filter-panel]:nth-child(6){border-right:1px solid #eee}.hth-filter-detail>[data-filter-panel]:nth-child(7){border-right:0}}
body.hth-catalog-loading .hth-catalog-shell{opacity:.55;pointer-events:none}

.hth-catalog-card-image{position:relative}.hth-product-card-badge{position:absolute;z-index:3;top:12px;left:12px;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 11px;border-radius:5px;color:#fff;font-size:13px;font-weight:800;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.08)}.hth-product-card-badge.is-exclusive{background:#e3131c}.hth-product-card-badge.is-bestseller{background:#d99a22}@media(max-width:760px){.hth-product-card-badge{top:8px;left:8px;font-size:11px;min-height:24px;padding:4px 8px}}
/* v7.31 - desktop filter matrix matching HTH reference */
@media(min-width:761px){
.hth-filter-detail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;overflow:visible}
.hth-filter-detail>[data-filter-panel],.hth-filter-detail>[data-filter-panel]:not(.is-active),.hth-filter-detail>[data-filter-panel].is-active{display:block!important;grid-column:auto!important;border-right:1px solid #eee}
.hth-filter-detail .hth-filter-more-grid,.hth-filter-detail .hth-filter-more-grid.is-active{display:block!important}
.hth-filter-detail .hth-filter-group{padding:16px 13px}
.hth-filter-detail .hth-filter-options,.hth-filter-detail .hth-filter-more-grid .hth-filter-options{grid-template-columns:1fr;gap:7px}
.hth-filter-detail .hth-filter-more-grid .hth-filter-group+ .hth-filter-group{border-top:1px dashed #efcaca}
.hth-filter-actions{grid-column:1/-1!important}
}
.hth-catalog-loading .hth-catalog-shell{opacity:.55;pointer-events:none}.hth-catalog-shell{transition:opacity .18s ease}

/* v7.42 - bộ lọc B2B đầy đủ */
.hth-filter-empty{font-size:13px;color:#999;font-style:italic;display:block;padding:2px 0 8px}
@media(min-width:761px){
  .hth-filter-quickbar{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
  .hth-filter-quickbar button{font-size:14px;line-height:1.25;min-width:0}
  .hth-filter-detail{grid-template-columns:repeat(7,minmax(0,1fr));border-color:#eadede}
  .hth-filter-detail>[data-filter-panel]{min-height:245px}
  .hth-filter-detail .hth-filter-options{max-height:390px;overflow:auto;padding-right:2px}
  .hth-filter-detail .hth-filter-more-grid{min-height:245px}
  .hth-filter-detail .hth-filter-more-grid .hth-filter-group{padding-bottom:12px}
  .hth-filter-actions{position:relative;z-index:2}
}

/* v7.44 - desktop dropdown panels + mobile drawer accordion */
@media(min-width:761px){
  .hth-filter-detail{display:none!important;grid-template-columns:1fr!important;border:1px solid #eee!important;border-radius:10px!important;overflow:hidden!important;margin:0 0 22px!important;background:#fff!important}
  .hth-filter-detail.is-open{display:grid!important}
  .hth-filter-detail>[data-filter-panel],
  .hth-filter-detail>[data-filter-panel]:not(.is-active){display:none!important;min-height:0!important;border:0!important;grid-column:1/-1!important}
  .hth-filter-detail>[data-filter-panel].is-active{display:block!important;grid-column:1/-1!important}
  .hth-filter-detail .hth-filter-more-grid.is-active{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hth-filter-detail .hth-filter-group{padding:18px 20px!important}
  .hth-filter-detail .hth-filter-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px 20px!important;max-height:320px;overflow:auto}
  .hth-filter-detail .hth-filter-more-grid .hth-filter-options{grid-template-columns:1fr!important;max-height:260px}
  .hth-filter-detail .hth-filter-more-grid .hth-filter-group+ .hth-filter-group{border-top:0!important;border-left:1px solid #eee}
  .hth-filter-actions{display:none!important}
  .hth-filter-detail.is-open .hth-filter-actions{display:flex!important;grid-column:1/-1!important}
  /* Chỉ xoay mũi tên; không xoay icon/chữ/nội dung nút. */
  .hth-filter-quickbar button .hth-filter-chevron{transition:transform .2s ease}
  .hth-filter-quickbar button.is-active .hth-filter-chevron{transform:rotate(180deg)}
}
@media(max-width:760px){
  .hth-catalog-topline{display:block}
  .hth-catalog-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
  .hth-mobile-filter-open{display:flex;align-items:center;justify-content:center;min-height:44px}
  .hth-catalog-tools .woocommerce-ordering{width:100%}
  .hth-catalog-tools .woocommerce-ordering select{width:100%;height:44px}
  .hth-mobile-filter-drawer{top:6vh;border-radius:18px 18px 0 0}
  .hth-mobile-filter-head{position:sticky;top:0;z-index:3;background:#fff;color:#e9151d;justify-content:center}
  .hth-mobile-filter-close{position:absolute;right:16px;top:7px;color:#e9151d}
  .hth-mobile-filter-body{padding:0 16px 100px}
  .hth-mobile-filter-body .hth-filter-group{padding:0!important;border-bottom:1px solid #eee!important}
  .hth-mobile-filter-body .hth-filter-group legend{position:relative;width:100%;padding:15px 34px 15px 4px!important;margin:0!important;color:#111!important;font-size:16px!important;cursor:pointer}
  .hth-mobile-filter-body .hth-filter-group legend:after{content:'›';position:absolute;right:6px;top:12px;color:#e9151d;font-size:25px;line-height:1;transition:.2s}
  .hth-mobile-filter-body .hth-filter-group.is-open legend:after{transform:rotate(90deg)}
  .hth-mobile-filter-body .hth-filter-options{display:none!important;grid-template-columns:1fr!important;padding:0 6px 14px 12px;gap:8px!important}
  .hth-mobile-filter-body .hth-filter-group.is-open .hth-filter-options{display:grid!important}
  .hth-mobile-filter-body .hth-filter-group.has-value legend{color:#e9151d!important}
  .hth-mobile-more-title{display:flex;align-items:center;justify-content:space-between;padding:16px 4px;font-size:16px;font-weight:800;color:#111;border-bottom:1px solid #eee;cursor:pointer}
  .hth-mobile-more-title>span:first-child{color:#e9151d}.hth-mobile-more-title .hth-filter-chevron{color:#e9151d;transition:transform .2s ease}.hth-mobile-more-title.is-open .hth-filter-chevron{transform:rotate(180deg)}
  .hth-mobile-more-filters{display:none;border:1px solid #f2dada;border-radius:10px;margin-top:10px;overflow:hidden}.hth-mobile-more-filters.is-open{display:block}
  .hth-mobile-filter-footer{position:sticky;bottom:0;z-index:4;grid-template-columns:100px 1fr;padding:10px 16px;background:#fff;box-shadow:0 -4px 14px rgba(0,0,0,.06)}
  .hth-mobile-filter-footer .btn{margin:0!important;background:#e9151d!important;border-radius:7px!important;min-height:44px!important}
}


/* v7.45 - equal quote buttons + clean filter chevrons */
@media (min-width:761px){
  .hth-catalog-products{align-items:stretch}
  .hth-catalog-card{display:flex;flex-direction:column;height:100%}
  .hth-catalog-card-image{flex:0 0 auto}
  .hth-catalog-card-copy{display:flex;flex-direction:column;flex:1 1 auto;height:100%}
  .hth-card-meta{margin-bottom:12px}
  .hth-card-quote{margin-top:auto;min-height:42px;display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box}
}
.hth-filter-quickbar button .hth-filter-chevron{
  position:relative;display:block;flex:0 0 18px;width:18px;height:18px;margin-left:auto;transition:transform .2s ease
}
.hth-filter-quickbar button .hth-filter-chevron:before{
  content:"";position:absolute;left:50%;top:46%;width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:translate(-50%,-60%) rotate(45deg);border-radius:1px
}
.hth-filter-quickbar button.is-active .hth-filter-chevron{transform:rotate(180deg)}
.hth-filter-quickbar button.is-more{gap:7px}
.hth-filter-quickbar button.is-more b{margin-left:auto}
.hth-filter-quickbar button.is-more b + .hth-filter-chevron{margin-left:0}
/* override legacy span rotation; v7.45 rotates the chevron wrapper itself */
@media(min-width:761px){
 .hth-filter-quickbar button.is-active span.hth-filter-chevron{transform:rotate(180deg)}
 .hth-filter-quickbar button span.hth-filter-chevron{transition:transform .2s ease}
}


/* v7.58 - Nhóm sản phẩm hiển thị theo đúng 3 ngành hàng */
.hth-filter-options-grouped{display:block!important;max-height:390px;overflow:auto}
.hth-filter-parent-block{padding:0 0 10px;margin:0 0 10px;border-bottom:1px dashed #efcaca}
.hth-filter-parent-block:last-child{border-bottom:0;margin-bottom:0}
.hth-filter-parent-block>strong{display:block;color:#e9151d;font-size:14px;line-height:1.35;margin:0 0 7px}
.hth-filter-parent-block label{display:flex!important;margin:0 0 6px}
@media(max-width:760px){.hth-filter-options-grouped{padding-left:12px!important}.hth-filter-parent-block{padding:8px 0 2px}}

/* ==========================================================
 * v7.61 - CATALOG MOBILE FONT + ORDER SELECT FIX
 * - Font tiếng Việt ổn định, không dùng synthetic bold.
 * - Chữ thường 16px, chữ phụ 14px.
 * - Select sắp xếp không vượt viewport trên mobile.
 * ========================================================== */
.hth-catalog-page,
.hth-catalog-page button,
.hth-catalog-page input,
.hth-catalog-page select,
.hth-catalog-page textarea,
.hth-catalog-page label,
.hth-catalog-page legend,
.hth-mobile-filter-drawer,
.hth-mobile-filter-drawer button,
.hth-mobile-filter-drawer input,
.hth-mobile-filter-drawer select,
.hth-mobile-filter-drawer label,
.hth-mobile-filter-drawer legend{
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
  font-synthesis:none!important;
  text-rendering:optimizeLegibility;
}
.hth-catalog-page{font-size:16px;line-height:1.5}
.hth-catalog-page h1,.hth-catalog-page h2,.hth-catalog-page h3,
.hth-catalog-page strong,.hth-catalog-page b,
.hth-mobile-filter-drawer strong,.hth-mobile-filter-drawer legend{
  font-weight:700!important;
  font-synthesis:none!important;
}
.hth-filter-options label,
.hth-filter-parent-block>strong,
.hth-result-head .woocommerce-result-count,
.hth-card-meta,
.hth-catalog-card p.brand,
.hth-filter-empty{font-size:14px!important}
.hth-filter-quickbar button,
.hth-filter-chip,
.hth-filter-actions,
.hth-mobile-filter-open,
.woocommerce-ordering select{font-size:16px!important;font-weight:600!important}
.woocommerce-ordering,
.woocommerce-ordering select{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

@media(max-width:760px){
  .hth-catalog-page{overflow-x:hidden}
  .hth-catalog-topline,.hth-catalog-tools{min-width:0!important;width:100%!important}
  .hth-catalog-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
  .hth-catalog-tools>*{min-width:0!important;max-width:100%!important}
  .hth-catalog-tools .woocommerce-ordering{float:none!important;margin:0!important;width:100%!important;min-width:0!important;overflow:hidden}
  .hth-catalog-tools .woocommerce-ordering select{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:44px!important;
    padding:0 34px 0 12px!important;
    margin:0!important;
    border:1px solid #d9d9d9!important;
    border-radius:8px!important;
    background-color:#fff!important;
    font-size:16px!important;
    line-height:44px!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    box-sizing:border-box!important;
  }
  .hth-mobile-filter-head{font-size:16px!important;font-weight:700!important}
  .hth-mobile-filter-body .hth-filter-group legend{
    font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;
    font-size:16px!important;
    font-weight:700!important;
    line-height:1.35!important;
    letter-spacing:0!important;
  }
  .hth-mobile-filter-body .hth-filter-options label{
    font-size:14px!important;
    font-weight:400!important;
    line-height:1.45!important;
  }
  .hth-mobile-more-title{font-size:16px!important;font-weight:700!important}
}

@media(max-width:420px){
  .hth-catalog-tools{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important}
  .hth-mobile-filter-open,.hth-catalog-tools .woocommerce-ordering select{font-size:15px!important}
}

/* ==========================================================
 * v7.62 - PRODUCT CARD TITLE SIZE FIX
 * typography.css có rule body h2 26px !important; override riêng
 * tiêu đề card sản phẩm để không bị phóng quá lớn ở trang danh mục.
 * ========================================================== */
.hth-catalog-page .hth-catalog-card h2{
  font-size:18px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:-.01em;
  margin:0 0 6px!important;
}
@media(max-width:760px){
  .hth-catalog-page .hth-catalog-card h2{
    font-size:16px!important;
    line-height:1.35!important;
  }
}


/* ==========================================================
 * v7.63 - MOBILE FILTER UI MATCH HTH REFERENCE
 * Drawer dạng bottom-sheet, hàng lọc có icon + giá trị đã chọn,
 * Bộ lọc thêm mở rộng 3 nhóm, chip đã chọn hiển thị trên mobile.
 * ========================================================== */
.hth-mobile-result-summary{display:none}
.hth-toolbar-icon{font-size:18px;line-height:1}
.hth-filter-count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-left:3px;border-radius:10px;background:#e9151d;color:#fff;font-size:12px!important;line-height:1;font-weight:700!important}

@media(max-width:760px){
  .hth-catalog-page{padding-top:18px}
  .hth-catalog-topline h1{font-size:30px!important;line-height:1.15!important;margin-top:4px!important}
  .hth-catalog-tools{margin-top:12px!important}
  .hth-mobile-filter-open{gap:7px!important;border-radius:8px!important;font-weight:700!important}
  .hth-mobile-filter-open .hth-filter-count-badge{background:#e9151d!important;color:#fff!important}

  .hth-mobile-result-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px;font-size:14px}
  .hth-mobile-result-summary strong{font-size:14px!important;color:#111}
  .hth-mobile-result-summary a{font-size:13px;color:#e9151d;text-decoration:underline;font-weight:600}
  .hth-catalog-filter-form>.hth-filter-chips{display:flex!important;gap:7px!important;margin:0 0 12px!important;padding:0!important;overflow-x:auto;flex-wrap:wrap!important;scrollbar-width:none}
  .hth-catalog-filter-form>.hth-filter-chips::-webkit-scrollbar{display:none}
  .hth-catalog-filter-form>.hth-filter-chips>span{display:none}
  .hth-catalog-filter-form>.hth-filter-chips>a{display:none}
  .hth-catalog-filter-form>.hth-filter-chips .hth-filter-chip{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px!important;border:0!important;background:#fff3f3!important;color:#d71920!important;border-radius:5px!important;font-size:12px!important;line-height:1.2!important;font-weight:600!important;white-space:nowrap}

  .hth-mobile-filter-drawer{
    left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;height:min(88dvh,760px)!important;max-height:88dvh!important;
    border-radius:18px 18px 0 0!important;overflow:hidden!important;
    background:#fff!important;box-shadow:0 -16px 48px rgba(0,0,0,.18)!important;
  }
  body.hth-filter-open{overflow:hidden!important}
  body.hth-filter-open:before{background:rgba(0,0,0,.42)!important}
  .hth-mobile-filter-head{
    flex:0 0 56px;min-height:56px;padding:0 18px!important;border-bottom:1px solid #eee!important;
    font-size:18px!important;background:#fff!important;color:#e9151d!important;position:relative!important;
  }
  .hth-mobile-filter-head strong{font-size:18px!important;font-weight:700!important}
  .hth-mobile-filter-close{right:16px!important;top:10px!important;width:36px;height:36px;display:grid;place-items:center;font-size:26px!important;line-height:1!important}
  .hth-mobile-filter-body{padding:0 16px 92px!important;overflow-y:auto!important;overscroll-behavior:contain}
  .hth-mobile-main-filters{border-bottom:0}
  .hth-mobile-filter-body .hth-filter-group{border-bottom:1px solid #ededed!important;background:#fff}
  .hth-mobile-filter-body .hth-filter-group legend{
    display:flex!important;align-items:center!important;gap:10px!important;min-height:54px!important;
    padding:10px 30px 10px 0!important;position:relative!important;color:#111!important;cursor:pointer!important;
  }
  .hth-mobile-filter-body .hth-filter-group legend:after{
    content:''!important;right:3px!important;top:50%!important;width:8px!important;height:8px!important;
    border-right:2px solid #e9151d!important;border-bottom:2px solid #e9151d!important;
    transform:translateY(-60%) rotate(-45deg)!important;font-size:0!important;transition:.2s!important;
  }
  .hth-mobile-filter-body .hth-filter-group.is-open legend:after{transform:translateY(-40%) rotate(45deg)!important}
  .hth-mobile-legend-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}
  .hth-mobile-row-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;color:#e9151d}
  .hth-mobile-row-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .hth-mobile-row-title{font-size:15px;font-weight:600;line-height:1.25;color:#111;white-space:nowrap}
  .hth-mobile-current{display:none;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border-radius:5px;background:#fff2f2;color:#e9151d;font-size:12px;font-weight:600;line-height:1.2}
  .hth-mobile-current.is-visible{display:block}
  .hth-mobile-filter-body .hth-filter-group.has-value legend{color:#111!important}

  .hth-mobile-filter-body .hth-filter-options{display:none!important;padding:2px 6px 13px 34px!important;gap:8px!important;background:#fff}
  .hth-mobile-filter-body .hth-filter-group.is-open .hth-filter-options{display:grid!important}
  .hth-mobile-filter-body .hth-filter-options label{font-size:13px!important;line-height:1.35!important;color:#333!important;gap:8px!important}
  .hth-mobile-filter-body .hth-filter-options input{width:16px;height:16px;flex:0 0 16px;margin-top:1px!important}
  .hth-mobile-filter-body .hth-filter-options-grouped{padding-left:34px!important;max-height:none!important}
  .hth-mobile-filter-body .hth-filter-parent-block{padding:8px 0 2px!important;margin:0!important}
  .hth-mobile-filter-body .hth-filter-parent-block>strong{font-size:13px!important;margin-bottom:7px!important}

  .hth-mobile-more-title{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px!important;padding:10px 4px 10px 0!important;border-bottom:1px solid #ededed!important;font-size:15px!important;font-weight:600!important;color:#111!important}
  .hth-mobile-more-title>span:first-child{display:flex;align-items:center;gap:9px}
  .hth-mobile-more-badge{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #e9151d;border-radius:50%;color:#e9151d;font-size:12px!important;line-height:1}
  .hth-mobile-more-title .hth-filter-chevron{position:relative;width:14px;height:14px;color:#e9151d}
  .hth-mobile-more-title .hth-filter-chevron:before{content:'';position:absolute;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;left:1px;top:1px;transform:rotate(45deg)}
  .hth-mobile-more-title.is-open .hth-filter-chevron{transform:rotate(180deg)}
  .hth-mobile-more-filters{display:none!important;margin:10px 0 4px!important;border:1px solid #f0dddd!important;border-radius:10px!important;overflow:hidden!important;background:#fff}
  .hth-mobile-more-filters.is-open{display:block!important}
  .hth-mobile-more-filters .hth-filter-group{padding:0 12px!important}
  .hth-mobile-more-filters .hth-filter-group legend{min-height:42px!important;padding:9px 24px 6px 0!important;color:#e9151d!important}
  .hth-mobile-more-filters .hth-filter-group legend:after{display:none!important}
  .hth-mobile-more-filters .hth-mobile-row-icon{display:none!important}
  .hth-mobile-more-filters .hth-mobile-row-title{font-size:13px!important;color:#e9151d!important;font-weight:700!important}
  .hth-mobile-more-filters .hth-mobile-current{display:none!important}
  .hth-mobile-more-filters .hth-filter-options{display:grid!important;padding:0 0 8px 4px!important;gap:7px!important}
  .hth-mobile-more-filters .hth-extra-option{display:none!important}
  .hth-mobile-more-filters .hth-filter-group.show-all .hth-extra-option{display:flex!important}
  .hth-mobile-show-more{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:#e9151d;font-size:12px;font-weight:600;padding:0 0 10px 4px;cursor:pointer}

  .hth-mobile-filter-footer{
    position:absolute!important;left:0;right:0;bottom:0;z-index:5!important;
    display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:10px!important;
    min-height:68px;padding:10px 16px calc(10px + env(safe-area-inset-bottom))!important;
    background:#fff!important;border-top:1px solid #eee!important;box-shadow:0 -5px 18px rgba(0,0,0,.06)!important;
  }
  .hth-mobile-filter-footer>a{font-size:13px!important;color:#e9151d!important;font-weight:600!important;text-decoration:none}
  .hth-mobile-filter-footer .btn{min-height:44px!important;border:0!important;background:#e9151d!important;color:#fff!important;border-radius:6px!important;font-size:14px!important;font-weight:700!important}

  .hth-result-head{margin-top:2px!important}
  .hth-result-head>strong{display:none!important}
}

@media(max-width:380px){
  .hth-mobile-row-title{font-size:14px!important}
  .hth-mobile-current{max-width:43%;font-size:11px!important;padding:4px 6px}
  .hth-mobile-filter-body{padding-left:13px!important;padding-right:13px!important}
}


/* ==========================================================
 * v7.64 - DESKTOP FILTER CHIPS / PREVIEW MATCH REFERENCE
 * Hiển thị giá trị đã chọn ngay dưới quickbar, cho phép xóa từng chip
 * hoặc xóa tất cả trước khi bấm Áp dụng.
 * ========================================================== */
.hth-filter-chips{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;padding:0}
.hth-filter-chips.is-empty{display:none}
.hth-filter-chips>span{font-size:14px;font-weight:700;color:#e9151d;white-space:nowrap}
.hth-filter-chip-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1 1 auto}
.hth-filter-chip{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid #eadede;background:#fff;color:#222;border-radius:8px;font-size:15px!important;font-weight:500!important;line-height:1.25;cursor:pointer;transition:.2s ease}
.hth-filter-chip:hover{border-color:#e9151d;color:#e9151d;background:#fff8f8}
.hth-filter-clear-all{margin-left:auto;min-height:38px;padding:8px 18px;border:1px solid #f0caca;background:#fff;color:#e9151d;border-radius:8px;font-size:15px!important;font-weight:700!important;cursor:pointer}
.hth-filter-clear-all:disabled{opacity:.45;cursor:not-allowed}
.hth-filter-quickbar button{position:relative;gap:6px}
.hth-filter-quickbar button.has-value{border-color:#ef1b24;color:#ef1b24;background:#fff}
.hth-filter-quickbar .hth-filter-selected-text{display:block;max-width:100%;margin-top:2px;font-size:12px;line-height:1.25;color:#7c7c7c;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hth-filter-quickbar button.has-value .hth-filter-selected-text{color:#e9151d}
.hth-filter-detail{border:1px solid #f1d8d8;border-radius:14px;padding:16px 16px 12px;background:#fff}
.hth-filter-group{border:1px solid #f2dede;border-radius:10px;padding:14px 14px 10px;background:#fff}
.hth-filter-group legend{padding:0 4px;font-size:15px;font-weight:700;color:#111}
.hth-filter-options label{display:flex;align-items:flex-start;gap:8px;margin:0 0 9px;font-size:14px;line-height:1.4;color:#333}
.hth-filter-options input{width:16px;height:16px;flex:0 0 16px;margin-top:2px}
.hth-filter-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:16px}
.hth-filter-actions>a{display:inline-flex;align-items:center;justify-content:center;min-width:160px;min-height:44px;padding:10px 20px;border:1px solid #f0caca;border-radius:8px;color:#e9151d;text-decoration:none;font-weight:700;background:#fff}
.hth-filter-actions .btn{min-width:160px;min-height:44px;border-radius:8px!important;background:#e9151d!important;border-color:#e9151d!important}
@media(max-width:760px){
  .hth-filter-clear-all{display:none!important}
}


/* v7.73 - icon bộ lọc theo mẫu HTH */
.hth-filter-quickbar button{
  padding:10px 14px;
  gap:10px;
}
.hth-filter-trigger-main{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}
.hth-filter-toolbar-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  color:#ef1b24;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.hth-filter-toolbar-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hth-filter-trigger-label{
  display:block;
  min-width:0;
  color:inherit;
}
.hth-filter-quickbar button.is-more .hth-filter-trigger-main{flex:0 1 auto}
.hth-filter-quickbar button.is-more b{order:2;margin-left:auto}
.hth-filter-quickbar button .hth-filter-chevron{order:3}
.hth-filter-quickbar button.is-active .hth-filter-toolbar-icon,
.hth-filter-quickbar button:hover .hth-filter-toolbar-icon,
.hth-filter-quickbar button.is-active .hth-filter-trigger-label,
.hth-filter-quickbar button:hover .hth-filter-trigger-label{color:#ef1b24}
@media(min-width:761px){
  .hth-filter-quickbar button{font-size:15px!important}
  .hth-filter-quickbar button[data-filter-target="need"],
  .hth-filter-quickbar button[data-filter-target="label"]{padding-right:12px}
}


/* v7.75 - chỉ xoay chevron của bộ lọc, tuyệt đối không xoay icon/chữ */
.hth-filter-quickbar button .hth-filter-trigger-main,
.hth-filter-quickbar button .hth-filter-trigger-label,
.hth-filter-quickbar button .hth-filter-toolbar-icon,
.hth-filter-quickbar button b{
  transform:none!important;
}
.hth-filter-quickbar button.is-active .hth-filter-trigger-main,
.hth-filter-quickbar button.is-active .hth-filter-trigger-label,
.hth-filter-quickbar button.is-active .hth-filter-toolbar-icon,
.hth-filter-quickbar button.is-active b{
  transform:none!important;
}
.hth-filter-quickbar button .hth-filter-chevron{
  transition:transform .2s ease!important;
}
.hth-filter-quickbar button.is-active .hth-filter-chevron{
  transform:rotate(180deg)!important;
}
@media(max-width:760px){
  .hth-mobile-more-title>span:first-child{transform:none!important}
  .hth-mobile-more-title.is-open>span:first-child{transform:none!important}
  .hth-mobile-more-title .hth-filter-chevron{transition:transform .2s ease!important}
  .hth-mobile-more-title.is-open .hth-filter-chevron{transform:rotate(180deg)!important}
}


/* v7.86 - giữ nút lọc luôn sạch, lựa chọn chỉ hiển thị ở hàng chip bên dưới */
.hth-filter-quickbar .hth-filter-selected-text{display:none!important}
.hth-filter-quickbar button[data-filter-target]:not([data-filter-target="more"]) b{display:none!important}
.hth-filter-quickbar button .hth-filter-trigger-main{min-width:0}
.hth-filter-quickbar button .hth-filter-trigger-label{display:block;line-height:1.12}
.hth-filter-quickbar button.has-value:not(.is-more){border-color:#d9d9d9!important;color:#111!important;background:#fff!important}
.hth-filter-chips{width:100%}
