:root {
	--wd-text-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(61,61,61);
	--wd-text-font-size: 15px;
	--wd-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(221, 51, 51);
	--wd-alternative-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: rgb(43,43,43);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(245,154,87);
	--wd-alternative-color: rgb(224,234,240);
	--btn-default-font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-transform: uppercase;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-transform: none;
	--btn-accented-font-size: 14px;
	--btn-accented-bgcolor: rgb(245,154,87);
	--btn-accented-bgcolor-hover: rgb(221,127,59);
	--btn-font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--btn-font-weight: 500;
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 80px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(245,154,87);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 480px;
	--wd-popup-padding: 0px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 261px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center top;
}
html .wd-nav-mobile > li > a {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	text-transform: capitalize;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 14px;
}
html .wd-nav-mobile .wd-sub-menu li a {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 16px;
	text-transform: inherit;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 18px;
}
html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 16px;
	text-transform: inherit;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-image: url(https://lamhuynhphat.vn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-image: url(https://lamhuynhphat.vn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-image: url(https://lamhuynhphat.vn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-image: url(https://lamhuynhphat.vn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-image: url(https://lamhuynhphat.vn/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
html .btn.wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgb(245,154,87);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(221,127,59);
}
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)7;
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 50px;
	}
	html .post.wd-post:not(.blog-design-small) .wd-entities-title {
		font-size: 16px;
	}
	html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
		font-size: 14px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

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


.wd-page-title {
background-color: rgb(174,182,161);
}

/* --- 0. TẮT NHÃN SALE MẶC ĐỊNH CỦA WOOCOMMERCE --- */
.onsale, 
.woodmart-shopping-cart .onsale,
.product-grid-item .onsale {
    display: none !important;
}

/* --- 1. TẠO KHUNG CHO SẢN PHẨM --- */
.product-grid-item .product-wrapper {
    padding: 15px !important; 
    border: 1px solid #eee;   
    border-radius: 8px;       
    transition: all 0.3s ease;
    height: 100%;             
}

/* --- 2. GIÁ VÀ BADGE --- */
.price ins {
    display: block;
    text-decoration: none;
    color: #ed1111; 
    font-weight: bold;
}

.custom-red-badge {
    background-color: #ed1111;
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 3px;
    display: inline-block;
}

/* --- 3. HOTSALE TRÊN ẢNH --- */
.product-element-top { position: relative; }
.grid-hotsale-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 5;
    background-color: #ff4d4d;
    color: #fff;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}

/* --- 4. CÁC THÀNH PHẦN ACF --- */
.grid-attributes { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.grid-attributes span {
    background: #f1f1f1;
    color: #333;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
}

.grid-remoney {
    background-color: #A80303;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    display: inline-flex;
    margin-top: 8px;
    border-radius: 4px;
    font-weight: 600;
}

.grid-promotion {
    background: #f1f1f1;
    font-size: 12px;
    color: #333;
    margin-top: 8px;
    border: 1px solid #007bff;
    border-radius: 5px;
    padding: 5px;
    font-style: italic;
}

/* --- 5. FIX LAYOUT WOODMART HOVER --- */
.woodmart-buttons, .woodmart-add-cart-btn {
    z-index: 10;
}

/* --- 6. MOBILE OPTIMIZATION --- */
@media (max-width: 767px) {
    .product-grid-item .product-wrapper { padding: 8px !important; }
    .grid-promotion { font-size: 11px; }
}@media (max-width: 576px) {
	/* Hiệu ứng nảy khi chạm vào sản phẩm trên Mobile */
@media (max-width: 1024px) {
    /* Áp dụng cho cả Woodmart grid và Elementor Loop */
    .product-grid-item, 
    .elementor-loop-container > div,
    .products .product {
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Tốc độ hồi phục */
        -webkit-tap-highlight-color: transparent; /* Xóa khung xanh mặc định khi chạm trên Android/iOS */
    }

    /* Khi người dùng chạm ngón tay vào (Active) */
    .product-grid-item:active, 
    .elementor-loop-container > div:active,
    .products .product:active {
        transform: scale(0.95) translateY(-5px); /* Thu nhỏ lại một chút và nảy nhẹ lên */
    }
}

/* Ẩn nút Add to Cart trên mobile trong danh sách sản phẩm */
.woodmart-hover-base .wd-add-cart-btn,
.woodmart-hover-standard .wd-add-cart-btn,
.wd-hover-quick .wd-add-cart-btn,
.wd-add-btn-replace .add-to-cart-loop {
    display: none !important;
}

/* Tùy chỉnh thêm: Ẩn các icon giỏ hàng nhỏ trên ảnh nếu có */
.wd-buttons .wd-add-cart-btn {
    display: none !important;
}
}

