/**
 * Mobile Bottom Menu Styles
 *
 * @package Cxb_B2B_Product_Showcase
 */

/* ================================================================
   Desktop: hide the entire mobile-menu tree so nothing leaks
   into the footer on wide viewports.
   ================================================================ */
.nbb2b-mobile-menu,
.nbb2b-mm-products-overlay,
.nbb2b-mm-products-modal,
.nbb2b-mm-contact-overlay,
.nbb2b-mm-message-overlay {
    display: none !important;
}

/* ================================================================
   Instant hide: prevent contact widget from flashing on mobile
   BEFORE JS adds the .nbb2b-has-mobile-menu body class.
   This pure media-query rule fires at first paint – no JS needed.
   ================================================================ */
@media (max-width: 768px) {
    .nbb2b-contact-widget {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal overflow.
       ⚠ Must use `clip` — not `hidden`.
       `overflow-x: hidden` on html/body creates a new scroll container
       which breaks `position: sticky` on descendant elements (e.g. the
       product-detail tab navigation).  `clip` has the same visual effect
       (no horizontal scrollbar, content clipped at the edge) but does NOT
       alter the scroll container, so sticky keeps working. */
    html,
    body {
        overflow-x: clip !important;
    }

    /* ---- Bar ---- */
    .nbb2b-mobile-menu {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        height: 50px;
        background: #f5f5f5;
        border-top: 1px solid #d0d0d0;
        z-index: 999999 !important;
        align-items: center;
        justify-content: stretch;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* ---- Individual item ---- */
    .nbb2b-mm-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        height: 100%;
        cursor: pointer;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        text-decoration: none !important;
        color: #333 !important;
        padding: 4px 0 2px;
        box-sizing: border-box;
    }

    /* List (quote basket) item: hidden by default in CSS.
       PHP adds .nbb2b-mm-list-show when count > 0 at render time,
       so the first paint already has the correct layout. JS keeps
       the class in sync for live add/remove without page reload. */
    .nbb2b-mm-item[data-action="list"] {
        display: none;
    }
    .nbb2b-mm-item[data-action="list"].nbb2b-mm-list-show {
        display: flex;
    }

    .nbb2b-mm-item[data-action="backtop"] {
        flex: 0 0 40px;
        max-width: 40px;
    }

    .nbb2b-mm-item:active {
        background: rgba(0,0,0,.06);
    }

    .nbb2b-mm-icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .nbb2b-mm-icon img {
        width: 20px;
        height: 20px;
        display: block;
    }

    .nbb2b-mm-label {
        font-size: 10px;
        line-height: 1.2;
        margin-top: 2px;
        white-space: nowrap;
        color: #555;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ---- Quote count badge ---- */
    .nbb2b-mm-badge {
        position: absolute;
        top: -5px;
        right: -8px;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        font-size: 10px;
        line-height: 16px;
        text-align: center;
        padding: 0 4px;
        box-sizing: border-box;
        color: #fff;
        display: none;
        pointer-events: none;
    }

    .nbb2b-mm-badge.nbb2b-mm-badge-show {
        display: block;
    }

    /* ---- Body padding ---- */
    /* Applied immediately via media query (no JS class dependency)
       so the bar never overlaps content on first paint. */
    body {
        padding-bottom: 50px !important;
    }

    /* ---- Hide original floating widgets ---- */
    body.nbb2b-has-mobile-menu .nbb2b-lm-widget {
        display: none !important;
    }
    body.nbb2b-has-mobile-menu .cxb-b2b-quote-basket-toggle.cxb-b2b-quote-basket-toggle {
        display: none !important;
    }
    body.nbb2b-has-mobile-menu .nbb2b-contact-widget {
        display: none !important;
    }

    /* ---- Hide theme back-to-top buttons on mobile ---- */
    body.nbb2b-has-mobile-menu #ast-scroll-top,           /* Astra */
    body.nbb2b-has-mobile-menu .ast-scroll-top-icon,       /* Astra alt */
    body.nbb2b-has-mobile-menu .generate-back-to-top,      /* GeneratePress */
    body.nbb2b-has-mobile-menu #scroll-top,                /* OceanWP */
    body.nbb2b-has-mobile-menu .flavor-back-to-top,        /* flavor */
    body.nbb2b-has-mobile-menu #back-to-top,               /* generic */
    body.nbb2b-has-mobile-menu .back-to-top,               /* generic */
    body.nbb2b-has-mobile-menu #backtotop,                 /* generic */
    body.nbb2b-has-mobile-menu .backtotop,                 /* generic */
    body.nbb2b-has-mobile-menu #scroll-to-top,             /* generic */
    body.nbb2b-has-mobile-menu .scroll-to-top,             /* generic */
    body.nbb2b-has-mobile-menu .scrolltop,                 /* generic */
    body.nbb2b-has-mobile-menu #scrolltop,                 /* generic */
    body.nbb2b-has-mobile-menu .go-top,                    /* generic */
    body.nbb2b-has-mobile-menu #go-top,                    /* generic */
    body.nbb2b-has-mobile-menu .to-top,                    /* generic */
    body.nbb2b-has-mobile-menu #toTop,                     /* generic */
    body.nbb2b-has-mobile-menu #rocket-to-top,             /* starter-theme / starter-kit */
    body.nbb2b-has-mobile-menu .ksuspended-btn,            /* starter-theme */
    body.nbb2b-has-mobile-menu .tt-back-to-top,            /* flavor theme */
    body.nbb2b-has-mobile-menu .jesuspended-btn,           /* flavor theme */
    body.nbb2b-has-mobile-menu .wptt-back-to-top {         /* flavor theme */
        display: none !important;
    }

    /* ================================================================
       Shared modal close button
       ================================================================ */
    .nbb2b-mm-modal-close {
        background: none !important;
        border: none !important;
        font-size: 22px !important;
        cursor: pointer !important;
        color: #999 !important;
        padding: 0 !important;
        line-height: 1 !important;
        box-shadow: none !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        min-width: 0 !important;
        min-height: 0 !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 0 !important;
        outline: none !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    /* ================================================================
       Products Modal
       ================================================================ */
    .nbb2b-mm-products-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,.5);
        z-index: 1000001;
        display: none;
    }
    .nbb2b-mm-products-overlay.nbb2b-mm-show { display: block !important; }

    .nbb2b-mm-products-modal {
        position: fixed; bottom: 50px; left: 0; right: 0;
        max-height: 70vh; background: #fff; z-index: 1000002;
        border-radius: 12px 12px 0 0; overflow: hidden;
        display: none; flex-direction: column;
        animation: nbb2b-mm-slideUp .25s ease;
    }
    .nbb2b-mm-products-overlay.nbb2b-mm-show + .nbb2b-mm-products-modal,
    .nbb2b-mm-products-modal.nbb2b-mm-show { display: flex !important; }

    @keyframes nbb2b-mm-slideUp {
        from { transform: translateY(40px); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }

    .nbb2b-mm-products-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 16px; border-bottom: 1px solid #eee; flex-shrink: 0;
    }
    .nbb2b-mm-products-header h3 { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #333 !important; flex-shrink: 0; white-space: nowrap; line-height: 1.4 !important; }

    .nbb2b-mm-products-body {
        overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1;
    }
    .nbb2b-mm-cat-list { list-style: none; margin: 0; padding: 0; }
    .nbb2b-mm-cat-item { list-style: none; }
    .nbb2b-mm-cat-link {
        display: flex; align-items: center; padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #333; font-size: 14px;
    }
    .nbb2b-mm-cat-link:active { background: #f5f5f5; }
    .nbb2b-mm-cat-img {
        width: 40px; height: 40px; object-fit: cover; border-radius: 6px;
        margin-right: 12px; flex-shrink: 0; background: #f9f9f9;
    }
    .nbb2b-mm-cat-name { flex: 1; font-weight: 500; }
    .nbb2b-mm-cat-arrow { color: #bbb; flex-shrink: 0; margin-left: 8px; }

    .nbb2b-mm-sub-panel { display: none; background: #fafafa; }
    .nbb2b-mm-sub-panel.nbb2b-mm-sub-open { display: block; }
    .nbb2b-mm-sub-back {
        display: flex; align-items: center; padding: 10px 16px;
        border-bottom: 1px solid #eee; background: #f0f0f0; cursor: pointer; font-size: 13px; color: #666;
    }
    .nbb2b-mm-sub-back svg { margin-right: 6px; }
    .nbb2b-mm-sub-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 12px 16px; }
    .nbb2b-mm-sub-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #333; }
    .nbb2b-mm-sub-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; background: #f0f0f0; }
    .nbb2b-mm-sub-name { font-size: 11px; text-align: center; margin-top: 4px; line-height: 1.3; word-break: break-word; }

    /* ================================================================
       Contact Modal
       ================================================================ */
    .nbb2b-mm-contact-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,.55); z-index: 1000001;
        display: none; align-items: center; justify-content: center;
    }
    .nbb2b-mm-contact-overlay.nbb2b-mm-show { display: flex !important; }
    .nbb2b-mm-contact-modal {
        background: #fff !important; border-radius: 12px; width: 90%; max-width: 340px;
        max-height: 80vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
        box-shadow: 0 8px 30px rgba(0,0,0,.25); animation: nbb2b-mm-fadeIn .25s ease;
        color: #333 !important;
    }
    @keyframes nbb2b-mm-fadeIn {
        from { opacity: 0; transform: scale(.92); }
        to   { opacity: 1; transform: scale(1); }
    }
    .nbb2b-mm-contact-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 16px; border-bottom: 1px solid #eee;
    }
    .nbb2b-mm-contact-header h3 { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #333 !important; line-height: 1.4 !important; }
    .nbb2b-mm-contact-list { list-style: none; margin: 0; padding: 0; }
    .nbb2b-mm-contact-row {
        display: flex; align-items: center; padding: 14px 16px;
        border-bottom: 1px solid #f0f0f0; cursor: pointer; text-decoration: none; color: #333;
    }
    .nbb2b-mm-contact-row:last-child { border-bottom: none; }
    .nbb2b-mm-contact-row:active { background: #f5f5f5; }
    .nbb2b-mm-contact-row-icon { width: 24px; height: 24px; flex-shrink: 0; margin-right: 14px; display: flex; align-items: center; justify-content: center; }
    .nbb2b-mm-contact-row-icon img { width: 24px; height: 24px; }
    .nbb2b-mm-contact-row-info { flex: 1; font-size: 14px; line-height: 1.4; word-break: break-all; }
    .nbb2b-mm-contact-row-label { font-size: 11px; color: #999; display: block; margin-bottom: 2px; }
    .nbb2b-mm-contact-wechat-detail { display: flex; flex-direction: column; align-items: flex-start; }
    .nbb2b-mm-contact-wechat-qr { width: 120px; height: auto; border-radius: 6px; margin-top: 6px; border: 1px solid #eee; }

    /* ================================================================
       Message Modal
       ================================================================ */
    .nbb2b-mm-message-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,.55); z-index: 1000001;
        display: none; align-items: center; justify-content: center;
    }
    .nbb2b-mm-message-overlay.nbb2b-mm-show { display: flex !important; }
    .nbb2b-mm-message-modal {
        background: #fff !important; border-radius: 12px; width: 92%; max-width: 380px;
        max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
        box-shadow: 0 8px 30px rgba(0,0,0,.25); animation: nbb2b-mm-fadeIn .25s ease;
        color: #333 !important;
    }
    .nbb2b-mm-message-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 16px; border-bottom: 1px solid #eee; flex-shrink: 0;
    }
    .nbb2b-mm-message-header h3 { margin: 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #333 !important; line-height: 1.4 !important; }
    .nbb2b-mm-message-body { padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
    .nbb2b-mm-msg-field { margin-bottom: 14px; }
    .nbb2b-mm-msg-field label { display: block; font-size: 13px; font-weight: 500; color: #333 !important; margin-bottom: 4px; }
    .nbb2b-mm-msg-field input[type="text"],
    .nbb2b-mm-msg-field input[type="email"],
    .nbb2b-mm-msg-field input[type="tel"],
    .nbb2b-mm-msg-field textarea,
    .nbb2b-mm-msg-field select {
        width: 100% !important; padding: 8px 10px !important; border: 1px solid #ddd !important; border-radius: 6px !important;
        font-size: 14px !important; box-sizing: border-box !important; background: #fff !important; -webkit-appearance: none !important;
        color: #333 !important;
    }
    .nbb2b-mm-msg-field textarea { resize: vertical; min-height: 60px; }
    .nbb2b-mm-msg-field input:focus,
    .nbb2b-mm-msg-field textarea:focus,
    .nbb2b-mm-msg-field select:focus { outline: none; border-color: #999; }
    .nbb2b-mm-msg-required { color: #d63638; }
    .nbb2b-mm-msg-checkbox-group label { display: block; font-weight: 400; font-size: 14px; margin-bottom: 4px; }
    .nbb2b-mm-msg-submit {
        width: 100% !important; padding: 10px !important; border: none !important; border-radius: 6px !important;
        color: #fff !important; font-size: 15px !important; font-weight: 600 !important; cursor: pointer !important; margin-top: 4px !important;
        box-shadow: none !important; text-decoration: none !important; text-transform: none !important;
        letter-spacing: normal !important; text-align: center !important; line-height: 1.4 !important;
        -webkit-appearance: none !important; appearance: none !important;
        min-height: 0 !important; outline: none !important; display: block !important;
    }
    .nbb2b-mm-msg-submit:disabled { opacity: .6 !important; cursor: not-allowed !important; }
    .nbb2b-mm-msg-result { margin-top: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; display: none; }
    .nbb2b-mm-msg-result.nbb2b-mm-msg-success { display: block; background: #ecfdf5; color: #166534; }
    .nbb2b-mm-msg-result.nbb2b-mm-msg-error { display: block; background: #fef2f2; color: #991b1b; }

    /* reCAPTCHA widget in mobile message modal */
    .nbb2b-mm-recaptcha-wrap {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    .nbb2b-mm-recaptcha-wrap .g-recaptcha {
        transform: scale(0.92);
        transform-origin: center top;
    }

    /* Cloudflare Turnstile widget in mobile message modal */
    .nbb2b-mm-turnstile-wrap {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    .nbb2b-mm-turnstile-wrap .cf-turnstile {
        transform: scale(0.92);
        transform-origin: center top;
    }

    /* ================================================================
       Quote basket summary (above form when items exist)
       ================================================================ */
    .nbb2b-qs {
        background: #f0f7ff;
        border: none;
        border-radius: 6px;
        padding: 10px 12px;
        margin-bottom: 14px;
    }
    .nbb2b-qs-count { font-weight: 700; }

    /* ── Single product layout ── */
    .nbb2b-qs-single-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .nbb2b-qs-single-thumb {
        flex-shrink: 0;
        position: relative;
        cursor: pointer;
    }
    .nbb2b-qs-single-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .nbb2b-qs-single-name {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nbb2b-qs-single-qty-label {
        font-size: 12px;
        font-weight: 500;
        color: #555;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 0 !important;
    }
    .nbb2b-qs-qty-input {
        width: 80px !important;
        padding: 4px 6px !important;
        border: 1px solid #c0d0e0 !important;
        border-radius: 4px !important;
        font-size: 13px !important;
        text-align: center !important;
        color: #333 !important;
        background: #fff !important;
    }

    /* ── Multi product header ── */
    .nbb2b-qs-multi-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 8px;
    }
    .nbb2b-qs-multi-header .nbb2b-qs-text {
        font-size: 12px;
        font-weight: 500;
        color: #1a5276;
        flex: 1;
        min-width: 0;
    }
    .nbb2b-qs-input-qty-btn {
        flex-shrink: 0;
        padding: 4px 10px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #fff !important;
        background: var(--cxb-primary-color, #0A7AFF) !important;
        border: none !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        white-space: nowrap;
    }

    /* ── Product table (expandable) ── */
    .nbb2b-qs-product-table {
        margin-top: 10px;
        padding-top: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .nbb2b-qs-table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
        font-size: 12px;
        border: none !important;
    }
    .nbb2b-qs-table th,
    .nbb2b-qs-table td {
        border: none !important;
    }
    .nbb2b-qs-table th {
        text-align: left;
        font-size: 11px;
        font-weight: 600;
        color: #666;
        padding: 4px 6px 6px;
    }
    .nbb2b-qs-table th:nth-child(1) { width: 55%; }
    .nbb2b-qs-table th:nth-child(2) { width: 30%; }
    .nbb2b-qs-table th:nth-child(3) { width: 15%; }
    .nbb2b-qs-table td {
        padding: 6px;
        vertical-align: middle;
        overflow: hidden;
    }
    .nbb2b-qs-table tbody tr:nth-child(even) {
        background-color: #f5f7fa;
    }
    .nbb2b-qs-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }
    .nbb2b-qs-table-product {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .nbb2b-qs-table-product span {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px;
        color: #333;
    }
    .nbb2b-qs-table-img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border-radius: 3px;
        border: 1px solid #e0e0e0;
        flex-shrink: 0;
    }
    .nbb2b-qs-table-qty { width: 30%; }
    .nbb2b-qs-table-qty .nbb2b-qs-qty-input {
        width: 72px !important;
        padding: 3px 4px !important;
        font-size: 12px !important;
    }
    .nbb2b-qs-table-del { width: 15%; text-align: center; }
    .nbb2b-qs-table-remove {
        display: inline-block;
        width: 20px; height: 20px;
        line-height: 18px;
        text-align: center;
        font-size: 14px; font-weight: 700;
        color: #999; cursor: pointer;
        border-radius: 50%;
        transition: color 0.15s, background 0.15s;
    }
    .nbb2b-qs-table-remove:hover {
        color: #fff;
        background: rgba(220, 38, 38, 0.85);
    }
    .nbb2b-qs-done-btn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 8px !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 6px 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        font-family: inherit !important;
        color: #555 !important;
        background: #e8f0f8 !important;
        background-image: none !important;
        border: 1px solid #d0e3f7 !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        text-align: center !important;
        transition: background 0.15s !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        min-width: 0 !important;
        outline: none !important;
        line-height: 1.4 !important;
        float: none !important;
        position: relative !important;
        box-sizing: border-box !important;
    }
    .nbb2b-qs-thumbs {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        flex-wrap: nowrap;
        overflow: visible;
        padding: 4px 4px 0;
    }
    .nbb2b-qs-thumb-wrap {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50px;
        position: relative;
    }
    .nbb2b-qs-thumb-wrap.nbb2b-qs-deletable {
        cursor: pointer;
    }
    .nbb2b-qs-del {
        position: absolute;
        top: -4px;
        right: -4px;
        width: 16px;
        height: 16px;
        line-height: 14px;
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        background: rgba(0, 0, 0, 0.50);
        border-radius: 50%;
        cursor: pointer;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.15s, background 0.15s;
        pointer-events: none;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }
    .nbb2b-qs-thumb-wrap:hover .nbb2b-qs-del {
        opacity: 1;
        pointer-events: auto;
    }
    .nbb2b-qs-del:hover {
        background: rgba(220, 38, 38, 0.85);
    }
    /* On touch devices show the button by default (no hover) */
    @media (hover: none) {
        .nbb2b-qs-del {
            opacity: 1;
            pointer-events: auto;
        }
    }
    .nbb2b-qs-thumb {
        width: 50px; height: 50px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        background: #f9f9f9;
        flex-shrink: 0;
        display: block;
    }
    .nbb2b-qs-thumb-empty {
        display: inline-block;
        width: 50px; height: 50px;
        border-radius: 4px;
        border: 1px dashed #ccc;
        background: #f0f0f0;
        flex-shrink: 0;
    }
    .nbb2b-qs-qty {
        font-size: 10px;
        color: #1a5276;
        font-weight: 600;
        margin-top: 2px;
        white-space: nowrap;
        line-height: 1.2;
    }
    .nbb2b-qs-more {
        font-size: 18px; font-weight: 700;
        color: #888; flex-shrink: 0;
        padding: 0 4px; line-height: 50px;
    }

    /* ================================================================
       Elementor form integration
       ================================================================ */
    .nbb2b-mm-elementor-form {
        max-width: 100%;
        overflow: hidden;
    }
    .nbb2b-mm-elementor-form .elementor-form {
        padding: 0 !important;
    }
    .nbb2b-mm-elementor-form .elementor-widget-container {
        padding: 0 !important;
    }

} /* end @media */
