.dy-consent-banner,
.dy-consent-modal,
.dy-consent-dialog,
.dy-consent-banner * ,
.dy-consent-modal * {
  box-sizing: border-box;
}

.dy-consent-banner {
  position: fixed;
  z-index: 99990;
  right: 18px;
  left: 18px;
  bottom: 18px;
  max-width: 980px;
  margin-inline: auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 2px solid #111;
  border-radius: 18px;
  background: #fff;
  color: #111;
  box-shadow: 7px 7px 0 #24f4ee, 12px 12px 0 rgba(254,44,85,.28);
  direction: rtl;
  font-family: Heebo, Arial, sans-serif;
}

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

.dy-consent-copy {
  flex: 1 1 auto;
}

.dy-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.dy-consent-copy p {
  margin: 0 0 7px;
  max-width: 650px;
  line-height: 1.55;
  font-size: 14px;
}

.dy-consent-copy a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 3px;
}

.dy-consent-actions,
.dy-consent-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dy-consent-primary,
.dy-consent-secondary,
.dy-consent-link,
.dy-consent-close {
  font: inherit;
  cursor: pointer;
}

.dy-consent-primary,
.dy-consent-secondary {
  min-height: 42px;
  padding: 9px 14px;
  border: 2px solid #111;
  border-radius: 10px;
  font-weight: 800;
}

.dy-consent-primary {
  background: #111;
  color: #fff;
}

.dy-consent-secondary {
  background: #fff;
  color: #111;
}

.dy-consent-link {
  border: 0;
  background: transparent;
  color: #111;
  padding: 8px 5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dy-consent-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17,17,17,.48);
  direction: rtl;
  font-family: Heebo, Arial, sans-serif;
}

.dy-consent-dialog {
  position: relative;
  width: min(100%, 680px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px;
  border: 2px solid #111;
  border-radius: 20px;
  background: #fff;
  color: #111;
  box-shadow: 8px 8px 0 #24f4ee;
}

.dy-consent-dialog h2 {
  margin: 0 0 7px;
  font-size: clamp(25px, 4vw, 34px);
}

.dy-consent-intro {
  margin: 0 0 20px;
  line-height: 1.6;
}

.dy-consent-close {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.dy-consent-row {
  margin-top: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
}

.dy-consent-row strong {
  font-size: 17px;
}

.dy-consent-row p {
  margin: 4px 0 0;
  color: #646b75;
  line-height: 1.5;
  font-size: 14px;
}

.dy-consent-row input {
  width: 22px;
  height: 22px;
  accent-color: #111;
}

.dy-consent-row.is-locked {
  background: #f7f8fa;
}

.dy-consent-always {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.dy-consent-modal-actions {
  margin-top: 20px;
}

@media (max-width: 720px) {
  .dy-consent-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 15px;
    display: block;
  }

  .dy-consent-actions {
    margin-top: 12px;
  }

  .dy-consent-primary,
  .dy-consent-secondary {
    flex: 1 1 140px;
  }

  .dy-consent-dialog {
    padding: 24px 18px 20px;
  }

  .dy-consent-row {
    grid-template-columns: 1fr auto;
    padding: 14px;
  }
}
