/* =========================================================================
   Cookie banner — tema scuro Wedoo, più leggibile
   Si carica dopo popupConsent_new.css e ridefinisce solo variabili e misure.
   Contrasti (su #000): testo #fff 21:1, testo secondario #d4d4d4 14:1,
   accento #5aadf0 8.9:1; pulsante primario testo nero su #5aadf0.
   ========================================================================= */
.cc-wrap,
.cc-backdrop {
  --cc-bg        : #000000;
  --cc-sur       : #0d0d0d;
  --cc-tx        : #ffffff;
  --cc-tm        : #d4d4d4;
  --cc-bd        : #3a3a3a;
  --cc-maincolor : #FFFFFF;
}

.cc-backdrop { background: rgba(0, 0, 0, .78); }

.cc-box {
  max-width: 640px;
  border-color: #3a3a3a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .8);
}

/* Intestazione */
.cc-head { padding: 1.5rem 2rem; }
.cc-title { font-size: 1.8rem; font-weight: 500; letter-spacing: 0; }
.cc-close { width: 40px; height: 40px; color:#fff!important; border-color: #5a5a5a; }
.cc-close:hover { background: #fff; color: #000; border-color: #fff; }
.cc-close svg {color:#FFF!important;}
.cc-close:hover svg {color:#000!important;}
/* Corpo */
.cc-body { padding: 1.5rem 2rem; }
.cc-desc { font-size: 1.3rem; line-height: 1.6; color: var(--cc-tm); margin-bottom: 1rem; }

.cc-item { gap: 1.5rem; padding: 1.1rem 0; border-bottom-color: #2a2a2a; }
.cc-item-title { font-size: 1.2rem; font-weight: 600; letter-spacing: .06em; color: #fff; }
.cc-item-label { font-size: 1.2rem; line-height: 1.55; color: var(--cc-tm); }
.cc-item-title svg { width: 22px; height: 22px; fill: var(--cc-maincolor); }

/* Badge "sempre attivi" */
.cc-badge { font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-width: 1px; }

/* Interruttori: stato spento visibile, stato attivo con contrasto */
.cc-switch { width: 56px; height: 32px; background: #6e6e6e; border-radius: 16px; }
.cc-switch::after { width: 24px; height: 24px; left: 4px; }
.cc-switch[aria-checked="true"] { background: var(--cc-maincolor); }
.cc-switch[aria-checked="true"]::after { transform: translateX(24px); background: #000; }
.cc-switch--disabled { opacity: .75; }

/* Footer */
.cc-foot { padding: 1.25rem 2rem; background: #0d0d0d; border-top-color: #3a3a3a; }
.cc-policy { font-size: 1.2rem; line-height: 1.5; color: var(--cc-tm); }
.cc-policy-link { color: var(--cc-maincolor); text-decoration: underline; text-underline-offset: 3px; }
.cc-policy-link:hover { opacity: 1; color: #fff; }

/* Pulsanti: dimensione e target tattile */
.cc-btn { font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; min-height: 46px; padding: .75rem 1.5rem; }
.cc-btn--secondary { border-color: #8a8a8a; color: #fff; }
.cc-btn--secondary:hover { border-color: #fff; background: #1a1a1a; }
.cc-btn--primary { background: var(--cc-maincolor); border-color: var(--cc-maincolor); color: #000; }
.cc-btn--primary:hover { opacity: 1; background: #fff; border-color: #fff; color: #000; }

/* Focus ben visibile */
.cc-btn:focus-visible,
.cc-switch:focus-visible,
.cc-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 575px) {
  .cc-head, .cc-body, .cc-foot { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cc-title { font-size: 1.35rem; }
  .cc-btn { width: 100%; }
}

/* =========================================================================
   Isolamento dal CSS delle pagine ospite (es. app React di pt_showcase, che stila
   [role="dialog"] con posizione, sfondo e ombra propri): il wrapper deve restare
   un overlay a tutto schermo trasparente, con il box centrato dentro.
   ========================================================================= */
#ccWrap.cc-wrap {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  width: auto !important; height: auto !important;
  max-width: none !important; max-height: none !important;
  margin: 0 !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cc-close:hover