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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//kimkhivanan.com.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("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-cat-brd-radius: 300px;
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--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: "Cabin", 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-primary-color: rgb(110,190,69);
	--wd-alternative-color: rgb(44,44,44);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(110,190,69);
	--btn-accented-bgcolor-hover: rgb(149,242,87);
	--wd-form-brd-width: 2px;
	--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(255,255,255);
	background-image: url(https://kimkhivanan.com.vn/wp-content/uploads/2021/09/retail-popup-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
: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(252,252,252);
	--wd-bordered-bg:rgb(252,252,252);
}
.wd-page-title {
	background-color: rgb(0,0,0);
	background-image: url(https://kimkhivanan.com.vn/wp-content/uploads/2025/10/welder-3687779_1280.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(234,231,225);
	background-image: none;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title {
	font-size: 16px;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(110,190,69);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--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: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}



.hotline-box {  
	display: flex;   
	flex-direction: column;   /* cho phần trên và số điện thoại xếp dọc */   
	align-items: center;      /* căn giữa theo chiều ngang */   
	font-family: Arial, sans-serif; 		
	margin-right: 80px 
}  
.hotline-top { 
	display: flex;   
	align-items: center;      /* icon và chữ nằm cùng hàng */   
	gap: 3px;                 /* khoảng cách icon và chữ */ 
}  
.hotline-top i {   
	font-size: 12px;   
	color: #2C2C2C;           
}  
.hotline-text {    
	font-size: 12px;   
	color: #2C2C2C; 
}  
.hotline-number {   
	margin-top: 3px;   
	font-size: 12px;   
	font-weight: bold;   
	color: #2C2C2C; 
}


.wd-search-form.wd-header-search-form {
    max-width: 600px; /* Thay 400px bằng chiều rộng tối đa bạn muốn (ví dụ: 300px, 350px) */
    width: 100% !important; /* Đảm bảo nó hoạt động và thích ứng trên các màn hình nhỏ */
	margin-left: auto !important; 
    margin-right: auto !important;
}

.wd-search-form .searchsubmit {
    background-color: #6EBE45; /* Thay thế mã màu xanh này bằng mã màu bạn muốn */
    color: #ffffff; /* Đặt màu chữ (icon) là màu trắng để nổi bật */
    border-color: #007bff; /* Đảm bảo viền cũng cùng màu */
}


/* 2. Phóng to chữ menu */
.menu.wd-nav.wd-nav-main a {
    font-size: 16px; /* Thay 16px bằng kích thước bạn muốn (ví dụ: 18px, 20px) */
    font-weight: 500; /* Tùy chọn: Làm chữ đậm hơn nếu cần */
		
	 color: #2C2C2C !important; 
    font-size: 16px; 
    font-weight: 500;
}


/* 2. Menu Thả Xuống (Dropdown/Mega Menu) */
.wd-dropdown-menu.wd-dropdown.wd-design-full-width a {
    /* Đảm bảo nền sáng nếu dùng chữ đen */
    /* background-color: #ffffff !important; */ 
    color: #2C2C2C !important ; 
}

.wd-dropdown-menu.wd-dropdown.wd-design-full-width a:hover {
    /* Đảm bảo nền sáng nếu dùng chữ đen */
    /* background-color: #ffffff !important; */ 
    color: #6EBE45 !important ; 
}

/* Dấu mũi tên drop down */
.wd-nav-main a.woodmart-nav-link::after {
    color: #2C2C2C !important; 
		font-weight: 500;
}

/* Đặt màu nền cho số lượng sản phẩm trong giỏ hàng thành màu xanh */
.wd-cart-number.wd-tools-count {
    background-color: #6EBE45 !important; /* Thay #007bff bằng mã màu xanh bạn muốn */
    color: #ffffff !important;           /* Giữ màu chữ (số) là màu trắng để nổi bật */
}


/* Đảm bảo chiều cao ảnh danh mục bằng nhau */
.wrapp-category .category-image-wrapp {
    height: 200px; /* Đặt chiều cao cố định bạn muốn cho khu vực ảnh. Thay 200px nếu cần */
    display: flex; /* Kích hoạt Flexbox */
    align-items: center; /* Căn giữa ảnh theo chiều dọc */
    justify-content: center; /* Căn giữa ảnh theo chiều ngang */
    overflow: hidden; /* Ẩn đi phần thừa nếu ảnh quá lớn */
}

/* Đảm bảo ảnh bên trong không làm thay đổi bố cục */
.wrapp-category .category-image-wrapp img {
    max-height: 100%; /* Đảm bảo ảnh không vượt quá chiều cao của container */
    width: auto; /* Giữ tỷ lệ ảnh */
    object-fit: contain; /* Đảm bảo toàn bộ ảnh hiển thị mà không bị cắt */
}



/* Đảm bảo vùng chứa tiêu đề và link (hover-mask) có chiều cao cố định hoặc tối thiểu */
.wrapp-category .hover-mask {
    min-height: 80px; /* Đặt chiều cao tối thiểu cho vùng chứa tiêu đề. Thay 80px nếu cần */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Bắt đầu tiêu đề từ trên xuống */
}

/* Tùy chọn: Đảm bảo khoảng cách cố định giữa các mục con (tiêu đề và số lượng sản phẩm) */
.wrapp-category .wd-entities-title {
    min-height: 40px; /* Đảm bảo tiêu đề có 2 dòng vẫn không làm lệch bố cục */
}

/* Áp dụng thụt lề cho danh mục con (có class has-depth-1) */
.wc-block-product-filter-checkbox-list__item.has-depth-1 {
    /* Đẩy phần tử vào trong 20px */
    padding-left: 20px !important;
}

/* Tùy chọn: Thụt lề thêm cho các cấp sâu hơn nếu có (has-depth-2, has-depth-3) */
.wc-block-product-filter-checkbox-list__item.has-depth-2 {
    padding-left: 40px !important; 
}

/* Màu xanh chính (WoodMart thường dùng) */
:root {
    --wd-primary-color: #6EBE45; /* Bạn có thể thay đổi màu này nếu muốn màu xanh khác */
}

/* 1. Áp dụng màu nền và màu chữ cho thẻ lọc đang hoạt động */
.wc-block-product-filter-removable-chips__item {
    /* Đổi màu nền của thẻ */
    background-color: #6EBE45 !important; 
    /* Đổi màu chữ */
    color: #ffffff !important; 
    /* Làm tròn góc thẻ nếu cần */
    border-radius: 4px !important; 
    /* Loại bỏ border nếu có */
    border: none !important;
    padding: 5px 10px 5px 12px; /* Điều chỉnh padding cho thẻ trông đẹp hơn */
}

/* 2. Đảm bảo nút "X" có màu trắng trên nền xanh */
.wc-block-product-filter-removable-chips__item .wc-block-product-filter-removable-chips__remove {
    /* Đảm bảo nút "X" vẫn hiển thị đúng */
    color: #ffffff !important; 
    margin-left: 5px; /* Thêm khoảng cách giữa chữ và nút X */
}

/* 3. Tùy chọn: Điều chỉnh thẻ bao quanh (nếu thẻ bao quanh có shadow hoặc border) */
.wc-block-product-filter-removable-chips {
    /* Loại bỏ border hoặc shadow của khối lớn chứa các thẻ */
    border: none !important; 
}



/* ---------------------------------------------------- */
/* Bộ lọc Giá */
/* ---------------------------------------------------- */

/* 1. Màu cho thanh trượt đã chọn */
.wc-block-product-filter-price-slider__range .range-bar {
    background-color: var(--wd-primary-color) !important;
}

/* 2. Màu và kiểu cho hai núm tròn */
.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
    background-color: var(--wd-primary-color) !important;
    border: 1px solid var(--wd-primary-color) !important;
    box-shadow: 0 0 0 3px rgba(69, 130, 255, 0.3) !important; /* Hiệu ứng vòng sáng */
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
    background-color: var(--wd-primary-color) !important;
    border: 1px solid var(--wd-primary-color) !important;
    box-shadow: 0 0 0 3px rgba(69, 130, 255, 0.3) !important; /* Hiệu ứng vòng sáng */
}

/* 3. Màu cho hai ô input giá */
.wc-block-product-filter-price-slider__left.text input,
.wc-block-product-filter-price-slider__right.text input {
    color: var(--wd-primary-color) !important; /* Màu chữ xanh */

}






/* Đổi màu nền thanh Copyrights */
.wd-copyrights {
    background-color: #6EBE45 !important; /* Thay mã màu xanh khác nếu cần */
}

/* Đổi màu chữ và các liên kết bên trong thành màu trắng */
.wd-copyrights,
.wd-copyrights a {
    color: #000000 !important;
}

/* 1. Cố định chiều cao và tối ưu Flexbox cho Container */
.wd-product .product-element-top {
    height: 300px; /* Cố định chiều cao của khung chứa */
    /* Thiết lập Flexbox để căn giữa ảnh bên trong */
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
    
    gap: 30px !important; /* Thường không cần thiết cho container ảnh, có thể bỏ qua */
    overflow: hidden; /* Quan trọng: Ẩn đi phần ảnh bị tràn (nếu dùng object-fit: cover) */
}

---

/* 2. Điều chỉnh cách ảnh lấp đầy khung */
.wd-product .product-element-top img {
    /* Đảm bảo ảnh không bị tràn ra khỏi container, chiều rộng tối đa là 100% của khung chứa */
    max-width: 150px; 
    max-height: 100%; 

    /* Dùng object-fit để kiểm soát cách ảnh lấp đầy không gian: */
    
    /* LỰA CHỌN A: object-fit: contain (KHUYẾN KHÍCH) */
    /* Ảnh sẽ vừa khít bên trong 300px mà KHÔNG bị cắt, giữ nguyên tỷ lệ.
       Có thể có khoảng trống (padding) nếu tỷ lệ ảnh không khớp với khung 300px. */
    object-fit: contain;
     align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
    /* LỰA CHỌN B: object-fit: cover */
    /* Ảnh sẽ lấp đầy 300px và có thể bị CẮT BỚT ở một số cạnh để giữ tỷ lệ */
    /* object-fit: cover; */ 
    
    width: auto !important; /* Bỏ cố định 450px và để chiều rộng tự động */
    height: auto !important; /* Bỏ cố định 300px và để chiều cao tự động */
}

/* --- Responsive (cho kích thước màn hình nhỏ hơn) --- */
/* Ví dụ cho màn hình điện thoại (<= 768px) */
@media (max-width: 768px) {
    .wd-product .product-element-top {
        height: 200px; /* GIẢM chiều cao cố định trên mobile để tiết kiệm diện tích */
    }
}

/* Sử dụng ID để đảm bảo độ ưu tiên cao nhất */
#carousel-951.wd-carousel-container {
    width: 100%; /* Đặt chiều rộng thành 100% của container cha */
    max-width: 600px; /* HOẶC Tăng Max-width lên giá trị lớn hơn (ví dụ: 600px) */
    /* Quan trọng: Thay đổi kích thước này dựa trên bố cục trang của bạn */
}