/* 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 .page-title{
	margin-top: 0;
}
.woocommerce ul.products li.type-product,
.woocommerce-page ul.products li.type-product {
    border: 1px solid #dadada;
    box-sizing: border-box;
}
.woocommerce ul.products li.product a img {
	border-bottom: 1px solid #dadada;
}

.woocommerce ul.products li.type-product.last,
.woocommerce-page ul.products li.type-product.last {
    margin-right: 0 !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: #333;
	font-size: 15px !important;
	font-weight: normal;
	text-align: center;
}

.woocommerce ul.products li.product a.button {
    margin-top: 3px !important;
    background: #c01700;
    color: #fff;
    border-radius: 0;
    text-align: center;
    width: 50%;
    box-sizing: border-box;
    float: left;
    padding-left: 0;
    padding-right: 0;
}

.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: #01959f !important;
    margin: 0;
    text-align: center;
    font-size: 12px !important;
}

.woocommerce ul.products li.product .onsale {
    transform: rotate(35deg);
    top: 19px !important;
    right: 4px !important;
    left: auto !important;
}
.taxonomy-description{
	margin-bottom: 20px;
}

/* product view */
.woocommerce main div.product .product_title {
    font-size: 25px !important;
}
.woocommerce div.product p.price ins{
    text-decoration: none;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #c01700  !important;
    margin-top: 0 !important;
}

.woocommerce .quantity .qty {
    height: 36px;
    border: 1px solid  #c01700;
}

.woocommerce .product-type-simple span.onsale {
    transform: rotate(320deg);
    line-height: 15px;
    background: #c01700;
    border-radius: 5px;
    padding: 3px 5px;
    min-height: auto;
    top: 19px !important;
    left: 4px !important;
    font-size: 12px;
    font-weight: normal;
}

.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 {
    font-weight: normal;
    font-weight: 700;
    border-bottom: solid 3px #c01700;
    padding-bottom: 5px;
    font-size: 1.5em;
}
.woocommerce section.related.products li.type-product, 
.woocommerce-page section.related.products li.type-product {
    width: 33% !important;
    margin: 0 0.3% 20px 0 !important;
}
.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;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
    margin-right: 10px !important
}
.woocommerce  main ul.products li.product a img {
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 0;
}
/* 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: #c01700 !important;
}

.woocommerce .cart .button,
.woocommerce .cart input.button {
    background: #c01700 !important;
    padding: 10px 20px !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    float: left !important;

}
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 120px !important;
    box-shadow: none;
}
.woocommerce-message {
    border-top-color: #c01700 !important;
}

.woocommerce-message::before {
    color: #c01700 !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text {
    border-color: #c01700 !important;
    padding: 8px 6px 8px !important;
}

.woocommerce table.shop_table {
    border-color: #c01700 !important;
}

.woocommerce table.shop_table td {
    border-color: #c01700 !important;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
    border-color: #c01700 !important;
}

.woocommerce table.shop_table td.product-name a {
    color: #c01700;
    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 #9f9f9f;
    padding: 5px;
}

.woocommerce form.woocommerce-checkout .form-row .select2-selection {
    border: 1px solid #9f9f9f;
}

/* 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: 33% !important;
		margin: 0 0.5% 20px 0 !important;
    }

	.woocommerce ul.products li.type-product, .woocommerce-page ul.products li.type-product {
		width: 33% !important;
		margin: 0 0.5% 20px 0 !important;
	}
}

@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;
    }
    .woocommerce ul.products li.type-product, 
    .woocommerce-page ul.products li.type-product,
        .woocommerce section.related.products li.type-product, 
    .woocommerce-page section.related.products li.type-product {
        width: 49% !important;
        margin-bottom: 20px !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 {
        font-size: 1em !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        padding-bottom: 0 !important;
        margin-bottom: 9px !important;
    }
   .woocommerce .page-title {
        font-size: 25px;
    }
}

@media only screen and (max-width: 500px) {
    .woocommerce ul.products li.product a.button {
        font-size: 12px;
    }
    .woocommerce .page-title {
        font-size: 22px;
    }
}
@media only screen and (max-width: 400px) {
    .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{
        font-size: 1.2em !important;
    }
        .woocommerce ul.products li.type-product, 
    .woocommerce-page ul.products li.type-product {
        width: 100% !important;
    }
}