:root {
    /* Icone per elenchi puntati */
    --fb-bullet-icon: url('/wp-content/uploads/2026/07/icona-check-elenco.webp');
}

.categoria-corso-container {
	display:flex;
	align-items:center;
	gap:10px;
	margin:0;
}
.categoria-corso-img {
	width:18px;
	height:18px;
	object-fit:cover;
}
.categoria-corso-text {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.9vw;
    font-weight: 600;
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-primary);
    text-transform: uppercase;
}
.categoria-corso-text.testo-bianco {
	font-family: var(--e-global-typography-6217ff3-font-family), Sans-serif;
    font-size: var(--e-global-typography-6217ff3-font-size);
    font-weight: var(--e-global-typography-6217ff3-font-weight);
    text-transform: var(--e-global-typography-6217ff3-text-transform);
    line-height: var(--e-global-typography-6217ff3-line-height);
    color: var(--e-global-color-primary);
}

.cat_img_scheda{
	width:18px; 
	height:18px;
}

@media (max-width: 720px){
	.categoria-corso-text{ font-size:3vw; }
}
@media (min-width:721px) and (max-width:1024px){
	.categoria-corso-text{ font-size:1.5vw; }
}

/* === Variante WHITE (override mirati) === */
.categoria-corso-img01 { width:15px; height:15px; }
.categoria-corso-text01 {
    color:#fdfdfd;
    font-size: var(--e-global-typography-fba639e-font-size);
    font-weight: var(--e-global-typography-fba639e-font-weight);
    line-height: var(--e-global-typography-fba639e-line-height);
}

/* === Categoria documento === */
.categoria-documento-container {
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
}
.categoria-documento-img {
    width:24px;
    height:24px;
    object-fit:cover;
}
.categoria-documento-text {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.9vw;
    font-weight: 500;
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
    text-transform: uppercase;
}
@media (max-width: 720px){
  .categoria-documento-text{ font-size:3vw; }
}
@media (min-width:721px) and (max-width:1024px){
  .categoria-documento-text{ font-size:1.5vw; }
}

/* === Programma del corso === */
.fb-programma-corso { margin:24px 0; }
.fb-programma-subtitle {
    font-family: var(--e-global-typography-fba639e-font-family), Sans-serif;
    font-size: var(--e-global-typography-fba639e-font-size);
    font-weight: var(--e-global-typography-fba639e-font-weight);
    line-height: var(--e-global-typography-fba639e-line-height);
    color: var(--e-global-color-primary);
    margin: 28px 0 15px;
  
}
.fb-durata { margin:0 0 8px; }
.fb-moduli { list-style:none; padding:0; margin:0; }
.fb-modulo { margin:10px 0 14px; }
.fb-modulo-titolo { margin-bottom:4px; }
.fb-modulo-contenuti { margin-left:0; }

/* === Icone bullet SOLO sulle vere liste di contenuto === */
.fb-modulo-contenuti ul,
.fb-pratica-wys ul,
.fb-acf-wys ul,
ul.fb-bullet,
.fb-pratica-lista {
    list-style: none !important;
    padding-left: 0;
    margin-left: 0;
}
.fb-modulo-contenuti ul li,
.fb-pratica-wys ul li,
.fb-acf-wys ul li,
ul.fb-bullet > li,
.fb-pratica-lista li {
    position: relative;
    padding-left: 28px;
    margin: 6px 0;
}
.fb-modulo-contenuti ul li::before,
.fb-pratica-wys ul li::before,
.fb-acf-wys ul li::before,
ul.fb-bullet > li::before,
.fb-pratica-lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25rem;
    width: 18px;
    height: 18px;
    background-image: var(--fb-bullet-icon);
    background-repeat: no-repeat;
    background-size: contain;
}

/* Forza l'estratto a occupare esattamente lo spazio di 3 righe */
.elementor-widget-theme-post-excerpt p,
.title-card-2 p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
}

/* ============================================================
   AZIENDA SEMPLICE — custom.css
   ============================================================ */


:root {
  --as-orange:  #EB6127;
  --as-navy:    #262655;
  --as-pearl:   #E7E9F4;
  --as-bg:      #f0eef0;
  --as-white:   #ffffff;
  --as-dark:    #1a1a2e;
}

/* ============================================================
   NAV
   ============================================================ */
.elementor-location-header,
#masthead,
.site-header,
header.as-nav-sticky {
  transition: box-shadow 0.3s ease;
}
.as-nav-scrolled,
.scrolled-header {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}
.as-nav-cta,
.elementor-button.as-cta-primary {
  background: var(--as-orange) !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.as-nav-cta:hover,
.elementor-button.as-cta-primary:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
}


/* ============================================================
   MEGAMENU CORSI — widget "Menu di WordPress" (solo CSS)
   ============================================================ */

/* --- Righe, icone e mappa: valide su tutte le viewport --- */
.elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px !important;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #ececec;
  border-radius: 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--e-global-color-primary) !important;
  transition: background .2s, border-color .2s, color .2s;
}
.elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a:hover {
  background: #FBF4F0;
  border-left-color: var(--e-global-color-secondary);
  color: var(--e-global-color-secondary) !important;
}
.elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a::before {
  content: "";
  flex: 0 0 22px; width: 22px; height: 22px;
  background-color: var(--e-global-color-primary);
  -webkit-mask: var(--mm-icon) no-repeat center / contain;
          mask: var(--mm-icon) no-repeat center / contain;
  transition: background-color .2s;
}
.elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a:hover::before {
  background-color: var(--e-global-color-secondary);
}

