/*
    Theme Name: Miel de Jade Child
    Theme URI: 
    Author: Ergaru
    Author URI:
    Template: astra
    Description: Theme Diseñado para Miel de Jade
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Comida, Pasteles, Pan, flexbox, css grid, mobile first
    Text Domain: mieldejadechild
*/

@import url('https://fonts.googleapis.com/css2?family=La+Belle+Aurore&display=swap');

:root{
  /** Fonts **/
  --title-font: "La Belle Aurore", cursive;
}

.site-title {
    font-size: 3.7em;
}

.site-title a {
    background: linear-gradient(to top, #74917a, #fce38a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
	background-color: #58735D;
}

@media (min-width: 1024px) {
    .wc-block-featured-category__wrapper .background-dim__overlay {
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .wc-block-featured-category__wrapper:hover .background-dim__overlay {
        background-color: rgba(0, 0, 0, 0.5);
    }

    .wc-block-featured-category__link {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .wc-block-featured-category__wrapper:hover .wc-block-featured-category__link {
        opacity: 1;
    }

    .wc-block-featured-category__title {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translate(-50%, 0);
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .wc-block-featured-category__wrapper:hover .wc-block-featured-category__title {
        transform: translate(-50%, -100%);
        opacity: 1;
    }

    .wc-block-featured-category__background-image {
        transition: transform 0.3s ease;
    }

    .wc-block-featured-category__wrapper:hover .wc-block-featured-category__background-image {
        transform: scale(1.02);
    }
    
    .wc-block-components-product-image img {
        transition: transform 0.4s ease;
    }

    .wc-block-components-product-image:hover img {
        transform: scale(1.04);
    }
    
    .wp-block-latest-posts__featured-image img {
        transition: transform 0.4s ease; /* Ensure smooth transition */
    }

    .wp-block-latest-posts__featured-image:hover img {
        transform: scale(1.04); /* Increase size by 4% on hover */
    }
}

.wp-block-latest-posts__featured-image img {
    border-radius: 10px;
}

.wp-block-latest-posts__post-title {
    font-size: 2.5em;
}

.wp-block-latest-posts__post-title {
    font-family: 'Unica One', serif;
}

.wp-block-group.alignfull h1 {
    font-family: var(--title-font);
    font-weight: 400;
    font-style: normal;
}

/*WhatsApp*/
.wc-block-cart__submit {
  display: none;
}

.woocommerce-mini-cart__buttons .checkout {
    display: none!important;
}

.whatsapp-icon {
    width: 25px;
    height: auto;
    margin-right: 5px;
}
