/* AP Newsletter Popup v6.0 */
#ap-root * { box-sizing: border-box !important; }

#ap-root .ap-overlay {
  position: fixed !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  z-index: 2147483647 !important;
  display: none !important;
  background: rgba(20,15,12,0.6) !important;
  padding: 24px !important; margin: 0 !important;
}
#ap-root .ap-overlay.open {
  display: -webkit-flex !important; display: flex !important;
  -webkit-align-items: center !important; align-items: center !important;
  -webkit-justify-content: center !important; justify-content: center !important;
}
#ap-root .ap-shell {
  position: relative !important;
  display: -webkit-flex !important; display: flex !important;
  background: #F6F2EC !important; border-radius: 4px !important;
  overflow: hidden !important; box-shadow: 0 30px 80px rgba(0,0,0,.45) !important;
  width: 100% !important; max-width: 920px !important;
  max-height: calc(100vh - 48px) !important; margin: auto !important;
}
#ap-root .ap-close {
  position: absolute !important; top: 14px !important; right: 14px !important; z-index: 10 !important;
  width: 28px !important; height: 28px !important; background: #ae1e23 !important; color: white !important;
  border: 0 !important; cursor: pointer !important; font-size: 18px !important;
  line-height: 28px !important; text-align: center !important; padding: 0 !important;
  font-family: Arial, sans-serif !important;
}
#ap-root .ap-media {
  -webkit-flex: 1.05 !important; flex: 1.05 !important;
  position: relative !important; overflow: hidden !important; min-height: 380px !important;
}
#ap-root .ap-media img {
  position: absolute !important; top: 0 !important; right: 0 !important;
  bottom: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; object-fit: cover !important;
}
#ap-root .ap-body {
  -webkit-flex: 1 !important; flex: 1 !important; padding: 48px 44px 40px !important;
  display: -webkit-flex !important; display: flex !important;
  -webkit-flex-direction: column !important; flex-direction: column !important;
  -webkit-justify-content: center !important; justify-content: center !important;
  background: #F6F2EC !important; overflow-y: auto !important;
  text-align: left !important; min-width: 0 !important;
}
#ap-root .ap-logo { height: 60px !important; width: auto !important; display: block !important; margin: 0 0 12px !important; }
#ap-root .ap-h2 {
  font-family: "Comfortaa", sans-serif !important; font-size: 50px !important;
  font-weight: 700 !important; line-height: 1.05 !important; letter-spacing: -0.025em !important;
  color: #111 !important; margin: 14px 0 16px !important;
}
#ap-root .ap-lede {
  font-family: "Open Sans", sans-serif !important; font-size: 14px !important;
  line-height: 1.5 !important; color: rgba(17,17,17,.72) !important; margin: 0 0 22px !important;
}
#ap-root .ap-lede strong { color: #ae1e23 !important; }
#ap-root .ap-form {
  display: -webkit-flex !important; display: flex !important;
  -webkit-flex-direction: column !important; flex-direction: column !important; gap: 10px !important;
}
#ap-root .ap-row { display: -webkit-flex !important; display: flex !important; gap: 10px !important; }
#ap-root .ap-input {
  -webkit-flex: 1 !important; flex: 1 !important; height: 40px !important; padding: 0 14px !important;
  border: 1px solid rgba(0,0,0,.12) !important; background: white !important; color: #111 !important;
  font-family: "Open Sans", sans-serif !important; font-size: 13px !important;
  border-radius: 0 !important; outline: 0 !important; -webkit-appearance: none !important; box-shadow: none !important;
}
#ap-root .ap-input::-webkit-input-placeholder { color: #B5ADA3 !important; }
#ap-root .ap-input::placeholder { color: #B5ADA3 !important; }
#ap-root .ap-input.err { border-color: #ae1e23 !important; }
#ap-root .ap-field {
  display: -webkit-flex !important; display: flex !important; height: 40px !important;
  border: 1px solid rgba(0,0,0,.12) !important; background: white !important; overflow: hidden !important;
}
#ap-root .ap-field.focus { border-color: #ae1e23 !important; box-shadow: 0 0 0 3px rgba(230,21,122,.18) !important; }
#ap-root .ap-field.err   { border-color: #ae1e23 !important; }
#ap-root .ap-field input {
  -webkit-flex: 1 !important; flex: 1 !important; border: 0 !important; outline: 0 !important;
  padding: 0 14px !important; background: transparent !important;
  font-family: "Open Sans", sans-serif !important; font-size: 13px !important;
  color: #111 !important; -webkit-appearance: none !important; box-shadow: none !important;
}
#ap-root .ap-field input::-webkit-input-placeholder { color: #B5ADA3 !important; }
#ap-root .ap-field input::placeholder { color: #B5ADA3 !important; }
#ap-root .ap-btn {
  -webkit-appearance: none !important; appearance: none !important;
  border: 0 !important; background: #ae1e23 !important; color: white !important;
  font-family: "Comfortaa", sans-serif !important; font-weight: 700 !important;
  font-size: 11px !important; letter-spacing: .14em !important; text-transform: uppercase !important;
  padding: 0 18px !important; cursor: pointer !important; white-space: nowrap !important; min-width: 148px !important;
}
#ap-root .ap-btn:disabled { opacity: .75 !important; pointer-events: none !important; }
#ap-root .ap-spin {
  display: inline-block !important; width: 14px !important; height: 14px !important;
  border: 2px solid rgba(255,255,255,.35) !important; border-top-color: white !important;
  border-radius: 50% !important; vertical-align: middle !important;
  -webkit-animation: ap-spin 700ms linear infinite !important;
  animation: ap-spin 700ms linear infinite !important;
}
@-webkit-keyframes ap-spin { to { -webkit-transform: rotate(360deg); } }
@keyframes ap-spin { to { transform: rotate(360deg); } }
#ap-root .ap-rc { display: -webkit-flex !important; display: flex !important; height: 78px !important; }
#ap-root .ap-err { display: none !important; font-size: 12px !important; color: #ae1e23 !important; }
#ap-root .ap-err.on { display: block !important; }

