.kbnav-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.kbnav-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #ffffff;
	border-radius: 14px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kbnav-hover-lift .kbnav-tile:hover {
	transform: translateY(-6px);
}

.kbnav-tile-image {
	width: 96px;
	height: 96px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex-shrink: 0;
	background: #f4f6fb;
}

.kbnav-tile-image.kbnav-shape-circle {
	border-radius: 50%;
}

.kbnav-tile-image.kbnav-shape-square {
	border-radius: 16px;
}

.kbnav-tile-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.35s ease;
}

.kbnav-hover-lift .kbnav-tile:hover .kbnav-tile-image img {
	transform: scale(1.05);
}

.kbnav-tile-title {
	padding: 18px 4px 8px;
	font-weight: 700;
	font-size: 18px;
	color: #0f1b3d;
}

.kbnav-tile-description {
	padding: 0 6px 20px;
	font-size: 13px;
	line-height: 1.6;
	color: #5b6478;
}

.kbnav-tile-btn {
	display: inline-block;
	margin-top: auto;
	padding: 10px 24px;
	background: #1e5fd4;
	color: #ffffff;
	text-decoration: none;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid #1e5fd4;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.kbnav-tile-btn:hover {
	background: #0f1b3d;
	border-color: #0f1b3d;
	color: #ffffff;
}

.kbnav-heading {
	margin: 0 0 16px;
}

.kbnav-empty {
	opacity: 0.7;
}

/* Keyword Page header */
.kbnav-keyword-title {
	margin: 0 0 8px;
}

.kbnav-keyword-description {
	margin: 0 0 24px;
	line-height: 1.6;
	opacity: 0.85;
}

/* Vendor Detail page */
.kbnav-vendor-detail {
	margin-bottom: 32px;
}

.kbnav-vendor-icon {
	display: inline-block;
	margin-bottom: 16px;
}

.kbnav-vendor-icon img {
	max-width: 160px;
	height: auto;
	display: block;
}

.kbnav-vendor-title {
	margin: 0 0 8px;
}

.kbnav-vendor-description {
	margin: 0 0 24px;
	line-height: 1.6;
}

.kbnav-products-heading {
	margin: 0 0 16px;
}

.kbnav-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.kbnav-product-card {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 16px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
}

.kbnav-product-image {
	width: 100%;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 12px;
}

.kbnav-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kbnav-product-name {
	font-weight: 600;
	margin: 0 0 8px;
}

.kbnav-product-description {
	font-size: 14px;
	opacity: 0.8;
	margin: 0 0 14px;
	flex-grow: 1;
}

.kbnav-product-btn {
	display: inline-block;
	align-self: flex-start;
	padding: 8px 18px;
	background: #1e1e1e;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: opacity 0.2s ease;
}

.kbnav-product-btn:hover {
	opacity: 0.85;
	color: #ffffff;
}

.kbnav-product-btn-disabled {
	background: #cfcfcf;
	cursor: not-allowed;
}

/* Search bar */
.kbnav-search {
	position: relative;
	max-width: 420px;
}

.kbnav-search-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	box-sizing: border-box;
}

.kbnav-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	margin-top: 4px;
	max-height: 280px;
	overflow: auto;
	z-index: 100;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.kbnav-search-result {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	text-decoration: none;
	color: #1e1e1e;
	border-bottom: 1px solid #f0f0f0;
}

.kbnav-search-result:last-child {
	border-bottom: none;
}

.kbnav-search-result:hover {
	background: #f7f7f7;
}

.kbnav-search-result-type {
	font-size: 11px;
	text-transform: uppercase;
	opacity: 0.55;
	white-space: nowrap;
}

.kbnav-search-empty {
	padding: 10px 14px;
	opacity: 0.6;
}

/* Feature Tabs Grid */
.kbnav-ft-cards {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

.kbnav-ft-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	padding: 24px 16px;
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kbnav-ft-card.kbnav-ft-active {
	transform: translateY(-6px);
}

.kbnav-ft-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 36px;
	line-height: 1;
}

.kbnav-ft-card-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.kbnav-ft-card-title {
	font-weight: 600;
	font-size: 15px;
}

.kbnav-ft-panels {
	position: relative;
}

.kbnav-ft-panel {
	display: none;
}

.kbnav-ft-panel.kbnav-ft-panel-active {
	display: block;
}

.kbnav-ft-panel-top {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.kbnav-ft-panel-icon-box {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	font-size: 32px;
}

.kbnav-ft-panel-icon-box svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.kbnav-ft-panel-title {
	margin: 0 0 6px;
}

.kbnav-ft-panel-description {
	margin: 0;
	line-height: 1.6;
}

.kbnav-ft-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 24px;
}

.kbnav-ft-checklist-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.kbnav-ft-checklist-item i,
.kbnav-ft-checklist-item svg {
	flex-shrink: 0;
	width: 1em;
	height: 1em;
}

@media (max-width: 767px) {
	.kbnav-ft-checklist {
		grid-template-columns: 1fr;
	}
	.kbnav-ft-panel-top {
		flex-direction: column;
		text-align: center;
	}
}
