/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
.blocco-evidenziato {
	background:#f4cccc!important;
	padding:15px;
}
.reset_variations {
	display:none!important;
}
body.textual-accent-color .post-content > div ul:not(.menu-smart):not(.nav-tabs):not(.pagination) a:not(.btn):not(.unmenu-block *){
	color:#000!important;
	text-decoration:underline!important;
}
body.textual-accent-color .post-content > div ul:not(.menu-smart):not(.nav-tabs):not(.pagination) a:not(.btn):not(.unmenu-block *):hover{
	color:#000!important;
	text-decoration:none!important;
}
.woocommerce .star-rating:before, .woocommerce-page .star-rating:before, .woocommerce p.stars:before, .woocommerce-page p.stars:before {
    color: rgba(40,38,43,1);
	font-family: "FontAwesome" !important;
	content: "\f006\f006\f006\f006\f006";
}
.woocommerce .star-rating span:before, .woocommerce-page .star-rating span:before {
	font-family: "FontAwesome" !important;
    content: "\f005\f005\f005\f005\f005";
}
.iconspinner {
    text-align: center;
    font-size: 4rem;
    display: none;
}
.testo-simil-h1{
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    font-family: "texgyreadventorregular";
    line-height: 45px;
    text-transform: none;
    letter-spacing: 0px;
}
#searchform input,#searchform  select {
    height: 40px;
    line-height: 40px;
    width: 100%;
}
#searchform input {
    height: 40px;
    line-height: 34px;
    width: 100%;
}
#searchform input[type="submit"]{
    background:#f0c14b!important;
    color:#fff;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    font-family: "texgyreadventorregular";
    line-height: 19.18px;
    text-transform: uppercase;
    letter-spacing: 0px;
    border:none;
    cursor:pointer;
}
#searchform input[type="submit"]:disabled{
    background:rgba(239, 239, 239, 0.3)!important;
    color:#000;
    border:solid 2px #ccc;cursor:default;
}
#contenitore-assistenza{
    margin:0!important;
}
.mobile-shopping-cart .badge {
   
    color: #000!important;
	font-weight:bold!important
}
.tax-product_cat.term-vernici-metalliche.term-261 .heading-text h1{
	color:#fff!important;
}
@media (min-width: 768px) {
    #searchform .vc_col-sm-4 {
        width: 33.33333333%;
		float: left;
		padding-left: 10px;
    	padding-right: 10px;
    }
	#searchform input[type="submit"]{
		margin-top: 10px;
	}
	#searchform:after {
		content: '';
  display: block;
  clear: both;
	}
}

@media (max-width: 949px){
	.blocco-descrittivo-categoria p,body .text-lead,body  .text-lead > *,body  .nav-tabs .tab-excerpt.text-lead{
		font-size: 16px!important
	}
	body h1:not([class*="fontsize-"]),body  .h1:not([class*="fontsize-"]) {
    	font-size: 30px;
	}
	 body .double-block-padding {
        padding: 36px;
    }
	.tax-product_cat #row-unique-0 .row-background.background-element + .row-parent .wpb_row.row-inner{
		height:200px!important;
	}
	.tax-product_cat  #row-unique-0 .row-background.background-element .background-wrapper .background-inner {
		background-position: left center!important;
	}
	.tax-product_cat .heading-text h1{
		color:#fff!important;
	}
	.tax-product_cat .t-entry-text .t-entry-title, .single-product .owl-carousel-wrapper  .t-entry-text .t-entry-title{
		font-size: 14px!important;
	}
	 .single-product .tab-content .row.limit-width.row-parent{
		padding:18px 0!important
	}
}

/* =========================================================
   STRUTTURA E ANIMAZIONI GENERALE (Larghezza fluida al 100%)
   ========================================================= */
#uncode-quiz-mobile, 
#uncode-quiz-mobile-finals {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Nasconde gli step non attivi, mostra solo quello corrente */
#uncode-quiz-mobile .p-step,
#uncode-quiz-mobile-finals .p-step {
    display: none;
}

#uncode-quiz-mobile .p-step.p-active,
#uncode-quiz-mobile-finals .p-step.p-active {
    display: block;
    animation: pQuizFadeIn 0.3s ease-in-out;
}

#uncode-quiz-mobile .p-quiz-title,
#uncode-quiz-mobile-finals .p-quiz-title {
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

