﻿:root {
    --HomePaddingInlineSpacing: 2em;
}

#HomePageContent {
    display: flex;
    flex-direction: column;
    gap: 5em;
    /*    margin-bottom: 6em;*/
}

    #HomePageContent .InnerContent {
        max-width: 120em;
        margin: 0 auto;
        padding-inline: 2em;
        box-sizing: border-box;
        overflow: hidden;
    }

@media only screen and (max-width: 480px) {
    #HomePageContent .InnerContent {
        padding-inline: 1.5em;
    }

    :root {
        --HomePaddingInlineSpacing: 1.5em
    }
}

#HomePageContent #BannerSliderSection {
    background-color: #301754;
    border-radius: 0 0 3.5em 3.5em;
    padding: 2em 3em 5em 3em;
}

#HomePageContent #HomeBannerSliderListWrapper {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    border-radius: 1em;
    transform: translate3d(0, 0, 0);
}

    #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper {
        display: flex;
    }

        #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper .swiper-slide:not(.swiper-slide-active) {
            opacity: .25;
            filter: grayscale(1);
            pointer-events: none;
        }

        #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper .swiper-slide {
            display: block;
            width: 100%;
            max-width: 1000px;
            position: relative;
            overflow: hidden;
            background: #fff;
            border-radius: 1em;
            aspect-ratio: 1000 / 380;
            margin: 0 1em;
        }

            #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper .swiper-slide a img {
                position: absolute;
                inset: 0;
                z-index: 1;
                width: 100%;
                height: 100%;
            }

        #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper .swiper-slide-active img {
            transform: scale(1.03);
            transition: linear 6s
        }

#HomePageContent #BannerSliderSection .swiper-button {
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}

    #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev {
        order: -1;
    }

    #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next {
        order: 1;
    }

    #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next,
    #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev {
        flex: auto;
        pointer-events: initial;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        top: 2em;
        width: 14em;
    }

        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next::after,
        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev::after {
            content: '';
            display: none;
            flex: none;
            width: 100%;
            max-width: 1000px;
        }

        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next::before,
        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev::before {
            font-family: "Font Awesome 6 Free";
            display: block;
            font-size: 3em;
            width: 1em;
            height: 1em;
            line-height: 1;
            overflow: hidden;
            opacity: 0;
            transition: opacity .3s;
            color: #fff;
        }

        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next::before {
            content: "\f054";
        }

        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev::before {
            content: "\f053";
        }

        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-next:hover::before,
        #HomePageContent #BannerSliderSection .swiper-button .swiper-button-prev:hover::before {
            opacity: 1
        }

#HomePageContent #BannerSliderSection .swiper-pagination {
    display: flex;
    align-items: end;
    justify-content: center;
    position: absolute;
    inset-inline: 0;
    inset-block-end: 1.5em;
    z-index: 1;
    height: 0;
    margin-inline: auto;
    width: calc(100% - 6em);
    max-width: 25em;
    box-sizing: border-box;
}

    #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet {
        flex: 1;
        display: block;
        height: 5px;
        min-width: 1em;
        padding: 1px;
        box-sizing: border-box;
        border-radius: 1em;
        background: rgba(255 255 255 / 1);
        backdrop-filter: blur(1em);
        cursor: pointer;
        transition: width .3s;
    }

        #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet::before {
            content: '';
            display: block;
            width: 0;
            height: 100%;
            border-radius: 1em;
            background-color: var( --theme-color-light);
        }

    #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet-active {
        flex: 2;
        background: #fff;
    }

        #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet-active::before {
            animation: pagination-animation 6s linear
        }

@media only screen and (max-width: 1480px) {

    #HomePageContent #BannerSliderSection .InnerContent {
        padding-inline: 0;
    }
}

@media only screen and (max-width: 1300px) {

    #HomePageContent #BannerSliderSection {
        padding-inline: 3em;
        border-radius: 0 0 2em 2em;
        padding-bottom: 3.3em;
    }
}

@media only screen and (max-width: 1000px) {
    #HomePageContent #BannerSliderSection .swiper-button {
        display: none
    }
}

