﻿
.brands-section { padding: 100px 0 60px; background: #efebe5; }

.brands-scroll-fade {
    position: relative;
}
.brands-scroll-fade::before,
.brands-scroll-fade::after {
    content: '';
    position: absolute;
    top: 0; bottom: 24px;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.brands-scroll-fade::before {
    left: 0;
    background: linear-gradient(to right, #efebe5 10%, transparent 100%);
    opacity: 0;
    transition: opacity 300ms ease;
}
.brands-scroll-fade.has-scrolled::before { opacity: 1; }
.brands-scroll-fade::after {
    right: 0;
    background: linear-gradient(to left, #efebe5 10%, transparent 100%);
}
.brands-title { padding-bottom: 56px; }
.brands-scroll-wrap {
    overflow-x: scroll; overflow-y: hidden;
    cursor: url('../cursor/cursor-grab.svg?v=3') 15 16, grab; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; user-select: none; -webkit-user-select: none;
}
.brands-scroll-wrap::-webkit-scrollbar { display: none; }
.brands-scroll-wrap.dragging { cursor: url('../cursor/cursor-grabbing.svg?v=3') 15 12, grabbing; }
.brands-grid {
    display: grid;
    grid-template-rows: repeat(4, 80px);
    grid-auto-flow: column;
    grid-auto-columns: 180px;
    gap: 16px;
    padding-bottom: 24px;
    width: max-content;
}
.brand-logo-cell {
    background: var(--bg-light-alt);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: background 277ms, border-color 277ms;
    overflow: hidden;
}
.brand-logo-cell:hover { border-color: #0B0C0D; }
.brand-logo-cell svg { opacity: 0.32; pointer-events: none; }
.brand-logo-cell img {
    max-width: 75%; max-height: 55%;
    object-fit: contain;
    pointer-events: none;
    transition: transform 277ms ease;
}
.brand-logo-cell:hover img { transform: scale(1.08); }

.brands-footer {
    display: flex; align-items: center; gap: 20px; padding-top: 16px;
}
.brands-progress-track {
    flex: 1; height: 2px; background: rgba(11,12,13,0.10);
    border-radius: 1px; overflow: hidden;
}
.brands-progress-fill {
    height: 100%; width: 0%;
    background: #0B0C0D;
    border-radius: 1px;
}