/* mappa classe voce → icona */
.mm-i-antincendio     > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-antincendio.svg'); }
.mm-i-primo-soccorso  > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-primo-soccorso.svg'); }
.mm-i-haccp           > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-haccp.svg'); }
.mm-i-lavoratori      > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-lavoratori.svg'); }
.mm-i-datori          > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-datori.svg'); }
.mm-i-preposti        > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-preposti.svg'); }
.mm-i-rls             > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-rls.svg'); }
.mm-i-carrelli        > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-carrelli.svg'); }
.mm-i-ple             > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-ple.svg'); }
.mm-i-quota           > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-quota.svg'); }
.mm-i-spazi-confinati > a { --mm-icon: url('/wp-content/uploads/2026/07/mm-spazi-confinati.svg'); }

/* --- Desktop: pannello orizzontale (solo ≥1025px) --- */
@media (min-width: 1025px) {

  .elementor-location-header { position: relative; }
  .elementor-nav-menu .menu-item.mm-corsi { position: static; }

  .elementor-nav-menu .menu-item.mm-corsi > .sub-menu {
    display: none !important;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
    width: 90vw !important;
    max-width: 1240px !important;
    top: 100% !important;
    left: 17% !important;
    right: auto !important;
    margin-top: 0 !important;
    transform: translateX(-50%);
    padding: 22px 28px !important;
    background: #fff !important;
    z-index: 999 !important;
    border-top: 2px solid var(--e-global-color-secondary);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 44px rgba(38,38,85,.10);
  }

  /* ponte invisibile: tiene vivo l'hover nel tragitto voce → pannello */
  .elementor-nav-menu .menu-item.mm-corsi > .sub-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -26px; height: 26px;
  }

  .elementor-nav-menu .menu-item.mm-corsi:hover > .sub-menu,
  .elementor-nav-menu .menu-item.mm-corsi:focus-within > .sub-menu {
    display: grid !important;
  }
}

