﻿/*banner*/

/* Đảm bảo vùng chứa slider chiếm toàn bộ chiều ngang màn hình */
.swiper-container {
    /* margin-top: 90px;*/
    width: 100%; /* Chiếm 100% chiều ngang màn hình */
    max-width: 100%; /* Không vượt quá chiều ngang màn hình */
    height: auto; /* Chiều cao cố định */
    max-height: 600px;
    margin: 0 auto; /* Canh giữa */
    overflow: hidden; /* Ẩn phần dư thừa */
    box-sizing: border-box; /* Bao gồm padding và border trong kích thước */
    position: relative;
}

/* Slide */
.swiper-slide {
    width: 100%; /* Chiếm toàn bộ vùng slider */
    height: 100%; /* Chiều cao đầy đủ */
}

    /* Ảnh trong slide */
    .swiper-slide img {
        width: 100%; /* Ảnh phủ toàn bộ chiều ngang */
        height: 100%; /* Ảnh phủ toàn bộ chiều cao */
        aspect-ratio: 19 / 6;
        max-height: 600px;
        object-fit: cover; /* Đảm bảo ảnh không bị méo */
    }

/* Nút điều hướng */
.swiper-button-prev,
.swiper-button-next {
    color: #fff; /* Màu nút điều hướng */
}

/* Định dạng cho các dấu phân trang */
.swiper-pagination {
    position: absolute; /* Đặt dấu phân trang nằm tuyệt đối trong vùng slider */
    bottom: 20px; /* Cách mép dưới slider 20px */
    left: 50%!important; /* Canh giữa theo chiều ngang */
    transform: translateX(-50%); /* Dịch chuyển để canh giữa */
    z-index: 10; /* Đảm bảo pagination nằm trên slide */
    margin-top:10px;
}

/* Kiểu dáng các dấu phân trang (bullet) */
.swiper-pagination-bullet {
    width: 10px; /* Kích thước các dấu */
    height: 10px;
    background: #fff; /* Màu nền trắng */
    opacity: 0.7; /* Làm mờ nhẹ */
}

.swiper-pagination-bullet-active {
    background: #ff5722; /* Màu nổi bật cho dấu phân trang đang chọn */
    opacity: 1;
}
.box-wrap {
    padding: 10px 10px;
    border-radius: var(--border-radius-full);
   /* box-shadow: 0 25px 98px 0 rgba(0, 0, 0, 0.03);*/
    background-color: var(--bg-dark-color);
    position: relative;
    transition: all 0.5s ease 0s;
}

    .box-wrap .icon {
        text-align: center;
    }

        .box-wrap .icon img {
            border-radius: 10px;
            width: 100%;
            max-width: 300px;
            aspect-ratio: 1 / 1;
            object-fit: cover;
        }

    .box-wrap:hover {
       /* box-shadow: 0 25px 98px 0 rgb(0 0 0 / 20%);*/
    }

        .box-wrap:hover h4.number {
            opacity: .5;
            transition: 0.3s ease-in-out;
        }

    .box-wrap h4 {
        text-align: center;
        font-size: 15px;
        line-height: 20px;
        font-weight: 400;
        margin-top: 15px;
        margin-bottom: 5px;
        display: block;
        color: var(--heading-color);
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Giới hạn số dòng hiển thị */
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }
        .box-wrap h4 a:hover {
            color: var(--primary-color);
        }

    .box-wrap h5 {
        text-align: center;
        font-size: 14px;
    }

    .box-wrap .h5promoprice {
        text-align: center;
        color: #495057;
        padding: 0 5px;
        font-size: 15px;
        text-decoration-line: line-through;
    }

    .box-wrap .h5price {
        color: #ff4c4c;
        font-weight: 600;
        font-size: 16px;
    }
@media (max-width: 768px) /* Kích thước tối đa 768px - các thiết bị di động */
{

    .swiper-container {
        /*margin-top:54px;*/
        max-height: 600px; /* Chiều cao slider trên mobile */
        height:600px;
    }
}
/*pickleball blog index*/
.blog-card-single-index {
    border: none !important;
}

.post-thumbnail-blog {
    float: left;
    width: 100%;
}

    .post-thumbnail-blog img {
        border-radius: 5px !important;
        width: 100%;
        max-width: 500px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

.blog-info-index {
    width: 100%;
    float: left;
    padding: 10px 0px 5px;
}

    .blog-info-index h4 {
        font-size: 16px;
        line-height: 20px !important;
    }

    .blog-info-index a {
        font-size: 16px !important;
        margin-top: 0px !important;
    }
/*pickleball blog index*/
/*Brand list*/
.box-wrap-brand-list {
    padding: 0px 5px;
    border: 0.01em solid #d7d7d7;
    border-radius: 5px;
    box-shadow: 0 25px 98px 0 rgba(0, 0, 0, 0.03);
    background-color: var(--bg-dark-color);
    position: relative;
    transition: all 0.5s ease 0s;
}
/*end brand list*/

/*begin bestsale product list*/
/* Swiper container */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    width: 40px;
    height: 40px !important;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    z-index: 10;
}



    .swiper-button-next:after, .swiper-button-prev:after {
        background: #bdbcbcbd !important;
        padding: 5px !important;
        font-size: 1.5rem !important;
    }

