/**
 * ==========================================================
 * ShopCore - Homepage Promotional Banners Stylesheet
 * File: assets/css/promo-banners.css
 * ==========================================================
 */

.shopcore-home-promo-section {
	padding: 26px 0 20px 0;
	width: 100%;
}

.shopcore-home-promo-grid {
	display: grid;
	gap: 20px;
	width: 100%;
}

.shopcore-home-promo-grid.has-two-banners {
	grid-template-columns: repeat(2, 1fr);
}

.shopcore-home-promo-grid.has-single-banner {
	grid-template-columns: 1fr;
}

.shopcore-promo-banner-item {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	background: #0f172a;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.shopcore-promo-banner-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.shopcore-promo-banner-link {
	display: block;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

.shopcore-promo-banner-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 68 / 26;
}

.shopcore-promo-banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.shopcore-promo-banner-item:hover .shopcore-promo-banner-img {
	transform: scale(1.025);
}

/* Responsive */
@media (max-width: 991px) {
	.shopcore-home-promo-grid.has-two-banners {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.shopcore-home-promo-section {
		padding: 20px 0 16px 0;
	}
}

@media (max-width: 576px) {
	.shopcore-home-promo-section {
		padding: 14px 0 10px 0;
	}

	.shopcore-home-promo-grid {
		gap: 10px;
	}

	.shopcore-promo-banner-item {
		border-radius: 10px;
	}
}

