.cookie-consent {
  position: fixed;
  z-index: 1040;
  inset-inline: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
  padding: 20px 24px;
  color: #3d2c2c;
  background: #fff;
  border: 1px solid #ede5e0;
  border-left: 4px solid #c97878;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(36, 24, 24, .18);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  min-width: 0;
}

.cookie-consent-copy h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.cookie-consent-copy p {
  margin: 0;
  color: #665b58;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-consent-copy a {
  color: #9b5050;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-consent-button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #c97878;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent-button--secondary {
  color: #3d2c2c;
  background: #fff;
  border-color: #cfc3be;
}

.cookie-consent-button--primary {
  color: #fff;
  background: #a95757;
}

.cookie-consent-button:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid #357a61;
  outline-offset: 2px;
}

.cookie-settings-link {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cookie-settings-link:hover {
  color: #c97878;
}

@media (max-width: 700px) {
  .cookie-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .cookie-consent-actions {
    flex-direction: column-reverse;
  }

  .cookie-consent-button {
    width: 100%;
  }
}