/* Homepage latest excel products scroller */

.home-products {
	--excel-navy: #0c2340;
	--excel-navy-dark: #071628;
	--excel-orange: #e8773d;
	--excel-orange-dark: #d4652f;
	--excel-teal: #1a7a7a;
	--excel-text: #4a5568;
	--excel-border: #e8ecf1;
	--excel-bg: #f4f6f9;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 60% at 0% 0%, rgba(232, 119, 61, 0.08) 0%, transparent 55%),
		radial-gradient(ellipse 50% 50% at 100% 100%, rgba(12, 35, 64, 0.06) 0%, transparent 50%),
		linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

.home-products__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.home-products__intro {
	max-width: 640px;
}

.home-products__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--excel-orange);
}

.home-products__label i {
	font-size: 13px;
}

.home-products__intro h2 {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--excel-navy);
}

.home-products__intro p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--excel-text);
}

.home-products__cta-top {
	flex-shrink: 0;
}

.home-products__carousel {
	position: relative;
	margin: 0 -6px 8px;
	padding: 6px;
}

.home-products__carousel .owl-stage {
	display: flex;
	align-items: stretch;
}

.home-products__carousel .owl-item {
	display: flex;
	height: auto;
}

.home-products__carousel .owl-item > .excel-product-card {
	width: 100%;
	height: 100%;
}

.home-products__carousel .excel-product-card {
	box-shadow: 0 6px 24px rgba(12, 35, 64, 0.06);
}

.home-products__carousel .excel-product-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.home-products__carousel .excel-product-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	font-size: 15px;
}

.home-products__carousel .owl-nav {
	position: absolute;
	top: -72px;
	right: 6px;
	margin: 0;
}

.home-products__carousel .owl-nav button {
	width: 42px !important;
	height: 42px !important;
	margin-left: 8px !important;
	border-radius: 4px !important;
	background: #fff !important;
	border: 1px solid var(--excel-border) !important;
	color: var(--excel-navy) !important;
	font-size: 14px !important;
	line-height: 42px !important;
	box-shadow: 0 4px 12px rgba(12, 35, 64, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-products__carousel .owl-nav button:hover {
	background: var(--excel-navy) !important;
	border-color: var(--excel-navy) !important;
	color: #fff !important;
}

.home-products__carousel .owl-nav button.disabled {
	opacity: 0.4;
	cursor: default;
}

.home-products__carousel .owl-dots {
	margin-top: 22px;
	text-align: center;
}

.home-products__carousel .owl-dot span {
	width: 8px;
	height: 8px;
	margin: 0 4px;
	background: #cdd5e0;
	transition: background 0.2s ease, transform 0.2s ease;
}

.home-products__carousel .owl-dot.active span {
	background: var(--excel-orange);
	transform: scale(1.15);
}

.home-products__footer {
	margin-top: 36px;
	text-align: center;
}

.home-products__footer .btn {
	min-width: 200px;
}

.home-products__empty {
	padding: 40px 24px;
	text-align: center;
	background: #fff;
	border: 1px dashed var(--excel-border);
	border-radius: 8px;
	color: var(--excel-text);
}

.home-products__empty p {
	margin: 0 0 18px;
}

@media (max-width: 767px) {
	.home-products__intro h2 {
		font-size: 26px;
	}

	.home-products__carousel .owl-nav {
		position: static;
		margin: 0 0 16px;
		text-align: right;
	}

	.home-products__header {
		margin-bottom: 20px;
	}

	.home-products__cta-top {
		display: none;
	}
}
