/*
 * Custom code – pulito
 * Mantiene tutte le personalizzazioni esistenti
 * + Fix checkbox GDPR cliccabile
*/

/* =================== UTILITÀ / NASCONDERE LINGUE =================== */
.language-selector,
.language-selector-wrapper,
.languages-block,
#_desktop_language_selector,
.header-language,
.mobile-language-selector,
#_mobile_language_selector,
.header-top .mobile-language,
.language-selector-mobile,
ul.language-selector {
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
}

/* Nasconde il titolo prodotto nella pagina prodotto */
h1.h1.page-title { display:none !important; }

/* Override minimo titoli prodotto in liste */
.product-title { font-size:20px; color:#333; }

/* =================== HEADER / MENU SUPERIORE =================== */
#cbp-hrmenu {
  background:#008080;
  height:60px; line-height:60px;
  border-bottom:2px solid #145c3a;
  display:flex; align-items:center; justify-content:space-between;
}
#cbp-hrmenu .cbp-hrmenu-tab a {
  color:#fff; font-size:16px; padding:20px 30px;
  text-transform:uppercase; display:inline-block;
  transition:background-color .3s ease, color .3s ease;
}
#cbp-hrmenu .cbp-hrmenu-tab a:hover {
  background:#145c3a; color:#fff; border-radius:4px;
}
i.icon.fa.fa-home.cbp-mainlink-icon {
  font-size:20px !important; width:auto !important; height:auto !important;
  padding:0 !important; margin:0 !important; vertical-align:middle;
}

/* =================== FONT: TITILLIUM WEB =================== */
@font-face {
  font-family:'Titillium Web';
  src:url('/themes/warehousechild/assets/css/fonts/TitilliumWeb-Light.woff2') format('woff2');
  font-weight:300; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Titillium Web';
  src:url('/themes/warehousechild/assets/css/fonts/TitilliumWeb-Regular.woff2') format('woff2');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Titillium Web';
  src:url('/themes/warehousechild/assets/css/fonts/TitilliumWeb-SemiBold.woff2') format('woff2');
  font-weight:600; font-style:normal; font-display:swap;
}
@font-face {
  font-family:'Titillium Web';
  src:url('/themes/warehousechild/assets/css/fonts/TitilliumWeb-Bold.woff2') format('woff2');
  font-weight:700; font-style:normal; font-display:swap;
}

/* Applica il font ovunque */
body, body * { font-family:'Titillium Web', sans-serif !important; }
.iqit-elementor, .iqit-elementor * { font-family:'Titillium Web', sans-serif !important; }

/* Tipografia base */
body {
  font-size:15px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
strong,b { font-weight:600; }
h1,h2,h3,h4 { font-weight:700; letter-spacing:-.02em; line-height:1.3; }

/* Accessori prodotto: nascondi descrizione corta su mobile */
@media (max-width:768px) {
  .product-accessories .product-description.rte-content { display:none !important; }
}

/* Elementor: layout flessibile */
.elementor-row, .elementor-row > .elementor-column-wrap {
  display:flex !important; flex-wrap:wrap !important; flex-direction:row !important;
}

/* Micro interazioni box icone/immagini */
.elementor-widget-icon-box, .elementor-widget-image-box {
  transition:transform .3s ease, box-shadow .3s ease;
}
.elementor-widget-icon-box:hover, .elementor-widget-image-box:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* =================== SFONDI DI PAGINA (NO FOOTER) =================== */
body,
#header,
.header-nav,
.header-top,
.header-bottom,
.header-container,
#wrapper,
.main,
#content,
#content .container,
.main .container,
.page-wrapper,
.page-content,
.layout-left-column,
.layout-right-column {
  background:#fff !important;
}

/* =================== HEADER MOBILE: icone visibili =================== */
@media (max-width: 768px) {
  .header-cart, .header-login, .header-search, .menu-toggle, .mobile-header-icons {
    display:block !important; visibility:visible !important; opacity:1 !important;
    position:relative !important; z-index:999 !important;
  }
  .header-cart, .header-login, .header-search { left:0 !important; top:0 !important; }
}

/* =================== FONT AWESOME (compat) =================== */
.mobile-bag-icon,
.fa, .fas, .fa-shopping-bag {
  font-family:'Font Awesome 5 Free' !important;
  font-weight:900 !important;
  display:inline-block !important;
}
i.fa, i.fas, i.far, i.fab,
[class^="fa"], [class*=" fa-"] {
  font-family:'FontAwesome' !important; /* fallback FA4 */
  font-style:normal !important;
  font-weight:normal !important;
  display:inline-block !important;
  font-size:20px !important;
  color:inherit !important;
}
@media (max-width: 768px) {
  #mobile-header i.fa,
  #mobile-header [class^="fa"],
  #mobile-header [class*=" fa-"] {
    font-family:'FontAwesome' !important;
    font-style:normal !important;
    font-weight:normal !important;
    display:inline-block !important;
    font-size:20px !important;
    color:inherit !important;
  }
}

/* =================== CHECKBOX CUSTOM =================== */

/* Nasconde le icone grafiche del tema quando NON è spuntata */
.custom-checkbox input[type="checkbox"]:not(:checked) ~ .checkbox .custom-checkbox-input,
.custom-checkbox input[type="checkbox"]:not(:checked) ~ .checkbox-check {
  display:none !important;
}
/* Mostra le icone grafiche del tema quando è spuntata */
.custom-checkbox input[type="checkbox"]:checked ~ .checkbox .custom-checkbox-input,
.custom-checkbox input[type="checkbox"]:checked ~ .checkbox-check {
  display:inline-block !important;
}

/* Checkout: nasconde il box grafico del tema */
body#checkout .custom-checkbox > span,
body#checkout .custom-checkbox .checkbox,
body#checkout .custom-checkbox .checkbox-input,
body#checkout .custom-checkbox .custom-checkbox-input {
  display:none !important;
}

