/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/
.col-full-nav {
    display: flex !important;
    justify-content: center;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Default to single column for mobile */
    grid-gap: 20px;
}


/* This media query will apply styles for screens that are at least 768px wide (tablets and desktops) */

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for larger screens */
    }
}

.grid-item {
    background: #f7f7f7;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    margin: 10px;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.03);
    /* Slightly reduce the scale effect for mobile optimization */
}

.card-img-top {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1rem;
    color: #333;
    padding: 10px;
    display: block;
    text-align: center;
}

.card-meta {
    font-size: 0.8rem;
    color: #666;
}

form {
    display: inline;
}

.tnp-field-email,
.tnp-field-button {
    display: inline-block;
    vertical-align: top;
    /* Align elements vertically */
}

.tnp-subscription label,
.tnp-profile label {
    display: none;
}

.tnp-email {
    background: none !important;
    border: 1px solid white !important;
    width: 350px !important;
}

.tnp-submit {
    background-color: white !important;
    color: #000 !important;
}

.tnp-email::placeholder {
    color: white;
    opacity: 1;
    /* Firefox */
}

.woocommerce-LoopProduct-link {
    font-size: 24px !important;
    font-weight: 500 !important;
}

body .main-navigation ul.menu li.menu-item-has-children.full-width>.sub-menu-wrapper li a.button,
body ul.products li.product .added_to_cart,
body ul.products li.product .button {
    opacity: 1 !important;
}

#secondary input[type=search], .site-search form input[type=search]{ height: 40px;}
.site-search form::before{     margin-top: -12px;}

a.wc-block-components-product-name{ color: #000000; font-size: 1.2em;}
img.icono-producto{ vertical-align: bottom; }

.slider
.slide-track {
    animation: scroll 15s linear infinite !important;
    display: flex;
    width: calc(450px* 12) !important;
}

.asnp-BundleGridItem-ProductBox.asnp-medium{ max-width: 120px;}
.menu-item-product{ font-weight: bold;}
.asnp-product-Price, .asnp-productList-price{display: none;}

.shoptimizer-category-banner.lazy-background:before{ background-color: rgba(0, 0, 0, 0) !important;}

.shoptimizer-category-banner.lazy-background .taxonomy-description p, .shoptimizer-category-banner.lazy-background .taxonomy-description p a, .shoptimizer-category-banner.lazy-background h1{ color: #222 !important;}

.icono-unidades{ display: unset !important; width: auto !important; position: relative;
    top: 8px;}
    
    .product .add_to_cart_button {

        bottom: 14em !important;
    }

