/* 
Theme Name: Xonex
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Xonex - Elementor Child Theme
Author: Andrea - Xonex Srl
Author URI: https://www.xonex.it/
Template: hello-elementor
Version: 1.0.0
Text Domain: xonex-elementor-child
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
*/


.payment_method_igfs-ccpt img {

}

.woocommerce .col2-set, .woocommerce-page .col2-set {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce form .form-row {
    padding: 3px;
    margin: 0 0 20px;
}

.woocommerce form .form-row .input-checkbox {
    width: 24px;
    height: 24px;
}


/* Add your custom styles here */

.single_add_to_cart_button {
    color: #ffffff !important;
    background-color: #24AC00 !important;
    width: 100%;
    border-radius: 5px !important;
    padding: 20px 5px !important;
    text-transform: uppercase;
    margin-left: 0px !important;
}


.single_add_to_cart_button:hover {
    background-color: #24ac0094 !important;

}

.price {
    margin: 0;
}

.bundled_product_checkbox {
    width: 20px !important;
    height: 20px !important;
}

.bundled_product_optional_checkbox {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    column-gap: 5px;
}

.bundle_form .bundled_product.product {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    width: fit-content;
}

.bundled_product_optional_checkbox .woocommerce-Price-amount.amount {
    font-size: 25px !important;
    font-weight: 600;
}

.bundled_product_title_link {
    display: none;
}


#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: rgb(172 172 172 / 14%);
    border-radius: 5px;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: #a79a32;
    color: #ffffff;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    content: "";
    display: block;
    border: 1em solid #9f974f;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
    position: absolute;
    top: -.75em;
    left: 0;
    margin: -1em 0 0 2em;
}

a {
	color: #B79767;	
}

.woocommerce a.button {
    background-color: #9F974F;
    color: white;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 5px 5px 5px 5px;
}

#xnx-sidebar-shop a {
    color: black;
}

/* Contenitore principale */
.acf-orologio-info {
  margin: 1em 0; /* margine esterno, se vuoi */
}

h2.woocommerce-loop-product__title {
    min-height: 54px;
}

/* Ogni riga (etichetta + valore) */
.acf-orologio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;         /* Allineamento verticale al centro, opzionale */
  border-bottom: 1px solid #ccc; /* Sottolinea ogni riga */
  padding: 0.5em 0;
}

/* Colonna di sinistra: etichetta */
.acf-orologio-label {
    text-align: left;
    flex: 0 0 40%;
    font-weight: 500;
}

/* Colonna di destra: valore */
.acf-orologio-value {
  text-align: right;
  flex: 1;        /* Per fare in modo che si adatti allo spazio rimanente */
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.faq-item {
    border-radius: 15px;
    border: 1px solid #cdcdcd;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f7f7;
    border: none;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

.faq-question .toggle-symbol {
    font-size: 20px;
}

.faq-answer {
    display: none;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}


.faq-question .toggle-symbol {
    content: '+';
}

#wa-button-single a {
    color: black;
    font-size: 20px;
    font-weight: 500;
}

.marchi-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marchio-item {
    margin-bottom: 10px;
}

.sub-marchi-lista {
    list-style: none;
    margin-left: 0px;
    padding-left: 25px;
}

button.faq-question {
    background-color: transparent;
    color: black;
}

button.faq-question span {
    font-size: 16px;
    font-weight: 500;
}


/* contact form */

.xnx-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 0px;
    grid-column-gap: 10px;
}
label.xnx-label-fullwidth {
    width: 100%;
}

label.xnx-label-fullwidth .wpcf7-textarea {
    resize: vertical;
    max-height: 100px;
}

.xnx-label-fullwidth input {
    width: 100%;
}

.xnx-form-grid input {
    border-radius: 0;
    color: #000000;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    border: 1px solid black;
    background: black;
    color: #fff;
	border-radius: 0;
}

.xnx-custom-field-cf7 {
    display: none;
}



.marca-terms-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* Aggiungi uno spazio tra gli elementi */
}

.marca-term-item {
    flex: 1 1 16.66%; /* 6 marchi per riga (100% / 6) */
    box-sizing: border-box;
    padding: 10px;
}

.marca-term-item img {
    max-width: 100%;
    height: auto;
}


