
/*Tarjeta de productos*/
.product-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 8px 8px;
    position: relative;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 190px;
    max-width: 190px;

    border-style: solid;
    border-color: lightgrey;
    border-width: thin;
}

.product-card .favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 18px;
    color: #000;
    cursor: pointer;
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.product-card .product-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    height: 160px;
    width: 100px;
    /*max-height: 100%;
    max-width: 100%;*/
    object-fit: contain;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 300;
    color: #27272A;
    text-align: center;
    line-height: 15px;
    min-height: 90px;

    /*max-width: 190px; */

    margin: 2% 5%;
    max-width: 90%;

}
/*
.product-card .product-price {
    font-size: 18px;
    font-weight: 500;
    color: #27272A;
    text-align: center;
    line-height: 28px;
}*/

.cont-precio{
    flex-direction: column !important;
}

.product-card .cont-precio{
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.flex{
    display: flex;
}

.product-card .cont-precio .precio-viejo{
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    text-decoration: line-through;
    color: #a1a1a1;
}

.product-card .cont-precio .precio{
    font-size: 18px;
    font-weight: 500;
    color: #27272A;
    text-align: center;
    line-height: 28px;
}


.product-card .product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.product-card .txt-sin-stock {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: relative;
    top: auto;
    left: auto;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 0 5%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    height: auto;
}




/* Botones */
.btn-primary{

    margin: 0px 5%;
    width: 90%;

    background-color: white;
    border: none;
    /* border-radius: 6px; */
    /* border-radius: 22px; */
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    color: black;
    line-height: 1;
    min-height: 36px;
    border: darkgray solid 0.5px; 
}

.btn-primary:hover{
    background-color: darkgray;
    color: white;
}


.btn-secondary{

    /* background-color: #27272A; */
    border: none;
    color: black !important;
    /* border-radius: 22px; */
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    color: #fff;
    line-height: 1;
    min-height: 36px;
    border: 0.5px black solid;
    text-transform: uppercase;
              
}

.btn-secondary:hover{
    background-color: black;
    color: #fff !important;
}

/*Alerta*/
.alert{
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #FEF08A;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    transition: background-color 0.2s ease;
    color: #CA8A04;
    width: 100%;
    position: relative;
}

.alert p{
    font-family: Inter;
    font-weight: 400;
    line-height: 20px;
    vertical-align: middle;
    font-size: 14px;
}
.alert .cerrar{
    cursor: pointer;
    float: right;
    display: block;
    position: absolute;
    right: 10px;
}
.alert .icono{
    font-size: 24px;
    top: 1px;
    position: relative;
    margin-right: 7px;
}


/*Labels*/


.label{
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 7px;
}

.label.off{
    color:#fff;
    background-color: #56A677 ;  /*#E34B4B;*/
}


/*Sliders*/



.btn-back,
.btn-next {
    width: 44px !important;
    height: 44px !important;
    background: #000 !important;
    color: white;
    border-radius: 50%;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.btn-back .material-symbols-outlined,
.btn-next .material-symbols-outlined {
    font-size: 24px;
    /* color: white; */
    color: #000;
}

.btn-back:hover,
.btn-next:hover {
    background: grey !important;
}


.btn-back-secondary,
.btn-next-secondary {
    width: 44px !important;
    height: 44px !important;
    background: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.btn-back-secondary .material-symbols-outlined,
.btn-next-secondary .material-symbols-outlined {
    font-size: 24px;
    color: #000;
}

.btn-back-secondary:hover,
.btn-next-secondary:hover {
    background: #52525B !important;
}



/*Select */

select {
    width: 203px;
    height: 44px;

    padding: 10px 16px;

    background-color: #e4e4e7;
    border-radius: 9999px;
    border: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("img/select-flecha.png");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.select-pagina {
    width: 65px;
}



@media screen and (max-width: 1200px){ /*Tablet*/

    .product-card{
        /* min-height: 90%;
        max-height: 90%; */
        min-width: 90%;
        max-width: 90%;
    }
    .product-card .product-title {
        margin: 5%;
        /* display: flex; */
        /* min-height: 90px; */
        max-width: 90%;
        line-height: 20px;
        font-size: 11px;
        font-weight: bold;
    }

.product-card .cont-precio .precio {
        font-weight: bold;
    font-size: 25px;
    padding: 0px;
}


.btn-secondary {
    font-size: 15px;
}

.btn-back, .btn-next {
    display: none;
}


}