.fp-cookie-banner {
  position: fixed;
  z-index: 100000;
  inset: auto 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 20px 24px;
  color: #f7f5f1;
  background: #24231f;
  border: 1px solid rgba(197, 173, 133, .52);
  box-shadow: 0 14px 48px rgba(17, 16, 14, .28);
  font-family: Manrope, Arial, sans-serif;
}
.fp-cookie-banner__copy { max-width: 690px; }
.fp-cookie-banner h2,
.fp-cookie-settings-panel h2,
.fp-cookie-category h3 {
  margin: 0;
  color: inherit;
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.fp-cookie-banner p,
.fp-cookie-settings-panel p {
  margin: 7px 0 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.6;
}
.fp-cookie-banner__actions,
.fp-cookie-banner__actions form,
.fp-cookie-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-cookie-button,
.fp-cookie-settings-link,
.fp-cookie-settings-panel__close {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid #c5ad85;
  border-radius: 0;
  color: #f7f5f1;
  background: transparent;
  font: 600 12px/1.25 Manrope, Arial, sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  cursor: pointer;
}
.fp-cookie-button:hover,
.fp-cookie-button:focus-visible {
  color: #24231f;
  background: #c5ad85;
}
.fp-cookie-settings-link {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fp-cookie-settings-link:hover,
.fp-cookie-settings-link:focus-visible { color: #e5d2af; }
.fp-cookie-button:focus-visible,
.fp-cookie-settings-link:focus-visible,
.fp-cookie-settings-panel__close:focus-visible,
.fp-cookie-toggle input:focus-visible + span,
.ref-footer__legal .fp-cookie-footer-trigger:focus-visible {
  outline: 3px solid #e3c891;
  outline-offset: 3px;
}

.fp-cookie-settings-panel {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 26px;
  color: #292823;
  background: #fbfaf7;
  border: 1px solid #c5ad85;
  box-shadow: 0 14px 48px rgba(17, 16, 14, .2);
  font-family: Manrope, Arial, sans-serif;
  scroll-margin-top: 24px;
}
.fp-cookie-settings-panel button:focus-visible,
.fp-cookie-settings-panel a:focus-visible {
  outline-color: #292823;
}
.fp-cookie-settings-panel .fp-cookie-toggle input:focus-visible + span {
  outline: 3px solid #292823;
  outline-offset: 3px;
}
.fp-cookie-settings-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fp-cookie-settings-panel h2 { font-size: 19px; }
.fp-cookie-settings-panel p { color: #5a5852; }
.fp-cookie-settings-panel__close {
  color: #292823;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fp-cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid #ddd8ce;
}
.fp-cookie-category h3 { color: #292823; font-size: 14px; }
.fp-cookie-category h3 span {
  margin-left: 7px;
  color: #68645b;
  font-size: 11px;
  font-weight: 500;
}
.fp-cookie-category p { font-size: 12px; }
.fp-cookie-category--choice { flex-wrap: nowrap; }
.fp-cookie-category--choice > div { flex: 1 1 auto; min-width: 0; }
.fp-cookie-category--choice > .fp-cookie-toggle { margin-left: auto; }
.fp-cookie-toggle { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; }
.fp-cookie-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fp-cookie-toggle span {
  position: relative;
  display: block;
  width: 46px;
  height: 26px;
  border: 1px solid #77736b;
  border-radius: 20px;
  background: #e8e5df;
  cursor: pointer;
}
.fp-cookie-toggle span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #68645b;
  content: '';
  transition: transform .18s ease, background .18s ease;
}
.fp-cookie-toggle input:checked + span { background: #e6dcc8; }
.fp-cookie-toggle input:checked + span::after { transform: translateX(20px); background: #6b573a; }
.fp-cookie-dialog__actions { flex: 1 0 100%; margin-top: 8px; }
.fp-cookie-settings-panel .fp-cookie-button { color: #292823; }
.fp-cookie-settings-panel .fp-cookie-button:hover,
.fp-cookie-settings-panel .fp-cookie-button:focus-visible { color: #24231f; background: #e8dcc5; }

.ref-footer__legal .fp-cookie-footer-trigger {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .fp-cookie-banner {
    inset: auto 10px 10px;
    display: block;
    padding: 17px;
  }
  .fp-cookie-banner__actions { justify-content: flex-start; margin-top: 15px; }
  .fp-cookie-button,
  .fp-cookie-settings-link { min-height: 44px; }
  .fp-cookie-settings-panel { padding: 21px 18px; }
  .fp-cookie-dialog__actions { justify-content: stretch; }
  .fp-cookie-dialog__actions .fp-cookie-button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-cookie-toggle span::after { transition: none; }
}
