/* Extracted shared quote form styles. */
        [x-cloak] { display: none !important; }
        .marinex-quote-card {
            font-family: inherit;
            color: #0f172a;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(15, 52, 80, 0.2) !important;
            border: 1px solid rgba(15, 52, 80, 0.12) !important;
        }

        /* Mobile Sheet Special Reset & Layout */
        .mobile-sheet-body .marinex-quote-card {
            box-shadow: none !important;
            border: none !important;
            border-radius: 0 !important;
            background: transparent !important;
            overflow: visible !important;
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            min-height: 380px;
        }
        .mobile-sheet-body .marinex-mode-bar {
            display: none !important;
        }
        .mobile-sheet-body .marinex-stepper-split-bar {
            border-radius: 10px;
            margin: 12px 20px;
            flex-shrink: 0;
        }
        .mobile-sheet-body .marinex-form-content {
            padding: 0 16px 0 16px;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 320px;
            overflow: visible;
            width: 100%;
        }
        .mobile-sheet-body .marinex-form-content form {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 300px;
            overflow: visible;
            width: 100%;
        }
        .mobile-sheet-body .marinex-form-content .marinex-form-fields {
            flex: 1;
            overflow-y: visible;
            padding-bottom: 12px;
            width: 100%;
        }
        .mobile-sheet-body .marinex-footer-nav {
            position: sticky;
            bottom: 0;
            left: -16px;
            right: -16px;
            z-index: 99;
            flex-shrink: 0;
            background: #ffffff;
            padding: 12px 16px max(24px, calc(16px + env(safe-area-inset-bottom, 0px))) !important;
            margin: 12px -16px 0 -16px;
            width: calc(100% + 32px) !important;
            border-top: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            gap: 4px;
            align-items: stretch;
            box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
        }
        .mobile-sheet-body .btn-marinex-next,
        .mobile-sheet-body .btn-marinex-submit {
            width: 100% !important;
            height: 52px !important;
            border-radius: 12px !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        .mobile-sheet-body .marinex-footer-nav > span {
            text-align: center;
            display: block;
            font-size: 11px;
            color: #64748b;
            margin-top: 2px;
        }
        .mobile-sheet-body .marinex-submode-bar {
            flex-wrap: nowrap;
            gap: 4px;
            padding: 4px;
        }
        .mobile-sheet-body .marinex-submode-btn {
            flex: 1 1 0%;
            min-width: 0;
            padding: 9px 6px;
            font-size: 11px;
            gap: 4px;
            white-space: nowrap;
        }
        .mobile-sheet-body .marinex-submode-btn img {
            width: 16px;
            height: 16px;
        }
        .mobile-sheet-body .marinex-step-segment {
            padding: 9px 8px;
            gap: 6px;
        }
        .mobile-sheet-body .marinex-step-segment span {
            font-size: 11px;
        }
        .mobile-sheet-body .marinex-field {
            height: 36px;
            font-size: 12px;
            border-radius: 8px;
        }
        .mobile-sheet-body .marinex-input-label {
            font-size: 10px;
            margin-bottom: 2px;
            letter-spacing: 0.3px;
        }
        .mobile-sheet-body .row.g-2 {
            --bs-gutter-y: 0.4rem;
            --bs-gutter-x: 0.5rem;
        }
        .mobile-sheet-body .marinex-toggle-pill {
            min-height: 36px;
            padding: 6px 4px;
            font-size: 10px;
            border-radius: 8px;
        }

        /* Prevent iOS Safari input focus auto-zoom by enforcing 16px font-size */
        @media screen and (max-width: 767.98px) {
            .mobile-sheet-body input[type="text"],
            .mobile-sheet-body input[type="number"],
            .mobile-sheet-body input[type="date"],
            .mobile-sheet-body input[type="email"],
            .mobile-sheet-body input[type="tel"],
            .mobile-sheet-body select,
            .mobile-sheet-body textarea,
            .mobile-sheet-body .marinex-field,
            .mobile-sheet-body .marinex-dims-input,
            .mobile-sheet-body .marinex-phone-input {
                font-size: 16px !important;
            }
        }

        @media (max-width: 480px) {
            .mobile-sheet-body .marinex-submode-btn {
                padding: 7px 4px !important;
                font-size: 10px !important;
            }
            .mobile-sheet-body .marinex-submode-btn img {
                width: 14px !important;
                height: 14px !important;
            }
            .mobile-sheet-body .marinex-field {
                height: 36px !important;
                padding: 0 8px !important;
            }
            .mobile-sheet-body .marinex-input-label {
                font-size: 10px !important;
            }
            .mobile-sheet-body .btn-marinex-next,
            .mobile-sheet-body .btn-marinex-submit {
                height: 42px !important;
                font-size: 14px !important;
            }
        }
        /* File input styling */
        .marinex-file-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            height: 38px;
            background: #f8fafc;
            border: 1px dashed #94a3b8;
            border-radius: 8px;
            padding: 0 12px;
            cursor: pointer;
            overflow: hidden;
        }
        .marinex-file-input-wrapper input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }
        .marinex-file-input-wrapper .file-label {
            font-size: 12px;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Uploaded Documents List & Feedback */
        .marinex-uploaded-docs-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 6px;
        }
        .marinex-doc-chip {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            font-size: 11px;
            color: #166534;
            font-weight: 600;
        }
        .marinex-doc-chip .doc-name {
            max-width: 150px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .marinex-doc-chip .doc-size {
            font-size: 10px;
            color: #15803d;
            opacity: 0.85;
        }
        .marinex-doc-chip .btn-remove-doc {
            background: transparent;
            border: none;
            color: #991b1b;
            font-size: 11px;
            font-weight: 800;
            cursor: pointer;
            padding: 0;
            margin-left: 2px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            transition: all 0.15s ease;
        }
        .marinex-doc-chip .btn-remove-doc:hover {
            background: rgba(239, 68, 68, 0.15);
            color: #dc2626;
        }
        .marinex-upload-loading {
            display: none;
            font-size: 11px;
            color: #00772d;
            font-weight: 600;
            margin-top: 4px;
            align-items: center;
            gap: 6px;
        }

        /* Back link styling */
        .marinex-back-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            font-size: 13px;
            font-weight: 600;
            color: #64748b;
            text-decoration: none;
            padding: 6px 0;
            transition: color 0.15s;
        }
        .marinex-back-link:hover {
            color: #0f3450;
        }

        /* Compact Counter Row */
        .marinex-counter-row {
            display: flex;
            gap: 8px;
        }
        .marinex-counter-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }
        .marinex-counter-item span {
            font-size: 9px;
            font-weight: 700;
            color: #475569;
            text-transform: uppercase;
        }
        .marinex-counter-item input {
            width: 100%;
            height: 28px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0 4px;
            font-size: 12px;
            font-weight: 600;
            text-align: center;
            color: #0f172a;
            background: #f8fafc;
            outline: none;
        }
        .marinex-counter-item input:focus {
            border-color: #00a1e4;
            background: #fff;
        }

        /* KVKK Check Label */
        .marinex-check-label {
            margin-top: 8px;
            padding: 10px 12px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
        }

        /* Step 0: Mode Selection Grid */
        .marinex-mode-select {
            padding: 10px 0;
        }
        .marinex-mode-select-title {
            font-size: 14px;
            font-weight: 700;
            color: #0f3450;
            text-align: center;
            margin-bottom: 16px;
        }
        .marinex-mode-select-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .marinex-mode-select-card {
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            padding: 20px 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .marinex-mode-select-card:hover {
            border-color: #00a1e4;
            background: rgba(0, 161, 228, 0.03);
        }
        .marinex-mode-select-card:active {
            border-color: #00772d;
            background: rgba(0, 119, 45, 0.04);
            transform: scale(0.97);
        }
        .marinex-mode-select-card img {
            width: 36px;
            height: 36px;
            object-fit: contain;
        }
        .marinex-mode-select-card span {
            font-size: 12px;
            font-weight: 700;
            color: #0f3450;
        }

        /* Selected Mode Badge (Hidden on Desktop, Visible on Mobile) */
        .marinex-selected-mode {
            display: none !important;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(15, 52, 80, 0.05);
            border-radius: 8px;
            margin-bottom: 12px;
        }
        @media (max-width: 991.98px) {
            .marinex-selected-mode {
                display: flex !important;
            }
        }
        .mobile-sheet-body .marinex-selected-mode {
            display: flex !important;
        }
        .marinex-selected-mode img {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }
        .marinex-selected-mode span {
            font-size: 12px;
            font-weight: 700;
            color: #0f3450;
            flex: 1;
        }
        .marinex-change-mode {
            font-size: 11px;
            font-weight: 600;
            color: #00a1e4;
            text-decoration: none;
        }

        .marinex-toggle-pill {
            background: #f8fafc;
            border: 1px solid #94a3b8;
            border-radius: 8px;
            padding: 6px 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            font-size: 10px;
            font-weight: 700;
            color: #475569;
            transition: all 0.2s ease;
            user-select: none;
        }
        .marinex-toggle-pill.active {
            background: rgba(0, 119, 45, 0.08);
            border-color: #00772d;
            color: #00772d;
        }
        .marinex-toggle-pill .pill-check {
            font-size: 13px;
            font-weight: 800;
        }

        /* Chip/Tag Style for Pickup/Delivery */
        .marinex-chip-row {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .marinex-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 6px 12px;
            border-radius: 20px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            transition: all 0.15s ease;
            user-select: none;
        }
        .marinex-chip:hover {
            border-color: #94a3b8;
        }
        .marinex-chip.active {
            background: rgba(0, 119, 45, 0.08);
            border-color: #00772D;
            color: #00772D;
        }
        .marinex-chip-icon {
            font-size: 11px;
            font-weight: 800;
        }

        /* Autocomplete Styling */
        .marinex-autocomplete-wrapper {
            position: relative;
            z-index: 1;
        }
        .marinex-autocomplete-wrapper.is-open {
            z-index: 1050;
        }
        .marinex-autocomplete-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(15, 52, 80, 0.2);
            z-index: 1050;
            max-height: 220px;
            overflow-x: hidden;
            overflow-y: scroll;
            margin-top: 4px;
            overscroll-behavior: contain;
            touch-action: pan-y;
            -webkit-overflow-scrolling: touch;
        }
        .marinex-autocomplete-dropdown.drop-up {
            top: auto;
            bottom: 100%;
            margin-top: 0;
            margin-bottom: 4px;
        }
        .marinex-autocomplete-item {
            display: block;
            width: 100%;
            padding: 10px 12px;
            border: 0;
            font-size: 12px;
            color: #0f172a;
            background: #ffffff;
            text-align: left;
            cursor: pointer;
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.1s;
            touch-action: pan-y;
            -webkit-appearance: none;
            appearance: none;
        }
        .marinex-autocomplete-item:last-child {
            border-bottom: none;
        }
        .marinex-autocomplete-item:hover {
            background: rgba(0, 161, 228, 0.08);
            color: #00a1e4;
        }
        .mobile-sheet-body .marinex-autocomplete-dropdown {
            z-index: 10000;
        }

        /* Accordion Styling */
        .marinex-accordion-trigger {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .marinex-accordion-trigger:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
        }
        .marinex-accordion-trigger svg {
            flex-shrink: 0;
            opacity: 0.6;
        }
        .marinex-accordion-trigger span {
            flex: 1;
        }
        .marinex-accordion-trigger .marinex-accordion-icon {
            font-size: 16px;
            font-weight: 700;
            color: #00a1e4;
            flex: none;
        }
        .marinex-accordion-content {
            margin-top: 8px;
            padding: 12px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
        }
        .marinex-accordion-content .marinex-field,
        .marinex-accordion-content .marinex-dims-group {
            background: #ffffff;
        }
        .mobile-sheet-body .marinex-accordion-content {
            padding: 10px;
        }
        .mobile-sheet-body .marinex-accordion-trigger {
            padding: 8px 10px;
            font-size: 11px;
        }

        /* Compact Cargo Fields */
        .marinex-field-sm {
            height: 34px !important;
            font-size: 12px !important;
            padding: 0 10px !important;
        }
        .marinex-dims-group {
            display: flex;
            align-items: center;
            height: 34px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            padding: 0 6px;
            gap: 0;
        }
        .marinex-dims-group:focus-within {
            border-color: #00a1e4;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(0, 161, 228, 0.15);
        }
        .marinex-dims-group input.marinex-dims-input,
        .marinex-dims-group input.marinex-dims-input:focus,
        .marinex-dims-group input.marinex-dims-input:active,
        .marinex-dims-group input.marinex-dims-input:focus-visible {
            flex: 1;
            min-width: 0;
            border: 0 !important;
            border-style: none !important;
            outline: none !important;
            outline-width: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
            height: 100%;
            font-size: 12px;
            text-align: center;
            color: #0f172a;
            padding: 0 2px;
            margin: 0;
            -webkit-appearance: none;
            -moz-appearance: textfield;
            appearance: none;
        }
        .marinex-dims-input::-webkit-outer-spin-button,
        .marinex-dims-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .marinex-dims-sep {
            font-size: 12px;
            color: #94a3b8;
            font-weight: 700;
            padding: 0 2px;
            flex-shrink: 0;
        }
        .marinex-dims-label {
            font-size: 10px;
            color: #64748b;
            font-weight: 600;
            padding-left: 4px;
            flex-shrink: 0;
        }
        .marinex-chip-sm {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 5px 10px;
            border-radius: 16px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            font-size: 10px;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .marinex-chip-sm.active {
            background: rgba(0, 119, 45, 0.08);
            border-color: #00772d;
            color: #00772d;
        }

        /* Optional Section Separator & Group */
        .marinex-optional-separator {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 4px 0;
        }
        .marinex-optional-separator::before,
        .marinex-optional-separator::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e2e8f0;
        }
        .marinex-optional-separator span {
            font-size: 10px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }
        .marinex-optional-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .marinex-optional-group .marinex-file-input-wrapper {
            width: 100%;
        }
        .marinex-optional-group .marinex-accordion-trigger {
            border-style: dashed;
        }

        /* Responsive Mobile Rules */
        @media (max-width: 575.98px) {
            .marinex-mode-bar {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 6px !important;
                padding: 8px !important;
            }
            .marinex-mode-card {
                padding: 10px 6px !important;
            }
            .marinex-mode-card img {
                width: 22px !important;
                height: 22px !important;
            }
            .marinex-mode-card span {
                font-size: 11px !important;
                white-space: nowrap !important;
            }
            .marinex-submode-bar {
                display: flex !important;
                flex-wrap: nowrap !important;
                gap: 4px !important;
                padding: 4px !important;
            }
            .marinex-submode-btn {
                flex: 1 1 0% !important;
                min-width: 0 !important;
                justify-content: center !important;
                padding: 9px 4px !important;
                font-size: 11px !important;
                gap: 3px !important;
                white-space: nowrap !important;
            }
            .marinex-submode-btn img {
                width: 16px !important;
                height: 16px !important;
            }
            .marinex-submode-btn span {
                font-size: 11px !important;
                white-space: nowrap !important;
            }
            .marinex-form-content {
                padding: 14px 10px !important;
            }
            .marinex-input-label {
                font-size: 11px !important;
                letter-spacing: 0.3px !important;
                margin-bottom: 5px !important;
            }
            .marinex-field {
                height: 44px !important;
                font-size: 13px !important;
                padding: 0 12px !important;
            }
            .marinex-step-segment span {
                font-size: 11px !important;
                white-space: nowrap !important;
            }
            .marinex-footer-nav {
                display: flex !important;
                flex-direction: column !important;
                gap: 6px !important;
                align-items: stretch !important;
                margin-top: 15px !important;
                width: 100% !important;
            }
            .marinex-footer-nav .btn-marinex-next,
            .marinex-footer-nav .btn-marinex-submit {
                width: 100% !important;
                height: 48px !important;
                border-radius: 10px !important;
                font-size: 14px !important;
                font-weight: 700 !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .marinex-footer-nav > span, .marinex-footer-nav > small {
                text-align: center !important;
                display: block !important;
                width: 100% !important;
                font-size: 11px !important;
            }
        }
        [wire\:loading] {
            display: none !important;
        }
        .marinex-mode-bar {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            background: #0f3450;
            padding: 10px;
        }
        .marinex-mode-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1.5px solid transparent;
            border-radius: 10px;
            padding: 10px 6px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            color: rgba(255, 255, 255, 0.85);
            text-align: center;
        }
        .marinex-mode-card img {
            width: 26px;
            height: 26px;
            object-fit: contain;
            filter: brightness(0) invert(1);
            transition: all 0.2s ease;
        }
        @media (max-width: 1400px) {
            .marinex-mode-card span {
                font-size: 10px;
            }
            .marinex-mode-card {
                padding: 8px 4px;
            }
        }
        .marinex-mode-card span {
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
        }
        .marinex-mode-card:hover {
            background: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }
        .marinex-mode-card.active {
            background: #00772D;
            border-color: rgba(255, 255, 255, 0.3);
            color: #ffffff;
            box-shadow: 0 4px 14px rgba(0, 119, 45, 0.4);
        }

        /* 50-50 Split Stepper Header Bar */
        .marinex-stepper-split-bar {
            display: flex;
            background: #e2e8f0;
            padding: 5px;
            gap: 5px;
            border-bottom: 1px solid #cbd5e1;
        }
        .marinex-step-segment {
            flex: 1;
            padding: 10px 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            color: #64748b;
            background: transparent;
            transition: all 0.2s ease;
        }
        .marinex-step-segment .step-num {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #cbd5e1;
            color: #475569;
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            transition: all 0.2s ease;
        }
        .marinex-step-segment.active {
            background: #0f3450;
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(15, 52, 80, 0.25);
        }
        .marinex-step-segment.active .step-num {
            background: #00772D;
            color: #ffffff;
        }
        .marinex-step-segment.completed {
            background: rgba(0, 119, 45, 0.12);
            color: #00772D;
        }
        .marinex-step-segment.completed .step-num {
            background: #00772D;
            color: #ffffff;
        }

        /* Form Content */
        .marinex-form-content {
            padding: 16px 24px 20px 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .marinex-input-label {
            font-size: 11px;
            font-weight: 700;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .marinex-plus-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #00772D;
            color: #ffffff;
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
            flex-shrink: 0;
        }

        /* CMA CGM Style Container Cards */
        .cma-container-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin-top: 8px;
        }
        @media (max-width: 767.98px) {
            .cma-container-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .cma-container-card {
            background: #ffffff;
            border: 1.5px solid #cbd5e1;
            border-radius: 12px;
            padding: 10px 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            transition: all 0.2s ease;
            text-align: center;
            min-height: 110px;
        }
        .cma-container-card.active {
            border-color: #00772D;
            background: #f0fdf4;
            box-shadow: 0 4px 12px rgba(0, 119, 45, 0.15);
        }
        .cma-container-card img {
            height: 30px;
            object-fit: contain;
            margin-bottom: 4px;
        }
        .cma-container-card .cma-title {
            font-size: 11px;
            font-weight: 700;
            color: #0f3450;
            margin-bottom: 6px;
            line-height: 1.2;
        }
        .btn-cma-add {
            width: 100%;
            height: 30px;
            border: 1.5px dashed #00772D;
            background: rgba(0, 119, 45, 0.06);
            color: #00772D;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .btn-cma-add:hover {
            background: #00772D;
            color: #ffffff;
            border-style: solid;
        }
        .cma-stepper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 30px;
            background: #ffffff;
            border: 1.5px solid #00772D;
            border-radius: 8px;
            overflow: hidden;
        }
        .cma-stepper button {
            width: 28px;
            height: 100%;
            background: #f1f5f9;
            border: none;
            color: #0f3450;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }
        .cma-stepper button:hover {
            background: #cbd5e1;
        }
        .cma-stepper input {
            flex: 1;
            width: 100%;
            height: 100%;
            border: none;
            text-align: center !important;
            font-size: 14px;
            font-weight: 800;
            color: #0f3450;
            background: transparent;
            outline: none;
            padding: 0 !important;
            margin: 0 !important;
            -moz-appearance: textfield;
        }
        .cma-stepper input::-webkit-outer-spin-button,
        .cma-stepper input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .cma-weight-box {
            margin-top: 6px;
            width: 100%;
            text-align: left;
        }
        .cma-weight-box label {
            font-size: 9px;
            font-weight: 700;
            color: #64748b;
            margin-bottom: 2px;
            display: block;
            text-transform: uppercase;
        }
        .cma-weight-input {
            width: 100%;
            height: 28px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0 4px;
            font-size: 11px;
            text-align: center;
            color: #0f172a;
            background: #ffffff;
            outline: none;
        }
        .cma-weight-input:focus {
            border-color: #00a1e4;
        }
        .marinex-field {
            width: 100%;
            height: 46px;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            padding: 0 14px;
            font-size: 14px;
            color: #0f172a;
            background: #f8fafc;
            outline: none;
            transition: all 0.2s ease;
        }
        .marinex-field:focus {
            border-color: #00a1e4;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(0, 161, 228, 0.15);
        }

        /* Submode Selector (FCL / LCL) */
        .marinex-submode-bar {
            display: flex;
            gap: 6px;
            margin-bottom: 16px;
            background: #f1f5f9;
            padding: 4px;
            border-radius: 10px;
        }
        .marinex-submode-btn {
            flex: 1;
            padding: 8px 10px;
            border: none;
            border-radius: 8px;
            background: transparent;
            font-size: 12px;
            font-weight: 700;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        .marinex-submode-btn img {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }
        .marinex-submode-btn.active {
            background: #0f3450;
            color: #ffffff;
            box-shadow: 0 3px 10px rgba(15, 52, 80, 0.2);
        }
        .marinex-submode-btn.active img {
            filter: brightness(0) invert(1);
        }

        .marinex-counter-card {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 6px 10px;
        }

        /* Footer Navigation Bar (Desktop Default) */
        .marinex-footer-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }
        .marinex-footer-nav > span,
        .marinex-footer-nav > small {
            font-size: 12px;
            color: #64748b;
            font-weight: 500;
            text-align: right;
        }

        /* Action Buttons */
        .btn-marinex-next {
            height: 46px;
            padding: 0 24px;
            background: #0f3450;
            color: #ffffff !important;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        .btn-marinex-next span, .btn-marinex-next svg {
            color: #ffffff !important;
        }
        .btn-marinex-next:hover {
            background: #00772D;
            color: #ffffff !important;
            box-shadow: 0 6px 18px rgba(0, 119, 45, 0.3);
            transform: translateY(-1px);
        }
        .btn-marinex-submit {
            height: 46px;
            padding: 0 28px;
            background: #00772D;
            color: #ffffff !important;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        .btn-marinex-submit span, .btn-marinex-submit svg {
            color: #ffffff !important;
        }
        .btn-marinex-submit:hover {
            background: #006024;
            color: #ffffff !important;
            box-shadow: 0 6px 18px rgba(0, 119, 45, 0.4);
            transform: translateY(-1px);
        }
        .btn-marinex-back {
            height: 46px;
            padding: 0 18px;
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .btn-marinex-back:hover {
            background: #e2e8f0;
            color: #0f172a;
        }
        .marinex-err {
            color: #ef4444;
            font-size: 11px;
            margin-top: 4px;
            display: block;
            font-weight: 600;
        }

        /* Final modal-only responsive layer; intentionally follows legacy rules. */
        @media (max-width: 767.98px) {
            #mobileQuoteModal .mobile-sheet-body .marinex-quote-card,
            #mobileQuoteModal .mobile-sheet-body .marinex-form-content,
            #mobileQuoteModal .mobile-sheet-body .marinex-form-content form {
                min-height: 0 !important;
                overflow: visible !important;
            }
            #mobileQuoteModal .mobile-sheet-body .marinex-form-content {
                padding: 16px 16px 0 !important;
            }
            #mobileQuoteModal .mobile-sheet-body .col-6 {
                flex: 0 0 100% !important;
                width: 100% !important;
                max-width: 100% !important;
            }
            #mobileQuoteModal .mobile-sheet-body input[type="text"],
            #mobileQuoteModal .mobile-sheet-body input[type="number"],
            #mobileQuoteModal .mobile-sheet-body input[type="date"],
            #mobileQuoteModal .mobile-sheet-body input[type="email"],
            #mobileQuoteModal .mobile-sheet-body input[type="tel"],
            #mobileQuoteModal .mobile-sheet-body select,
            #mobileQuoteModal .mobile-sheet-body .marinex-field {
                width: 100% !important;
                min-height: 48px !important;
                height: 48px !important;
                padding-right: 12px !important;
                padding-left: 12px !important;
                font-size: 16px !important;
            }
            #mobileQuoteModal .mobile-sheet-body textarea,
            #mobileQuoteModal .mobile-sheet-body textarea.marinex-field {
                width: 100% !important;
                height: auto !important;
                min-height: 96px !important;
                padding: 11px 12px !important;
                font-size: 16px !important;
            }
            #mobileQuoteModal .mobile-sheet-body .marinex-footer-nav {
                position: sticky !important;
                right: auto !important;
                bottom: 0 !important;
                left: auto !important;
                z-index: 16 !important;
                width: calc(100% + 32px) !important;
                margin: 16px -16px 0 !important;
                padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
            }
            #mobileQuoteModal .mobile-sheet-body .btn-marinex-next,
            #mobileQuoteModal .mobile-sheet-body .btn-marinex-submit {
                width: 100% !important;
                min-height: 50px !important;
                height: 50px !important;
                font-size: 15px !important;
            }
            #mobileQuoteModal .mobile-sheet-body .marinex-mode-select-grid {
                grid-template-columns: 1fr !important;
            }
            #mobileQuoteModal .mobile-sheet-body .marinex-submode-bar {
                display: grid !important;
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            }
        }