/* RIPRISTINO fuori dal checkout (inclusa registrazione) */
body:not(#checkout) .custom-checkbox input[type="checkbox"] {
  position: static !important;
  width:auto !important; height:auto !important;
  opacity:1 !important;
  appearance:auto !important; -webkit-appearance:checkbox !important; -moz-appearance:checkbox !important;
}
body:not(#checkout) .custom-checkbox > span,
body:not(#checkout) .custom-checkbox .checkbox,
body:not(#checkout) .custom-checkbox .checkbox-input,
body:not(#checkout) .custom-checkbox .custom-checkbox-input {
  display:inline-block !important;
  pointer-events:auto !important;
}

/* Ripristina il quadratino GDPR vero su ketozona */
body.shop-id-1 .psgdpr_consent_message .checkbox-check,
body.shop-id-1 .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 .psgdpr_consent_message .checkbox,
body.shop-id-1 .psgdpr_consent_message .custom-checkbox > span {
  display:inline-block !important;
  pointer-events:auto !important;
}

/* Nasconde la riga finta GDPR (se presente) */
#authentication .form-group:has(input#ff_psgdpr),
#authentication .form-group:has(input[name="psgdpr"]),
.page-authentication .form-group:has(input#ff_psgdpr),
.page-authentication .form-group:has(input[name="psgdpr"]) {
  display: none !important;
}


body#checkout .custom-checkbox input[type="checkbox"]::before,
body#checkout .custom-checkbox input[type="checkbox"]::after{ content:none !important; display:none !important; }

/* nascondi il box grafico del tema solo in checkout */
body#checkout .custom-checkbox > span,
body#checkout .custom-checkbox .checkbox,
body#checkout .custom-checkbox .checkbox-input,
body#checkout .custom-checkbox .custom-checkbox-input{
  display:none !important;
}

/* === Add to cart: spinner icon (desktop + mobile) — SOLO con .loading / [disabled] === */

/* Nascondi sempre la rotellina di default */
button[data-button-action="add-to-cart"] i.spinner-icon,
.ajax-add-to-cart i.spinner-icon,
.btn.add-to-cart i.spinner-icon,
.btn-add-to-cart i.spinner-icon,
.product-add-to-cart button i.spinner-icon,
.sticky-add-to-cart button i.spinner-icon,
.mobile-sticky-addtocart button i.spinner-icon{
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Mostra la rotellina SOLO quando il bottone è in stato loading/disabled */
button[data-button-action="add-to-cart"].loading i.spinner-icon,
.ajax-add-to-cart.loading i.spinner-icon,
.btn.add-to-cart.loading i.spinner-icon,
.btn-add-to-cart.loading i.spinner-icon,
.product-add-to-cart button.loading i.spinner-icon,
.sticky-add-to-cart button.loading i.spinner-icon,
.mobile-sticky-addtocart button.loading i.spinner-icon,
button[data-button-action="add-to-cart"][disabled] i.spinner-icon,
.ajax-add-to-cart[disabled] i.spinner-icon,
.btn.add-to-cart[disabled] i.spinner-icon,
.btn-add-to-cart[disabled] i.spinner-icon,
.product-add-to-cart button[disabled] i.spinner-icon,
.sticky-add-to-cart button[disabled] i.spinner-icon,
.mobile-sticky-addtocart button[disabled] i.spinner-icon{
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Evita doppia icona: nascondi l’eventuale borsina quando loading */
button[data-button-action="add-to-cart"].loading i.bag-icon,
.ajax-add-to-cart.loading i.bag-icon,
.btn.add-to-cart.loading i.bag-icon,
.btn-add-to-cart.loading i.bag-icon,
.product-add-to-cart button.loading i.bag-icon,
.sticky-add-to-cart button.loading i.bag-icon,
.mobile-sticky-addtocart button.loading i.bag-icon{
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Non cambiare layout del bottone */
button[data-button-action="add-to-cart"],
.ajax-add-to-cart,
.btn.add-to-cart,
.btn-add-to-cart,
.product-add-to-cart button,
.sticky-add-to-cart button,
.mobile-sticky-addtocart button{
  overflow: hidden;   /* safety */
}

/* Etichetta con box “finto” solo per la checkbox condizioni in checkout */
body#checkout .custom-checkbox label[for*="conditions_to_approve"]{
  position: relative; padding-left: 30px; cursor: pointer;
}
body#checkout .custom-checkbox label[for*="conditions_to_approve"]::before{
  content:""; position:absolute; left:0; top:0.2em;
  width:18px; height:18px; border:2px solid #b8b8b8; border-radius:3px; background:#fff; box-sizing:border-box;
}
body#checkout .custom-checkbox label[for*="conditions_to_approve"]::after{
  content:""; position:absolute; left:4px; top:7px;
  width:10px; height:5px; border:3px solid #fff; border-top:0; border-left:0;
  transform:rotate(45deg); opacity:0;
}
body#checkout .custom-checkbox input[type="checkbox"]:checked ~ label[for*="conditions_to_approve"]::before{
  background:#f28500; border-color:#f28500;
}
body#checkout .custom-checkbox input[type="checkbox"]:checked ~ label[for*="conditions_to_approve"]::after{
  opacity:1;
}
body#checkout .custom-checkbox input[type="checkbox"]:focus ~ label[for*="conditions_to_approve"]::before{
  outline:2px solid #f28500; outline-offset:2px;
}

/*
 * Custom code – pulito
 * (Ketozona) – Fix checkbox GDPR e ripristino visibilità
 * Footer lasciato com’è
*/

/* (B) RIPRISTINO su tutte le altre pagine (Registrazione inclusa) */
body:not(#checkout) .custom-checkbox input[type="checkbox"]{
  position: static !important;
  left:auto !important; top:auto !important;
  width:auto !important; height:auto !important;
  opacity:1 !important;
  appearance:auto !important; -webkit-appearance:checkbox !important; -moz-appearance:checkbox !important;
  border:initial !important; outline:initial !important; box-shadow:initial !important;
}

/* Ripristina il quadratino GDPR vero su ketozona */
body.shop-id-1 .psgdpr_consent_message .checkbox-check,
body.shop-id-1 .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 .psgdpr_consent_message .checkbox,
body.shop-id-1 .psgdpr_consent_message .custom-checkbox > span {
  display:inline-block !important;
  pointer-events:auto !important;
}

