.quick-order-open {
    overflow: hidden;
}

.quick-order-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.quick-order-modal.is-open {
    display: flex;
}

.quick-order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.quick-order-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
    box-sizing: border-box;
}

.quick-order-modal__dialog h2 {
    margin: 0 35px 22px 0;
    font-size: 27px;
    line-height: 1.2;
}

.quick-order-modal__close {
    position: absolute;
    top: 10px;
    right: 13px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.quick-order-modal__product {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    padding: 16px;
    background: #f5f5f5;
    border-left: 4px solid #ff9800;
}

.quick-order-modal__name {
    font-size: 17px;
    line-height: 1.4;
}

.quick-order-modal__price {
    color: #111;
    font-size: 22px;
    font-weight: 700;
}

.quick-order-form label {
    display: block;
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.quick-order-form input {
    display: block;
    width: 100%;
    height: 44px;
    margin-top: 7px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font: inherit;
    font-weight: 400;
    box-sizing: border-box;
}

.quick-order-form input:focus {
    border-color: #ff9800;
    outline: 2px solid rgba(255, 152, 0, .2);
}

.quick-order-form__submit {
    width: 100%;
    min-height: 48px;
    margin-top: 5px;
    padding: 12px 18px;
    border: 0;
    border-radius: 3px;
    background: #ff9800;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.quick-order-form__submit:disabled {
    cursor: wait;
    opacity: .65;
}

.quick-order-form__message {
    margin: 0 0 12px;
    line-height: 1.45;
}

.quick-order-form__message.is-error {
    color: #c62828;
}

.quick-order-form__message.is-success {
    padding: 14px;
    border: 1px solid #8bc34a;
    background: #f1f8e9;
    color: #33691e;
}

.quick-order-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 520px) {
    .quick-order-modal {
        padding: 10px;
    }

    .quick-order-modal__dialog {
        max-height: calc(100vh - 20px);
        padding: 24px 18px;
    }

    .quick-order-modal__dialog h2 {
        font-size: 23px;
    }
}

