﻿/* Ensure the swiper container and slides have fixed dimensions */
.bannersContainer {
    max-width: 100%;
    max-height: 700px; 
    overflow: hidden;
    position: relative;
}

.mobileBannersContainer {
    display:none;
}

.desktopBannerContainer {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: inherit;
}


.secondaryBannerContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.secondaryBannerMobileContainer {
    display:none;
}

.swiper {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    max-height: 700px;
    max-width: 2200px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    max-width: 2200px;
    max-height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: #000; 
}


.swiper-button-next,
.swiper-button-prev {
    color: #000; 
    z-index: 10; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#productContainerFeatures .featureProductContainer:not(:first-child) {
    display: none;
}
.featureProductContainer .featureDetailsContainer:first-child .imgContainer {
    max-width: 400px;
}

.featureProductContainer .featureDetailsContainer:not(:first-child) .imgContainer {
    max-width:200px;
}

.featureProductContainer .featureDetailsContainer:not(:first-child) .buttonContainer {
    display: none;
}

.featureDetailsContainer .productDescription {
    min-height: 192px;
}

.featureProductContainer {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
}


#featuredCategoryList{
    overflow:hidden;
}

#featuredCategoryList a {
    text-decoration:none;
    color:inherit;
}


.featureProductContainer > div:first-child {
    
    align-content: center;
    grid-row: span 2;
    grid-column: span 2
}


#featuredProductList ul li {
    margin-right: 2.5rem;
    font-family: var(--primaryFont);
    font-weight: 500;
    font-style: normal;
    color: var( --blue-color-900);
}


#featuredProductList ul .active {
    font-family: var(--primaryFont);
    font-weight: 600;
    border-bottom: solid var( --blue-color-900) 2px;
}

#menuNavigationContainer .mobile {
    display: none;
}

.buttonContainer {
    display: flex;
    justify-content: center;
}


.buttonContainer button {
    position: absolute;
    bottom: 0;
    min-height: 50px;
    width: 100%;
    border-radius: 0 0 4px 4px;
}

.brandFullDescription {
    text-align:justify; 
}


.supportTermsContainer .imgContainer {
    min-height: 100px;
    max-height:100px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.supportTermsContainer .imgContainer  img{
   width:100%;
   max-width:200px;
}

.supportTermsContainer .supportTerm {
    width: 100%;
    padding: 30px 0px;
    background-color: white;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.supportTermsContainer .supportTerm:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px; 
}





@media(max-width:990px) {
    .featureProductContainer {
        grid-template-columns: repeat(2, 1fr);
    }

    .featureProductContainer > div:first-child {
        grid-row: span 1;
        grid-column: span 2
    }

    #menuNavigationContainer {
        flex-direction: column;
        text-align: center;
    }

    #menuNavigationContainer ul {
        justify-content: center;
    }

    #featuredProductList div {
        text-align: center;
    }

    #menuNavigationContainer .desktop {
        display: none;
    }

    #menuNavigationContainer .mobile {
        display: flex;
        justify-content: center;
    }

    .buttonContainer {
        padding-top: 20px;
    }


    .buttonContainer button {
        border-radius:2px;
    }

    .bannersContainer {
        display:none;
    }

    .mobileBannersContainer {
        display:block;
    }

    .swiper-slide img {
        max-width: 100%;
        max-height: 600px;
        object-fit: cover;
        height: auto;
    }


    .buttonContainer button {
        position: relative;
    }

 }


@media(max-width:767px) {

    .brandContainer {
        display: flex;
        justify-content: start;
    }

    .brandImage {
        max-width: 350px;
    }
    .supportTermsContainer .supportTerm {
        margin-bottom: 20px;
    }

    .secondaryBannerContainer {
        display:none;
    }

    .secondaryBannerMobileContainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 0.8rem;
    }

    .termsNavigation {
        display: flex;
        max-width: 100%;
        overflow-y: scroll;
        scrollbar-gutter: stable;
    }

    .termsNavigation li {
        width: 100%;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }

    .termsNavigation li a {
        white-space: nowrap;
    }

    .navigationContainer {
        margin-bottom: 2rem;
    }

    .termsNavigation::-webkit-scrollbar {
        width: -2px;
    }

    .termsNavigation::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .termsNavigation::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .termsNavigation::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

@media(max-width:650px) {

    .swiper-slide img {
        max-width: 100%;
        max-height: 500px;
        object-fit: cover;
        height: auto;
    }
}

