@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//tinhocantoan.com/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=7.3.4") format("woff2");
	font-display:swap;
}

:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product) .wd-products-with-bg .product-grid-item{
	--wd-prod-bg:rgb(255,255,255); --wd-bordered-bg:rgb(255,255,255);
}

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: none;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:left center;
}

.page-title-default{
	background-color:rgb(28,97,231);
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:rgb(164,81,159);
	background-image: none;
}

:root{
--wd-text-font:Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:#777777;
--wd-text-font-size:15px;
}
:root{
--wd-title-font:Arial, Helvetica, sans-serif;
--wd-title-font-weight:400;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:Arial, Helvetica, sans-serif;
--wd-entities-title-font-weight:600;
--wd-entities-title-color:rgb(0,0,0);
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:Arial, Helvetica, sans-serif;
}
:root{
--wd-widget-title-font:Arial, Helvetica, sans-serif;
--wd-widget-title-font-weight:700;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:16px;
}
:root{
--wd-header-el-font:Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:600;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
html .wd-nav-mobile > li > a{
	text-transform: capitalize;
}

html .post.blog-post-loop .post-title{
	font-size: 18px;
}

:root{
--wd-brd-radius: 10px;
}
:root{
--wd-primary-color:rgb(164,81,159);
}
:root{
--wd-alternative-color:rgb(50,197,244);
}
:root{
--wd-link-color:#333333;
--wd-link-color-hover:#242424;
}
.page .main-page-wrapper{
	background-color:rgb(246,246,246);
	background-image: none;
}

.woodmart-archive-shop:not(.single-product) .main-page-wrapper{
	background-color:rgb(246,246,246);
	background-image: none;
}

.single-product .main-page-wrapper{
	background-color:rgb(246,246,246);
	background-image: none;
}

.woodmart-archive-blog .main-page-wrapper{
	background-color:rgb(246,246,246);
	background-image: none;
}

:root{
--btn-default-bgcolor:rgb(225,235,255);
}
:root{
--btn-default-bgcolor-hover:rgb(219,227,249);
}
:root{
--btn-default-color:rgb(164,81,159);
}
:root{
--btn-default-color-hover:rgb(164,81,159);
}
:root{
--btn-accented-bgcolor:rgb(164,81,159);
}
:root{
--btn-accented-bgcolor-hover:rgb(164,81,159);
}
:root{
--btn-transform:capitalize;
}
html .wd-buy-now-btn{
	background: rgb(107,163,49);
}

html .wd-buy-now-btn:hover{
	background: rgb(95,158,44);
}

:root{
--notices-success-bg:#459647;
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}

	:root{
					
							--wd-form-brd-radius: 5px;
			
					
					--wd-form-brd-width: 1px;
		
		
		
					--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-sticky-btn-height: 95px;
					
		
			}

			@media (max-width: 1024px) {
			:root {
				--wd-sticky-btn-height: 95px;
			}
		}
	
			@media (max-width: 768px) {
			:root {
				--wd-sticky-btn-height: 42px;
			}
		}
	
			:root{
			--wd-container-w: 1400px;
		}
	
			@media (min-width: 1417px) {
			.platform-Windows .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
		@media (min-width: 1400px) {
			html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
				margin-left: auto;
				margin-right: auto;
			}
		}
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
	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-bg: rgb(255,255,255);
						}
.wd-post-date.wd-style-with-bg {
    display: none;
}
.wd-text-style-1 .wd-swatch.wd-text {
	border:2px solid transparent;
	padding:5px 7px;
}
.wd-text-style-1 .wd-swatch.wd-text:hover,
.wd-text-style-1 .wd-swatch.wd-text:is(.wd-active,:hover:not(.wd-disabled)), [class*="wd-swatches"].wd-text-style-1 :is(.wd-swatch-wrap a:hover,.wd-swatch-wrap.wd-active) .wd-swatch.wd-text {
	border:2px solid #333333;
	padding:5px 7px;
	background-color: var(--color-gray-900);
  color: var(--color-white);
}
.wd-text-style-1 .wd-swatch.wd-text:after {
    display:none;
}
.post-single-page.has-post-thumbnail .article-inner > .entry-header {
display: none;
}
/* --- BƯỚC 1: TẠO MÀN HÌNH ĐEN MỜ (Backdrop) --- */
form.checkout.processing::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Nền đen mờ 60% */
    z-index: 99999;
    backdrop-filter: blur(4px); /* Làm nhòe web phía sau */
    animation: fadeIn 0.3s;
}