/* Fuori dal checkout (registrazione inclusa): mostra le parti grafiche della checkbox */
body:not(#checkout) .custom-checkbox > span,
body:not(#checkout) .custom-checkbox .checkbox,
body:not(#checkout) .custom-checkbox .checkbox-input,
body:not(#checkout) .custom-checkbox .custom-checkbox-input{
  display:inline-block !important;
  pointer-events:auto !important;
}

/* KETOZONA – Ripristina blocco GDPR vero (contenitore e input reali) */
body.shop-id-1 .psgdpr_consent_message {
  display:block !important;
  visibility:visible !important;
}
body.shop-id-1 .psgdpr_consent_message input[type="checkbox"][name^="psgdpr_consent_checkbox_"] {
  position: static !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  pointer-events: auto !important;
}

/* IMPORTANTE: rimuoviamo il JS incollato per errore dentro al CSS
   (era da “D) Elimina i quadrati doppi…” fino a MutationObserver(...)) */

/* ——— NON inserire codice JS in questo file CSS ——— */


/* =====================================================================
   FOOTER SCURO (solo footer, testi bianchi) – per ketozona (shop-id-1)
   e medicalikz (shop-id-2). Nessun impatto fuori dal footer.
   ===================================================================== */
body.shop-id-1 footer,
body.shop-id-2 footer{
  --kz-footer-bg: #343a40;
  --kz-footer-fg: #ffffff;
  --kz-footer-accent: #f28500;    /* titoletti */
  --kz-footer-hover: var(--kz-primary, #bccf27); /* hover link */
  background: var(--kz-footer-bg) !important;
}

/* Testi tipografici e link in bianco */
body.shop-id-1 footer,
body.shop-id-2 footer{
  color: var(--kz-footer-fg) !important;
}
body.shop-id-1 footer p,
body.shop-id-1 footer li,
body.shop-id-1 footer span,
body.shop-id-1 footer small,
body.shop-id-1 footer a,
body.shop-id-2 footer p,
body.shop-id-2 footer li,
body.shop-id-2 footer span,
body.shop-id-2 footer small,
body.shop-id-2 footer a{
  color: var(--kz-footer-fg) !important;
}

/* Link hover con il verde del brand */
body.shop-id-1 footer a:hover,
body.shop-id-2 footer a:hover{
  color: var(--kz-footer-hover) !important;
  text-decoration: underline;
}

/* Titoletti in arancione + bold */
body.shop-id-1 footer .block-title,
body.shop-id-2 footer .block-title{
  color: var(--kz-footer-accent) !important;
  font-weight: 700 !important;
}

/* Icone/freccette bianche */
body.shop-id-1 footer svg,
body.shop-id-1 footer i,
body.shop-id-2 footer svg,
body.shop-id-2 footer i{
  color:#ffffff !important; fill:#ffffff !important;
}

/* Se il tema forzasse riquadri bianchi dentro al footer, annullali SOLO lì */
body.shop-id-1 footer .bg-white,
body.shop-id-2 footer .bg-white{
  background-color: transparent !important;
}

/* Sottile riga sopra il footer (opzionale) */
body.shop-id-1 footer,
body.shop-id-2 footer{ border-top:1px solid rgba(255,255,255,.08); }

/* IMPORTANTISSIMO: NON toccare i pulsanti fuori dal footer */
body.shop-id-1 :not(footer) .btn,
body.shop-id-1 :not(footer) .button,
body.shop-id-1 :not(footer) .btn-primary,
body.shop-id-1 :not(footer) .btn-default,
body.shop-id-2 :not(footer) .btn,
body.shop-id-2 :not(footer) .button,
body.shop-id-2 :not(footer) .btn-primary,
body.shop-id-2 :not(footer) .btn-default{
  color: inherit; background: inherit; border-color: inherit;
}
/* KETOZONA (shop-id-1) — mostra SEMPRE il blocco GDPR vero in registrazione */
body.shop-id-1 #authentication .psgdpr_consent_message,
body.shop-id-1 .page-authentication .psgdpr_consent_message{
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  visibility: visible !important;
}

/* checkbox nativa sempre visibile/standard */
body.shop-id-1 #authentication .psgdpr_consent_message input[type="checkbox"][name^="psgdpr_consent_checkbox_"],
body.shop-id-1 .page-authentication .psgdpr_consent_message input[type="checkbox"][name^="psgdpr_consent_checkbox_"]{
  position: static !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  margin-right: 6px !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

/* nel SOLO blocco GDPR, elimina i quadratini doppi del tema */
body.shop-id-1 #authentication .psgdpr_consent_message .checkbox-check,
body.shop-id-1 #authentication .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 #authentication .psgdpr_consent_message .checkbox,
body.shop-id-1 #authentication .psgdpr_consent_message .custom-checkbox > span,
body.shop-id-1 .page-authentication .psgdpr_consent_message .checkbox-check,
body.shop-id-1 .page-authentication .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 .page-authentication .psgdpr_consent_message .checkbox,
body.shop-id-1 .page-authentication .psgdpr_consent_message .custom-checkbox > span{
  display: none !important;
}
/* KETOZONA (shop-id-1) — mostra il blocco GDPR vero in registrazione */
body.shop-id-1 #authentication .psgdpr_consent_message,
body.shop-id-1 .page-authentication .psgdpr_consent_message{
  display: flex !important;
  align-items: center !important;
  gap: .5rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* checkbox nativa sempre visibile/standard */
body.shop-id-1 #authentication .psgdpr_consent_message input[type="checkbox"][name^="psgdpr_consent_checkbox_"],
body.shop-id-1 .page-authentication .psgdpr_consent_message input[type="checkbox"][name^="psgdpr_consent_checkbox_"]{
  position: static !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  margin-right: 6px !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

/* nel SOLO blocco GDPR elimina le “scatolette” del tema (niente doppi quadratini) */
body.shop-id-1 #authentication .psgdpr_consent_message .checkbox-check,
body.shop-id-1 #authentication .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 #authentication .psgdpr_consent_message .checkbox,
body.shop-id-1 #authentication .psgdpr_consent_message .custom-checkbox > span,
body.shop-id-1 .page-authentication .psgdpr_consent_message .checkbox-check,
body.shop-id-1 .page-authentication .psgdpr_consent_message .custom-checkbox-input,
body.shop-id-1 .page-authentication .psgdpr_consent_message .checkbox,
body.shop-id-1 .page-authentication .psgdpr_consent_message .custom-checkbox > span{
  display: none !important;
}

/* se qualche regola precedente avesse nascosto elementi #gdpr_… o simili, rialzali */
body.shop-id-1 #authentication [id*="gdpr"],
body.shop-id-1 .page-authentication [id*="gdpr"]{
  display: revert !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.form-footer .form-group.psgdpr_consent_message {
  order: -1;
  width: 100%;
}
.psgdpr_consent_message a {
  color: #28a745; /* verde medicalikz */
  text-decoration: underline;
}
.psgdpr_consent_message a:hover {
  color: #1e7e34;
}
/* === KZ Newsletter facelift & popup === */
.kz-nl .elementor-newsletter-input{
  border:2px solid #bccf27; border-radius:10px; padding:18px 16px; font-size:18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.kz-nl .elementor-newsletter-input:focus{ outline:none; box-shadow:0 0 0 4px rgba(188,207,39,.2); }
.kz-nl .elementor-newsletter-btn{
  background:#bccf27; border:0; border-radius:12px; padding:18px 26px; font-weight:700; letter-spacing:.3px;
  transition: transform .08s ease, box-shadow .2s ease;
}
.kz-nl .elementor-newsletter-btn:hover{ transform: translateY(-1px); box-shadow:0 10px 24px rgba(188,207,39,.35); }
.kz-nl .elementor-newsletter-btn[disabled]{ opacity:.6; cursor:not-allowed; }

.kz-nl-msg{ margin-top:10px; font-size:14px; color:#333; }

/* Popup */
.kz-nl-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:999999; display:flex; align-items:center; justify-content:center;
  backdrop-filter:saturate(120%) blur(2px);
}
.kz-nl-modal{
  width:min(560px,92vw); background:#fff; border-radius:18px; padding:28px 22px; box-shadow:0 22px 60px rgba(0,0,0,.25);
  animation:kz-pop .18s ease-out both;
}
@keyframes kz-pop{ from{ transform:translateY(8px) scale(.98); opacity:0;} to{ transform:none; opacity:1; } }
.kz-nl-head{ display:flex; gap:14px; align-items:center; margin-bottom:10px;}
.kz-nl-icon{
  width:54px; height:54px; border-radius:50%; background:#bccf27; display:grid; place-items:center; color:#0f1a00; font-size:28px; font-weight:900;
  box-shadow:0 8px 24px rgba(188,207,39,.45);
}
.kz-nl-title{ font-size:22px; font-weight:800; margin:0; }
.kz-nl-text{ color:#333; line-height:1.5; margin:6px 0 16px; }
.kz-nl-code{
  display:flex; align-items:center; justify-content:space-between; gap:12px; border:2px dashed #bccf27; border-radius:12px; padding:12px 14px; font-size:18px; font-weight:800;
}
.kz-nl-code code{ font-size:18px; font-weight:900; letter-spacing:.6px; }
.kz-nl-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px;}
.kz-btn{
  appearance:none; border:0; border-radius:12px; padding:12px 16px; font-weight:700; cursor:pointer;
}
.kz-btn-primary{ background:#bccf27; }
.kz-btn-ghost{ background:#f3f5f7; }
.kz-btn a{ color:inherit; text-decoration:none; display:inline-block; }

@media (max-width:480px){
  .kz-nl .elementor-newsletter-input{ font-size:16px; padding:14px 12px; }
  .kz-nl .elementor-newsletter-btn{ padding:14px 18px; }
}
/* ===== Ketozona Newsletter (SCOPED) ===== */
:root{
  --kz-brand:#bccf27;
  --kz-ink:#0f1208;
  --kz-muted:#6b7280;
  --kz-bg:#f7f8f5;
  --kz-card:#ffffff;
  --kz-ring:rgba(188,207,39,.25);
}

/* Contenitore isolato: nulla esce dal suo box */
.kz-landing{ position:relative; overflow:hidden; }

/* HERO */
.kz-landing .kz-hero{
  background:linear-gradient(180deg, var(--kz-bg) 0%, #fff 100%);
  padding:48px 16px 28px;
  border:1px solid rgba(0,0,0,.05);
  border-radius:10px;
  max-width:1100px; margin:0 auto 18px;
}
.kz-landing .kz-hero-content{ text-align:center; }
.kz-landing .kz-hero h1{ font-size:40px; line-height:1.15; margin:0 0 8px; color:#111; }
.kz-landing .kz-hero p{ font-size:18px; margin:0; }

/* BENEFITS */
.kz-landing .kz-benefits{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:24px; padding:10px 16px 28px;
  max-width:1100px; margin:0 auto;
  text-align:center;
}
.kz-landing .kz-benefit span{ font-size:34px; display:block; margin-bottom:8px; }
.kz-landing .kz-benefit h3{ color:var(--kz-brand); font-weight:800; margin:0 0 6px; font-size:18px; }
.kz-landing .kz-benefit p{ color:var(--kz-muted); font-size:15px; margin:0; }

/* CTA card */
.kz-landing .kz-cta{
  background:var(--kz-bg);
  padding:32px 12px; margin:18px 0 28px;
  border-top:1px solid rgba(0,0,0,.04); border-bottom:1px solid rgba(0,0,0,.04);
}
.kz-landing .kz-cta h2{ text-align:center; font-size:28px; margin:0 0 14px; }

.kz-landing .kz-cta .newsletter-form{
  background:var(--kz-card);
  border:1.5px solid color-mix(in srgb, var(--kz-brand) 40%, #fff 60%);
  border-radius:14px;
  box-shadow:0 12px 36px rgba(0,0,0,.06);
  padding:16px; max-width:760px; margin:0 auto 10px;
}

/* Input + bottone: desktop affiancati, mobile impilati */
.kz-landing .kz-cta .elementor-newsletter-form .col-12{
  display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center;
}
@media (max-width:767px){
  .kz-landing .kz-cta .elementor-newsletter-form .col-12{ grid-template-columns:1fr; }
  .kz-landing .kz-cta .elementor-newsletter-btn{ width:100%; }
}

/* Input */
.kz-landing .elementor-newsletter-input{
  height:50px; font-size:16px;
  border:2px solid var(--kz-brand) !important; border-radius:12px !important;
  padding:0 14px !important;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.kz-landing .elementor-newsletter-input:focus{
  outline:none; box-shadow:0 0 0 4px var(--kz-ring);
}

/* Bottoni */
.kz-landing .elementor-newsletter-btn{
  height:50px; padding:0 18px;
  background:var(--kz-brand) !important; border:0 !important; border-radius:12px !important;
  font-weight:800;
  transition: transform .08s ease, box-shadow .2s ease;
}
.kz-landing .elementor-newsletter-btn:hover{
  transform:translateY(-1px); box-shadow:0 10px 24px rgba(188,207,39,.35);
}

/* Nota privacy */
.kz-landing .privacy-note{ display:block; text-align:center; color:var(--kz-muted); }

/* Approfondimento */
.kz-landing .kz-approfondimento{ padding:6px 0 24px; }
.kz-landing .kz-approfondimento h2{
  max-width:1100px; margin:0 auto 12px; padding:0 16px; font-size:26px;
}
.kz-landing .kz-approfondimento .kz-text{
  max-width:820px; margin:0 auto; padding:0 16px;
}
.kz-landing .kz-approfondimento .kz-text p{
  text-align:justify; font-size:17px; line-height:1.7; color:#222;
}

/* ===== FIX centratura pagina newsletter (solo CMS ID 61) ===== */
.cms-id-61{
  max-width:100%;
  overflow-x:hidden;
}

/* Annulla lo stretching Elementor che crea lo shift a destra */
.cms-id-61 .elementor .elementor-section.elementor-section-stretched{
  position:static !important;
  width:100% !important;
  left:auto !important;
  right:auto !important;
  margin:0 !important;
}

/* Evita qualsiasi calcolo con 100vw che supera la viewport */
.cms-id-61 [style*="100vw"]{ width:100% !important; }

/* Contenitori principali della nostra landing */
.cms-id-61 .kz-hero,
.cms-id-61 .kz-benefits,
.cms-id-61 .kz-cta,
.cms-id-61 .kz-approfondimento{
  width:100%;
  box-sizing:border-box;
}

/* Centra i blocchi interni e limita la larghezza comoda */
.cms-id-61 .kz-hero .kz-hero-content,
.cms-id-61 .kz-benefits,
.cms-id-61 .kz-cta .newsletter-form,
.cms-id-61 .kz-approfondimento .kz-text{
  max-width:1100px;
  margin-left:auto; margin-right:auto;
}

/* CTA un filo più stretta */
.cms-id-61 .kz-cta .newsletter-form{ max-width:760px; }

/* Input + bottone: grid stabile e senza sforare */
.cms-id-61 .kz-cta .elementor-newsletter-form .col-12{
  display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center;
}
@media (max-width:767px){
  .cms-id-61 .kz-cta .elementor-newsletter-form .col-12{ grid-template-columns:1fr; }
  .cms-id-61 .kz-cta .elementor-newsletter-btn{ width:100%; }
}

/* Immagini e SVG non oltrepassano il contenitore */
.cms-id-61 img, 
.cms-id-61 svg{ max-width:100%; height:auto; }

.header-cart {
  min-width: 140px; /* aumenta lo spazio */
  padding-right: 10px;
  text-align: right;
  overflow: visible; /* evita il taglio */
}
.header-login {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
}

/* Colore base per testo e icona */
#user_info a span,
#user_info a i {
  color: #333333 !important;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Hover: azzurro e sottolineatura */
#user_info a:hover span,
#user_info a:hover i {
  color: #00aaff !important; /* oppure il tono di azzurro che preferisci */
  text-decoration: underline;
}
#user_info a i {
  transition: color 0.4s ease, transform 0.3s ease;
}

#user_info a:hover i {
  color: #00aaff !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 3px #00aaff);
}
@media (max-width: 767px) {
  /* Stato base */
  .col-mobile-btn-account a i,
  .col-mobile-btn-account a span {
    color: #333333 !important;
    transition: color 0.4s ease, transform 0.3s ease, text-decoration 0.3s ease;
  }

  /* Hover / tap */
  .col-mobile-btn-account a:hover i,
  .col-mobile-btn-account a:hover span {
    color: #0085C3 !important; /* oppure #0085C3 se vuoi colore brand */
    transform: translateY(-2px);
    filter: drop-shadow(0 0 3px #00aaff);
    text-decoration: underline;
  }
  @media (hover: none) and (pointer: coarse) {
  .col-mobile-btn-account a i,
  .col-mobile-btn-account a span {
    transition: transform 0.25s ease, color 0.25s ease, filter 0.25s ease, text-decoration 0.25s ease;
  }

  .col-mobile-btn-account a.tap i,
  .col-mobile-btn-account a.tap span {
    color: #0085C3 !important;
    transform: translateY(-1px) scale(0.96);
    filter: drop-shadow(0 0 3px #0085C3);
    text-decoration: underline;
  }
  /* ====== Order Confirmation – Ketozona look ====== */
  .kz-alert{
    background:#bccf27;               /* Verde Ketozona */
    color:#000;
    padding:20px;
    border-radius:10px;
    margin-top:20px;
    border:1px solid #a7bd20;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
    font-family:'Montserrat', sans-serif;
    line-height:1.6;
    position: relative;
    overflow: hidden;
  }
  .kz-alert::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background: linear-gradient(90deg,#a7bd20,#d4e35c);
    opacity:.65;
  }

  /* Struttura interna (opzionale, se usi queste classi nel tpl) */

  .kz-alert__head{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px;
  }
  .kz-alert__head svg,
  .kz-alert__head i{ font-size:28px; }
  .kz-alert__head h4{ margin:0; font-size:1.25em; }
  .kz-alert__list{ list-style:none; padding-left:0; margin:0; }
  .kz-alert__note{
    margin-top:16px;
    background:#e7efbf;
    padding:14px;
    border-radius:8px;
    border:1px dashed #a7bd20;
  }

  /* Bottoni / badge */
  .kz-btn{
    margin-left:10px;
    background:#fff;
    color:#000;
    border:1px solid #a7bd20;
    padding:4px 10px;
    border-radius:6px;
    font-weight:700;
    cursor:pointer;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .kz-btn:active{
    transform: translateY(1px) scale(0.99);
    box-shadow:0 0 0 2px rgba(167,189,32,.2);
  }
  .kz-badge{
    display:inline-block;
    margin-left:10px;
    font-weight:700;
    background:#a7bd20;
    color:#000;
    padding:4px 8px;
    border-radius:6px;
    opacity:0;
    transition:opacity .35s ease;
  }

  /* Varianti */
  .kz-alert--bank{} /* (base già verde Ketozona) */
  .kz-alert--cod{
    background:#a7bd20 !important;
    border-color:#8ea01a !important;
  }
  .kz-alert--cod .kz-alert__note{
    background:#dfeaa9;
    border-color:#8ea01a;
  }

  /* Animazione */
  @keyframes kzFadeSlideIn { to { opacity:1; transform: translateY(0); } }
  @media (prefers-reduced-motion: no-preference){
    .kz-alert{
      opacity:0;
      transform: translateY(8px);
      animation: kzFadeSlideIn .45s ease-out forwards;
    }
  }

  /* Mobile */
  @media (max-width:576px){
    .kz-alert{ padding:16px !important; }
  }
/* Spunta "Ordine completato" animata */
.kz-alert__title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  font-weight:800;
  font-size:20px;
  margin:-6px 0 10px;
}


.kz-check{
  display:inline-block;
  width:24px;
  height:24px;
  line-height:0;
  color:#000; /* usa il colore testo del box */
  transform-origin:center;
}

/* cerchio + check: disegno progressivo */
.kz-check-ring,
.kz-check-mark{
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* animazioni */
@keyframes kzRingDraw { to { stroke-dashoffset: 0; } }
@keyframes kzMarkDraw { to { stroke-dashoffset: 0; } }
@keyframes kzPop { 0% { transform: scale(.8); } 80% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* attiva le animazioni quando il box compare */
@media (prefers-reduced-motion: no-preference){
  .kz-alert .kz-check { animation: kzPop .38s cubic-bezier(.2,.8,.2,1) .12s both; }
  .kz-alert .kz-check-ring { animation: kzRingDraw .45s ease-out .05s forwards; }
  .kz-alert .kz-check-mark { animation: kzMarkDraw .35s ease-out .22s forwards; }
}
/* BONIFICO – forzo verde + testo nero e animazione */
#content-hook_order_confirmation .bank-transfer-alert,
#content-hook_order_confirmation .bank-transfer-alert.kz-alert {
  background:#bccf27 !important;
  color:#000 !important;
  border:1px solid #a7bd20 !important;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
  padding:20px;
  position:relative;
  overflow:hidden;
  opacity:0;                         /* forzo animazione anche senza media query */
  transform:translateY(8px);
  animation:kzFadeSlideIn .45s ease-out forwards;
}

#content-hook_order_confirmation .bank-transfer-alert .kz-alert__note{
  background:#e7efbf !important;
  border:1px dashed #a7bd20 !important;
  border-radius:8px;
  padding:14px;
  margin-top:16px;
}

/* righetta decorativa in alto */
#content-hook_order_confirmation .bank-transfer-alert::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg,#a7bd20,#d4e35c);
  opacity:.65;
}

@keyframes kzFadeSlideIn { to { opacity:1; transform:translateY(0); } }
/* Stile BONIFICO forzato */
#content-hook_order_confirmation .bank-transfer-alert.kz-alert {
  background: #bccf27 !important;
  color: #000 !important;
  border: 1px solid #a7bd20 !important;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  padding: 20px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  animation: kzFadeSlideIn .45s ease-out forwards;
}

#content-hook_order_confirmation .bank-transfer-alert.kz-alert::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg,#a7bd20,#d4e35c);
  opacity: .65;
}

#content-hook_order_confirmation .bank-transfer-alert.kz-alert .kz-alert__note {
  background: #e7efbf !important;
  border: 1px dashed #a7bd20 !important;
  border-radius: 8px;
  padding: 14px;
  margin-top: 16px;
}

@keyframes kzFadeSlideIn { to { opacity:1; transform:translateY(0); } }
/* Centro e enfatizza il titolo */
.kz-alert__title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* Pulsazione morbida */
@keyframes kzPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.kz-alert__title strong {
  animation: kzPulse 1.6s ease-in-out infinite;
  display: inline-block;
}
/* ✅ Stile pulsanti Modifica / Elimina (forzato) */
body.shop-id-2 .address-footer a {
  display: inline-block;
  background: #008080 !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .25s ease;
  margin-right: 8px;
}

body.shop-id-2 .address-footer a i {
  margin-right: 6px;
  color: #fff !important;
}

body.shop-id-2 .address-footer a:hover {
  background: #006666 !important;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
}
/* ===================================================================
   MEDICALIKZ / KETOZONA – Fix pagina prodotto 391236412 (Keto Cornetto)
   -------------------------------------------------------------------
   - Neutralizza le "spunte" (li::before) globali
   - Mantiene la ✔ SOLO dentro #keto-cornetto
   - Sistema breadcrumb/tab
   - Compatta correlati colonna destra
   - Allarga intro e descrizione
   =================================================================== */

/* ----- 1) Neutralizza QUALSIASI ✔ e padding dei <li> fuori dai contenitori ----- */
html body#product[data-id-product="391236412"] li {
  padding-left: 0 !important;
  position: static !important;
}
html body#product[data-id-product="391236412"] li::before,
html body#product[data-id-product="391236412"] li::after {
  content: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Breadcrumb + TAB: spegne esplicitamente eventuali separatori-icona */
html body#product[data-id-product="391236412"] .breadcrumb li::before,
html body#product[data-id-product="391236412"] .breadcrumb li::after,
html body#product[data-id-product="391236412"] .nav-tabs .nav-item::before,
html body#product[data-id-product="391236412"] .nav-tabs .nav-link::before {
  content: none !important;
}

/* ----- 2) Ripristina la ✔ SOLO DENTRO la descrizione lunga (#keto-cornetto) ----- */
html body#product[data-id-product="391236412"] #keto-cornetto li {
  padding-left: 24px !important;
  position: relative !important;
}
html body#product[data-id-product="391236412"] #keto-cornetto li::before {
  content: "✔" !important;
  position: absolute;
  left: 0;
  color: #2a7f62;
  font-weight: 700;
}

/* (Se vuoi la ✔ anche nell'intro, scommenta questo blocco)
html body#product[data-id-product="391236412"] #kz-intro li {
  padding-left: 24px !important;
  position: relative !important;
}
html body#product[data-id-product="391236412"] #kz-intro li::before {
  content: "✔" !important;
  position: absolute;
  left: 0;
  color: #2a7f62;
  font-weight: 700;
}
*/

/* ----- 3) Correlati (colonna destra) compattati ----- */
html body#product[data-id-product="391236412"] #right-column .product-carousel .swiper-slide {
  height: auto !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}
html body#product[data-id-product="391236412"] #right-column article.product-miniature.product-miniature-small {
  margin: 0 !important;
  padding: 6px 0 !important;
}
/* Elimina wrapper vuoto che può gonfiare la card */
html body#product[data-id-product="391236412"] #right-column
.product-miniature-small .row.align-items-center.list-small-gutters {
  display: none !important;
}
/* Nessun min-height ereditato */
html body#product[data-id-product="391236412"] #right-column
.product-miniature-small .thumbnail-container,
html body#product[data-id-product="391236412"] #right-column
.product-miniature-small .product-description {
  min-height: 0 !important;
}

/* ----- 4) Larghezza maggiore per intro e descrizione ----- */
html body#product[data-id-product="391236412"] #kz-intro .product-description,
html body#product[data-id-product="391236412"] #keto-cornetto .product-description {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* ===== Medicalikz — Prodotto "Keto Cornetto" (ID 391236412) ===== */
body.shop-id-2.page-product.product-id-391236412 #product .product-information .product-description,
body.shop-id-2.page-product.product-id-391236412 #product .product-tabs .product-tab-content,
body.shop-id-2.page-product.product-id-391236412 #product .tabs .product-tab-content,
body.shop-id-2.page-product.product-id-391236412 #keto-cornetto {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* testi descrizione */
body.shop-id-2.page-product.product-id-391236412 #product .product-information .product-description {
  font-size: 16px;
  line-height: 1.6;
}

/* titoli dentro contenuti prodotto */
body.shop-id-2.page-product.product-id-391236412 #product .product-information h2,
body.shop-id-2.page-product.product-id-391236412 #product .product-information h3,
body.shop-id-2.page-product.product-id-391236412 #product .tabs h2,
body.shop-id-2.page-product.product-id-391236412 #product .tabs h3 {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 14px;
}

/* tabelle (es. nutrizionale) */
body.shop-id-2.page-product.product-id-391236412 #product .product-tab-content table {
  width: 100% !important;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
body.shop-id-2.page-product.product-id-391236412 #product .product-tab-content th,
body.shop-id-2.page-product.product-id-391236412 #product .product-tab-content td {
  padding: 8px 10px;
  text-align: left;
}

/* mobile: piena larghezza ma con padding */
@media (max-width: 767.98px) {
  body.shop-id-2.page-product.product-id-391236412 #product .product-information .product-description,
  body.shop-id-2.page-product.product-id-391236412 #product .product-tabs .product-tab-content,
  body.shop-id-2.page-product.product-id-391236412 #product .tabs .product-tab-content,
  body.shop-id-2.page-product.product-id-391236412 #keto-cornetto {
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
}
/* === Forza il colore verde Ketozona su TUTTI i titoli delle schede prodotto Medicalikz === */
body.shop-id-2.page-product h1,
body.shop-id-2.page-product h2,
body.shop-id-2.page-product h3,
body.shop-id-2.page-product h4,
body.shop-id-2.page-product h5,
body.shop-id-2.page-product h6,
body.shop-id-2.page-product .elementor-heading-title,
body.shop-id-2.page-product .elementor-widget-heading .elementor-heading-title,
body.shop-id-2.page-product .product-tabs h2,
body.shop-id-2.page-product .product-description h2,
body.shop-id-2.page-product .elementor-widget-html h2,
body.shop-id-2.page-product .elementor-widget-html h3,
body.shop-id-2.page-product .elementor-widget-html h4 {
  color: #2a7f62 !important;
}
.product-out-of-stock-badge {
  background: #d60000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

.btn-see-product {
  background: #36b936 !important;
  border: none !important;
  color: #fff !important;
  padding: 7px 15px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
}
.product-out-of-stock-badge {
    background:#c90000;
    color:#fff;
    padding:6px 12px;
    font-weight:bold;
    border-radius:4px;
    display:inline-block;
    margin-bottom:8px;
}

.qty-container {
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom:6px;
}

.input-qty-mini {
    width:48px;
    text-align:center;
}

.qty-btn {
    cursor:pointer;
    background:#eaeaea;
    padding:4px 8px;
    border-radius:4px;
    font-weight:bold;
    transition:0.2s;
}

.qty-btn:hover {
    background:#d2d2d2;
}
/* BADGE NON DISPONIBILE - STILE AMAZON */
.product-out-of-stock-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #f3f3f3;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* PULSANTE VEDI (solo per prodotti esauriti) */
.btn-see-product {
  display: inline-block;
  background-color: #67a843 !important; /* Verde Ketozona */
  color: #fff !important;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 6px;
}

/* Pulsante Telegram footer – forzato verde Ketozona */
.footer-container a.telegram-support,
.footer a.telegram-support {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #bccf27 !important;  /* Verde Ketozona */
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
    transition: 0.2s ease;
    text-align: center !important;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none !important;
}

.footer-container a.telegram-support:hover,
.footer a.telegram-support:hover {
    background-color: #a2b51f !important;  /* Verde più scuro in hover */
}

/* 🔵 Pulsante Telegram FLOTTANTE – metà pagina a destra, verde Ketozona */
.telegram-floating {
    position: fixed !important;
    top: 50% !important;          /* metà altezza finestra */
    bottom: auto !important;      /* annulla qualsiasi bottom precedente */
    right: 25px !important;       /* distanza dal bordo destro */
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
    background-color: #bccf27 !important;  /* verde Ketozona */
    border-radius: 50%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-floating:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Mobile: un po' più in basso e più piccolo */
@media (max-width: 768px) {
    .telegram-floating {
        top: 60% !important;
        right: 18px !important;
        width: 54px;
        height: 54px;
    }
}
#kit-configuratore .kit-sezione {
  margin-bottom: 30px;
}

#kit-configuratore .kit-titolo-sezione {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

#kit-configuratore .kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

#kit-configuratore .kit-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
}

#kit-configuratore .kit-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#kit-configuratore .kit-titolo {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

#kit-configuratore .kit-prezzo {
  font-weight: 600;
  margin-bottom: 5px;
}

#kit-configuratore .kit-input-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

#kit-configuratore .kit-input-qty {
  width: 70px;
}

#kit-configuratore .kit-error {
  margin-top: 8px;
  color: #c62828;
  font-size: 0.9rem;
}

