:root {
    --azul: #2A3146;
    --celeste: #1970D7;
    --amarillo: #F2D850;
    --verde:#C1E376;
}


.main-detalle{

    background: linear-gradient(to right, var(--azul) 30%, white 30%, white 100%);
    min-height: 100vh;

    @media (max-width:1200px) {
        background: linear-gradient(white,white);
    }
}

.nombre-producto{
    text-align: center;
    /* background-color: white; */
    max-width: 40%;
    margin: 0 auto;
    padding: .5vh;
    border-radius: .5cap;
    color: var(--azul);
    font-family: 'Bebas Neue',  'sans-seriff';
    font-size: 5vh;
    margin-top: 5vh;

    @media (max-width:900px) {
        max-width: 100%;
    }

}

.product-details{
    /* se borra */
    /* border: solid 2px black; */
    width: 100%;
    padding: 2.5vh;
    height: 75vh;
    display: flex;
    gap: 2.5vh;
    justify-content: center;

    @media (max-width:900px) {
        flex-direction: column;
        align-items: center;
        padding: 2.5vh 5vh;
        height: fit-content;
    }

    @media (max-width:590px) {
        padding: 2.5vh;
    }
}

.div-foto-principal{
    /* se borra */
    /* border: solid 2px black; */
    width: 45%;
    height: 100%;
    border-radius: .5cap;
    box-shadow: 1px 1px 10px var(--azul);

    @media (max-width:900px) {
        width: 100%;
        height: 50vh;
    }
}

.foto-principal{
    /* border: solid 2px var(--azul); */
    border-radius: .5cap;
    width: 100%;
    height: 100%;
    background-color: white;
}

.div-fotos-descripcion{
    /* se borra */
    background-color: var(--azul);
    height: fit-content;
    max-height: 100%;
    width: 35%;
    /* border: solid 2px black; */
    padding: 2.5vh;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    border-radius: .5cap;
    box-shadow: 1px 1px 10px var(--azul);
    overflow-y:scroll;

    @media (max-width:900px) {
        width: 100%;
        padding: 1vh ;
        gap: 2.5vh;
        overflow-y: auto;
    }
}

/* WebKit: Estilo general de la barra de desplazamiento */
.div-fotos-descripcion::-webkit-scrollbar {
    width: 20px; /* Ancho de la barra de desplazamiento */
}
  
/* WebKit: Fondo de la barra de desplazamiento */
.div-fotos-descripcion::-webkit-scrollbar-track {
    background: var(--azul);
    border-radius:.3cap;
}
  
/* WebKit: Barra de desplazamiento */
.div-fotos-descripcion::-webkit-scrollbar-thumb {
    background: var(--amarillo);
    border-radius: .3cap;
}
  
/* WebKit: Barra de desplazamiento al pasar el cursor */
.div-fotos-descripcion::-webkit-scrollbar-thumb:hover {
    background-color: #b9a01f;
}

.div-descripcion{
    /* border: solid 2px black; */
    height: fit-content;
    width: 100%;
    border-bottom: solid 2px var(--amarillo);
    padding: 2vh;
}

.titulo-descripcion{
    color: var(--amarillo);
    letter-spacing: .1vh;
    font-size: 4vh;
    font-family: 'Bebas Neue', 'sans-seriff';
    text-align: center;
    margin-bottom: 1vh;
}

.descripcion{
    font-size: 2.5vh;
    color: white;
}


.fotos-secundarias{
    display: flex;
    gap: 1vh;
    flex-wrap: wrap;
    justify-content: center;

}



.imagen-secundaria{
    margin: 0;
    width: 10vw;
    height: 20vh;
    box-shadow: 1px 1px 5px black;
    border-radius: .5cap;
    background-color: white;

    &:hover{
        filter: brightness(0.7);
        cursor: pointer;
    }

    @media (max-width:1500px) {
        width: 20vh;
    }

    @media (max-width:450px) {
        width: 100%;
    }
}

/* div relleno */
.septimo-div{
    background: url(imagenes/generica3.png);
    filter: brightness(0.5);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
  }
  