.ncs-homepage-block {
	width: 100%;
	box-sizing: border-box;
}

.ncs-homepage-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.ncs-homepage-block-title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
	font-weight: 800;
	color: #0f172a;
}

.ncs-view-all-link {
	font-size: 0.85rem;
	line-height: 1.2;
	font-weight: 700;
	color: #C70039;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.ncs-view-all-link::after {
	content: '›';
	font-size: 1rem;
	line-height: 1;
}

.ncs-view-all-link:hover {
	opacity: 0.75;
}

/* =========================================
   PRODUITS NORMAUX + BEST SELLERS + RECOMMANDÉS
========================================= */

.ncs-homepage-products-slider {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ncs-homepage-products-slider::-webkit-scrollbar {
	display: none;
}

.ncs-homepage-product-card {
	position: relative;
	flex: 0 0 auto;
	width: 168px;
	min-width: 168px;
	max-width: 168px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	scroll-snap-align: start;
	overflow: hidden;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ncs-homepage-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	border-color: #dbe2ea;
}

.ncs-homepage-product-card-popular {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.ncs-homepage-product-card-popular:hover {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
}

.ncs-homepage-product-card-recommended {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.ncs-homepage-product-card-recommended:hover {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
}

.ncs-homepage-product-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ncs-homepage-product-image {
	width: 100%;
	height: 148px;
	background: #FFF8E8;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(243, 217, 139, 0.28);
	border-radius: 18px 18px 0 0;
}

.ncs-homepage-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.2s ease;
}

.ncs-homepage-product-card:hover .ncs-homepage-product-image img {
	transform: scale(1.03);
}

.ncs-homepage-product-content {
	padding: 18px 12px 14px;
	background: #ffffff;
}

.ncs-homepage-product-name {
	font-size: 0.92rem;
	line-height: 1.45;
	font-weight: 800;
	color: #0f172a;
	min-height: 58px;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ncs-homepage-product-price {
	font-size: 0.98rem;
	line-height: 1.35;
	font-weight: 800;
	color: #C70039;
}

.ncs-homepage-product-price del {
	display: block;
	margin-top: 4px;
	color: #9ca3af;
	font-weight: 600;
	font-size: 0.85rem;
}

.ncs-homepage-product-price ins {
	text-decoration: none;
	color: #C70039;
}

/* Badges principaux */
.ncs-badge-popular,
.ncs-badge-recommended {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	max-width: calc(100% - 56px);
	padding: 0 8px;
	border-radius: 999px;
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	pointer-events: none;
}

.ncs-badge-popular {
	background: linear-gradient(135deg, #FFE082 0%, #FFD54F 100%);
	color: #6B4F00;
	border: 1px solid rgba(255, 214, 79, 0.85);
}

.ncs-badge-recommended {
	background: linear-gradient(135deg, #FFE7A3 0%, #FFD86B 100%);
	color: #6B4F00;
	border: 1px solid rgba(255, 216, 107, 0.90);
}

/* Bouton favori */
.ncs-card-favorite-button {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 8;
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ncs-card-favorite-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.ncs-card-favorite-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(199, 0, 57, 0.12), 0 4px 12px rgba(0, 0, 0, 0.14);
}

.ncs-card-favorite-icon {
	width: 15px;
	height: 15px;
	display: block;
	fill: #9ca3af;
	transition: fill 0.18s ease, transform 0.18s ease;
}

.ncs-card-favorite-button.is-active .ncs-card-favorite-icon {
	fill: #C70039;
	transform: scale(1.06);
}

/* Bandeau marketing produit */
.ncs-card-marketing-badge {
	position: absolute;
	left: 12px;
	right: 12px;
	top: 139px;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 16px;
	padding: 0 8px;
	border-radius: 4px;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none;
	border: none;
	opacity: 1;
	pointer-events: none;
}

.ncs-card-marketing-badge--orange {
	background: linear-gradient(135deg, #F29B38 0%, #D97706 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--green {
	background: linear-gradient(135deg, #34D399 0%, #059669 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--pink {
	background: linear-gradient(135deg, #F472B6 0%, #DB2777 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--red {
	background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--dark {
	background: linear-gradient(135deg, #4B5563 0%, #111827 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--blue {
	background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--purple {
	background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--gold {
	background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%);
	color: #ffffff;
}

.ncs-card-marketing-badge--teal {
	background: linear-gradient(135deg, #2DD4BF 0%, #0F766E 100%);
	color: #ffffff;
}

/* =========================================
   PRODUITS PROMO
========================================= */

.ncs-homepage-promo-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ncs-homepage-promo-item {
	background: linear-gradient(135deg, #fff7f7 0%, #ffeaea 100%);
	border: 1px solid #fecaca;
	border-radius: 18px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.ncs-homepage-promo-link {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px;
	text-decoration: none;
	color: inherit;
}

.ncs-homepage-promo-image-wrap {
	position: relative;
}

.ncs-homepage-promo-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: #C70039;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(199, 0, 57, 0.2);
	pointer-events: none;
}

.ncs-homepage-promo-image {
	width: 100%;
	height: 112px;
	border-radius: 14px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	box-sizing: border-box;
}

.ncs-homepage-promo-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ncs-homepage-promo-content {
	min-width: 0;
}

.ncs-homepage-promo-eyebrow {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.2;
	color: #9f1239;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ncs-homepage-promo-name {
	font-size: 0.95rem;
	line-height: 1.4;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ncs-homepage-promo-price {
	font-size: 0.98rem;
	line-height: 1.35;
	font-weight: 800;
	color: #C70039;
}

.ncs-homepage-promo-price del {
	color: #94a3b8;
	font-weight: 600;
	margin-right: 6px;
}

.ncs-homepage-promo-price ins {
	text-decoration: none;
	color: #C70039;
}

/* =========================================
   BLACK FRIDAY
========================================= */

.ncs-homepage-bf-shell {
	padding: 16px;
	border-radius: 22px;
	background: linear-gradient(145deg, #0f172a 0%, #111827 55%, #1f2937 100%);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.ncs-homepage-bf-header {
	margin-bottom: 14px;
}

.ncs-homepage-bf-title {
	color: #ffffff;
}

.ncs-homepage-bf-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 195, 0, 0.16);
	color: #FFC300;
	font-size: 0.8rem;
	font-weight: 800;
}

.ncs-homepage-bf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ncs-homepage-bf-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ncs-homepage-bf-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ncs-homepage-bf-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 10px 10px 0;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: #FFC300;
	color: #111111;
	font-size: 0.72rem;
	font-weight: 800;
}

.ncs-homepage-bf-image {
	width: 100%;
	height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	box-sizing: border-box;
}

.ncs-homepage-bf-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ncs-homepage-bf-content {
	padding: 0 12px 12px;
}

.ncs-homepage-bf-name {
	font-size: 0.88rem;
	line-height: 1.4;
	font-weight: 700;
	color: #ffffff;
	min-height: 38px;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ncs-homepage-bf-price {
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 800;
	color: #FFC300;
}

.ncs-homepage-bf-price del {
	color: rgba(255, 255, 255, 0.45);
	font-weight: 600;
	margin-right: 6px;
}

.ncs-homepage-bf-price ins {
	text-decoration: none;
	color: #FFC300;
}

/* =========================================
   CATÉGORIES SWIPE
========================================= */

.ncs-categories-swipe {
	margin-bottom: 16px;
}

.ncs-categories-track {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 2px 6px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ncs-categories-track::-webkit-scrollbar {
	display: none;
}

.ncs-category-pill {
	flex: 0 0 auto;
	padding: 10px 16px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
	scroll-snap-align: start;
}

.ncs-category-pill:hover {
	background: #f8fafc;
}

.ncs-category-pill.is-active {
	background: #C70039;
	color: #ffffff;
	border-color: #C70039;
}

/* =========================================
   RESPONSIVE TABLET+
========================================= */

@media (min-width: 768px) {
	.ncs-homepage-product-card {
		width: 184px;
		min-width: 184px;
		max-width: 184px;
	}

	.ncs-homepage-product-image {
		height: 164px;
	}

	.ncs-homepage-product-content {
		padding: 20px 12px 14px;
	}

	.ncs-card-marketing-badge {
		top: 155px;
		height: 18px;
		font-size: 0.64rem;
	}

	.ncs-card-favorite-button {
		width: 30px;
		height: 30px;
	}

	.ncs-card-favorite-icon {
		width: 16px;
		height: 16px;
	}

	.ncs-homepage-promo-link {
		grid-template-columns: 128px minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
	}

	.ncs-homepage-promo-image {
		height: 128px;
	}

	.ncs-homepage-bf-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ncs-homepage-bf-image {
		height: 150px;
	}
}