/* --- BƯỚC 2: TẠO HỘP THÔNG BÁO (MÀU TÍM THƯƠNG HIỆU) --- */
form.checkout.processing::after {
    /* Nội dung: Đã có sẵn dấu ... */
    content: 'Đang xử lý đơn hàng...\A\A Vui lòng chờ giây lát và không thoát trang này.\A Xin cảm ơn!';
    white-space: pre-wrap;
    
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    
    /* Giao diện hộp */
    background: #ffffff;
    color: #333333;
    padding: 35px 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 12px; /* Bo góc mềm mại hơn chút */
    
    /* Font chữ */
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    
    /* 🔥 THAY ĐỔI Ở ĐÂY: VIỀN MÀU TÍM THƯƠNG HIỆU */
    border-top: 6px solid #5D2E8E; /* Mã màu tím đậm sang trọng */
    
    /* Đổ bóng tím nhạt cho đồng bộ */
    box-shadow: 0 10px 40px rgba(93, 46, 142, 0.2); 
    
    /* HIỆU ỨNG NHỊP THỞ */
    animation: pulseText 1.5s infinite ease-in-out;
}

/* --- ĐỊNH NGHĨA HIỆU ỨNG THỞ --- */
@keyframes pulseText {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.98); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Hiệu ứng hiện màn đen */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Khung lưới tổng thể */
.product-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 15px 0;
}

/* 1. Tạo không gian 3D cho thẻ lật */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 90px; /* Cố định chiều cao để thẻ lật mượt mà */
    perspective: 1000px; /* Độ sâu của hiệu ứng 3D */
    cursor: pointer;
}

/* 2. Khối chứa mặt trước và sau */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease; /* Thời gian lật */
    transform-style: preserve-3d;
}

/* 3. Hiệu ứng lật khi Hover (Máy tính) hoặc Chạm (Điện thoại) */
.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
}

/* 4. Định dạng chung cho cả mặt trước và mặt sau */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Ẩn mặt sau khi lật (Cho Safari) */
    backface-visibility: hidden;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

/* Mặt trước */
.flip-card-front {
    background-color: #ffffff;
}

/* Mặt sau */
.flip-card-back {
    background-color: #4a235a; /* Đổi sang màu tím đậm hoặc màu thương hiệu của bạn */
    color: white;
    transform: rotateY(180deg); /* Lật ngược mặt sau từ đầu */
    border: none;
}

/* Tùy chỉnh Chữ và Icon */
.badge-icon { font-size: 26px; margin-bottom: 5px; }
.badge-text { font-size: 13px; font-weight: 500; color: #333; line-height: 1.4; }
.badge-text-back { font-size: 12px; font-weight: 400; color: #fff; line-height: 1.4; }

/* --- TƯƠNG THÍCH ĐIỆN THOẠI (MOBILE RESPONSIVE) --- */
@media (max-width: 768px) {
    .product-trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .flip-card {
        height: 100px; /* Tăng chút chiều cao trên mobile để dễ đọc chữ mặt sau */
    }
}
.product-trust-badges > p, 
.product-trust-badges > br { 
    display: none !important; 
}
.product-trust-badges {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important; 
    margin: 15px 0;
}@media (min-width: 1025px) {
	.wd-post-date.wd-style-with-bg {
    display: none;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.wd-post-date.wd-style-with-bg {
    display: none;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	.wd-post-date.wd-style-with-bg {
    display: none;
}
}

@media (max-width: 576px) {
	.wd-post-date.wd-style-with-bg {
    display: none;
}
}

