#idohome-financing-summary {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 7px;
            margin-top: 9px;
            color: #a01d22;
            font-size: 13px;
            line-height: 1.5;
        }

        #idohome-financing-summary svg {
            width: 19px;
            height: 19px;
            flex-shrink: 0;
            stroke: currentColor;
            stroke-width: 1.8;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        #idohome-financing-summary strong {
            font-weight: 600;
        }

        #idohome-financing-trigger {
            background: none;
            border: 0;
            padding: 2px;
            color: var(--primary, #000);
            font-size: 13px;
            text-decoration: underline;
            cursor: pointer;
        }

        body.idohome-financing-open {
            overflow: hidden;
        }

        #idohome-financing-modal[hidden] {
            display: none !important;
        }

        #idohome-financing-modal {
            position: fixed;
            inset: 0;
            z-index: 1200;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            background: rgba(0, 0, 0, .55);
        }

        #idohome-financing-modal .if-dialog {
            box-sizing: border-box;
            width: 100%;
            max-width: 490px;
            max-height: 90vh;
            overflow-y: auto;
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 20px 55px rgba(0, 0, 0, .2);
        }

        #idohome-financing-modal .if-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        #idohome-financing-modal h2 {
            margin: 0;
            font-size: 21px;
            font-weight: 700;
        }

        #idohome-financing-modal .if-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            line-height: 1;
            appearance: none;
            width: 33px;
            height: 33px;
            border: none;
            border-radius: 50%;
            color: black;
            background: #f1f1f1;
            font-size: 23px;
            cursor: pointer;
        }

        #idohome-financing-modal button.if-close {
            color: black;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            line-height: 0 !important;
        }

        #idohome-financing-modal button.if-close svg {
            display: block;
            width: 16px;
            height: 16px;
            flex: none;
            margin: 0;
            padding: 0;
        }

        #idohome-financing-modal .if-caption {
            margin: 8px 0 22px;
            font-size: 13px;
            color: #666;
        }

        #idohome-financing-modal .if-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        #idohome-financing-modal .if-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 11px;
            min-height: 145px;
            width: 100%;
            padding: 16px 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: white;
            color: black;
            text-align: center;
            cursor: pointer;
        }

        #idohome-financing-modal .if-option:not(:disabled):hover {
            border-color: #a01d22;
            box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
        }

        #idohome-financing-modal .if-option:disabled {
            background: white;
            cursor: not-allowed;
        }

        #idohome-financing-modal .if-logo {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 135px;
            max-width: 100%;
            height: 48px;
        }

        #idohome-financing-modal .if-logo img {
            display: block;
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 48px;
            object-fit: contain;
        }

        #idohome-financing-modal .if-name {
            font-size: 14px;
            color: black;
            font-weight: 500;
        }

        #idohome-financing-modal .if-action {
            color: #a01d22;
            font-size: 12px;
            text-decoration: underline;
        }

        #idohome-financing-modal .if-option:disabled .if-action {
            color: #777;
            text-decoration: none;
        }

        #idohome-financing-trigger:focus-visible,
        #idohome-financing-modal button:focus-visible {
            outline: 2px solid #a01d22;
            outline-offset: 3px;
        }

        @media (max-width: 420px) {
            #idohome-financing-modal .if-dialog {
                padding: 20px 15px;
            }
            #idohome-financing-modal .if-grid {
                grid-template-columns: 1fr;
            }
            #idohome-financing-modal .if-option {
                min-height: 110px;
            }
        }