/* Extracted legacy modal shell; final isolated contract follows below. */
/* Dedicated Isolated Quote Dialog Modal */
    .marinex-quote-modal-overlay {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-height: 100vh;
        background: rgba(15, 52, 80, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 99999999 !important;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 16px;
        touch-action: auto;
        overscroll-behavior: contain;
    }
    .marinex-quote-modal-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }
    .marinex-quote-modal-card {
        position: relative;
        background: #ffffff;
        width: 100%;
        max-width: 580px;
        max-height: 90dvh;
        max-height: 90vh;
        border-radius: 16px;
        padding: 0;
        overflow: hidden;
        transform: scale(0.95);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
        border: 1px solid rgba(15, 52, 80, 0.12);
        display: flex;
        flex-direction: column;
        touch-action: auto;
    }
    .marinex-quote-modal-overlay.active .marinex-quote-modal-card {
        transform: scale(1) !important;
    }
    .marinex-quote-modal-close {
        position: absolute;
        top: 14px;
        right: 14px;
        background: #f1f5f9;
        border: none;
        color: #0f3450;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: background 0.2s, color 0.2s;
    }
    .marinex-quote-modal-close:hover {
        background: #008e36;
        color: #ffffff;
    }
    .marinex-quote-close-confirm {
        position: absolute;
        inset: 0;
        z-index: 30;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(15, 52, 80, 0.55);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        touch-action: none;
    }
    .marinex-quote-close-confirm.active {
        display: flex;
    }
    .marinex-quote-close-confirm-card {
        width: 100%;
        max-width: 360px;
        padding: 22px;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 20px 45px rgba(15, 52, 80, 0.28);
        text-align: center;
    }
    .marinex-quote-close-confirm-card h6 {
        margin: 0 0 8px;
        color: #0f3450;
        font-size: 17px;
        font-weight: 800;
    }
    .marinex-quote-close-confirm-card p {
        margin: 0 0 18px;
        color: #64748b;
        font-size: 13px;
        line-height: 1.5;
    }
    .marinex-quote-close-confirm-actions {
        display: flex;
        gap: 8px;
    }
    .marinex-quote-close-confirm-actions button {
        flex: 1;
        min-height: 44px;
        border-radius: 9px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }
    .marinex-quote-stay {
        border: 1px solid #cbd5e1;
        color: #0f3450;
        background: #ffffff;
    }
    .marinex-quote-discard {
        border: 1px solid #b91c1c;
        color: #ffffff;
        background: #b91c1c;
    }
    .marinex-bottom-sheet-overlay {
        position: fixed;
        inset: 0;
        z-index: 99999998;
        display: none;
        align-items: flex-end;
        justify-content: center;
        width: 100vw;
        height: 100dvh;
        min-height: 100vh;
        padding: 0;
        background: rgba(15, 52, 80, 0.65);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        transition: opacity 0.25s ease;
        overscroll-behavior: contain;
        touch-action: none;
    }
    .marinex-bottom-sheet-overlay.active {
        display: flex;
        opacity: 1;
    }
    .marinex-bottom-sheet-card {
        width: 100%;
        max-width: 520px;
        overflow: hidden;
        border: 1px solid rgba(15, 52, 80, 0.1);
        border-bottom: 0;
        border-radius: 20px 20px 0 0;
        background: #ffffff;
        box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        touch-action: auto;
    }
    .marinex-bottom-sheet-overlay.active .marinex-bottom-sheet-card {
        transform: translateY(0);
    }
    .marinex-sheet-header {
        flex-shrink: 0;
        padding: 14px 18px;
        border-bottom: 1px solid #e2e8f0;
        background: #ffffff;
    }
    .btn-close-sheet {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: #f1f5f9;
        color: #475569;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
    }
    @media (max-width: 575.98px) {
        .marinex-bottom-sheet-overlay {
            padding: 0 8px max(24px, env(safe-area-inset-bottom, 0px));
        }
        .marinex-bottom-sheet-card {
            border-bottom: 1px solid rgba(15, 52, 80, 0.1);
            border-radius: 18px;
        }
    }
    .marinex-quote-modal-body {
        flex: 1;
        overflow-y: auto !important;
        padding: 24px 20px 20px;
        display: flex;
        flex-direction: column;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }
    @media (max-width: 767.98px) {
        .marinex-quote-modal-overlay {
            padding: 12px !important;
        }
        .marinex-quote-modal-card {
            width: 100% !important;
            max-width: 100% !important;
            max-height: 92dvh !important;
            border-radius: 16px !important;
            margin: 0 !important;
        }
        .marinex-quote-modal-body {
            padding: 18px 14px !important;
        }
        .marinex-quote-modal-body .marinex-mode-bar,
        .marinex-quote-modal-body .marinex-callout {
            display: none !important;
        }
    }

    /* Lock body background scrolling completely without blocking inner modal scroll */
    html.sheet-open,
    body.sheet-open,
    html.drawer-open,
    body.drawer-open {
        overflow: hidden !important;
        overscroll-behavior: contain !important;
    }
    body.sheet-open {
        position: fixed !important;
        left: 0;
        right: 0;
        width: 100% !important;
    }
    body.sheet-open .quickquote-fab,
    body.sheet-open .js-open-quickquote {
        display: none !important;
    }

    /* Unified responsive quote modal shell */
    .marinex-quote-modal-header {
        position: relative;
        z-index: 20;
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        padding: 8px 12px 8px 20px;
        border-bottom: 1px solid #e2e8f0;
        background: #ffffff;
    }
    .marinex-quote-modal-title {
        margin: 0;
        color: #0f3450;
        font-size: 16px;
        font-weight: 800;
    }
    .marinex-quote-modal-header .marinex-quote-modal-close {
        position: static;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }
    .marinex-quote-modal-body {
        min-height: 0;
    }

    @media (max-width: 767.98px) {
        .marinex-quote-modal-overlay {
            align-items: stretch !important;
            padding: 0 !important;
        }
        .marinex-quote-modal-card {
            width: 100% !important;
            max-width: 100% !important;
            height: var(--marinex-modal-height, 100dvh) !important;
            max-height: none !important;
            margin: 0 !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            transform: none !important;
        }
        .marinex-quote-modal-header {
            min-height: calc(56px + env(safe-area-inset-top, 0px));
            padding-top: calc(8px + env(safe-area-inset-top, 0px));
        }
        .marinex-quote-modal-body {
            flex: 1 1 0 !important;
            height: 0 !important;
            min-height: 0 !important;
            padding: 0 !important;
            overflow-x: hidden !important;
            overflow-y: hidden !important;
            overscroll-behavior-y: contain;
        }
        .marinex-quote-modal-body .marinex-quote-card {
            flex: 1 1 0 !important;
            height: 100% !important;
            min-height: 100% !important;
            overflow: hidden !important;
        }
        .marinex-quote-modal-body .marinex-stepper-split-bar {
            position: sticky;
            top: 0;
            z-index: 18;
            margin: 0 !important;
            border-radius: 0 !important;
            box-shadow: 0 4px 12px rgba(15, 52, 80, 0.08);
        }
        .marinex-quote-modal-body .marinex-step-segment {
            min-width: 0;
            padding: 9px 6px !important;
            gap: 5px !important;
        }
        .marinex-quote-modal-body .marinex-step-segment span:not(.step-num) {
            min-width: 0;
            font-size: 11px !important;
            line-height: 1.25;
            white-space: normal !important;
            text-align: center;
        }
        .marinex-quote-modal-body .marinex-form-content {
            min-height: 0 !important;
            padding: 16px 16px 0 !important;
            overflow: visible !important;
        }
        .marinex-quote-modal-body .marinex-form-content form,
        .marinex-quote-modal-body .marinex-form-content .marinex-form-fields {
            min-height: 0 !important;
            overflow: visible !important;
        }
        .marinex-quote-modal-body .marinex-form-content .marinex-form-fields {
            padding-bottom: 12px;
        }
        .marinex-quote-modal-body .row {
            margin-right: -6px;
            margin-left: -6px;
        }
        .marinex-quote-modal-body .row > [class*="col-"] {
            padding-right: 6px;
            padding-left: 6px;
        }
        .marinex-quote-modal-body .col-6 {
            flex: 0 0 100%;
            width: 100%;
            max-width: 100%;
        }
        .marinex-quote-modal-body .marinex-input-label {
            margin-bottom: 5px !important;
            font-size: 11px !important;
            line-height: 1.3;
        }
        .marinex-quote-modal-body input[type="text"],
        .marinex-quote-modal-body input[type="number"],
        .marinex-quote-modal-body input[type="date"],
        .marinex-quote-modal-body input[type="email"],
        .marinex-quote-modal-body input[type="tel"],
        .marinex-quote-modal-body select,
        .marinex-quote-modal-body textarea,
        .marinex-quote-modal-body .marinex-field {
            width: 100%;
            min-height: 48px !important;
            height: 48px !important;
            padding-right: 12px !important;
            padding-left: 12px !important;
            font-size: 16px !important;
        }
        .marinex-quote-modal-body textarea,
        .marinex-quote-modal-body textarea.marinex-field {
            height: auto !important;
            min-height: 96px !important;
            padding-top: 11px !important;
            padding-bottom: 11px !important;
        }
        .marinex-quote-modal-body button,
        .marinex-quote-modal-body .marinex-chip,
        .marinex-quote-modal-body .marinex-toggle-pill {
            min-height: 44px;
        }
        .marinex-quote-modal-body .marinex-submode-bar {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 6px !important;
            padding: 5px !important;
        }
        .marinex-quote-modal-body .marinex-submode-btn {
            min-width: 0 !important;
            padding: 8px 4px !important;
            white-space: normal !important;
        }
        .marinex-quote-modal-body .marinex-submode-btn span {
            overflow-wrap: anywhere;
            white-space: normal !important;
            text-align: center;
        }
        .marinex-quote-modal-body .marinex-mode-select-grid {
            grid-template-columns: 1fr !important;
            gap: 10px;
        }
        .marinex-quote-modal-body .marinex-mode-select-card {
            min-height: 76px;
            padding: 12px !important;
            flex-direction: row;
            justify-content: flex-start;
        }
        .marinex-quote-modal-body .marinex-mode-select-card img {
            width: 34px;
            height: 34px;
        }
        .marinex-quote-modal-body .marinex-autocomplete-dropdown {
            max-height: min(240px, 38dvh);
        }
        .marinex-quote-modal-body .marinex-autocomplete-item {
            min-height: 44px;
            padding: 12px;
            font-size: 14px;
            line-height: 1.35;
        }
        .marinex-quote-modal-body .marinex-footer-nav {
            position: sticky !important;
            right: auto !important;
            bottom: 0;
            left: auto !important;
            z-index: 16;
            width: calc(100% + 32px) !important;
            margin: 16px -16px 0 !important;
            padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
            border-top: 1px solid #e2e8f0;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 -8px 24px rgba(15, 52, 80, 0.1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .marinex-quote-modal-body .btn-marinex-next,
        .marinex-quote-modal-body .btn-marinex-submit {
            width: 100% !important;
            min-height: 50px !important;
            height: 50px !important;
            font-size: 15px !important;
        }
        .marinex-quote-modal-body .cma-container-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .marinex-quote-modal-body .marinex-dims-group,
        .marinex-quote-modal-body .marinex-file-input-wrapper {
            width: 100%;
            min-height: 44px;
        }
        .marinex-quote-modal-body .iti,
        .marinex-quote-modal-body .iti input {
            width: 100%;
            max-width: 100%;
        }
        .marinex-quote-modal-body img,
        .marinex-quote-modal-body fieldset,
        .marinex-quote-modal-body .marinex-accordion-content {
            max-width: 100%;
        }
        .marinex-quote-close-confirm {
            position: fixed;
            padding: 16px;
        }
    }
    @media (max-width: 359.98px) {
        .marinex-quote-modal-title {
            font-size: 15px;
        }
        .marinex-quote-close-confirm-actions {
            flex-direction: column;
        }
    }
    @media (max-width: 767.98px) and (orientation: landscape) {
        .marinex-quote-modal-header {
            min-height: 48px;
            padding-top: 4px;
            padding-bottom: 4px;
        }
        .marinex-quote-modal-body .marinex-stepper-split-bar {
            padding-top: 3px;
            padding-bottom: 3px;
        }
    }

    /* intl-tel-input overrides */
    .iti { width: 100%; }
    .iti .iti__selected-dial-code { font-size: 12px; }
    .iti .iti__flag-container { z-index: 100001; }
    .mobile-sheet-body .iti { width: 100%; }
    .mobile-sheet-body .iti input { width: 100%; }

/*
 * Marinex quote form
 * The modal has exactly one vertical scroll owner:
 * .mxq--modal form > .marinex-form-fields.
 */
html.sheet-open,
body.sheet-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.sheet-open {
    position: fixed;
    inset-inline: 0;
    width: 100%;
}

/* Compact phone country picker. intl-tel-input appends this layer to body. */
body > .iti--container {
    z-index: 2147483500 !important;
    max-width: calc(100vw - 24px);
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body > .iti--container .iti__dropdown-content,
body > .iti--container .iti__country-list {
    width: min(320px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
    max-height: min(320px, 46dvh) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dbe3ea !important;
    border-radius: 12px;
    background: #fff !important;
    box-shadow: 0 18px 45px rgba(3, 18, 29, .28) !important;
}

/* Isolated country-code dialog; independent from the quote modal scroll tree. */
.mxq-country-modal {
    position: fixed;
    inset: var(--mxq-country-modal-top, 0px) 0 auto;
    z-index: 2147483640;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: var(--mxq-country-modal-height, 100dvh);
    padding: 16px;
    overflow: hidden;
    background: rgba(7, 25, 39, .48);
}

.mxq-country-modal.active {
    display: flex;
}

.mxq-country-modal-card {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: min(100%, 420px);
    max-height: min(620px, calc(100% - 24px));
    overflow: hidden;
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(3, 18, 29, .32);
}

.mxq-country-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 8px 10px 8px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f3450;
}

.mxq-country-modal-header strong {
    font-size: 16px;
    font-weight: 800;
}

.mxq-country-modal-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #eef2f6;
    color: #334155;
    font: 400 28px/1 Arial, sans-serif;
}

.mxq-country-search-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mxq-country-search {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

.mxq-country-list {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.mxq-country-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    color: #172b3a;
    text-align: left;
}

.mxq-country-option:active,
.mxq-country-option:hover {
    background: #f0faff;
}

.mxq-country-name {
    overflow: hidden;
    font-size: 13px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxq-country-dial {
    color: #0f6785;
    font-size: 13px;
    font-weight: 800;
}

#mobileQuoteModal .iti {
    display: flex !important;
    align-items: stretch;
    width: 100% !important;
    min-width: 0;
    height: 48px;
    overflow: visible;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#mobileQuoteModal .iti:focus-within {
    border-color: #00a1e4;
    box-shadow: 0 0 0 3px rgba(0, 161, 228, .12);
}

.mxq-phone-control {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 48px;
    margin: 0;
}

.mxq-country-trigger {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 7px;
    min-width: 86px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #cbd5e1;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.mxq-country-chevron {
    color: #64748b;
    font-size: 10px;
}

.mxq-phone-control > .iti {
    flex: 1 1 auto;
    min-width: 0;
}

.mxq-phone-control > .iti .iti__country-container {
    display: none !important;
    pointer-events: none !important;
}

.mxq-phone-control > .iti .marinex-phone-input {
    border-radius: 0 10px 10px 0 !important;
}

#mobileQuoteModal .iti .iti__country-container {
    position: relative !important;
    inset: auto !important;
    display: flex;
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    z-index: 2;
}

#mobileQuoteModal .iti .iti__selected-country {
    position: relative !important;
    inset: auto !important;
    display: flex;
    align-items: center;
    width: auto;
    min-width: 76px;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 10px !important;
    border: 0;
    border-right: 1px solid #dbe3ea;
    border-radius: 9px 0 0 9px;
    background: #f8fafc;
    pointer-events: auto !important;
    cursor: pointer;
}

