/* =========================================================
   CATÁLOGO DIGITAL - CARRUSEL
   Bibliográfico / Infografías / Videos
   ========================================================= */

   .catalogo-carrusel {
    position: relative;
    width: 100%;
    margin: 30px auto 45px;
    padding: 0 55px;

    --catalogo-gap: 24px;
    --catalogo-items: 2;
}


/* =========================================================
   VIEWPORT
   ========================================================= */

.catalogo-carrusel__viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;

    outline: none;
}

.catalogo-carrusel__viewport::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   TRACK
   ========================================================= */

.catalogo-carrusel__track {
    display: flex;
    align-items: stretch;
    gap: var(--catalogo-gap);
}


/* =========================================================
   ITEM GENERAL
   ========================================================= */

.catalogo-carrusel__item {
    flex: 0 0 calc(
        (100% - (var(--catalogo-gap) * (var(--catalogo-items) - 1)))
        / var(--catalogo-items)
    );

    min-width: 0;
    scroll-snap-align: start;
}


/* =========================================================
   BOTONES ANTERIOR / SIGUIENTE
   ========================================================= */

.catalogo-carrusel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 50%;

    background: #8c4799;
    color: #ffffff;

    font-size: 32px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;

    z-index: 5;
}

.catalogo-carrusel__control:hover,
.catalogo-carrusel__control:focus {
    background: #73377f;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    outline: none;
}

.catalogo-carrusel__control--anterior {
    left: 0;
}

.catalogo-carrusel__control--siguiente {
    right: 0;
}

.catalogo-carrusel__control:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    cursor: default;

    transform: translateY(-50%);
}


/* =========================================================
   BIBLIOGRÁFICO
   ========================================================= */

.catalogo-carrusel--libros {
    --catalogo-items: 2;
}

.catalogo-libro {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    height: 100%;

    padding: 24px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fdfafd 100%
        );

    border:
        1px solid
        rgba(140, 71, 153, 0.20);

    border-radius: 18px;

    text-align: center;

    box-shadow:
        0 10px 28px
        rgba(76, 37, 83, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.catalogo-libro:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(140, 71, 153, 0.40);

    box-shadow:
        0 15px 32px
        rgba(76, 37, 83, 0.13);
}


/* Portada */

.catalogo-libro__portada {
    width: 100%;
    height: 270px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}

.catalogo-libro__portada img {
    display: block;

    width: 100%;
    height: 260px;
    max-width: 190px;

    object-fit: contain;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   LÍNEA SUPERIOR DEGRADADA
   ========================================================= */

   .catalogo-libro::before {
    content: "";

    position: absolute;

    top: 0;
    left: 8%;
    right: 8%;

    height: 3px;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d4a0dc,
            #a34aa9,
            #8e2d97,
            #a34aa9,
            #d4a0dc,
            transparent
        );
}

/* Información */

