/* Rental dialog: existing Inter family, #FAB63A accent and site button shape. */
#order_modal.rental-modal { font-family: Inter, sans-serif; color: #212529; }
#order_modal [hidden] { display: none !important; }
#order_modal .modal-dialog { max-width: 680px; margin: 24px auto; }
#order_modal .modal-content { border: 0; border-radius: 5px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
#order_modal .rental-modal__header { padding: 24px 28px 16px; border: 0; align-items: flex-start; }
#order_modal .modal-title { font-size: 28px; line-height: 1.2; font-weight: 700; margin: 0; }
#order_modal .close { color: #212529; opacity: .8; padding: 12px; margin: -9px -12px 0 12px; font-size: 30px; }
#order_modal .rental-modal__body { padding: 0 28px 22px; overscroll-behavior: contain; }
#order_modal .rental-modal__product { display: flex; gap: 16px; align-items: center; padding: 14px; margin-bottom: 20px; background: #f2f2f2; border-radius: 5px; }
#order_modal .rental-modal__product img { width: 108px; height: 82px; object-fit: contain; flex-shrink: 0; }
#order_modal .rental-modal__product-name { font-size: 16px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
#order_modal .rental-modal__city { margin-top: 6px; font-size: 14px; color: #5d5e60; }
#order_modal .rental-modal__terms { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 14px; }
#order_modal .rental-field { margin-bottom: 16px; min-width: 0; }
#order_modal label, #order_modal legend { font-size: 14px; line-height: 1.4; font-weight: 600; margin-bottom: 7px; }
#order_modal label > span[aria-hidden], #order_modal legend > span { color: #b42318; }
#order_modal .form-control { height: 46px; min-width: 0; width: 100%; padding: 10px 12px; font-family: inherit; font-size: 16px; line-height: 24px; color: #212529; border: 1px solid #ced4da; border-radius: 5px; box-shadow: none; }
#order_modal .form-control:focus { border-color: #9f7219; box-shadow: 0 0 0 2px rgba(250,182,58,.24); }
#order_modal .form-control[aria-invalid="true"] { border-color: #b42318; }
#order_modal .rental-stepper { display: flex; height: 46px; border: 1px solid #ced4da; border-radius: 5px; overflow: hidden; }
#order_modal .rental-stepper:focus-within { border-color: #9f7219; box-shadow: 0 0 0 2px rgba(250,182,58,.24); }
#order_modal .rental-stepper .form-control { border: 0; box-shadow: none; border-radius: 0; text-align: center; padding: 8px 0; height: 44px; -moz-appearance: textfield; }
#order_modal .rental-stepper input::-webkit-inner-spin-button, #order_modal .rental-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#order_modal .rental-stepper button { background: #fff; color: #212529; border: 0; font-family: inherit; font-size: 22px; min-width: 36px; padding: 0; flex-shrink: 0; cursor: pointer; }
#order_modal .rental-stepper button:hover { background: #f2f2f2; }
#order_modal .rental-modal__receipt { padding: 0; border: 0; }
#order_modal legend { float: none; width: auto; }
#order_modal .rental-receipt-options { display: flex; gap: 10px; }
#order_modal .rental-receipt-options label { display: block; position: relative; flex: 1; margin: 0; cursor: pointer; }
#order_modal .rental-receipt-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#order_modal .rental-receipt-options label > span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid #ced4da; border-radius: 5px; font-size: 16px; }
#order_modal .rental-receipt-options i { font-size: 20px; }
#order_modal .rental-receipt-options input:checked + span { border-color: #FAB63A; background: #fff5e1; color: #212529; }
#order_modal .rental-receipt-options input:focus-visible + span { outline: 2px solid #9f7219; outline-offset: 2px; }
#order_modal .rental-modal__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#order_modal .rental-modal__comment { margin-bottom: 16px; border-radius: 5px; background: #f2f2f2; }
#order_modal .rental-modal__comment summary { padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
#order_modal .rental-modal__comment summary::-webkit-details-marker { display: none; }
#order_modal .rental-modal__comment summary > span { margin-right: 8px; font-size: 18px; }
#order_modal .rental-modal__comment small { color: #5d5e60; font-size: 12px; font-weight: 400; margin-left: 8px; }
#order_modal .rental-modal__comment textarea { width: calc(100% - 24px); height: auto; margin: 0 12px 12px; resize: vertical; }
#order_modal .rental-modal__captcha { min-width: 0; min-height: 102px; margin: 0 0 12px; }
#order_modal .privacy-consent { margin: 12px 0 4px; }
#order_modal .privacy-consent__label { font-size: 12px; line-height: 1.6; font-weight: 400; color: #212529; }
#order_modal .privacy-consent a { color: #79530e; text-decoration: underline; }
#order_modal .rental-field__error, #order_modal .privacy-consent__error { color: #b42318; font-size: 12px; line-height: 1.4; margin-top: 6px; }
#order_modal .rental-modal__error-summary { padding: 10px 12px; margin-bottom: 16px; background: #fff1ef; color: #a01f15; border-radius: 5px; font-size: 14px; }
#order_modal .rental-modal__submit { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; min-height: 52px; margin: 16px 0 0; padding: 12px 16px; border: 0; border-radius: 5px; background: #FAB63A; color: #000; font-family: inherit; font-size: 18px; line-height: 24px; font-weight: 700; cursor: pointer; }
#order_modal .rental-modal__submit:hover { background: #e9a72b; }
#order_modal .rental-modal__submit:focus-visible { outline: 2px solid #212529; outline-offset: 3px; }
#order_modal .rental-modal__submit:disabled { opacity: .65; cursor: wait; }
#order_modal .rental-modal__note { display: flex; align-items: flex-start; justify-content: center; gap: 7px; font-size: 12px; line-height: 1.5; text-align: center; color: #5d5e60; margin: 10px 0 0; }
#order_modal .rental-modal__success { padding: 28px 0; text-align: center; }
#order_modal .rental-modal__success > i { color: #79530e; font-size: 44px; }
#order_modal .rental-modal__success h3 { font-size: 24px; margin: 16px 0; }
@media (max-width: 575.98px) {
    #order_modal .modal-dialog { margin: 12px 8px; max-width: calc(100% - 16px); min-height: 0; height: calc(100% - 24px); max-height: calc(100% - 24px); }
    #order_modal .rental-modal__header { padding: 20px 16px 14px; }
    #order_modal .modal-title { font-size: 24px; }
    #order_modal .rental-modal__body { padding: 0 16px 20px; }
    #order_modal .rental-modal__product { gap: 10px; padding: 10px; margin-bottom: 16px; }
    #order_modal .rental-modal__product img { width: 80px; height: 65px; }
    #order_modal .rental-modal__product-name { font-size: 14px; }
    #order_modal input[type="date"] { font-size: 14px; padding-left: 8px; padding-right: 8px; }
    #order_modal .rental-modal__terms { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 12px; }
    #order_modal .rental-modal__terms .rental-field:not(.rental-field--quantity) > label { min-height: 40px; }
    #order_modal .rental-field--quantity { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 150px; align-items: center; }
    #order_modal .rental-field--quantity label { margin: 0; }
    #order_modal .rental-field--quantity .rental-field__error { grid-column: 1 / -1; }
    #order_modal .rental-modal__contacts { grid-template-columns: minmax(0,1fr); gap: 0; }
    #order_modal .rental-modal__comment small { display: inline-block; margin-left: 5px; }
}
