@charset "utf-8";

/* other  */


/* CSS Document */

body {
    margin: 0px;
    padding: 0px;
    /* background-color: #eef8ff; */
}

a {
    text-decoration: none;
}

.box {
    /*   height: 390px;  */
    /*lo cambie*/
    width: 220px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 25px;
}


/*caja para subcategorias subcategoria-2 */

.box_c2 {
    /*   height: 390px;  */
    /*lo cambie*/
    width: 340px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 25px;
}

.slide-img {
    height: auto;
    position: relative;
}

.slide-img-categ {
    width: 150px;
    height: auto;
}

.slide-img-scateg {
    width: 340px;
    height: 230px;
}

.slide-img_prod {
    height: auto;
    position: relative;
}

.slide-img_prod img {
    width: 220px;
    height: 270px;
    object-fit: contain;
    box-sizing: border-box;
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}

.slide-img-categ img {
    width: 220px;
    height: 115px;
    object-fit: cover;
    box-sizing: border-box;
}

.slide-img-scateg img {
    width: 100%;
    height: 100%;
}

.detail-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 14px;
}

.detail-box_c {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.type {
    display: flex;
    flex-direction: column;
}

.type a {
    color: #808080;
    margin: 5px 0px;
    font-weight: 700;
    /* letter-spacing: 0.5px; */
    padding-right: 8px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}


/*letra centrada */

.type_c {
    display: flex;
    flex-direction: column;
}

.type_c a {
    color: #808080;
    margin: 5px 0px;
    font-weight: 700;
    /* letter-spacing: 0.5px; */
    padding-right: 8px;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

#list-caruosel {
    text-align: left;
}

.type span {
    color: rgba(26, 26, 26, 0.5);
}

.price {
    color: #ff0000;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: poppins;
    letter-spacing: 0.5px;
    cursor: context-menu;
    position: relative;
}

.overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(92, 95, 236, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.buy-btn {
    width: 160px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    color: #252525;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: calibri;
    border-radius: 20px;
    box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.2);
}

.buy-btn:hover {
    color: #FFFFFF;
    background-color: #ee3cdf;
    transition: all ease 0.3s;
}

.overlay {
    visibility: hidden;
}

.slide-img:hover .overlay {
    visibility: visible;
    animation: fade 0.5s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.slider {
    width: 100%;
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}