/* 
Theme Name: Crottiamo
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Luca Bossi
Author URI: https://lucabossi.it/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .coupon .button,
 {
    color: #8B3A4A;
}

.woocommerce-cart .woocommerce-message .button.wc-forward {
    display: none;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
    background-color: rgb(139 58 74 / 14%);
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
    background-color: rgb(139 58 74 / 14%);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt{
    background-color: #8B3A4A;
    border-radius: 0;
}

.wc-block-cart__submit-container a {
	color:#ffffff;
	text-decoration: none;
	text-transform: uppercase
}

.yith-wcbk-form-section-service {
    display: flex;             /* Trasforma il div in un contenitore flex */
    align-items: center;       /* Allinea verticalmente gli elementi al centro */
    justify-content: space-between; /* Distribuisce lo spazio tra gli elementi */
    gap: 15px;                 /* Aggiunge uno spazio minimo tra gli elementi (puoi modificarlo) */
}

.yith-wcbk-form-section-service label {
    /* La label occuperà lo spazio necessario, ma non avrà una larghezza fissa del 70% */
    /* Questo permette all'ultimo elemento di andare a destra */
	flex-basis: 70%; /* La label occupa il 70% dello spazio disponibile */
    margin-right: 0; /* Rimuove eventuali margini a destra predefiniti */
    flex-grow: 1; /* Permette alla label di "crescere" e occupare più spazio */
}

.yith-wcbk-form-section-service input[type="number"] {
    width: 100%;             /* Assicura che l'input number occupi tutta la larghezza disponibile */
    box-sizing: border-box;  /* Include padding e border nella larghezza totale */
}

.yith-wcbk-booking-form {
	display:flex;
	flex-direction:column;
}

.yith-wcbk-booking-form .yith-wcbk-form-section-dates-wrapper {
	order:1;
}

.yith-wcbk-booking-form .yith-wcbk-form-section-resources-wrapper {
	order:2;	
}

.yith-wcbk-booking-form .yith-wcbk-form-section-persons-wrapper {
	order: 3;
}

.yith-wcbk-booking-form .yith-wcbk-form-section-services-wrapper {
	order:4;
}

/*Woocommerce email*/
/* Cambia la dimensione del font nel corpo delle email di WooCommerce */
#body_content_inner {
    font-size: 14px !important; /* Modifica 16px con la dimensione che preferisci */
}

/* Cambia la dimensione del font dei titoli H2 nelle email */
.wc-email-content h2 {
    font-size: 16px !important; /* Modifica 24px con la dimensione che preferisci */
}