
/* Root Variables */
:root {
	--ksf-green: #008848;
	--ksf-green-dark: #006837;
	--ksf-green-light: #e6f7ec;
	--ksf-orange: #f97316;
	--ksf-text-dark: #1e293b;
	--ksf-text-muted: #64748b;
	--ksf-border: #e2e8f0;
}

/* ==========================================
   CHỐNG TRÀN NGANG MÀ KHÔNG LÀM VỠ STICKY
   ========================================== */
html {
	overflow-x: clip !important;
}
body {
	overflow-x: clip !important;
	overflow-y: visible !important;
}
#page, .site {
	overflow: visible !important;
}

/* Ẩn Header cũ của Elementor hoàn toàn */
header.elementor-location-header,
.elementor-location-header {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* ==========================================
   STICKY HEADER CỐ ĐỊNH CHUẨN XÁC
   ========================================== */
.ksf-site-header {
	width: 100% !important;
	background: #ffffff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
	position: sticky !important;
	top: 0 !important;
	z-index: 99999 !important;
	transition: transform 0.2s ease !important;
}

.admin-bar .ksf-site-header {
	top: 32px !important;
}

@media (max-width: 782px) {
	.admin-bar .ksf-site-header {
		top: 46px !important;
	}
}

.ksf-header-container {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

/* 0. Utility Top Bar */
.ksf-utility-topbar {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	height: 32px;
	font-size: 12px;
	color: #64748b;
}

.ksf-utility-inner {
	justify-content: space-between;
	height: 100%;
}

.ksf-utility-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ksf-utility-badge {
	background: #e6f7ec;
	color: #008848;
	font-weight: 700;
	font-size: 10.5px;
	padding: 1px 6px;
	border-radius: 3px;
	border: 1px solid #bbf7d0;
}

.ksf-utility-slogan {
	font-size: 11.5px;
	color: #475569;
}

.ksf-utility-links {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 16px;
}

.ksf-utility-links li a {
	color: #64748b;
	text-decoration: none;
	font-size: 12px;
	transition: color 0.15s ease;
}

.ksf-utility-links li a:hover {
	color: var(--ksf-green);
}

.ksf-utility-hotline a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #008848 !important;
	font-weight: 600;
}

.ksf-utility-hotline svg {
	color: #008848;
}

/* 1. Mobile Top Bar */
.ksf-mobile-top-bar {
	display: none;
	align-items: center;
	justify-content: space-between;
	height: 52px;
	background: var(--ksf-green);
	padding: 0 10px;
	gap: 8px;
	box-sizing: border-box;
}

.ksf-m-logo-link {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	background: #ffffff;
	padding: 2px 6px;
	border-radius: 4px;
}

.ksf-m-logo-link img {
	height: 24px;
	width: auto;
	display: block;
}

.ksf-m-search-wrap {
	flex: 1;
	min-width: 0;
}

.ksf-m-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.ksf-m-btn {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	text-decoration: none;
}

.ksf-cart-count-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #ef4444;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	min-width: 17px;
	height: 17px;
	line-height: 17px;
	text-align: center;
	border-radius: 10px;
	padding: 0 3px;
	border: 1.5px solid #ffffff;
}

/* 2. Desktop Main Bar */
.ksf-desktop-main-bar {
	padding: 10px 0;
	background: #ffffff;
	border-bottom: 1px solid var(--ksf-border);
}

.ksf-desktop-main-bar .ksf-header-container {
	gap: 20px;
	justify-content: space-between;
}

.ksf-desktop-logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.ksf-desktop-logo img {
	height: 42px;
	width: auto;
	display: block;
}

/* ==========================================
   FIBOSEARCH: MỞ RỘNG TỐI ĐA & CỐ ĐỊNH CHUẨN XÁC
   ========================================== */
.ksf-desktop-search-wrap {
	flex: 1;
	max-width: 820px;
	margin: 0 24px;
	position: relative;
}