#uncode-quiz-mobile-finals .p-result-subtitle {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 15px;
    color: #333333;
}

/* =========================================================
   STILE PER I LINK NEL TESTO (Sottolineati, hover neri)
   ========================================================= */
#uncode-quiz-mobile a,
#uncode-quiz-mobile-finals a {
    color: #67a79b; /* Colore base del link coordinato con i pulsanti */
    text-decoration: underline !important; /* Sempre sottolineati */
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#uncode-quiz-mobile a:hover,
#uncode-quiz-mobile a:active,
#uncode-quiz-mobile-finals a:hover,
#uncode-quiz-mobile-finals a:active {
    color: #000000 !important; /* Diventano neri all'hover */
    text-decoration-color: #000000 !important;
}

/* =========================================================
   STILE PULSANTI SCELTE E PULSANTE AZIONE (Colore 67a79b - Max 700px)
   ========================================================= */
#uncode-quiz-mobile .p-quiz-btn,
#uncode-quiz-mobile-finals .p-quiz-btn,
#uncode-quiz-mobile .p-quiz-btn.p-btn-action,
#uncode-quiz-mobile-finals .p-quiz-btn.p-btn-action {
    display: block;
    width: 100%;
    max-width: 700px; /* Limite massimo per i pulsanti */
    margin: 0 auto 12px auto; /* Centrati orizzontalmente */
    background-color: #67a79b; /* Colore richiesto per tutte le scelte e azioni */
    border: 2px solid #67a79b;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none !important; /* Rimuove la sottolineatura dai pulsanti grafici */
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#uncode-quiz-mobile .p-quiz-btn strong,
#uncode-quiz-mobile-finals .p-quiz-btn strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #ffffff;
}

#uncode-quiz-mobile .p-quiz-btn small,
#uncode-quiz-mobile-finals .p-quiz-btn small {
    color: #e0f2f1;
    font-size: 0.85rem;
}

/* Effetto al tocco/passaggio del mouse per scelte e azioni finali */
#uncode-quiz-mobile .p-quiz-btn:hover, 
#uncode-quiz-mobile .p-quiz-btn:active,
#uncode-quiz-mobile-finals .p-quiz-btn:hover,
#uncode-quiz-mobile-finals .p-quiz-btn:active {
    background-color: #558c81; /* Tonalità più scura al passaggio */
    border-color: #558c81;
    color: #ffffff !important; /* Mantiene il testo del pulsante bianco anche all'hover */
}

/* Distanziamento aggiuntivo specifico per il pulsante d'azione finale */
#uncode-quiz-mobile .p-quiz-btn.p-btn-action,
#uncode-quiz-mobile-finals .p-btn-action {
    font-weight: bold;
    margin-top: 15px;
}

/* =========================================================
   SCATOLA RIEPILOGO PRODOTTI CONSIGLIATI
   ========================================================= */
#uncode-quiz-mobile .p-product-box,
#uncode-quiz-mobile-finals .p-product-box {
    background: #f9f9f9;
    border-left: 4px solid #67a79b;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

#uncode-quiz-mobile .p-product-box strong,
#uncode-quiz-mobile-finals .p-product-box strong {
    
    color: #000000;
   
}

#uncode-quiz-mobile .p-product-box p,
#uncode-quiz-mobile-finals .p-product-box p {
    margin: 4px 0 10px 0;
    font-size: 0.9rem;
    color: #444444;
}

/* =========================================================
   STILE PULSANTE INDIETRO (Colore principale Nero)
   ========================================================= */
#uncode-quiz-mobile .p-back-btn,
#uncode-quiz-mobile-finals .p-back-btn {
    display: block;
    width: auto;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 10px 20px;
    margin: 25px auto 0 auto;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    text-decoration: none !important; /* Rimuove la sottolineatura dal pulsante indietro */
    transition: all 0.2s ease;
}

#uncode-quiz-mobile .p-back-btn:hover, 
#uncode-quiz-mobile .p-back-btn:active,
#uncode-quiz-mobile-finals .p-back-btn:hover, 
#uncode-quiz-mobile-finals .p-back-btn:active {
    background-color: #222222;
    border-color: #222222;
    color: #ffffff !important;
}

/* =========================================================
   ANIMAZIONE
   ========================================================= */
@keyframes pQuizFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
