.product-leasing-modal {
    color: #545454;
}
.product-leasing-modal .flex-modal-item__content {
    max-width: 950px;
    width: 100%;
    padding: 0;
}
.product-leasing-modal .flex-modal-item__close {
    color: #fff;
}
.product-leasing-modal__header {
    padding: 15px 45px 15px 15px;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    background-color: #5f646b;
}
.product-leasing-modal__content {
    overflow: hidden;
}
.product-leasing-modal__step {
    display: none;
    grid-template-rows: min-content min-content 1fr;
    grid-template-columns: 1fr auto;
    padding: 15px;
    gap: 20px 30px;
}
.product-leasing-modal__step--visible {
    display: grid;
}
.product-leasing-modal__step-header {
    grid-area: 1 / 1 / 2 / 3;
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-rows: min-content 1fr;
    gap: 0 15px;
    align-items: center;
    color: #000;
}
.product-leasing-modal--submission-success .product-leasing-modal__step-header {
    display: none;
}
.product-leasing-modal__step-header-icon {
    grid-area: 1 / 1 / 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    background-color: #f96915;
    border-radius: 100%;
    cursor: default;
}
.product-leasing-modal__step--2 .product-leasing-modal__step-header-icon,
.product-leasing-modal__btn--go-forward {
    cursor: pointer;
    transition: background-color .4s;
}
.product-leasing-modal__step--2 .product-leasing-modal__step-header-icon:hover,
.product-leasing-modal__step--2 .product-leasing-modal__step-header-icon:focus {
    background-color: #ba5a28;
}
.product-leasing-modal__step-header-info {
    color: #9fa1a6;
    font-weight: 700;
    line-height: 1;
}
.product-leasing-modal__step-header-title {
    font-size: 20px;
    font-weight: 700;
}
.product-leasing-modal__step-col--main {
    grid-area: 2 / 1 / 3 / 3;
}
.product-leasing-modal__step-col--summary {
    grid-area: 3 / 1 / 4 / 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px;
    color: #5f646b;
    background-color: #eeeeef;
}

.product-leasing-modal__step-col-main {
    display: flex;
    flex-direction: column;
}
.product-leasing-modal__step-col-footer {
    display: flex;
    gap: 15px;
    flex-direction: column;
    margin-top: 20px;
}

.product-leasing-modal__divider {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 10px;
    column-gap: 20px;
    margin: 1em 0;
    font-size: 1.2em;
}
.product-leasing-modal__divider:first-child {
    margin-top: .5em;
}
.product-leasing-modal__divider:after {
    content: '';
    flex-grow: 1;
    min-width: 20px;
    height: 5px;
    background-color: #eeeeef;
}
.product-leasing-modal__step-col--summary .product-leasing-modal__divider:after {
    background-color: #fff;
}
.product-leasing-modal__name:before {
    content: ' ';
}
.product-leasing-modal__option {
    margin: 1em 0;
}
.product-leasing-modal__option-key {
    display: block;
}
.product-leasing-modal__option-info-button.product-leasing-modal__option-info-button {
    position: relative;
    display: inline-block;
    margin-top: -1px;
    margin-left: 6px;
    padding: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #f96915;
    border-radius: 50%;
    color: #f96915;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.product-leasing-modal__option-info-button:hover,
.product-leasing-modal__option--info-visible .product-leasing-modal__option-info-button {
    color: #fff;
    background-color: #f96915;
}
.product-leasing-modal__option-info-button-info-mark,
.product-leasing-modal__option-info-button-close-mark {
    position: absolute;
    left: 0;
    top: 1px;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 400;
    pointer-events: none;
}
.product-leasing-modal__option-info-button-close-mark {
    display: none;
    font-size: 12px;
}
.product-leasing-modal__option-info-area {
    display: none;
    padding: 8px 0;
}
.product-leasing-modal__option--info-visible .product-leasing-modal__option-info-button-info-mark {
    display: none;
}
.product-leasing-modal__option--info-visible .product-leasing-modal__option-info-button-close-mark {
    display: flex;
}
.product-leasing-modal__option--info-visible .product-leasing-modal__option-info-area {
    display: block;
}

.product-leasing-modal__leasing-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 20px;
}
.product-leasing-modal__leasing-options .product-leasing-modal__option {
    flex: 1 0 100%; /* revert to basis of 47% to enable columns (avoided due to big info texts) */
    margin: 0;
}
.product-leasing-modal__option-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: .5em;
}
.product-leasing-modal__option-selection-item {
    padding: 4px 8px;
    border: 1px solid #dadada;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 20px;
    background-color: #f0f0f0;
    color: #686868;
    cursor: pointer;
}
.product-leasing-modal__option-selection-item--active {
    color: #333;
    outline: 2px solid #f96915;
    background-color: #fff;
    border-color: #fff;
}
.product-leasing-modal__option-selection-item-value-suffix {
    font-weight: normal;
}

