:root {
	--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--bs-box-shadow-min: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

p, li { margin-bottom: 5px; }

footer ul li:last-child {
    margin-bottom: 0;
}

footer ul li { margin-left: 12px !important; }

footer ul li::marker {
    font-size: 12px;
}

.absolute-footer {
    color: white !important;
    padding: 15px 0px;
}


.icon.button.circle.is-outline {
	margin-bottom: 0;
	border: 0.5px solid;
	place-content: center;
}

@media (min-width: 768px) {
	.col-flex .col-inner {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}
	
	.col-flex .social-icons.follow-icons {
		display: flex;
		flex-wrap: nowrap;
		white-space: nowrap;
	}

	.col-flex .icon.button.circle.is-outline {
		margin-bottom: 0;
		border: 0.5px solid;
		margin-left: 10px;
		place-content: center;
	}
	
	a.header-cart-link.nav-top-link.icon.primary.button.round.is-small {
    font-size: 14px;
    background: ##3C2415 !important; /* Thay màu xanh đậm bằng màu bạn muốn tại đây */
    color: white !important; /* Màu chữ (ví dụ màu trắng) */
    border-radius: 99px;
}
}

@media (max-width: 768px) {
	.col-flex .col-inner h3.uppercase {
		margin-bottom: 15px !important;
	}

}

/* 1. Tùy chỉnh ô nhập Email (Khung trắng) */
footer input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
    height: 40px !important;
    border-radius: 99px !important;
    border: 1px solid #e0e0e0 !important; /* Thêm viền nhẹ cho rõ khung */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    padding: 0px 140px 0px 30px !important; /* Chừa khoảng trống bên phải 140px để không đè chữ vào nút */
    font-size: 14px !important;
    margin: 0 !important;
    width: 100% !important;
    background: #fff !important;
    display: block !important;
}

/* 2. Tùy chỉnh nút Gửi (Nút đỏ to hơn khung) */
footer input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    position: absolute !important;
    top: 50% !important;
    right: -5px !important; /* Cho nút tràn ra ngoài mép phải 5px */
    transform: translateY(-50%) !important;
    width: 130px !important; /* Tăng chiều rộng nút */
    height: 50px !important; /* Cao hơn khung (Khung 40px, Nút 50px) */
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    margin: 0 !important;
    border-radius: 119px !important;
    background: #C11818 !important; /* Đỏ rực rỡ theo yêu cầu */
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 99 !important; /* Đảm bảo nút nằm trên cùng */
    box-shadow: 0 4px 10px rgba(193, 24, 24, 0.3) !important; /* Đổ bóng màu đỏ nhẹ */
}

/* 3. Hiệu ứng khi rê chuột vào (Hover) */
footer input.wpcf7-form-control.wpcf7-submit.has-spinner.button:hover {
    background: #e61c1c !important; /* Màu đỏ sáng hơn một chút khi hover */
    transform: translateY(-50%) scale(1.1) !important; /* To lên hẳn 10% */
    box-shadow: 0 6px 20px rgba(193, 24, 24, 0.4) !important;
}

/* 4. Hiệu ứng khi nhấn vào (Active) */
footer input.wpcf7-form-control.wpcf7-submit.has-spinner.button:active {
    transform: translateY(-50%) scale(0.9) !important;
}

/* 5. Đảm bảo form mẹ có position relative để nút không bay mất */
footer form.wpcf7-form {
    position: relative !important;
    display: block !important;
}

.wpcf7-spinner {
    display: none;
}

footer form.wpcf7-form.init {
    margin: 0;
}

.col-flex.flex-start .col-inner {
    justify-content: flex-start;
}

div#wpcf7-f5-o1 { width: inherit; }

.top-divider { display: none; }

#header {
    border-bottom: 1px solid #e0e2e6;
}

/* ================================================================
   THIẾT KẾ MENU DROPDOWN NÂU CAFE - CHỮ TRẮNG - RỘNG RÃI
   ================================================================ */

