/* ===============================
  Common css
================================ */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* ===============================
   Quote button
================================ */
.request-quote-btn {
  width: 100% !important;
  background-color: var(--fs-color-secondary) !important;
  color: #fff;
}

.qrs-popup .popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  pointer-events: auto;
  z-index: 10000;
}
/* ===============================
   ROOT POPUP
================================ */
.qrs-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   OVERLAY
================================ */
.qrs-popup .quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* ===============================
   POPUP BOX (PURE WHITE)
================================ */
.qrs-popup .quote-content {
  position: relative;
  width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  z-index: 2;

  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.qrs-popup.active .quote-content {
  transform: translateY(0);
  opacity: 1;
}

/* ===============================
   TITLE
================================ */
.qrs-popup h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

/* ===============================
   PRODUCT LIST
================================ */
.qrs-popup .quote-products {
  margin-bottom: 20px;
}

.qrs-popup .quote-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.qrs-popup .quote-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 12px;
  border-radius: 4px;
}

.qrs-popup .quote-item-title {
  font-size: 14px;
  font-weight: 600;
}

.qrs-popup .quote-item-price {
  font-size: 13px;
  color: #777;
}

/* ===============================
   FORM (SINGLE COLUMN)
================================ */
.qrs-popup .quote-form-grid {
  display: block; /* 🔥 force single column */
}

/* Input Block */
.qrs-popup .input-block {
  margin-bottom: 15px;
}

.qrs-popup .input-block label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #333;
  display: block;
}

.qrs-popup .input-block input {
  width: 100%;
  height: 50px;
  background-color: #f7f7f7;
  border: 0px none;
  margin: 0px;
  padding: 0px 14px;
  border-radius: 0px;
}

/* ===============================
   BUTTON
================================ */
.qrs-popup .quote-btn {
  margin: 0px;
}
/* .qrs-popup .quote-btn {
  width: fit-content;
  background: var(--fs-color-secondary);
  color: #fff;
  font-size: 16px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
} */

/* ===============================
   CLOSE BUTTON (optional)
================================ */
.qrs-popup .quote-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .qrs-popup {
    align-items: flex-start;
    padding-top: 30px;
  }

  .qrs-popup .quote-content {
    width: 95%;
  }
}

/* ===============================
   VALIDATION MESSAGES
================================ */
.qrs-form-errors {
  display: none;
  background: #ffecec;
  border: 1px solid #f5c2c2;
  color: #d8000c;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.qrs-form-errors ul {
  margin: 0;
  padding-left: 18px;
}
