.rh-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.rh-popup[hidden] { display: none !important; }

body.rh-popup-open { overflow: hidden; }

.rh-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 53, 0.46);
}

.rh-popup__card {
  position: relative;
  width: min(420px, 100%);
  padding: 1.75rem 1.5rem 1.4rem;
  background: #fff;
  color: #0C0935;
  border-radius: 12px;
  border-top: 3px solid #69481D;
  box-shadow: 0 18px 50px rgba(12, 9, 53, 0.22);
  font-family: Montserrat, sans-serif;
}

.rh-popup__mark {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #69481D;
}

.rh-popup__title {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
}

.rh-popup__message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.rh-popup__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.rh-popup__btn {
  min-width: 7rem;
  padding: 0.7rem 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.rh-popup__btn--ghost {
  background: transparent;
  color: #0C0935;
  border-color: rgba(12, 9, 53, 0.2);
}

.rh-popup__btn--primary {
  background: #69481D;
  color: #fff;
}

.rh-popup__btn--primary:hover { background: #0C0935; }
.rh-popup__btn--ghost:hover { border-color: #0C0935; }
