.dynamic-bundle{
    display: flex;
    margin-bottom: 5rem;
    padding: 35px 0;
    border: 1px solid #e8e8e8;
    flex-wrap: wrap;
    justify-content: center;
}

.dynamic-bundle-swipe-block{
    position: relative;
    width: auto;
    margin-right: 25px;
    overflow-x: hidden;
}
.dynamic-bundle-swipe-slider{
    width: fit-content;
    display: flex;
    flex-wrap: nowrap;
    padding: 0 25px;
    transition-property: all;
    transition-duration: 0.5s;
    gap: 20px;
}
.dynamic-bundle-shadow{
    position: absolute;
    top: 0;
    left: -10px;
    bottom: 0;
    z-index: 1;
    box-shadow: 10px 0 10px #fff;
    width: 10px;
}
.dynamic-bundle-shadow.dynamic-bundle-shadow-right{
    left: auto;
    right: -10px;
    box-shadow: -10px 0 10px #fff;
}

.bundle-text-h2{
    font-size: 1.5rem;
    font-family: Montserrat, sans-serif;
}

.bundle-element{
    display: flex;
    align-items: center;
    min-width: 140px;
    text-align: center;
}
.bundle-plus-element, .bundle-element-chevron, .bundle-equals-element {
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8d8282;
}
.bundle-element-chevron{
    position: absolute;
    left: 0;top: 0;bottom: 0;
    cursor: pointer;
    z-index: 2;
    height: 140px;
    margin: auto;
}
.bundle-element-chevron img{
    max-width: 100%;
    height: 50%;
}
.bundle-element-chevron.bundle-element-chevron-right{
    left: auto;
    right: 0;
}
.bundle-element-chevron.bundle-element-chevron-right img{
    transform: scale(-1, -1);
}
.bundle-element-chevron:not(.bundle-element-chevron-right) {
    left: -5px;
}
.bundle-save-element{
    margin-left: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    background: #E40521;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25em;
    text-align: center;
    margin-bottom: 20px;
}

.bundle-element-image{
    display: block;
    margin-bottom: 2rem;
}

.bundle-element-image img{
    max-width: 100px;
    max-height: 100px;
}

.bundle-price.old, .bundle-old-price{
    text-decoration: line-through;
}
.bundle-price.text-danger{
    font-weight: bold;
}

.bundle-element-quick-view{
    /*margin-top: auto;*/
}
.bundle-element-price{
    margin-top: auto;
    padding-top: 10px;
}

.bundle-element-name{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 4;
    line-height: 1.3rem;
    max-height: 5.2rem;
}

.dynamic-bundle-loader-wrapper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255, 0.3);
    align-items: center;
    justify-content: center;
    z-index: 20;
    display: none;
}
.dynamic-bundle-loader {
    width: 60px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side,#000 90%,#0000);
    background:
            var(--_g) 0%   50%,
            var(--_g) 50%  50%,
            var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}
@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}
.dynamic-bundle-errors .alert{
    padding: 4px;
    margin-top: 4px;
    text-align: center;
    max-width: 250px;
}
.bundle-additional-text-bottom{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
}

.bundle-to-cart{
    align-self: flex-end;
}
@media(min-width: 772px){
    .bundle-to-cart .bundle-price{
        text-align: right;
    }
    .bundle-element{
        flex-direction: column;
    }
}
@media(max-width: 772px){
    .bundle-to-cart {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        flex-wrap: wrap;
    }
    .dynamic-bundle-add-to-cart{
        width: 100%;
    }
    .bundle-save-element{
        border-radius: 0;
        background: none;
        color: #E40521;
        width: auto;
        height: auto;
    }
    .bundle-element{
        flex-wrap: wrap;
        align-items: flex-start;
        padding: 10px 0;
        border-bottom: 1px solid #e8e8e8;
        text-align: left;
    }
    .dynamic-bundle{
        flex-wrap: nowrap;
        flex-direction: column;
        padding: 0;
    }
    .dynamic-bundle-swipe-block{
        width: 100%;
        margin: 0;
    }
    .bundle-save-element{
        margin: 0;
    }
    .dynamic-bundle-shadow, .bundle-element-chevron, .bundle-element-quick-view-block{
        display: none;
    }
    .bundle-element .bundle-element-image {
        width: 110px;
        height: 110px;
        margin: 0;
        padding: 5px;
    }
    .bundle-element-name-sizes {
        width: calc(100% - 110px);
        padding: 5px;
    }
    .dynamic-bundle-swipe-slider{
        padding: 0;
        flex-direction: column;
        align-items: center;
        transform: translate3d(0px, 0px, 0px) !important;
    }
    .bundle-plus-element{
        height: auto;
        width: 70px;
        background: #fff;
        margin-top: -20px;
    }
    .bundle-element-price{
        width: 100%;
        padding: 5px;
        text-align: center;
    }
    .bundle-additional-text-bottom{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .dynamic-bundle-errors{
        width: 100%
    }
    .bundle-equals-element {
        width: 100%;
    }
}

.dynamic-bundle-variation option:disabled {
    color: #5252524d;
}

@media (min-width: 773px) {
    .dynamic-bundle  .dynamic-bundle-swipe-block {
        max-width: calc(100% - 290px);
    }
}

.bundle-element-quick-view-block .bundle-element-quick-view {
    font-size: 14px;
}