.ksf-desktop-search-wrap .dgwt-wcas-search-wrapp,
.ksf-m-search-wrap .dgwt-wcas-search-wrapp {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-search-form {
	margin: 0 !important;
	width: 100% !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-sf-wrapp {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	height: 44px !important;
	border-radius: 24px !important;
	border: 2px solid var(--ksf-green) !important;
	background: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 136, 72, 0.08) !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-sf-wrapp:focus-within {
	border-color: var(--ksf-green-dark) !important;
	box-shadow: 0 3px 12px rgba(0, 136, 72, 0.16) !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-search-input {
	height: 40px !important;
	line-height: 40px !important;
	width: 100% !important;
	font-size: 14px !important;
	padding: 0 85px 0 20px !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	color: var(--ksf-text-dark) !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-search-input::placeholder {
	color: #94a3b8 !important;
	font-size: 13.5px !important;
}

/* Nút Submit Kính Lúp luôn cố định bên phải (khóa chặt kể cả khi search-filled gõ chữ) */
.ksf-desktop-search-wrap button.dgwt-wcas-search-submit,
.ksf-desktop-search-wrap .dgwt-wcas-search-submit,
.ksf-desktop-search-wrap .dgwt-wcas-search-wrapp button.dgwt-wcas-search-submit,
.ksf-desktop-search-wrap .dgwt-wcas-search-wrapp.dgwt-wcas-search-filled button.dgwt-wcas-search-submit,
.ksf-desktop-search-wrap .dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	left: auto !important;
	bottom: 0 !important;
	width: 50px !important;
	min-width: 50px !important;
	max-width: 50px !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
	background: var(--ksf-green) !important;
	border: none !important;
	border-radius: 0 22px 22px 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	transition: background 0.15s ease !important;
	z-index: 10 !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
	animation: none !important;
}

.ksf-desktop-search-wrap button.dgwt-wcas-search-submit:hover {
	background: var(--ksf-green-dark) !important;
}

/* Icon kính lúp căn chính giữa tâm tuyệt đối 100% bằng Flexbox */
.ksf-desktop-search-wrap .dgwt-wcas-ico-magnifier,
.ksf-desktop-search-wrap button.dgwt-wcas-search-submit svg,
.ksf-desktop-search-wrap button.dgwt-wcas-search-submit svg.dgwt-wcas-ico-magnifier {
	position: static !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 19px !important;
	height: 19px !important;
	max-width: 19px !important;
	max-height: 19px !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
	color: #ffffff !important;
	display: block !important;
	transform: none !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
}

.ksf-desktop-search-wrap button.dgwt-wcas-search-submit svg path {
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

/* Preloader & nút Clear X (Dãn cách chuẩn 58px) */
.ksf-desktop-search-wrap .dgwt-wcas-preloader {
	right: 58px !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 11 !important;
}

.ksf-desktop-search-wrap .dgwt-wcas-close {
	right: 58px !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	z-index: 12 !important;
}

/* Triệt tiêu các icon nhảy vị trí bên trái của Pirx */
.ksf-desktop-search-wrap .dgwt-wcas-ico-magnifier-handler,
.ksf-desktop-search-wrap .dgwt-wcas-voice-search {
	display: none !important;
}

.dgwt-wcas-suggestions-wrapp[style*="display: none"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Dropdown Autocomplete của FiboSearch: Hiển thị Grid 4 cột chuẩn Bách Hóa Xanh */
.dgwt-wcas-suggestions-wrapp {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 10px !important;
	padding: 12px 14px 20px 14px !important;
	width: 820px !important;
	max-width: calc(100vw - 40px) !important;
	max-height: 600px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18) !important;
	border-radius: 12px !important;
	border: 1px solid #cbd5e1 !important;
	background: #ffffff !important;
	align-content: start !important;
	box-sizing: border-box !important;
	z-index: 9999999 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestions {
	display: contents !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline,
.dgwt-wcas-suggestions-wrapp .js-dgwt-wcas-suggestion-headline,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline,
.dgwt-wcas-suggestions-wrapp .js-dgwt-wcas-suggestion-headline {
	font-weight: 700 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: #64748b !important;
	padding: 4px 2px !important;
	margin: 4px 0 2px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	background: transparent !important;
	pointer-events: none !important;
}

/* Gợi ý Danh mục: Hiển thị 2 pill/chip song song (grid-column: span 2), triệt tiêu placeholder */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat {
	grid-column: span 2 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	padding: 0 14px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	margin: 2px 0 6px !important;
	text-decoration: none !important;
	resize: none !important;
	transition: all 0.15s ease !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat.dgwt-wcas-suggestion-selected {
	background: #f0fdf4 !important;
	border-color: #008848 !important;
	box-shadow: 0 2px 8px rgba(0, 136, 72, 0.12) !important;
}

/* Triệt tiêu ảnh placeholder xám rỗng hoàn toàn */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax .dgwt-wcas-si,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat .dgwt-wcas-si {
	display: none !important;
}

/* Lucide SVG folder icon */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat::before {
	content: '' !important;
	display: inline-block !important;
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	flex-shrink: 0 !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23008848' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 8 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E") !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat .dgwt-wcas-content-wrapp {
	display: flex !important;
	align-items: center !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	resize: none !important;
	overflow: hidden !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax .dgwt-wcas-st,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat .dgwt-wcas-st {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	line-height: 1.2 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat:hover .dgwt-wcas-st,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat.dgwt-wcas-suggestion-selected .dgwt-wcas-st {
	color: #008848 !important;
}

/* Subtle chevron icon at end of category pill */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat::after {
	content: '' !important;
	display: inline-block !important;
	width: 12px !important;
	height: 12px !important;
	min-width: 12px !important;
	margin-left: auto !important;
	flex-shrink: 0 !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: contain !important;
	opacity: 0.4 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
	transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat:hover::after,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat.dgwt-wcas-suggestion-selected::after {
	opacity: 1 !important;
	transform: translateX(2px) !important;
}

/* Khóa cứng tối đa 2 danh mục: Ẩn từ danh mục thứ 3 trở đi */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-cat ~ .dgwt-wcas-suggestion-cat ~ .dgwt-wcas-suggestion-cat {
	display: none !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	align-items: stretch !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 8px !important;
	box-sizing: border-box !important;
	position: relative !important;
	text-decoration: none !important;
	min-height: 265px !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product.dgwt-wcas-suggestion-selected {
	border-color: #008848 !important;
	box-shadow: 0 6px 18px rgba(0, 136, 72, 0.12) !important;
	background: #ffffff !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-si {
	width: 100% !important;
	height: 105px !important;
	min-height: 105px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 0 8px 0 !important;
	background: #ffffff !important;
	border-radius: 4px !important;
	overflow: hidden !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-si img {
	max-width: 100% !important;
	max-height: 100px !important;
	object-fit: contain !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-content-wrapp {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-st {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	width: 100% !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-st-title {
	font-size: 12px !important;
	line-height: 1.35 !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	text-align: center !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	height: 32px !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-sku {
	display: none !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-meta,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .dgwt-wcas-sp {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	width: 100% !important;
	margin: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .ksf-main-price-wrap {
	display: inline-flex !important;
	align-items: baseline !important;
	justify-content: center !important;
	text-align: center !important;
	gap: 3px !important;
	width: 100% !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .ksf-main-price-wrap .woocommerce-Price-amount {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #008848 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product .ksf-main-price-wrap .ksf-price-unit {
	font-size: 11px !important;
	font-weight: 400 !important;
	color: #64748b !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-bhx-deal-badge {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: fit-content !important;
	max-width: 95% !important;
	margin: 4px auto 0 auto !important;
	box-sizing: border-box !important;
	background: #fff7ed !important;
	border: 1px solid #fed7aa !important;
	border-radius: 4px !important;
	padding: 3px 8px !important;
	gap: 2px !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-deal-top-row {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	font-size: 10.5px !important;
	font-weight: 600 !important;
	color: #c2410c !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	gap: 3px !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-deal-top-row .ksf-deal-cart-icon {
	width: 11px !important;
	height: 11px !important;
	color: #c2410c !important;
	stroke: #c2410c !important;
	stroke-width: 2.2 !important;
	flex-shrink: 0 !important;
	display: inline-block !important;
	vertical-align: -1px !important;
}


.dgwt-wcas-suggestions-wrapp .ksf-deal-top-row::after {
	display: none !important;
	content: "" !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-deal-bottom-row {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	gap: 4px !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #9a3412 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-deal-price {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #9a3412 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	white-space: nowrap !important;
}

.dgwt-wcas-suggestions-wrapp .ksf-deal-pct {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #dc2626 !important;
	color: #ffffff !important;
	padding: 1px 4px !important;
	border-radius: 3px !important;
	font-size: 9.5px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin-left: 2px !important;
	white-space: nowrap !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product::after {
	content: "MUA" !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 28px !important;
	min-height: 28px !important;
	line-height: 26px !important;
	margin-top: 8px !important;
	background: #ffffff !important;
	border: 1.5px solid #008848 !important;
	border-radius: 4px !important;
	color: #008848 !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	text-align: center !important;
	box-sizing: border-box !important;
	transition: background 0.15s ease, color 0.15s ease !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-product:hover::after {
	background: #008848 !important;
	color: #ffffff !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	padding: 12px !important;
	background: #ecfdf5 !important;
	border: 1px solid #008848 !important;
	border-radius: 8px !important;
	color: #008848 !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	margin: 12px 0 6px 0 !important;
	text-align: center !important;
	text-decoration: none !important;
}

/* 2.3 Desktop Actions (Tài Khoản + Giỏ Hàng) */
.ksf-desktop-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.ksf-action-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--ksf-text-dark);
	padding: 6px 10px;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.ksf-action-pill:hover {
	background: #f8fafc;
}

.ksf-pill-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #475569;
	flex-shrink: 0;
}

.ksf-pill-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ksf-pill-sub {
	font-size: 11px;
	color: var(--ksf-text-muted);
}

.ksf-pill-main {
	font-size: 13px;
	font-weight: 700;
	color: var(--ksf-text-dark);
}

/* Nút Giỏ Hàng nổi bật - High Specificity */
.ksf-site-header .ksf-header-cart-btn,
.ksf-header-cart-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	background: var(--ksf-green) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	padding: 7px 16px !important;
	border-radius: 26px !important;
	box-shadow: 0 2px 8px rgba(0, 136, 72, 0.25) !important;
	transition: background 0.15s ease, transform 0.15s ease !important;
	flex-shrink: 0 !important;
}

.ksf-site-header .ksf-header-cart-btn:hover,
.ksf-header-cart-btn:hover {
	background: var(--ksf-green-dark) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

.ksf-site-header .ksf-header-cart-btn .ksf-cart-icon-wrap,
.ksf-cart-icon-wrap {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	flex-shrink: 0 !important;
}

.ksf-site-header .ksf-header-cart-btn svg,
.ksf-header-cart-btn svg {
	display: block !important;
	width: 22px !important;
	height: 22px !important;
	stroke: #ffffff !important;
	color: #ffffff !important;
	fill: none !important;
	stroke-width: 2.3 !important;
}

.ksf-site-header .ksf-header-cart-btn .ksf-cart-count-badge,
.ksf-cart-icon-wrap .ksf-cart-count-badge {
	position: absolute !important;
	top: -7px !important;
	right: -9px !important;
	background: #ef4444 !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	min-width: 18px !important;
	height: 18px !important;
	line-height: 16px !important;
	text-align: center !important;
	border-radius: 10px !important;
	padding: 1px 4px !important;
	border: 1.5px solid #008848 !important;
	box-sizing: border-box !important;
}

.ksf-site-header .ksf-header-cart-btn .ksf-cart-info,
.ksf-cart-info {
	display: flex !important;
	flex-direction: column !important;
	line-height: 1.2 !important;
	text-align: left !important;
}

.ksf-site-header .ksf-header-cart-btn .ksf-cart-title,
.ksf-cart-title {
	font-size: 10.5px !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	color: #ffffff !important;
	opacity: 0.95 !important;
	display: block !important;
}

.ksf-site-header .ksf-header-cart-btn .ksf-cart-total-amount,
.ksf-site-header .ksf-header-cart-btn .ksf-cart-total-amount *,
.ksf-site-header .ksf-header-cart-btn span.woocommerce-Price-amount,
.ksf-site-header .ksf-header-cart-btn span.woocommerce-Price-currencySymbol,
.ksf-cart-total-amount {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	display: inline-block !important;
}

/* 3. Desktop Navigation Ribbon */
.ksf-desktop-nav-ribbon {
	background: var(--ksf-green);
	height: 42px;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ksf-ribbon-inner {
	justify-content: space-between;
	height: 100%;
}

/* Mega menu button */
.ksf-category-dropdown-wrapper {
	position: relative;
	height: 100%;
	flex-shrink: 0;
}

.ksf-cat-menu-btn {
	background: var(--ksf-green-dark);
	color: #ffffff;
	border: none;
	height: 100%;
	padding: 0 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ksf-cat-menu-btn:hover {
	background: #00542c;
}

.ksf-arrow-icon {
	transition: transform 0.2s ease;
}

.ksf-category-dropdown-wrapper:hover .ksf-arrow-icon {
	transform: rotate(180deg);
}

/* Dropdown Panel */
.ksf-cat-dropdown-panel {
	position: absolute;
	top: 100%;
	left: 0;
	width: 320px;
	background: #ffffff;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--ksf-border);
	border-top: none;
	display: none;
	z-index: 10000;
	max-height: 480px;
	overflow-y: auto;
}

.ksf-category-dropdown-wrapper:hover .ksf-cat-dropdown-panel {
	display: block;
}

.ksf-cat-dropdown-header {
	background: #f8fafc;
	padding: 10px 14px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ksf-text-muted);
	border-bottom: 1px solid var(--ksf-border);
	letter-spacing: 0.5px;
}

.ksf-cat-dropdown-list {
	list-style: none;
	margin: 0;
	padding: 4px 0;
}

.ksf-cat-dropdown-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 14px;
	font-size: 12.5px;
	color: var(--ksf-text-dark);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.ksf-cat-dropdown-list li a:hover {
	background: var(--ksf-green-light);
	color: var(--ksf-green);
	font-weight: 600;
}

.ksf-cat-badge {
	font-size: 11px;
	color: var(--ksf-text-muted);
	background: #f1f5f9;
	padding: 1px 6px;
	border-radius: 10px;
}

/* Quick links */
.ksf-ribbon-links {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	flex: 1;
	margin-left: 14px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ksf-ribbon-links::-webkit-scrollbar {
	display: none;
}

.ksf-ribbon-links li a {
	display: block;
	padding: 6px 9px;
	color: rgba(255, 255, 255, 0.95);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.ksf-ribbon-links li a:hover,
.ksf-ribbon-links li a.is-active {
	background: rgba(0, 0, 0, 0.15);
	color: #ffffff;
}

.ksf-link-highlight {
	color: #fef08a !important;
	font-weight: 700 !important;
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 992px) {
	.ksf-utility-slogan {
		display: none;
	}
}

@media (max-width: 768px) {
	#ksfSiteHeader,
	.ksf-site-header {
		display: none !important;
		visibility: hidden !important;
		height: 0 !important;
		overflow: hidden !important;
	}
}