#mobileQuoteModal .iti .iti__selected-dial-code {
    margin-left: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#mobileQuoteModal .iti .marinex-phone-input {
    position: relative;
    flex: 1 1 auto;
    width: 0 !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 9px 9px 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    line-height: 46px;
}

#mobileQuoteModal .iti .marinex-phone-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

#mobileQuoteModal .marinex-contact-grid {
    align-items: start;
    row-gap: 12px;
}

#mobileQuoteModal .marinex-phone-field {
    position: relative;
    min-width: 0;
    overflow: visible;
}

.marinex-quote-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh !important;
    min-height: 100dvh;
    padding: clamp(12px, 2vw, 24px);
    overflow: hidden !important;
    overscroll-behavior: contain;
    background: rgba(7, 25, 39, .66);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.marinex-quote-modal-overlay.active {
    display: flex;
}

.marinex-quote-modal-card {
    position: relative;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(100%, 760px);
    height: min(92dvh, 850px) !important;
    max-height: 100%;
    min-height: 0;
    overflow: hidden !important;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 22px;
    background: #f8fafc;
    box-shadow: 0 28px 80px rgba(3, 18, 29, .32);
}

.marinex-quote-modal-header {
    position: relative !important;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px 16px 12px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.marinex-quote-modal-title {
    margin: 0;
    color: #0f3450;
    font-size: 18px;
    font-weight: 800;
}

.marinex-quote-modal-close {
    display: grid;
    place-items: center;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px;
    margin: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 12px;
    background: #eef2f6;
    color: #334155;
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
}

.marinex-quote-modal-body {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column;
    min-width: 0;
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
}

#mobileQuoteModal .marinex-quote-modal-body > [wire\:id],
#mobileQuoteModal .marinex-quote-modal-body > .mxq--modal {
    flex: 1 1 0 !important;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
}