@media only screen and (max-width: 480px) {

    #HomePageContent #BannerSliderSection {
        padding-inline: 2em;
        border-radius: 0 0 2em 2em;
        padding-bottom: 2.3em;
    }

    #HomePageContent #HomeBannerSliderListWrapper .swiper-wrapper .swiper-slide {
        height: 15em;
        border-radius: 0.8em;
    }

    #HomePageContent #HomeBannerSliderListWrapper img {
        transform: scale(1.05);
    }


    #HomePageContent #BannerSliderSection .swiper-pagination {
        pointer-events: none;
        inset-block-end: 1em
    }

        #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet {
            flex: none;
            min-width: unset;
            width: 5px
        }

        #HomePageContent #BannerSliderSection .swiper-pagination .swiper-pagination-bullet-active {
            width: 2em
        }
}

@keyframes pagination-animation {
    100% {
        width: calc(100% - 2px)
    }
}


#HomePageContent #ProductDisplaySection .ProductDisplayListWrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(38em, 1fr));
    gap: 2em;
}

#HomePageContent .ProductGroupWrapper {
    display: flex;
    flex-direction: column;
    gap: 2em;
    background: #fff;
    box-shadow: rgba(0 0 0 / 3%) 0 0 0 1px, rgba(0 0 0 / 2%) 0 0 1em;
    padding: 2em;
    border-radius: 1em;
}

    #HomePageContent .ProductGroupWrapper .GroupProductList {
        margin-bottom: 0;
    }

    #HomePageContent .ProductGroupWrapper .GroupTitle {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 2em;
        align-items: center;
    }

        #HomePageContent .ProductGroupWrapper .GroupTitle h2 {
            font-size: 1.5em;
            font-weight: 800;
            text-transform: uppercase;
        }

        #HomePageContent .ProductGroupWrapper .GroupTitle a {
            font-weight: 800;
            opacity: .5;
            text-transform: capitalize;
            display: flex;
            justify-content: center;
            gap: 0.6em;
        }

            #HomePageContent .ProductGroupWrapper .GroupTitle a::after {
                content: "\f101";
                font-family: "Font Awesome 6 Free";
                font-weight: 800;
                font-size: 1em;
            }

    #HomePageContent .ProductGroupWrapper .GroupProductList li {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
        gap: 2em;
    }

    #HomePageContent .ProductGroupWrapper .GroupProductList > li > a {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.3em;
        align-items: center;
        color: currentColor;
        text-decoration: none;
    }

    #HomePageContent .ProductGroupWrapper .GroupProductList a .ProductImageIcon {
        width: 5em;
        height: 5em;
        background: rgba(0 0 0 / 5%);
        box-shadow: rgba(0 0 0 / 5%) 0 0 0 1px;
        border-radius: 25%;
        overflow: hidden;
        position: relative;
        align-self: start;
    }

        #HomePageContent .ProductGroupWrapper .GroupProductList a .ProductImageIcon img {
            width: 100%;
            height: 100%;
            vertical-align: top;
        }

    #HomePageContent .ProductGroupWrapper .GroupProductList a .T .ProductName {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
        word-break: break-word;
        font-weight: 800;
    }

    #HomePageContent .ProductGroupWrapper .GroupProductList a .T .ProductRegion {
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: .5;
    }

@media only screen and (max-width: 1000px) {
    #HomePageContent #ProductDisplaySection .ProductDisplayListWrapper {
        display: flex;
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        gap: 1.3em;
        padding-inline: var(--HomePaddingInlineSpacing);
    }

        #HomePageContent #ProductDisplaySection .ProductDisplayListWrapper::-webkit-scrollbar {
            display: none;
        }

    #HomePageContent .ProductGroupWrapper .GroupTitle h2 {
        font-size: 1.25em;
    }

    #HomePageContent #ProductDisplaySection .ProductDisplayListWrapper .ProductGroupWrapper {
        flex: none;
        width: 46em;
    }

    #HomePageContent .ProductGroupWrapper .GroupProductList li {
        row-gap: 1em;
    }

        #HomePageContent .ProductGroupWrapper .GroupProductList li .ProductImageIcon {
            width: 4.5em;
            height: 4.5em;
        }
}

