/*
Theme Name: Gesimatic CarmeloAndres
Theme URI: https://gesimatic.com/themes/carmeloandres/
Author: the Carmelo Andres
Author URI: https://carmeloandres.com
Description: Theme created for the carmeloandres.com website
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carmelo
*/

.gsmtc-custom-background-blue {
    background-image: url('./assets/images/carmeloandres-fondo.jpg'); /* Ruta relativa desde el archivo CSS */
    background-repeat: no-repeat; /* No repetir la imagen */
    background-position: top center; /* Posicionar la imagen en la parte superior y centrada */
    background-size: 100% 100%; /* La imagen cubre el ancho completo, la altura se ajusta automáticamente */
    background-color: black; /* Color negro para rellenar la parte inferior */
}
 
.gsmtc-custom-background {
    background-color: white; /* Color negro para rellenar la parte inferior */
}

.custom-placeholder::placeholder{
    color: var(--wp--preset--color--corporative);
  opacity: 1; /* Asegura que sea visible en algunos navegadores */
} 

.space-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.width-100{
    width: 100%;
}
.padding-left-100{
    padding-left: 100px;
}

.wp-block-navigation-item:hover {
    color: var(--wp--preset--color--highlighted);
}

.gsmtc-footer{
    margin: 0!important;
}

.gsmtc-corporative-footer-credits a{
    text-decoration: none;
}

.wp-block-button__link {
    border: 4px solid var(--wp--preset--color--corporative);
    border-radius: 30px;
    color: var(--wp-preset--color--contrast);
    background-color: var(--wp--preset--color--white);
}

.wp-block-query-pagination-next {
    border: 2px solid var(--wp--preset--color--corporative);
    border-radius: 5px 30px 30px 5px;
    color: var(--wp--preset--color--corporative);
    padding: 7px;
    text-decoration: none;
} 
.wp-block-query-pagination-previous {
    border: 2px solid var(--wp--preset--color--corporative);
    border-radius: 30px 5px 5px 30px;
    color: var(--wp--preset--color--corporative);
    padding: 7px;
    text-decoration: none;
} 

.wp-block-query-pagination-numbers{
    border: 2px solid var(--wp--preset--color--corporative);
    box-sizing: border-box;
    padding: 8px 0;

}
.page-numbers{
    box-sizing: border-box;
    text-decoration: none;
    margin: 0;
    padding: 10px;

}

.page-numbers.current{
    background-color: var(--wp--preset--color--corporative);
    color: var(--wp--preset--color--white);
    margin:0;
}

.woocommerce-gsmtc-myaccount-content{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.woocommerce-gsmtc-myaccount-content nav{
    display: flex;
    justify-content: center;
    width: 100%!important;
}

.woocommerce-MyAccount-navigation ul{
    display: flex;
    justify-content:space-around;
    align-items: center!important;
    border-bottom: var(--wp--preset--color--corporative) 2px solid;
    width:100%;
} 
.woocommerce-MyAccount-navigation li:first-child{
    padding-top: 1rem!important;
}

.woocommerce-MyAccount-navigation-link a{
    text-align: center!important; 
    padding:10px 30px;  
}

.woocommerce-MyAccount-navigation-link.is-active a{
    background-color:  var(--wp--preset--color--corporative);
    color:var(--wp--preset--color--white);
    text-decoration: none!important;
    border-radius: 30px;
}

.woocommerce-MyAccount-navigation-link a:hover{
    color:var(--wp--preset--color--highlighted);
    text-decoration: none!important;   
}

.woocommerce-MyAccount-content{
    float: none!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%!important;
}

.woocommerce-MyAccount-content h2{
    text-align: center;
}

.woocommerce-Button{
    background-color:var(--wp--preset--color--corporative)!important ;
}

.single_add_to_cart_button{
    background-color:var(--wp--preset--color--corporative)!important ;
}
.wp-block-heading h2 { 
    text-decoration: none;
}

.wp-block-heading a { 
    text-decoration: none;
}

.portfolio-card{
    min-height: 700px;
    width: 310px;
}

    .wp-block-navigation-item{
        font-size: 18px;
        margin: 0 15px;
    }

    .wp-block-navigation-item.current-menu-item {
        color:var(--wp--preset--color--contrast);
    }

    .wp-block-navigation-item:hover {
        color: var(--wp--preset--color--highlighted);
    }


/*    ul.wp-block-navigation__container li:last-child{ */
    ul.menu-header li:last-child{
        background-color: var(--wp--preset--color--light-green);
        border-radius: 30px;
        color: var(--wp--preset--color--white);
        padding:10px 30px;
    }

/*    ul.wp-block-navigation__container li:last-child:hover{ */
    ul.menu-header li:last-child:hover{
        background-color: var(--wp--preset--color--corporative);;
        color: var(--wp--preset--color--white);
    }

/*    ul.wp-block-navigation__container li:last-child.current-menu-item{ */
    ul.menu-header li:last-child.current-menu-item{
        background-color: var(--wp--preset--color--corporative);
        color: var(--wp--preset--color--white);
    }





/* Menu responsive */
@media (max-width:600px){

    .wp-block-navigation__responsive-container{
        background-color: transparent !important;
    }

    button.wp-block-navigation__responsive-container-close{
        background-color: var(--wp--preset--color--elegant-blue);
        color: #fff;
        font-size: 35px;
        margin-bottom: 5px;
        padding: 25px 10px;
        width: 100%;

    }

    .wp-block-navigation__responsive-container.is-menu-open{
        
        padding: 0 !important;
    }

    ul.menu-header{
        margin-top: 30px;
    }

    ul.menu-header li:last-child{
        padding: 0;
   
    }
    .wp-block-navigation__container{
        width: 100%;
    }
    .wp-block-navigation-item{
        display: flex;
        justify-content: center;
        margin: 5px 0;
        width: 100%;
    }
    
    .menu-header li a{
        background:var(--wp--preset--color--elegant-blue);
        border: #fff solid 2px;
        box-sizing: border-box;
        color:#fff;
        font-size: 20px;
        padding: 12px !important;
        text-align: center;
        width: 100%;

    }

    .wp-block-navigation-item__label{
        color: #fff;
        padding: 10px;
        width: 100%;
    }

    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content a:focus {
    outline: none; 
  }

  }
    