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

.fufka-consent {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.fufka-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.68);
  backdrop-filter: blur(3px);
}

.fufka-consent__panel {
  position: absolute;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 42px);
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(26px, 4vw, 42px);
  overflow-y: auto;
  border: 1px solid rgba(143, 117, 81, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(198, 161, 91, 0.16), transparent 19rem),
    #f7f1e5;
  color: #1b1815;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  animation: fufka-consent-enter 0.3s ease-out both;
}

.fufka-consent__panel:focus {
  outline: none;
}

.fufka-consent__eyebrow {
  margin: 0 0 10px;
  color: #806431;
  font: 800 10px/1.2 var(--fufka-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fufka-consent__title {
  max-width: 500px;
  margin: 0;
  font: 400 clamp(34px, 5vw, 50px)/0.98 var(--fufka-serif);
  letter-spacing: -0.035em;
}

.fufka-consent__text {
  margin: 18px 0 22px;
  color: #554b40;
  line-height: 1.6;
}

.fufka-consent__category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 18, 0.1);
  border-left: 4px solid var(--fufka-gold);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.fufka-consent__category strong {
  font-size: 15px;
}

.fufka-consent__category p {
  margin: 5px 0 0;
  color: #675d51;
  font-size: 14px;
  line-height: 1.45;
}

.fufka-consent__status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #1a1713;
  color: #f7f1e5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fufka-consent__storage {
  margin: 16px 0 0;
  color: #746a5e;
  font-size: 13px;
  line-height: 1.5;
}

.fufka-consent__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.fufka-consent__privacy-link {
  color: #493b2b;
  font-size: 13px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.fufka-consent__button {
  min-height: 50px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #1a1713;
  color: #fff7e6;
  font: 800 11px/1 var(--fufka-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.fufka-consent__privacy-link:focus-visible,
.fufka-consent__button:focus-visible {
  outline: 3px solid rgba(157, 119, 42, 0.45);
  outline-offset: 3px;
}

.fufka-consent__button:hover,
.fufka-consent__button:focus-visible {
  background: #9d772a;
}

.fufka-consent-open {
  overflow: hidden;
}

@keyframes fufka-consent-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .fufka-consent__panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: calc(100dvh - 24px);
    padding: 24px 20px;
    border-radius: 20px;
  }

  .fufka-consent__category,
  .fufka-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fufka-consent__status {
    align-self: flex-start;
  }

  .fufka-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fufka-consent__panel {
    animation: none;
  }
}