/* 1. Khung tổng thể của Dropdown - Làm dài ra và đổi màu nền */
.nav-dropdown {
    background-color: #3C2415 !important; /* Nền màu nâu cà phê */
    border-radius: 8px !important; 
    border: 0.5px solid rgba(255, 255, 255, 0.1) !important; /* Viền trắng siêu mảnh */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important; 
    padding: 15px 0 !important;
    min-width: 380px !important; /* TĂNG CHIỀU DÀI: Đã chỉnh lên 380px để thoáng hơn */
    animation: menuFadeIn 0.3s ease;
}

/* 2. Hiệu ứng hiện ra mượt mà */
@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Các mục Menu bên trong - Chữ trắng */
.nav-dropdown .menu-item a {
    color: #ffffff !important; /* CHỮ MÀU TRẮNG */
    padding: 14px 25px !important; /* Tăng padding để menu trông to và sang hơn */
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: uppercase; /* Viết hoa để trông chuyên nghiệp */
    letter-spacing: 1.2px; /* Khoảng cách chữ rộng ra cho thoáng */
    transition: all 0.3s ease !important;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.05) !important; /* Đường kẻ mờ màu trắng */
    display: flex;
    align-items: center;
}

/* Xóa viền ở mục cuối cùng */
.nav-dropdown .menu-item:last-child a {
    border-bottom: none !important;
}

/* 4. Hiệu ứng khi Hover (Rê chuột vào) */
.nav-dropdown .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important; /* Nền sáng nhẹ khi hover */
    color: #ffffff !important;
    padding-left: 35px !important; /* Trượt nhẹ sang phải tạo cảm giác cao cấp */
}

/* 5. Mũi tên trỏ lên (Arrow) */
.nav-dropdown:after {
    border-bottom-color: #3C2415 !important; /* Đồng màu với nền nâu */
}

/* 6. Icon mũi tên phụ (nếu có menu con) */
.nav-dropdown .menu-item i.icon-angle-right {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.stuck #masthead {
    display: none;
}


/* --- Khung tìm kiếm chuyên nghiệp --- */

/* ================================================================
   1. ĐỊNH NGHĨA BIẾN VÀ CẤU HÌNH CHUNG
   ================================================================ */
:root {
    --primary-color: #3C2415;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-min: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Hiệu ứng chạy màu nâu khi hover nút (Vô hiệu hóa cho nút Search bên dưới) */
.button, a.button, button, input[type="submit"] {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.button::before, a.button::before, button::before, input[type="submit"]::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #3C2415;
    z-index: -1;
    transition: left 0.4s ease;
}

.button:hover::before, a.button:hover::before, button:hover::before {
    left: 0;
}

/* ================================================================
   2. KHUNG TÌM KIẾM (SEARCH) - ĐÃ FIX LỖI VỊ TRÍ & HOVER
   ================================================================ */
.searchform-wrapper.form-flat {
    width: 100% !important;
    max-width: 600px; /* BẠN CÓ THỂ TĂNG SỐ NÀY ĐỂ DÀI HƠN NỮA */
    min-width: 350px;
    position: relative;
    display: flex;
    align-items: center;
}

#woocommerce-product-search-field-0 {
    background-color: #ffffff !important;
    height: 44px;
    width: 100% !important;
    border-radius: 99px;
    border: 1px solid #e0e2e6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 0px 50px 0px 25px; /* Chừa chỗ cho kính lúp */
    font-size: 15px;
    transition: all 0.3s ease;
}

#woocommerce-product-search-field-0:focus {
    border-color: #3C2415;
    box-shadow: 0 4px 12px rgba(60, 36, 21, 0.15);
    outline: none;
}

/* Cố định vị trí kính lúp không bị lệch */
.searchform-wrapper.form-flat .flex-col:last-of-type {
    position: absolute !important;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 10;
}

