/* =====================================
   PAÑALES BEBÉ - PÁGINA 1591
===================================== */

/* Ocultar filtro precio y ordenamiento */
body.page-id-1591 .price_slider_wrapper,
body.page-id-1591 .woocommerce-ordering{
    display:none !important;
}


/* =====================================
   PRODUCTOS
===================================== */

body.page-id-1591 ul.products{
    gap:25px !important;
}

body.page-id-1591 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-1591 ul.products li.product:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}


/* =====================================
   IMAGEN
===================================== */

body.page-id-1591 ul.products li.product img{

    border-radius:12px;

    width:100%;
    height:250px;

    object-fit:contain;

    margin-bottom:15px;

}

/* =====================================
   OCULTAR CATEGORÍA (INFANTIL)
===================================== */

body.page-id-1591 ul.products li.product a[href*="/product-category/"]{
    display:none !important;
}

/* =====================================
   TÍTULO
===================================== */

body.page-id-1591 .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-1591 ul.products li.product .price{

    display:block;

    font-size:20px;

    font-weight:700;

    color:#4357A3;

    margin:0 0 20px 0;

}


/* =====================================
   CANTIDAD
===================================== */

body.page-id-1591 .cantidad-panales{

    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-1591 .cantidad-panales 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-1591 .cantidad-panales button:hover{

    background:#263c8f;

    transform:scale(1.08);

}

body.page-id-1591 .cantidad-panales 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-1591 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-1591 ul.products li.product .button:hover{

    background:#263c8f;

}


/* =====================================
   PAGINACION
===================================== */

body.page-id-1591 .woocommerce-pagination{

    margin-top:45px;

    text-align:center;

}

body.page-id-1591 .woocommerce-pagination ul{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    border:none !important;

}

body.page-id-1591 .woocommerce-pagination ul li{

    border:none !important;

}

body.page-id-1591 .woocommerce-pagination a,
body.page-id-1591 .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-1591 .woocommerce-pagination .current{

    background:#4357A3;

    color:#fff;

    border-color:#4357A3;

}

body.page-id-1591 .woocommerce-pagination a:hover{

    background:#263c8f;

    color:#fff;

}


/* =====================================
   CANTIDAD PAÑALES - QUITAR FLECHAS NATIVAS
===================================== */

/* Chrome, Edge, Safari */
body.page-id-1591 .cantidad-panales input[type=number]::-webkit-inner-spin-button,
body.page-id-1591 .cantidad-panales input[type=number]::-webkit-outer-spin-button{

    -webkit-appearance:none;
    margin:0;

}

/* Firefox */
body.page-id-1591 .cantidad-panales input[type=number]{

    -moz-appearance:textfield;

}

/* Centrar correctamente el número */
body.page-id-1591 .cantidad-panales input{

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    line-height:36px;

}

/* Separar título y precio - Página Pañales Bebé */
body.page-id-1591 .jet-woo-builder-archive-product {
    display: flex;
    flex-direction: column;
}

body.page-id-1591 .jet-woo-builder-archive-product-title {
    margin-bottom: 20px !important;
}

body.page-id-1591 .jet-woo-builder-archive-product-price,
body.page-id-1591 .price {
    margin-top: 20px !important;
}

/*FUNDIONANDO HACIA ARRIBA*/
/* =====================================
   TARJETAS PRODUCTOS PAÑALES BEBÉ
   Ajuste compacto - JetWooBuilder
===================================== */

/* Tarjeta principal */
body.page-id-1591 .jet-woo-builder-product {
    min-height: 540px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Contenedor interno */
body.page-id-1591 .jet-woo-builder-product > .elementor,
body.page-id-1591 .jet-woo-builder-product .elementor-widget-wrap {
    min-height: 540px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Imagen */
body.page-id-1591 .jet-woo-builder-archive-product-thumbnail {
    height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.page-id-1591 .jet-woo-builder-archive-product-thumbnail img {
    max-height: 200px !important;
    object-fit: contain !important;
}

/* Ocultar categoría */
body.page-id-1591 .jet-woo-builder-archive-cats {
    display: none !important;
}

/* Título */
body.page-id-1591 .jet-woo-builder-archive-product-title {
    min-height: 55px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Precio */
body.page-id-1591 .jet-woo-builder-archive-product-price {
    margin-top: auto !important;
}

/* Botón y cantidad */
body.page-id-1591 .elementor-widget-jet-woo-builder-archive-add-to-cart {
    margin-top: auto !important;
}