.privacy-consent[hidden] { display: none !important; }

.privacy-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 10000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.privacy-consent__card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid rgba(111, 47, 69, .18);
  border-radius: 16px;
  color: #352d30;
  background: rgba(255, 253, 250, .98);
  box-shadow: 0 18px 55px rgba(48, 25, 34, .22);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.privacy-consent__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6f2f45;
  background: rgba(111, 47, 69, .09);
}

.privacy-consent__icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-consent__eyebrow {
  margin: 0 0 .2rem;
  color: #6f2f45;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.privacy-consent h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.12;
}

.privacy-consent__content > p:not(.privacy-consent__eyebrow) {
  margin: .38rem 0 0;
  color: #62585c;
  font-size: .83rem;
  line-height: 1.48;
}

.privacy-consent__details {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin-top: .55rem;
  color: #6b6165;
  font-size: .7rem;
}

.privacy-consent__details strong { color: #3e3438; }

.privacy-consent__actions {
  width: min(305px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  align-items: center;
}

.privacy-consent__button {
  min-height: 44px;
  padding: .68rem .78rem;
  border: 1px solid #6f2f45;
  border-radius: 8px;
  font: inherit;
  font-size: .76rem;
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.privacy-consent__button--necessary {
  color: #6f2f45;
  background: #fff;
}

.privacy-consent__button--all {
  color: #fff;
  background: #6f2f45;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(74, 30, 45, .16);
  outline: none;
}

.privacy-consent__button--necessary:hover,
.privacy-consent__button--necessary:focus-visible {
  color: #fff;
  background: #6f2f45;
}

.privacy-consent__button--all:hover,
.privacy-consent__button--all:focus-visible {
  background: #572237;
}

.privacy-consent__privacy-link {
  grid-column: 1 / -1;
  justify-self: center;
  color: #6f2f45;
  font-size: .72rem;
  font-weight: 720;
  text-underline-offset: 3px;
}

.footer-consent-link {
  display: block;
  margin: .45rem 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  cursor: pointer;
  opacity: .82;
}

.footer-consent-link:hover,
.footer-consent-link:focus-visible {
  text-decoration-color: currentColor;
  opacity: 1;
  outline: none;
}

@media (max-width: 760px) {
  .privacy-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .privacy-consent__card {
    max-height: min(88vh, 620px);
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    padding: 1rem;
    overflow-y: auto;
    border-radius: 14px;
  }

  .privacy-consent__icon {
    width: 40px;
    height: 40px;
    align-self: start;
  }

  .privacy-consent__actions {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .privacy-consent__card { grid-template-columns: 1fr; }
  .privacy-consent__icon { display: none; }
  .privacy-consent__actions { grid-template-columns: 1fr; }
  .privacy-consent__privacy-link { grid-column: 1; }
  .privacy-consent__details { display: grid; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent__button { transition: none; }
}

[data-consent-status] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