.product-leasing-modal__option-selection-item:before,
.product-leasing-modal__option-selection-item-value-suffix:before {
    content: '+';
}

[data-key="bonusPackage1"] .product-leasing-modal__option-selection-item:before,
[data-key="bonusPackage2"] .product-leasing-modal__option-selection-item:before {
    content: '';
}

.product-leasing-modal__option[data-key="leasingDuration"] .product-leasing-modal__option-selection-item:before,
.product-leasing-modal__option[data-key="leasingDuration"] .product-leasing-modal__option-selection-item-value-suffix:before {
    content: '';
}
.product-leasing-modal__info-link {
    display: inline-block;
    margin-top: 1.2em;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.product-leasing-modal__summary-headline {
    display: block;
    font-size: 18px;
    text-align: center;
}
.product-leasing-modal__summary-total {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: .3em 0;
    font-size: 2em;
    font-weight: 700;
    color: #f96915;
}
.product-leasing-modal__summary-item {
    display: flex;
    gap: 20px;
    margin: .5em 0;
}
.product-leasing-modal__summary-item-value {
    flex-grow: 1;
    text-align: right;
    white-space: nowrap;
}

.product-leasing-modal__quantity {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/* over-specification intended to override button:not(.primary) */
.product-leasing-modal__quantity-btn.product-leasing-modal__quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    font-size: 16px;
    font-weight: 700;
    border: 0;
    border-radius: var(--form-radius);
    color: #f96915;
    background-color: #fff;
    cursor: pointer;
}
.product-leasing-modal__quantity-btn:hover {
    background-color: #ba5a28;
    color: #fff;
}
/* over-specification intended to override base input styles */
.product-leasing-modal__quantity-input.product-leasing-modal__quantity-input {
    width: 100%;
    height: 40px;
    border: 0;
    text-align: center;
    -moz-appearance: textfield;
}
.product-leasing-modal__btn--submit {
    position: relative;
    transition: all .4s ease;
}
.product-leasing-modal__btn--submit:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all .3s ease;
}
.product-leasing-modal--submission-pending .product-leasing-modal__btn--submit:before {
    animation: product-leasing-modal__spinner 0.7s linear infinite;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.product-leasing-modal--submission-success .product-leasing-modal__btn--submit {
    pointer-events: none;
}
.product-leasing-modal--submission-success .product-leasing-modal__btn--submit:before {
    content: "\2713";
    font-size: 20px;
    line-height: 1;
    transform: translate(-50%, -50%) scale(1);
    border: 0;
    opacity: 1;
}
.product-leasing-modal__btn--submit > span {
    position: relative;
    transition: opacity .3s;
}
.product-leasing-modal--submission-pending .product-leasing-modal__btn--submit > span,
.product-leasing-modal--submission-success .product-leasing-modal__btn--submit > span {
    opacity: 0;
}
.product-leasing-modal--submission-success .product-leasing-modal__btn--go-back {
    display: none;
}

@keyframes product-leasing-modal__spinner {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@media (min-width: 768px) {
    .product-leasing-modal__header {
        padding: 20px 45px 20px 30px;
    }
    .product-leasing-modal__step {
        grid-template-rows: min-content 1fr;
        padding: 20px 30px 30px;
    }
    .product-leasing-modal__step-col--main {
        grid-area: 2 / 1 / 3 / 2;
    }
    .product-leasing-modal__step-col--summary {
        grid-area: 2 / 2 / 3 / 3;
        margin-top: unset;
        min-width: 280px;
        max-width: 320px;
    }
    .product-leasing-modal__summary-headline {
        font-size: 20px;
    }

    .product-leasing-modal__option-info-area {
        font-size: .8em;
    }
}

@media (min-width: 1024px) {
    .product-leasing-modal__header {
        font-size: 20px;
        padding: 20px 55px 20px 40px;
    }
    .product-leasing-modal__step {
        padding: 20px 40px 40px;
    }
    .product-leasing-modal__step-header-title {
        font-size: 28px;
    }
    .product-leasing-modal__step-col--summary {
        min-width: 320px; /* ensure a 4-digit total doesn't extend the summary col */
    }
    .product-leasing-modal__summary-item {
        gap: 30px;
    }
}