@media only screen and (max-width: 640px) {
    #HomePageContent #ProductDisplaySection .ProductDisplayListWrapper .ProductGroupWrapper {
        width: 22.5em;
    }

    #HomePageContent .ProductGroupWrapper .GroupTitle h2 {
        font-size: 1.166667em;
    }

    #HomePageContent .ProductGroupWrapper .GroupTitle a span {
        display: none;
    }
}

#HomePageContent #LatestNewsSection .SectionTitle {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 2em;
    margin-block-end: 2em;
}

    #HomePageContent #LatestNewsSection .SectionTitle h3 {
        font-size: 2em;
        font-weight: 800;
        text-transform: uppercase;
    }

    #HomePageContent #LatestNewsSection .SectionTitle > div {
        display: flex;
        flex-wrap: wrap;
        gap: 0 .5em;
    }

    #HomePageContent #LatestNewsSection .SectionTitle a {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: .5em;
        align-items: center;
        font-weight: 800;
        color: var( --theme-color);
    }

        #HomePageContent #LatestNewsSection .SectionTitle a::after {
            content: "\f08e";
            font-family: "Font Awesome 6 Free";
            font-size: 1em;
            display: inline-block;
        }

#HomePageContent #LatestNewsSection .SectionContent #NewsListWrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22.5em, 1fr));
    gap: 2em;
}

#HomePageContent #LatestNewsSection .SectionContent .NewItem {
    background-color: #fff;
    border-radius: 1em;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: rgba(0 0 0 / 2%) 0 0 0 1px, rgba(0 0 0 / 3%) 0 0 1em;
}

    #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewsCover {
        overflow: hidden;
        border-radius: 1em 1em 0 0;
    }

        #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewsCover img {
            width: 100%;
            height: 100%;
            vertical-align: top;
            /*object-fit: cover;*/
            aspect-ratio: 2 / 1;
        }

    #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewDetails {
        display: flex;
        flex-direction: column;
        padding: 1.3em;
    }

        #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewDetails .NewsTitle {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            overflow: hidden;
            word-break: break-word;
            font-weight: 800;
        }

        #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewDetails .NewsCategory {
            opacity: .7;
            order: -1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.5;
        }

        #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewDetails .NewsPublishedDate {
            display: flex;
            gap: 0.5em;
            margin-block-start: 1.5em;
            align-items: center;
            opacity: .7;
        }

            #HomePageContent #LatestNewsSection .SectionContent .NewItem .NewDetails .NewsPublishedDate::before {
                content: "\f133";
                font-family: "Font Awesome 6 Free";
                display: inline-block;
                font-size: 1em;
                font-weight: 500;
            }

@media only screen and (max-width: 1280px) {
    #HomePageContent #LatestNewsSection .SectionContent #NewsListWrapper {
        gap: 1.5em 1em;
    }

    #HomePageContent #LatestNewsSection .SectionTitle h3 {
        font-size: 1.5em
    }
}

@media only screen and (max-width: 1000px) {
    #HomePageContent #LatestNewsSection .SectionTitle {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media only screen and (min-width: 885px) and (max-width: 1165px) {
    #HomePageContent #LatestNewsSection .SectionContent .NewItem:nth-of-type(6),
    #HomePageContent #LatestNewsSection .SectionContent .NewItem:nth-of-type(7) {
        display: none;
    }
}

@media only screen and (max-width: 884.98px) {
    #HomePageContent #LatestNewsSection .SectionContent #NewsListWrapper {
        display: flex;
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-inline: var(--HomePaddingInlineSpacing);
    }

        #HomePageContent #LatestNewsSection .SectionContent #NewsListWrapper::-webkit-scrollbar {
            display: none;
        }

    #HomePageContent #LatestNewsSection .SectionContent .NewItem {
        flex: none;
        width: 22.5em;
    }
}


@media (any-hover) {
    #HomePageContent .ProductGroupWrapper .GroupProductList a:focus .ProductImageIcon,
    #HomePageContent .ProductGroupWrapper .GroupProductList a:hover .ProductImageIcon {
        transform: scale(1.06);
    }

    #HomePageContent #LatestNewsSection .SectionContent .NewItem a:hover .NewsCover img {
        transform: scale(1.04)
    }
}

