/* Studio Tossani V48R4 — Cookie consent piccolo, leggibile e coerente con il marchio.
   È un banner NON modale: il sito rimane interamente nitido e scorrevole. */
.st-cookie-overlay {
  inset:auto 16px 16px auto!important;
  width:min(352px,calc(100vw - 32px))!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  pointer-events:none!important;
  z-index:2147483647;
}
.st-cookie-overlay[hidden]{display:none!important}
.st-cookie-overlay .st-cookie-dialog {
  width:100%!important;
  padding:12px 14px 13px!important;
  max-height:min(69dvh,450px)!important;
  overflow:auto!important;
  scrollbar-width:thin;
  pointer-events:auto!important;
  border:1px solid rgba(118,149,176,.5)!important;
  border-left:3px solid #C8421B!important;
  border-radius:12px!important;
  background:rgba(12,28,46,.975)!important;
  box-shadow:0 6px 24px rgba(0,0,0,.25)!important;
  color:#f4f8ff!important;
  text-align:left;
  font-family:Arial,Helvetica,sans-serif;
}
.st-cookie-overlay .st-cookie-top {
  font:700 9px/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:.13em!important;
  color:#c4d3e2!important;
  min-height:20px;
}
.st-cookie-overlay #st-cookie-close {
  display:grid;place-items:center;
  width:23px!important;height:23px!important;min-height:0!important;
  border-radius:50%!important;
  border:1px solid rgba(195,216,234,.38)!important;
  background:transparent!important;
  color:#e5edf5!important;
  font:500 19px/1 Arial,Helvetica,sans-serif!important;
  padding:0!important;
  transition:background .16s ease,border-color .16s ease;
}
.st-cookie-overlay #st-cookie-close:hover {background:rgba(255,255,255,.12)!important;border-color:#e0ebf6!important}
.st-cookie-overlay .st-cookie-dialog h2 {
  font:700 16px/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.025em!important;
  color:white!important;
  margin:5px 0 5px!important;
}
.st-cookie-overlay .st-cookie-dialog p#st-cookie-desc {
  font:400 11px/1.43 Arial,Helvetica,sans-serif!important;
  color:#e0e8f1!important;
  margin:0 0 6px!important;
}
.st-cookie-overlay .st-cookie-dialog .st-cookie-note {
  margin:0!important;
  font:500 10px/1.3 Arial,Helvetica,sans-serif!important;
  color:#b9cfe2!important;
}
.st-cookie-overlay .st-cookie-note-sep {padding:0 7px;color:#7e99b1}
.st-cookie-overlay .st-cookie-note a {
  color:#d9e5ee!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(198,219,236,.65);
  text-underline-offset:2px;
}
.st-cookie-overlay .st-cookie-note a:hover {color:#fff!important;border-color:#fff}
.st-cookie-overlay .st-cookie-settings {
  display:inline!important;
  border:0!important;
  background:none!important;
  border-radius:0!important;
  min-height:0!important;height:auto!important;
  padding:0!important;
  color:#d8e4f0!important;
  font:600 10px/1.3 Arial,Helvetica,sans-serif!important;
  cursor:pointer!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(198,219,236,.65)!important;
}
.st-cookie-overlay .st-cookie-settings:hover {color:#fff!important;border-bottom-color:#fff!important}
.st-cookie-overlay .st-cookie-actions {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:11px!important;
}
.st-cookie-overlay .st-cookie-actions button,
.st-cookie-overlay .st-cookie-save {
  display:block;
  min-height:36px!important;
  height:auto!important;
  border-radius:7px!important;
  padding:8px 5px!important;
  font:700 10px/1.3 Arial,Helvetica,sans-serif!important;
  letter-spacing:.005em;
  white-space:normal;
  transition:background .17s ease,border-color .17s ease,transform .17s ease;
}
.st-cookie-overlay .st-cookie-reject {
  color:#eff5fa!important;
  border:1px solid #7e9ab4!important;
  background:rgba(15,37,57,.7)!important;
}
.st-cookie-overlay .st-cookie-reject:hover {background:rgba(46,71,93,.95)!important;border-color:#b6d2e6!important}
.st-cookie-overlay .st-cookie-accept,
.st-cookie-overlay .st-cookie-save {
  background:#C8421B!important;
  color:white!important;
  border:1px solid #C8421B!important;
  box-shadow:none!important;
}
.st-cookie-overlay .st-cookie-accept:hover,
.st-cookie-overlay .st-cookie-save:hover {background:#e05a30!important;border-color:#e05a30!important}
.st-cookie-overlay .st-cookie-actions button:active,
.st-cookie-overlay .st-cookie-save:active {transform:translateY(1px)}
.st-cookie-overlay #st-cookie-details {
  margin-top:10px!important;padding-top:4px!important;
  border-top:1px solid rgba(166,197,218,.24)!important;
}
.st-cookie-overlay .st-cookie-option {padding:8px 0!important;gap:10px!important}
.st-cookie-overlay .st-cookie-option strong {font-size:11px!important}
.st-cookie-overlay .st-cookie-option small {font-size:10px!important;line-height:1.4!important}
.st-cookie-overlay .st-cookie-option input {width:20px;height:20px;accent-color:#C8421B}
.st-cookie-overlay #st-cookie-map-help {font-size:10px!important;line-height:1.4!important;margin:7px 0!important}
.st-cookie-overlay .st-cookie-save {width:100%!important;margin-top:10px!important}
/* Anche il controllo persistente nel footer diventa un piccolo pulsante rifinito. */
.st-cookie-footer {gap:10px!important;padding:12px 12px 24px!important;align-items:center}
.st-cookie-footer button {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:8px 12px!important;
  border:1px solid rgba(128,151,169,.55)!important;
  border-radius:100px!important;
  background:transparent!important;
  font:600 11px/1.2 Arial,Helvetica,sans-serif!important;
  text-decoration:none!important;
  color:inherit;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease;
}
.st-cookie-footer button::before {
  content:'';display:inline-block;width:7px;height:7px;
  background:#C8421B;border-radius:50%;flex-shrink:0;
}
.st-cookie-footer button:hover {border-color:#C8421B!important;background:rgba(200,66,27,.07)!important}
.st-cookie-footer a {font-size:11px!important;text-underline-offset:3px}
.st-cookie-overlay .st-cookie-dialog button:focus-visible,
.st-cookie-overlay .st-cookie-dialog a:focus-visible,
.st-cookie-footer button:focus-visible {outline:2px solid #bcd8ed!important;outline-offset:3px!important}
@media(max-width:560px){
  .st-cookie-overlay {
    inset:auto 10px 10px 10px!important;
    width:min(345px,calc(100vw - 20px))!important;
    margin-left:auto!important;
  }
  .st-cookie-overlay .st-cookie-dialog {
    max-height:65dvh!important;
    border-radius:11px!important;
    padding:10px 12px 11px!important;
  }
  .st-cookie-overlay .st-cookie-dialog h2 {font-size:15px!important}
  .st-cookie-overlay .st-cookie-actions {gap:7px!important;margin-top:9px!important}
  .st-cookie-overlay .st-cookie-actions button {min-height:36px!important;font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
  .st-cookie-overlay .st-cookie-actions button,
  .st-cookie-overlay .st-cookie-save,
  .st-cookie-footer button {transition:none!important}
}
