/*
    Theme Name: Pancrush
    Theme URI: 
    Author: Ergaru
    Author URI:
    Template: astra
    Description: Theme Diseñado para Pancrush
    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: pancrush
*/

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

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

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

@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;
}

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

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

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