.tw-vehicle-browser[hidden] { display: none !important; }
.tw-vehicle-browser { width: 100%; min-width: 0; margin: 20px 0; padding: 24px; border: 1px solid #e3e3e3; background: #fff; color: #222; text-align: left; box-sizing: border-box; }
.tw-vehicle-browser.is-loading { opacity: .6; cursor: progress; }
.tw-vehicle-browser.is-loading a, .tw-vehicle-browser.is-loading select { pointer-events: none; }
.tw-vehicle-summary, .tw-vehicle-heading, .tw-product-toolbar, .tw-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tw-vehicle-summary { padding-bottom: 14px; border-bottom: 1px solid #e3e3e3; }
.tw-vehicle-browser button { padding: 9px 14px; font-size: 13px; }
.tw-vehicle-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 12px; font-size: 13px; }
.tw-vehicle-breadcrumb a, .tw-vehicle-heading a, .tw-pagination a { text-decoration: underline; }
.tw-vehicle-heading h2 { margin: 0; font-size: 24px; }
.tw-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.tw-category-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 10px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; color: #222; text-align: center; overflow-wrap: anywhere; }
a.tw-category-card:hover, a.tw-category-card:focus-visible { border-color: var(--primary, #e00000); box-shadow: 0 2px 8px #0001; }
.tw-category-card img { width: 160px; height: 120px; object-fit: contain; max-width: 100%; }
.tw-category-card strong { font-size: 15px; line-height: 1.4; }
.tw-category-card span { font-size: 12px; line-height: 1.5; }
.tw-category-card.is-unavailable { background: #f7f7f7; color: #666; }
.tw-category-card.is-unavailable img { opacity: .45; filter: grayscale(1); }
.tw-view-all { margin-top: 12px; }
.tw-product-toolbar { margin: 20px 0; }
.tw-product-toolbar select { max-width: 220px; }
.tw-vehicle-browser .products-wap { width: 100%; }
.tw-pagination { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eee; }
.tw-selector-status:empty { display: none; }
.tw-selector-status { margin: 8px 0; color: #b00020; }
.tw-selector-status button { margin-left: 10px; }
/* Only the native shop loop is hidden. Homepage merchandising and sidebar stay intact. */
.tw-browsing-active > .products-wap,
.tw-browsing-active > .autozpro-sorting,
.tw-browsing-active > .woocommerce-pagination,
.tw-browsing-active > .woocommerce-info { display: none !important; }
@media (max-width: 1100px) { .tw-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .tw-vehicle-browser { padding: 16px; }
    .tw-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .tw-category-card { padding: 12px 8px; }
    .tw-vehicle-heading h2 { font-size: 20px; }
    .tw-vehicle-summary strong { flex-basis: 100%; }
    .elementor-widget-autozpro-search-compatibility .autozpro-vehicle-select__item { min-width: 0; }
}

.tw-vehicle-browser--wide { max-width: 1290px; width: calc(100% - 40px); margin: 20px auto; }
