.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(92, 67, 52, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 18px 50px rgba(52, 38, 30, 0.16);
  color: #2f2925;
  font-family: Montserrat, Arial, sans-serif;
}

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

.cookie-consent__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.cookie-consent__text a {
  color: #8a5d3b;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-consent__button {
  min-height: 40px;
  padding: 0.72rem 0.9rem;
  border: 1px solid #b9855c;
  border-radius: 4px;
  background: transparent;
  color: #7a5237;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  background: #f4e7da;
  outline: none;
}

.cookie-consent__button--primary {
  background: #b9855c;
  color: #fff;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: #9f714f;
}

@media (max-width: 720px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__button {
    flex: 1 1 120px;
  }
}
