/* product-category */
.woocommerce ul.products li.product-category,
.woocommerce-page ul.products li.product-category {
    border: 2px solid var(--brand-border, #ebdcc9);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.woocommerce ul.products li.product-category:hover,
.woocommerce-page ul.products li.product-category:hover {
    border: 2px solid var(--brand-secondary, #e58300);
    box-shadow: 0 6px 18px rgba(115, 61, 22, 0.12);
}

.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: var(--brand-primary, #733d16);
    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: var(--brand-secondary, #e58300);
    color: #fff !important;
}

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

/* product list */
.woocommerce-products-header {
    position: relative;
    margin-bottom: 20px;
}
.archive-product-header{
	justify-content: space-between;
	align-items: center;
    position: relative;
    z-index: 1;
}
.archive-product-header #breadcrumbs{
    text-transform: uppercase;
    font-size: 20px;
}
.archive-product-header a{
    color: #777;
}
.archive-product-header .breadcrumb_last{
    color: #222;
}
.archive-product-header select{
    height: 40px;
    margin-left: 10px;
	background-color: rgba(255,255,255,0.2) !important;
}
.archive-product-header select option {
	color: #333;
}
.archive-product-header h1{
	margin: 0 0 20px;
	font-size: 20px;
    display: none;
}
.archive-product-header #breadcrumbs .breadcrumb_last{
	font-weight: bold;
}

.woocommerce ul.products.columns-5,
.woocommerce.columns-5 ul.products{
	display: flex;
	flex-wrap: wrap;
}
.woocommerce ul.products li.type-product{
    padding: 10px 10px 20px !important;
    margin-bottom: 0 !important;
}
.woocommerce ul.products li.type-product:not(.swiper-slide){
	margin: 0 !important; 
}
.woocommerce ul.products.columns-5 li.type-product,
.woocommerce.columns-5 ul.products li.type-product{
	width: 20% !important;
}

.woocommerce ul.products li.product a .img-wrap{
	position: relative;
    margin-bottom: 10px;
}
.woocommerce ul.products li.product a .img-pro{
	overflow: hidden;
    border-radius: 7px;
}
.woocommerce ul.products li.product a .img-pro img{
	margin: 0;
	transition: .6s all;
	display: block;
	object-fit: cover;
    border-radius: 7px;
}
.woocommerce ul.products li.product:hover a .img-pro img{
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.woocommerce ul.products li.product a .img-wrap .woocommerce-product-details__short-description {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 22;
	display: none;
	background: rgba(0,0,0,0.5);
	font-size: 13px;
	color: #fff;
	padding: 10px;
	display: none;
	overflow: hidden;
}
.woocommerce ul.products li.product a .img-wrap:hover .woocommerce-product-details__short-description {
	display: block;
	cursor: pointer;
	/*opacity: 0.5;*/
}

.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: #334862;
    width: 100%;
    font-size: 14px !important;
    text-transform: uppercase;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: bold;
}
.woocommerce ul.products li.type-product .woocommerce-loop-category__title:hover,
.woocommerce ul.products li.type-product .woocommerce-loop-product__title:hover,
.woocommerce ul.products li.type-product h3:hover{
    color: var(--brand-secondary, #e58300) !important;
}
.woocommerce ul.products li.product a.added_to_cart.wc-forward,
.woocommerce ul.products li.product a.button {
	margin-top: 5px !important;
	background: var(--brand-primary, #733d16) !important;
	color: #fff !important;
	text-align: center;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
	font-weight: normal;
	height: 40px;
	line-height: 40px;
	padding: 0;
	border-radius:4px ;
    border: 0 !important;
}

.woocommerce ul.products li.product a.added_to_cart.wc-forward:hover,
.woocommerce ul.products li.product a.button:hover {
	background: var(--brand-secondary, #e58300) !important;
	color: #fff !important;
}
.woocommerce ul.products li.product .add_to_cart_button.added{
	display: none;
}


.woocommerce ul.products li.product a.yith-wcqv-button {
    background: var(--brand-secondary, #e58300);
}

.woocommerce div.product .summary .price,
.woocommerce ul.products li.product .price {
    color: var(--brand-secondary, #e58300) !important;
    margin: 0;
    font-size: 16px !important;
    font-weight: bold !important;
}
.woocommerce div.product .summary .price ins,
.woocommerce ul.products li.product .price ins{
	text-decoration: none;
}
.woocommerce div.product .summary .price del,
.woocommerce ul.products li.product .price del,
.woocommerce div.product .summary .price del .amount,
.woocommerce ul.products li.product .price del .amount{
	color: #999 !important;
	font-size: 13px !important;
}
.woocommerce ul.products li.product .onsale {
    top: 19px !important;
    right: auto !important;
    left: -8px !important;
    font-size: 15px !important;
    line-height: 39px;
    width: 45px;
    height: 45px;
    min-width: auto;
    min-height: auto;
    display: inline-block;
    background: var(--brand-secondary, #e58300);
}

/* product view */
.single-product .sidebar-one {
}
.single-product .breadcrumb-tow::before {
    content: "";
    background-color: rgba(0,0,0,0.25);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.flex-viewport,
.woocommerce-product-gallery__wrapper {
    border: 1px solid #f1ead6;
}
.flex-viewport .woocommerce-product-gallery__wrapper{
    border: 0;
}
.flex-viewport{
    margin-bottom: 15px;
}
.woocommerce div.product div.images .flex-control-thumbs li img:hover, 
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border: 2px solid var(--brand-secondary, #e58300);
}
.single-product .breadcrumb-title > p{
    text-transform: unset;
    color: var(--brand-primary, #733d16);
    font-size: 24px;
}
.single-product #breadcrumbs{
    color: #777;
}
.single-product #breadcrumbs a{
    text-transform: uppercase;
    color:#fff;
    font-size: 15px;
}
.single-product #breadcrumbs .breadcrumb_last{
    display: none;
}   
.woocommerce div.product .product_title {
    font-size: 24px;
    color: var(--brand-primary, #733d16);
    margin-bottom: 5px;
    font-weight: bold;
}
.woocommerce .summary .woocommerce-product-rating .star-rating{
    margin: 0 !important;
    color: var(--brand-secondary, #e58300);
}
.woocommerce div.product .summary .price{
    text-align: left;
    font-size: 20px !important;
    margin: 10px 0;
}
.single-product .summary .woocommerce-product-details__short-description {
    font-size: 16px;
    margin-bottom: 15px;
}
.woocommerce div.product .summary form.cart {
    margin-top: 10px;
    margin-bottom: 10px;
}
div.select_option.selected span {
    color: var(--brand-secondary, #e58300);
    box-shadow: 0 1px 9px 0 rgba(4,4,4,.14);
    border-color: var(--brand-secondary, #e58300);
}

.woocommerce div.product .summary form.cart div.quantity {
     float: none; 
    margin: 0 4px 0 0;
}
.woocommerce .quantity .qty_button, .woocommerce .quantity .qty {
    border-left: 1px solid #ddd;
    outline: none;
    height: 40px;
    text-align: center;
    width: 25px;
    float: left;
    margin-right: 0;
    border: 1px solid #E5E5E5;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 1px #fff;
}
.woocommerce .quantity .qty_button{
    background-color: #f9f9f9;
}
.woocommerce .quantity .qty {
    width: 40px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    font-weight: normal;
    font-size: 1em;
}
.woocommerce div.product form.cart button.button.alt {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    padding: 0 20px;
    border: none !important;
    border-radius: 0 !important;
    text-transform: uppercase;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--brand-primary, #733d16) !important;
}
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button{
    color: #fff !important;
    border: 1px solid !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--brand-secondary, #e58300) !important;
    border-color: var(--brand-secondary, #e58300) !important;
    color: #fff !important;
}

.woocommerce div.product form.cart .button{
    margin-left: 10px;
}

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

.box_share {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
}

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

/*tabs*/
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
   margin-bottom:0;
   width:100%;
   padding:0;
   padding-top: 20px;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
   background:transparent;
   border-radius:0;
   margin:0;
   margin-right: 5px;
   border: 0 !important;
   border-top: 2px solid transparent !important;
   padding:8px 15px;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li+li{
    margin-left: -5px;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 0 10px;
    font-size: 16px;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: transparent;
   color:#000;
   position:relative;
   border:0!important;
   border-top: 3px solid var(--brand-primary, #733d16) !important;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li,
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
   border:none;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
   display:none;
}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::before {
   border-bottom:1px solid #ddd;
}
.single-product.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
   width:100%;
   border-top:0!important;
   float:left;
   padding:15px;
   width:100%;
   font-size:14px;
   line-height:24px;
   color:#636363;
   margin-bottom:20px;
   border: 1px solid #f1ead6 !important;
   border-top: 0 !important;
}
/**/

.single-product .related{
    clear: both;
}
.single-product .related>h2 {
    display: block;
    padding: 10px 0px;
    margin-bottom: 0px;
    letter-spacing: 0;
    font-size: 18px;
    text-transform: uppercase;
}
.single-product .related .products.columns-4 {

    margin: 0 0 20px 0;
}
.single-product .related .products.columns-4 li.type-product{

}

/*cart*/
#add_payment_method table.cart img, 
.woocommerce-cart table.cart img, 
.woocommerce-checkout table.cart img {
    width: 100px !important;
}
.woocommerce table.shop_table .variation {
    color: #686868;
    font-size: 14px;
    display: flex;
    margin-top: 0 ;
    text-transform: capitalize;
}
.woocommerce table.shop_table .variation dt{
    display: none !important; 
}
.woocommerce .wc-item-meta dd, 
.woocommerce dl.variation dd {
    margin: 0;
}
.woocommerce .wc-item-meta p, .woocommerce .wc-item-meta:last-child, 
.woocommerce dl.variation p, .woocommerce dl.variation:last-child {
    margin: 5px 0;
}
.woocommerce table.shop_table .variation dd p::after{
    content: " / ";
}
.woocommerce table.shop_table .variation dd:last-child p::after{
    display: none; 
}
/* checkout */
.woocommerce .form-row-last input.button {
    color: #fff !important;
    background: var(--brand-primary, #733d16) !important;
    border: 1px solid transparent !important;
}

.woocommerce .form-row-last input.button:hover {
    background: var(--brand-secondary, #e58300) !important;
    border: 1px solid;
}
 .woocommerce-cart table.cart td.actions .coupon .input-text{
    height: 35px;
 }

/*check out*/
.checkout .form-row label {
    color: #333333;
}

.woocommerce-info {
    border-color: var(--brand-primary, #733d16) !important;
}

.checkout .form-row input,
.woocommerce .woocommerce-checkout form.checkout_coupon .form-row input.input-text,
.woocommerce .woocommerce-checkout form.checkout_coupon .form-row textarea,
.woocommerce .woocommerce-checkout form .form-row .input-text,
.woocommerce-page form .form-row .input-text {
    box-shadow: 0 0 0 1px #d9d9d9;
    transition: all 0.2s ease-out;
    background-color: white;
    color: #333333;
    border-radius: 4px;
    display: block;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 0.94em 2.8em 0.94em 0.8em;
    word-break: normal;
    border: 1px solid #d9d9d9;
}

.checkout_coupon .input-text,
.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper input.input-text {
    box-shadow: none;
    transition: all 0.2s ease-out;
    background-color: white;
    color: #333333;
    border-radius: 4px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.94em 2.8em 0.94em 0.8em;
    word-break: normal;
}

.woocommerce-form-coupon-toggle {
    display: none !important;
}

#place_order {
    width: 100%;
    margin-top: 20px;
}

.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_first_name_field,
.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_address_1_field,
.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_phone_field,
.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_email_field {
    width: 100%;
}

.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_city_field {
    width: 50%;
}

.woocommerce-checkout div.col-1 .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p#billing_address_2_field {
    width: 50%;
    padding-right: 0px;
}

body.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    display: none !important;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

body.woocommerce .woocommerce-checkout .col2-set div.col-1,
.woocommerce-page .woocommerce-checkout .col2-set div.col-1 {
    width: 100%
}

.checkout-tu-tao {
    float: left;
    width: 48%;
    display: flex;
}

.checkout-tu-tao #customer_details .col-1 {
    width: 100% !important;
}

#customer_details h3 {
    margin-top: 0px;
    margin-bottom: 10px
}

.phuongthuc_ship {
    margin-bottom: 20px;
}

.checkout.woocommerce-checkout.woocommerce-checkout-tao,
.full-checkout .woocommerce-message {
    float: right;
    width: 48%;
}

.woocommerce-checkout-tao #customer_details {
    display: none;
}

.order_review_toggle_mobile {
    margin: 15px 0;
    display: none;
}

.billing_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.billing_bottom a {
    text-decoration: none;
    color: var(--brand-primary, #733d16);
}

.billing_bottom button {
    padding: 1.4em 1.7em;
    border-radius: 4px;
    background: var(--brand-primary, #733d16);
    color: #fff;
    transition: 0.4s all;
    border: none;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.woocommerce .button.apply_input_coupon {
    padding: .9em 1.5em !important;
    border-radius: 3px !important;
    border: none !important;
    color: #fff !important;
    background: var(--brand-primary, #733d16) !important;
    cursor: pointer !important;
}

.woocommerce .button.apply_input_coupon:hover {
    color: #fff !important;
    background: var(--brand-secondary, #e58300) !important;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table tbody th {
    text-align: left;
}

/*step2*/
.woocommerce-checkout-step2 #customer_details .col-1 {
    display: none;
}

.checkout.woocommerce-checkout.woocommerce-checkout-step2 #order_review {
    width: 48%;
    float: right;
}

.checkout.woocommerce-checkout.woocommerce-checkout-step2 .col2-set {
    width: 48%;
    float: left;
}

#shipping_method {
    border: 1px solid #ebebeb;
}

.woocommerce ul#shipping_method li+li {
    border-top: 1px solid #ebebeb;
}

.woocommerce ul#shipping_method li {
    padding: 10px;
}

#payment {
    background: none !important;
}

.wc_payment_methods.payment_methods.methods {
    padding: 0 !important;
    border: 1px solid #ebebeb;
}

.wc_payment_methods.payment_methods.methods li+li {
    border-top: 1px solid #ebebeb;
}

.wc_payment_methods.payment_methods.methods li {
    padding: 10px;
}

.form-row.place-order,
#order_review #payment {
    display: none;
}

/*end step2*/

.woocommerce .woocommerce-checkout form.checkout_coupon {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.submit_input_coupon {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.name_coupon_product {
    padding: .9em;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    flex-grow: 1;
    margin-right: 20px;
}

.submit_input_coupon p {
    padding: 0.9em 1.5em;
    border-radius: 3px;
    border: none;
    color: #fff !important;
    background: var(--brand-primary, #733d16);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: initial;
    margin: 0;
}

.submit_input_coupon p:hover {
    background: var(--brand-secondary, #e58300);
}

.checkout .cart_item .thumbnail_product_checkout {
    width: 20%;
    position: relative;
}

.checkout .cart_item .thumbnail_product_checkout img {
    border-radius: 10px;
    border: 1px solid #dadada;
    padding: 0;
    overflow: hidden;
}

.checkout .cart_item .thumbnail_product_checkout .product-quantity {
    position: absolute;
    top: 0;
    right: 0px;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50px;
    background: var(--brand-secondary, #e58300);
    color: white;
    font-weight: normal;
    line-height: 20px;
    font-size: 13px;
}

@media only screen and (max-width: 991px) {
    .submit_input_coupon p {
        padding: 0.9em 1em;
    }
}

@media only screen and (max-width: 768px) {
    .shop_table.cart .nd-quantity-input,
    .woocommerce td.product-name dl.variation {
        justify-content: flex-end;
    }
    /*checkout*/
    #order_review_heading,
    div.woocommerce-billing-fields h3 {
        margin-bottom: 10px;
    }

    .woocommerce table.shop_table.woocommerce-checkout-review-order-table td {
        text-align: right;
    }

    .full-checkout {
        display: flex;
        flex-direction: column;
    }

    .checkout-tu-tao,
    .woocommerce-checkout-tao {
        width: 100% !important;
        order: 2;
    }

    .checkout.woocommerce-checkout {
        display: flex;
        flex-direction: column;
        order: 1;
    }

    .woocommerce-checkout-step2 #customer_details {
        width: 100%;
        order: 2;
    }

    .submit_input_coupon {
        padding: 0;
    }

    #order_review,
    .checkout.woocommerce-checkout.woocommerce-checkout-tao,
    .full-checkout .woocommerce-message {
        width: 100% !important;
    }
}

/*cam on*/
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    width: 100%;
    display: flex;
    padding: 20px 10px;
    background: #fafafafa;
}

.woocommerce-order .woocommerce-notice {
    text-align: center;
    padding: 20px;
    font-size: 20px;
    color: var(--brand-primary, #733d16);
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}

.woocommerce ul.order_details li,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table td .amount {
    font-size: 15px;
    font-weight: normal;
}

.woocommerce ul.order_details li {
    float: none !important;
    width: 25%;
    padding-right: 10px;
    margin-right: 10px;
    font-size: 14px !important;
    font-weight: bold;
}

.woocommerce ul.order_details li strong {
    font-weight: bold;
    color: #333333;
    font-size: 14px !important;
    margin-top: 10px;
}
.shop_table.cart .nd-sl{
    display: none;
}
.shop_table.cart .nd-quantity-input {
    display: flex;
}
.shop_table.cart .quantity .qty_button,.shop_table.cart   .quantity .qty{
    flex: none !important;
}

/**/
/**/
/*login*/
.headding_login {
    text-align: center;
    margin-bottom: 20px
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password,
.woocommerce .register {
    width: 50%;
    margin: 0 auto !important
}

.woocommerce form.login input,
.woocommerce form.lost_reset_password input,
.woocommerce form.register input {
    height: 42px;
    border: 1px solid #ededed;
    padding: 10px
}

.woocommerce form.login button,
.woocommerce form.lost_reset_password button,
.woocommerce form.register button {
    background-color: var(--brand-primary, #733d16);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 15px 20px;
    border: 0;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
}

.woocommerce form.login button:hover,
.woocommerce form.lost_reset_password button:hover,
.woocommerce form.register button:hover {
    background-color: var(--brand-secondary, #e58300);
}

.woocommerce form.lost_reset_password input {
    width: 100%
}


#yith-quick-view-modal .yith-wcqv-wrapper {
    width: 900px;
    overflow: hidden;
    border-radius: 5px;
}
#yith-quick-view-modal .summary .summary-content>.price{
    display: none;
}

/**/
.woocommerce-cart-form .cart .wrap-quantity {
    display: flex;
    justify-content: flex-end;
}
@media only screen and (max-width: 900px) {
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        padding: 5px !important;
    }
    .woocommerce ul.products li.product span.price, 
    .woocommerce ul.products li.product span.price ins,
    .woocommerce ul.products li.product a .woocommerce-loop-category__title, 
    .woocommerce ul.products li.product a .woocommerce-loop-product__title, 
    .woocommerce ul.products li.product h3{
        font-size: 15px;
    }
    .woocommerce ul.products li.product a.button, 
    .functional-buttons a{
        font-size: 13px;
    }
}


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

    .woocommerce form.login,
    .woocommerce form.register,
    .woocommerce form.lost_reset_password,
    .woocommerce .register {
        width: 90%;
    }
    .woocommerce .cart-collaterals .cart_totals{
        width: 100% !important;
    }
}

/*end login*/

/* 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: 30.8% !important;
        margin: 0 3.8% 2.5em 0 !important;
    }

    .woocommerce ul.products li.product-category:nth-child(3n),
    .woocommerce-page ul.products li.product-category:nth-child(3n) {
        margin-right: 0 !important;
    }

    .woocommerce ul.products li.product-category:nth-child(3n+1),
    .woocommerce-page ul.products li.product-category:nth-child(3n+1) {
        clear: left !important;
    }

    /* Hỗ trợ linh hoạt nếu chọn 4 cột */
    .woocommerce ul.products.columns-4 li.product-category,
    .woocommerce-page ul.products.columns-4 li.product-category {
        width: 23.5% !important;
        margin: 0 2% 2.5em 0 !important;
        clear: none !important;
    }
    .woocommerce ul.products.columns-4 li.product-category:nth-child(3n),
    .woocommerce-page ul.products.columns-4 li.product-category:nth-child(3n) {
        margin-right: 2% !important;
    }
    .woocommerce ul.products.columns-4 li.product-category:nth-child(4n),
    .woocommerce-page ul.products.columns-4 li.product-category:nth-child(4n) {
        margin-right: 0 !important;
    }
    .woocommerce ul.products.columns-4 li.product-category:nth-child(4n+1),
    .woocommerce-page ul.products.columns-4 li.product-category:nth-child(4n+1) {
        clear: left !important;
    }

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

    .woocommerce ul.products.columns-5 li.type-product,
    .woocommerce.columns-5 ul.products li.type-product{
        width: 33.333% !important;
    }
    .woocommerce ul.products li.product .price {
        font-size: 14px !important;

    }
    .woocommerce ul.products li.product a.added_to_cart.wc-forward, 
    .woocommerce ul.products li.product a.button{
        height: 35px;
        line-height: 35px;
    }
    .single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 0 !important;
        font-size: 15px;
    }
}
@media only screen and (max-width: 700px) {
    .woocommerce div.product form.cart button.button.alt {
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        padding: 0 20px;
    }
    .woocommerce .quantity .qty_button, .woocommerce .quantity .qty{
        height: 35px;
    }
}
@media only screen and (max-width: 768px) {
    .single-product .related .products.columns-4 li.type-product:not(.swiper-slide),
    .woocommerce ul.products.columns-3 li.type-product:not(.swiper-slide),
    .woocommerce.columns-3 ul.products li.type-product:not(.swiper-slide){
        width: 50% !important;
    }
}
@media only screen and (max-width: 640px) {
    .single-product .related .products.columns-4 li.type-product:not(.swiper-slide),
    .woocommerce ul.products.columns-3 li.type-product:not(.swiper-slide),
    .woocommerce.columns-3 ul.products li.type-product:not(.swiper-slide){
        width: 50% !important;
    }
}

@media only screen and (max-width: 768px) {
     .woocommerce-products-header{
        padding: 15px 0;
        margin-bottom: 15px;
    }
    .archive-product-header h1 {
        margin: 0 0 10px;
    }
    .woocommerce div.product .product_title{
        font-size: 22px;
    }
    .woocommerce div.product .summary .price{
        font-size: ;
    }
    /* 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: 600px) {
    .archive-product-header h1 {
        margin: 0 0 5px;
        font-size: 16px;
    }
    .woocommerce div.product .product_title{
        font-size: 20px;
    }
    .archive-product-header #breadcrumbs {
        font-size: 16px;
    }
    .single-product .summary .woocommerce-product-details__short-description {
        font-size: 14px;
    }
}
@media only screen and (max-width: 500px) {
    .woocommerce ul.products li.product a.button,
    .single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
        font-size: 12px;
    }
    .single-product.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel{
        padding: 10px;
    }
}
@media only screen and (max-width: 400px) {
    .single-product .related .products.columns-4 li.type-product:not(.swiper-slide),
    .woocommerce ul.products li.type-product:not(.swiper-slide),
    .woocommerce ul.products.columns-3 li.type-product:not(.swiper-slide),
    .woocommerce.columns-3 ul.products li.type-product:not(.swiper-slide){
        width: 100% !important;
    }
}
.woocommerce #reviews #comment {     
    border: 1px solid #ddd;
}

/* ==========================================================================
   Thông tin liên hệ trang sản phẩm (Product Contact Boxes)
   ========================================================================== */
.product-contact-boxes {
    display: flex;
    gap: 15px;
    margin: 20px 0 25px;
    flex-wrap: wrap;
    clear: both;
}

.product-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
    box-sizing: border-box;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-contact-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #fff !important;
}

.product-contact-item.item-1,
.product-contact-item:nth-child(odd) {
    background: #ff0000;
}

.product-contact-item.item-2,
.product-contact-item:nth-child(even) {
    background: #1877f2;
}

.product-contact-item .contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.product-contact-item .contact-icon i {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}

.product-contact-item .contact-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

.product-contact-item .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.25;
}

.product-contact-item .contact-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
    color: #fff;
    margin-bottom: 3px;
    display: block;
}

.product-contact-item .contact-text {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    display: block;
}

@media (max-width: 576px) {
    .product-contact-boxes {
        gap: 10px;
        margin: 15px 0 20px;
    }
    .product-contact-item {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 10px 14px;
    }
    .product-contact-item .contact-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   Nút liên hệ trên thẻ sản phẩm (Product Loop Contact Buttons - Phương án 1)
   ========================================================================== */
.product-loop-contact-boxes {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

.loop-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 5px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.2;
    text-align: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.loop-contact-btn.loop-btn-1,
.loop-contact-btn:nth-child(odd) {
    background: #ff0000 !important;
}

.loop-contact-btn.loop-btn-2,
.loop-contact-btn:nth-child(even) {
    background: #1877f2 !important;
}

.loop-contact-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #fff !important;
}

.loop-contact-btn .loop-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
}

.loop-contact-btn .loop-btn-icon i {
    font-size: 12px;
    color: #fff;
    line-height: 1;
}

.loop-contact-btn .loop-btn-icon svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    display: block;
}

.loop-contact-btn .loop-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.loop-contact-btn .loop-btn-text span {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

@media (max-width: 991px) {
    .product-loop-contact-boxes {
        gap: 5px;
    }
    .loop-contact-btn {
        padding: 6px 4px;
    }
    .loop-contact-btn .loop-btn-text span {
        font-size: 12.5px;
    }
}

/* Trên mobile: ẩn icon để tối ưu không gian, căn giữa chữ và tăng font */
@media (max-width: 768px) {
    .loop-contact-btn .loop-btn-icon {
        display: none !important;
    }
    .product-loop-contact-boxes {
        gap: 5px;
        margin-top: 6px;
    }
    .loop-contact-btn {
        padding: 6px 4px;
        min-height: 32px;
    }
    .loop-contact-btn .loop-btn-text {
        text-align: center;
        width: 100%;
    }
    .loop-contact-btn .loop-btn-text span {
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .product-loop-contact-boxes {
        gap: 4px;
    }
    .loop-contact-btn {
        padding: 5px 2px;
        min-height: 30px;
    }
    .loop-contact-btn .loop-btn-text span {
        font-size: 11.5px;
        line-height: 1.2;
    }
}