#HomePageContent #WhyChooseUsSection .SectionContent {
    display: grid;
    grid-template-columns: 1fr 27em;
    gap: 2.5em;
    background-color: #301754;
    border-radius: 2em;
    padding: 2.8em 2.5em;
    color: #fff;
}

    #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5em;
    }

        #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem {
            display: grid;
            grid-template-rows: auto 1fr;
            gap: 0.7em 1em;
        }

            #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon {
                grid-row: 1 / 3;
            }

                #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon::before {
                    content: '';
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 2.6em;
                    height: 2.6em;
                    background-size: contain;
                    background-repeat: no-repeat;
                }

                #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon[icon-display="TrustedDealer" i]::before {
                    background-image: url("../images/HomePage/ChooseUsSummaryIcon/trusted-dealer.svg");
                }

                #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon[icon-display="WidePaymentMethod" i]::before {
                    background-image: url("../images/HomePage/ChooseUsSummaryIcon/wide-payment-method.svg");
                }

                #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon[icon-display="InstantDelivery" i]::before {
                    background-image: url("../images/HomePage/ChooseUsSummaryIcon/instant-delivery.svg");
                }

                #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .Icon[icon-display="ResponsiveSupport" i]::before {
                    background-image: url("../images/HomePage/ChooseUsSummaryIcon/responsive-support.svg");
                }

            #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .T {
                text-overflow: ellipsis;
                overflow: hidden;
                word-break: break-word;
                font-weight: 800;
            }

            #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .C {
                color: #adb0bc;
                word-break: break-word;
                grid-column: 2;
                grid-row: 2;
            }

    #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-left: 2px dashed #adb0bc;
        padding-left: 2.5em;
    }

        #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection h3 {
            color: #fff;
            text-align: center;
            font-weight: 800;
            font-size: 1.5em;
        }

        #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection a {
            color: #fff;
            border: 1px solid #adb0bc;
            border-radius: 0.5em;
            padding: 0.5em 2em;
            margin-block-start: 1em;
        }

@media only screen and (max-width: 1432px) {

    #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList .SummaryItem .T {
        display: flex;
        align-items: center;
    }
}

@media only screen and (max-width: 1350px) {

    #HomePageContent #WhyChooseUsSection .SectionContent {
        grid-template-columns: 1fr 25em;
    }

        #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
            gap: 1.8em;
        }
}

@media only screen and (max-width: 1280px) {

    #HomePageContent #WhyChooseUsSection .SectionContent {
        grid-template-columns: 1fr 30em;
    }

        #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.8em;
        }
}

@media only screen and (max-width: 1180px) {

    #HomePageContent #WhyChooseUsSection .SectionContent {
        grid-template-columns: 1fr 25em;
    }
}

@media only screen and (max-width: 880px) {

    #HomePageContent #WhyChooseUsSection .SectionContent {
        grid-template-columns: 1fr 20em;
    }
}

@media only screen and (max-width: 800px) {

    #HomePageContent #WhyChooseUsSection .SectionContent {
        background-color: transparent;
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1.5em;
    }

        #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
            background-color: #301754;
            border-radius: 1.5em;
            padding: 2.8em 2.5em;
        }

        #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection {
            background-color: #301754;
            border-radius: 1.5em;
            padding: 2.8em 2.5em;
            border-left: 0;
        }

            #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection h3 {
                font-size: 2em;
                margin-block-end: 0.3em;
                max-width: 20em;
            }
}

@media only screen and (max-width: 480px) {

    @media only screen and (max-width: 1280px) {
        #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
            grid-template-columns: repeat(1, 1fr);
        }
    }

    #HomePageContent #WhyChooseUsSection .SectionContent #ActiveUserSection h3 {
        font-size: 1.6em;
    }
}

@media only screen and (max-width: 375px) {

    #HomePageContent #WhyChooseUsSection .SectionContent #ChooseUsSummaryList {
        gap: 2.5em 1.8em;
    }
}