.catalogo-libro__contenido {
    width: 100%;
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogo-libro__titulo {
    margin: 0 0 12px;

    color: #6f347b;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.catalogo-libro__descripcion {
    margin: 0 0 20px;

    color: #555555;

    font-size: 15px;
    line-height: 1.6;

    flex: 1;
}


/* Botón */

.catalogo-libro__boton {
    display: inline-block;

    margin-top: auto;

    padding: 10px 24px;

    border: 2px solid #8c4799;
    border-radius: 25px;

    background: #8c4799;
    color: #ffffff !important;

    font-weight: 600;

    text-decoration: none !important;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.catalogo-libro__boton:hover,
.catalogo-libro__boton:focus {
    background: #ffffff;
    color: #8c4799 !important;

    transform: translateY(-2px);

    outline: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .catalogo-carrusel {
        --catalogo-items: 2;

        padding-left: 48px;
        padding-right: 48px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .catalogo-carrusel {
        --catalogo-items: 1;

        padding-left: 42px;
        padding-right: 42px;

        --catalogo-gap: 16px;
    }

    .catalogo-carrusel__control {
        width: 36px;
        height: 36px;

        font-size: 27px;
    }

    .catalogo-libro {
        padding: 20px 16px;
    }

    .catalogo-libro__portada {
        height: 240px;
    }

    .catalogo-libro__portada img {
        width: 100%;
        height: 230px;
        max-width: 170px;
    
        object-fit: contain;
    }

    .catalogo-libro__titulo {
        font-size: 18px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .catalogo-carrusel__viewport {
        scroll-behavior: auto;
    }

    .catalogo-libro,
    .catalogo-libro__portada img,
    .catalogo-carrusel__control,
    .catalogo-libro__boton {
        transition: none;
    }
}

/* =========================================================
   INFOGRAFÍAS
   ========================================================= */

   .catalogo-carrusel--infografias {
    --catalogo-items: 3;
}


/* Tarjeta */

.catalogo-infografia {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 100%;

    padding: 14px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fdf9fd 100%
        );

    border:
        1px solid
        rgba(140, 71, 153, 0.18);

    border-radius: 18px;

    box-shadow:
        0 10px 28px
        rgba(76, 37, 83, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.catalogo-infografia:hover {
    transform:
    translateY(-4px);

    border-color:
        rgba(140, 71, 153, 0.38);

    box-shadow:
        0 15px 32px
        rgba(76, 37, 83, 0.13);
}

.catalogo-infografia::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 3px;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            #d9a6df 18%,
            #a34aa9 38%,
            #8e2d97 50%,
            #a34aa9 62%,
            #d9a6df 82%,
            transparent 100%
        );
}

/* Enlace */

.catalogo-infografia__enlace {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 430px;

    overflow: hidden;

    border-radius: 12px;

    text-decoration: none;

    cursor: zoom-in;

    background: #ffffff;
}


/* Imagen */

.catalogo-infografia__imagen {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.35s ease;
}


.catalogo-infografia__enlace:hover
.catalogo-infografia__imagen {
    transform:
        scale(1.025);
}

/* =========================================================
   INDICADOR SUTIL DE AMPLIACIÓN
   ========================================================= */

   .catalogo-infografia__enlace::after {
    content: "+";

    position: absolute;

    right: 14px;
    bottom: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background:
        rgba(111, 52, 123, 0.90);

    color: #ffffff;

    font-size: 24px;
    font-weight: 300;

    line-height: 1;

    opacity: 0;

    transform:
        translateY(5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

    pointer-events: none;
}


.catalogo-infografia__enlace:hover::after,
.catalogo-infografia__enlace:focus-visible::after {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   FOCUS
   ========================================================= */

.catalogo-infografia__enlace:focus {
    outline: none;
}


.catalogo-infografia__enlace:focus-visible {
    box-shadow:
        0 0 0 3px
        rgba(142, 45, 151, 0.45);
}

/* =========================================================
   TABLET - INFOGRAFÍAS
   ========================================================= */

@media (max-width: 991px) {

    .catalogo-carrusel--infografias {
        --catalogo-items: 2;
    }

    .catalogo-infografia__imagen {
        height: 400px;
    }

}


/* =========================================================
   MÓVIL - INFOGRAFÍAS
   ========================================================= */

@media (max-width: 767px) {

    .catalogo-carrusel--infografias {
        --catalogo-items: 1;
    }

    .catalogo-infografia {
        padding: 12px;
    }

    .catalogo-infografia__imagen {
        height: auto;
        max-height: 540px;
    }

}
/* =========================================================
   LIGHTBOX / VISOR DE INFOGRAFÍAS
   ========================================================= */

   .catalogo-lightbox[hidden] {
    display: none !important;
}


.catalogo-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(18, 14, 20, 0.94);
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.catalogo-lightbox__contenido {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    max-width: 1400px;

    margin: 0 auto;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.catalogo-lightbox__imagen {
    display: block;

    width: auto;
    height: auto;

    max-width: calc(100% - 150px);
    max-height: 85vh;

    object-fit: contain;

    margin: auto;

    border-radius: 6px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.40);
}


/* =========================================================
   BOTÓN CERRAR
   ========================================================= */

.catalogo-lightbox__cerrar {
    position: absolute;

    top: 10px;
    right: 10px;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;
    color: #8c4799;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.28);

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.catalogo-lightbox__cerrar:hover,
.catalogo-lightbox__cerrar:focus {
    background: #8c4799;
    color: #ffffff;

    transform: scale(1.07);

    outline: none;
}


/* =========================================================
   CONTROLES ANTERIOR / SIGUIENTE
   ========================================================= */

.catalogo-lightbox__control {
    position: absolute;

    top: 50%;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #8c4799;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.25);

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.catalogo-lightbox__control:hover,
.catalogo-lightbox__control:focus {
    background: #8c4799;
    color: #ffffff;

    outline: none;
}


.catalogo-lightbox__anterior {
    left: 15px;
}


.catalogo-lightbox__siguiente {
    right: 15px;
}


/* =========================================================
   CONTADOR
   ========================================================= */

.catalogo-lightbox__contador {
    position: absolute;

    left: 50%;
    bottom: 10px;

    z-index: 10;

    padding: 7px 15px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.95);
    color: #555555;

    font-size: 13px;
    font-weight: 600;

    transform: translateX(-50%);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .catalogo-lightbox {
        padding: 20px;
    }


    .catalogo-lightbox__imagen {
        max-width: calc(100% - 120px);
        max-height: 85vh;
    }


    .catalogo-lightbox__anterior {
        left: 5px;
    }


    .catalogo-lightbox__siguiente {
        right: 5px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .catalogo-lightbox {
        padding: 12px;
    }


    .catalogo-lightbox__imagen {
        max-width: 100%;
        max-height: 80vh;
    }


    .catalogo-lightbox__control {
        width: 38px;
        height: 38px;

        font-size: 26px;
    }


    .catalogo-lightbox__anterior {
        left: 4px;
    }


    .catalogo-lightbox__siguiente {
        right: 4px;
    }


    .catalogo-lightbox__cerrar {
        top: 4px;
        right: 4px;

        width: 38px;
        height: 38px;

        font-size: 24px;
    }


    .catalogo-lightbox__contador {
        bottom: 4px;

        padding: 5px 12px;

        font-size: 12px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .catalogo-infografia,
    .catalogo-lightbox__cerrar,
    .catalogo-lightbox__control {
        transition: none;
    }

}

/* =========================================================
   VIDEOS
   ========================================================= */

   .catalogo-carrusel--videos {
    --catalogo-items: 2;
}


/* =========================================================
   TARJETA
   ========================================================= */

   .catalogo-video {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fdfafd 100%
        );

    border:
        1px solid
        rgba(140, 71, 153, 0.20);

    border-radius: 18px;

    box-shadow:
        0 10px 28px
        rgba(76, 37, 83, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Línea superior violeta */

.catalogo-video::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 3px;

    z-index: 2;

    border-radius:
        0 0 4px 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a34aa9,
            #8e2d97,
            #a34aa9,
            transparent
        );
}


.catalogo-video:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(140, 71, 153, 0.40);

    box-shadow:
        0 15px 32px
        rgba(76, 37, 83, 0.13);
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.catalogo-video__encabezado {
    padding: 17px 20px 13px;

    text-align: left;
}


.catalogo-video__tipo {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f5eaf7;
    color: #913b99;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.1px;
}


.catalogo-video__titulo {
    margin: 0;

    color: #6f347b;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.45;

    text-align: left;
}


/* =========================================================
   REPRODUCTOR
   ========================================================= */

.catalogo-video__reproductor {
    position: relative;

    width: 100%;
    height: 0;

    padding-bottom: 56.25%;

    overflow: hidden;

    background: #161217;
    margin-top: auto;
    margin-bottom: 0;
}

.catalogo-video__fachada,
.catalogo-video__reproductor iframe {
    display: block;
}

.catalogo-video__reproductor iframe,
.catalogo-video__fachada {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   FACHADA
   ========================================================= */

.catalogo-video__fachada {
    display: block;

    padding: 0;

    overflow: hidden;

    background: #1b171c;

    cursor: pointer;
}


.catalogo-video__miniatura {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


/* Oscurecido para dar legibilidad */

.catalogo-video__oscurecer {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(20, 12, 22, 0.04),
            rgba(20, 12, 22, 0.38)
        );
}


/* =========================================================
   PLAY
   ========================================================= */

.catalogo-video__play {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.28);

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}


/* Triángulo */

.catalogo-video__play span {
    width: 0;
    height: 0;

    margin-left: 5px;

    border-top:
        10px solid transparent;

    border-bottom:
        10px solid transparent;

    border-left:
        16px solid #923b9a;
}


/* =========================================================
   TEXTO REPRODUCIR
   ========================================================= */

.catalogo-video__accion {
    position: absolute;

    left: 50%;
    bottom: 20px;

    padding:
        7px 14px;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.94);

    color: #713478;

    font-size: 13px;
    font-weight: 600;

    transform:
        translateX(-50%);

    white-space: nowrap;
}


/* =========================================================
   HOVER / FOCUS
   ========================================================= */

.catalogo-video__fachada:hover
.catalogo-video__miniatura {
    transform:
        scale(1.025);
}


.catalogo-video__fachada:hover
.catalogo-video__play {
    background: #923b9a;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}

.catalogo-video__fachada:hover
.catalogo-video__play span {
    border-left-color: #ffffff;
}

.catalogo-video__fachada:hover
.catalogo-video__accion {
    background: #923b9a;
    color: #ffffff;
}

.catalogo-video__fachada:focus {
    outline: none;
}


.catalogo-video__fachada:focus-visible {
    box-shadow:
        inset 0 0 0 4px
        #9b43a4;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .catalogo-carrusel--videos {
        --catalogo-items: 2;
    }

    .catalogo-video__titulo {
        font-size: 17px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .catalogo-carrusel--videos {
        --catalogo-items: 1;
    }


    .catalogo-video__encabezado {
        padding:
            17px
            17px
            13px;
    }


    .catalogo-video__titulo {
        font-size: 16px;
    }


    .catalogo-video__play {
        width: 58px;
        height: 58px;
    }


    .catalogo-video__accion {
        bottom: 13px;

        font-size: 12px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .catalogo-video,
    .catalogo-video__miniatura,
    .catalogo-video__play,
    .catalogo-video__accion {
        transition: none;
    }

}

/* =========================================================
   TIKTOK
   ========================================================= */

   .catalogo-carrusel--tiktok {
    --catalogo-items: 2;
}


/* =========================================================
   TARJETA
   ========================================================= */

.catalogo-tiktok {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fdfafd 100%
        );

    border:
        1px solid
        rgba(140, 71, 153, 0.20);

    border-radius: 18px;

    box-shadow:
        0 10px 28px
        rgba(76, 37, 83, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.catalogo-tiktok::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 3px;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a34aa9,
            #8e2d97,
            #a34aa9,
            transparent
        );
}


.catalogo-tiktok:hover {
    transform: translateY(-4px);

    border-color:
        rgba(140, 71, 153, 0.40);

    box-shadow:
        0 15px 32px
        rgba(76, 37, 83, 0.13);
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.catalogo-tiktok__encabezado {
    padding: 17px 20px 13px;

    text-align: left;
}


.catalogo-tiktok__tipo {
    display: inline-block;

    margin-bottom: 6px;

    padding: 3px 9px;

    border-radius: 20px;

    background: #f5eaf7;
    color: #913b99;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.1px;
}


.catalogo-tiktok__titulo {
    margin: 0;

    color: #6f347b;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.45;

    text-align: left;
}


/* =========================================================
   ÁREA DEL POST
   ========================================================= */

.catalogo-tiktok__contenido {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 1;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #f8eff9 0%,
            #ffffff 55%,
            #f4e6f6 100%
        );
}


/* =========================================================
   FACHADA
   ========================================================= */

.catalogo-tiktok__fachada {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 295px;

    aspect-ratio: 9 / 16;

    padding: 30px 20px;

    overflow: hidden;

    border: 0;
    border-radius: 16px;

    background:
        linear-gradient(
            160deg,
            #241426 0%,
            #572a5d 48%,
            #8f3d98 100%
        );

    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 12px 30px
        rgba(45, 19, 50, 0.22);
}


/* Decoración */

.catalogo-tiktok__decoracion {
    position: absolute;

    width: 240px;
    height: 240px;

    top: -80px;
    right: -90px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);
}


/* Marca */

.catalogo-tiktok__marca {
    position: absolute;

    top: 22px;
    left: 50%;

    transform:
        translateX(-50%);

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   PLAY
   ========================================================= */

.catalogo-tiktok__play {
    position: absolute;

    top: 46%;
    left: 50%;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.25);

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;

}


.catalogo-tiktok__play span {
    width: 0;
    height: 0;

    margin-left: 5px;

    border-top:
        10px solid transparent;

    border-bottom:
        10px solid transparent;

    border-left:
        16px solid #923b9a;
}


/* =========================================================
   TEXTO DE ACCIÓN
   ========================================================= */

.catalogo-tiktok__accion {
    position: absolute;
    bottom: 18px;
    left: 50%;
    padding: 8px 15px;
    border-radius: 22px;
    background:
        rgba(255, 255, 255, 0.95);

    color: #713478;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transform:
        translateX(-50%);
}


/* =========================================================
   IFRAME TIKTOK
   ========================================================= */

.catalogo-tiktok__contenido iframe {
    display: block;

    width: 100%;
    max-width: 325px;

    aspect-ratio: 9 / 16;

    border: 0;
    border-radius: 16px;

    background: #111111;

    box-shadow:
        0 12px 30px
        rgba(45, 19, 50, 0.20);
}


/* =========================================================
   HOVER / FOCUS
   ========================================================= */

.catalogo-tiktok__fachada:hover
.catalogo-tiktok__play {
    background: #923b9a;

    transform:
        translate(-50%, -50%)
        scale(1.08);
}


.catalogo-tiktok__fachada:hover
.catalogo-tiktok__play span {
    border-left-color: #ffffff;
}


.catalogo-tiktok__fachada:hover
.catalogo-tiktok__accion {
    background: #923b9a;
    color: #ffffff;
}

.catalogo-tiktok__fachada:hover
.catalogo-tiktok__miniatura {
    transform: scale(1.025);
}


.catalogo-tiktok__fachada:focus {
    outline: none;
}


.catalogo-tiktok__fachada:focus-visible {
    box-shadow:
        inset 0 0 0 4px #ffffff,
        0 12px 30px
        rgba(45, 19, 50, 0.22);
}


/* =========================================================
   FALLBACK
   ========================================================= */

.catalogo-tiktok__externo {
    display: inline-block;

    padding: 10px 20px;

    border-radius: 24px;

    background: #923b9a;
    color: #ffffff !important;

    font-weight: 600;

    text-decoration: none !important;
}

.catalogo-tiktok__miniatura {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.4s ease;
}

.catalogo-tiktok__fachada {
    position: relative;
    overflow: hidden;
}

.catalogo-tiktok__fachada::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.05)
        );
}

.catalogo-tiktok__play,
.catalogo-tiktok__accion,
.catalogo-tiktok__marca {
    z-index: 2;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .catalogo-carrusel--tiktok {
        --catalogo-items: 2;
    }


    .catalogo-tiktok__titulo {
        font-size: 17px;
    }


    .catalogo-tiktok__fachada {
        max-width: 270px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .catalogo-carrusel--tiktok {
        --catalogo-items: 1;
    }


    .catalogo-tiktok__encabezado {
        padding:
            17px
            17px
            13px;
    }


    .catalogo-tiktok__titulo {
        font-size: 16px;
    }


    .catalogo-tiktok__contenido {
        padding: 15px;
    }


    .catalogo-tiktok__fachada {
        max-width: 260px;
    }


    .catalogo-tiktok__play {
        width: 60px;
        height: 60px;
    }


    .catalogo-tiktok__accion {
        bottom: 18px;

        font-size: 12px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .catalogo-tiktok,
    .catalogo-tiktok__play,
    .catalogo-tiktok__miniatura,
    .catalogo-tiktok__accion {
        transition: none;
    }

}