#mobileQuoteModal .mxq--modal {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#mobileQuoteModal .mxq--modal > .marinex-callout,
#mobileQuoteModal .mxq--modal > .marinex-mode-bar {
    display: none !important;
}

#mobileQuoteModal .mxq--modal > .marinex-stepper-split-bar {
    position: relative !important;
    top: auto !important;
    flex: none;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

#mobileQuoteModal .mxq--modal > .marinex-selected-mode {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex: none;
    margin: 0 !important;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: #f8fafc;
}

#mobileQuoteModal .mxq--modal > .marinex-selected-mode img {
    width: 24px;
    height: 24px;
}

#mobileQuoteModal .mxq--modal > .marinex-selected-mode span {
    font-size: 13px;
}

#mobileQuoteModal .mxq--modal .marinex-change-mode {
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid #bae6fd;
    border-radius: 9px;
    background: #fff;
    color: #007cae;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

#mobileQuoteModal .mxq--modal > .marinex-form-content {
    flex: 1 1 0;
    min-height: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 10px 0 20px;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-title strong {
    color: #0f3450;
    font-size: 19px;
    font-weight: 800;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-title span {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-card {
    min-width: 0;
    min-height: 150px;
    padding: 18px 10px !important;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-card.active {
    border-color: #00a1e4;
    background: #f0faff;
    box-shadow: 0 0 0 3px rgba(0, 161, 228, .1);
}

#mobileQuoteModal .mxq--modal .marinex-mode-select-card small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

#mobileQuoteModal .mxq--modal > .marinex-form-content > form {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

#mobileQuoteModal .mxq--modal > .marinex-form-content > form > .marinex-form-fields {
    min-height: 0 !important;
    padding: 18px 18px 28px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-gutter: stable;
}

#mobileQuoteModal .mxq--modal .marinex-footer-nav {
    position: relative !important;
    inset: auto !important;
    z-index: 3;
    flex: none;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid #dbe3ea;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 24px rgba(15, 52, 80, .08);
}

#mobileQuoteModal .mxq--modal .marinex-autocomplete-wrapper {
    position: relative;
}

