/* Vehicle Selector Core */
.vs-module { background: #f5f5f5; border: 1px solid #e2e2e2; border-radius: 4px; padding: 15px; margin-bottom: 20px; }
.vs-module .vs-title { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
.vs-module label { font-size: 12px; font-weight: normal; color: #666; margin-bottom: 3px; }
.vs-module .vs-current { background: #fff; border-left: 3px solid #5cb85c; padding: 8px 10px; margin-bottom: 12px; }
.vs-module .vs-current-actions a { margin-left: 10px; white-space: nowrap; }
.vs-horizontal .vs-fields { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.vs-horizontal .vs-field { flex: 1 1 200px; padding: 0 5px; margin-bottom: 8px; }
.vs-horizontal .vs-field-year { flex: 0 1 140px; }
.vs-horizontal .vs-field-button { flex: 0 0 auto; align-self: flex-end; }
.vs-vertical .vs-field { margin-bottom: 10px; }
.vs-module .vs-garage { margin-top: 8px; font-size: 12px; }
.vs-module .vs-garage-select { display: inline-block; width: auto; max-width: 100%; margin-right: 8px; }
.vs-module .vs-garage-saved { color: #3c763d; margin-right: 8px; }
.vs-module .vs-garage-add { padding-left: 0; }
.vs-bar { background: #2b3e50; color: #fff; padding: 7px 0; font-size: 13px; }
.vs-bar a { color: #ffd479; margin-left: 12px; }
.vs-badge { display: inline-block; font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 3px; margin: 0 4px 4px 0; }
.vs-fit { background: #dff0d8; color: #3c763d; }
.vs-universal { background: #d9edf7; color: #31708f; }
.vs-terms { display: block; background: #fcf8e3; color: #8a6d3b; border-left: 3px solid #f0ad4e; padding: 3px 6px; margin: 2px 0 6px; font-size: 12px; }
.vs-product-status { border-radius: 4px; padding: 10px 12px; margin: 10px 0 15px; }
.vs-status-fit { background: #dff0d8; border: 1px solid #c3e6b4; color: #3c763d; }
.vs-status-unconfirmed { background: #fcf8e3; border: 1px solid #f5e1a4; color: #8a6d3b; }
.vs-status-universal { background: #d9edf7; border: 1px solid #bce8f1; color: #31708f; }
.vs-status-select { background: #f5f5f5; border: 1px solid #e2e2e2; }
.vs-status-title { font-weight: bold; font-size: 14px; }
.vs-status-terms { margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0, 0, 0, .15); }
.vs-filter-notice { margin: 10px 0 15px; }
.vs-garage-table td { vertical-align: middle !important; }
.vs-vehicle-details { margin: 10px 0 15px; }
.vs-vehicle-details table { margin-bottom: 0; background: #fff; }
.vs-vehicle-details thead td { background: #f5f5f5; font-weight: bold; white-space: nowrap; }

/* Brand pages (1.4.0) */
.vs-brands-head { display: flex; align-items: center; gap: 20px; }
.vs-brands-head h1 { margin: 20px 0; }
.vs-brands-logo { max-height: 100px; width: auto; }
.vs-brands-choose { margin-top: 25px; }
.vs-az { column-count: 5; column-gap: 20px; margin-bottom: 30px; }
.vs-az-item { display: flex; break-inside: avoid; -webkit-column-break-inside: avoid; line-height: 20px; padding: 1px 0; }
.vs-az-letter { flex: 0 0 20px; font-weight: bold; color: #000; }
.vs-model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 30px; }
.vs-model-card { display: block; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; text-decoration: none; }
.vs-model-card:hover, .vs-model-card:focus { border-color: #23a1d1; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); text-decoration: none; }
.vs-model-card strong { display: block; color: #333; }
.vs-model-card span { display: block; color: #888; font-size: 12px; margin-top: 3px; }
.vs-motor-table td { vertical-align: middle; }
@media (max-width: 991px) { .vs-az { column-count: 3; } }
@media (max-width: 575px) { .vs-az { column-count: 2; } .vs-brands-head { flex-direction: column; align-items: flex-start; gap: 0; } }

/* Brand logos module (1.4.0) */
.vs-brand-logos { margin-bottom: 30px; }
.vs-brand-box { position: relative; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); border-radius: 4px; padding: 10px 30px; }
.vs-brand-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.vs-brand-track::-webkit-scrollbar { display: none; }
.vs-brand-item { flex: 0 0 16.6667%; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 10px; text-decoration: none; }
.vs-brand-item img { max-width: 100%; height: auto; transition: transform 0.2s; }
.vs-brand-item:hover img { transform: scale(1.05); }
.vs-brand-item span { font-weight: bold; font-size: 16px; color: #333; text-align: center; }
.vs-brand-grid .vs-brand-box { padding: 10px; }
.vs-brand-grid .vs-brand-track { flex-wrap: wrap; overflow: visible; }
.vs-brand-prev, .vs-brand-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 26px; height: 40px; border: 0; background: transparent; font-size: 32px; line-height: 1; color: #999; cursor: pointer; padding: 0; }
.vs-brand-prev { left: 2px; }
.vs-brand-next { right: 2px; }
.vs-brand-prev:hover, .vs-brand-next:hover { color: #333; }
.vs-brand-single .vs-brand-prev, .vs-brand-single .vs-brand-next { display: none; }
.vs-brand-dots { text-align: center; margin-top: 12px; }
.vs-brand-dots button { display: inline-block; width: 10px; height: 10px; margin: 0 4px; padding: 0; border: 0; border-radius: 50%; background: #bbb; cursor: pointer; }
.vs-brand-dots button.active { background: #222; }
.vs-brand-all { text-align: right; margin-top: 6px; font-size: 13px; }
@media (max-width: 991px) { .vs-brand-item { flex-basis: 25%; } }
@media (max-width: 575px) { .vs-brand-item { flex-basis: 50%; } }
.vs-brand-single .vs-brand-track { justify-content: center; }

/* Fits vehicles tab on the product page (1.4.1) */
.vs-vehicles-filter { max-width: 320px; margin-bottom: 10px; }
.vs-vehicles-table td { vertical-align: middle; }
.vs-vehicle-active td { background: #f0f9eb; }
.vs-product-vehicles-block { margin: 20px 0; }

/* Full-width fields on phones (1.4.2) */
@media (max-width: 767px) {
  .vs-horizontal .vs-field, .vs-horizontal .vs-field-year, .vs-horizontal .vs-field-button { flex: 1 1 100%; }
  .vs-module select { font-size: 16px; }
}
