/* products */
.product-hover-price {
    height: auto;
    overflow: hidden;
    opacity: 1;
    transition: 0.5s all;
    visibility: unset;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
       font-size: 14px !important;
}
.woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    width: max-content;
}

.woocommerce ul.products li.product {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 1px 1px 10px 0px rgb(133 133 133 / 29%);
}

.woocommerce ul.products li.product .button{
    display: none !important;
    background-image: linear-gradient(95deg, #4DA1E8 0%, #5d89ba 100%);
}

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    background: #243e9e !important;
}

.woocommerce div.product div.images img {
    display: block;
    width: 50%;
    margin: auto;
    height: 500px;
}

@media only screen and (max-width: 768px) {
    .woocommerce div.product div.images img {
        height: auto;
        width: 100%;
    }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    text-align: center;
    transition: 0.5s all;
}

.product-hover-price {
    /* height: 0; */
    overflow: hidden;
    opacity: 1;
    transition: 0.5s all;
    /* visibility: hidden; */
}

.product-detail {
    margin-bottom: 10px;
}

.woocommerce ul.products li.product a img {
    /* padding: 30px 30px 0; */
    transition: 0.5s all;
}

/* .woocommerce ul.products li.product:hover a img {
    padding: 30px 30px 0;
} */

.woocommerce ul.products li.product:hover .product-hover-price {
    opacity: 1;
    height: auto;
    visibility: visible;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
}

.product-image_in-loop .stock {
    position: absolute;
    top: 5px;
    right: 5px;
    /* transform: translateX(-50%); */
    color: #fff !important;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.product-image_in-loop .stock.instock {
    background: #62b11a;
     display: none;
}

.product-image_in-loop .stock.outstock {
    background: #f00f00;
}

.stock {}

.product-image_in-loop {
    position: relative;
}

span.text-val {
    font-weight: 700;
    margin-left: auto;
    float: right;
    color: #555;
    cursor: pointer;
    position: relative;
}

.filter-col-s {
    position: relative;
    margin-bottom: 10px;
}

form.woocommerce-ordering select {
    width: 100%;
}

form.woocommerce-ordering {
    width: 100%;
    border: 1px solid #ccc;
    /* padding: 5px; */
}

.filter-col ul {
    position: absolute;
    left: 0;
    min-width: 200px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 3px 10px 0px rgb(0 0 0 / 75%);
    padding: 10px;
    z-index: 1;
    background: #fff;
    line-height: 25px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.5s all;
}

.filter-col ul.active {
    opacity: 1;
    visibility: visible;
}

.filter-col ul a {
    color: #555;
}

.woocommerce-products-header {
    padding: 10px 0;
    border-bottom: 2px solid #f00;
    margin-bottom: 15px;
}

.woocommerce select.orderby {
    border: none;
    padding: 5px;
    font-weight: 700;
    color: #555;
    font-size: 14px;
    font-family: "Open sans", Arial, sans-serif;
}

a.load-more {
    display: block;
    text-align: center;
    width: auto;
    margin: auto;
    background: #f00;
    color: #fff;
    padding: 5px 20px;
    border-radius: 10px;
    font-weight: 600;
}

.filter-heading .heading_filter_shop {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.yith-woocommerce-ajax-product-filter ul.yith-wcan-color li.chosen a {
    /* border: 2px solid #f00 !important; */
    position: relative;
    display: block !important;
}

.yith-woocommerce-ajax-product-filter ul.yith-wcan-color li.chosen a::after {
    content: "\2713";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    z-index: 1;
}

.filter-heading-title {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}


/* Single product */

.select_option span,
.select_option img {
    min-width: 30px;
    min-height: 30px;
    width: auto !important;
    height: auto !important;
}

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

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 100% !important;
    text-align: center;
    padding: 30px 0;
    background-color: #f00;
    color: #fff;
}

.woocommerce .woocommerce-breadcrumb a,
.woocommerce .content-wrap .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb {
    color: #fff !important;
}

.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;
    /* font-weight: 300; */
}

.woocommerce div.product .product_title {
    color: #fff;
}

.woocommerce div.product p.stock {
    color: #fff !important;
    margin-top: 15px;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #f00;
    color: #fff !important;
}

span.posted_in a {
    color: #fff;
}

.woocommerce div.product form.cart {
    display: flex;
    justify-content: center;
    padding: 10px;
    align-items: center;
}

.woocommerce ul.products li.product .price {
    color: #f5222d !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}


/* product view */

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #f5222d !important;
    font-size: 24px !important;
    margin-top: 20px;
    font-weight: 700;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #018791;
}

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

.woocommerce .product-type-simple span.onsale {
    transform: rotate(320deg);
    line-height: 15px;
    background: #f37022;
    border-radius: 5px;
    padding: 3px 5px;
    min-height: auto;
    top: 19px !important;
    left: 4px !important;
    font-size: 12px;
    font-weight: normal;
    width: auto;
    right: unset !important;
}

.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;
    margin-bottom: 20px;
}

.box_share {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.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;
}

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

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

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

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

.woocommerce table.shop_table {
    border-color: #018791;
}

.woocommerce table.shop_table td {
    border-color: #018791;
}

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

.woocommerce table.shop_table td.product-name a {
    color: #018791;
    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 #018791;
    padding: 5px;
}

.woocommerce form.woocommerce-checkout .form-row .select2-selection {
    border: 1px solid #018791;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    float: left;
    width: 48%;
    max-width: 100%;
    padding: 0;
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    float: left;
    width: 48%;
    max-width: 100%;
    padding: 0;
}


/* 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 (max-width: 992px) {
    span.text-val {
        position: unset;
    }

    .filter-col ul {
        top: 100%;
        left: 0;
        right: 0;
    }
}

@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 (max-width: 768px) {
    .qr-create-cart {
        display: none;
    }

    .woocommerce ul.products li.product {
        margin-bottom: 0 !important;
    }

    /* 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;
    }
}