.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  width: min(520px, calc(100vw - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #171a18;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  color: #f5f5f1;
}

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

.cookie-consent h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.cookie-consent p {
  margin: 0;
  color: #c8ccc8;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent p a {
  color: #d3ac6c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.cookie-consent__actions button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #d3ac6c;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__accept {
  background: #d3ac6c;
  color: #171a18;
}

.cookie-consent__necessary {
  background: transparent;
  color: #f5f5f1;
}

.cookie-settings-button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.cookie-policy-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(28px, 3vw, 42px);
}

.cookie-policy-content h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.cookie-policy-content ul {
  padding-left: 22px;
  color: #555b57;
  line-height: 1.65;
}

.cookie-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
}

.cookie-policy-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.cookie-policy-content th,
.cookie-policy-content td {
  padding: 14px 12px;
  border: 1px solid #c9ccc8;
  text-align: left;
  vertical-align: top;
}

.cookie-policy-content th {
  background: #ecece8;
  color: #292d2a;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
  }

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

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