/* Scoped to the product drawer and its enquiry form. */
#modal-product.modal-product--inquiry { padding: 0; overflow: hidden; height: 100vh; height: 100dvh; max-height: 100dvh; }
#modal-product .modal-product__details { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 80px 40px 32px; }
#modal-product.modal-product--inquiry .modal-product__close { position: absolute; top: 24px; right: 24px; z-index: 2; }
#modal-product .modal-product__actions { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 24px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eee; }
#modal-product .modal-product__actions .button { width: 100%; min-height: 48px; padding: 12px 8px; font-size: 14px; line-height: 1.3; text-align: center; cursor: pointer; }
#popup-custom.support-product-inquiry .title { font-size: 26px; line-height: 1.2; }
#popup-custom.support-product-inquiry .title span { display: inline-block; margin-top: 10px; font-size: 16px; line-height: 1.4; }
#popup-custom .support-product-inquiry__summary { margin: 16px 0 0; padding: 10px 14px; background: #f6f0f9; color: #80379d; border-radius: 12px; font-size: 16px; font-weight: 800; line-height: 1.4; }
.js-overlay .form-modal:has(.support-product-inquiry) { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (max-width: 767px) {
  #modal-product .modal-product__details { padding: 64px 20px 24px; }
  #modal-product .modal-product__actions { grid-template-columns: 1fr; gap: 8px; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  #modal-product .modal-product__actions .button { min-height: 44px; font-size: 15px; padding: 10px 12px; }
  #popup-custom.support-product-inquiry .title { font-size: 23px; }
}
