/* Bundle recommendations for Bootstrap 4*/
.flex-bundle-recommendations-bs4 .dropdown-toggle {
    text-align: left;
    background-color: white;
}

.flex-bundle-recommendations-bs4 .dropdown-toggle:hover {
    background-color: #e5e5e5;
    color: #666;
}

.flex-bundle-recommendations-bs4 .card {
    overflow: visible;
    border-color: #bbb;
}
.flex-bundle-recommendations-bs4 .card.selected {
    overflow: visible;
    border-color: #B0B7EF;
}

.flex-bundle-recommendations-bs4 .tab-nav {
    font-size: 12px;
}

.flex-bundle-recommendations-bs4 .bundle-caret {
    left: 23px;
}

.flex-bundle-recommendations-bs4 .bundle-product .caption {
    padding-top: 15px;
}

.flex-bundle-recommendations-bs4 .btn-default:hover {
    background-color: #ddd;
}

.bundle-box .btn-cart.inactive {
    background-color: #cccccc;
    pointer-events: none;
    border: 1px solid #cccccc;
}

.bundle-box .bundle-switch li a {
    display: block;
}

.modal-bundles .bundle-box .bundle-total .total-cover {
    width: calc(100% - 30px);
    top: 0;
    z-index: 3;
    display: block;
    height: calc(100% + 2px);
    position: absolute;
    float: right;
    background-color: #fff;
}

.modal-bundles .product-cover {
    position: absolute;
    top: -2px;
    background: #fff;
    width: calc(100% + 4px);
    left: -2px;
    z-index: 10;
    border-radius: 6px;
    display: block;
    height: calc(100% + 4px);
}

.bundle-box {
    border-radius: 5px;
    position: relative;
}

.pdp-bundles-js {
    display: none;
}

.bundle-caret {
    width: 15px !important;
    height: 15px !important;
    transition: top 0.5s !important;
}

.flex-bundle-recommendations-bs4 .bundle-product-content {
    display: flex;
    margin: 0;
}

.flex-bundle-recommendations-bs4 .addtocartmodal-bundles .modal-body {
    display: block;
}

@media (min-width: 375px) {
    .flex-bundle-recommendations-bs4 .tab-nav {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .flex-bundle-recommendations-bs4 .tab-nav {
        font-size: 1em;
    }
}

@media (min-width: 992px) {
    .bundle-products .bundle-product {
        max-width: 215px;
    }

    .flex-bundle-recommendations-bs4 .bundle-product-content {
        position: relative;
        z-index: 5;
        padding: 12px 12px 0px;
        flex: 1 0 auto;
        display: block;
        flex-direction: inherit;
        min-height: 1px;
    }

    .flex-bundle-recommendations-bs4 .dropdown {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 991px) {
    .flex-bundle-recommendations-bs4 .bundle-products .bundle-product.active {
        margin: 0 0;
    }

    .flex-bundle-recommendations-bs4 .bundle-box .tab-nav li a.active {
        color: #666;
    }

}

@media (max-width: 768px) {
    .modal-bundles .product-cover {
        display: none;
    }
}

@media (max-width: 575px) {
    .flex-bundle-recommendations-bs4 .bundle-box .bundle-selector button {
        font-size: 14px;
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 530px) {

    .flex-bundle-recommendations-bs4 .bundle-caret {
        left: 8px;
        height: 10px;
    }

    .flex-bundle-recommendations-bs4 .bundle-products {
        min-width: 175px;
        padding-left: 0;
    }
}