#mobileQuoteModal .mxq--modal .marinex-autocomplete-dropdown {
    position: absolute !important;
    z-index: 40 !important;
    inset-inline: 0 !important;
    top: calc(100% + 6px) !important;
    max-height: min(34dvh, 280px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#mobileQuoteModal .mxq--modal .marinex-autocomplete-item {
    min-height: 48px;
    touch-action: manipulation;
}

.mxq .marinex-autocomplete-item {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    gap: 3px;
    width: 100%;
    text-align: left;
}

.mxq .marinex-autocomplete-primary {
    display: flex;
    align-items: baseline;
    gap: 5px;
    max-width: 100%;
    color: #172b3a;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-transform: uppercase;
}

.mxq .marinex-autocomplete-primary > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxq .marinex-autocomplete-code {
    flex: none;
    color: #0f6785;
    font-weight: 800;
    white-space: nowrap;
}

.mxq .marinex-autocomplete-country {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mxq .marinex-autocomplete-attribution {
    display: block;
    padding: 7px 12px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.2;
    text-align: right;
    text-decoration: none;
}

.mxq .marinex-autocomplete-attribution:hover {
    color: #64748b;
    text-decoration: underline;
}

.marinex-quote-close-confirm {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(7, 25, 39, .6);
}

.marinex-quote-close-confirm.active {
    display: grid;
}

@media (max-width: 767.98px) {
    .mxq-country-modal {
        align-items: stretch;
        padding: 0;
        background: #fff;
    }

    .mxq-country-modal-card {
        width: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body > .iti--container {
        max-width: calc(100vw - 32px);
    }

    body > .iti--container .iti__dropdown-content,
    body > .iti--container .iti__country-list {
        width: min(300px, calc(100vw - 32px)) !important;
        max-height: min(280px, 42dvh) !important;
    }

    .marinex-quote-modal-overlay {
        inset: var(--marinex-modal-top, 0px) 0 auto !important;
        align-items: stretch;
        width: 100vw !important;
        height: var(--marinex-modal-height, 100dvh) !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .marinex-quote-modal-card {
        width: 100%;
        height: 100% !important;
        max-height: none !important;
        min-height: 0 !important;
        border: 0;
        border-radius: 0;
    }

    .marinex-quote-modal-header {
        min-height: 58px;
        padding: max(8px, env(safe-area-inset-top)) 12px 8px 16px;
    }

    .marinex-quote-modal-close {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px;
    }

    #mobileQuoteModal .mxq--modal > .marinex-stepper-split-bar {
        min-height: 38px;
        padding: 4px 8px !important;
    }

    #mobileQuoteModal .mxq--modal > .marinex-stepper-split-bar .marinex-step-segment {
        min-height: 30px;
        padding: 4px 6px !important;
        gap: 4px !important;
    }

    #mobileQuoteModal .mxq--modal > .marinex-stepper-split-bar .step-num {
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: 10px;
    }

    #mobileQuoteModal .mxq--modal > .marinex-stepper-split-bar .marinex-step-segment > span:not(.step-num) {
        font-size: 9px !important;
        line-height: 1.15;
    }

    #mobileQuoteModal .mxq--modal > .marinex-selected-mode {
        min-height: 38px;
        gap: 7px;
        padding: 4px 10px;
    }

    #mobileQuoteModal .mxq--modal > .marinex-selected-mode img {
        width: 20px;
        height: 20px;
    }

    #mobileQuoteModal .mxq--modal > .marinex-selected-mode span {
        font-size: 11px;
    }

    #mobileQuoteModal .mxq--modal .marinex-change-mode {
        min-height: 30px;
        padding: 4px 9px;
        font-size: 10px;
    }

    #mobileQuoteModal .mxq--modal .marinex-mode-select-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    #mobileQuoteModal .mxq--modal .marinex-mode-select-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 82px;
        justify-items: start;
        column-gap: 12px;
        row-gap: 2px;
        padding: 13px 16px !important;
        text-align: left;
    }

    #mobileQuoteModal .mxq--modal .marinex-mode-select-card img {
        grid-row: 1 / 3;
        width: 38px;
        height: 38px;
        align-self: center;
    }

    #mobileQuoteModal .mxq--modal .marinex-mode-select-card span,
    #mobileQuoteModal .mxq--modal .marinex-mode-select-card small {
        text-align: left;
    }

    #mobileQuoteModal .mxq--modal > .marinex-form-content > form > .marinex-form-fields {
        scroll-padding-top: 12px;
        scroll-padding-bottom: 12px;
        padding: 14px 12px 24px;
    }

    #mobileQuoteModal .mxq--modal .marinex-footer-nav {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    }

    #mobileQuoteModal .marinex-contact-grid > [class*="col-"] {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #mobileQuoteModal.keyboard-open .mxq--modal .marinex-footer-nav {
        display: none !important;
    }

    #mobileQuoteModal.keyboard-open .mxq--modal > .marinex-form-content > form {
        grid-template-rows: minmax(0, 1fr) !important;
    }

    #mobileQuoteModal.keyboard-open .mxq--modal > .marinex-form-content > form > .marinex-form-fields {
        padding-bottom: 16px;
        scroll-padding-bottom: 16px;
    }
}

