/* Banner dei cookie: colori del sito (blu #133c66, arancio #ec6a2c), Rifiuta e Accetta con lo stesso peso. */
.cg-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; display: flex; justify-content: center; font-family: Montserrat, Arial, sans-serif; }
.cg-banner.cg-centro { top: 0; bottom: 0; left: 0; right: 0; align-items: center; background: rgba(10, 25, 45, .55); padding: 16px; }
.cg-contenuto { position: relative; background: #fff; color: #222; max-width: 760px; width: 100%; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); padding: 22px 24px 18px; max-height: calc(100vh - 32px); overflow: auto; }
.cg-h { font-size: 18px; font-weight: 700; color: #133c66; margin: 0 28px 8px 0; letter-spacing: 0; text-transform: none; line-height: 1.3; }
.cg-testo { font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; color: #333; }
.cg-testo a { color: #ec6a2c; text-decoration: underline; }
.cg-azioni { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cg-btn { font: 600 13px/1 Montserrat, Arial, sans-serif; padding: 12px 20px; border-radius: 4px; border: 2px solid #133c66; background: #133c66; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; min-width: 150px; }
.cg-btn:hover { background: #ec6a2c; border-color: #ec6a2c; color: #fff; }
.cg-btn:focus-visible { outline: 3px solid rgba(236, 106, 44, .55); outline-offset: 2px; }
.cg-btn-secondario { background: #fff; color: #133c66; }
.cg-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 28px; line-height: 1; color: #555; cursor: pointer; padding: 4px 8px; }
.cg-x:hover, .cg-x:focus-visible { color: #ec6a2c; outline: none; }
.cg-preferenze { border-top: 1px solid #e5e8ec; margin: 0 0 14px; }
.cg-categoria { border-bottom: 1px solid #e5e8ec; padding: 10px 0; }
.cg-riga { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; margin: 0; }
.cg-titolo { font-weight: 700; font-size: 14px; color: #133c66; }
.cg-descr { font-size: 12.5px; color: #555; margin: 4px 0 0; line-height: 1.5; }
.cg-switch { position: relative; width: 44px; height: 24px; flex: none; }
.cg-switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.cg-cursore { position: absolute; inset: 0; background: #c4cad1; border-radius: 24px; transition: background .2s; }
.cg-cursore::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cg-switch input:checked + .cg-cursore { background: #ec6a2c; }
.cg-switch input:checked + .cg-cursore::before { transform: translateX(20px); }
.cg-switch input:disabled + .cg-cursore { opacity: .6; }
.cg-switch input:focus-visible + .cg-cursore { box-shadow: 0 0 0 3px rgba(236, 106, 44, .4); }
.cg-segnaposto { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; background: #133c66; color: #fff; font-family: Montserrat, Arial, sans-serif; min-height: 220px; }
.cg-segnaposto p { margin: 0; font-size: 14px; max-width: 420px; color: #fff; }
.cg-segnaposto .cg-btn { background: #ec6a2c; border-color: #ec6a2c; }
.cg-link { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: 500 12px Montserrat, Arial, sans-serif; }
.elementor-widget-video .elementor-wrapper { position: relative; }
.cg-tabella { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 14px; }
.cg-tabella th, .cg-tabella td { border: 1px solid #dfe3e8; padding: 8px 10px; text-align: left; vertical-align: top; }
.cg-tabella th { background: #f3f5f8; color: #133c66; }
@media (max-width: 600px) {
  .cg-banner { left: 8px; right: 8px; bottom: 8px; }
  .cg-contenuto { padding: 18px 16px 14px; }
  .cg-azioni { flex-direction: column-reverse; }
  .cg-btn { width: 100%; }
  .cg-tabella { font-size: 12.5px; }
  .cg-tabella th, .cg-tabella td { padding: 6px; }
}
