:root {
	--wd-text-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(255,255,255);
	--wd-text-font-size: 14px;
	--wd-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(255,255,255);
	--wd-entities-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(255,255,255);
	--wd-entities-title-color-hover: rgb(255, 255, 255);
	--wd-alternative-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(252,252,252);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(73,86,230);
	--wd-alternative-color: #fbbc34;
	--btn-default-font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(73,86,230);
	--btn-default-bgcolor-hover: rgb(57,71,229);
	--btn-accented-font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(73,86,230);
	--btn-accented-bgcolor-hover: rgb(57,71,229);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(85,84,228);
	--wd-link-color-hover: rgb(221,51,51);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-product .wd-product-brands-links a {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: rgb(255,255,255);
}
html .wd-product .wd-product-brands-links a:hover {
	color: rgb(221,51,51);
}
html .wd-product .price {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: rgb(221,51,51);
}
html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: rgb(249,249,249);
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(39,39,39);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(39,39,39);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(39,39,39);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(39,39,39);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(39,39,39);
	background-image: none;
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-transform: inherit;
	color: rgb(255,255,255);
	background: rgb(73,86,230);
	padding: 0 20px 0 20px;
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover {
	color: rgb(66,66,66);
	background: rgb(57,71,229);
}
html .btn.wd-buy-now-btn {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-transform: inherit;
	color: rgb(255,255,255);
	background: rgb(73,86,230);
	padding: 0 20px 0 20px;
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(57,71,229);
}
html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity input[type] {
	font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 16px;
	text-transform: inherit;
	color: rgb(255,255,255);
	background: rgb(73,86,230);
}
html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .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(57,71,229);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(85,84,228);
	--wd-arrow-color-hover: rgb(40,40,226);
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(85,84,228);
	--wd-arrow-color-hover: rgb(40,40,226);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-bg: rgb(85,84,228);
	--wd-pagin-bg-hover: rgb(36,36,226);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 5px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	html .wd-product .price {
		font-size: 15px;
	}
	html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
		font-size: 15px;
	}
	html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
		font-size: 14px;
	padding: 0 20px 0 20px;
	}
	html .btn.wd-buy-now-btn {
		font-size: 14px;
	}
	html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity input[type] {
		font-size: 16px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	html .wd-product .wd-product-brands-links a {
		font-size: 14px;
	}
	html .wd-product .price {
		font-size: 14px;
	}
	html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
		font-size: 14px;
	}
	html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
		font-size: 14px;
	padding: 0 12px 0 12px;
	}
	html .btn.wd-buy-now-btn {
		font-size: 14px;
	padding: 0 12px 0 12px;
	}
	html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity input[type] {
		font-size: 16px;
	}

}
:root{
--wd-container-w: 1340px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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: 1340px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}



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