/* Icon kính lúp - Xóa bỏ hiệu ứng chạy màu nâu đè lên */
.searchform-wrapper.form-flat button.ux-search-submit {
    background: transparent !important;
    color: #3C2415 !important;
    border: none !important;
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

/* QUAN TRỌNG: Vô hiệu hóa hiệu ứng che mất kính lúp khi hover */
.searchform-wrapper.form-flat button.ux-search-submit::before {
    display: none !important;
}

.searchform-wrapper.form-flat button.ux-search-submit:hover {
    background: transparent !important;
    color: #3C2415 !important;
    transform: none !important;
}

/* ================================================================
   3. POLICY SEARCH (PHẦN DƯỚI SEARCH)
   ================================================================ */
header .policy-search ul {
    display: flex;
    flex-wrap: wrap;
    color: #3C2415 !important;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px !important;
    list-style: none;
    padding: 0;
}

header .policy-search ul li {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

header .policy-search ul img {
    height: 25px;
    margin-right: 8px;
    background: white;
    border-radius: 99px;
    padding: 3px;
    border: 1px solid #3C2415;
    box-shadow: var(--bs-box-shadow-min);
}

/* ================================================================
   4. GIỎ HÀNG (DROPDOWN CART)
   ================================================================ */
/* Nút giỏ hàng chính trên Header */
header a.header-cart-link.nav-top-link {
    background-color: #3C2415 !important;
    color: white !important;
    border-radius: 99px;
}

/* Khung Dropdown khi di chuột vào giỏ hàng */
.nav-dropdown {
    background-color: #3C2415 !important;
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--bs-box-shadow);
}

.nav-dropdown:after {
    border-bottom-color: #3C2415 !important; /* Mũi tên nhỏ đồng màu */
}

/* Màu chữ và các mục trong dropdown giỏ hàng */
.nav-dropdown p, .nav-dropdown span, .nav-dropdown strong {
    color: white !important;
}

/* Nút quay lại cửa hàng bên trong dropdown */
.nav-dropdown .button.wc-backward {
    background-color: white !important;
    color: #3C2415 !important;
    border-radius: 5px;
}

/* ================================================================
   5. HEADER & FOOTER
   ================================================================ */
#header {
    border-bottom: 1px solid #e0e2e6;
    background-color: #f0f0f0 !important;
}

.absolute-footer {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
    padding: 15px 0;
    font-weight: 500;
}

.absolute-footer a {
    color: #000000 !important;
}

.absolute-footer a:hover {
    color: #3C2415 !important;
    text-decoration: underline;
}

header .policy-search ul img {
    height: 25px;
    margin-right: 5px;
    color: white !important;
    background: white;
    border-radius: 99px;
    padding: 3px;
    box-shadow: var(--bs-box-shadow);
}

a.header-cart-link.nav-top-link.icon.primary.button.round.is-small {
    font-size: 14px;
    background: white;
    color: var(--primary-color);
    border-radius: 99px;
}

.mfp-content {
    background: #684823 !important;
}

a.icon.primary.button.circle.is-small {
    background: white;
    color: var(--primary-color);
}

/* 1. Đổi màu nền của khung Dropdown Giỏ hàng */
.nav-dropdown {
    background-color: #7e695c !important; /* Thay màu nâu cà phê của bạn vào đây */
}

/* 2. Đổi màu của nút "GIỎ HÀNG / 0đ" phía trên */
header a.header-cart-link.nav-top-link {
    background-color: #3C2415 !important; /* Màu nền nút giỏ hàng */
    color: white !important; /* Màu chữ */
}

/* 3. Sửa cái "mũi tên" nhỏ chĩa lên trên khung giỏ hàng cho đồng màu */
.nav-dropdown:after {
    border-bottom-color: #b3734c !important;
}

/* 4. Đổi màu nút "QUAY TRỞ LẠI CỬA HÀNG" bên trong khung */
.nav-dropdown .button.wc-backward {
    background-color: #e9e7e7 !important; /* Màu đỏ đô hoặc màu bạn muốn */
    border: none;
}
/* End Header */

/* Body */
svg.flickity-button-icon {
    color: var(--primary-color);
}

li.dot {
    border-color: var(--primary-color) !important;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1 !important;
}