.categorie-prodotto {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.categorie-prodotto .categoria-prodotto {
    flex: 1 1 calc(16.666% - 16px);
    max-width: calc(16.666% - 16px);
    text-align: center;
}

.categorie-prodotto .categoria-prodotto img {
    width: 100%;
    height: auto;
}

.dgwt-wcas-search-wrapp {
    margin-left: 0!important;
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
    display: none;
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit, .dgwt-wcas-om-bar .dgwt-wcas-om-return {
/*     font-family: 'Poppins'; */
    font-size: 13px;
}

input#dgwt-wcas-search-input-1 {
/*     font-family: poppins;
	border-radius: 5px; */
}

.woocommerce .elementor-139 .elementor-element.elementor-element-f676a4e .price {
    margin-top: 13px;
}

#xnx-mini-banner a {
    color: #fff;
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit, .dgwt-wcas-om-bar .dgwt-wcas-om-return {
    border-radius: 0 5px 5px 0;
}

/* Stile generale per la griglia del mega menu */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Stile per ogni colonna del mega menu */
.mega-menu-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Stile per ogni elemento della griglia */
.mega-menu-item {
    padding: 4px;
}

/* Stile per i link del mega menu */
.mega-menu-link {
    text-decoration: none;
    color: inherit;
    text-align: left;
}

/* Stile per i titoli dei link */
.mega-menu-link p {
    margin: 0;
	font-size: 13px;
	font-weight: 400;
    text-align: left;
}

.mega-menu-item a {
    color: black;
}

.mega-menu-link-shop p{
	font-weight: 500;
	text-decoration: underline;
}

.products .woocommerce-loop-product__title {
	 padding: .5em .5em;
}

.grid-category-item {
	flex: 0 0 calc(16.66% - 16px); 
	text-align: center;
}

div#ff-stream-1 {
    background-color: transparent;
}

.marchio-nome.current-term a {
    color: #b49868!important ;
}

/* sidebar hide  */
/* 
.post-type-archive-product #sidebar-cat-shop{
	display: none;
}

.tax-product_cat .wpc-filter-product_cat{
	display: none;
} */

#xnx-gallery-zoom .images {
	width: 100% !important;
}

.images .yith_magnifier_zoom_wrap img {
    max-height: 500px;
    width: auto !important;
	margin: 0 auto;
}


.thumbnails.slider li img {
    max-height: 100px;
    width: auto !important;
}


/* Layout adattivo per smartphone (1 colonna) */

input#dgwt-wcas-search-input-1 {
    font-size: 12px;
}
/* Stile base per la griglia del team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 colonne su desktop */
    gap: 20px;
    margin: 0 auto;
    padding: 20px;
}

/* Stile per ogni membro del team */
.team-member {
    text-align: center;
    border-radius: 5px;
}

.team-member img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.1rem;
    margin: 0;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
}

.team-member:hover {
    transform: scale(1.05); /* Effetto hover per ingrandire leggermente */
}

span.marchio-nome a {
    color: black;
}

.wpc-filter-content.wpc-filter-product_cat.wpc-filter-has-hierarchy ul {
    padding-left: 0px;
}

.wpc-filter-content.wpc-filter-product_cat.wpc-filter-has-hierarchy li a {
    color: black;
    font-size: 14px;
}

.sffm-flymenu-trigger-block.sffm-position-middle-left.sffm-shape-round {
    display: none;
}

ul.products.elementor-grid.columns-3 .button {
    display: none !important;
}


.woocommerce-error, .woocommerce-info, .woocommerce-message {
    position: relative;
    background-color: #f9f9f9;
    color: #4a4a4a;
	border-top: 3px solid #f9f9f9;
}

form.cart .quantity {
    display: none;
}
.elementor-menu-cart__subtotal {
    font-family: 'Farro';
}

.archive  a.button.ajax_add_to_cart {
    display: none !important;
}

.archive  span.from {
    display: none;
}

.product span.woocommerce-Price-amount.amount {
    font-size: 32px;
    font-weight: 600;
}

li.product.type-product {
    text-align: center;
	 border: 1px solid #dcdcdc;
    border-radius: 15px;
}

li.product.type-product span.price bdi {
    font-size: 20px;
}

li.product.type-product h2.woocommerce-loop-product__title {
    color: black ! Important;
}

.elementor-menu-cart__footer-buttons a {
    min-height: 62px;
}

.woocommerce-cart-form .product-quantity {
    display: none !important;
}

button#conferma_pagamento_popup {
    background: green;
    color: white;
    border: green;
}

div#popup-conferma-ordine h3 {
    color: #9f974f;
}

/* Media Queries per responsività */

/* Su tablet (fino a 1024px), 3 colonne */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {
    .categorie-prodotto .categoria-prodotto {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
	
	.grid-category-item {
        flex: 0 0 100%; /* 1 colonna */
    }
	 .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonne su mobile */
    }
}

/* Su schermi molto piccoli, una sola colonna */
@media (max-width: 480px) {
    .marca-term-item {
        flex: 1 1 100%; /* Una colonna per schermi molto piccoli */
    }
	
	 .grid-category-item {
        flex: 0 0 calc(50% - 16px); /* 2 colonne */
    }
	
	#xnx-sidebar-filter{
		display:none;
	}
}

.container-condizioni-assicurative {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 30px;
}


.titolo-row-condizioni-assicurative::after {
    content: "";
    color: #9F974F;
    border-bottom: solid 2px;
    width: 100px;
    height: 4px;
    background: #9F974F;
    display: block;
    margin-bottom: 25px;
}

.titolo-row-condizioni-assicurative {
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.container-condizioni-assicurative,
.container-condizioni-assicurative * {
  font-family: var(--e-global-typography-text-font-family, 'Farro', Arial, Helvetica, sans-serif) !important;
}

/* inizio ottimizzazione woocomemrce */

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.order-again {
    display: none;
}


/* fine ottimizzazione woocomemrce */