/* ── Checkbox: CSS puro con :checked ───────────────────────────────────── */
#ap-root .ap-consent {
  display: -webkit-flex !important; display: flex !important;
  -webkit-align-items: flex-start !important; align-items: flex-start !important;
  gap: 8px !important; cursor: pointer !important;
  font-family: "Open Sans", sans-serif !important; font-size: 10px !important;
  line-height: 1.45 !important; color: rgba(17,17,17,.55) !important;
}
#ap-root .ap-ck {
  position: absolute !important; opacity: 0 !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
#ap-root .ap-ck-box {
  display: inline-block !important; width: 18px !important; height: 18px !important;
  min-width: 18px !important; flex-shrink: 0 !important; margin-top: 2px !important;
  border: 2px solid rgba(0,0,0,.3) !important; border-radius: 2px !important;
  background: white !important; position: relative !important; cursor: pointer !important;
}
#ap-root .ap-ck:checked + .ap-ck-box { background: #ae1e23 !important; border-color: #ae1e23 !important; }
#ap-root .ap-ck:checked + .ap-ck-box::after {
  content: '' !important; display: block !important; position: absolute !important;
  left: 3px !important; top: 0 !important; width: 6px !important; height: 10px !important;
  border-right: 2.5px solid white !important; border-bottom: 2.5px solid white !important;
  -webkit-transform: rotate(45deg) !important; transform: rotate(45deg) !important;
}
#ap-root .ap-ck-box.err { border-color: #ae1e23 !important; }
#ap-root .ap-consent a { color: #ae1e23 !important; text-decoration: underline !important; }
#ap-root .ap-decline {
  -webkit-appearance: none !important; appearance: none !important;
  border: 0 !important; background: transparent !important; color: rgba(17,17,17,.45) !important;
  font-family: "Comfortaa", sans-serif !important; font-size: 10px !important; font-weight: 500 !important;
  letter-spacing: .14em !important; text-transform: uppercase !important; padding: 6px 0 !important;
  cursor: pointer !important; text-decoration: underline !important;
  -webkit-align-self: flex-start !important; align-self: flex-start !important; margin-top: 4px !important;
}
/* Utility per nascondere pannelli — !important necessario per battere display:flex !important */
#ap-root .ap-hidden { display: none !important; }

