/* =========================================================
   CT25 CUSTOM DESKTOP MENU — HEADER MATCH V3
   Barra full width + pulsanti centrati
========================================================= */

.ct25-header-menu,
.ct25-header-menu *{
  box-sizing:border-box;
}

.ct25-header-menu{
  --ct25-blue:#09488c;
  --ct25-blue2:#0a5cae;
  --ct25-blue3:#083b78;
  --ct25-gold:#ffd400;
  --ct25-red:#c40000;
  --ct25-ink:#08224b;
  --ct25-muted:#48627f;

  position:relative;
  z-index:999;
  width:100vw !important;
  max-width:100vw !important;
  min-height:52px;

  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding:0 !important;

  background:linear-gradient(180deg,#c8ebfb 0%,#aedaef 100%);
  border-top:1px solid rgba(9,72,140,.12);
  border-bottom:2px solid #09488c;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 5px 14px rgba(9,72,140,.08);

  font-family:Arial, Helvetica, sans-serif;
  color:var(--ct25-ink);
}

.ct25-header-menu__inner{
  width:100% !important;
  max-width:1420px !important;
  min-height:52px;
  margin:0 auto !important;
  padding:0 14px !important;

  display:flex;
  align-items:center;
  justify-content:center;
}

.ct25-header-menu__nav{
  width:100% !important;
  max-width:none !important;
  flex:1 1 auto;
  min-height:52px;

  display:flex;
  align-items:center;
  justify-content:center !important;
}

.ct25-header-menu__list{
  list-style:none;
  margin:0 !important;
  padding:0 !important;
  min-height:52px;

  display:flex;
  align-items:center;
  justify-content:center !important;
  gap:5px;
}

.ct25-header-menu__item{
  position:relative;
  min-height:52px;
  display:flex;
  align-items:center;
  margin:0 !important;
  padding:0 !important;
}

/* TASTI MENU */

.ct25-header-menu__link{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  padding:8px 13px;
  border-radius:12px;

  border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg,#0b62cf 0%,#084fae 100%);

  color:#ffffff;
  font-size:12.8px;
  line-height:1;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;

  box-shadow:
    0 4px 10px rgba(9,72,140,.14),
    inset 0 1px 0 rgba(255,255,255,.16);

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    color .16s ease,
    border-color .16s ease;
}

.ct25-header-menu__link:hover,
.ct25-header-menu__link:focus,
.ct25-header-menu__item.is-open > .ct25-header-menu__link{
  background:linear-gradient(180deg,#083f8f 0%,#07376f 100%);
  color:#ffffff;
  border-color:rgba(255,212,0,.50);
  text-decoration:none;
  transform:translateY(-1px);
  box-shadow:
    0 7px 15px rgba(9,72,140,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.ct25-header-menu__link.is-current{
  background:linear-gradient(180deg,#ffd400 0%,#f3c300 100%);
  color:#07386f;
  border-color:rgba(190,145,0,.35);
  box-shadow:
    0 5px 12px rgba(9,72,140,.13),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.ct25-header-menu__link--button{
  font-family:inherit;
  appearance:none;
  -webkit-appearance:none;
}

.ct25-header-menu__arrow{
  font-size:10px;
  line-height:1;
  transform:translateY(1px);
}

/* DROPDOWN PANELS */

.ct25-header-menu__panel{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  width:min(980px, calc(100vw - 32px));
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.ct25-header-menu__panel--medium{
  width:min(700px, calc(100vw - 32px));
}

.ct25-header-menu__panel--master{
  width:min(840px, calc(100vw - 32px));
  left:57%;
}

.ct25-header-menu__panel--last-left{
  left:auto;
  right:12px;
  transform:translateY(10px);
}

.ct25-header-menu__item.is-open > .ct25-header-menu__panel,
.ct25-header-menu__item--has-panel:hover > .ct25-header-menu__panel,
.ct25-header-menu__item--has-panel:focus-within > .ct25-header-menu__panel{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.ct25-header-menu__item.is-open > .ct25-header-menu__panel--last-left,
.ct25-header-menu__item--has-panel:hover > .ct25-header-menu__panel--last-left,
.ct25-header-menu__item--has-panel:focus-within > .ct25-header-menu__panel--last-left{
  transform:translateY(0);
}

/* MENU LITE INTERNO DROPDOWN */

.ct25-menu-lite,
.ct25-menu-lite *{
  box-sizing:border-box;
}

.ct25-menu-lite{
  width:100%;
  margin:0 auto;
  padding:8px 10px;
  color:#08224b;
  text-align:center;
}

.ct25-menu-lite__panel{
  width:100%;
  padding:12px;
  border-radius:22px;
  background:linear-gradient(180deg,#f8fcff 0%,#eef8ff 100%);
  border:1px solid rgba(9,72,140,.16);
  box-shadow:
    0 18px 38px rgba(3,33,74,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.ct25-menu-lite__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:11px;
  align-items:stretch;
}

.ct25-menu-lite__grid--master{
  gap:9px;
}

.ct25-menu-lite__grid--three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.ct25-menu-lite__card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:108px;
  padding:15px 14px;
  border-radius:17px;
  text-decoration:none;
  background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%);
  border:1px solid rgba(9,72,140,.14);
  box-shadow:0 7px 16px rgba(9,72,140,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align:center;
}

.ct25-menu-lite__card--compact{
  min-height:96px;
  padding:13px 12px;
  border-radius:16px;
}

.ct25-menu-lite__card:hover,
.ct25-menu-lite__card:focus,
.ct25-menu-lite__wide-card:hover,
.ct25-menu-lite__wide-card:focus,
.ct25-menu-lite__list-item:hover,
.ct25-menu-lite__list-item:focus{
  transform:translateY(-2px);
  border-color:rgba(9,72,140,.26);
  box-shadow:0 12px 22px rgba(9,72,140,.12);
  text-decoration:none;
}

.ct25-menu-lite__title{
  display:block;
  width:100%;
  margin:0 0 7px;
  font-size:15px;
  line-height:1.18;
  font-weight:900;
  color:#09488c;
  text-align:center;
}

.ct25-menu-lite__card--compact .ct25-menu-lite__title{
  font-size:14px;
  margin-bottom:5px;
}

.ct25-menu-lite__desc{
  display:block;
  width:100%;
  max-width:250px;
  margin:0 auto;
  font-size:12px;
  line-height:1.34;
  font-weight:700;
  color:#4d6783;
  text-align:center;
}

.ct25-menu-lite__card--compact .ct25-menu-lite__desc{
  font-size:11.4px;
  line-height:1.28;
}

.ct25-menu-lite__badge{
  position:absolute;
  top:10px;
  right:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:4px 8px;
  border-radius:999px;
  background:#d40000;
  color:#fff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 8px 16px rgba(214,0,0,.20);
}

.ct25-menu-lite__card--with-badge{
  padding-top:30px;
}

.ct25-menu-lite__card--cta{
  background:linear-gradient(135deg,#0a5cae 0%,#09488c 100%);
  border-color:rgba(255,212,0,.28);
  box-shadow:0 10px 22px rgba(9,72,140,.16);
}

.ct25-menu-lite__card--cta .ct25-menu-lite__title{
  color:#ffd400;
}

.ct25-menu-lite__card--cta .ct25-menu-lite__desc{
  color:#ffffff;
}

/* HEADER INTERNO DROPDOWN */

.ct25-menu-lite__head{
  margin-bottom:12px;
  padding:15px 18px 14px;
  border-radius:19px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255,212,0,.22), transparent 34%),
    linear-gradient(135deg,#0a5cae 0%,#09488c 48%,#083b78 100%);
  text-align:center;
  color:#ffffff;
  box-shadow:0 10px 24px rgba(9,72,140,.20);
}

.ct25-menu-lite__head--compact{
  margin-bottom:12px;
}

.ct25-menu-lite__eyebrow{
  display:block;
  font-size:20px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.02em;
  color:#ffffff;
}

.ct25-menu-lite__subtitle{
  display:block;
  margin-top:5px;
  font-size:13px;
  line-height:1.35;
  font-weight:800;
  color:rgba(255,255,255,.92);
}

.ct25-menu-lite__status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  min-height:25px;
  padding:5px 11px;
  border-radius:999px;
  background:#c40000;
  color:#ffffff;
  font-size:11px;
  line-height:1;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
  box-shadow:0 8px 16px rgba(196,0,0,.20);
}

.ct25-menu-lite__status--gold{
  background:#ffd400;
  color:#09488c;
  box-shadow:0 8px 16px rgba(255,212,0,.18);
}

/* BOX INFORMATIVI */

.ct25-menu-lite-30cfu,
.ct25-menu-lite-cfu{
  max-width:680px;
}

.ct25-menu-lite__info-box{
  padding:18px 20px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f2f9ff 100%);
  border:1px solid rgba(9,72,140,.12);
  box-shadow:0 8px 18px rgba(9,72,140,.07);
  text-align:center;
}

.ct25-menu-lite__info-box p{
  max-width:560px;
  margin:0 auto 14px;
  color:#405875;
  font-size:14px;
  line-height:1.55;
  font-weight:700;
}

.ct25-menu-lite__main-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#0a5cae 0%,#09488c 100%);
  color:#ffffff;
  font-size:13.5px;
  line-height:1;
  font-weight:950;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(9,72,140,.16);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ct25-menu-lite__main-btn:hover,
.ct25-menu-lite__main-btn:focus{
  transform:translateY(-2px);
  background:#083f7f;
  color:#ffffff;
  text-decoration:none;
  box-shadow:0 13px 26px rgba(9,72,140,.20);
}

/* WIDE CARD */

.ct25-menu-lite__wide-card{
  width:100%;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f2f9ff 100%);
  border:1px solid rgba(9,72,140,.12);
  box-shadow:0 8px 18px rgba(9,72,140,.07);
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ct25-menu-lite__ico{
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#e6f5ff;
  border:1px solid rgba(9,72,140,.10);
  font-size:22px;
  line-height:1;
}

.ct25-menu-lite__wide-text{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
}

.ct25-menu-lite__wide-text .ct25-menu-lite__title{
  margin:0 0 4px;
  text-align:left;
}

.ct25-menu-lite__wide-text .ct25-menu-lite__desc{
  max-width:none;
  margin:0;
  text-align:left;
}

.ct25-menu-lite__tag{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:6px 11px;
  border-radius:999px;
  background:#ffd400;
  color:#09488c;
  font-size:11px;
  line-height:1;
  font-weight:950;
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* CERTIFICAZIONI / COLONNE */

.ct25-menu-lite__cols{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  align-items:start;
}

.ct25-menu-lite__col{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.ct25-menu-lite__col-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:40px;
  padding:10px 12px;
  border-radius:15px;
  background:#e8f5ff;
  border:1px solid rgba(9,72,140,.12);
  color:#09488c;
  font-size:13px;
  line-height:1.2;
  font-weight:950;
  text-align:left;
}

.ct25-menu-lite__stack{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.ct25-menu-lite__list-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:48px;
  padding:11px 12px;
  border-radius:15px;
  background:linear-gradient(180deg,#ffffff 0%,#f2f9ff 100%);
  border:1px solid rgba(9,72,140,.11);
  box-shadow:0 7px 16px rgba(9,72,140,.06);
  color:#09488c;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ct25-menu-lite__list-item--cta{
  background:linear-gradient(135deg,#0a5cae 0%,#09488c 100%);
  border-color:rgba(255,212,0,.30);
  color:#ffffff;
}

.ct25-menu-lite__list-left{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  font-size:13.5px;
  line-height:1.2;
  font-weight:900;
  color:inherit;
  text-align:left;
}

.ct25-menu-lite__check{
  flex:0 0 22px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#e6f5ff;
  color:#09488c;
  font-size:12px;
  font-weight:950;
  line-height:1;
}

.ct25-menu-lite__list-item--cta .ct25-menu-lite__check{
  background:#ffd400;
  color:#09488c;
}

.ct25-menu-lite__chip{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:5px 8px;
  border-radius:999px;
  background:#e6f5ff;
  color:#09488c;
  font-size:10.5px;
  line-height:1;
  font-weight:950;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.ct25-menu-lite__list-item--cta .ct25-menu-lite__chip{
  background:#ffd400;
  color:#09488c;
}

/* FIX SPAZI ELEMENTOR / HTML WIDGET */

.ct25-header-menu p,
.ct25-header-menu ul{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Classe consigliata da mettere sul contenitore Elementor */
.ct25-menu-full-row{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.ct25-menu-full-row.e-con{
  --padding-top:0px !important;
  --padding-bottom:0px !important;
  --padding-left:0px !important;
  --padding-right:0px !important;
  --content-width:100% !important;
  --container-max-width:100% !important;
}

.ct25-menu-full-row > .e-con-inner{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.ct25-menu-full-row .elementor-widget-html,
.ct25-menu-full-row .elementor-widget-container{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

/* DESKTOP SAFETY */

@media (max-width:1220px){
  .ct25-header-menu__inner{
    max-width:100% !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .ct25-header-menu__link{
    padding-left:11px;
    padding-right:11px;
    font-size:12.3px;
  }
}

@media (max-width:1120px){
  .ct25-header-menu__link{
    padding-left:8px;
    padding-right:8px;
    font-size:11.5px;
  }
}

@media (max-width:1024px){
  .ct25-header-menu--desktop-only{
    display:none !important;
  }
}

/* =========================================================
   TRE CODICI SCONTO
========================================================= */

  .sconti-intro{
    max-width: 1180px;
    margin: 0 auto 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #0b1630;
    font-family: Arial, sans-serif;
  }

  .sconti-wow{
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    border: 3px solid #004aad;
    box-shadow: 0 14px 34px rgba(0,0,0,0.18);
  }

  .sconti-wow .col{
    flex: 1;
    padding: 52px 16px 20px;
    text-align: center;
    position: relative;
    transition: all .35s ease;
  }

  .sconti-wow .unitelma{
    flex: 1.15;
    border-right: 3px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 0 0 2px rgba(255,212,0,0.4);
  }

  .sconti-wow .col:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  }

  .yellow{
    background: linear-gradient(180deg, #ffd400 0%, #ffb300 100%);
    color:#000;
  }

  .blue{
    background: linear-gradient(
      135deg,
      #0b3cff 0%,
      #0040b3 55%,
      #001f66 100%
    );
    color:#fff;
  }

  .divider{
    width: 16px;
    background:
      radial-gradient(circle at 50% 14px, #ffffff 0 9px, transparent 10px)
      top/16px 28px repeat-y,
      linear-gradient(#004aad, #004aad);
  }

  .badge{
    position:absolute;
    top: 12px;
    left:50%;
    transform:translateX(-50%);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color:#000;
    white-space: nowrap;
  }

  .blue .badge{
    background: rgba(255,212,0,0.98);
    color:#002060;
  }

  .icon{
    font-size: 26px;
    margin-bottom: 6px;
  }

  .title{
    font-size: 15px;
    font-weight: 900;
    margin: 4px 0 10px;
    line-height: 1.35;
  }

  .highlight{
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
  }

  .yellow .highlight{ color:#0b3b91; }
  .blue .highlight{ color:#ffd400; }

  .codewrap{
    display:inline-block;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    border: 2px dashed rgba(0,0,0,0.25);
  }

  .blue .codewrap{
    background: rgba(0,0,0,0.35);
    border: 2px dashed rgba(255,212,0,0.95);
  }

  .code{
    font-size: 24px;
    font-weight: 900;
  }

  .blue .code{
    color:#ffd400;
  }

  .cdc-note{
    margin-top: 8px;
    font-size: 11.5px;
    opacity: .92;
    line-height: 1.4;
  }

  .sconti-note{
    max-width: 1180px;
    margin: 12px auto 0;
    font-size: 13px;
    text-align:center;
    font-family: Arial, sans-serif;
  }

  .sconti-alert{
    max-width: 1180px;
    margin: 8px auto 0;
    padding: 8px 12px;
    font-size: 12.5px;
    text-align: center;
    background: #fff3f3;
    border: 1.5px solid #d32f2f;
    border-radius: 8px;
    font-family: Arial, sans-serif;
  }

  .alert-red{
    color: #d32f2f;
    font-weight: 900;
    text-decoration: underline;
  }

  @media (max-width: 820px){
  .sconti-intro{
    margin: 0 auto 10px;
    font-size: 14px;
    line-height: 1.45;
    padding: 0 8px;
  }

  .sconti-wow{
    flex-wrap:wrap;
    border-radius: 14px;
  }

  .sconti-wow .col{
    flex: 1 1 100%;
    padding: 52px 12px 18px;
  }

  .sconti-wow .unitelma{
    flex:1 1 100%;
    border-right:0;
    box-shadow:none;
  }

  .sconti-wow .col:hover{
    transform:none;
    box-shadow:none;
  }

  .divider{
    display:none;
  }

  .badge{
    top: 10px;
    font-size: 10px;
    padding: 5px 10px;
  }

  .icon{
    margin: 2px 0 4px;
    font-size: 22px;
  }

  .title{
    font-size: 13px;
    line-height: 1.3;
    margin: 4px 0 8px;
  }

  .highlight{
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.15;
  }

  .codewrap{
    padding: 10px 14px;
    border-radius: 12px;
  }

  .code{
    font-size: 17px;
    line-height: 1;
  }

  .cdc-note{
    margin-top: 6px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .sconti-note{
    margin: 10px auto 0;
    font-size: 12px;
    line-height: 1.45;
    padding: 0 8px;
  }

  .sconti-alert{
    margin: 8px auto 0;
    padding: 8px 10px;
    font-size: 11.5px;
    line-height: 1.4;
    border-radius: 8px;
  }
}

