.cookie-manage-trigger {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99990;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 16, 16, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font: 13px/1.2 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 99991;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(14, 14, 14, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.cookie-banner__copy h3,
.cookie-panel__header h3 {
  margin: 0 0 8px;
  color: #fff;
}

.cookie-banner__copy p,
.cookie-panel__header p,
.cookie-option__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__links,
.cookie-panel__links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-banner__links a,
.cookie-panel__links a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions,
.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  min-width: 160px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 18px;
}

.cookie-btn span {
  color: inherit;
}

.cookie-btn--ghost {
  background: transparent;
  color: #fff;
}

.cookie-btn--primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 99992;
}

.cookie-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.cookie-panel__dialog {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 24px;
  background: #101010;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-panel.is-visible .cookie-panel__backdrop {
  opacity: 1;
}

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

.cookie-panel__header,
.cookie-panel__footer {
  padding: 22px 24px;
}

.cookie-panel__header {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-panel__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.cookie-panel__body {
  padding: 18px 24px;
  display: grid;
  gap: 14px;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-option__title,
.cookie-option__copy h4 {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-weight: 600;
}

.cookie-option__status {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.cookie-toggle__ui {
  position: relative;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease;
}

.cookie-toggle__ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__ui {
  background: #d3a265;
}

.cookie-toggle input:checked + .cookie-toggle__ui::after {
  transform: translateX(22px);
}

.cookie-panel__footer {
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.art-map-consent {
  position: relative;
  min-height: 450px;
}

.art-map-consent__canvas {
  min-height: 450px;
}

.art-map-consent__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.82), rgba(34, 34, 34, 0.70));
}

.art-map-consent__card {
  max-width: 560px;
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(18, 18, 18, 0.90);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.art-map-consent__card h3 {
  margin: 0 0 10px;
  color: #fff;
}

.art-map-consent__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.art-map-consent__actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links li + li {
  margin-top: 8px;
}

.footer-legal-links a,
.footer-legal-button {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
}

.footer-legal-button:hover,
.footer-legal-links a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions,
  .cookie-panel__actions {
    justify-content: stretch;
  }

  .cookie-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .cookie-manage-trigger {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 66px;
  }

  .cookie-banner__inner,
  .cookie-panel__header,
  .cookie-panel__body,
  .cookie-panel__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cookie-panel__dialog {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

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