/* =====================================
   DESPENSA - PÁGINA 1934
===================================== */

/* Ocultar filtro precio y ordenamiento */
body.page-id-1934 .price_slider_wrapper,
body.page-id-1934 .woocommerce-ordering{
    display:none !important;
}


/* =====================================
   PRODUCTOS
===================================== */

body.page-id-1934 ul.products{
    gap:25px !important;
}

body.page-id-1934 ul.products li.product{

    background:#fff;
    border-radius:18px;
    padding:20px !important;

    box-shadow:0 4px 18px rgba(0,0,0,.08);

    transition:.3s ease;

    min-height:430px;

    text-align:center;

}

body.page-id-1934 ul.products li.product:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}


/* =====================================
   IMAGEN
===================================== */

body.page-id-1934 ul.products li.product img{

    border-radius:12px;

    width:100%;
    height:250px;

    object-fit:contain;

    margin-bottom:15px;

}

/* =====================================
   OCULTAR CATEGORÍA PRODUCTO
===================================== */

body.page-id-1934 ul.products li.product a[href*="/product-category/"]{
    display:none !important;
}

/* =====================================
   TÍTULO
===================================== */

body.page-id-1934 .woocommerce-loop-product__title{

    font-size:17px !important;

    line-height:1.25;

    min-height:72px;

    margin:12px 0 18px !important;

    color:#333;

}


/* =====================================
   PRECIO
===================================== */

body.page-id-1934 ul.products li.product .price{

    display:block;

    font-size:20px;

    font-weight:700;

    color:#4357A3;

    margin:0 0 20px 0;

}


/* =====================================
   CANTIDAD
===================================== */

body.page-id-1934 .cantidad-despensa{

    display:flex;

    width:100%;

    box-sizing:border-box;

    justify-content:center;

    align-items:center;

    gap:8px;

    background:#f7f8ff;

    border-radius:12px;

    padding:8px 12px;

    margin:15px auto;

}

body.page-id-1934 .cantidad-despensa button{

    width:36px;
    height:36px;

    display:flex;

    align-items:center;
    justify-content:center;

    padding:0;

    border-radius:50%;

    border:none;

    background:#4357A3;

    color:#fff;

    font-size:22px;

    line-height:1;

    cursor:pointer;

    flex-shrink:0;

    transition:.2s ease;

}

body.page-id-1934 .cantidad-despensa button:hover{

    background:#263c8f;

    transform:scale(1.08);

}

body.page-id-1934 .cantidad-despensa input{

    width:55px;

    height:36px;

    padding:0;

    text-align:center;

    font-size:16px;

    font-weight:600;

    color:#333;

    background:#fff;

    border-radius:8px;

    border:1px solid #ddd;

}


/* =====================================
   BOTON CARRITO
===================================== */

body.page-id-1934 ul.products li.product .button{

    width:100% !important;

    box-sizing:border-box;

    border-radius:25px;

    background:#4357A3;

    color:#fff;

    padding:12px;

    margin-left:0 !important;

    margin-right:0 !important;

    transition:.2s ease;

}

body.page-id-1934 ul.products li.product .button:hover{

    background:#263c8f;

}


/* =====================================
   PAGINACION
===================================== */

body.page-id-1934 .woocommerce-pagination{

    margin-top:45px;

    text-align:center;

}

body.page-id-1934 .woocommerce-pagination ul{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    border:none !important;

}

body.page-id-1934 .woocommerce-pagination ul li{

    border:none !important;

}

body.page-id-1934 .woocommerce-pagination a,
body.page-id-1934 .woocommerce-pagination span{

    width:42px;

    height:42px;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    text-align:center !important;

    line-height:1 !important;

    padding:0 !important;

    border-radius:50%;

    border:1px solid #ddd;

    background:#fff;

    color:#4357A3;

    font-size:16px;

    font-weight:600;

}

body.page-id-1934 .woocommerce-pagination .current{

    background:#4357A3;

    color:#fff;

    border-color:#4357A3;

}

body.page-id-1934 .woocommerce-pagination a:hover{

    background:#263c8f;

    color:#fff;

}


/* =====================================
   CANTIDAD DESPENSA - QUITAR FLECHAS NATIVAS
===================================== */

/* Chrome, Edge, Safari */
body.page-id-1934 .cantidad-despensa input[type=number]::-webkit-inner-spin-button,
body.page-id-1934 .cantidad-despensa input[type=number]::-webkit-outer-spin-button{

    -webkit-appearance:none;
    margin:0;

}

/* Firefox */
body.page-id-1934 .cantidad-despensa input[type=number]{

    -moz-appearance:textfield;

}