/*
 * Isolated quote dialog contract.
 * This final layer is authoritative: every ancestor participates in one
 * bounded flex chain and [data-mxq-scroll] is the only vertical scroll owner.
 */
#mobileQuoteModal[data-mxq-modal] {
    position: fixed !important;
    inset: var(--marinex-modal-top, 0px) 0 auto !important;
    z-index: 2147483000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: var(--marinex-modal-height, 100dvh) !important;
    min-height: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
    background: rgba(7, 25, 39, .66) !important;
    opacity: 1 !important;
    overscroll-behavior: none;
}

#mobileQuoteModal[data-mxq-modal].active {
    display: flex !important;
}

#mobileQuoteModal [data-mxq-dialog] {
    display: flex !important;
    flex-direction: column !important;
    width: min(760px, 100%) !important;
    height: min(860px, calc(100% - 16px)) !important;
    min-height: 0 !important;
    max-width: 760px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #fff !important;
    transform: none !important;
}

#mobileQuoteModal .marinex-quote-modal-header {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#mobileQuoteModal [data-mxq-body] {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#mobileQuoteModal [data-mxq-body] > [data-mxq-root],
#mobileQuoteModal [data-mxq-root][data-mxq-variant="modal"] {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#mobileQuoteModal [data-mxq-root] > .marinex-callout,
#mobileQuoteModal [data-mxq-root] > .marinex-mode-bar {
    display: none !important;
}

