/*
 Theme Name:     Jeronimes
 Theme URI:      https://imesdisseny.com
 Description:    Divi Child Theme
 Author:         imesdisseny
 Author URI:     https://imesdisseny.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

#top-menu li {
    padding-right: 14px;
    font-size: 13px;
}

#et-top-navigation .et-cart-info {
	float: none;
}

/* R25 */
.woocommerce ul.products li.product-category {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 40px;
    border: none;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
    background-color: #a87a06;
}

.woocommerce ul.products li.product-category mark {
    display: none;
}

.woocommerce ul.products li.product-category:hover {
    transform: translateY(-5px);
}

.woocommerce ul.products li.product-category img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    font-family: "Lato", sans-serif; /* o la fuente que uses en Divi */
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #a87a06;
    text-align: center;
    text-transform: uppercase;
    padding: 12px 10px;
    margin: 0;
}

.woocommerce-loop-category__title {
    margin-top: 0;
}

li.product-category > a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
}

li.product-category img {
    display: block;
    margin: 0;
    padding: 0;
}

ul.products li.product-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

ul.products li.product-category > a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    text-decoration: none;
}

ul.products li.product-category img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* Estilo y ubicación del título como "pastilla" abajo */
ul.products li.product-category h2.woocommerce-loop-category__title {
    background-color: #a87a06; /* dorado */
    color: #fff;
    padding: 0.75em 0.5em;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

ul.products.columns-4 li.product-category {
    min-height: 320px;
}