#kit-configuratore .kit-bottone-carrello {
  margin-top: 20px;
  padding: 10px 20px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#kit-configuratore .kit-bottone-carrello:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#wbpblogposts-swiper .post-image {
  display: block;
  width: 100%;
  height: 220px;        /* prova 200–260px */
  background-size: cover;
  background-position: center;
}
#wbpblogposts-swiper .post-excerpt {
  display: block;
  max-height: 3.6em;    /* ~2 righe, prova 3.6–5.4 */
  overflow: hidden;
}
.menu-bia > a {
  padding: 6px 14px;
  border-radius: 30px;
  background: #f7e8a0;
  color: #143b3a;
  font-weight: 700;
  position: relative;
}
.menu-bia > a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  box-shadow: 0 0 8px rgba(255, 183, 0, 0.6);
  opacity: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 0; }
  50%    { opacity: 1; }
}
/* Limita larghezza e altezza del logo */
#header .logo img,
#header .logo {
    max-width: 200px;
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Riduce il padding verticale della fascia menu */
nav .nav-bar {
    padding-top: 8px;
    padding-bottom: 8px;
}
/* Evidenzia nel menu la voce con URL '112-calcolatore-massa-grassa-metodo-ketozona' */
nav .nav-bar a[href*="112-calcolatore-massa-grassa-metodo-ketozona"] {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 30px;
  background: #F7E8A0;         /* colore oro chiaro */
  color: #143B3A !important;    /* testo scuro come il tema */
  font-weight: 700;
  text-decoration: none;
}

