.ly-consent-modal-open {
  overflow: hidden;
}

[data-lyruma-consent-root] {
  position: relative;
  z-index: 10000;
  color: #20242a;
  font: inherit;
  letter-spacing: 0;
}

.ly-consent-banner,
.ly-consent-backdrop {
  position: fixed;
  z-index: 10000;
}

.ly-consent-banner {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  border-top: 1px solid #d9dde4;
  background: #ffffff;
  box-shadow: 0 -12px 36px rgba(22, 28, 37, 0.14);
}

.ly-consent-banner[hidden],
.ly-consent-backdrop[hidden] {
  display: none !important;
}

.ly-consent-banner-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 430px);
  align-items: center;
  gap: 22px;
}

.ly-consent-copy h2,
.ly-consent-dialog h2 {
  margin: 0 0 8px;
  color: #20242a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.ly-consent-copy p,
.ly-consent-dialog p {
  margin: 0;
  color: #505967;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

.ly-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px !important;
}

.ly-consent-links a {
  color: #20242a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ly-consent-actions,
.ly-consent-dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ly-consent-actions button,
.ly-consent-dialog-actions button,
.ly-consent-close,
.ly-cookie-settings-button {
  min-height: 44px;
  border: 1px solid #697382;
  border-radius: 6px;
  background: #ffffff;
  color: #20242a;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
}

.ly-consent-actions button:hover,
.ly-consent-actions button:focus-visible,
.ly-consent-dialog-actions button:hover,
.ly-consent-dialog-actions button:focus-visible,
.ly-consent-close:hover,
.ly-consent-close:focus-visible,
.ly-cookie-settings-button:hover,
.ly-cookie-settings-button:focus-visible {
  border-color: #20242a;
  outline: 2px solid #20242a;
  outline-offset: 2px;
}

.ly-consent-backdrop {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 23, 31, 0.64);
}

.ly-consent-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.ly-consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  padding: 0;
  font-size: 26px;
  font-weight: 500;
}

.ly-consent-dialog > p {
  padding-right: 42px;
}

.ly-consent-category {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid #d9dde4;
  border-radius: 8px;
  background: #f7f8fa;
}

.ly-consent-category strong {
  display: block;
  margin-bottom: 5px;
  color: #20242a;
  font-size: 16px;
}

.ly-consent-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #505967;
  font-size: 13px;
  font-weight: 700;
}

.ly-consent-switch input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #18794e;
}

.ly-consent-dialog-actions {
  margin-top: 22px;
}

.ly-consent-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ly-cookie-settings-button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d5dae3;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}

.ly-cookie-settings-button:hover,
.ly-cookie-settings-button:focus-visible {
  border: 0;
  color: #ffffff;
  outline-color: #ffffff;
}

@media (max-width: 820px) {
  .ly-consent-banner-inner {
    grid-template-columns: 1fr;
  }

  .ly-consent-actions,
  .ly-consent-dialog-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ly-consent-banner {
    padding: 14px;
  }

  .ly-consent-copy h2,
  .ly-consent-dialog h2 {
    font-size: 20px;
  }

  .ly-consent-dialog {
    padding: 22px 16px 18px;
  }

  .ly-consent-category {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
