.full-screen-carousel {
    width: 100%;
    height: 30vh;
}

.full-screen-carousel .splide__slide {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
}

.full-screen-carousel .slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 2000px;
    margin: auto;
    object-fit: cover;
    /* Mobile por defecto */
    object-position: center;
}

/* Tablets */
@media (min-width: 768px) {
    .full-screen-carousel .slide-img {
        object-fit: contain;
    }

    .full-screen-carousel {
        width: 100%;
        height: 34vh;
    }

    .full-screen-carousel .splide__slide {
        position: relative;
        width: 100%;
        height: 34vh;
        overflow: hidden;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .full-screen-carousel .slide-img {
        object-fit: cover;
    }

    .full-screen-carousel {
        width: 100%;
        height: 80vh;
    }

    .full-screen-carousel .splide__slide {
        position: relative;
        width: 100%;
        height: 80vh;
        overflow: hidden;
    }
}

/* Extra Large */
@media (min-width: 1400px) {

    .full-screen-carousel .slide-img {
        object-fit: fill;
    }

    .full-screen-carousel {
        width: 100%;
        height: 100vh;
    }

    .full-screen-carousel .splide__slide {
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
}

/* apollo efect card */

/* Apollo Effect */
/* Apollo Effect */
figure.effect-apollo {
    position: relative;
    background: var(--custom-primary-color);
    overflow: hidden;
    /* Asegura que el efecto no sobresalga fuera de la imagen */
    padding: .1rem;
}

figure.effect-apollo img {
    opacity: 0.95;
    transition: opacity 0.35s, transform 0.35s;
    transform: scale3d(1.05, 1.05, 1);
    display: block;
    width: 100%;
    /* Asegura que la imagen ocupe todo el contenedor */
    object-fit: cover;
    aspect-ratio: 16 / 16;
    height: auto;
}

figure.effect-apollo figcaption::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    content: '';
    transition: transform 0.6s;
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -100%, 0);
}

figure.effect-apollo figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    z-index: 1;
    pointer-events: none;
    /* Previene la interferencia con el hover */
}

figure.effect-apollo p {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 3em;
    padding: 0 1em;
    max-width: 150px;
    border-right: 4px solid #fff;
    text-align: right;
    opacity: 0;
    transition: opacity 0.35s;
}

figure.effect-apollo:hover img {
    opacity: 0.6;
    transform: scale3d(1, 1, 1);
}

figure.effect-apollo:hover figcaption::before {
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 100%, 0);
}

figure.effect-apollo:hover p {
    opacity: 1;
    transition-delay: 0.1s;
}

/* tabs */
.custom-tabs {
    width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 1rem;
}

.custom-tabs__btn {
    background-color: var(--custom-secondary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px var(--custom-secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #334155;
}

.custom-tabs__btn:hover {
    background-color: #e2e8f0;
}

.custom-tabs__btn.active {
    background-color: var(--custom-primary-color);
    color: white;
    box-shadow: 0 2px 5px var(--custom-primary-color);
    transform: scale(1.05);
}

.custom-tabs__content {
    display: none;
    animation: fadeSlide 0.5s ease;
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.custom-tabs__content.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-tabs__scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.custom-tabs__buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 2.5rem;
    /* espacio para las flechas */
    scrollbar-width: none;
    /* Firefox */
}

.custom-tabs__buttons::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.custom-tabs__arrow {
    position: absolute;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 9999px;
    cursor: pointer;
    font-size: 1.5rem;
    top: 45%;
    transform: translateY(-50%);
    color: var(--custom-primary-color);
    transition: background 0.3s ease;
}

.custom-tabs__arrow:hover {
    background-color: #f0f0f0;
}

.custom-tabs__arrow.left {
    left: 0.5rem;
}

.custom-tabs__arrow.right {
    right: 0.5rem;
}

/* styles offers */
.splide_offers .splide__slide {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.splide_offers .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* styles brands  */
.splide_brands .splide__slide {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.splide_brands .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}