@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//thanhthien.vn/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//thanhthien.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Work Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Mulish", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Mulish", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(36,36,36);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Mulish", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Mulish", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(18,70,171);
	--wd-alternative-color: rgb(95,171,18);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(18,70,171);
	--btn-accented-bgcolor-hover: rgb(16,64,156);
	--wd-form-brd-width: 0px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(248,248,248);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
.wd-page-title {
	background-color: rgb(40,89,184);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav.wd-nav-secondary > li > a {
	font-family: "Mulish", Arial, Helvetica, sans-serif;
	font-weight: 800;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
.whb-general-header .wd-nav.wd-nav-secondary > li > a {
	font-weight: 400;
	color: rgb(119,119,119);
}
.whb-general-header .wd-nav.wd-nav-secondary > li:hover > a, .whb-general-header .wd-nav.wd-nav-secondary > li.current-menu-item > a {
	color: rgb(36,36,36);
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity input[type] {
	background: rgb(95,171,18);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-add-to-cart:hover, html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity input[type], html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity+.button {
	background: rgb(84,157,10);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgba(15,15,15,0.04);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}

}

@media (max-width: 768.98px) {
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}

}
:root{
--wd-container-w: 1390px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1390px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* 1. Ẩn nút "Thêm vào giỏ hàng" ở trang danh sách sản phẩm (shop/category) */
.add-to-cart-loop {
    display: none !important;
}

/* 2. CHỈ áp dụng style cho form trên trang CHI TIẾT SẢN PHẨM */
/* Thêm ".single-product" để CSS không ảnh hưởng đến trang giỏ hàng */
.single-product form.cart {
    display: grid;
    grid-template-columns: auto 1fr 1fr; /* Cột số lượng tự động, 2 nút chia đều không gian còn lại */
    gap: 10px;
    align-items: center;
}

.single-product .cart .quantity {
    grid-column: 1;
}

.single-product .cart .single_add_to_cart_button {
    grid-column: 2;
    margin: 0 !important; /* Reset margin nếu có */
}

.single-product .cart .wd-buy-now-btn {
    grid-column: 3;
    margin: 0 !important; /* Reset margin nếu có */
}

/* 3. Tối ưu lại layout trang GIỎ HÀNG cho mobile (như đã hướng dẫn ở lần trước) */
@media (max-width: 768px) {
  /* Container chính chứa 2 cột (giỏ hàng và tổng tiền) */
  .woocommerce-cart .elementor-element-f4bc1ef {
    flex-direction: column;
    align-items: center;
  }

  /* Các cột con bên trong (cột giỏ hàng và cột tổng tiền) */
  .woocommerce-cart .elementor-element-da51109,
  .woocommerce-cart .elementor-element-fbe1968 {
    width: 100%;
    max-width: 100%;
  }
}
.widget_shopping_cart_content .cart_item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.widget_shopping_cart_content .cart_item .product-thumbnail {
    grid-row: 1 / span 2;
}

.widget_shopping_cart_content .cart_item .product-name {
    grid-column: 2;
    align-self: end;
}

.widget_shopping_cart_content .cart_item .product-price {
    grid-column: 2;
    align-self: start;
}

.widget_shopping_cart_content .cart_item .product-remove {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.elementor-menu-cart__footer-buttons {
    display: flex;
    gap: 10px;
}

.elementor-menu-cart__footer-buttons .elementor-button {
    flex: 1;
    background-color: #1e73be;
    justify-content: center;
}
/* Ẩn tiêu đề Woodmart trùng lặp */
.wd-page-title.page-title-default {
    display: none !important;
}
