/* Arco Antico - cookie banner, pannello preferenze, segnaposto iframe */
.cc-banner, .cc-modal, .cc-placeholder { font-family: "Open Sans", Arial, sans-serif; color: #453427; }

.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000;
  max-width: 1100px; margin: 0 auto; padding: 20px 56px 20px 24px;
  background: #fff; border-top: 4px solid #a06941; border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.cc-banner .cc-body { flex: 1 1 420px; }
.cc-banner strong { display: block; font-family: "Raleway", sans-serif; font-size: 17px; margin-bottom: 6px; }
.cc-banner p { margin: 0; font-size: 14px; line-height: 1.5; }
.cc-banner a, .cc-modal a, .cc-placeholder a { color: #a06941; text-decoration: underline; }

.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn {
  font: 600 14px/1 "Open Sans", Arial, sans-serif; cursor: pointer;
  padding: 11px 18px; border-radius: 4px; min-width: 120px;
  border: 2px solid #a06941; background: #fff; color: #a06941;
  transition: background .2s, color .2s;
}
.cc-btn:hover, .cc-btn:focus { background: #f6efe9; outline: none; }
.cc-btn-primary { background: #a06941; color: #fff; }
.cc-btn-primary:hover, .cc-btn-primary:focus { background: #453427; border-color: #453427; color: #fff; }
.cc-btn:focus-visible, .cc-x:focus-visible, .cc-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(160,105,65,.45); }

.cc-x {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px;
  border: 0; background: transparent; font-size: 28px; line-height: 1; color: #62787d; cursor: pointer;
}
.cc-x:hover { color: #453427; }

.cc-modal {
  position: fixed; inset: 0; z-index: 100001; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.cc-panel {
  position: relative; background: #fff; border-radius: 6px; width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto; padding: 28px 24px 22px; border-top: 4px solid #a06941;
}
.cc-panel h2 { font-family: "Raleway", sans-serif; font-size: 22px; margin: 0 0 16px; color: #453427; }
.cc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e9e9e9; }
.cc-row strong { font-size: 15px; }
.cc-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #62787d; }
.cc-always { font-size: 12px; font-weight: 600; color: #a06941; white-space: nowrap; padding-top: 2px; }
.cc-links { font-size: 13px; margin: 14px 0; }
.cc-panel .cc-actions { justify-content: flex-end; }

.cc-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch span[aria-hidden] { position: absolute; inset: 0; background: #ccc; border-radius: 26px; transition: background .2s; }
.cc-switch span[aria-hidden]::before {
  content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s;
}
.cc-switch input:checked + span { background: #a06941; }
.cc-switch input:checked + span::before { transform: translateX(20px); }
.cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.cc-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 220px; padding: 24px; background: #f6f7f8; border: 1px dashed #a06941;
}
.cc-placeholder p { max-width: 520px; font-size: 14px; margin-bottom: 12px; }

@media (max-width: 575px) {
  .cc-banner { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 18px 16px 16px; }
  .cc-banner .cc-body { padding-right: 32px; }
  .cc-actions .cc-btn { flex: 1 1 100%; }
}
