.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* Pistacchio Brontese - B2B King brand alignment (27/02/2026) */

/* Bottone CTA "Accedi" nel menu */
.accedi-cta-btn > a {
  background-color: #1C6D13 !important;
  color: #fff !important;
  border-radius: 3px;
  padding: 6px 16px !important;
}
.accedi-cta-btn > a:hover {
  filter: brightness(0.85);
}

/* B2B King - Purchase Lists */
button#b2bking_purchase_list_new_button,
button.b2bking_purchase_lists_view_list {
  background: #64253E !important;
}
button#b2bking_purchase_list_new_button:hover,
button.b2bking_purchase_lists_view_list:hover {
  background: #64253E !important;
  filter: brightness(0.85);
}
button.b2bking_purchase_lists_add_to_cart {
  background: #1C6D13 !important;
}
button.b2bking_purchase_lists_add_to_cart:hover {
  background: #1C6D13 !important;
  filter: brightness(0.85);
}
table#b2bking_purchase_lists_table thead tr th {
  background: #64253E !important;
}

/* B2B King - Tabella prezzi scaglionati (tiered pricing) */
.b2bking_has_color,
table.b2bking_tiered_price_table tbody td.b2bking_has_color {
  background: #64253E !important;
  color: #fff !important;
}

/* B2B King - Conversazioni / Offerte (vendor) */
button#b2bking_conversation_make_offer_vendor {
  background: #64253E !important;
}

/* B2B King - eventuali bottoni generici del plugin non gia' coperti dal tema */
.b2bking_button,
input[type="submit"].b2bking_button {
  background: #64253E !important;
  color: #fff !important;
}

/* ===== QA grafica 25/09/2026 ===== */

/* Pulsanti "accento" del tema (erano azzurri) -> viola brand */
.btn.btn-accent, .button.btn-accent, button.btn-accent,
.woocommerce-form-login__submit, .woocommerce-form-register__submit {
  background-color: #64253E !important;
  border-color: #64253E !important;
  color: #fff !important;
}
.btn.btn-accent:hover, .button.btn-accent:hover, button.btn-accent:hover,
.woocommerce-form-login__submit:hover, .woocommerce-form-register__submit:hover {
  filter: brightness(0.85);
}

/* Area B2B: pulsante "Registrati" (testo era dello stesso colore dello sfondo) */
.wd-switch-to-register.btn { color: #fff !important; }

/* Form registrazione: segnaposto grigi, allineati a sinistra */
.woocommerce-form-register input::placeholder,
.woocommerce-form-register textarea::placeholder { color: #9a9a9a !important; opacity: 1; }
.woocommerce-form-register input, .woocommerce-form-register textarea { text-align: left !important; }

/* Form registrazione: Nazione / Provincia con lo stesso stile degli altri campi */
.woocommerce-form-register .select2-container .select2-selection--single {
  height: 42px; border: 1px solid rgba(129,129,129,.25); border-radius: 5px; background: #fff;
}
.woocommerce-form-register .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 40px; padding-left: 15px;
}
.woocommerce-form-register .select2-container .select2-selection--single .select2-selection__arrow { height: 40px; }

/* Certificazioni (IT): titolo leggibile, fascia viola come le altre pagine */
.page-id-3430 .wd-page-title { background-image: none !important; background-color: #64253E !important; }
.page-id-3430 .wd-page-title .wd-page-title-bg { display: none !important; }

/* Certificazioni IT/EN: loghi interi, non tagliati */
img.wp-image-3525, img.wp-image-3522 { object-fit: contain !important; }

/* Home IT/EN: riquadri categorie tutti quadrati e allineati */
.elementor-widget-wd_product_categories .wd-cat img {
  aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover;
}
/* Home mobile: griglia 2 colonne invece del carosello senza frecce (si vedevano 2 categorie su 5) */
@media (max-width: 767px) {
  .elementor-widget-wd_product_categories .wd-carousel-wrap {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 15px; transform: none !important;
  }
  .elementor-widget-wd_product_categories .wd-carousel-item { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; }
  .elementor-widget-wd_product_categories .wd-nav-arrows, .elementor-widget-wd_product_categories .wd-nav-pagin-wrap { display: none !important; }
}

/* Vetrina: nasconde la categoria di default "Senza categoria" */
.cat-item-18 { display: none !important; }

/* Cassa: nasconde il campo facoltativo "P.O. Number" della Richiesta d'Ordine (26/09/2026) */
.payment_box.payment_method_B2BKing_Purchase_Order_Gateway fieldset { display: none !important; }
/* ===== Revisione 05/10/2026 ===== */
/* Notifiche (toast): in alto al centro, più evidenti (erano in basso a destra) */
#pb-toast-container {
  top: 110px !important; bottom: auto !important;
  left: 50% !important; right: auto !important;
  transform: translateX(-50%);
  max-width: 560px !important; width: calc(100vw - 32px) !important;
}
#pb-toast-container .pb-toast {
  border: 2px solid #64253E !important;
  box-shadow: 0 12px 40px rgba(100,37,62,.28) !important;
  font-size: 15px;
}
#pb-toast-container .pb-toast--error { border-color: #c62828 !important; }
#pb-toast-container .pb-toast--success { border-color: #1C6D13 !important; }
@media (max-width: 768px) { #pb-toast-container { top: 70px !important; } }

/* Area utente: menu con lo stile del sito, niente testo a capo */
.woocommerce-MyAccount-navigation ul {
  display: flex; flex-wrap: wrap; gap: 8px; border: 0 !important;
}
.woocommerce-MyAccount-navigation-link { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
.woocommerce-MyAccount-navigation-link a {
  display: block; white-space: nowrap;
  padding: 10px 18px !important; border-radius: 3px;
  background: #f4eef0 !important; color: #64253E !important;
  font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .02em;
  border: 1px solid #e3d3d9; transition: background .2s, color .2s;
}
.woocommerce-MyAccount-navigation-link a:hover { background: #ead9df !important; }
.woocommerce-MyAccount-navigation-link.is-active a {
  background: #64253E !important; color: #fff !important; border-color: #64253E;
}
/* Link e riquadri della bacheca account nel colore del brand (erano azzurri) */
.woocommerce-MyAccount-content a:not(.button):not(.btn) { color: #64253E; }
.woocommerce-MyAccount-content a:not(.button):not(.btn):hover { color: #1C6D13; }
.wd-my-account-links a { color: #64253E !important; }
.wd-my-account-links a:hover { color: #1C6D13 !important; border-color: #64253E !important; }
.wd-my-account-links a:before { color: #64253E !important; }

/* Barra social laterale: via da carrello, cassa, area utente, vetrina, prodotti e registrazione */
body.woocommerce-page .wd-sticky-social,
body.single-product .wd-sticky-social,
body.page-id-6396 .wd-sticky-social,
body.page-id-6584 .wd-sticky-social { display: none !important; }

/* Menu secondario (Ordini / Offerte / Ordine rapido) solo per utenti loggati (05/10/2026) */
body:not(.logged-in) .whb-header-bottom { display: none !important; }
/* Voci di menu per stato di accesso: Login solo agli ospiti, Esci e voci riservate solo ai loggati */
body.logged-in .pb-only-guest,
body:not(.logged-in) .pb-only-logged { display: none !important; }/* End custom CSS */