.bsswiper-container {
    width: 100%;
    overflow: hidden; /* Ẩn các phần tràn khỏi slider */
}

/* Swiper wrapper */
.bsswiper-wrapper {
    display: flex; /* Đặt các slide theo hàng ngang */
}

/* Swiper slide */
.bsswiper-slide {
    flex-shrink: 0; /* Ngăn các slide bị co lại */
    width: auto; /* Để Swiper tự tính toán */
    text-align: center;
    padding: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
}

/* Style cho nút điều hướng */
.bsswiper-button-next,
.bsswiper-button-prev {
    color: #000;
}

.bestsale {
    /*border: 1px solid #ebebeb;*/
    margin: 0 5px;
}

.h5price_bs {
    color: #e10000;
    font-size: 14px;
    font-weight: 700;
}

.h5promoprice_bs {
    text-align: center;
    color: #495057;
    padding: 0 5px;
    font-size: 14px;
    text-decoration-line: line-through;
}

.product-index-label {
    display: inline-block;
    padding: 5px 10px;
    font-size: 20px;
    color: #272727;
    /* background: linear-gradient(to right, #ff7e00, #e3b600); */
    border-radius: 100px;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    text-transform: uppercase;
}
@media (max-width: 768px) /* Kích thước tối đa 768px - các thiết bị di động */
{
    .product-index-label {
        font-size: 15px !important;
        line-height: 28px;
    }
}
    .new-label {
        background: #d13806;
        color: #fff;
        padding: 2px 10px;
        border-radius: 3px;
        font-size: 14px;
        margin: 0px 5px 0 0;
    }
    /*end bestsale product list*/

    /*begin viewed history*/
    .btn-clear-history {
        cursor: pointer;
        color: #f00;
        font-size: 14px;
        font-weight: 500;
        /* text-decoration: underline; */
        margin-left: 1rem;
    }

    .viewed {
        padding: 10px;
    }

        .viewed a {
            display: flex;
        }
    /* Căn chỉnh item theo chiều ngang */
    .owl-testimonialviewed .owl-item .item {
        /*display: flex;*/ /* Hiển thị ngang */
        align-items: center; /* Căn giữa theo trục dọc */
        margin: 5px;
        /*gap: 10px;*/ /* Khoảng cách giữa hình ảnh và nội dung */
    }

        /* Phần hình ảnh bên trái */
        .owl-testimonialviewed .owl-item .item .icon {
            flex: 0 0 30%; /* Chiếm 30% */
            text-align: center; /* Căn giữa hình ảnh */
        }

            .owl-testimonialviewed .owl-item .item .icon img {
                width: 100%; /* Đảm bảo hình ảnh bao phủ đúng 30% */
                height: auto; /* Giữ tỉ lệ hình ảnh */
                max-width: 80px;
                object-fit: cover;
                aspect-ratio: 1 / 1;
            }

        /* Phần nội dung bên phải */
        .owl-testimonialviewed .owl-item .item .slider-info {
            flex: 1; /* Chiếm 70% */
            display: flex;
            flex-direction: column; /* Sắp xếp dọc */
            justify-content: center; /* Căn giữa theo chiều dọc */
            border: 1px solid #e9e9e9;
            border-radius: 5px;
        }

        /* Style tiêu đề */
        .owl-testimonialviewed .owl-item .item h4 {
            font-size: 14px;
            margin: 2px 0;
            line-height: 18px;
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Giới hạn số dòng hiển thị */
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }

        /* Style giá */
        .owl-testimonialviewed .owl-item .item h5 {
            font-size: 14px;
            color: #f00; /* Màu đỏ cho giá */
            margin: 1px 0;
        }

    .owl-testimonialviewed .swiper-button-next, .owl-testimonialviewed .swiper-button-prev {
        position: absolute;
        top: 75% !important;
        transform: translateY(-75%);
        color: #fff !important;
        width: 40px;
        height: 40px !important;
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        cursor: pointer;
        z-index: 10;
    }

    .close-itemv3 {
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
        height: 20px;
        background: #979797;
        color: #fff;
        font-size: 14px;
        text-align: center;
        line-height: 20px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 99;
    }
    /*viral partner*/
    ._item {
        float: left;
        text-align: center;
        margin-bottom: 20px;
        padding: 0 15px;
        filter: grayscale(100%) opacity(65%);
    }

        ._item img {
            border: 1px solid #E1E1E1;
            border-radius: 8px;
            padding: 0;
            width: 90%;
            aspect-ratio: 8 / 3;
            object-fit: cover;
            max-height: 100px;
            height: auto !important;
        }

        ._item:hover {
            filter: grayscale(0) opacity(1);
        }
    /*end viral partner*/
    /*prduct's tags index page*/
    .prodtags {
        border-radius: 20px;
        padding: 0px 10px 0 10px !important;
        margin: 8px 5px;
    }

    .bottom-search__container {
        margin-top: 12px;
    }

        .bottom-search__container ul {
            display: flex;
            flex-wrap: wrap;
        }

            .bottom-search__container ul li {
                display: block;
                width: fit-content;
                background: #f2f4f7;
                border-radius: 16px;
                padding: 2px 8px;
                margin: 6px 8px 6px 0;
            }
    /*end prduct's tags index page*/