.ts-brands {
 margin-block-start: clamp(40px, 5vw, 80px);
 padding: clamp(24px, 3vw, 40px);
 border-radius: 40px;
 background: #141b23 url("../../images/home/vehicle-brands-background.png") center / cover no-repeat;
 color: #fff;
 font-family: "Yekan Bakh FaNum", Tahoma, sans-serif;
 direction: rtl;
}
.ts-brands__header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-block-end: 32px; }
.ts-brands__heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ts-brands__icon { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.ts-brands__title { margin: 0; font-size: clamp(18px, 2vw, 28px); line-height: 1.5; font-weight: 900; color: #fff; }
.ts-brands__title span { color: var(--ts-color-primary, #ed1024); }
.ts-brands__view-all { display: inline-flex; align-items: center; gap: 16px; padding: 12px 20px; flex-shrink: 0; background: #f0f5f7; color: #292929; border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 600; }
.ts-brands__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 144px) / 10); gap: 16px; margin: 0; padding: 4px 0; list-style: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.ts-brands__track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ts-brands__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.ts-brands__track.is-dragging a { cursor: grabbing; }
.ts-brands__track img { -webkit-user-drag: none; }
.ts-brands__item { min-width: 0; scroll-snap-align: start; }
.ts-brand-card { display: flex; flex-direction: column; align-items: center; height: 100%; min-height: 138px; padding: 18px 10px 14px; border-radius: 18px; background: #fff; color: #292929; text-decoration: none; }
.ts-brand-card__visual { position: relative; width: 100%; height: 64px; flex: 0 0 64px; min-width: 0; overflow: hidden; margin-block-end: 12px; }
.ts-brand-card .ts-brand-card__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; object-position: center; }
.ts-brand-card__name { display: block; flex: 0 0 auto; width: 100%; font-size: 14px; font-weight: 700; text-align: center; line-height: 1.7; overflow-wrap: anywhere; }
.ts-brand-card:hover { box-shadow: inset 0 0 0 2px #ed1024; }
.ts-brand-card:focus-visible { outline: 3px solid #ffc400; outline-offset: -4px; }
@media (max-width: 1200px) { .ts-brands__track { grid-auto-columns: calc((100% - 80px) / 6); } }
@media (max-width: 900px) { .ts-brands__track { grid-auto-columns: calc((100% - 48px) / 4); } }
@media (max-width: 600px) {
 .ts-brands { padding: 24px 16px; border-radius: 24px; }
 .ts-brands__header { flex-wrap: wrap; gap: 12px; margin-block-end: 24px; }
 .ts-brands__icon { width: 40px; height: 40px; }
 .ts-brands__heading { gap: 10px; }
 .ts-brands__view-all { margin-inline-start: auto; padding: 10px 12px; font-size: 12px; }
 .ts-brands__track { grid-auto-columns: 34%; gap: 12px; }
 .ts-brand-card { padding: 14px 8px; border-radius: 14px; }
}