/* --- Tablet + mobile: stesso rientro delle altre sottovoci --- */
@media only screen and (max-width: 767px) {
  .elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a {
    margin-left: 22px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px)  {
  .elementor-nav-menu .menu-item.mm-corsi > .sub-menu > li > a {
    margin-left: 54px;
  }
}



/* ============================================================
   HERO SECTION
   ============================================================ */
.as-hero-section .elementor-container,
.elementor-section.as-hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.as-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26,26,46,0.45) 0%, rgba(26,26,46,0.80) 100%),
    linear-gradient(135deg, #262655 0%, #1a1a2e 40%, #3d1c06 100%);
  z-index: 0;
  pointer-events: none;
}
.as-hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235,97,39,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235,97,39,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}
.as-hero-section .elementor-widget-wrap {
  position: relative;
  z-index: 5;
}
@keyframes notifFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}
.as-hero-stats { flex-wrap: wrap; }
@media (max-width: 767px) {
  .as-hero-stats { flex-direction: column; }
  .as-hero-stats > div + div {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .as-hero-stats span[style*="font-size:2.4vw"] { font-size: 7vw !important; }
  .as-hero-notification { white-space: normal !important; max-width: 90vw; text-align: left; }
}
.as-btn-primary { transition: opacity 0.2s, transform 0.2s !important; }
.as-btn-primary:hover { opacity: 0.9 !important; transform: translateY(-2px) !important; }
.as-btn-ghost { transition: border-color 0.2s, background 0.2s !important; }
.as-btn-ghost:hover { border-color: rgba(255,255,255,0.7) !important; background: rgba(255,255,255,0.08) !important; }

/* ============================================================
   TICKER
   ============================================================ */
@keyframes asTick {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.as-ticker-track { display: flex !important; width: max-content !important; animation: asTick 24s linear infinite !important; }
.as-ticker-item {
  display: inline-flex; align-items: center; gap: 20px; padding: 0 40px;
  font-size: 0.75vw; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); white-space: nowrap;
}
.as-ticker-dot { width: 5px; height: 5px; background: var(--as-orange); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   PARALLAX TESTO
   ============================================================ */
#as-ptx {
  width: 100%;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#ptl1,
#ptl2 {
  display: block;
  white-space: nowrap;
  font-size: 9vw;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  will-change: transform;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 1;
}

#ptl1 {
  background-image: linear-gradient(135deg, #EB6127 0%, #262655 100%);
}

#ptl2 {
  text-align: right;
  background-image: linear-gradient(-135deg, #EB6127 0%, #262655 100%);
}



/* ============================================================
   SERVIZI
   ============================================================ */
.as-img-card { overflow: hidden; }
.as-img-card .as-img-card-bg { transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94) !important; }
.as-img-card:hover .as-img-card-bg { transform: scale(1.04) !important; }
.as-img-card:hover .as-img-card-arrow { transform: translate(3px,-3px) !important; }
.as-img-card-arrow { transition: transform 0.2s ease !important; }
.as-flat-card { transition: transform 0.2s ease !important; }
.as-flat-card:hover { transform: translateY(-4px) !important; }
.bg-marketing  { background: linear-gradient(135deg, #1c1c3e 0%, #2d1b00 100%); }
.bg-formazione { background: linear-gradient(135deg, #0a2a1a 0%, #1a3d10 100%); }
.bg-noleggio   { background: linear-gradient(135deg, #1a2a1a 0%, #262655 100%); }
.bg-gdpr       { background: linear-gradient(135deg, #1a1a1a 0%, #262655 100%); }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.as-feat-item { cursor: pointer; transition: border-color 0.2s ease; }
.as-feat-item:not(.active) .as-feat-item-desc { display: none !important; }
.as-feat-item.active { border-left-color: var(--as-orange) !important; }
.as-feat-item.active .as-feat-item-num { opacity: 1 !important; }

/* ============================================================
   FORM ELEMENTOR PRO
   ============================================================ */
.as-form-field .elementor-field-group,
.elementor-form .elementor-field-group { margin-bottom: 16px !important; }
.elementor-form .elementor-field-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.6vw !important; font-weight: 600 !important;
  text-transform: uppercase !important; letter-spacing: 0.06em !important;
  color: #555 !important; margin-bottom: 7px !important;
}
.elementor-form .elementor-field {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.85vw !important; background: #ffffff !important;
  border: 1.5px solid transparent !important; border-radius: 11px !important;
  padding: 12px 16px !important; color: var(--as-dark) !important;
  transition: border-color 0.2s ease !important; width: 100% !important;
}
.elementor-form .elementor-field:focus { border-color: var(--as-orange) !important; outline: none !important; box-shadow: none !important; }
.elementor-form textarea.elementor-field { resize: vertical !important; min-height: 100px !important; }
.elementor-form .elementor-button {
  width: 100% !important; background: var(--as-orange) !important; color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important; font-weight: 700 !important;
  font-size: 0.9vw !important; padding: 14px 28px !important; border-radius: 100px !important;
  border: none !important; cursor: pointer !important; transition: opacity 0.2s ease !important; letter-spacing: 0 !important;
}
.elementor-form .elementor-button:hover { opacity: 0.9 !important; background: var(--as-orange) !important; }
.elementor-form .elementor-field-type-acceptance label {
  font-size: 0.7vw !important; color: #666 !important; line-height: 1.5 !important;
  font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important;
}
.elementor-form .elementor-field-type-acceptance a { color: var(--as-orange) !important; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.as-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.as-reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.as-footer-link { transition: color 0.2s ease !important; }
.as-footer-link:hover { color: var(--as-orange) !important; }
.as-footer-contact-item { transition: color 0.2s ease !important; }
.as-footer-contact-item:hover { color: var(--as-orange) !important; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .as-ticker-item { font-size: 1vw !important; }
  .as-nav-links { display: none !important; }
  .as-servizi-grid-row1, .as-servizi-grid-row2 { grid-template-columns: 1fr 1fr !important; }
  .elementor-form .elementor-field-label { font-size: 1vw !important; }
  .elementor-form .elementor-field { font-size: 1.4vw !important; }
  .elementor-form .elementor-button { font-size: 1.4vw !important; }
  .as-footer-grid-inner { grid-template-columns: 1fr 1fr !important; }
  .as-stat-card-num { font-size: 4.5vw !important; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {
  .as-ticker-item { font-size: 1.6vw !important; padding: 0 20px !important; }
  .elementor-form .elementor-field-label { font-size: 1.8vw !important; }
  .elementor-form .elementor-field { font-size: 2.2vw !important; }
  .elementor-form .elementor-button { font-size: 2.4vw !important; }
  .as-hero-stats > div:not(:first-child) { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.12) !important; }
  .elementor-container > .elementor-column { width: 100% !important; }
 /* #ptl1, #ptl2 { font-size: 9.5vw !important; }*/
  .as-footer-grid-inner { grid-template-columns: 1fr !important; }
  .as-footer-link { font-size: 2vw !important; }
  .as-stat-card-num { font-size: 8vw !important; }
}

.as-hero-notif {
  position: absolute; top: 14%; left: 52%; transform: translateX(0); z-index: 10;
  background: rgba(255,255,255,0.97); border-radius: 14px; padding: 13px 18px;
  display: flex; align-items: center; gap: 13px; box-shadow: 0 6px 32px rgba(0,0,0,0.15);
  max-width: 320px; opacity: 0; animation: notifIn 0.7s 0.5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes notifIn {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) { .as-hero-notif { display: none; } }

/* Ninja Forms - hover pulsante invio */
.nf-form-content input[type="submit"]:hover,
.nf-form-content input[type="button"]:hover,
.nf-form-content .ninja-forms-field[type="submit"]:hover {
  background: linear-gradient(90deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%) !important;
  background-color: transparent !important; color: #ffffff !important;
  border-color: var(--e-global-color-secondary) !important;
}

/* ============================================================
   HERO ELENCO PUNTATO — [as_hero_elenco_puntato]
   ============================================================ */
.as-hero-elenco { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content:center;}
.as-hero-elenco-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.07); border: 2px solid var(--e-global-color-cec2d51);
  border-radius: 12px; padding: 16px; width: 22%; box-sizing: border-box;
}
.as-hero-elenco-icona { width: 22%; height: auto; object-fit: contain; }
.as-hero-elenco-testo {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: var(--e-global-color-text);
}
@media (max-width: 767px) {
  .as-hero-elenco-item  { width: 100%; }
  .as-hero-elenco-icona { width: 15%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .as-hero-elenco-item  { width: 45%; }
  .as-hero-elenco-icona { width: 8%; }
}

/* ============================================================
   FAQ ACCORDION — [as_faq]
   Animazione gestita da JS — zero scatti
   ============================================================ */
.as-faq-wrap { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.as-faq-wrap details {
  background: #fdfdfd;
  border: 2px solid #f3f2f2;
  border-radius: 18px;
  transition: border-color 0.2s ease;
}
.as-faq-wrap summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--e-global-typography-fba639e-font-family), Sans-serif;
    font-size: var(--e-global-typography-fba639e-font-size);
    font-weight: var(--e-global-typography-fba639e-font-weight);
    line-height: var(--e-global-typography-fba639e-line-height);
  color: var(--e-global-color-secondary);
  user-select: none;
}
.as-faq-wrap summary::-webkit-details-marker { display: none; }
.as-faq-wrap summary::marker { display: none; }
.as-faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.35s ease;
}
.as-faq-wrap details[open] .as-faq-icon { transform: rotate(180deg); }
.as-faq-risposta {
  overflow: hidden;
  padding: 0 24px 20px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  color: var(--e-global-color-text);
}
.as-faq-risposta p { margin: 0 0 8px; }
.as-faq-risposta p:last-child { margin-bottom: 0; }


/* ============================================================
   FAQ ACCORDION — WIDGET ELEMENTOR
   Assegna al widget la classe CSS: as-faq-elementor
   Stile identico allo shortcode [as_faq]
   ============================================================ */

/* Contenitore: Accordion classico e Nested Accordion */
.as-faq-elementor .elementor-accordion,
.as-faq-elementor .e-n-accordion {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

/* Singola voce */
.as-faq-elementor .elementor-accordion-item,
.as-faq-elementor .e-n-accordion-item {
  overflow: hidden !important;
  background: #fdfdfd !important;
  border: 2px solid #f3f2f2 !important;
  border-radius: 18px !important;
  transition: border-color 0.2s ease !important;
}

/* Elementor aggiunge un bordo superiore tra le voci: lo neutralizziamo */
.as-faq-elementor .elementor-accordion-item + .elementor-accordion-item {
  border-top: 2px solid #f3f2f2 !important;
}

/* Titolo della domanda */
.as-faq-elementor .elementor-tab-title,
.as-faq-elementor .e-n-accordion-item-title {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 20px 24px !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
  list-style: none !important;
 font-family: var(--e-global-typography-fba639e-font-family), Sans-serif;
    font-size: var(--e-global-typography-fba639e-font-size);
    font-weight: var(--e-global-typography-fba639e-font-weight);
    line-height: var(--e-global-typography-fba639e-line-height);
  color: var(--e-global-color-secondary) !important;
  user-select: none !important;
}

/* Testo della domanda */
.as-faq-elementor .elementor-accordion-title,
.as-faq-elementor .e-n-accordion-item-title-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: var(--e-global-color-secondary) !important;
  font: inherit !important;
  text-decoration: none !important;
}

/* Nasconde le icone native di Elementor */
.as-faq-elementor .elementor-accordion-icon,
.as-faq-elementor .elementor-accordion-icon-closed,
.as-faq-elementor .elementor-accordion-icon-opened,
.as-faq-elementor .e-n-accordion-item-title-icon {
  display: none !important;
}

/* Freccia uguale allo shortcode */
.as-faq-elementor .elementor-tab-title::after,
.as-faq-elementor .e-n-accordion-item-title::after {
  content: '' !important;
  display: block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23EB6127' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  transition: transform 0.35s ease !important;
}

/* Rotazione freccia: Accordion classico */
.as-faq-elementor .elementor-tab-title.elementor-active::after {
  transform: rotate(180deg) !important;
}

/* Rotazione freccia: Nested Accordion */
.as-faq-elementor .e-n-accordion-item[open] > .e-n-accordion-item-title::after,
.as-faq-elementor .e-n-accordion-item-title[aria-expanded='true']::after {
  transform: rotate(180deg) !important;
}

/* Risposta: Accordion classico */
.as-faq-elementor .elementor-tab-content {
  overflow: hidden !important;
  padding: 0 24px 20px !important;
  background: transparent !important;
  border: 0 !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-text-font-size) !important;
  font-weight: var(--e-global-typography-text-font-weight) !important;
  line-height: var(--e-global-typography-text-line-height) !important;
  color: var(--e-global-color-text) !important;
}

/* Risposta: Nested Accordion */
.as-faq-elementor .e-n-accordion-item > .e-con,
.as-faq-elementor .e-n-accordion-item > .elementor-element {
  padding: 0 24px 20px !important;
}

.as-faq-elementor .elementor-tab-content p,
.as-faq-elementor .e-n-accordion-item p {
  margin: 0 0 8px !important;
}

.as-faq-elementor .elementor-tab-content p:last-child,
.as-faq-elementor .e-n-accordion-item p:last-child {
  margin-bottom: 0 !important;
}




/*cart laterale*/

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn,
.xoo-wsc-container .xoo-wsc-btn{
	border-radius: 100px !important;
	border: none !important;
	text-decoration: none !important;
	font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn.wave-btn-hero,
.xoo-wsc-container .xoo-wsc-btn.wave-btn-hero{
	width: 100% !important;
	min-height: 56px !important;
	padding: 10px 32px !important;
	background-color: var(--e-global-color-0129c2c) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: visible !important;
}

.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn.wave-btn-hero .elementor-button-text,
.xoo-wsc-container .xoo-wsc-btn.wave-btn-hero .elementor-button-text{
	color: #fdfdfd !important;
	display: inline-flex !important;
	align-items: center !important;
	overflow: visible !important;
	height: calc(var(--e-global-typography-accent-line-height) * 1.4) !important;
	padding: 4px 0 !important;
	font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
	font-size: var(--e-global-typography-accent-font-size) !important;
	font-weight: var(--e-global-typography-accent-font-weight) !important;
	text-transform: var(--e-global-typography-accent-text-transform) !important;
	line-height: var(--e-global-typography-accent-line-height) !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	transform-style: preserve-3d !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
}

.xoo-wsc-icon-del1:before {
    content: "\e915";
    color: #d9534f;
}

/* Contenitore principale del side cart */
.xoo-wsc-container {
  border-radius: 30px 0 0 30px !important;
  overflow: hidden !important;
 
}



/*end cart laterale*/

/*joinchat*/
.cnb-zindex-10 {
    z-index: 99999;
}
/*end joinchat*/

/*filtri search and filter mobile tablet*/

/* Desktop: pulsante nascosto, filtri sempre visibili */
/* Desktop: pulsante nascosto, filtri sempre visibili */
.sf-corsi-toggle{ display:none !important; }
.sf-corsi-fields {
    display: flex !important;
    gap: 20px;
    flex-direction: column;
}

/* Tablet + mobile */
@media (max-width:1024px){
  .sf-corsi-fields{ display:none !important; }
  .sf-corsi-fields.aperto {
    display: flex !important;
    gap: 20px;
    flex-direction: column;
    margin-top: 22px;
    max-height: 60vh;            /* riquadro scrollabile */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
  }
  /* barra di scorrimento */
  .sf-corsi-fields.aperto::-webkit-scrollbar{
    width: 6px;
  }
  .sf-corsi-fields.aperto::-webkit-scrollbar-thumb{
    background: rgba(0,0,0,.25);
    border-radius: 10px;
  }
  .sf-corsi-fields.aperto::-webkit-scrollbar-track{
    background: transparent;
  }

  .sf-corsi-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    width:100% !important;
    padding:14px 28px !important;
    border:none !important;
    cursor:pointer !important;
    border-radius:100px !important;
    color:#fff !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:.5px !important;
    background-color:#E5732A !important;   /* arancione pieno */
    background-image:none !important;
    transition:background-image .3s ease, background-color .3s ease !important;
  }
  /* Hover: gradiente viola -> arancio */
  .sf-corsi-toggle:hover{
    background-image:linear-gradient(90deg, #2E2A5B 0%, #E5732A 100%) !important;
  }
  /* Freccia SVG a destra, resa bianca */
  .sf-corsi-toggle::after{
    content:"";
    display:inline-block;
    width:18px;
    height:18px;
    background-color:#fff;
    -webkit-mask:url(/wp-content/uploads/2026/06/icona-freccia-aziendasemplice-1-arancione.svg) no-repeat center / contain;
    mask:url(/wp-content/uploads/2026/06/icona-freccia-aziendasemplice-1-arancione.svg) no-repeat center / contain;
  }
}


/* Il wrapper deve occupare tutta la riga */
.container_sf_custom.field_7,
.container_sf_custom.field_7 .search-filter-field,
.container_sf_custom.field_7 .search-filter-field__control {
    width: 100% !important;
    display: block !important;
}

/* Il pulsante reset */
.container_sf_custom.field_7 .search-filter-input-button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
	
}
.container_sf_custom.field_7 .search-filter-input-button{
    transition: all .3s ease !important;
}

.container_sf_custom.field_7 .search-filter-input-button:hover{
    background-image: linear-gradient(
        90deg,
        var(--e-global-color-primary) 0%,
        var(--e-global-color-secondary) 100%
    ) !important;
    transform: scale(1.05);
}


/* ============================================================
   LISTE SERVIZI ANIMATE
   .sp-*   = variante con immagini
   .serv-* = variante con tag
   Il riempimento della barra e gestito da seppia-scripts.js.
   ============================================================ */

.sp-list,
.serv-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sp-row,
.serv-row {
  display: grid !important;
  gap: 28px !important;
  align-items: start !important;
  padding: 32px 24px !important;
  border-bottom: 1px solid #ebebeb !important;
  background: transparent !important;
  transition: background .35s ease !important;
  cursor: pointer !important;
}

.sp-row:first-child,
.serv-row:first-child {
  border-top: 0 !important;
}

.sp-row.active,
.serv-row.active {
  background: rgba(231, 233, 244, .28) !important;
}

.sp-line,
.serv-line {
  position: relative !important;
  display: block !important;
  width: 4px !important;
  height: 72px !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  background: #D9DCE8 !important;
  border-radius: 20px !important;
}

.sp-line > span,
.serv-line > span {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #EB6127 !important;
  border-radius: 20px !important;
  transform: scaleY(0) !important;
  transform-origin: top !important;
  transition: none !important;
  will-change: transform;
}

.sp-n,
.serv-n {
  padding-top: 2px !important;
  color: #cfcfcf !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: color .35s ease !important;
}

.sp-row.active .sp-n,
.serv-row.active .serv-n {
  color: #EB6127 !important;
}

.sp-body,
.serv-body {
  justify-self: start !important;
  max-width: 620px !important;
  min-width: 0 !important;
}

.sp-name,
.serv-name {
  margin: 0 !important;
  color: #1A1A2E !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.sp-content,
.serv-content {
  display: block !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transition: max-height .65s ease, opacity .45s ease, margin .45s ease !important;
}

.sp-row.active .sp-content,
.serv-row.active .serv-content {
  max-height: 320px !important;
  margin-top: 14px !important;
  opacity: 1 !important;
}

.sp-desc,
.serv-desc {
  display: block !important;
  max-width: 580px !important;
  margin: 0 !important;
  color: #4d5668 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.sp-link,
.serv-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 12px !important;
  color: #EB6127 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.sp-link svg,
.serv-link svg {
  display: block !important;
  width: 8px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  transition: transform .35s ease !important;
}

.sp-row.active .sp-link svg,
.serv-row.active .serv-link svg {
  transform: translateX(5px) !important;
}

/* Variante con immagini */
.sp-row {
  grid-template-columns: 4px 46px minmax(0, 1fr) 300px !important;
}

.sp-media {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  opacity: .45 !important;
  border-radius: 14px !important;
  transform: translateY(4px) !important;
  transition: opacity .35s ease, transform .35s ease !important;
}

.sp-row.active .sp-media {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.sp-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Variante con tag */
.serv-row {
  grid-template-columns: 4px 46px minmax(360px, 1fr) auto !important;
}

.serv-tags {
  display: flex !important;
  align-self: start !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  max-width: 360px !important;
  padding-top: 4px !important;
}

.tag {
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

.tag-pearl {
  background: #E7E9F4 !important;
  color: #262655 !important;
}

.tag-lime {
  background: rgba(190, 208, 32, .22) !important;
  color: #5a6610 !important;
}

.tag-orange {
  background: rgba(235, 97, 39, .12) !important;
  color: #EB6127 !important;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

  /* ==========================================================
     VARIANTE CON IMMAGINI
     Immagine stabilmente sulla destra
     ========================================================== */

  .sp-row {
    grid-template-columns: 4px 36px minmax(0, 1fr) 220px !important;
    grid-template-areas:
      "line number body media" !important;
    gap: 20px !important;
    align-items: start !important;
    padding: 28px 18px !important;
  }

  .sp-row .sp-line {
    grid-area: line !important;
  }

  .sp-row .sp-n {
    grid-area: number !important;
  }

  .sp-row .sp-body {
    grid-area: body !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .sp-row .sp-media {
    grid-area: media !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 170px !important;
    margin: 0 !important;
    align-self: start !important;
  }

  .sp-name {
    font-size: 21px !important;
  }

  .sp-desc {
    font-size: 14px !important;
  }


  /* ==========================================================
     VARIANTE CON TAG
     I tag vanno sotto al contenuto per non stringere il testo
     ========================================================== */

  .serv-row {
    grid-template-columns: 4px 36px minmax(0, 1fr) !important;
    grid-template-areas:
      "line number body"
      "line number tags" !important;
    gap: 16px 20px !important;
    align-items: start !important;
    padding: 28px 18px !important;
  }

  .serv-row .serv-line {
    grid-area: line !important;
  }

  .serv-row .serv-n {
    grid-area: number !important;
  }

  .serv-row .serv-body {
    grid-area: body !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .serv-row .serv-tags {
    grid-area: tags !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    padding-top: 0 !important;
    margin-top: 2px !important;
  }

  .serv-name {
    font-size: 21px !important;
  }

  .serv-desc {
    font-size: 14px !important;
  }


  /* ==========================================================
     LINK CTA
     Evita che testo e freccia vengano tagliati
     ========================================================== */

  .sp-link,
  .serv-link {
    width: fit-content !important;
    max-width: 100% !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  .sp-link svg,
  .serv-link svg {
    flex: 0 0 8px !important;
    min-width: 8px !important;
    overflow: visible !important;
  }

  .sp-content,
  .serv-content {
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }
}

@media only screen and (max-width: 767px) {
  .sp-row,
  .serv-row {
    grid-template-columns: 4px 34px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 28px 16px !important;
  }

  .sp-line,
  .serv-line {
    height: 64px !important;
  }

  .sp-name {
    font-size: 24px !important;
  }

  .serv-name {
    font-size: 18px !important;
  }

  .sp-content,
  .serv-content {
    max-height: none !important;
    margin-top: 12px !important;
    opacity: 1 !important;
  }

  .sp-desc,
  .serv-desc {
    font-size: 14px !important;
  }

  .sp-media {
    grid-column: 1 / -1 !important;
    height: 180px !important;
    margin-top: 16px !important;
  }

  .serv-tags {
    grid-column: 3 !important;
    justify-content: flex-start !important;
    margin-top: 12px !important;
  }
}



/*personalizzazione lista preferiti wishlist in pagina account*/

/* ==========================================================
   YITH WISHLIST
   ========================================================== */


/* ----------------------------------------------------------
   LARGHEZZA COLONNE
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table th.product-name,
.woocommerce-wishlist table.wishlist_table td.product-name{
    width:48% !important;
}

.woocommerce-wishlist table.wishlist_table th.product-price,
.woocommerce-wishlist table.wishlist_table td.product-price{
    width:10% !important;
}

.woocommerce-wishlist table.wishlist_table th.product-stock-status,
.woocommerce-wishlist table.wishlist_table td.product-stock-status{
    width:12% !important;
}

.woocommerce-wishlist table.wishlist_table th.product-add-to-cart,
.woocommerce-wishlist table.wishlist_table td.product-add-to-cart{
    width:18% !important;
}


/* ----------------------------------------------------------
   NOME PRODOTTO
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table td.product-name a,
.woocommerce-wishlist table.wishlist_table td.product-name a:visited{

    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight:700 !important;
    line-height: var(--e-global-typography-text-line-height) !important;

    color:var(--e-global-color-primary) !important;

    text-decoration:none !important;

    transition:color .25s ease;
}

.woocommerce-wishlist table.wishlist_table td.product-name a:hover{

    color:#EB6127 !important;

}


/* ----------------------------------------------------------
   PREZZO
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table td.product-price,
.woocommerce-wishlist table.wishlist_table td.product-price span,
.woocommerce-wishlist table.wishlist_table td.product-price .amount,
.woocommerce-wishlist table.wishlist_table td.product-price .woocommerce-Price-amount{

    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight:700 !important;
    line-height: var(--e-global-typography-text-line-height) !important;

    color:var(--e-global-color-primary) !important;

}


/* ----------------------------------------------------------
   DISPONIBILITA'
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table td.product-stock-status,
.woocommerce-wishlist table.wishlist_table td.product-stock-status span,
.woocommerce-wishlist table.wishlist_table .wishlist-in-stock{

    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-text-font-size) !important;
    font-weight:700 !important;
    line-height: var(--e-global-typography-text-line-height) !important;

    color:#14713B !important;

}


/* ----------------------------------------------------------
   PULSANTE AGGIUNGI AL CARRELLO
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table td.product-add-to-cart a,
.woocommerce-wishlist table.wishlist_table td.product-add-to-cart a.button{

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px;

    white-space:nowrap !important;

    min-width:270px;

    padding:14px 22px !important;

    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;

    color:var(--e-global-color-accent) !important;

    background:var(--e-global-color-secondary) !important;

    border:none !important;

    border-radius:100px !important;

    text-decoration:none !important;

    box-shadow:none !important;

    transition:all .3s ease;

}


/* Freccia */

.woocommerce-wishlist table.wishlist_table td.product-add-to-cart a::after{

    content:"";

    width:10px;
    height:10px;

    border-right:3px solid currentColor;
    border-bottom:3px solid currentColor;

    transform:rotate(-45deg);

    transition:.3s;

}


/* Hover */

.woocommerce-wishlist table.wishlist_table td.product-add-to-cart a:hover{

    background:linear-gradient(
        90deg,
        var(--e-global-color-primary) 0%,
        var(--e-global-color-secondary) 100%
    ) !important;

    color:var(--e-global-color-accent) !important;
	transform: scale(1.05) !important;

}

.woocommerce-wishlist table.wishlist_table td.product-add-to-cart a:hover::after{

    transform:translateX(5px) rotate(-45deg);

}


/* ----------------------------------------------------------
   CENTRATURA CELLE
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table td.product-price,
.woocommerce-wishlist table.wishlist_table td.product-stock-status,
.woocommerce-wishlist table.wishlist_table td.product-add-to-cart{

    vertical-align:middle;

    text-align:center;

}


/* ----------------------------------------------------------
   HEADER TABELLA
   ---------------------------------------------------------- */

.woocommerce-wishlist table.wishlist_table thead th{

    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    font-size:18px;
    font-weight:700;

    color:var(--e-global-color-primary);

}

.wishlist-title.wishlist-title-with-form {
    color: #262655;
}

/* end personalizzazione lista preferiti wishlist in pagina account*/





/* personalizzazione bottoni carrello laterale */

a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-cart:hover, a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-continue:hover, a.xoo-wsc-ft-btn.xoo-wsc-btn.xoo-wsc-ft-btn-checkout:hover {
    background-image: linear-gradient(90deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%) !important;
}


/* end personalizzazione bottoni carrello laterale */






/*yith wishlist*/

/* ============================================================
   YITH WISHLIST
   ============================================================ */


/* Rimuove il margine predefinito del blocco */
.yith-add-to-wishlist-button-block {
    margin: 0;
}


/* ============================================================
   TESTO DEL PULSANTE WISHLIST
   ============================================================ */

.yith-wcwl-add-to-wishlist-button__label {
    color: #262655;
    font-family: var(--e-global-typography-58042c9-font-family), Sans-serif;
    font-size: var(--e-global-typography-58042c9-font-size);
    font-weight: var(--e-global-typography-58042c9-font-weight);
    line-height: var(--e-global-typography-58042c9-line-height);
    transition: color 0.2s ease;
}


/* Hover sul testo e sul pulsante */
.yith-wcwl-add-to-wishlist-button:hover
.yith-wcwl-add-to-wishlist-button__label {
    color: #eb6127;
}


/* Testo quando il prodotto è già nei preferiti */
.yith-wcwl-add-to-wishlist-button--added
.yith-wcwl-add-to-wishlist-button__label {
    color: #eb6127;
}


/* ============================================================
   DIMENSIONI E ANIMAZIONE GENERALI
   ============================================================ */

.yith-wcwl-add-to-wishlist-button
.yith-wcwl-add-to-wishlist-button-icon {
    transition:
        fill 0.2s ease,
        stroke 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* Dimensioni predefinite, usate nella pagina singola */
.yith-wcwl-add-to-wishlist-button
.yith-wcwl-add-to-wishlist-button-icon,
.yith-wcwl-add-to-wishlist-button
img.yith-wcwl-custom-icon {
    width: 22px;
    height: 22px;
}


/* Animazione hover */
.yith-wcwl-add-to-wishlist-button:hover
.yith-wcwl-add-to-wishlist-button-icon {
    transform: scale(1.1);
}


/* ============================================================
   PAGINA SINGOLA DEL CORSO
   Cuore sempre arancione
   ============================================================ */


/* Colore arancione nella pagina prodotto */
.single-product
.yith-wcwl-add-to-wishlist-button
.yith-wcwl-add-to-wishlist-button-icon {
    color: #eb6127 !important;
}


/* Non aggiunto: cuore outline arancione */
.single-product
.yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--added
)
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
}


/* Aggiunto: cuore pieno arancione */
.single-product
.yith-wcwl-add-to-wishlist-button--added
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: currentColor !important;
    stroke: currentColor !important;
}


/* ============================================================
   CARD DEI PRODOTTI
   Esclude la pagina singola del corso
   ============================================================ */


/* Cuore delle card: dimensione 30px e colore bianco */
body:not(.single-product)
.yith-wcwl-add-to-wishlist-button
.yith-wcwl-add-to-wishlist-button-icon {
    width: 30px !important;
    height: 30px !important;
    color: #ffffff !important;
}


/* Non aggiunto nelle card: cuore outline bianco */
body:not(.single-product)
.yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--added
)
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
}


/* Aggiunto nelle card: cuore pieno arancione */
body:not(.single-product)
.yith-wcwl-add-to-wishlist-button--added
.yith-wcwl-add-to-wishlist-button-icon {
    color: #ffffff !important;
}


body:not(.single-product)
.yith-wcwl-add-to-wishlist-button--added
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* ============================================================
   CUORE BIANCO NELLE CARD DEI PRODOTTI CORRELATI
   ============================================================ */

.single-product .elementor-loop-container
.yith-wcwl-add-to-wishlist-button
.yith-wcwl-add-to-wishlist-button-icon {
    color: #ffffff !important;
    width: 30px !important;
    height: 30px !important;
}


/* Non aggiunto: outline bianco */
.single-product .elementor-loop-container
.yith-wcwl-add-to-wishlist-button:not(
    .yith-wcwl-add-to-wishlist-button--added
)
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
}


/* Aggiunto: pieno bianco */
.single-product .elementor-loop-container
.yith-wcwl-add-to-wishlist-button--added
.yith-wcwl-add-to-wishlist-button-icon path {
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* ============================================================
   MESSAGGIO DI CONFERMA YITH
   ============================================================ */

.yith-wcwl-add-to-wishlist__feedback--product_added {
    background-color: var(--e-global-color-9860d88) !important;
    border: 2px solid var(--e-global-color-cec2d51) !important;
    border-radius: 8px !important;
}


.yith-wcwl-feedback__product-name,
.yith-wcwl-feedback__wishlist-name {
    color: var(--e-global-color-secondary) !important;
}

/*end yith wishlist*/





/*plugin sticky add to cart*/

/* ============================================================
   CALL NOW + SIDE CART SOPRA LA STICKY ADD TO CART
   ============================================================ */

:root {
    --wpc-sticky-cart-height: 0px;
    --floating-buttons-gap: 16px;
}


/* Animazione fluida dello spostamento */
#callnowbutton,
.xoo-wsc-basket {
    transition:
        bottom 0.3s ease,
        transform 0.3s ease !important;
}


/* Quando la sticky add to cart è visibile */
body.wpc-sticky-cart-visible #callnowbutton,
body.wpc-sticky-cart-visible .xoo-wsc-basket {
    bottom: calc(
        var(--wpc-sticky-cart-height) +
        var(--floating-buttons-gap)
    ) !important;
}


/* Evita che la sticky bar copra i due pulsanti */
body.wpc-sticky-cart-visible #callnowbutton,
body.wpc-sticky-cart-visible .xoo-wsc-basket {
    z-index: 999999 !important;
}

button.wpcsb-btn.button.alt {
	    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    line-height: var(--e-global-typography-accent-line-height);
    border-radius: 100px 100px 100px 100px;
    padding: 12px 28px 12px 28px;
    color: var(--e-global-color-accent);
    background-color: var(--e-global-color-secondary) !important;
}

/* Quantità: forza il numero visibile e le frecce */
.wpcsb-add-to-cart .quantity input[type=number]{
    color: #1a1a3d !important;
    -webkit-text-fill-color: #1a1a3d !important;
    background: #fff !important;
    opacity: 1 !important;
    width: 70px !important;
    text-align: center;
    appearance: auto;
	border: 2px solid #f3f4f9;
}


button.wpcsb-btn.button.alt:hover {
    background-image: linear-gradient(90deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%) !important;
    transform: scale(1.1);
}


/*end plugin sticky add to cart*/