body { margin: 0; font-family: Arial, sans-serif; }

.brands {
    text-align: center;
}

.brands-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.brands-arrow-left {
    width: 72px;
    height: 72px;
    border: none;
    transform: scaleX(-1);
    background: none;
    position: relative;
    font-size: 48px;
    color: var(--color-primary);
    cursor: pointer;
}

.brands-arrow-right {
    width: 72px;
    height: 72px;
    border: none;
    background: none;
    position: relative;
    font-size: 48px;
    color: var(--color-primary);
    cursor: pointer;
}

.brands-arrow-left::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    height: 4px;
    background: currentColor;
    transform: translateY(-50%);
}

.brands-arrow-left::after{
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.brands-arrow-right::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    height: 4px;
    background: currentColor;
    transform: translateY(-50%);
}

.brands-arrow-right::after{
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.logos {
    display: flex;
    gap: 24px;
    align-items: center;
}

.logos img {
    height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.brands-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary)
}

.brands-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brands-grid::-webkit-scrollbar {
    display: none;
}

.brand-text {
    color: var(--color-primary-container);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0 12px;
    white-space: nowrap;
    text-align: center;
    font-size: clamp(0.7rem, 1.2vw, 1.2rem);
    text-shadow: 0 0 6px rgba(255,255,255,0.15);
}

.brands-arrow-left:disabled,
.brands-arrow-right:disabled {
    opacity: 0.3;
    cursor: default;
}

.brand-card {
    text-decoration: none;
    color: inherit;
    width: 180px;
    aspect-ratio: 1 / 1;
    flex: 0 0 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:visited {
    color: inherit;
}

.brand-card:hover,
.brand-card:focus-visible {
    text-decoration: none;
}
