.cookie-consent {
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 1000;
  width: min(460px, calc(100vw - 40px));
  color: #0A0A0A;
  font-family: 'Inter', sans-serif;
}

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

.cookie-consent__panel {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(10,10,10,0.26);
  overflow: hidden;
}

.cookie-consent__content {
  padding: 22px;
}

.cookie-consent__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.cookie-consent__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #0A0A0A;
}

.cookie-consent__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(10,10,10,0.62);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.cookie-consent__text {
  color: #2E2E2E;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.cookie-consent__text a {
  color: #E87722;
  font-weight: 700;
  text-decoration: none;
}

.cookie-consent__details {
  border-top: 1px solid rgba(10,10,10,0.1);
  margin-top: 16px;
  padding-top: 16px;
}

.cookie-consent__option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.cookie-consent__option input {
  accent-color: #E87722;
  margin-top: 3px;
}

.cookie-consent__option strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.cookie-consent__option span {
  display: block;
  color: #6B6B6B;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 3px;
}

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

.cookie-consent__button {
  appearance: none;
  border: 1px solid rgba(10,10,10,0.16);
  border-radius: 6px;
  background: #FFFFFF;
  color: #0A0A0A;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-height: 42px;
  padding: 11px 14px;
  text-transform: uppercase;
}

.cookie-consent__button:hover {
  border-color: #E87722;
  color: #E87722;
}

.cookie-consent__button--primary {
  background: #E87722;
  border-color: #E87722;
  color: #FFFFFF;
}

.cookie-consent__button--primary:hover {
  background: #F59640;
  border-color: #F59640;
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .cookie-consent {
    inset: auto 12px 12px 12px;
    width: auto;
  }

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

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