@media only screen and (max-width: 900px) {
    .thumnail_pro {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .title_pro {
        width: 100% !important;
    }

    .tab_pro {
        flex-wrap: wrap;
    }

    .left_tab {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #04760c;
    }

    .right_tab {
        width: 100% !important;
    }

}

@media only screen and (max-width: 768px) {

    td.product-quantity.page_cart .quantity {
        justify-content: flex-end;
    }

    tr.cart-subtotal.page_cart-subtotal {
        display: none !important;
    }

    tr.woocommerce-shipping-totals.shipping {
        display: none !important;
    }

}

@media only screen and (max-width: 500px) {

    .woocommerce div.product .product_title {
        font-size: 35px !important;
    }

    .quantity.pro_quantity {
        margin-right: 100% !important;
    }
}

.woocommerce div.product form.cart {
    margin-bottom: 10px !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
    margin-bottom: 20px;
}

li.woocommerce-order-overview__total.total strong {
    color: red;
}

/* product-category */

.woocommerce ul.products li.product-category,
.woocommerce-page ul.products li.product-category {
    border: 2px solid #ccc;
    box-sizing: border-box;
}

.woocommerce ul.products li.product-category:hover,
.woocommerce-page ul.products li.product-category:hover {
    border: 2px solid rgba(1, 149, 159, 0.6);
}

.woocommerce ul.products li.product-category.last,
.woocommerce-page ul.products li.product-category.last {
    margin-right: 0 !important;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
.woocommerce ul.products li.product-category .woocommerce-loop-product__title,
.woocommerce ul.products li.product-category h3 {
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 0;
    color: #01959f;
    bottom: 0;
    width: 100%;
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s, -webkit-transform 0.3s;
    font-size: 12px !important;
    text-align: center;
    min-height: 30px;
    text-transform: uppercase;
}

.woocommerce ul.products li.product-category:hover .woocommerce-loop-category__title,
.woocommerce ul.products li.product-category:hover .woocommerce-loop-product__title,
.woocommerce ul.products li.product-category:hover h3 {
    background: rgba(1, 149, 159, 0.6);
    color: #fff !important;
}

.woocommerce ul.products li.product-category span.count {
    font-weight: normal;
    display: block;
    font-size: 11px;
}

/* product list */

.woocommerce ul.products li.type-product,
.woocommerce-page ul.products li.type-product {
    /* border: 1px solid #018791; */
    border-right: 1px solid #C7D8C5;
    border-bottom: 1px solid #C7D8C5;
    box-sizing: border-box;
    transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s, -webkit-transform .3s;
    /* box-shadow: 0px 20px 25px 0px rgba(0,0,0,0.2); */
}

.woocommerce ul.products li.type-product.last,
.woocommerce-page ul.products li.type-product.last {
    margin-right: 0 !important;
    border-right: none !important;
}

.woocommerce ul.products li.type-product:hover,
.woocommerce-page ul.products li.type-product:hover {
    box-shadow: none;
}

.woocommerce ul.products li.type-product .woocommerce-loop-category__title,
.woocommerce ul.products li.type-product .woocommerce-loop-product__title,
.woocommerce ul.products li.type-product h3 {
    color: #000;
    width: 100%;
    font-size: 20px !important;
    text-align: center;
    min-height: 30px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 60px;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product a.button {
    background: #04760c;
    color: #fff;
    text-align: center;
    width: 92%;
    box-sizing: border-box;
    float: left;
    margin: 15px 4%;
    border-radius: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product a.added_to_cart.wc-forward {
    position: absolute;
    left: 18px;
    bottom: -18px;
    font-size: 12px;
}

.woocommerce ul.products li.product a.yith-wcqv-button {
    background: #f37022;
}

.woocommerce ul.products li.product .price {
    color: #04760c !important;
    margin: 0;
    text-align: left;
    font-size: 22px !important;
    font-weight: bold !important;
    padding: 0 10px;
}

.woocommerce ul.products li.product .onsale {
    transform: rotate(360deg);
    top: 19px !important;
    right: 15px !important;
    left: auto !important;
}

/* product view */

/* .woocommerce div.product .product_title {color: #018791;font-size: 21px;} */

/* .woocommerce div.product p.price, .woocommerce div.product span.price {color: #018791 !important;} */

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #04760c !important;
}

.woocommerce .quantity .qty {
    height: 28px;
    border: 1px solid #018791;
}

.woocommerce .product-type-simple span.onsale {
    transform: rotate(360deg);
    line-height: 18px;
    background: #04760c;
    border-radius: 15px;
    padding: 3px 5px;
    min-height: auto;
    top: 19px !important;
    left: 4px !important;
    font-size: 16px;
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs .panel {
    overflow: hidden;
}

.kw-box-contact {
    border: 1px dashed #f37022;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
    margin-top: 10px;
}

.kw-box-contact p {
    margin: 0;
    margin-bottom: 10px;
}

section.related.products h2 {
    color: #018791;
}

.box_share {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    float: left;
}

.box_share>* {
    float: left;
    margin-right: 10px !important;
}

.qr-create-cart {
    margin-top: 10px;
}

.qr-create-cart img {
    width: 100px;
    transition: 0.5s;
}

.qr-create-cart:hover img {
    width: 300px;
}

/* cart */

.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button {
    color: #fff !important;
    background: #018791 !important;
}

.woocommerce .cart .button,
.woocommerce .cart input.button {
    color: #fff !important;
    background: #04760c !important;
}

.woocommerce-message {
    border-top-color: #018791 !important;
}

.woocommerce-message::before {
    color: #018791 !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text {
    border-color: #018791 !important;
    padding: 8px 6px 8px !important;
}

.woocommerce table.shop_table {
    border-color: #ddd !important;
    border-radius: 0px !important;
}

.woocommerce table.shop_table td {
    border-color: #ddd !important;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    border-color: #ddd !important;
}

.woocommerce table.shop_table td.product-name a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.woocommerce table.shop_table td.product-name a:hover {
    text-decoration: underline;
}

/* checkout */

.woocommerce form.woocommerce-checkout .form-row input.input-text,
.woocommerce form.woocommerce-checkout .form-row textarea,
.woocommerce form.woocommerce-checkout .form-row select {
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

.woocommerce form.woocommerce-checkout .form-row .select2-selection {
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    padding: 2px;
    height: 33px;
}

/* yith quick-view*/

#yith-quick-view-content div.images {
    box-sizing: border-box;
}

#yith-quick-view-content div.summary {
    box-sizing: border-box;
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {

    .woocommerce ul.products li.product a.button {
        font-size: 12px;
    }

}

@media only screen and (min-width: 769px) {

    .woocommerce ul.products li.product-category,
    .woocommerce-page ul.products li.product-category {
        width: 24.05% !important;
        margin: 0 1.2% 2.992em 0 !important;
    }

    .woocommerce ul.products li.type-product,
    .woocommerce-page ul.products li.type-product {
        /* width: 24.05% !important; */
        /* margin: 0 1.2% 2.992em 0 !important; */
        width: 25% !important;
        margin: 0 !important;
    }

    

    /* tag */

    div#list_pro_archive ul.products.columns-4 li.product {
        float: left;
        width: 24%!important;
        margin: 0 1.333% 20px 0!important;
        border: 1px solid #C7D8C5;
        border-radius: 10px;
        overflow: hidden;
    }
    
    div#list_pro_archive ul.products.columns-4 li.type-product.last {
        float: left;
        margin-right: 0!important;
        border-right: 1px solid #C7D8C5!important;
    }
    
    div#list_pro_archive {
        padding: 30px 20px;
    }




}

@media only screen and (max-width: 768px) {

    .qr-create-cart {
        display: none;
    }

    /* Fix lỗi small woo bị lỗi khi nén css*/

    .woocommerce #content div.product div.images,
    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.images,
    .woocommerce-page div.product div.summary {
        width: 100% !important;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-1,
    .woocommerce-page .col2-set .col-2 {
        width: 100% !important;
    }

}

@media only screen and (max-width: 500px) {

    .woocommerce ul.products li.product a.button {
        font-size: 12px;
    }

}

/* product /////////////////////////////////////////////////////////////////// */

.full_yoast {
    padding: 30px 0;
    background: #fff;
    font-size: 16px;
    width: 100%;
    float: left;
    margin-bottom: 30px;
}

p#breadcrumbs {
    margin: 0;
    text-align: center;
    color: #000;
}

p#breadcrumbs span a {
    color: #000;
}

