/* Cookie choices banner (public/js/consent.js). Premium skin: SV Serif (Crimson)
   for the heading, SV Sans (Inter) for the rest, ivory paper, ink buttons. The
   faces are declared here too because the holding pages do not load
   souvenna-type.css. Accept and Reject share one class so neither is louder. */
@font-face { font-family: 'SV Serif'; src: url('/fonts/crimson-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SV Sans'; src: url('/fonts/inter-400.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'SV Sans'; src: url('/fonts/inter-700.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }

.svc {
  position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px;
  max-width: 680px; margin: 0 auto; box-sizing: border-box;
  background: var(--sv-handover-card-surface); color: #221814; border: 1px solid #E7DDD1; border-radius: 14px;
  box-shadow: 0 18px 48px rgba(34, 24, 20, .14);
  font: 400 15px/1.55 var(--sv-sans, 'SV Sans', system-ui, -apple-system, 'Segoe UI', sans-serif);
  animation: svc-in .42s cubic-bezier(.2, .7, .2, 1) both;
}
.svc *, .svc *::before, .svc *::after { box-sizing: border-box; }
.svc .svc__in { padding: 22px 24px 20px; }
.svc .svc__title { margin: 0 0 6px; font: 400 22px/1.2 var(--sv-serif, var(--sv-serif)); letter-spacing: -.005em; color: #221814; }
.svc .svc__text { margin: 0; color: #4A3C34; }
.svc .svc__more { color: #221814; text-decoration: underline; text-underline-offset: 3px; }
.svc .svc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.svc .svc__btn {
  flex: 0 0 auto; min-width: 128px; min-height: 44px; padding: 0 22px;
  font: 600 15px/1 var(--sv-sans, 'SV Sans', system-ui, sans-serif); letter-spacing: .01em;
  color: var(--sv-handover-card-surface); background: #221814; border: 1px solid #221814; border-radius: 999px; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.svc .svc__btn:hover { background: #4A3C34; }
.svc .svc__btn:active { transform: translateY(1px); }
.svc .svc__link, .svc .svc__save, .svc-settings {
  font: 500 15px/1 var(--sv-sans, 'SV Sans', system-ui, sans-serif); color: #221814; background: none; border: 0;
  padding: 12px 6px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.svc .svc__btn:focus-visible, .svc .svc__link:focus-visible, .svc .svc__save:focus-visible, .svc-settings:focus-visible, .svc .svc__more:focus-visible,
.svc .svc-switch__input:focus-visible + .svc-switch__track { outline: 2px solid #221814; outline-offset: 3px; }
.svc .svc__choose { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E7DDD1; display: grid; gap: 12px; }
.svc .svc__choose[hidden] { display: none; }
.svc .svc__save { justify-self: start; padding-left: 0; }
.svc .svc-switch { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.svc .svc-switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc .svc-switch__track { position: relative; width: 42px; height: 24px; margin-top: 2px; border-radius: 999px; background: #D6C8B9; transition: background-color .2s ease; }
.svc .svc-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sv-handover-card-surface); box-shadow: 0 1px 3px rgba(34, 24, 20, .25); transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.svc .svc-switch__input:checked + .svc-switch__track { background: #221814; }
.svc .svc-switch__input:checked + .svc-switch__track::after { transform: translateX(18px); }
.svc .svc-switch__words { display: grid; gap: 2px; color: #4A3C34; }
.svc .svc-switch__words strong { color: #221814; font-weight: 600; }
.svc-settings-row { margin: 8px 0 0; }
.svc-settings { padding: 0; font-size: inherit; color: inherit; }

@media (max-width: 520px) {
  .svc { left: 12px; right: 12px; bottom: 12px; }
  .svc .svc__in { padding: 18px 18px 16px; }
  .svc .svc__btn { flex: 1 1 0; min-width: 0; }
  .svc .svc__link { flex: 1 0 100%; text-align: center; }
}
@keyframes svc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svc { animation: none; } .svc .svc__btn, .svc .svc-switch__track, .svc .svc-switch__track::after { transition: none; } }
