/* Best Sellers inherits the category frame, sidebar, filters and native product cards. */
.td-best-sellers-page .td-best-sellers-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;list-style:none;padding:0!important;margin:0!important;gap:22px 18px!important}
.td-best-sellers-page .td-best-sellers-grid>li{position:relative;margin:0!important;padding:0!important}
.td-best-sellers-page .td-best-seller-position{align-self:flex-start;display:inline-block;background:#302044;color:#fff;font:700 13px/1.3 Arial,sans-serif;padding:4px 9px;margin:0 0 9px;border-radius:0 0 4px 0}
.td-best-sellers-page .td-best-sellers-category{font-size:12px!important;color:#625c66;margin:0 0 12px!important}
.td-best-sellers-category a{color:#59387c}
.td-best-sellers-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0!important;font-size:11px}
.td-best-sellers-controls label{display:flex;flex-direction:column;gap:4px;font-size:11px;line-height:1.4;color:#413944}
.td-best-sellers-controls select{font:inherit;font-size:11px;min-height:30px;padding:5px 25px 5px 8px;border:1px solid #c9c0ce;border-radius:4px;background:#fff;color:#302044}
.td-best-sellers-controls button{font:inherit;font-size:11px;min-height:30px;padding:5px 11px;border:1px solid #59387c;border-radius:4px;background:#59387c;color:#fff;cursor:pointer}
.td-best-sellers-page .woocommerce-result-count{font-size:11.5px!important;margin:0!important}
.td-best-sellers-mobile-categories{display:none}
.td-best-sellers-pagination{margin-top:24px!important;font-size:13px;text-align:center}
.td-best-sellers-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;padding:0!important}
.td-best-sellers-pagination a,.td-best-sellers-pagination .current,.td-best-sellers-pagination .dots{display:block;padding:6px 10px;border:1px solid #ddd3e5;border-radius:3px;text-decoration:none}
.td-best-sellers-pagination .current{background:#302044;color:#fff;border-color:#302044}
.td-best-sellers-controls button:focus-visible,.td-best-sellers-pagination a:focus-visible{outline:2px solid #765199;outline-offset:3px}
.td-best-sellers-page .td-book-search-format{font-size:11px!important;font-weight:600;color:#59387c;margin:0 0 6px!important}
@media(max-width:740px){
 .td-best-sellers-page .td-archive-sidebar-col{display:none}
 .td-best-sellers-mobile-categories{display:block}
 .td-best-sellers-mobile-categories .td-book-filter-categories{border:0;padding:0;margin:0 0 12px!important}
 .td-best-sellers-mobile-categories .td-book-filter-categories>summary{display:none}
 .td-best-sellers-mobile-categories .td-book-filter-categories:not([open])>nav{display:flex!important}
 .td-best-sellers-mobile-categories nav{flex-wrap:nowrap;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:5px}
 .td-best-sellers-mobile-categories a{flex:none;white-space:nowrap;background:#f3eff7;border:1px solid #ded3e8;border-radius:4px;padding:7px 10px}
 .td-best-sellers-page .td-archive-controls>.td-book-filter-categories{display:none}
 .td-best-sellers-page .td-best-sellers-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 11px!important}
 .td-best-sellers-controls{width:100%}
 .td-best-sellers-controls label{flex:1;min-width:0}
 .td-best-sellers-controls select{width:100%;min-width:0}
}
