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

/* Variables */
:root{
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning:#ffc107;
    --bs-danger:#dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --z1:#232741;
    --z2:#2c2e43;
    --darkBodyP:#181818;
    --darkPretty: #333;
    --darkPretty2:#222;
    --yellowMostaza: #e8a900;
    --bg-whiteBlue:#F0F0F0;
    --bg-whiteSmooth:#FAFAFA;
    --azulWhite: #f2f6fc;
    --azulLight: #f6f8fc;
    --azulLite: #eaf1fb;
    --aL: #f5f6f7;
    
    --borders-light:#dbdbdb;
    --lightBlue:#03a9f4;

    /* Colores de whatsapp: */
    --wa-1: #005c4b;
    --wa-2: #44c554;
    --wa-3: #128c7e;
}


section{
    padding:20px;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
    margin: 40px auto;
}

section .items{
    display:flex;
    justify-content: center;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:20px;
}

section .items span{
    /* list-style: none; */
    background:#eee;
    padding:12px 20px;
    margin:5px;
    letter-spacing:1px;
    cursor:pointer;
    transition:background .4s ease;

}
section .items span:hover{
    background:var(--borders-light);
    transition:background .4s ease;
}

section .items span.active{
    background:var(--bs-warning);
    transition:background .4s ease;
    /* color:#fff; */
}

.product{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    align-items:center;
}

.product .itemBox{
    position:relative;
    width:350px;
    height:350px;
    margin:10px;
    display:block;
    transition:all .4s;
    overflow:hidden;
    border-radius:6px;
    border:1px solid var(--borders-light);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    
}
.product .itemBox:hover{
    transform:scale(1.02);
    transition:all .4s;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.product .itemBox.hide{
    display:none;
    transition:all .4s;
}

.product .itemBox .image{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    /* object-fit:cover; */
    background:var(--bs-white);
    border-radius:6px;
    

}

.image h3{
    color:#181818;
}

.product .itemBox .image .imgs {
    overflow:hidden;
    width:100%;
    height:70%;
}
.imgs img{
    width:100%;
    height:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    object-position: center;
    transition:all .4s ease;

}
.product .itemBox:hover .imgs img{
    transform:scale(1.07);
    transition:all .4s ease;
}

.product .itemBox .image .image-body{
    padding:10px 5px;
    /* border:1px solid var(--borders-light); */
    height:30%;
    /* border-bottom-left-radius: 6px;
    border-bottom-left-radius: 6px; */

} 

.image-body h5,h4{
    text-align: center;
}

.btn-prod{
    width:150px;
    padding:8px;
    background:var(--bs-warning);
    border:none;
    border-radius:5px;
    /* font-weight: 500; */
    /* font-size:17px; */
    transition: all .4s ease;

}

.btn-prod:hover{
    /* color:var(--bs-warning); */
    background:#f3b711;
    transition: all .4s ease;
}

/* ----------------------------- Modal ------------------------------- */
/* .modal-title{
    color:var(--bs-light);
}
.btn-close{
    background-color:var(--bs-light);
} */

.modal-content{
    background-color:var(--bs-light);
}

/* .modal-img{
    overflow:hidden;
} */
.cont-modal-img{
    width:100%;
    height:100%;
    overflow:hidden;
}
.cont-modal-img img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    object-position: center;
}

.modal-desc{
    /* height:100%; */
    padding:20px;
}

.btn-wa{
    padding:10px 20px;
    /* width:150px; */
    background:#25d366;
    color:var(--bs-light);
    font-weight: bold;
    border-radius:10px;
    font-size:1.3rem;
    display:flex;
    align-items:end;
    gap:10px;
}
.btn-wa span:first-child{
    font-size:35px;
}

.btn-wa:hover{
    background:#128c7e;
    color:var(--bs-light);
}



/* -------------------------------- Seccion de Responsive -------------------------------------- */

/* Escritorio pequeño / tablet */
@media only screen and (min-width: 768px) and (max-width: 991px){
/* ----------------------------- Modal ------------------------------- */

    .cont-modal-img{
        width:70%;
        height:250px;
        margin:auto
    }
    .cont-modal-img img{
        width:100%;
    }
}
/* Tablets y phablets */
@media only screen and (min-width: 576px) and (max-width: 767px){
/* ----------------------------- Modal ------------------------------- */
    .cont-modal-img{
        width:70%;
        height:250px;
        margin:auto
    }
    .cont-modal-img img{
        width:100%;
    }
}

/*Celulares*/
@media only screen and (max-width: 575px){
/* ----------------------------- Modal ------------------------------- */
    .cont-modal-img{
        width:50%;
        height:200px;
        margin:auto
    }
    .cont-modal-img img{
        width:100%;
    }
}

@media only screen and (max-width:475px){

/* ----------------------------- Modal ------------------------------- */
    .cont-modal-img{
        width:70%;
    }
}

/*Celulares angostos*/
@media only screen and (max-width:365px){
    .product .itemBox{
        width:300px;
        height:300px;
        overflow:auto;
    }
    .btn-prod{
        width:150px;
        padding:4px;
    
    }

    .product .itemBox .image .image-body{
        padding:5px;
    }

/* ----------------------------- Modal ------------------------------- */
    .cont-modal-img{
        width:70%;
    }
}