.jaxom-show-products{
    color: #2A2625;
}
.jaxom-show-products li{
    margin: 0;;
    margin-top: 0;
}

.jaxom-product-parent-cats-tabs{
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style-type: none;
    font-family: Caveat, sans-serif;
    gap: 50px;
    font-size: 32px;
    font-weight: 700;
    width: 100%;
    overflow-x: scroll;
    margin: 0 auto;
    padding: 0 20px 15px 20px;
}
.jaxom-product-parent-cats-tabs .tab-item{
    cursor: pointer;
    position: relative;
    flex-shrink:0;
}
.jaxom-product-parent-cats-tabs .tab-item:after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: #5F7D64;
    transition: all 0.25s ease-in-out;
}

.jaxom-product-parent-cats-tabs .tab-item.active::after{
    width: 100%;
}


.jaxom-product-child-cats-tabs-area{
    display: none;
    margin-top: 50px;
}
.jaxom-product-child-cats-tabs-box{
    display: none;
}
.jaxom-product-child-cats-tabs{
    display: flex;
    max-width: max-content;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    font-family: Outfit, sans-serif;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 99px;
    padding: 4px;
    background: #F5F5F5;
}
.jaxom-product-child-cats-tabs .tab-item{
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 99px;
    cursor: pointer;
    position: relative;
    flex-shrink:0;
    overflow: hidden;
}
.jaxom-product-child-cats-tabs .tab-item::after{
    content: attr(data-name);
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: #ffffff;
    color: #fff;
    transition: all 0.25s ease-in-out;
    border-radius: 99px;
}
.jaxom-product-child-cats-tabs .tab-item.active::after{
    background: #5F7D64;
    left: 0;
    opacity: 1;
}


.jaxom-products-grids{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 60px;
}
/* 平板界面显示二列 */
@media screen and (max-width: 992px) {
    .jaxom-products-grids{
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 手机界面显示一列 */
@media screen and (max-width: 768px) {
    .jaxom-product-parent-cats-tabs{
        font-size: 24px;
    }
    .jaxom-parent-tab-item-all{
        margin-left: 150px;
    }
    .jaxom-product-child-cats-tabs-area{
        margin-top: 40px;
    }
	.jaxom-product-child-cats-tabs{overflow-x: scroll;justify-content: space-around;}
    .jaxom-products-grids{
        grid-template-columns: repeat(1, 1fr);
    }
}

.jaxom-product-item-box{
    position: relative;
    display: block;
    color: #2A2625;
}
.jaxom-product-item{
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Outfit, sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transform: scale(1);
}
.jaxom-product-item-mark{
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: transparent;
    opacity: 0;
    transition: all 0.55s ease-in-out;
}
.jaxom-product-item-box:hover .jaxom-product-item-mark{
    opacity: 1;
    z-index: 0;
    background-color: #fff;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
}
.jaxom-product-item .jaxom-product-thumbnail{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.jaxom-product-item .jaxom-product-image-box{
    position: relative;
    z-index: 0;
    width: 100%;
    padding-top: 130%;
    position: relative;
    overflow: hidden;
    transition: all 0.45s ease-in-out;
    transform: scale(1);
}

.jaxom-product-item .jaxom-product-image-box img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.35s ease-in-out;
}
.jaxom-product-item img.jaxom-product-image-cover{
    opacity: 1;
}
.jaxom-product-item img.jaxom-product-image-hover{
    opacity: 0;
}
.jaxom-product-item .jaxom-product-thumbnail:hover img.jaxom-product-image-hover{
    opacity: 1;
}
.jaxom-product-item .jaxom-product-thumbnail:hover img.jaxom-product-image-cover{
    opacity: 0;
}
.jaxom-product-item .jaxom-product-action-box{
    position: absolute;
    z-index: 10;
    bottom: -20px;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    border-radius: 99px;
    opacity: 0;
    background: transparent;
    transform: scale(1);
    transition: all 0.35s ease-in-out;
}

.jaxom-product-item .jaxom-product-thumbnail:hover .jaxom-product-action-box{
    bottom: 20px;
    opacity: 1;
}
.jaxom-product-action-box:hover + .jaxom-product-image-box{
    transform: scale(1.2);
}

.jaxom-product-item .jaxom-product-action-add{
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    background: #fff;
    color: #000;
    font-size: 16px;
    transition: all 0.35s ease-in-out;
}
.jaxom-product-item .jaxom-product-action-add::after{
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    content: "";
}

.jaxom-product-item .jaxom-product-action-label{
    position: absolute;
    bottom: 70%;
    left: 50%;
    opacity: 0;
    width: max-content;
    padding: 8px 12px;
    border-radius: 4px;
    transform: translateX(-50%);
    font-size: 14px;
    color: #000;
    background-color: #fff;
    transition: all 0.35s ease-in-out;
}
.jaxom-product-item .jaxom-product-action-add:hover{
    color: #fff;
    background-color: #000;
}
.jaxom-product-item .jaxom-product-action-add:hover .jaxom-product-action-label{
    bottom: 110%;
    opacity: 1;
    color: #fff;
    background-color: #000;
}




.jaxom-product-item .jaxom-product-name{
    text-align: center;
    color: #2A2625;
}
.jaxom-product-item .jaxom-product-price{
    margin-top: 6px;
}