p#breadcrumbs span span {
    margin: 0 7px;
}

.full_content_pro {
    width: 100%;
    float: left;
}

.bor_green {
    width: 100%;
    float: left;
    border: 1px solid #C7D8C5;
    border-radius: 10px;
    padding: 15px 0 0;
    background: #fff;
}

/*  */

.thumnail_pro {
    width: 50%;
    padding: 0 10px;
    float: left;
    position: relative;
}

.slider_img {
    width: 100%;
    float: left;
}

.mySwiper2_product {
    width: 100%;
    float: left;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.mySwiper_product {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    padding: 1px;
    margin: 10px 0;
}

a.bor_img {
    width: 100%;
    float: left;
    position: relative;
    padding-bottom: 100%;
}

img.img_product_top {
    position: absolute;
    width: 100%;
    object-fit: cover;
    top: 50%;
    transform: translateY(-50%);
}

.slider_pro.swiper-slide-thumb-active {
    border: 1px solid #04760c;
    opacity: 1;
    border-radius: 10px;
}

.slider_pro {
    overflow: hidden;
    display: flex;
}

.swiper-button-next.swiper-button-next_product {
    display: none;
}

.swiper-button-prev.swiper-button-prev_product {
    display: none;
}

/*  */

.title_pro {
    width: 50%;
    float: left;
    padding: 0 10px;
}

.title_pro>.summary.entry-summary {
    width: 100% !important;
}


.woocommerce div.product .product_title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

p.product-sku {
    font-size: 16px;
    margin: 0 0 20px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #04760c !important;
    font-size: 28px !important;
    font-weight: bold;
}

.summary.entry-summary>p.price {
    margin: 0 0 20px;
}

td.label {
    display: none;
}

.select_option span,
.select_option img {
    width: inherit !important;
    height: inherit !important;
    padding: 1px 10px;
    border-radius: 20px;
    font-size: 16px;
}

.select_option_label.select_option {
    border-radius: 30px;
    overflow: hidden;
    background: #EFF5EE;
    border: none;
}

.select_option:hover,
.select_option.selected {
    border-color: #fff;
}

.select_option_label.select_option.selected>span {
    background: #359E00;
    color: #fff;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
}

a.reset_variations {
    font-size: 16px;
    color: red;
}

button.button.buy_now_button {
    display: none !important;
}

p.box_love_pro>i {
    font-size: 20px;
    color: #04760c;
}

/* love */

.yith-wcwl-add-button {
    display: none;
}

.yith-wcwl-wishlistaddedbrowse {
    display: none;
}

.yith-wcwl-wishlistexistsbrowse {
    display: none;
}

/*  */

.quantity.pro_quantity {
    display: flex;
    border: 1px solid #c7d8c5;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 10px !important;
}


.quantity.pro_quantity>button {
    height: 50px;
    width: 30px;
    border: none;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.quantity.pro_quantity>input {
    height: 50px !important;
    border: none !important;
    width: 60px !important;
}

.quantity.pro_quantity>button.minus::before {
    content: '';
    width: 60px;
    height: 50px;
    position: absolute;
    background-color: #f6f6f600;
    right: 0;
    top: 0;
    transform: translateX(60px);
}

button.single_add_to_cart_button.button.alt.pro_add_cart {
    background: #04760c !important;
    height: 50px;
    width: 240px;
    border-radius: 50px;
    font-size: 17px;
    margin-right: 7px;
    margin-bottom: 10px !important;
}

p.box_love_pro {
    float: left;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 1px solid #c7d8c5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*  */
.box_add_cart {
    float: left;
    width: 100%;
    max-width: 430px;
}

p.button_add {
    width: 100%;
    border: 1px solid #04760c;
    margin: 0;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    color: #04760c;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
}

.box_ghi_chu_pro {
    float: left;
    width: 100%;
    margin-top: 10px;
}

p.text_gh {
    margin: 0;
    display: flex;
    align-items: center;
    background: #EFF5EE;
    padding: 17px 20px 17px 20px;
    border: 1px dashed #04760c;
    border-radius: 10px;
    gap: 10px;
    font-size: 16px;
}

ul.list_gh {
    padding-left: 0;
    list-style: none;
}

ul.list_gh>li {
    padding-left: 22px;
    background: url(images/icon_tich_pro.svg) 0 5px no-repeat;
    font-size: 14px;
}

.box_sku {
    width: 100%;
    float: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    row-gap: 20px;
}

p.product-sku.sku_cat_tag {
    width: 50%;
    margin: 0;
}

p.product-sku.sku_cat_tag:last-child {
    width: 100%;
}

.tab_pro {
    width: 100%;
    float: left;
    border-top: 1px solid #C7D8C5;
    margin-top: 25px;
    display: flex;
}

.left_tab {
    width: 50%;
    float: left;
    padding: 25px 20px;
    border-right: 1px solid #C7D8C5;
}

.right_tab {
    width: 50%;
    padding: 25px 20px;
}

h4.title.bold {
    color: #04760c;
    font-size: 22px;
    margin: 0 0 20px;
}

.item_mota {
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

.item_review {
    width: 100%;
    float: left;
}

.woocommerce p.stars.selected a:not(.active)::before {
    color: #04760c;
}

.woocommerce p.stars a::before {
    color: #04760c;
}

p.form-submit>input {
    background: #04760c !important;
    color: #fff !important;
}

.woocommerce .star-rating::before {
    color: #04760c;
}

.woocommerce .star-rating span {
    color: #04760c;
}

.text_tab {
    width: 100%;
    float: left;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #04760c;
}

.text_tab>h4 {
    width: 100%;
    text-align: center;
    margin: 0 !important;
    padding: 0 0 15px;
    position: relative;
}

.text_tab>h4.active::before {
    display: block !important;
}

h4.title.bold.title_lq::before,
h4.title.bold.title_xem::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 9px solid #04760c;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -7px;
    display: none;
}

.tab_related {
    width: 100%;
    float: left;
}

ul.related-products {
    width: 100%;
    float: left;
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

ul.related-products>li {
    width: 100%;
    margin-bottom: 10px;
    float: left;
}

.content_tab_pro {
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

a.link_item_pro {
    float: left;
    display: block;
}

.content_tab_pro img {
    max-width: 100px !important;
    border-radius: 10px;
    border: 1px solid #ebebeb;

}

.right_item_pro del span.woocommerce-Price-amount.amount {
    opacity: 0.5;
}

.right_item_pro>h3 {
    margin: 0;
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 24px;
}

.right_item_pro {
    width: 100%;
    float: left;
}

button.button_tab.button.alt {
    background: #04760c !important;
    border-radius: 20px;
}

span.price_tab {
    color: #04760c;
    font-size: 20px;
    font-weight: bold;
}

.tab_viewed {
    width: 100%;
    float: inline-start;
}

ul.recently-viewed-products {
    width: 100%;
    float: left;
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.list_pro {
    width: 100%;
    float: left;
    margin: 20px 0;
}

h2.title_pro_new {
    width: 100%;
    float: left;
    margin: 0 0 20px;
    font-size: 24px;
}

/*  */

.mySwiper_new {
    position: relative;
    overflow: hidden;
    width: 100%;
    float: left;
}

.content_list_pro {
    width: 100%;
    float: left;
}

a.link_item_list_pro {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #fff;
}

a.link_item_list_pro>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right_item_list_pro>h3 {
    font-weight: 100;
}

span.price_list {
    font-size: 16px;
    font-weight: 600;
    color: #303030;
}

.swiper-button-next.swiper-button-next_new,
.swiper-button-prev.swiper-button-prev_new {
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next.swiper-button-next_new>i,
.swiper-button-prev.swiper-button-prev_new>i {
    font-size: 30px;
    color: #3a3a3a;
}

/*  */

.box_bottom_giao_hang {
    width: 100%;
    float: left;
    margin: 50px 0 20px;
}

.list_item_giao_hang {
    width: 100%;
    float: left;
}

.content_giao_hang {
    width: 100%;
    float: left;
    text-align: center;
}

h3.title_giao_hang {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 10px;
}

.content_giao_hang>p {
    font-size: 16px;
    margin: 0;
}




/* //////////////////////////////////////////////////////////////////// */

.woocommerce ul.products li.product a img {
    max-height: 300px;
}