/* Centrar correctamente el número */
body.page-id-1934 .cantidad-despensa input{

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    line-height:36px;

}

/* Separar título y precio - Página DESPENSA */
body.page-id-1934 .jet-woo-builder-archive-product {
    display: flex;
    flex-direction: column;
}

body.page-id-1934 .jet-woo-builder-archive-product-title {
    margin-bottom: 20px !important;
}

body.page-id-1934 .jet-woo-builder-archive-product-price,
body.page-id-1934 .price {
    margin-top: 20px !important;
}

/*FUNDIONANDO HACIA ARRIBA*/
/* =====================================
   TARJETAS DESPENSA - IGUALAR ALTURA REAL
===================================== */

body.page-id-1934 li.jet-woo-builder-product{

    height:620px !important;

    display:flex !important;

}


/* Contenedor Elementor interno */
body.page-id-1934 li.jet-woo-builder-product > .elementor{

    height:100% !important;

    width:100% !important;

}


/* Section */
body.page-id-1934 li.jet-woo-builder-product .elementor-section{

    height:100% !important;

}


/* Column */
body.page-id-1934 li.jet-woo-builder-product .elementor-column{

    height:100% !important;

}


/* Wrapper principal */
body.page-id-1934 li.jet-woo-builder-product .elementor-widget-wrap{

    height:100% !important;

    display:flex !important;

    flex-direction:column !important;

}


/* Eliminar espacio superior del template */
body.page-id-1934 li.jet-woo-builder-product .elementor-widget-spacer{

    display:none !important;

}


/* Imagen */
body.page-id-1934 li.jet-woo-builder-product .jet-woo-builder-archive-product-thumbnail{

    height:240px !important;

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

}


/* Título */
body.page-id-1934 li.jet-woo-builder-product .jet-woo-builder-archive-product-title{

    min-height:45px !important;

}


/* Precio */
body.page-id-1934 li.jet-woo-builder-product .jet-woo-builder-archive-product-price{

    margin-top:auto !important;

}


/* Cantidad + botón */
body.page-id-1934 li.jet-woo-builder-product .elementor-widget-jet-woo-builder-archive-add-to-cart{

    margin-top:20px !important;

}

/* =====================================
   DESPENSA - IGUALAR TODOS LOS CONTENEDORES
===================================== */

/* Tarjeta exterior */
body.page-id-1934 li.jet-woo-builder-product {

    height:610px !important;
    min-height:610px !important;

}


/* Contenedor Elementor */
body.page-id-1934 li.jet-woo-builder-product > .elementor {

    height:620px !important;

}


/* Sección interna */
body.page-id-1934 li.jet-woo-builder-product section.elementor-section {

    height:100% !important;

}


/* Columna */
body.page-id-1934 li.jet-woo-builder-product .elementor-column {

    height:100% !important;

}


/* Caja interna */
body.page-id-1934 li.jet-woo-builder-product .elementor-widget-wrap {

    height:100% !important;

    display:flex !important;

    flex-direction:column !important;

}


/* Imagen fija */
body.page-id-1934 li.jet-woo-builder-product .jet-woo-builder-archive-product-thumbnail {

    height:240px !important;

    flex-shrink:0 !important;

}


/* Categoría oculta pero reserva eliminada */
body.page-id-1934 .jet-woo-builder-archive-cats {

    display:none !important;

}


/* Título siempre igual */
body.page-id-1934 .jet-woo-builder-archive-product-title {

    height:50px !important;

    min-height:50px !important;

    overflow:hidden;

}


/* Precio altura fija */
body.page-id-1934 .jet-woo-builder-archive-product-price {

    height:40px !important;

}


/* Bloque cantidad + botón siempre abajo */
body.page-id-1934 .elementor-widget-jet-woo-builder-archive-add-to-cart {

    margin-top:auto !important;

}
/* Ajuste fino separación inferior */
body.page-id-1934 li.jet-woo-builder-product > .elementor{
    box-sizing:border-box !important;
}


/* =====================================
   PRODUCTO AGOTADO DESPENSA
===================================== */

body.page-id-1934 .bloque-agotado{

    width:100%;

    min-height:115px;

    display:flex;

    align-items:flex-end;

}


body.page-id-1934 .covimed-agotado{

    width:100%;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:25px;

    background:#999;

    color:#fff;

    font-weight:600;

}

/* =====================================
   DESPENSA - Separar imagen y título
===================================== */

body.page-id-1934 .jet-woo-builder-archive-product-title{

    margin-top:20px !important;

}