/* Front Slider */

.lof-slider-wrapper {
    display: flex !important;
    gap: 4px !important;
    width: 100%;
    height: 350px !important;
    position: relative;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #000;
    background: #fff !important;
    overflow: hidden !important;
}

.main-slider-container {
    width: calc(68% - 3px) !important;
    height: 100%;
    position: relative;
    background: #000;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.swiper-main {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-slider-container {
    width: 32% !important;
    height: 100%;
    background: #767E89;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 10;
}

.swiper-thumbs {
    width: 100%;
    height: 100% !important;
    overflow: visible !important;
}

.swiper-thumbs .swiper-wrapper {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.swiper-thumbs .swiper-slide {
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
    background: #767E89 !important;
    border-bottom: 1px solid #fff !important;
    cursor: pointer;
    height: calc(350px / 3) !important;
    max-height: calc(350px / 3) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    position: relative !important;
    transition: background .2s ease;
    overflow: visible !important;
}

.swiper-thumbs .swiper-slide:last-child {
    border-bottom: none !important;
}

.swiper-thumbs .swiper-slide:hover,
.swiper-thumbs .swiper-slide-thumb-active {
    background: #6D6F71 !important;
}

.swiper-thumbs .swiper-slide-thumb-active {
    z-index: 20 !important;
}

.swiper-thumbs .swiper-slide-thumb-active::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 14px solid #6D6F71;
    z-index: 99999;
    pointer-events: none;
}

.thumb-img {
    width: 72px;
    height: 54px;
    min-width: 72px;
    border: 1px solid #fff;
    padding: 3px;
    margin-right: 10px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.thumb-content h4 {
    font-size: 12px !important;
    color: #fff !important;
    font-weight: 700 !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb-content .thumb-desc {
    font-size: 11px !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: .95;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) !important;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,.5);
    color: #fff !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    z-index: 1000;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.6);
    user-select: none;
}

.slider-nav-btn:hover {
    background: rgba(0,0,0,.85);
    color: #fff !important;
    border-color: #fff;
}

.btn-prev {
    left: 8px !important;
}

.btn-next {
    right: 8px !important;
}

.homepage-banner-section {
    width: 100%;
    height: 350px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #000;
    background: #000;
}

.homepage-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 991px) and (min-width: 769px) {
    .lof-slider-wrapper {
        height: 300px !important;
    }

    .swiper-thumbs .swiper-slide {
        height: calc(300px / 3) !important;
        max-height: calc(300px / 3) !important;
        padding: 7px 8px !important;
    }

    .thumb-img {
        width: 62px;
        height: 48px;
        min-width: 62px;
        margin-right: 8px;
    }

    .thumb-content h4 {
        font-size: 11px !important;
    }

    .thumb-content .thumb-desc {
        font-size: 10px !important;
    }
}

@media screen and (max-width: 768px) {
    .lof-slider-wrapper {
        flex-direction: column;
        height: auto !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    .main-slider-container,
    .homepage-banner-section {
        width: 100% !important;
        height: 220px;
    }

    .thumb-slider-container {
        display: none !important;
    }

    .btn-prev {
        left: 5px !important;
    }

    .btn-next {
        right: 5px !important;
    }
}

@media screen and (max-width: 480px) {
    .main-slider-container,
    .homepage-banner-section {
        height: 200px;
    }
}

@media screen and (max-width: 360px) {
    .main-slider-container,
    .homepage-banner-section {
        height: 180px;
    }
}