*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#2f2f2f;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.product-view{
    width:100%;
    max-width:430px;
    min-height:100vh;
    position:relative;
    overflow:hidden;
}

/* ---------------- */
/* COLORES */
/* ---------------- */

.colors{
    position:absolute;
    left:15px;
    top:80px;
    z-index:20;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.color{
    width:32px;
    height:32px;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

.color.active{
    outline:3px solid #fff;
}

/* ---------------- */
/* SLIDER */
/* ---------------- */

.slider-wrapper{
    width:100%;
    padding-top:30px;
}

.slider{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
}

.slider::-webkit-scrollbar{
    display:none;
}

.slider img{
    flex:1 0 100%;
    scroll-snap-align:center;
    width:100%;
    height:420px;
    object-fit:contain;
    padding:20px;
}

.slider-nav{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:10px;
}

.slider-nav a{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ffffff55;
    display:block;
}

.slider-nav a:hover{
    background:white;
}

/* ---------------- */
/* ICONO 360 */
/* ---------------- */

.rotate-icon{
    position:absolute;
    right:20px;
    top:210px;
    color:white;
    font-weight:600;
    opacity:.8;
}

/* ---------------- */
/* CARD */
/* ---------------- */

.product-card{
    background:white;
    margin-top:20px;
    border-radius:35px 35px 0 0;
    padding:30px 24px;
    min-height:430px;
}

.title-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.title-row h1{
    font-size:2rem;
}

.title-row span{
    color:#999;
}

.price{
    margin-top:10px;
    font-size:2rem;
    font-weight:700;
}

.specs{
    display:flex;
    justify-content:space-between;
    margin:30px 0;
}

.spec{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

.spec strong{
    font-size:.9rem;
}

.description h3{
    margin-bottom:10px;
}

.description p{
    line-height:1.6;
    color:#666;
}

/* ---------------- */
/* ACTIONS */
/* ---------------- */

.actions{
    margin-top:35px;
    display:flex;
    gap:15px;
}

.qty{
    width:120px;
    height:55px;
    border:2px solid #222;
    border-radius:28px;
    display:flex;
    align-items:center;
    justify-content:space-around;
}

.qty button{
    border:none;
    background:none;
    font-size:1.4rem;
    cursor:pointer;
}

.qty span{
    font-weight:700;
}

.cart-btn{
    flex:1;
    border:2px solid #222;
    border-radius:28px;
    background:white;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
}

/* ---------------- */
/* RESPONSIVE */
/* ---------------- */

@media (max-width:480px){

    .slider img{
        height:350px;
    }

    .product-card{
        padding:25px 18px;
    }

    .actions{
        flex-direction:column;
    }

    .qty{
        width:100%;
    }
}