/* Áp dụng cho tất cả nút trong Flatsome */
.button, a.button, button, input[type="submit"] {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

/* 1. Xóa bỏ hoàn toàn lớp phủ chạy từ trái sang phải cũ */
.button::before, a.button::before, button::before, input[type="submit"]::before {
    display: none !important; 
}

/* 2. Thiết lập trạng thái mặc định cho nút (Giữ nguyên màu bản chất) */
.button, a.button, button, input[type="submit"] {
    position: relative;
    z-index: 1;
    /* Sử dụng cubic-bezier để tạo độ nảy như thuyền trên sóng */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease !important;
    overflow: visible !important; 
    /* Không ép background và color ở đây để giữ màu gốc của từng loại nút */
}

/* 3. Hiệu ứng khi rê chuột vào (Hover) - Sáng viền nâu và nổi lên */
.button:hover, a.button:hover, button:hover, input[type="submit"]:hover {
    /* Sáng viền màu nâu cà phê */
    border-color: #3C2415 !important; 
    
    /* Hiệu ứng nổi lên như chiếc thuyền trên mặt nước */
    transform: translateY(-2px); 
    
    /* Đổ bóng lan tỏa để tạo độ nổi (Elevation) */
    box-shadow: 0 8px 15px rgba(60, 36, 21, 0.2) !important;
    
    /* ĐÃ XÓA dòng ép màu chữ (color) để giữ màu bản chất của nút */
}

/* 4. Hiệu ứng khi nhấn xuống (Click) */
.button:active, a.button:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(60, 36, 21, 0.1) !important;
    transition: 0.1s;
}



.btn-gradient {
    background: ##3C2415;
    background: linear-gradient(90deg, #3C2415 0%, #a5861d 65%, #f3dd93 100%);
    border-radius: 99px;
    border: 0;
    font-weight: 500;
    padding: 5px 30px;
}

.btn-gradient:hover {
	box-shadow: none !important;
}

.product-info {
    border-right: 0px;
}

.kafela-breadcrumb-wrapper .breadcrumbs {
    text-transform: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #6f1236;
}

#breadcrumb_thinh_custom {
    padding: 13px 0px;
    box-shadow: var(--bs-box-shadow-min);
	margin-bottom: 5px;
}

#breadcrumb_thinh_custom .breadcrumbs {
    text-transform: math-auto;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

#breadcrumb_thinh_custom .breadcrumbs a {
    color: black;
    font-weight: 500;
}

iframe {
    border-radius: 10px;
    box-shadow: var(--bs-box-shadow);
}

a.header-cart-link.nav-top-link.icon:hover {
    color: white !important;
	box-shadow: none !important;
}

.color-primary {
    color: var(--primary-color);
}

input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea {
    border-radius: 5px;
    padding: 20px 10px;
    background: white;
    border: 1px solid var(--primary-color);
}

.wpcf7 label {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    color: var(--primary-color);
}

.widget_nav_menu ul#menu-main-menu-1 {
    padding: 0px 20px;
    box-shadow: var(--bs-box-shadow-min);
    font-size: 14px;
	text-transform: uppercase;
}

.widget_nav_menu ul#menu-main-menu-1 .menu-item {
    padding: 9.5px 0;
    border-bottom: 1px dashed #eae4e8;
}

.widget_nav_menu ul#menu-main-menu-1 .menu-item:last-child {
	border: none;
}

.widget_nav_menu ul#menu-main-menu-1 .menu-item a {
    padding: 0;
}

.widget_nav_menu button.toggle {
    border: 1px solid var(--primary-color);
    border-radius: 99px;
    padding: 4px 0px;
    font-size: 10px;
    margin: 0 !important;
    color: var(--primary-color) !important;
}

.widget_nav_menu button.toggle:hover { color: white !important; }

.widget_nav_menu .sub-menu {
    border-left: 0 !important;
	margin: 0 !important;
}

.title-sidebar {
    background: var(--primary-color);
    color: white;
    border-radius: 2px;
    padding: 10px 20px;
    font-weight: 900;
    font-size: 16px;
}

.shadow {
    box-shadow: var(--bs-box-shadow);
}

