.pacote-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.pacote-modal__box {
  background: #fff;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.pacote-modal__header {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.pacote-modal__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #FEF0E6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.pacote-modal__title {
  color: #0D3566;
  font-size: 21px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.pacote-modal__subtitle,
.pacote-modal__loading,
.pacote-modal__security {
  color: #718096;
  font-size: 13px;
  margin: 0;
}

.pacote-modal__close {
  border: 0;
  background: #F7F8FA;
  color: #718096;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
}

.pacote-modal__quantity {
  background: #F7F8FA;
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0;
  text-align: center;
}

.pacote-modal__quantity-label {
  color: #718096;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pacote-modal__quantity-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.pacote-modal__qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  background: #fff;
  color: #0D3566;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
}

.pacote-modal__qty-number {
  color: #0D3566;
  font-size: 30px;
  font-weight: 900;
  min-width: 42px;
}

.pacote-modal__total {
  color: #718096;
  font-size: 13px;
  margin-top: 10px;
}

.pacote-modal__total strong {
  color: #0D3566;
  font-size: 18px;
}

.pacote-modal__form {
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}

.pacote-modal__form h4 {
  color: #0D3566;
  font-size: 16px;
  margin: 0 0 14px;
}

.pacote-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pacote-modal__grid label {
  color: #2D3748;
  font-size: 12px;
  font-weight: 800;
}

.pacote-modal__grid input {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

.pacote-modal__mp-link,
.pacote-modal__mp-button {
  display: block;
  width: 100%;
  background: #009EE3;
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 15px 22px;
  border-radius: 14px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}

.pacote-modal__security {
  text-align: center;
  margin-top: 8px;
}

.pacote-modal__error {
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.pacote-modal__loading {
  background: #F7F8FA;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
}

.pacote-modal__cancel {
  display: block;
  margin: 12px auto 0;
  border: 0;
  background: none;
  color: #A0AEC0;
  cursor: pointer;
  font-size: 13px;
}

@media(max-width:599px) {
  .pacote-modal {
    padding: 12px;
  }

  .pacote-modal__box {
    padding: 20px;
  }

  .pacote-modal__header {
    grid-template-columns: 46px 1fr auto;
  }

  .pacote-modal__grid {
    grid-template-columns: 1fr;
  }
}