/* Bordo pulsante attorno alla voce per attirare l'attenzione */
nav .nav-bar a[href*="112-calcolatore-massa-grassa-metodo-ketozona"]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 30px;
  box-shadow: 0 0 8px rgba(255, 183, 0, 0.6);
  opacity: 0;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

/* BIA & Morfologia - voce speciale nel menu IQIT */
html body #cbp-hrmenu a.nav-link[href*="112-calcolatore-massa-grassa-metodo-ketozona"],
html body #iqitmegamenu-horizontal a.nav-link[href*="112-calcolatore-massa-grassa-metodo-ketozona"],
html body a.nav-link[href*="112-calcolatore-massa-grassa-metodo-ketozona"] {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  line-height: 32px !important;
  margin-top: 9px !important;
  margin-bottom: 9px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #fff7c2 0%, #f1c75b 48%, #c99a25 100%) !important;
  color: #143B3A !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 0 0 1px rgba(255,215,100,.85),
    0 0 14px rgba(255,190,40,.65) !important;
}

html body a.nav-link[href*="112-calcolatore-massa-grassa-metodo-ketozona"] *,
html body a[href*="112-calcolatore-massa-grassa-metodo-ketozona"] * {
  color: #143B3A !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

/* === KZ BIA MENU FINAL END === */



/* ==========================================================
   KZ_METHOD_BUILDER_HOME_ALTERNATIVE_V2_CSS
   STAGING ONLY
   ========================================================== */

.kzmb-home-alt{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  width:100%;
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(177,198,39,.45);
  border-radius:16px;
  background:
    linear-gradient(
      135deg,
      rgba(177,198,39,.10),
      rgba(255,255,255,.98)
    );
  box-shadow:
    0 9px 25px rgba(42,52,28,.06);
}

.kzmb-home-alt__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:#20241d;
}

