.upsell__item_list{
    padding-bottom: 200px;
    margin-right: 25px;
}

::-webkit-scrollbar {
-webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
width: 4px;
margin-right:25px;
}

/* Track */
::-webkit-scrollbar-track {
background-color: rgba(167, 196, 229, 0.4);
border-radius: 3px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: rgba(38, 56, 86, 0.4);
border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
opacity: 0.6;
}

.upsell__bottom{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    row-gap:12px;
    height:130px;
}
.upsell__total_wrapper{
    display: flex;
    align-items:center;
    justify-content:flex-end;
    width: 100%;
}
.upsell__total {
    align-items: center;
    width: 316px;
    margin-left: auto;
    padding: 0 30px;
}

.upsell__total__header {
    margin-right: auto;
    margin-left:0;
}

.upsell__cta_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.upsell__bottom .ancestry-bundle-page__item__switch{
    margin-right:0;
}
.upsell__get_report {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 316px;
    max-width: 316px;
    height: 48px;
    border-radius: 30px;
}

.upsell__select_all {
    background: rgba(232, 239, 248, 0.6);
    border-radius: 48px;
    width: 180px;
    height: 48px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upsell--dark{
    background-color: #1f2630;
    filter: drop-shadow(0px 4px 40px rgba(0, 0, 0, 0.65));
    border-radius: 4px;
}

.upsell--dark .background-layer{
    background: rgba(103, 134, 172, 0.2);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
    display: none;
}

.upsell--dark .ancestry-bundle-invoice-section{
    background: #0C0E12;
    transform: matrix(1, 0, 0, 1, 0, 0);
    box-shadow: 0px 4px 60px rgb(0 0 0 / 45%);
}

.upsell--dark .ancestry-bundle-invoice-list li{
    color: #FFF;
}
.upsell--dark .ancestry-bundle-page__add-all-reports{
    width: 100%;
    max-width: 688px;
    margin: auto;
    padding: 0;
    margin-bottom: 14px;
}

.upsell--dark .ancestry-bundle-page__add-all-reports div{
    color: #FFF;
}

.upsell--dark .ancestry-bundle-page__item{
    mix-blend-mode: normal;
    border: 1px solid rgba(103, 134, 172, 0.6);
    border-radius: 12px;
    background: none;
}

.upsell--dark .ancestry-bundle-page__item.active{
    background: rgba(38, 56, 86, 0.6);
    mix-blend-mode: normal;
    border: 1px solid rgba(103, 134, 172, 0.6);
    box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.45);    
}

.upsell--dark .ancestry-bundle-page__item__switch .apple-switch{
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}
.upsell--dark .ancestry-bundle-page__item.active .apple-switch{
  border:none;      
}

.upsell--dark .ancestry-bundle-page__item__content__header h3{
    color: #FFF;
}
.upsell--dark .ancestry-bundle-page__item__content__text{
    color: #FFF;
}
.upsell--dark .ancestry-bundle-page__item__price .new{
    color: #FFF;
}
.upsell--dark .ancestry-bundle-page__item__price .old{
    color: #6786AC;
}

.upsell--dark .ancestry-bundle-total{
    color: #FFF;
}

.upsell--dark .upsell__select_all{
    background: #263856;
    color: #FFFFFF;
    font-weight: 600;
}

.upsell--dark .upsell__bottom{
    background: #0C0E12;
    box-shadow: 0px 4px 10px rgb(74 93 128 / 13%);
}



@media (max-width: 572px) {
    .upsell__item_list{
        margin-right: 5px;
    }
    .upsell__bottom{
        height: auto;
        padding:20px 10px;
    }
    .upsell__select_all{
        order:1;
        width:100%;
        font-weight: 600;
    }
    .upsell__total_wrapper{
        order:2;
    }
    .upsell__total{
        width: 100%;
    }
    .upsell__get_report{
        order:3;
        max-width: 100%;
        width: 100%;
        height: 56px;
    }
}