[hidden] { display: none !important; }
.cookie-settings-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  text-align: left;
}
.js .cookie-settings-link { display: inline-flex; align-items: center; }
.cookie-settings-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.cookie-feedback { margin: 12px 0 0; color: #f9e1f2; font-size: 13px; }
.cookie-feedback:empty { display: none; }
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 28px;
  border: 2px solid #f478c3;
  border-radius: 22px;
  background: #36083d;
  color: #fffdfb;
  box-shadow: 0 10px 45px #17001cb3;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.cookie-banner-copy { flex: 1 1 500px; min-width: 0; }
.cookie-banner h2 { margin-bottom: 10px; font-family: 'Fredoka', sans-serif; font-size: 27px; font-weight: 600; }
.cookie-banner p { margin: 0; font-size: 15px; line-height: 1.5; }
.cookie-banner a { color: #fef79f; font-weight: 800; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex: 0 1 455px; flex-wrap: wrap; gap: 10px; }
.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 135px;
  min-height: 48px;
  padding: 11px 14px;
  border: 2px solid #badfb0;
  border-radius: 12px;
  background: #e6ffdc;
  color: #310d3b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.cookie-button:hover { background: #f7ffb4; border-color: #f8e88d; }
.cookie-banner p.cookie-save-error { margin-top: 12px; color: #ffe99a; font-weight: 800; }
.cookie-dialog {
  width: min(650px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px;
  border: 3px solid #ec66b3;
  border-radius: 23px;
  background: #efffe9;
  color: #310d3b;
  box-shadow: 0 20px 65px #17001ca6;
  font-size: 16px;
  line-height: 1.5;
}
.cookie-dialog::backdrop { background: #1c002bcc; }
.cookie-dialog-heading { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.cookie-dialog h2 { margin-bottom: 17px; font-family: 'Fredoka', sans-serif; font-size: 34px; font-weight: 600; color: #771549; }
.cookie-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #d5a7c9;
  border-radius: 11px;
  background: #fff;
}
.cookie-close:hover { background: #ffe1f3; }
.cookie-category { padding: 19px 0; border-top: 1px solid #d3afc9; }
.cookie-category-heading { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.cookie-category label { display: flex; align-items: flex-start; gap: 12px; font-weight: 900; font-size: 17px; cursor: pointer; }
.cookie-category input { flex: 0 0 23px; width: 23px; height: 23px; margin: 1px 0 0; accent-color: #9b1559; }
.cookie-category input:disabled { cursor: default; }
.cookie-category-state { padding-top: 3px; font-size: 12px; font-weight: 800; color: #705a6a; white-space: nowrap; }
.cookie-category p { margin: 10px 0 0 35px; font-size: 14px; }
.cookie-detail-link { font-size: 14px; font-weight: 800; margin: 2px 0 21px; }
.cookie-detail-link a { text-underline-offset: 3px; }
.cookie-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-dialog-actions .cookie-button { background: #fff; border-color: #b76599; }
.cookie-dialog-actions .cookie-button:hover { background: #ffe4f3; }
.cookie-dialog-actions .cookie-button-save { background: #ddf8be; border-color: #718e62; }
.cookie-dialog :focus-visible { outline: 3px solid #761447; outline-offset: 4px; box-shadow: 0 0 0 7px #fff; }
.cookie-settings-open { overflow: hidden; }
.cookie-fallback-backdrop { position: fixed; inset: 0; z-index: 89; background: #1c002bcc; }
.cookie-dialog.is-fallback-open { position: fixed; z-index: 90; inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); }
.gallery-resume { margin-top: 22px; max-width: 100%; gap: 6px; flex-wrap: wrap; font-size: 15px; }
.cookie-policy-actions { display: flex; margin: 20px 0; }
.js .cookie-policy-actions { display: flex; }
.cookie-policy-actions .cookie-button { flex: 0 1 auto; }
.cookie-settings-page { max-width: 760px; }
.cookie-settings-fields { border: 0; padding: 0; margin: 24px 0 0; }
.cookie-settings-fields legend { font-family: 'Fredoka', sans-serif; font-size: 25px; font-weight: 600; margin-bottom: 17px; }
.cookie-current-choice { font-weight: 800; }
.cookie-page-policy { margin-top: 25px; }
@media (max-width: 1000px) {
  .cookie-banner { align-items: stretch; flex-direction: column; gap: 18px; }
  .cookie-banner-copy, .cookie-actions { flex-basis: auto; }
}
@media (max-width: 620px) {
  .cookie-banner { inset: auto 10px 10px; padding: 19px 18px; border-radius: 18px; gap: 16px; max-height: calc(100dvh - 20px); }
  .cookie-banner h2 { font-size: 24px; }
  .cookie-banner p { font-size: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .cookie-actions [data-cookie-settings] { grid-column: 1 / -1; }
  .cookie-button { font-size: 13px; padding: 10px; }
  .cookie-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 22px 18px; border-radius: 18px; font-size: 15px; }
  .cookie-dialog h2 { font-size: 29px; }
  .cookie-category label { font-size: 16px; }
  .cookie-category-heading { flex-wrap: wrap; gap: 7px; }
  .cookie-category-state { padding-left: 35px; }
  .cookie-category p { font-size: 13px; }
  .cookie-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-dialog-actions .cookie-button-save { grid-column: 1 / -1; }
  .gallery-resume { font-size: 14px; padding: 12px 15px; }
}
