/* Lock body scroll when modal is open */
body.wc-enquiry-body-lock {
  overflow: hidden;
}

/* Overlay */
.wc-enquiry-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999; /* very high so it's above header/footer/sliders */
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.wc-enquiry-modal.wc-enquiry-open {
  display: flex;
}

/* Modal box */
.wc-enquiry-modal-inner {
  background: #ffffff;
  max-width: 520px;
  width: 100%;
  border-radius: 8px;
  padding: 24px 28px 28px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

/* Close button */
.wc-enquiry-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Title & subtitle */
.wc-enquiry-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.wc-enquiry-product-label {
  margin: 0 0 15px;
  font-size: 14px;
}

/* Form fields */
.wc-enquiry-field {
  margin-bottom: 12px;
}

.wc-enquiry-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}

.wc-enquiry-field input,
.wc-enquiry-field textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  box-sizing: border-box;
}

/* Actions */
.wc-enquiry-actions {
  margin-top: 10px;
  text-align: right;
}

.wc-enquiry-submit {
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.wc-enquiry-submit:hover {
  opacity: 0.9;
}

/* Feedback */
.wc-enquiry-feedback {
  margin-top: 10px;
  font-size: 14px;
}

.wc-enquiry-success {
  color: #16a34a;
}

.wc-enquiry-error {
  color: #dc2626;
}

/* Mobile */
@media (max-width: 480px) {
  .wc-enquiry-modal-inner {
    padding: 18px 16px 20px;
  }
}
