/* Schede sottocategoria nelle pagine di catalogo */
.cat-design-mask-subcat .wd-cat-inner {box-shadow: 0px 0px 10px 0px #c7c7c7;}
.cat-design-mask-subcat .wd-cat-header {background: white;border-radius: 8px;padding: 5px;}
.cat-design-mask-subcat .wd-cat-header .wd-entities-title {font-size: 21px !important;text-align: center;width: 100%;text-transform: unset !important;}

/* Spunta "scheda tecnica" nel riepilogo ordine del checkout */
.edw-scheda-tecnica {display: block;margin-top: 6px;}
.edw-scheda-tecnica__label {display: flex;align-items: center;gap: 2px;margin: 0;font-size: 13px;line-height: 1.4;font-weight: 400;cursor: pointer;text-transform: none;}
.edw-scheda-tecnica__input {margin: 2px 0 0;flex: 0 0 auto;}

/* Nota "scheda tecnica" nei dettagli ordine lato cliente */
.edw-scheda-tecnica-note {display: block;margin: 6px 0 0;padding: 4px 10px;border-left: 3px solid #dba617;background: #fcf0d4;color: #5c4813;font-size: 12px;font-weight: 600;line-height: 1.5;}

body .wd-checkout-steps {color: white;}
body .wd-header-cart .wd-tools-inner, .wd-header-wishlist .wd-tools-icon, .wd-header-my-account .wd-tools-inner {border-radius: 8px !important;}
body .wd-header-cart .wd-tools-inner .wd-tools-icon {border-radius: 6px;}
footer a {color: white;}
.wd-products-nav a {color: white;}

html:root {--border-radius: 8px !important;}
:root {--wd-line-count: 2;}

form .newsletter label, form .newsletter a, form .privacy span, form .privacy a {font-size: 14px !important;color: white !important;}
form.wpcf7-form .wpcf7-submit {min-width: 150px;}
form.wpcf7-form textarea {min-height: 130px;}
form .email_input {display: flex;gap: 20px;max-width: 100%;}
form .email_input .wpcf7-form-control-wrap {flex: 0 0 calc(80% - 20px);}
form .email_input .wpcf7-form-control.wpcf7-submit {flex: 0 0 calc(20% - 20px); min-width: 100px;}

#menu-menu-insetticidi-e-soluzioni-per-mega-menu a {color: #333 !important;}
#menu-menu-insetticidi-e-soluzioni-per-mega-menu {display: flex;flex-wrap: wrap;flex-direction: row;gap: 0;}
#menu-menu-insetticidi-e-soluzioni-per-mega-menu > li {width: 25%;max-width: 25%;flex: 0 0 25%;align-self: start;}
header .whb-header-bottom .wd-dropdown {padding: 10px;}
header .wd-sub-menu li > a {color: #333333;font-size: 15px;font-weight: 600;}
header .wd-dropdown-menu.wd-design-default {--wd-dropdown-width: 250px;}
header .wd-nav > li > a.woodmart-nav-link {min-height: 29px;}
header .border-top-3 {border-top: 3px solid #00a8df !important;}
header .border-top-3:hover {box-shadow: 0 0 20px -9px gray !important;}
header .pad-left-hover .woodmart-nav-link:hover {padding-left: 10px;}
header .pad-left-hover .woodmart-nav-link {transition: .2s all;}

/* Box info kit (prodotti Smart Bundle) */
.edw-kit-info {--edw-kit-blue: #2E9ABD;--edw-kit-blue-soft: #c5dff5;--edw-kit-bg: #f4f9fd;margin: 0px;padding: 20px 22px;background: linear-gradient(135deg, #f8fcff 0%, #eef8fd 100%);border: 1px solid #dce7ed;border-radius: 16px;box-shadow: 0 2px 8px rgba(0, 0, 0, .05);}
.edw-kit-info__section + .edw-kit-info__section {margin-top: 16px;padding-top: 16px;border-top: 1px solid var(--edw-kit-blue-soft);}
.edw-kit-info__title {margin: 0 0 12px;color: var(--edw-kit-blue);font-size: 15px;font-weight: 700;line-height: 1.3;text-transform: uppercase;letter-spacing: 0.02em;}
.edw-kit-info__list {margin: 0;padding: 0;list-style: none;}
.edw-kit-info__item {display: flex;align-items: flex-start;gap: 10px;margin: 0 0 10px;color: #333;font-size: 15px;font-weight: 400;line-height: 1.45;}
.edw-kit-info__item:last-child {margin-bottom: 0;}
.edw-kit-info__check {flex: 0 0 auto;display: inline-flex;align-items: center;justify-content: center;width: 22px;height: 22px;margin-top: 1px;border-radius: 50%;background: var(--edw-kit-blue);}
.edw-kit-info__check::before {content: "";display: block;width: 6px;height: 10px;margin-top: -2px;border: solid #fff;border-width: 0 2px 2px 0;transform: rotate(45deg);}
.edw-kit-info__ricevi {margin: 0;color: #333;font-size: 15px;font-weight: 600;line-height: 1.5;}
.edw-kit-info__ricevi strong {font-weight: 700;}
.edw-kit-info__sep {margin: 0 4px;font-weight: 400;color: #333;}

/* Riquadro informativo del prodotto, reso dallo shortcode [go_product_box] */
.go-product-info-box {display: flex;align-items: center;width: 100%;padding: 18px 28px 18px 18px;background: linear-gradient(135deg, #f8fcff 0%, #eef8fd 100%);border: 1px solid #dce7ed;border-radius: 16px;box-shadow: 0 2px 8px rgba(0, 0, 0, .05);font-family: inherit;gap: 10px;}
.go-product-info-box .rn-info-shield {flex: 0 0 105px;display: flex;align-items: center;justify-content: center;color: #2E9ABD;}
.go-product-info-box .rn-info-shield svg, .go-product-info-box .rn-info-shield img {width: 92px;height: auto;max-width: 100%;}
.go-product-info-box .rn-info-content {flex: 1;min-width: 0;}
.go-product-info-box .rn-info-title {margin-bottom: 7px;color: #2E9ABD;font-size: 16px;line-height: 1.2;font-weight: 700;letter-spacing: .2px;}
.go-product-info-box .rn-info-heading {margin-bottom: 8px;color: #111;font-size: 20px;line-height: 1.2;font-weight: 700;}
.go-product-info-box .rn-info-description {max-width: 650px;color: #222;font-size: 15px;line-height: 1.4;}
.informativa img {max-height: 80px;}

#riga-soluzioni::before {background: linear-gradient(115deg,transparent 0 58%,rgba(255,255,255,.04) 50% 59%,transparent 59% 65%,rgba(255,255,255,.025) 65%);}
body.wd .product-label.onsale {background-color: var(--e-global-color-accent);}

/* Scheda "Allegati" della pagina prodotto, resa dal plugin Guide Operative */
.go-allegati__lista {display: grid;grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));gap: 14px;margin: 0;padding: 0;list-style: none;}
.go-allegati__voce {margin: 0;padding: 0;}
.go-allegati__link {display: flex;flex-direction: column;align-items: center;gap: 10px;height: 100%;box-sizing: border-box;padding: 20px 16px 16px;background: #f8fcff;border: 1px solid #dce7ed;border-radius: 12px;color: #222;text-align: center;text-decoration: none;transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;}
.go-allegati__link:hover {background: #eef8fd;border-color: #2E9ABD;color: #222;box-shadow: 0 2px 10px rgba(0, 0, 0, .06);}
.go-allegati__icona {display: flex;align-items: center;justify-content: center;width: 100%;color: #2E9ABD;}
.go-allegati__svg {width: 46px;height: 46px;}
.go-allegati__icona img {width: auto;max-width: 72px;max-height: 62px;height: auto;border-radius: 6px;}
.go-allegati__nome {display: block;width: 100%;font-size: 15px;font-weight: 600;line-height: 1.35;overflow-wrap: anywhere;}
.go-allegati__meta {display: flex;align-items: center;justify-content: center;gap: 8px;margin-top: auto;padding-top: 4px;}
.go-allegati__tipo {padding: 3px 8px;background: #2E9ABD;border-radius: 5px;color: #fff;font-size: 11px;font-weight: 700;letter-spacing: .04em;text-transform: uppercase;}
.go-allegati__peso {color: #6b7a82;font-size: 13px;font-weight: 400;}

.woocommerce-tabs.wc-tabs-wrapper .wd-nav-tabs-wrapper {border-bottom: 1px solid #80808096;}
.woocommerce-tabs.wc-tabs-wrapper .wd-nav-tabs-wrapper li {padding-bottom: 10px;border-bottom: 3px solid transparent;transition: .2s all;}
.woocommerce-tabs.wc-tabs-wrapper .wd-nav-tabs-wrapper li.active {border-bottom-color: #00a8df !important;}
.wc-tab.panel .notice {display: flex;flex-direction: column;background-color: #f0f4f6;padding: 10px 20px;border-left: 4px solid #087b9f;color: #333;}

/* Immagini delle schede prodotto: riquadro quadrato uguale per tutte, foto intera dentro */
.wd-product .wd-product-thumb img, .product-grid-item .product-element-top img {width: 100%;height: auto;aspect-ratio: 1 / 1;object-fit: contain;}

/* Misure di riferimento: per ritoccare la resa si cambia solo questo blocco */
:root {--edw-larghezza: 1600px;--edw-testo: 17px;--edw-interlinea: 1.75;--edw-colore: #373a3c;--edw-paragrafo: 1.1em;--wd-text-color: var(--edw-colore);--wd-text-font-size: var(--edw-testo);}

/* Serve html:root: il tema stampa --wd-container-w su :root dopo questo foglio e a pari specificita' vincerebbe lui */
html:root {--wd-container-w: var(--edw-larghezza);}

body, .wd-entry-content, .term-description, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description, .go-allegati, .edw-kit-info {font-size: var(--edw-testo);line-height: var(--edw-interlinea);color: var(--edw-colore);}
.wd-entry-content h2, .woocommerce-Tabs-panel h2 {margin: 1.8em 0 .55em;font-size: 28px;font-weight: 700;line-height: 1.3;color: #1d2327;}
.wd-entry-content h3, .woocommerce-Tabs-panel h3 {margin: 1.5em 0 .45em;font-size: 21px;font-weight: 700;line-height: 1.35;color: #1d2327;}
.wd-entry-content h2:first-child, .woocommerce-Tabs-panel h2:first-child {margin-top: 0;}

/* Colonne del catalogo: il tema le stampa come stile inline sull'elemento, da qui serve !important */
:root {--edw-prodotti-col: 4;}
.wd-products.grid-columns-5 {--wd-col-lg: var(--edw-prodotti-col) !important;}

/* Elenco categorie sulla scheda prodotto: da 1 a 13 voci, era la causa delle schede di altezze diverse */
.wd-product-cats {display: none;}

/* Galleria prodotto: 4/5 invece di 1/1 perche' le foto sono verticali e riempiono di piu' */
:root {--edw-galleria-forma: 4 / 5;}
.woocommerce-product-gallery .wd-carousel-item img {width: 100%;height: auto;aspect-ratio: var(--edw-galleria-forma);object-fit: contain;}

/* Fondo bianco dietro le foto: senza, le foto strette lasciano vedere il grigio della pagina ai lati */
.woocommerce-product-gallery .wd-carousel-item, .wd-product .wd-product-thumb, .product-grid-item .product-element-top {background-color: #fff;border-radius: var(--wd-brd-radius, 8px);}

/* Hover delle schede: la scheda si solleva, la foto sta ferma. Il cambio foto si spegne da Impostazioni tema > Archivio prodotti > Stili prodotto > Elementi > Hover image */
.wd-product .wd-product-wrapper {transition: transform .18s ease, box-shadow .18s ease;}
.wd-product:hover .wd-product-wrapper {transform: translateY(-3px);box-shadow: 0 6px 18px rgba(0, 0, 0, .10);}

/* Riga fissa in cima al sito: il testo sta in un Blocco HTML di Woodmart, qui c'e' solo la veste */
.edw-barra-top {background-color: #eaf4fa;border-bottom: 1px solid #d7e8f2;text-align: center;}
.edw-barra-top p {margin: 0;padding: 9px 16px;font-size: 17px;font-weight: 600;line-height: 1.4;color: #2b3a42;}

/* Scheda prodotto: bordi e ombre alleggeriti, cosi' foto, informazioni e prezzo non sembrano tre oggetti separati */
.single-product .e-con-boxed > .e-con-inner > .elementor-widget, .single-product .wd-single-price, .single-product .wd-single-add-to-cart {--wd-brd-color: #e8ecef;}
.single-product .elementor-widget-container > .woocommerce-Tabs-panel, .single-product .wd-single-tabs {box-shadow: 0 1px 4px rgba(0, 0, 0, .04);}

/* Elenco componenti dei kit: riquadro fisso uguale per tutti, le miniature non sono piu' ritagliate dal 25/09 */
.woosb-products .woosb-thumb {flex: 0 0 64px;width: 64px;}
.woosb-products .woosb-thumb img {width: 100%;height: auto;aspect-ratio: 1 / 1;object-fit: contain;background-color: #fff;border: 1px solid #e8ecef;border-radius: 4px;}
.woosb-products .woosb-product {border-bottom: 0;}
.woosb-products .woosb-product + .woosb-product {margin-top: 10px;}
.edw-rassicurazioni p {margin: 6px 0 0;font-size: 14px;line-height: 1.5;color: #4a5a63;}
.woosb-wrap .woosb-before-text {margin: 0 0 12px;font-size: 17px;font-weight: 700;line-height: 1.3;color: #1d2327;}

/* PALETTE CHIARA - per spegnerla cancellare da qui alla fine del file */
:root {--edw-celeste: #EAF4FA;--edw-celeste-bordo: #CFE4F0;--edw-blu-forte: #18718F;--edw-testo-scuro: #163B4A;}

.whb-header-bottom.whb-with-bg {background-color: var(--edw-celeste) !important;border-bottom: 1px solid var(--edw-celeste-bordo);}
.whb-header-bottom .wd-nav > li > a, .whb-header-bottom .wd-tools-element > a {color: var(--edw-testo-scuro);}
.whb-header-bottom .wd-nav.wd-nav-vertical > li > a:hover {color: white;}

/* Fascia "La tua attivita'": era #143D4D, quasi nera */
.elementor-element-28e3aa3 {background-color: var(--edw-celeste) !important;}
.elementor-element-28e3aa3 :is(h1, h2, h3, h4, .woodmart-title-container) {color: var(--edw-testo-scuro) !important;}
.elementor-element-28e3aa3 :is(p, li, .title-after_title) {color: #3d5560 !important;}
.elementor-element-28e3aa3 .wd-title-style-default .liner-continer {color: var(--edw-blu-forte) !important;}
.elementor-element-ef9122c {background-color: var(--edw-celeste) !important;}

/* Solo i pulsanti PIENI: su quelli bordati il fondo e' trasparente e il testo bianco ci sparirebbe dentro */
.wd-button-wrapper .btn:not(.btn-style-bordered), .woocommerce .button.alt, .single_add_to_cart_button, .wd-buy-now-btn, .button.wc-forward {background-color: var(--edw-blu-forte) !important;color: #fff !important;}
.wd-button-wrapper .btn.btn-style-bordered {background-color: transparent !important;color: var(--edw-blu-forte) !important;border-color: var(--edw-blu-forte) !important;}
.wd-button-wrapper .btn.btn-style-bordered:hover {background-color: var(--edw-blu-forte) !important;color: #fff !important;}

/* Frecce delle card della fascia: erano bianche sul fondo scuro, invisibili sul celeste */
.elementor-element-28e3aa3 .elementor-widget-icon :is(svg, i, a) {color: var(--edw-blu-forte) !important;fill: var(--edw-blu-forte) !important;}

/* Link blu solo nelle schede prodotto: .wd-entry-content c'e' anche nel footer, che ha proprio #18718F come sfondo */
.single-product .wd-entry-content a:not(.btn), .woocommerce-Tabs-panel a:not(.btn) {color: var(--edw-blu-forte);}
.wd-footer .wd-entry-content a, .wd-footer a:not(.btn):not(.wd-social-icon) {color: #fff;}
.wd-footer .wd-entry-content a:hover, .wd-footer a:not(.btn):not(.wd-social-icon):hover {color: var(--edw-celeste);}

/* Testo di categoria sotto la griglia: niente max-width con margini automatici, il resto della pagina e' allineato a sinistra */
.edw-categoria-testo {margin: 40px 0 0;padding-top: 24px;border-top: 1px solid var(--edw-celeste-bordo, #e5e5e5);text-align: left;}
.edw-categoria-testo :is(h2, h3, h4) {text-align: left;}
.edw-categoria-testo p:last-child {margin-bottom: 0;}
.edw-categoria-titolo {margin: 0 0 12px;font-size: 30px;font-weight: 700;line-height: 1.25;color: #1d2327;}

.wd-product-nav-desc .wd-entities-title {color: var(--nav-color);}
body .product-label.out-of-stock {background-color: red;color: white;}

/* Accessibilita' - contrasto colori (WCAG AA, minimo 4.5:1) */
.product-label.onsale {color: #1d2327;} /* testo scuro sull'etichetta arancione "-10%" (era bianco, 1.9:1) */
.price del, .price del .amount {color: #6b6b6b;} /* prezzo barrato (era grigio chiaro) */
.wd-product .price > .amount, .wd-product .price ins .amount {color: #00739a;} /* prezzo: azzurro piu' scuro */
.title-after_title {color: #4d4d4d;} /* testi sotto i titoli delle sezioni */
.wd-breadcrumbs {--wd-link-color: #595959;}
.woocommerce-result-count {color: #595959;}

/* Menu principale dell'header: 2px in piu' rispetto ai 16px del tema (solo le voci di primo livello) */
.whb-header .wd-nav-main > li > a {font-size: 18px;}

/* H1 della home: e' la riga piccola sopra "Dal problema alla soluzione.", deve restare identica al testo di prima */
.wd-text-block h1.edw-h1-hero {margin: 0;font-family: inherit;font-size: 1em;font-weight: 700;line-height: inherit;color: inherit;text-transform: uppercase;}
