/* Quote request modal (product & supplier pages) */
.om-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.om-modal[hidden] { display: none; }
.om-modal.is-open { display: grid; }
.om-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.om-modal__box {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--om-radius-lg);
  padding: 24px;
  box-shadow: var(--om-shadow-lg);
}
.om-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.om-modal__title {
  font-size: 20px;
  font-weight: 800;
}
.om-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--om-surface);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--om-muted);
}
.om-modal__close:hover { color: var(--om-text); }
.om-quote-modal__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--om-surface);
  border-radius: 10px;
  margin-bottom: 16px;
}
.om-quote-modal__product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.om-quote-modal__product-name {
  font-weight: 600;
  font-size: 14px;
}
.om-quote-modal__product-meta {
  font-size: 12px;
  color: var(--om-muted);
  margin-top: 2px;
}
.om-quote-modal__success {
  text-align: center;
  padding: 12px 0 4px;
}
.om-quote-modal__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
}
