.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
  color: #1f2430;
  background: #fffdf8;
  border: 1px solid rgba(50, 42, 29, 0.2);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(23, 18, 10, 0.24);
  font-family: Inter, Arial, sans-serif;
}

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

.cookie-consent h2 {
  margin: 0 0 8px;
  color: #2d2418;
  font-size: 1.25rem;
}

.cookie-consent p {
  margin: 0;
  color: #51483d;
  line-height: 1.55;
}

.cookie-consent a {
  color: #775018;
  font-weight: 700;
}

.cookie-consent__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.cookie-consent__choice {
  display: flex;
  min-height: 76px;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  background: #f7f1e7;
  border: 1px solid rgba(50, 42, 29, 0.14);
  border-radius: 12px;
  cursor: pointer;
}

.cookie-consent__choice--required {
  cursor: default;
}

.cookie-consent__choice input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #775018;
}

.cookie-consent__choice strong,
.cookie-consent__choice small {
  display: block;
}

.cookie-consent__choice small {
  margin-top: 4px;
  color: #6b6257;
  line-height: 1.35;
}

.cookie-consent__always {
  display: inline-block;
  padding: 2px 7px;
  color: #315b32;
  background: #e4f1df;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__button,
.cookie-settings-link {
  appearance: none;
  border: 1px solid #775018;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 10px 16px;
  color: #49300f;
  background: #fffdf8;
}

.cookie-consent__button--primary {
  color: #ffffff;
  background: #775018;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible,
.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  outline: 3px solid rgba(119, 80, 24, 0.25);
  outline-offset: 2px;
}

.cookie-settings-link {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 16px;
  }

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

  .cookie-consent__button {
    width: 100%;
  }
}
