.cookie-consent {
  position: fixed;
  z-index: 9999;
  right: 18px;
  bottom: 18px;
  width: min(520px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid rgba(183, 146, 87, .28);
  border-radius: 18px;
  background: rgba(255, 253, 252, .98);
  box-shadow: 0 24px 70px rgba(75, 60, 54, .22);
  color: #4b3c36;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px);
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__content {
  display: grid;
  gap: 8px;
}

.cookie-consent__content strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 1.05;
}

.cookie-consent__content p {
  margin: 0;
  color: #7a6860;
  font-size: 13px;
  line-height: 1.55;
}

.cookie-consent__content a {
  color: #72535b;
  font-weight: 700;
}

.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 11px;
  border: 1px solid #d9c9bf;
  background: #fff;
  color: #4b3c36;
  font: 700 12px/1 "Inter", sans-serif;
  cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  border-color: #b79257;
  outline: none;
}

.cookie-consent__button--accept {
  border-color: #4b3c36;
  background: #4b3c36;
  color: #fff;
}

.cookie-settings-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-settings-floating {
  display: block;
  margin: 22px auto 0;
  border: 0;
  background: transparent;
  color: #72535b;
  font: 700 11px/1.3 "Inter", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent__button {
    width: 100%;
    padding-inline: 10px;
  }
}

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