/* 
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
*/

/* Add your custom styles here */

a {
	color: #B79767;	
}

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 {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.faq-item {
    margin: 10px 0;
}

.faq-question {
    width: 100%;
    background: #f7f7f7;
    border: none;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

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

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

.faq-item {
    border-bottom: 1px solid #000000;
    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;
}

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


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

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

.yith_magnifier_mousetrap {
/* 	z-index: 99; */
}

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

.grecaptcha-badge {
    opacity: 0;
}

.products li.outofstock > a.woocommerce-LoopProduct-link:before  {
    content: "Venduto";
    position: absolute;
    right: 0;
    background: #b91a1a;
    color: white;
    padding: 5px 10px;
    border-radius: 0 0 0 10px;
}

.outofstock div#box-acquista {
    display: none;
}

a.link-richiedi-info {
    background: #b79767;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}

.faq-question span {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    text-align: left; /* Per allineare meglio il testo */
}

.nuovi-arrivi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    font-family: 'Poppins', sans-serif;
}

.box-prodotto {
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.box-prodotto .img-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* mantiene immagine quadrata */
    overflow: hidden;
    border-radius: 8px;
}

.box-prodotto .img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.box-prodotto .img-link:hover img {
    transform: scale(1.05);
}

.titolo-prodotto a {
    display: block;
    font-weight: 600;
    color: #111;
    margin-top: 10px;
    font-size: 12px;
    text-decoration: none;
}

.prezzo-prodotto {
    color: #c89b3c;
    font-weight: 600;
    margin-top: 5px;
    font-size: 15px;
}

/* 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;
	}
}


