.carrusel-stock {
    width: calc(100% - 60px); 
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.carrusel-stock .swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carrusel-stock .swiper-slide .slide-main-link img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: white;
    object-fit: cover;
}

.titulo-slide {
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.carrusel-stock .swiper-button-prev,
.carrusel-stock .swiper-button-next {
    color: #EBA10E;
    background-color: black;
    border-radius: 25px;
    z-index: 10;
    width: 33px;
    height: 33px;
}

.carrusel-stock .swiper-button-next::after,
.carrusel-stock .swiper-button-prev::after {
    font-size: 18px !important;
}

.carrusel-stock .swiper-button-next svg,
.carrusel-stock .swiper-button-prev svg {
    display: none !important;
}

.carrusel-stock .swiper-pagination {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    display: block;
}

.carrusel-stock .swiper-pagination-bullet {
    background: #ffffff;
    margin: 0 6px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 7%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.7rem;
    text-align: justify;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}
.footer-overlay{
    font-size: 2rem !important;
    text-align: center;
}

.slide-wrapper:hover .overlay-text, .swiper-slide a:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}


/* BOTTOM */

.slide-bottom-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 50px;
    padding: 0 10px;
    border-radius: 10px;

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

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 6;
}

.slide-title-link {
    text-decoration: none;
}

/* Botón redondo a la derecha */
.corner-button {
    width: 54px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;

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

    text-decoration: none;
    overflow: hidden;

    box-shadow: 0 0 8px rgba(0,0,0,0.25);
    transition: 0.2s ease;
}

.corner-button:hover {
    background: #000;
    border: 1px solid #EBA10E;
    transform: scale(1.08);
}

/* Icono dentro del botón */
.corner-button img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}