.kzmb-home-alt__icon span{
  color:#b1c627;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}

.kzmb-home-alt__copy{
  min-width:0;
}

.kzmb-home-alt__eyebrow{
  display:block;
  margin-bottom:3px;
  color:#839513;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}

.kzmb-home-alt__copy strong{
  display:block;
  color:#22271e;
  font-size:13px;
  line-height:1.3;
}

.kzmb-home-alt__copy small{
  display:block;
  margin-top:4px;
  color:#73786d;
  font-size:10.5px;
  line-height:1.35;
}

.kzmb-home-alt__cta{
  display:flex !important;
  align-items:center;
  gap:6px;
  padding:10px 12px !important;
  border-radius:999px;
  background:#20241d !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  white-space:nowrap;
}

.kzmb-home-alt__cta span{
  color:#b1c627;
  font-size:16px;
}

.kzmb-home-alt__cta:hover{
  background:#b1c627 !important;
  color:#20241d !important;
}

.kzmb-home-alt__cta:hover span{
  color:#20241d;
}

@media(max-width:600px){
  .kzmb-home-alt{
    grid-template-columns:40px 1fr;
  }

  .kzmb-home-alt__cta{
    grid-column:1/-1;
    justify-content:center;
  }
}


/* ==========================================================
   KZ_METHOD_BUILDER_HOME_ALTERNATIVE_V3_CSS
   STAGING ONLY
   ========================================================== */

.kzmb-home-alt-v3{
  margin:16px 0 12px;
  overflow:hidden;
  border:1px solid rgba(177,198,39,.65);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 28px rgba(47,56,31,.08);
}

.kzmb-home-alt-v3__top{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:17px 18px 14px;
}

.kzmb-home-alt-v3__icon{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:17px;
  background:#22271e;
  color:#b1c627;
}

.kzmb-home-alt-v3__icon span{
  font-size:21px;
  line-height:1;
  font-weight:900;
}

.kzmb-home-alt-v3__icon small{
  margin-top:4px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.11em;
}

.kzmb-home-alt-v3__eyebrow{
  display:block;
  margin-bottom:4px;
  color:#829510;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.kzmb-home-alt-v3__copy strong{
  display:block;
  color:#22271e;
  font-size:14px;
  line-height:1.3;
}

.kzmb-home-alt-v3__copy p{
  margin:5px 0 0 !important;
  color:#686f63 !important;
  font-size:11px !important;
  line-height:1.45 !important;
}

.kzmb-home-alt-v3__base{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:15px;
  align-items:center;
  padding:12px 15px;
  border-top:1px solid #e6eadb;
  background:
    linear-gradient(
      90deg,
      rgba(177,198,39,.11),
      rgba(177,198,39,.035)
    );
}

.kzmb-home-alt-v3__krill{
  display:flex;
  align-items:center;
  gap:9px;
}

.kzmb-home-alt-v3__omega{
  display:flex;
  flex:0 0 32px;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#b1c627;
  color:#20251d;
  font-size:12px;
  font-weight:900;
}

.kzmb-home-alt-v3__krill small{
  display:block;
  color:#868c80;
  font-size:7px;
  font-weight:900;
  letter-spacing:.1em;
}

.kzmb-home-alt-v3__krill strong{
  display:block;
  margin-top:2px;
  color:#252a21;
  font-size:11px;
}

.kzmb-home-alt-v3__cta{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:39px;
  padding:10px 15px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#20251d !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  white-space:nowrap;
  box-shadow:0 7px 15px rgba(31,37,28,.14);
}

.kzmb-home-alt-v3__cta span{
  color:#b1c627;
  font-size:15px;
}

.kzmb-home-alt-v3__cta:hover{
  background:#b1c627 !important;
  color:#20251d !important;
}

.kzmb-home-alt-v3__cta:hover span{
  color:#20251d;
}

@media(max-width:600px){

  .kzmb-home-alt-v3__top{
    grid-template-columns:48px 1fr;
    padding:14px;
  }

  .kzmb-home-alt-v3__icon{
    width:48px;
    height:48px;
    border-radius:14px;
  }

  .kzmb-home-alt-v3__icon span{
    font-size:18px;
  }

  .kzmb-home-alt-v3__base{
    grid-template-columns:1fr;
  }

  .kzmb-home-alt-v3__cta{
    width:100%;
  }
}
