.nm-btn-contact,
.discount-contact-btn {
  border: 0;
  cursor: pointer;
}

.nm-contact-modal {
  display: none;
}

.nm-contact-modal.is-open {
  display: block;
}

.nm-contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 9998;
}

.nm-contact-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(430px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.nm-contact-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: #0f172a;
}

.nm-contact-dialog h3 {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px;
}

.nm-contact-dialog p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 16px;
}

.nm-contact-phone {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 14px;
}

.nm-contact-phone span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 3px;
}

.nm-contact-phone strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.nm-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.nm-contact-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  background: #fff;
  cursor: pointer;
}

.nm-contact-item i {
  display: block;
  font-size: 23px;
  margin-bottom: 7px;
  color: #7c3aed;
}

.nm-contact-item-call i {
  color: #22c55e;
}

.nm-contact-item:hover {
  background: #f8fafc;
  color: #7c3aed;
  text-decoration: none;
}

.nm-contact-item-call:hover {
  border-color: rgba(34, 197, 94, .35);
  background: #f0fdf4;
  color: #16a34a;
}

@media (max-width: 480px) {
  .nm-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nm-contact-toast {
  position: fixed;
  left: 50%;
  bottom: 140px;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
}

.nm-contact-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nm-contact-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-right: 34px;
}

.nm-contact-seller-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nm-contact-seller strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}