.esmc-dialog {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 999999;
  width: min(760px, calc(100% - 28px));
  transform: translateX(-50%);
  color: #243033;
  font-family: inherit;
}

.esmc-dialog__inner {
  padding: 22px 24px;
  border: 1px solid #d9e0e2;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(18, 28, 30, .18);
}

.esmc-dialog__eyebrow {
  margin: 0 0 5px;
  color: #6f7b7d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.esmc-dialog__title {
  margin: 0 0 9px;
  color: inherit;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
}

.esmc-dialog__text,
.esmc-dialog__more {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.esmc-dialog__more { margin-top: 8px; }
.esmc-dialog__more a { color: #963719; text-decoration: underline; text-underline-offset: 2px; }

.esmc-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 17px;
}

.esmc-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.esmc-button:focus-visible,
.esmc-dialog a:focus-visible {
  outline: 3px solid rgba(198, 84, 45, .35);
  outline-offset: 3px;
}

.esmc-button--accept {
  color: #ffffff;
  background: #963719;
}

.esmc-button--accept:hover { background: #7f2f16; }

.esmc-button--reject {
  color: #243033;
  border-color: #b8c5c8;
  background: #eef2f3;
}

.esmc-button--reject:hover { background: #dfe8e9; }

@media (max-width: 560px) {
  .esmc-dialog { bottom: 10px; width: calc(100% - 20px); }
  .esmc-dialog__inner { padding: 18px; border-radius: 16px; }
  .esmc-dialog__actions { display: grid; grid-template-columns: 1fr; }
  .esmc-button { width: 100%; }
}
