/* Marcas: logos limpios, sin tarjetas ni fondo sólido. */

.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;
    }
}

/* Marcas sin cabecera: flechas circulares verdes fuera del carrusel */
html body .ozs--wc-brands:not(.ozs--has-header) {
    position: relative;
    overflow: visible;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__viewport {
    overflow: hidden;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav {
    pointer-events: none;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn,
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev,
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #04FE00 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
    pointer-events: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev {
    left: -21px !important;
    right: auto !important;
    background: #04FE00 !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next {
    right: -21px !important;
    left: auto !important;
    background: #04FE00 !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn::before,
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev::before,
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    border: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px 18px !important;
    transform: none !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 6l-6 6 6 6' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23111111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn:hover,
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn:focus-visible {
    background: #00d600 !important;
    transform: translateY(-50%) scale(1.08) !important;
    outline: none !important;
}

html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn[disabled],
html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn.is-disabled {
    background: #cfeed1 !important;
    opacity: 0.7 !important;
    cursor: default;
    transform: translateY(-50%) !important;
}

@media (max-width: 768px) {
    html body .ozs--wc-brands:not(.ozs--has-header) {
        padding-left: 46px;
        padding-right: 46px;
    }

    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn,
    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev,
    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next {
        width: 34px !important;
        height: 34px !important;
    }

    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn::before,
    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--prev::before,
    html body .ozs--wc-brands:not(.ozs--has-header) .ozs__nav-btn--next::before {
        width: 14px !important;
        height: 14px !important;
        background-size: 14px 14px !important;
    }
}

@media (max-width: 414px) {
    html body .ozs--wc-brands:not(.ozs--has-header)[data-hide-nav-mobile="true"] {
        padding-left: 0;
        padding-right: 0;
    }
}