#mobileQuoteModal [data-mxq-root] > .marinex-selected-mode,
#mobileQuoteModal [data-mxq-root] > .marinex-stepper-split-bar {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#mobileQuoteModal [data-mxq-root] > .marinex-form-content {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#mobileQuoteModal [data-mxq-form] {
    display: grid !important;
    flex: 1 1 0 !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

#mobileQuoteModal [data-mxq-scroll] {
    position: relative;
    min-width: 0;
    min-height: 0 !important;
    padding: 18px 18px 28px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

#mobileQuoteModal [data-mxq-footer] {
    position: relative !important;
    inset: auto !important;
    z-index: 4 !important;
    grid-row: 2;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid #dbe3ea;
    background: #fff;
}

#mobileQuoteModal .marinex-recaptcha {
    min-height: 78px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    #mobileQuoteModal[data-mxq-modal] {
        align-items: stretch !important;
        padding: 0 !important;
    }

    #mobileQuoteModal [data-mxq-dialog] {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #mobileQuoteModal [data-mxq-scroll] {
        padding: 14px 12px 24px;
        scroll-padding-top: 12px;
        scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    #mobileQuoteModal [data-mxq-footer] {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    }

    #mobileQuoteModal.keyboard-open [data-mxq-form] {
        grid-template-rows: minmax(0, 1fr) !important;
    }

    #mobileQuoteModal.keyboard-open [data-mxq-footer] {
        display: none !important;
    }
}
