:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 15px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--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-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://lhp.com.vn/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
: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 .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 600;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--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: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* --- 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; }
}

.sidebar-container {
    background-color: #ffffff !important; /* Nền trắng */
    border: 1px solid #E0874B !important; /* Viền màu cam (bạn có thể thay đổi độ dày 2px thành số khác nếu muốn) */
    border-radius: 10px !important; /* Bo góc 10px */
    padding: 10px; /* Khoảng cách từ viền vào chữ */
}@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;
}
}

