.clear-both {
    clear: both;
}

#category-list {
    display: flex;
    justify-content: space-between;
}

#category-list > .category-item {
    width: calc((100% - (20px * 5)) / 7);
    border: #f0f0f0 1px solid;
    border-radius: 10px;
    padding: 15px 0;
    box-sizing: border-box;
    background: #fff;
    text-decoration: none;
    color: #333;
    text-align: center;
}

#category-list > .category-item:hover,
#category-list > .category-item.active
{
    background: #1f3500;
    color: #fff;
}

.productBlock {
    margin-top: 50px;
}
.productBlock h2 {
    background: #fff;
    border-left: #666 2px solid;
    margin-bottom: 20px;
    margin-top: 40px;
    text-align: left;
    padding-left: 10px;
}

.productListBlock .productImg {
    float: left;
    width: calc((100% - 40px) / 3);
    margin-bottom: 20px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 8px;
    transition: scale 0.2s ease;
    display: flex;
    flex-direction: column;
}

.productListBlock .productImg:hover {
    scale: 101%;
    text-decoration: none;
}

.productListBlock .productImg:hover {
    cursor: pointer;
}

.productListBlock .productImg:hover .imageMoveable{
    transform: translateX(100%);
}

.productListBlock .productImg:nth-child(3n) {
    margin-right: 0;
}

.productListBlock .productImg .imgMain {
    position: relative;
    margin-bottom: 0;
    line-height: 0;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.productListBlock .productImg .imgMain img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.productListBlock .productImg .imgMain .productImgBack {
    position: absolute;
    left: -100%;
}

.productTitle {
    background: #fff;
    margin: 0;
    border-top: #f0f0f0 1px solid;
    padding: 10px 8px;
    text-align: center;
    flex-shrink: 0;
}

.imageMoveable {
    transition: all 0.3s ease;
}

.productListBlock .blank-message {
    text-align: center;
    padding: 50px 0;
    background: #fff;
    border-radius: 4px;
}

.pagination .page-item {

    display: inline-block;
    float: left;
    margin-left: 10px;
    padding: 0;
    line-height: normal;
    background: none;
    border: none;
}

.pagination .page-item > a,
.pagination .page-item > span
{
    display: block;
    width: 40px;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    border: 1px solid #1f3500;
    border-radius: 4px;
    background: #fff;
}

.pagination .page-item.disabled > span {
    border: 1px solid silver;
    color: silver;
}

.pagination .page-item.active > span {
    border: 1px solid silver;
    background: #1f3500;
    color: #fff;
}

.pagination .page-item:first-child {
    margin-left: 0;
}

.pagination .page-item span {
    font-size: 16px;
}

/* 商品详细页面 */
.product-category {
    margin-bottom: 30px;
}

.product-detail {
    background: #fff;
    padding: 50px 30px;
    border-radius: 4px;
}

.product-detail .product-image {
    width: 40%;
    display: inline-block;
    float: left;
}

.product-detail .product-info {
    width: 60%;
    display: inline-block;
    float: left;
    padding: 0 30px;
    box-sizing: border-box;
}

.product-detail .product-info .title {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #999;
}

.product-detail .product-info .name {
    font-weight: normal;
    font-size: 18px;
    margin: 0;
    padding: 15px 0;
    margin-bottom: 50px;
}

.product-detail .product-info .description {
    font-size: 16px;
}

.product-detail:after {
    display: block;
    content: '';
    clear: both;
}

.stone-info .wrightbox {
    margin: 20px 0;
}

.stone-info .wrightbox:first-child {
    margin-top: 50px;
}

.stone-info h3 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #1f3500;
    margin-bottom: 50px;
}

.stone-info .factory-env {
    display: flex;
    flex-wrap: wrap;

}

.stone-info .factory-env .item {
    flex-basis: calc((100% - 40px) / 4);
    margin: 5px;
    font-size: 0;
    border-radius: 6px;
    transition: scale 0.2s;
    overflow: hidden;
}

.stone-info .factory-env .item:hover {
    scale: 103%;
    cursor: pointer;
}
