@media only screen and (max-width: 767px) {
    .all-items {
        padding-left: 5px;
        padding-right: 5px;
    }

    .all-items > div {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .shop-products-wrap .product-card .product-image {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        background: #fff !important;
    }

    .shop-products-wrap .product-card .product-image img,
    .shop-products-wrap .product-card .product-image .img-default,
    .shop-products-wrap .product-card .product-image .img-hover {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

@media only screen and (min-width: 768px) {
    .shop-products-wrap .product-image > a img {
        width: 100% !important;
        height: 270px !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
    }
}

.product-content .price-box {
    font-size: 14px;
    padding-bottom: 20px;
}

.all-product-image {
    background: white;
    border-radius: 0.6rem !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product-box {
    border-radius: 10px;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 0 4px 0 #ddd;
}

.sidbar-product-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    margin-bottom: 25px !important;
    gap: 15px !important;
    width: 100% !important;
}

.sidebar-best-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.sidebar-best-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.sidebar-best-info {
    flex: 1;
    padding-top: 2px;
    text-align: left !important;
}

.sidebar-best-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-best-info .price-box {
    font-size: 15px;
    font-weight: 500;
    color: #000263;
    display: block;
    text-align: left !important;
}

.sidebar-best-info .old-price {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    font-size: 13px;
    margin-right: 8px;
}

.shop-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.shop-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.shop-pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
}

.shop-pagination li button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
    border: 0;
    background: transparent;
}

.shop-pagination li.active a {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border-color: var(--secondary-color) !important;
}

.shop-pagination li.active button {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    border-color: var(--secondary-color) !important;
}

.filter-icon-btn {
    background: transparent;
    border: 0;
    padding: 0;
}