.img-border img {
    border-radius: 5px;
}

div#nav_menu-2 {
    padding: 0;
}

.product.type-product .col.large-9 {
    border: none !important;
}

.product-info.summary.entry-summary.col.col-fit.product-summary .icon.button.circle.is-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 13.5px;
    margin-right: 10px;
    margin-left: 0;
}

button.single_add_to_cart_button.button.alt {
    width: 100%;
    padding: 8px 0px;
    border-radius: 1px;
    box-shadow: var(--bs-box-shadow-min);
}

.product-info.summary.entry-summary.col.col-fit.product-summary .is-divider.small, .entry-header-text.entry-header-text-top.text-left .entry-divider.is-divider.small, .box-text-inner.blog-post-inner .is-divider {
    width: 100% !important;
    max-width: none;
    height: 2px;
    background: var(--primary-color);
}

h1.entry-title, .box-text-inner.blog-post-inner h5.post-title.is-large {
    color: var(--primary-color);
}

.list-check-fa {
    list-style: none;
    padding-left: 0;
}

.list-check-fa li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
	margin-left: 0px !important;
}

.list-check-fa li:before {
    content: "\f05d"; /* fa-check-circle-o */
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
/*     top: 2px; */
    font-size: 16px;
	color: var(--primary-color);
}

.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
    border: 0;
}

li#tab-title-description {
    width: 100%;
    background: var(--primary-color);
}

li#tab-title-description a {
    color: white;
    padding: 12px 20px;
	font-size: 14px;
}

.product-info.summary.entry-summary.col.col-fit.product-summary nav.woocommerce-breadcrumb.breadcrumbs.uppercase, .shop-page-title.category-page-title.page-title nav.woocommerce-breadcrumb.breadcrumbs.uppercase {
    display: none;
}

.shop-page-title.category-page-title.page-title .page-title-inner.flex-row.medium-flex-wrap.container {
    padding-top: 0;
}

.shop-page-title.category-page-title.page-title {
    border-bottom: 1px solid #e0e2e6;
}

a.filter-button.uppercase.plain {
    margin: 0;
}

.button.product_type_simple.add_to_cart_button {
    width: 100%;
    font-size: 12px;
    border: 0.5px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    border-radius: 99px;
    margin-right: 0;
    text-transform: uppercase;
}

.product-small.box .box-image {
    border-radius: 5px;
    box-shadow: var(--bs-box-shadow-min);
}

.product-section {
    border: none;
}

