﻿.cxa-bundle-cart-ec-component .bundle-cart {
    background-color: white !important;
}

#bundle-offer-package {
    border-radius: 10px;
}

#bundle-offer-package.has-border {
    border: 2px solid #cccccc !important;
}

.bundle-swiper-container {
    position: relative;
    padding: 0 40px;
}

.swiper-button-next, .swiper-button-prev {
    width: 30px;
    height: 30px;
}

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 18px;
        font-weight: bold;
    }

.cxa-bundle-cart-ec-component .bundle-cart-item {
    border: none;
}

.cxa-bundle-cart-ec-component .bundle-cart_pack {
    border: none;
}

#bundle-offer-package .product-bundle-list {
    padding-top: 40px;
    background: var(--color-white);
    border-radius: 15px;
}

#bundle-offer-package .content-bundle-offer {
    @media (max-width: 768px) {
        margin-top: 22px;
    }
}

    #bundle-offer-package .content-bundle-offer .content-bundle-offer--left {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 3em;

        @media (max-width: 768px) {
            flex-direction: row;
            gap: 8px;
            padding: 0em;
        }
    }

.content-text-label {
    text-align: center;

    @media (max-width: 768px) {
        text-align: left;
    }
}

#bundle-offer-package .content-bundle-offer .content-bundle-offer--left-img {
    display: inline-block;
}

    #bundle-offer-package .content-bundle-offer .content-bundle-offer--left-img .product-card_image {
        max-height: 93px;
        display: inline-block;
        height: 93px;
        overflow: hidden;
        margin-bottom: 20px;

        @media (max-width: 768px) {
            margin-bottom: 0px;
        }
    }

        #bundle-offer-package .content-bundle-offer .content-bundle-offer--left-img .product-card_image img {
            height: 100%;
            object-fit: contain;
        }

#bundle-offer-package .content-bundle-offer .content-bundle-offer--right {
    display: flex;
    align-items: center;

    @media (max-width: 768px) {
        flex-direction: column;
    }
}

#bundle-offer-package .content-bundle-offer .content-bundle-offer--right-content {
    width: 100%;
    padding-left: 35px;
}

    #bundle-offer-package .content-bundle-offer .content-bundle-offer--right-content .product-card_image {
        max-height: 93px;
        display: inline-block;
        height: 93px;
        overflow: hidden;
        margin-bottom: 20px;
    }

        #bundle-offer-package .content-bundle-offer .content-bundle-offer--right-content .product-card_image img {
            height: 100%;
            object-fit: contain;
        }

#bundle-offer-package .product-bundle-list .bundle-offer-header {
    border-radius: 10px;
    background: var(--Primary-Light-Blue, #ECF2FE);
}




#bundle-offer-package .js-add-to-cart-btn {
    margin-left: auto;
}

#bundle-offer-package .carousel-control-prev-icon {
    background-image: url(/-/media/Themes/APWEB/Global/Commerce/images/icons/LeftArrow.svg) !important;
}

#bundle-offer-package .carousel-control-next-icon {
    background-image: url(/-/media/Themes/APWEB/Global/Commerce/images/icons/RightArrow.svg) !important;
}

#bundle-offer-package .js-add-bundle-to-cart {
    margin-left: auto;
}

#bundle-offer-package .product-name,
.content-bundle-offer--left-content .main-product-name {
    text-align: center;
    height: 18px;
    overflow: hidden;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    font-weight: 700;
    margin-bottom: 0px;
}

#bundle-offer-package .content-bundle-offer--left-content .main-product-name {
    @media (max-width: 768px) {
        text-align: left;
    }
}

#bundle-offer-package .currently-viewing {
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 18px;
    margin-top: .25rem;
}

    #bundle-offer-package .currently-viewing.currently-viewing-show-on-desktop {
        display: block;

        @media (max-width: 768px) {
            display: none;
        }
    }

    #bundle-offer-package .currently-viewing.currently-viewing-show-on-mobile {
        display: none;

        @media (max-width: 768px) {
            display: block;
        }
    }

#bundle-offer-package .bundle-offer-title {
    font-size: 28px;
}

#bundle-offer-package .bundle-name-title {
    font-size: 18px;
}

#bundle-offer-package .form-check-input:checked {
    background-color: #1965E1;
    border-color: #1965E1;
    accent-color: #1965E1;
}

#bundle-offer-package .js-bundle-item-check.mandatory {
    background-color: #CCCCCC;
    border-color: #CCCCCC;
    accent-color: #CCCCCC;
}

#bundle-offer-package .plus {
    font-weight: 100;
}

#showItem {
    color: #1965E1;
}

    #showItem.show-less::after {
        content: url(/-/media/themes/apweb/global/commerce-v2/images/icons/chev-up.svg);
        height: 16px;
        vertical-align: middle;
    }

    #showItem.show-more::after {
        content: url(/-/media/themes/apweb/global/commerce-v2/images/icons/chev-down.svg);
        height: 16px;
        vertical-align: middle;
    }

