.outfit-wrapper {
    width: 100%;/*95*/
    margin: auto;
    position: relative;
    overflow: hidden;
}

.outfit-wrapper img {
    width: 100%;/*90*/
    height: 70vh;/*dvh*/
    display: block;
    margin: auto;
    object-fit: cover;
}

.outfit-image {
    transition: transform .45s ease;
    will-change: transform;
}

.outfit-slider-container{
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.outfit-swiper{
    width: 65%;
    position: relative;
}

.hotspot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(255,255,255,.25);
    transition: box-shadow .3s ease, transform .3s ease;
}

.hotspot.active {
    background: #fff;
    cursor: default;
    animation: breathe 2.4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        box-shadow:
            0 0 0 6px rgba(255,255,255,.4),
            0 0 14px rgba(255,255,255,.6);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow:
            0 0 0 10px rgba(255,255,255,.6),
            0 0 26px rgba(255,255,255,.95);
        transform: translate(-50%, -50%) scale(1.08);
    }
}



.sp-close-panel{
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 3rem;
    line-height:2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Contenido producto */
#sp-product-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    flex-direction: column;
    gap: 10dvh;
    color: white;
}

.sp-product-card {
    text-align: center;
    display: inline-block;
}

.sp-product-card img {
    width: 60%;
    max-width: 100%;
    border-radius: 3px;
    display: block;
    margin: 0 auto;
    transition: transform .25s ease;
}

.sp-product-card:hover img {
    
}

/* Nombre */
.sp-product-name {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
}

.sp-product-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 10px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: all .25s ease;
}

.sp-product-btn:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

/* Precio */
.sp-product-price {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.swiper-pagination-bullet{
    background: white;
    width: 1dvh;
    height: 1dvh;
}

@media (max-width: 768px) {
    .outfit-slider-container {
        flex-direction: column;
        background:#1C1C1C;
    }

    .outfit-swiper {
        width: 100%;
    }

    .sp-product-panel{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50dvh;
        background: #000000c9;
        z-index: 9999;

        transform: translateY(100%);
        transition: transform .35s ease;

        overflow-y: auto;
        padding: 1rem;
    }

    .sp-product-panel.active {
        transform: translateY(0);
    }

    .outfit-swiper-next,
    .outfit-swiper-prev {
        display: none;
    }
}


@media (min-width: 992px) {

    .sp-product-card img{
        width: 30%;
    }

    .shop-look-section {
        display: flex;
        gap: 4rem;
        align-items: flex-start;
        max-width: 1400px;
        margin: auto;
        padding: 3rem 0;
    }

    .outfit-slider-container {
        width: 100%;
        background: #1C1C1C;
    }

    .outfit-swiper{
        width: 65%;
        position: relative;
        left: 15dvh;
    }

    .sp-product-panel {
        /*
        position: sticky;
        top: 120px;
        */
        margin: auto;
        height: auto;
        width: 35%;
        position: relative;
        right: 15dvh;
        transform: none;
        transition: none;
        background: white;
        background:#1C1C1C;
        color:black;
    }

    .sp-product-panel.active {
        transform: none;
    }

    .sp-close-panel {
        display: none;
    }

    .outfit-wrapper img {
        height: auto;
        width: 50%;
        max-height: 80dvh;
    }

    .sp-product-card {
        opacity: 0.85;
        /*filter: brightness(0.9);*/
        transition: opacity .25s ease,filter .25s ease,transform .25s ease,box-shadow .25s ease;
        margin-top: 20px;
    }

    .sp-product-card.active {
        /*outline: 2px solid #fff;*/
        font-weight:bold;
        transform: scale(1.02);

        opacity: 1;
        /*filter: brightness(1.15) contrast(1.1);*/
        transform: scale(1.03);
    }

    .outfit-swiper-prev,
    .outfit-swiper-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        color: #fff;
        opacity: 0.8;
        z-index: 10;
        transition: opacity .25s ease, transform .25s ease;
    }

    .outfit-swiper-next {
        transform: translateY(-50%);
    }

    .outfit-swiper-prev {
        transform: translateY(-50%) rotate(180deg);
    }

    

    /* NEXT → (derecha) */
    .outfit-swiper-next:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

    /* PREV ← (izquierda) */
    .outfit-swiper-prev:hover {
        opacity: 1;
        transform: translateY(-50%) rotate(180deg) scale(1.1);
    }

    /* Posición horizontal */
    .outfit-swiper-prev {
        left: 20dvh;
    }

    .outfit-swiper-next {
        right: 20dvh;
    }
}



body.no-scroll {
    overflow: hidden;
}