h3.product-section-title {
    background: var(--primary-color);
    color: white;
    border-radius: 2px;
    padding: 14px 20px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 30px;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-sidebar.large-3.col {
    border: 0 !important;
}

.box.box-vertical.box-blog-post img.wp-post-image {
    border-radius: 10px;
}

header.archive-page-header .page-title.is-large.uppercase {
    font-size: 24px;
    color: var(--primary-color);
}

/* ===========================
   Thinh: Coupon list styles
   =========================== */
.thinh-coupon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.thinh-coupon-item {
    position: relative;
}

.thinh-coupon-inner {
    position: relative;
    display: flex;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #ececec;
    overflow: visible;
}

.thinh-coupon-left {
    position: relative;
    width: 85px;
/*     min-height: 110px; */
/*     padding: 20px 12px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thinh-coupon-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffe7e7, #fff3d9);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Đường đứt đoạn & vết khuyết 2 bên giống vé coupon */
.thinh-coupon-inner::before {
    content: "";
    position: absolute;
    left: 85px;
    top: 16px;
    bottom: 16px;
    border-left: 1px dashed #dedede;
}

.thinh-coupon-left::before,
.thinh-coupon-left::after {
    content: "";
    position: absolute;
    right: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f7f7f7;
}

.thinh-coupon-left::before {
    top: -8px;
}

.thinh-coupon-left::after {
    bottom: -8px;
}

.thinh-coupon-right {
    flex: 1;
    padding: 16px 18px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thinh-coupon-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.thinh-coupon-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thinh-coupon-title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.thinh-coupon-subtitle {
    font-size: 13px;
    color: #555555;
}

.thinh-coupon-info {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #555555;
    flex-shrink: 0;
	display: none;
}

.thinh-coupon-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.thinh-coupon-code,
.thinh-coupon-expiry {
    font-size: 13px;
    color: #555555;
}

.thinh-coupon-code span,
.thinh-coupon-expiry span {
    font-weight: 600;
}

.thinh-coupon-copy {
    margin-left: auto;
    padding: 0px 5px;
    background: #7a0036;
    color: #ffffff;
    border-radius: 999px;
    border: none;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.thinh-coupon-copy:hover {
    background: #910642;
}

@media (max-width: 600px) {
    .thinh-coupon-inner {
        border-radius: 12px;
    }

    .thinh-coupon-left {
        width: 90px;
        padding: 16px 8px;
    }

    .thinh-coupon-inner::before {
        left: 90px;
    }

    .thinh-coupon-right {
        padding: 10px;
    }

    .thinh-coupon-title {
        font-size: 15px;
    }
}

.box-border {
    box-shadow: var(--bs-box-shadow);
    border-radius: 10px;
}

.box-border img {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

@media (min-width: 768px) {
	.row-5 .col.medium-2 {
		flex-basis: 20%;
		max-width: 20%;
	}

}

.card-shadow {
    box-shadow: var(--bs-box-shadow);
    border-radius: 10px;
    padding: 30px 0px;
}

.img-shadow .img-inner.dark {
    box-shadow: var(--bs-box-shadow);
    border-radius: 5px;
}

/* Ép màu nền cho Header */
header, 
#header, 
.header-wrapper, 
.header-main {
    background-color: #f0f0f0 !important;
}
/* Chỉnh màu cho phần đáy cuối cùng của chân trang */
.absolute-footer, 
.footer-bottom {
    background-color: #3c2415 !important; /* Màu vàng Gold */
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Chỉnh màu chữ trong phần đáy chân trang */
.footer-white-text {
    color: #ffffff;
}

.footer-white-text strong {
    color: #ffffff; /* Đảm bảo chữ in đậm cũng màu trắng */
}

/* Nút liên hệ trang web ở phần đáy */
:root {
    --p-primary: #363c46;
    --p-dark: #1a1a1a;
    --p-gradient: linear-gradient(135deg, #0068ff 0%, #00d4ff 100%);
    --p-glass: rgba(255, 255, 255, 0.9);
}

.premium-contact-widget {
    position: fixed; bottom: 30px; right: 30px; z-index: 999999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Nút chính & Hiệu ứng lắc */
.p-main-trigger {
    width: 60px; height: 60px; background: var(--p-gradient);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    color: white; font-size: 26px; cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 104, 255, 0.4);
    position: relative; transition: all 0.3s;
}

.shaking {
    /* CHỈNH SỬA TẠI ĐÂY: Thay infinite bằng 2 để chỉ lắc 2 lần */
    animation: premium-shake 0.5s cubic-bezier(.36,.07,.19,.97) 2;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

@keyframes premium-shake {
    10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-5deg); }
    20%, 80% { transform: translate3d(2px, 0, 0) rotate(5deg); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0) rotate(-5deg); }
    40%, 60% { transform: translate3d(4px, 0, 0) rotate(5deg); }
}

.p-badge {
    position: absolute; top: 0; right: 0; background: #ff3b30;
    width: 20px; height: 20px; border-radius: 50%; font-size: 11px;
    display: flex; justify-content: center; align-items: center;
    border: 2px solid white; font-weight: bold;
    animation: popBadge 0.3s ease-out forwards;
}

@keyframes popBadge { from { transform: scale(0); } to { transform: scale(1); } }

/* Menu & Header */
.premium-menu {
    position: absolute; bottom: 80px; right: 0; width: 300px;
    background: var(--p-glass); backdrop-filter: blur(15px);
    border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 15px; display: none; flex-direction: column; gap: 6px;
    border: 1px solid rgba(255,255,255,0.7); animation: p-fadeIn 0.4s ease forwards;
}

.premium-header-v2 {
    background: linear-gradient(to bottom, #f8faff, #ffffff);
    padding: 15px 12px; border-radius: 15px 15px 5px 5px;
    margin: -15px -15px 10px -15px; border-bottom: 1px solid #edf2f7;
}

.header-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.main-title { font-size: 13px; font-weight: 800; background: var(--p-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.status-badge { display: flex; align-items: center; gap: 5px; background: #e6fffa; padding: 2px 8px; border-radius: 20px; border: 1px solid #b2f5ea; }
.status-badge span { font-size: 9px; font-weight: 700; color: #2c7a7b; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; background: #38a169; border-radius: 50%; box-shadow: 0 0 5px #38a169; animation: pulse-green 1.5s infinite; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(56, 161, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0); }
}

.sub-title { font-size: 11px; color: #718096; margin: 0 !important; }

/* Item liên hệ & Zalo Badge */
.p-item { display: flex; align-items: center; gap: 12px; text-decoration: none !important; padding: 10px; border-radius: 12px; transition: 0.3s; }
.p-item:hover { background: rgba(255,255,255,0.8); transform: translateX(-5px); }

.p-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; justify-content: center; align-items: center; color: white; position: relative; }
.zalo-bg { background: linear-gradient(135deg, #0068ff, #0045ab); }
.phone-bg { background: linear-gradient(135deg, #34a853, #1e7e34); }
.email-bg { background: linear-gradient(135deg, #ea4335, #b31412); }

.p-sub-badge {
    position: absolute; top: -5px; right: -5px; background: #ff3b30; color: white;
    font-size: 9px; width: 15px; height: 15px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; border: 1.5px solid white; font-weight: bold;
}

.p-status-online {
    width: 8px; height: 8px; background: #4cd964; border-radius: 50%; margin-left: auto;
    animation: p-pulse-green 2s infinite;
}

.p-text strong { display: block; color: #333; font-size: 13px; font-weight: 700; }
.p-text span { color: #666; font-size: 12px; }

@keyframes p-fadeIn { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media screen and (max-width: 768px) { 
    .premium-contact-widget { bottom: 20px; right: 20px; }
    .premium-menu { width: 280px; right: -5px; } 
}

/* ================================================================
   BỘ CODE PRODUCT GRID CHUẨN - TỨ CÀ PHÊ (UPDATE: CHỈ HIỆN XEM GIỎ)
   ================================================================ */

/* 1. Khung sản phẩm tổng thể */
.product-small.box {
    background-color: #ffffff !important;
    border: 0.5px solid #3C2415 !important;
    border-radius: 15px !important;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
}

/* 2. Phần hình ảnh */
.product-small.box .box-image {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 100px;
    overflow: hidden;
    border-bottom: 0.5px solid #f1f1f1;
}

.product-small.box .box-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block !important;
    transition: transform 0.6s ease;
}

/* 3. Phần nội dung chữ */
.product-small.box .box-text {
    padding: 20px 15px !important;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tiêu đề sản phẩm - Tự xuống dòng */
.product-small.box .title-wrapper p.name.product-title a {
    color: #3C2415 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    display: block !important;
    height: auto !important;
    white-space: normal !important; 
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    margin-bottom: 12px;
}

/* Giá tiền to rõ */
.product-small.box .price-wrapper .price {
    color: #222 !important;
    font-weight: 800 !important;
    font-size: 22px !important;
    display: block !important;
}

.product-small.box .price-wrapper .price span.woocommerce-Price-currencySymbol {
    font-size: 16px !important;
    text-decoration: underline;
    margin-left: 4px;
}

/* ================================================================
   4. XỬ LÝ NÚT BẤM (ẨN ĐẶT NGAY - HIỆN XEM GIỎ)
   ================================================================ */

.product-small.box .add-to-cart-button {
    margin-top: 10px;
    padding-bottom: 15px;
    min-height: 50px; /* Giữ khoảng cách cố định cho nút */
}

/* Định dạng chung cho cả 2 nút */
.product-small.box .add-to-cart-button a {
    border-radius: 99px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 5px 40px !important;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}

/* Nút "ĐẶT NGAY" gốc */
.product-small.box .add-to-cart-button a.add_to_cart_button {
    background-color: transparent !important;
    color: #3C2415 !important;
    border: 1px solid #3C2415 !important;
}

/* KHI ĐÃ BẤM (CÓ CLASS .added): ẨN NÚT ĐẶT NGAY */
.product-small.box .add-to-cart-button a.add_to_cart_button.added {
    display: none !important;
}

/* NÚT "XEM GIỎ HÀNG" (Tự xuất hiện sau khi thêm) */
.product-small.box .add-to-cart-button a.added_to_cart {
    background-color: #3C2415 !important; /* Nền nâu nổi bật */
    color: #ffffff !important;
    border: 1px solid #3C2415 !important;
}

.product-small.box .add-to-cart-button a.added_to_cart:hover {
    background-color: #2a1a0f !important;
    border-color: #2a1a0f !important;
}

/* Loại bỏ icon loading mặc định nếu muốn nút sạch sẽ hơn */
.add_to_cart_button.added + .added_to_cart:before {
    content: none !important;
}

/* Ẩn các thành phần thừa */
.product-small.box .category, 
.product-small.box .star-rating {
    display: none !important;
}

/* Form CF7 */
/* Sử dụng ID hoặc Class bao quanh để cô lập CSS */
.custom-form-container {
    max-width: 400px;
    margin: 20px auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Tùy chỉnh ô nhập Email */
.custom-form-container input[type="email"] {
    width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 10px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background-color: #f9f9f9 !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important; /* Đảm bảo padding không làm tràn khung */
}

/* Hiệu ứng khi click vào ô nhập liệu */
.custom-form-container input[type="email"]:focus {
    border-color: #007bff !important;
    background-color: #fff !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2) !important;
}

/* Tùy chỉnh nút Gửi */
.custom-form-container .button.primary {
    width: 100% !important;
    background-color: #007bff !important;
    color: white !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.1s active !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Hiệu ứng khi di chuột qua nút */
.custom-form-container .button.primary:hover {
    background-color: #0056b3 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Hiệu ứng khi nhấn nút */
.custom-form-container .button.primary:active {
    transform: scale(0.98) !important;
}

/* Loại bỏ lề mặc định của thẻ p trong CF7 */
.custom-form-container p {
    margin: 0 0 15px 0 !important;
}

/* Nội dung short product */
.coffee-grid-features {
    display: grid;
    /* Chia làm 2 cột bằng nhau */
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;
    margin: 20px 0;
}

.feature-box {
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3c2415;
    background: #fdfaf7; /* Màu nền kem rất nhẹ */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #efe4dc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi hover */
.feature-box:hover {
    background: #3c2415;
    color: #ffffff;
    border-color: #3c2415;
    transform: translateY(-3px);
}

/* Tối ưu cho điện thoại: Xếp thành 1 cột nếu màn hình quá nhỏ */
@media (max-width: 480px) {
    .coffee-grid-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .feature-box {
        font-size: 13px;
        padding: 12px;
    }
}
.call-action-wrapper {
    margin: 25px 0;
    display: flex;
    justify-content: center; /* Căn giữa nút */
}

.btn-call-consult {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #3C2415; /* Màu nền nâu của bạn */
    color: #E6B36E; /* Màu vàng đồng */
    padding: 14px 28px;
    border-radius: 50px; /* Bo tròn hoàn toàn */
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #E6B36E;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(60, 36, 21, 0.2);
    /* Hiệu ứng rung nhẹ tự động */
    animation: pulse-gold 2s infinite;
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
}

/* Hiệu ứng khi Hover */
.btn-call-consult:hover {
    background-color: #E6B36E;
    color: #3C2415;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 179, 110, 0.4);
}

/* Animation Pulse */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(230, 179, 110, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(230, 179, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 179, 110, 0); }
}

/* Mobile */
@media (max-width: 480px) {
    .btn-call-consult {
        width: 100%; /* Full rộng trên mobile */
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }
}