.mr-premi {
  margin: .75rem 0;
}

.mr-premi .mr-premi__button {
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.mr-premi .mr-premi__button--oro {
  background: #b0976d !important;
  border-color: #b0976d !important;
  color: #fff !important;
}

.mr-premi .mr-premi__button--oro:hover,
.mr-premi .mr-premi__button--oro:focus-visible {
  background: #9c855f !important;
  border-color: #9c855f !important;
  color: #fff !important;
}

.mr-premi .mr-premi__button--nero {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.mr-premi .mr-premi__button--nero:hover,
.mr-premi .mr-premi__button--nero:focus-visible {
  background: #333 !important;
  border-color: #333 !important;
  color: #fff !important;
}

.mr-premi .mr-premi__button--grigio {
  background: #e7e8e4 !important;
  border-color: #e7e8e4 !important;
  color: #000 !important;
}

.mr-premi .mr-premi__button--grigio:hover,
.mr-premi .mr-premi__button--grigio:focus-visible {
  background: #c7c7c3 !important;
  border-color: #c7c7c3 !important;
  color: #000 !important;
}

.mr-premi-modal[hidden] {
  display: none;
}

.mr-premi-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mr-premi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .68);
}

.mr-premi-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px 40px 32px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.mr-premi-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mr-premi-modal__title {
  margin: 0 40px 22px 0;
  color: #1a1a1a;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.mr-premi-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mr-premi-modal__item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  line-height: 1.5;
}

.mr-premi-modal__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, .12);
}

.mr-premi-modal__more {
  margin: 14px 0 0;
  opacity: .75;
}

body.mr-premi-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .mr-premi-modal {
    padding: 12px;
  }

  .mr-premi-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 32px 22px 24px;
  }
}

