.si-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.si-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.si-modal__box {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px 28px;
  max-width: 480px;
  width: 90%;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.si-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s;
}

.si-modal__close:hover {
  color: #333;
}

.si-modal__close svg {
  width: 20px;
  height: 20px;
}

.si-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #1d2422;
  margin: 0 0 6px;
  padding-right: 32px;
}

.si-modal__product {
  font-size: 14px;
  color: #007765;
  font-weight: 600;
  margin: 0 0 20px;
  min-height: 1em;
}

.si-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.si-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

.si-modal__field input,
.si-modal__field textarea {
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1d2422;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.si-modal__field input:focus,
.si-modal__field textarea:focus {
  outline: none;
  border-color: #007765;
}

.si-modal__field textarea {
  resize: vertical;
  min-height: 96px;
}

.si-modal__required {
  color: #c0392b;
}

.si-modal__submit {
  margin-top: 4px;
  padding: 12px 24px;
  background: #007765;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.si-modal__submit:hover {
  background: #005f50;
}

.si-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.si-modal__success {
  font-size: 15px;
  color: #1a7a4a;
  background: #edfaf3;
  border: 1px solid #b2e5cc;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0;
}

.si-modal__error {
  font-size: 14px;
  color: #c0392b;
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 8px 0 0;
}

/* Product card inquiry button variant */
.product-card__cart-btn--inquiry {
  background: transparent;
  border: 2px solid #007765;
  color: #007765;
}

.product-card__cart-btn--inquiry:hover {
  background: #007765;
  color: #fff;
}

.si-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
}

.si-modal__checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: #007765;
}

.si-modal__checkbox a {
  color: #007765;
  text-decoration: underline;
}
