/* COOKIEKAART */
.cookie-card {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(460px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 28px;
  color: #19171d;
  background: #f5f2eb;
  border: 1px solid rgba(25, 23, 29, .12);
  box-shadow: 0 16px 64px rgba(0, 0, 0, .14);
  font-family: Arial, sans-serif;
}

.cookie-card[hidden] {
  display: none;
}

.cookie-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(25, 23, 29, .25);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cookie-card__dot {
  margin-left: 5px;
  color: #7044f8;
}

.cookie-card h2 {
  margin: 24px 0 14px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 7vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.cookie-card__intro {
  margin: 0 0 22px;
  color: #625c68;
  font-size: 14px;
  line-height: 1.65;
}

.cookie-card__settings {
  border-top: 1px solid rgba(25, 23, 29, .14);
  border-bottom: 1px solid rgba(25, 23, 29, .14);
}

.cookie-card__settings summary {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
}

.cookie-card__settings summary::-webkit-details-marker {
  display: none;
}

.cookie-card__settings summary span {
  color: #7044f8;
}

.cookie-card__settings[open] summary span {
  transform: rotate(45deg);
}

.cookie-card__options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}

.cookie-card__options strong,
.cookie-card__options small {
  display: block;
}

.cookie-card__options strong {
  font-size: 12px;
  font-weight: 600;
}

.cookie-card__options small {
  margin-top: 5px;
  color: #625c68;
  font-size: 11px;
  line-height: 1.5;
}

.cookie-card__options input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #7044f8;
}

.cookie-card__save {
  margin: 10px 0 18px;
  padding: 8px 0;
  color: #5127c7;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.cookie-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.cookie-card__actions button {
  min-height: 46px;
  padding: 12px 10px;
  color: #19171d;
  background: transparent;
  border: 1px solid #19171d;
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.cookie-card__actions button:hover {
  color: #fff;
  background: #19171d;
}

.cookie-card__privacy {
  display: inline-block;
  margin-top: 18px;
  color: #625c68;
  font-size: 11px;
  text-underline-offset: 3px;
}

.cookie-preferences {
  padding: 8px 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-card :focus-visible,
.cookie-preferences:focus-visible {
  outline: 2px solid #7044f8;
  outline-offset: 4px;
}

@media (max-width: 47.999rem) {
  .cookie-card {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 48px - env(safe-area-inset-bottom));
    padding: 22px;
  }
}