
/* --------------------------------- */
/* ----------Estilos Pagina Producto------------- */
/* ---------------------------------- */

.container-product {
    display: flex;
    min-height:75vh;
}

.gallery {
    width: 60%;
    padding: 20px;
    box-sizing: border-box;
    height: fit-content;
}

.main-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 10px;
}

.thumbnail {
    width: calc(20% - 5px);
    height: 80px; 
    cursor: pointer;
    object-fit: cover;
    transition: box-shadow 0.3s ease; 
}

.selected {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;  
}

.description {

    width: 40%;
    padding: 20px;
    margin: 20px;
    box-sizing: border-box;
    border: 1px solid var(--gray);
    height: fit-content;

}

.description h1{
    width: 100%;
    margin-bottom: 1em;
}
.description p{
    width: 100%;
    margin-bottom: 2em;
}

.slider-arrows{
    display: none;
}


/* --------------------------------- */
/* ----------Estilos Responsive---- */
/* ---------------------------------- */

@media (max-width: 768px) {

.container-product{

    flex-direction: column;
    height: 100%;
} 
.gallery {
    width: 100%;
    height: fit-content;
}


.thumbnails{
    display: none;
}


.description {

    width: 90%;
    border: none;
}

.thumbnails {
    justify-content: flex-start;
}

.slider-arrows {
    width: 50%;
    display: flex;
    margin: 0 auto;
    border-radius: 5px;
}

.slider-arrows p{
    text-align: center;
    font-size: 40px;
    color: black;
}
}