#bundle-offer-package .js-add-bundle-to-cart {
    font-size: 14px !important;
}

#bundle-offer-package .main-product-name,
#bundle-offer-package .product-price {
    font-size: 14px;

    @media (max-width: 768px) {
        margin-bottom: 0px;
    }
}

#bundle-offer-package .carousel-inner .card-body {
    position: relative;
    z-index: 17;
}

#bundle-offer-package .js-bundle-item-check {
    position: relative;
    z-index: 1;
}

#bundle-offer-package .bundle-mandatory-disable {
    position: absolute;
    height: 20px;
    width: 20px;
    bottom: 16px;
    z-index: 10;
    left: 44%;
}



@media (max-width: 768px) {

    #bundle-offer-package .bundle-offer-title {
        font-size: 18px;
    }

    #bundle-offer-package .bundle-name-title {
        font-size: 16px;
    }

    #bundle-offer-package .js-add-to-cart-btn {
        width: 100%;
    }

    #bundle-offer-package .js-add-bundle-to-cart {
        width: 100%;
        margin-top: 20px;
    }

    #bundle-offer-package .content-bundle-offer .content-bundle-offer--right-content {
        padding: 0;
    }

    #bundle-offer-package .bundle-mandatory-disable {
        position: absolute;
        height: 20px;
        width: 20px;
        bottom: 16px;
        z-index: 10;
        left: 46.5%;
    }
}



.bundle-swiper-container {
    padding: 0 40px !important; 
    position: relative;
}

    .bundle-swiper-container .swiper-slide {
        height: auto; 
    }


.content-bundle-offer--icon-plus {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .content-bundle-offer--right {
        flex-direction: column !important;
    }

    .content-bundle-offer--icon-plus {
        margin: 15px 0;
        transform: rotate(90deg);
    }
}


.swiper-button-next, .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    background: #f0f0f0;
    border-radius: 50%;
    color: #000;
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 14px !important;
        font-weight: bold;
    }


.bundle-swiper-container .swiper-button-next,
.bundle-swiper-container .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    top: 50%;
    transform: translateY(-50%);
}

   
    .bundle-swiper-container .swiper-button-next::after,
    .bundle-swiper-container .swiper-button-prev::after {
        font-size: 14px !important; 
        font-weight: bold;
        color: #1965E1; 
    }


.bundle-swiper-container .swiper-button-prev {
    left: 5px !important;
}

.bundle-swiper-container .swiper-button-next {
    right: 5px !important;
}


.bundle-cart-item_content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    width: 100%;
}

.bundle-cart-item_check {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}


.bundle-cart-item_image {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

    .bundle-cart-item_image img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


.bundle-promo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; 
    min-height: 24px; 
    margin-bottom: 4px;
    width: 100%;
}

    .bundle-promo-row.empty {
        visibility: hidden; 
    }

   
    .bundle-promo-row span {
        font-size: 13px;
        white-space: nowrap;
    }


.bundle-cart-item_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px; 
    margin-bottom: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}


.bundle-cart-item_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.bundle-promo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    margin-bottom: 2px;
}

    .bundle-promo-row.empty {
        visibility: hidden; 
    }

    .bundle-promo-row span {
        font-size: 13px;
        white-space: nowrap;
    }


.bundle-cart-item_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: #000;
    text-decoration: none;
}

.bundle-cart-item_price {
    margin-bottom: 5px;
    text-align: center;
}


.bundle-cart-item_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bundle-cart-item_check {
    margin-top: auto; 
    padding-top: 10px;
}

.currently-viewing {
    font-size: 12px;
    color: #666;
    min-height: 18px;
}


.bundle-swiper-container .swiper-button-next,
.bundle-swiper-container .swiper-button-prev {
    width: 28px !important;
    height: 28px !important;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .bundle-swiper-container .swiper-button-next::after,
    .bundle-swiper-container .swiper-button-prev::after {
        font-size: 12px !important;
    }


.bundle-promo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; 
    min-height: 22px;
    margin-bottom: 2px;
}

    .bundle-promo-row.empty {
        visibility: hidden; 
    }


.bundle-cart-item_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px; 
    text-align: center;
    font-size: 14px;
    margin-bottom: 8px;
}

.bundle-cart-item_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.bundle-cart-item_check {
    margin-top: auto; 
    padding-top: 10px;
}


#loadItem {
    color: #1965E1;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

    #loadItem.show-more::after {
        content: url(/-/media/themes/apweb/global/commerce-v2/images/icons/chev-down.svg);
        margin-left: 8px;
        width: 12px;
    }

    #loadItem.show-less::after {
        content: url(/-/media/themes/apweb/global/commerce-v2/images/icons/chev-up.svg);
        margin-left: 8px;
        width: 12px;
    }

