.cookie-consent {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1000;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.35rem;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(27, 46, 32, .14);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
  font-family: 'DM Sans', system-ui, sans-serif;
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__title {
  margin: 0 0 .45rem;
  color: #1b2e20;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
}

.cookie-consent__text {
  margin: 0;
  color: #4c4c4c;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.6;
}

.cookie-consent__actions {
  display: flex;
  gap: .7rem;
  margin-top: 1rem;
}

.cookie-consent__button {
  flex: 1 1 0;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid #1b2e20;
  border-radius: 7px;
  font: 500 .78rem/1.2 'DM Sans', system-ui, sans-serif;
  letter-spacing: .035em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

.cookie-consent__button--reject {
  color: #1b2e20;
  background: #fff;
}

.cookie-consent__button--accept {
  color: #fff;
  background: #1b2e20;
}

.cookie-settings {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 900;
  display: none;
  min-height: 36px;
  padding: .5rem .8rem;
  color: #1b2e20;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(27, 46, 32, .22);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
  font: 500 .72rem/1 'DM Sans', system-ui, sans-serif;
}

.cookie-settings.is-visible {
  display: block;
}

@media (max-width: 600px) {
  .cookie-consent {
    right: .75rem;
    bottom: .75rem;
    left: .75rem;
    padding: 1.1rem;
    border-radius: 12px;
  }

  .cookie-consent__title {
    font-size: 1.35rem;
  }

  .cookie-consent__text {
    font-size: .82rem;
    line-height: 1.55;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .cookie-settings {
    bottom: .75rem;
    left: .75rem;
  }
}
