
/* quick_order_desktop_clean.css */
/* Отвечает только за desktop >= 901px */

@media (min-width: 901px) {
    body.quick-order-page {
        padding-bottom: 132px !important;
        background: #f4f6f8 !important;
    }

    body.quick-order-page,
    body.quick-order-page main,
    body.quick-order-page .container {
        overflow: visible !important;
    }

    .quick-order-page .bb-mobile-checkout-bar,
    .quick-order-page #bb-mobile-checkout-bar,
    .quick-order-page .bb-mobile-back-top {
        display: none !important;
    }

    .quick-order-page .bb-qo-actions-clean {
        max-width: 1320px;
        margin: 20px auto 18px;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        position: relative;
        z-index: 60;
    }

    .quick-order-page .bb-qo-actions-clean__btn {
        min-height: 52px;
        padding: 0 22px;
        border: 1px solid #dbe3ef;
        border-radius: 18px;
        background: #ffffff;
        color: #111827;
        font-size: 15px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
        transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }

    .quick-order-page .bb-qo-actions-clean__btn:hover {
        transform: translateY(-1px);
        border-color: #cbd5e1;
        box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
    }

    .quick-order-page .bb-qo-actions-clean__btn--primary {
        border-color: #dc2626;
        background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
        color: #ffffff;
        box-shadow: 0 16px 34px rgba(220, 38, 38, .22);
    }

    .quick-order-page .bb-live-form.js-live-filter {
        position: sticky !important;
        top: 14px !important;
        z-index: 70 !important;
        margin: 0 0 22px !important;
        padding: 18px !important;
        border-radius: 26px !important;
        background: rgba(255,255,255,.98) !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 18px 42px rgba(15, 23, 42, .12) !important;
    }

    .quick-order-page .bb-checkout-bottom {
        position: fixed !important;
        left: 24px !important;
        right: 24px !important;
        bottom: 18px !important;
        z-index: 120 !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        pointer-events: none !important;
        overflow: visible !important;
    }

    .quick-order-page .bb-checkout-bottom::before,
    .quick-order-page .bb-checkout-bottom::after,
    .quick-order-page .bb-checkout-shell::before,
    .quick-order-page .bb-checkout-shell::after {
        display: none !important;
        content: none !important;
    }

    .quick-order-page .bb-checkout-shell {
        max-width: 1320px !important;
        margin: 0 auto !important;
        border-radius: 28px !important;
        background: linear-gradient(180deg, #101827 0%, #071225 100%) !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        box-shadow: 0 24px 60px rgba(2, 8, 23, .30) !important;
        pointer-events: auto !important;
        overflow: hidden !important;
        opacity: 1 !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-shell {
        min-height: 88px !important;
        max-height: 88px !important;
        padding: 0 !important;
    }

    .quick-order-page .bb-qo-desktop-compact {
        display: grid;
        grid-template-columns: minmax(260px, .8fr) minmax(280px, 1fr) auto;
        gap: 22px;
        align-items: center;
        min-height: 88px;
        padding: 14px 18px;
    }

    .quick-order-page .bb-qo-desktop-compact__summary span {
        display: block;
        margin-bottom: 4px;
        color: rgba(255,255,255,.70);
        font-size: 13px;
        font-weight: 800;
    }

    .quick-order-page .bb-qo-desktop-compact__summary strong {
        display: block;
        color: #ffffff;
        font-size: 26px;
        line-height: 1.05;
        font-weight: 950;
        letter-spacing: -.03em;
    }

    .quick-order-page .bb-qo-desktop-compact__hint {
        color: rgba(255,255,255,.72);
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
    }

    .quick-order-page .bb-qo-desktop-compact__btn {
        min-width: 220px;
        min-height: 56px;
        padding: 0 24px;
        border: 0;
        border-radius: 18px;
        background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
        color: #ffffff;
        font-size: 16px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 14px 32px rgba(239, 68, 68, .24);
    }

    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-main,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-summary,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-actions,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-preview,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-legal-consents,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-checkout-drawer-close,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-desktop-checkout-compact,
    .quick-order-page .bb-checkout-bottom:not(.bb-desktop-open) .bb-pro-checkout-compact {
        display: none !important;
    }

    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-qo-desktop-compact {
        display: none !important;
    }

    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-shell {
        padding: 18px !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
    }

    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-main,
    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-summary,
    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-actions,
    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-preview,
    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-legal-consents {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .quick-order-page .bb-checkout-bottom.bb-desktop-open .bb-checkout-drawer-close {
        display: inline-flex !important;
        margin: 0 0 14px auto !important;
    }

    .quick-order-page .bb-legal-consents {
        margin-top: 18px !important;
        padding: 18px 20px !important;
        border-radius: 24px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 16px 36px rgba(15, 23, 42, .08) !important;
    }

    .quick-order-page .bb-legal-consents label,
    .quick-order-page .bb-legal-consents .bb-legal-consent,
    .quick-order-page .bb-legal-consents .consent-row {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: start !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        color: #475569 !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .quick-order-page .bb-legal-consents input[type="checkbox"] {
        width: 26px !important;
        height: 26px !important;
        margin: 1px 0 0 !important;
        accent-color: #dc2626 !important;
    }

    .quick-order-page .bb-legal-consents a {
        color: #dc2626 !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }
}
