.ncs-custom-product-layout {
	width: 100%;
	background: transparent;
	position: relative;
	z-index: 5;
}

.ncs-gallery-shell {
	position: relative;
	width: 100%;
	background: transparent;
	margin-bottom: 8px;
	padding: 0 14px;
	box-sizing: border-box;
}

.ncs-product-gallery-wrapper {
	width: 100%;
	background: linear-gradient(145deg, #f8f8f8, #eeeeee);
	border-radius: 24px;
	overflow: hidden;
	position: relative;
	box-shadow:
		inset 0 0 40px rgba(0, 0, 0, 0.04),
		0 10px 25px rgba(0, 0, 0, 0.08);
}

.ncs-product-gallery-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	gap: 0;
	background: transparent;
	scrollbar-width: none;
}

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

.ncs-product-gallery-slide {
	min-width: 100%;
	scroll-snap-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 18px 18px;
	box-sizing: border-box;
	background: transparent;
}

.ncs-product-gallery-image {
	width: 100%;
	height: 260px;
	max-width: 100%;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	background: transparent;
}

.ncs-product-gallery-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 8px 0 12px;
	background: transparent;
}

.ncs-gallery-dot {
	width: 8px;
	height: 8px;
	border: none;
	border-radius: 999px;
	background: #cfcfcf;
	padding: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}

.ncs-gallery-dot.is-active {
	width: 22px;
	background: #7a7a7a;
}

.ncs-favorite-button {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 30;
	width: 46px;
	height: 46px;
	border: 1px solid #ececec;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
}

.ncs-favorite-button:hover {
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.ncs-favorite-heart {
	display: block;
}

.ncs-authority-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 25;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 180px;
}

.ncs-authority-badge {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	width: fit-content;
	animation: ncsFloat 3s ease-in-out infinite;
	will-change: transform;
}

.ncs-authority-badge--recommend {
	background: rgba(255, 247, 215, 0.96);
	color: #9a5b10;
}

.ncs-authority-badge--validated {
	background: rgba(225, 244, 230, 0.96);
	color: #1f6a3c;
}

.ncs-product-content {
	padding: 8px 18px 28px;
	background: #fff;
}

.ncs-product-title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 700;
	color: #0f172a;
}

.ncs-social-proof {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.4;
	color: #374151;
	font-weight: 500;
	min-height: 18px;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.ncs-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}

.ncs-highlight-item {
	background: #f7f1e3;
	border-radius: 10px;
	padding: 8px 10px;
	min-width: calc(50% - 4px);
	flex: 1 1 calc(50% - 4px);
	box-sizing: border-box;
}

.ncs-highlight-label {
	font-size: 11px;
	color: #b7791f;
	font-weight: 600;
	margin-bottom: 2px;
	line-height: 1.2;
}

.ncs-highlight-value {
	font-size: 14px;
	font-weight: 700;
	color: #374151;
	line-height: 1.25;
}

.ncs-short-description {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #475569;
	margin-bottom: 14px;
}

.ncs-packaging-box {
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 14px;
	padding: 14px;
	margin: 18px 0;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ncs-packaging-icon {
	font-size: 22px;
	line-height: 1;
}

.ncs-packaging-title {
	font-weight: 700;
	color: #065f46;
	font-size: 14px;
	margin-bottom: 4px;
}

.ncs-packaging-text {
	font-size: 13px;
	color: #047857;
	line-height: 1.4;
}

.ncs-packaging-note {
	font-size: 12px;
	color: #059669;
	margin-top: 6px;
}

.ncs-product-cart-wrap {
	margin-top: 16px;
	margin-bottom: 110px;
}

.ncs-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.10);
	border-top: 2px solid #FFC300;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 10px;
}

.ncs-sticky-price-wrap {
	min-width: 105px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.15;
}

.ncs-sticky-current-price {
	font-weight: 800;
	font-size: 1.05rem;
	color: #C70039;
}

.ncs-sticky-regular-price {
	font-size: 0.82rem;
	color: #9ca3af;
	text-decoration: line-through;
	margin-top: 3px;
}

.ncs-sticky-actions {
	flex: 1;
	display: flex;
	gap: 10px;
}

.ncs-sticky-button {
	width: 100%;
	min-height: 50px;
	border: none;
	border-radius: 14px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		filter 0.18s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ncs-sticky-button:hover {
	filter: brightness(1.02);
}

.ncs-sticky-button:active {
	transform: scale(0.97);
}

.ncs-sticky-button--buy {
	background: #FFC300;
	color: #111111;
}

.ncs-sticky-button--add,
.ncs-sticky-button--choose {
	background: #C70039;
	color: #ffffff;
}

@keyframes ncsFloat {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-4px); }
	100% { transform: translateY(0px); }
}

@media (min-width: 769px) {
	.ncs-gallery-shell {
		max-width: 1100px;
		margin: 0 auto 18px;
		padding-left: 0;
		padding-right: 0;
	}

	.ncs-product-gallery-wrapper {
		border-radius: 28px;
	}

	.ncs-product-gallery-slide {
		padding: 36px 20px 20px;
	}

	.ncs-product-gallery-image {
		height: 420px;
	}

	.ncs-sticky-bar {
		display: none;
	}
/* ===== Premium animations visibles ===== */

.ncs-favorite-button {
	animation: ncsFavoriteFloat 2.8s ease-in-out infinite;
}

.ncs-favorite-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.ncs-favorite-button.ncs-heart-pop {
	animation:
		ncsHeartPop 0.38s cubic-bezier(.34,1.56,.64,1),
		ncsFavoriteFloat 2.8s ease-in-out infinite 0.4s;
}

.ncs-authority-badge--recommend {
	animation:
		ncsBadgePulseGold 2.6s ease-in-out infinite,
		ncsBadgeFloat 3s ease-in-out infinite;
}

.ncs-authority-badge--validated {
	animation:
		ncsBadgePulseGreen 2.8s ease-in-out infinite,
		ncsBadgeFloat 3.2s ease-in-out infinite;
}

@keyframes ncsHeartPop {
	0% { transform: scale(1); }
	35% { transform: scale(1.22); }
	65% { transform: scale(0.94); }
	100% { transform: scale(1); }
}

@keyframes ncsFavoriteFloat {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-3px); }
	100% { transform: translateY(0px); }
}

@keyframes ncsBadgeFloat {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-3px); }
	100% { transform: translateY(0px); }
}

@keyframes ncsBadgePulseGold {
	0% {
		box-shadow: 0 6px 14px rgba(0,0,0,0.08), 0 0 0 0 rgba(255,195,0,0.22);
	}
	50% {
		box-shadow: 0 8px 18px rgba(0,0,0,0.10), 0 0 0 8px rgba(255,195,0,0.00);
	}
	100% {
		box-shadow: 0 6px 14px rgba(0,0,0,0.08), 0 0 0 0 rgba(255,195,0,0.00);
	}
}

@keyframes ncsBadgePulseGreen {
	0% {
		box-shadow: 0 6px 14px rgba(0,0,0,0.08), 0 0 0 0 rgba(34,197,94,0.20);
	}
	50% {
		box-shadow: 0 8px 18px rgba(0,0,0,0.10), 0 0 0 8px rgba(34,197,94,0.00);
	}
	100% {
		box-shadow: 0 6px 14px rgba(0,0,0,0.08), 0 0 0 0 rgba(34,197,94,0.00);
	}
}
.ncs-sticky-bar {
	border-top: 4px solid blue !important;
}

#ncs-favorite-button {
	background: #ffe5e5 !important;
}