.ym_products{
    padding-bottom: 80px;
}

.ym_container{
    max-width: 1320px;
    margin: 0 auto;
}

.ym_products_categories{
    width: 100%;
}

.ym_categories_list{
    width: fit-content;
    display: flex;
    gap: 10px 30px;
    flex-wrap: wrap;
}

.ym_categories_list li a{
    white-space: nowrap;
}

.ym_categories_list li{
    margin-left: 0;
}

.ym_products_wrapper{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ym_product_item{
    width: calc( 25% - 15px );
    border: 1px solid #ffc999;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ym_product_thumb img{
    width: 100%;
    height: initial;
}

.ym_product_content{
    display: flex;
    gap: 20px;
}

.ym_product_title{
    max-width: calc(100% - 70px);
   
}

.ym_product_title h3{
    font-size: 18px;
    line-height: 1.2;
    width: 100%;
    overflow-wrap: break-word;

}

.ym_product_price{
    white-space: nowrap;
    width: 50px;
}

.ym_product_btn{
    border: 1px solid #ffc999;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    text-transform: uppercase;
    margin-top: auto;
    transition: .3s;
}

.ym_product_btn:hover{
    background-color: #ffc999;
    color: #000;
}

.ym-single{
    margin-top: 150px;
}

.ym-single .product_title{
    font-size: 40px;
}

.ym-single .price{
    font-size: 18px;
    line-height: 1;
    color: #ffc999 !important;
}

.ym-single .quantity{
    display: none;
}

#ym-single .single_add_to_cart_button{
    border: 1px solid #ffc999;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    text-transform: uppercase;
    margin-top: auto;
    transition: .3s;
    background-color: transparent;
    color: #ffc999;
    font-weight: 400;
}

#ym-single .single_add_to_cart_button:hover{
    background-color: #ffc999;
    color: #000;
}

.ym-single .woocommerce div.product div.summary{
    /* min-height: 635px; */
    float: initial;
}



.ym-single h2{
 font-size: 35px;
 margin-bottom: 30px;
}

.ym-single .product{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px 0;
}

.woocommerce .ym-related ul.products{
    display: flex;
    width: 100%;
    gap: 20px;
}

.woocommerce .ym-related ul.products::before,
.woocommerce .ym-related ul.products::after{
    display: none;
}

@media (max-width: 1500px){
    .ym_container{
        max-width: 1100px;
    }

}

@media (max-width: 1200px){
    .ym_container{
        max-width: 930px;
    }

    .ym_product_item{
        width: calc( 33.33% - 13.333px );
    }
}

@media (max-width: 992px){
    .ym_container{
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px){
    .ym_products_wrapper{
        gap: 10px;
    }

    .ym_product_item{
        width: calc( 50% - 5px );
        padding: 7px;
    }
    
    .ym_product_title h3{
        font-size: 14px;
    }

    .ym_product_btn{
        font-size: 11px;
    }

    .ym_product_btn{
        padding: 7px 10px;
    }

    .ym_product_price{
        font-size: 14px;
        width: 35px;
    }

    .ym_product_content{
        gap: 10px;
    }

    .ym_product_title {
        max-width: calc(100% - 45px);
    }
}
