/* WoonRadar cookie preferences — accessible contrast and warm brand styling */
#cookiePreferences {
  box-sizing:border-box;
  width:min(525px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  overflow:auto;
  padding:32px 30px 28px;
  border:1px solid #e4d9ca;
  border-radius:16px;
  background:#fcfaf7;
  color:#05083f;
  box-shadow:0 18px 55px rgba(5,8,63,.16);
  font-family:"DM Sans",sans-serif;
}
#cookiePreferences::backdrop {background:rgba(5,8,63,.35)}
#cookiePreferences h2 {
  margin:0 40px 14px 0;
  color:#05083f !important;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(28px,4vw,36px);
  font-weight:600;
  line-height:1.15;
}
#cookiePreferences p {
  margin:0 0 20px;
  color:#33415f !important;
  font-size:15px;
  line-height:1.65;
  opacity:1 !important;
}
#cookiePreferences button[data-cookie-close] {
  position:absolute;
  top:17px;
  right:19px;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  color:#05083f !important;
  background:transparent;
  border:0;
  border-radius:8px;
  cursor:pointer;
  font-size:26px;
  line-height:1;
}
#cookiePreferences button[data-cookie-close]:hover {background:#f0ebe2}
#cookiePreferences button[data-metrics-choice] {
  box-sizing:border-box;
  display:block;
  width:100%;
  min-height:49px;
  margin:0 0 12px;
  padding:12px 16px;
  border-radius:8px;
  border:1px solid #b7c0d0;
  color:#05083f !important;
  background:transparent;
  font:600 15px/1.4 "DM Sans",sans-serif;
  text-align:center;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
#cookiePreferences button[data-metrics-choice="yes"] {
  background:#05083f;
  color:#fff !important;
  border-color:#05083f;
}
#cookiePreferences button[data-metrics-choice="no"]:hover {background:#f0eee8;border-color:#b79b70}
#cookiePreferences button[data-metrics-choice="yes"]:hover {background:#10165c}
#cookiePreferences [data-metrics-status] {
  margin:14px 0 16px;
  color:#33415f !important;
  min-height:0;
  opacity:1 !important;
}
#cookiePreferences a[href="/privacy"] {
  color:#05083f !important;
  text-decoration:underline;
  text-decoration-color:#b79b70;
  text-underline-offset:4px;
  font-size:14px;
  font-weight:500;
  opacity:1 !important;
}
#cookiePreferences :is(button,a):focus-visible {
  outline:2px solid #b68b4a;
  outline-offset:3px;
}
@media(max-width:540px) {
  #cookiePreferences {padding:27px 20px 23px;border-radius:14px}
  #cookiePreferences p {font-size:14px}
  #cookiePreferences button[data-metrics-choice] {font-size:14px}
}
@media(prefers-reduced-motion:reduce){#cookiePreferences button {transition:none!important}}
