/* Marcas: logos limpios, sin tarjetas ni fondo sólido. */

.ozs--wc-brands.ozs:not(.ozs--banner):not(.ozs--has-header),
.ozs--wc-brands.ozs:not(.ozs--banner):not(.ozs--has-header)[data-ozs-init] {
    padding-top: 0 !important;
}

.ozs--wc-brands {
    --ozs-cat-surface: #f3f4f6;
    --ozs-cat-border: #e2e5eb;
    --ozs-cat-title: #14527d;
    --ozs-cat-active-bg: #003a60;
    --ozs-cat-active-accent: #f99f00;
    --ozs-cat-card-bg: transparent;
    --ozs-cat-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: visible;
}

.ozs--wc-brands .ozs__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 20px;
    margin-bottom: 0;
    gap: 12px;
    flex-wrap: nowrap;
}

.ozs--wc-brands .ozs__header-text {
    position: relative;
    padding-left: 20px;
    flex: 1 1 auto;
    min-width: 0;
}

.ozs--wc-brands .ozs__header-text::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 6px;
    height: calc(100% - 8px);
    background: var(--ozs-cat-active-accent);
    box-shadow: 6px 0 0 var(--ozs-cat-title);
    border-radius: 0;
}

.ozs--wc-brands .ozs__title {
    margin: 0;
    font-size: clamp(1.6rem, 1.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ozs-cat-title);
    letter-spacing: -0.01em;
}

.ozs--wc-brands .ozs__title::after {
    display: none;
}

.ozs--wc-brands .ozs__subtitle {
    margin: 4px 0 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #202020;
    font-family: inherit;
}

.ozs--wc-brands .ozs__viewport {
    overflow: hidden;
}

.ozs--wc-brands .ozs__dots {
    display: none !important;
}

.ozs--wc-brands .ozs__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    scroll-snap-align: start;
}

.ozs--wc-brands .ozs-wc-brand,
.ozs--wc-brands .oz-wc-brand {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    justify-content: center;
    min-height: 0;
}

.ozs--wc-brands .ozs-wc-brand__link,
.ozs--wc-brands .oz-wc-brand__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: var(--ozs-cat-card-bg);
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: var(--ozs-cat-title);
    box-sizing: border-box;
    box-shadow: none;
    transition: opacity 220ms ease;
}

.ozs--wc-brands .ozs-wc-brand__link:hover,
.ozs--wc-brands .ozs-wc-brand__link:focus-visible,
.ozs--wc-brands .oz-wc-brand__link:hover,
.ozs--wc-brands .oz-wc-brand__link:focus-visible {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    opacity: 0.92;
    outline: none;
}

.ozs--wc-brands .ozs__media,
.ozs--wc-brands .oz-slide__media {
    width: auto;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ozs--wc-brands .ozs-wc-brand__img,
.ozs--wc-brands .oz-wc-brand__img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.ozs--wc-brands .ozs-wc-brand__link:has(.ozs-wc-brand__img) > .ozs-wc-brand__name,
.ozs--wc-brands .oz-wc-brand__link:has(.oz-wc-brand__img) > .oz-wc-brand__name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ozs--wc-brands .ozs-wc-brand__count,
.ozs--wc-brands .oz-wc-brand__count {
    margin-top: 6px;
    font-size: 0.86rem;
    color: #5c6470;
}

.ozs-wc-brand--logo-only .ozs-wc-brand__link,
.oz-wc-brand--logo-only .oz-wc-brand__link {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .ozs--wc-brands {
        padding: 0;
    }

    .ozs--wc-brands .ozs__header {
        margin-bottom: 0;
        padding-bottom: 18px;
    }

    .ozs--wc-brands .ozs-wc-brand__link,
    .ozs--wc-brands .oz-wc-brand__link {
        min-height: 0;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .ozs--wc-brands .ozs__header {
        align-items: center;
        gap: 12px;
        padding-bottom: 16px;
    }

    .ozs--wc-brands .ozs__header-text {
        padding-left: 16px;
    }

    .ozs--wc-brands .ozs__header-text::before {
        width: 5px;
        height: calc(100% - 6px);
        box-shadow: 5px 0 0 var(--ozs-cat-title);
    }

    .ozs--wc-brands .ozs__title {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }

    .ozs--wc-brands .ozs__subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-top: 2px;
    }

    .ozs--wc-brands .ozs-wc-brand,
    .ozs--wc-brands .oz-wc-brand {
        min-height: 0;
    }

    .ozs--wc-brands .ozs-wc-brand__link,
    .ozs--wc-brands .oz-wc-brand__link {
        min-height: 0;
        padding: 0;
        border-radius: 0;
    }
}

@media (max-width: 414px) {
    .ozs--wc-brands .ozs__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
