/* Consenso ai cookie — Vera per The Produser, 12/10/2026. Stile del sito: nero, filo sottile, D-DIN, giallo #FFC64C.
   Accetta, Rifiuta e Preferenze hanno lo stesso identico stile (Garante: stessa evidenza). */
.tp-ck, .tp-ck-box { font-family: "D-din font", "D-DIN", Sans-serif; color: rgba(255,255,255,.78); box-sizing: border-box; }
.tp-ck *, .tp-ck-box *, .tp-ck-mappa * { box-sizing: border-box; }

.tp-ck { position: fixed; left: 24px; bottom: 24px; z-index: 100000; width: min(520px, calc(100vw - 48px));
  background: #050505; border: 1px solid rgba(255,255,255,.18); padding: 26px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55); animation: tp-ck-in .45s cubic-bezier(.2,.7,.2,1); }
.tp-ck::before { content: ""; position: absolute; left: 28px; top: -1px; width: 56px; height: 2px; background: #FFC64C; }
@keyframes tp-ck-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tp-ck { animation: none; } }

.tp-ck-t { margin: 0 34px 10px 0 !important; color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; }
.tp-ck-p { margin: 0 0 18px !important; font-family: inherit; font-size: 14px; line-height: 1.6; letter-spacing: .01em; }
.tp-ck-p a, .tp-ck-mappa a { color: #FFC64C; text-decoration: underline; text-underline-offset: 3px; }

.tp-ck-azioni { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-ck-btn { flex: 1 1 0; min-width: 120px; margin: 0; cursor: pointer; background: transparent !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.5) !important; border-radius: 0 !important; padding: 12px 18px !important;
  font: 12px/1.2 "D-din font", "D-DIN", Sans-serif !important; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tp-ck-btn:hover, .tp-ck-btn:focus-visible { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.tp-ck-btn:focus-visible, .tp-ck-x:focus-visible, .tp-ck-footer:focus-visible, .tp-ck-sw:focus-visible { outline: 2px solid #FFC64C; outline-offset: 3px; }

.tp-ck-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0 !important; margin: 0; cursor: pointer;
  background: transparent !important; border: 0 !important; color: rgba(255,255,255,.7) !important; font-size: 26px !important; line-height: 36px !important; }
.tp-ck-x:hover { color: #FFC64C !important; }

/* pannello Preferenze */
.tp-ck-velo { position: fixed; inset: 0; z-index: 100001; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.tp-ck-box { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #050505;
  border: 1px solid rgba(255,255,255,.18); padding: 30px 32px 28px; }
.tp-ck-box::before { content: ""; position: absolute; left: 32px; top: -1px; width: 56px; height: 2px; background: #FFC64C; }
.tp-ck-voce { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 6px; }
.tp-ck-voce-testa { display: flex; align-items: center; gap: 12px; }
.tp-ck-voce-testa label { flex: 1; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.tp-ck-voce p { margin: 6px 56px 8px 0 !important; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.65); }
.tp-ck-sempre { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #FFC64C; }
.tp-ck-box .tp-ck-p { margin: 14px 0 18px !important; }

/* interruttore */
.tp-ck-sw { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 44px; height: 24px; margin: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); position: relative; transition: background-color .25s ease; }
.tp-ck-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s ease; }
.tp-ck-sw:checked { background: #FFC64C; border-color: #FFC64C; }
.tp-ck-sw:checked::after { transform: translateX(20px); background: #000; }
.tp-ck-sw:disabled { opacity: .55; cursor: default; }

/* link nel footer */
.tp-ck-footer { background: none !important; border: 0 !important; padding: 0 !important; margin: 0; cursor: pointer; color: inherit !important;
  font: inherit !important; letter-spacing: inherit; text-transform: inherit; text-decoration: none; }
.tp-ck-footer:hover { color: #FFC64C !important; }
.tp-ck-footer--solo { display: block; margin: 12px auto 18px; font-size: 12px !important; color: rgba(255,255,255,.55) !important; }

/* segnaposto della mappa di Google */
.tp-ck-mappa-box { position: relative; }
.tp-ck-mappa { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px;
  background: #0b0b0b; border: 1px solid rgba(255,255,255,.12); font-family: "D-din font", "D-DIN", Sans-serif; color: rgba(255,255,255,.75); text-align: center; }
.tp-ck-mappa p { margin: 0 !important; font-size: 14px; line-height: 1.6; }
.tp-ck-mappa .tp-ck-azioni { justify-content: center; }
.tp-ck-mappa .tp-ck-btn { flex: 0 1 auto; }

@media (max-width: 600px) {
  .tp-ck { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px 18px; }
  .tp-ck::before { left: 20px; }
  .tp-ck-p { font-size: 13.5px; margin-bottom: 14px !important; }
  .tp-ck-azioni { gap: 8px; }
  .tp-ck-btn { min-width: 0; padding: 12px 10px !important; letter-spacing: .1em; }
  .tp-ck-box { padding: 26px 20px 20px; }
  .tp-ck-voce p { margin-right: 0 !important; }
  .tp-ck-box .tp-ck-azioni .tp-ck-btn { flex: 1 1 100%; }
}