#ap-root .ap-success {
  display: -webkit-flex; display: flex;
  -webkit-flex-direction: column !important; flex-direction: column !important; gap: 8px !important;
}
#ap-root .ap-check {
  width: 56px !important; height: 56px !important; border-radius: 50% !important;
  background: #ae1e23 !important; display: -webkit-flex !important; display: flex !important;
  -webkit-align-items: center !important; align-items: center !important;
  -webkit-justify-content: center !important; justify-content: center !important; margin-bottom: 8px !important;
}
#ap-root .ap-code-box {
  border: 2px dashed #ae1e23 !important; border-radius: 4px !important; background: white !important;
  padding: 18px !important; margin: 14px 0 !important;
  display: -webkit-flex !important; display: flex !important;
  -webkit-flex-direction: column !important; flex-direction: column !important;
  -webkit-align-items: center !important; align-items: center !important; gap: 8px !important;
}
#ap-root .ap-code-lbl { font-family:"Comfortaa",sans-serif !important; font-size:10px !important; font-weight:600 !important; letter-spacing:.22em !important; text-transform:uppercase !important; color:#8A8178 !important; }
#ap-root .ap-code-val { font-family:ui-monospace,"Courier New",monospace !important; font-size:28px !important; font-weight:600 !important; color:#ae1e23 !important; }
#ap-root .ap-copy, #ap-root .ap-shop {
  -webkit-appearance: none !important; appearance: none !important;
  border: 0 !important; cursor: pointer !important; color: white !important;
  font-family:"Comfortaa",sans-serif !important; font-weight:600 !important; font-size:11px !important;
  letter-spacing:.14em !important; text-transform:uppercase !important; border-radius:999px !important;
}
#ap-root .ap-copy { background: #ae1e23 !important; padding: 8px 16px !important; }
#ap-root .ap-shop { background: #111 !important; padding: 14px 22px !important; margin-top:4px !important; font-size:12px !important; }

/* ── FAB ───────────────────────────────────────────────────────────────── */
#ap-fab {
  position: fixed !important; bottom: 70px !important; right: 24px !important;
  z-index: 2147483646 !important; -webkit-appearance: none !important; appearance: none !important;
  border: 0 !important; background: #ae1e23 !important; color: white !important;
  width: 194px !important; height: 44px !important; border-radius: 0 !important;
  cursor: pointer !important; box-shadow: 0 14px 34px -6px rgba(230,21,122,.55) !important;
  font-family:"Comfortaa",sans-serif !important; font-weight:700 !important;
  font-size:12px !important; letter-spacing:.18em !important; text-transform:uppercase !important;
  display: none !important;
  -webkit-align-items: center !important; align-items: center !important;
  -webkit-justify-content: center !important; justify-content: center !important;
}
/*#ap-fab.on { display: -webkit-inline-flex !important; display: inline-flex !important; }*/
#ap-fab.on { display: none !important; }

/* ── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  #ap-root .ap-overlay { padding: 16px !important; }
  #ap-root .ap-shell { -webkit-flex-direction: column !important; flex-direction: column !important; max-height: 88svh !important; border-radius: 12px !important; overflow-y: auto !important; }
  #ap-root .ap-media { display: none !important; }
  #ap-root .ap-body { padding: 24px 22px 28px !important; -webkit-justify-content: flex-start !important; justify-content: flex-start !important; }
  #ap-root .ap-h2 { font-size: 44px !important; white-space: nowrap !important; }
  #ap-root .ap-lede { font-size: 12px !important; }
  #ap-root .ap-row { -webkit-flex-direction: column !important; flex-direction: column !important; }
  #ap-root .ap-input { min-height: 44px !important; }
  #ap-root .ap-field { -webkit-flex-direction: column !important; flex-direction: column !important; height: auto !important; border: none !important; background: transparent !important; gap: 10px !important; overflow: visible !important; }
  #ap-root .ap-field input { min-height: 44px !important; border: 1px solid rgba(0,0,0,.12) !important; background: white !important; }
  #ap-root .ap-btn { width: 100% !important; height: 44px !important; min-width: unset !important; }
  #ap-root .ap-rc { -webkit-transform: scale(0.82) !important; transform: scale(0.82) !important; -webkit-transform-origin: left top !important; transform-origin: left top !important; height: 64px !important; }
  #ap-root .ap-close { width: 34px !important; height: 34px !important; line-height: 34px !important; }
  #ap-fab { bottom: 70px !important; right: 16px !important; width: 170px !important; }
}
@media (max-width: 390px) {
  #ap-root .ap-body { padding: 20px 18px 24px !important; }
  #ap-root .ap-h2 { font-size: 36px !important; }
}
.ap-footer-msg{
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.4;
  display: none;
}
.ap-footer-error {color:#ae1e23;}
.ap-footer-msg.is-error{
  color: #111;
  background: rgba(0,0,0,0.2);
  padding: 10px;
}

.ap-footer-msg.is-success{
  color: #111;
  padding: 10px;
}

.site-footer-widget-area .large-12 {
        width: 100% !important;}

.ap-footer-nl {
  background: #F6F2EC;;
  padding: 80px 20px;
}

/* container */
.ap-footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* SINISTRA */
.ap-footer-left {
  flex: 1;
}

.ap-footer-title {
  font-family: "Comfortaa", sans-serif;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}
.ap-footer-title strong { color: #ae1e23 !important; }
.ap-footer-sub {
  font-size: 16px;
  color: rgba(0,0,0,0.7);
}

/* DESTRA */
.ap-footer-right {
  flex: 1;
}

/* INPUT */
.ap-footer-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.ap-footer-input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: none;
  background: #f1f1f1;
  font-size: 14px;
}

/* EMAIL + BTN */
.ap-footer-field {
  display: flex;
  margin-bottom: 16px;
}

.ap-footer-btn {
  background: #ae1e23;
  color: white;
  border: none;
  padding: 0 20px;
  font-family: "Comfortaa", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
}

/* CHECKBOX */
.ap-footer-consent {
display: -webkit-flex !important; display: flex !important;
  -webkit-align-items: flex-start !important; align-items: flex-start !important;
  gap: 8px !important; cursor: pointer !important;
  font-family: "Open Sans", sans-serif !important; font-size: 10px !important;
  line-height: 1.45 !important; color: rgba(17,17,17,.55) !important;
}
.site-footer .ap-footer-consent  a {color:#ae1e23 !important;}
.ap-footer-wrap {
  display: flex;
  gap: 40px;
  align-items: center;
}

.ap-footer-left,
.ap-footer-right {
  width: 50%;
}

/* MOBILE */
@media (max-width: 768px) {
  .ap-footer-wrap {
    flex-direction: column;
    text-align: center;
  }

  .ap-footer-left,
  .ap-footer-right {
    width: 100%;
  }

  .ap-footer-row {
    flex-direction: column;
  }

  .ap-footer-field {
    flex-direction: column;
  }

  .ap-footer-btn {
    width: 100%;
    margin-top: 10px;
  }
}
/* SUCCESS FOOTER = STILE POPUP */
.ap-footer-success {
  text-align: center;
  padding: 20px 10px;
}

/* cerchio con check */
.ap-check {
  width: 60px;
  height: 60px;
  background: #ae1e23;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ap-check p {color:#111;}
.ap-check p {color:#111;}

/* titolo */
.ap-footer-success .ap-h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

/* testo */
.ap-footer-success .ap-lede {
  color: #777;
  margin-bottom: 20px;
}

/* box codice */
.ap-code-box {
  border: 2px dashed #ae1e23;
  padding: 20px;
  border-radius: 12px;
  margin-top: 10px;
}

/* label sopra codice */
.ap-code-lbl {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: #777;
}

/* codice */
.ap-code-val {
  font-size: 28px;
  font-weight: bold;
  color: #ae1e23;
  margin-bottom: 15px;
}

/* bottone copia */
.ap-copy-btn {
  background: #ae1e23;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.ap-copy-btn:hover {
  opacity: 0.85;
}