.footer-cookie-button {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: #d8ab55;
}

.privacy-note {
  position: fixed;
  z-index: 9000;
  left: 50%;
  bottom: 22px;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(217, 172, 88, .34);
  border-radius: 24px;
  color: #fff8ef;
  background: rgba(64, 6, 27, .94);
  box-shadow: 0 24px 70px rgba(31, 2, 14, .34);
  backdrop-filter: blur(20px) saturate(130%);
}

.privacy-note[hidden] { display: none; }
.privacy-note strong { display: block; margin-bottom: 5px; font-family: "Playfair Display", serif; font-size: 1.1rem; }
.privacy-note p { margin: 0; max-width: 470px; color: rgba(255, 248, 239, .76); font-size: .9rem; line-height: 1.5; }
.privacy-note-actions,
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.privacy-note button,
.cookie-dialog button {
  min-height: 42px;
  border: 1px solid rgba(217, 172, 88, .48);
  border-radius: 999px;
  padding: 9px 17px;
  color: #fff8ef;
  background: transparent;
  font: 600 .86rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}
.privacy-note .privacy-primary,
.cookie-dialog .privacy-primary { border-color: #d8ab55; color: #42071d; background: #d8ab55; }

.cookie-dialog {
  width: min(680px, calc(100% - 30px));
  max-height: min(780px, calc(100dvh - 30px));
  overflow: auto;
  border: 1px solid rgba(217, 172, 88, .36);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 48px);
  color: #25171a;
  background: #fffaf4;
  box-shadow: 0 36px 100px rgba(28, 3, 12, .38);
}
.cookie-dialog::backdrop { background: rgba(24, 3, 12, .68); backdrop-filter: blur(7px); }
.cookie-dialog h2 { margin: 0 0 14px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 6vw, 3.5rem); line-height: .98; }
.cookie-dialog > p:not(.eyebrow) { color: #6e5d5f; line-height: 1.65; }
.cookie-close { position: absolute; top: 18px; right: 18px; width: 42px; padding: 0 !important; border-color: rgba(78, 11, 34, .18) !important; color: #4f0c24 !important; font-size: 1.5rem !important; }
.consent-option { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 16px; padding: 20px; border: 1px solid rgba(78, 11, 34, .12); border-radius: 20px; background: #fff; }
.consent-option[hidden] { display: none; }
.consent-option strong { display: block; margin-bottom: 5px; }
.consent-option small { display: block; max-width: 470px; color: #746467; line-height: 1.5; }
.consent-switch { display: grid; grid-template-columns: auto; justify-items: center; gap: 5px; cursor: pointer; }
.consent-switch input { position: absolute; opacity: 0; pointer-events: none; }
.consent-switch span { position: relative; width: 48px; height: 27px; border-radius: 999px; background: #cfc5c6; transition: .2s ease; }
.consent-switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); transition: .2s ease; }
.consent-switch input:checked + span { background: #71102f; }
.consent-switch input:checked + span::after { transform: translateX(21px); }
.consent-switch input:focus-visible + span { outline: 3px solid rgba(113, 16, 47, .25); outline-offset: 3px; }
.consent-switch b { color: #756567; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.consent-detail { margin: 18px 0; font-size: .84rem; }
.consent-detail a { color: #6f0e2e; text-decoration: underline; }
.cookie-dialog .consent-actions { flex-wrap: wrap; }
.cookie-dialog .consent-actions button { color: #4f0c24; border-color: rgba(78, 11, 34, .24); }
.cookie-dialog .consent-actions .privacy-primary { color: #fff8ef; background: #6b0d2c; border-color: #6b0d2c; }

@media (max-width: 680px) {
  .privacy-note { align-items: stretch; flex-direction: column; gap: 15px; bottom: 12px; padding: 18px; border-radius: 20px; }
  .privacy-note-actions { width: 100%; }
  .privacy-note-actions button { flex: 1; }
  .cookie-dialog { padding: 34px 20px 24px; border-radius: 22px; }
  .consent-option { grid-template-columns: 1fr; }
  .consent-switch { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .consent-actions { flex-direction: column; }
  .consent-actions button { width: 100%; }
}
