.extended-warranty {
    flex-direction: row;
    white-space: nowrap;
    align-items: center;
    grid-gap: 20px;
    margin-top: 40px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: background 100ms ease 0s;
    pointer-events: none;
    visibility: hidden;
}

.modal-in {
    background: #14161b;
}

.warranty-popup .modal-in {
    display: flex;
    border-radius: 10px;
    box-shadow: inset 0px 0px 0px 1px #292929;
    transform: translateY(30px);
    opacity: 0;
    transition: 150ms ease 0s;
}

.warranty-popup-l {
    display: flex;
    align-items: center;
    justify-content: center;
}

.warranty-popup-l img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.warranty-popup-r {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    max-width: 600px;
}

.warranty-popup-r .btn-primary,.warranty-popup-r .btn-secondary {
    padding: 15px 38px;
}

.warranty-popup-r .btn-row {
    justify-content: flex-end;
}

.warranty-popup-r h3 {
    font-size: 22px;
}

.warranty-popup-r > p {
    font-size: 14px;
    line-height: 24px;
    margin-top: 10px;
}

.warranty-option label {
    transition: 150ms ease 0s;
    background: #21242c;
    border: 2px solid #393d4a;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    margin: 0;
    cursor: pointer;
}

.warranty-option {
    flex-grow: 1;
}

.warranty-option > input {
    display: none;
}

.warranty-option > input:checked+label {
    border: 2px solid var(--primary-color);
}

.warranty-option label:hover {
    background: #2c303b;
}

.modal.active {
    opacity: 1;
    background: #00000087;
    visibility: visible;
    pointer-events: all;
}

.active.modal-in {
    transform: translateY(0px);
    opacity: 1;
}
