.ncs-cart-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 14px 30px;
	box-sizing: border-box;
}

.ncs-cart-header {
	margin-bottom: 16px;
}

.ncs-cart-title {
	margin: 0 0 6px;
	font-size: 1.6rem;
	line-height: 1.2;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-subtitle {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #475569;
}

.ncs-cart-alert {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
	font-size: 0.95rem;
	font-weight: 700;
}

.ncs-cart-progress-card {
	margin-bottom: 18px;
	padding: 14px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ncs-cart-progress-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.ncs-cart-progress-title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-progress-value {
	font-size: 0.9rem;
	font-weight: 800;
	color: #C70039;
}

.ncs-cart-progress-bar {
	width: 100%;
	height: 10px;
	border-radius: 999px;
	background: #f1f5f9;
	overflow: hidden;
	margin-bottom: 10px;
}

.ncs-cart-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #FFC300 0%, #C70039 100%);
}

.ncs-cart-progress-text {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #475569;
}

.ncs-cart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.ncs-cart-items,
.ncs-cart-summary-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ncs-cart-items {
	padding: 14px;
}

.ncs-cart-item {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #edf2f7;
}

.ncs-cart-item:last-child {
	border-bottom: none;
}

.ncs-cart-item-image {
	width: 92px;
	height: 92px;
	border-radius: 14px;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

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

.ncs-cart-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ncs-cart-item-name,
.ncs-cart-item-name a {
	font-size: 0.95rem;
	line-height: 1.4;
	font-weight: 800;
	color: #0f172a;
	text-decoration: none;
}

.ncs-cart-item-remove a {
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 700;
	color: #94a3b8;
	line-height: 1;
}

.ncs-cart-item-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0 8px;
}

.ncs-cart-item-price {
	font-size: 0.95rem;
	font-weight: 800;
	color: #C70039;
}

.ncs-cart-item-subtotal {
	font-size: 0.88rem;
	color: #475569;
}

.ncs-cart-item-qty {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ncs-cart-item-qty .quantity {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

.ncs-cart-item-qty input.qty {
	width: 58px !important;
	min-width: 58px !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 6px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 12px !important;
	background: #ffffff !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 40px !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
}

.ncs-cart-item-qty .quantity .minus,
.ncs-cart-item-qty .quantity .plus,
.ncs-cart-item-qty .quantity button {
	display: none !important;
}

.ncs-cart-item-qty input.qty::-webkit-outer-spin-button,
.ncs-cart-item-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ncs-cart-item-qty input.qty {
	-moz-appearance: textfield;
}

.ncs-cart-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #edf2f7;
}

.ncs-cart-coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
}

.ncs-cart-coupon .input-text {
	flex: 1;
	min-width: 180px;
	min-height: 44px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 0 12px;
	box-sizing: border-box;
}

.ncs-cart-secondary-btn {
	min-height: 44px;
	border: none !important;
	border-radius: 12px !important;
	background: #0f172a !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	padding: 0 16px !important;
	box-shadow: none !important;
}

.ncs-cart-summary-card {
	padding: 16px;
	position: sticky;
	top: 20px;
}

.ncs-cart-summary-title {
	margin-bottom: 14px;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-summary-row,
.ncs-cart-summary-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ncs-cart-summary-row {
	padding: 8px 0;
	font-size: 0.92rem;
	color: #475569;
}

.ncs-cart-summary-total {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-reassurance {
	margin-top: 14px;
	padding: 12px;
	border-radius: 14px;
	background: #f8fafc;
	color: #334155;
	font-size: 0.88rem;
	line-height: 1.6;
}

.ncs-cart-checkout {
	margin-top: 14px;
}

.ncs-cart-checkout .checkout-button,
.ncs-cart-primary-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border: none !important;
	border-radius: 14px !important;
	background: #FFC300 !important;
	color: #111111 !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(255, 195, 0, 0.22) !important;
}

.ncs-cart-upsell {
	margin-top: 22px;
}

.ncs-cart-upsell-title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-upsell-slider {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
}

.ncs-cart-upsell-slider::-webkit-scrollbar {
	display: none;
}

.ncs-cart-upsell-card {
	min-width: 150px;
	max-width: 150px;
	padding: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #ffffff;
	box-sizing: border-box;
	scroll-snap-align: start;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.ncs-cart-upsell-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ncs-cart-upsell-image {
	width: 100%;
	height: 116px;
	background: #f8fafc;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 8px;
}

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

.ncs-cart-upsell-name {
	min-height: 34px;
	font-size: 0.83rem;
	line-height: 1.35;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ncs-cart-upsell-price {
	font-size: 0.9rem;
	font-weight: 800;
	color: #C70039;
}

.ncs-cart-empty {
	padding: 28px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	background: #ffffff;
	text-align: center;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ncs-cart-empty-icon {
	font-size: 2rem;
	margin-bottom: 8px;
}

/* Cacher bouton update */
button[name="update_cart"] {
	display: none !important;
}

/* Loader léger */
body.ncs-cart-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Toast message */
.ncs-cart-toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #0f172a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	z-index: 9999;
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* V2 */
.ncs-cart-section-title {
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.ncs-cart-summary-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #047857;
	font-size: 0.84rem;
	font-weight: 800;
}

.ncs-cart-checkout-note {
	margin-top: 12px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #475569;
	font-weight: 600;
}

.ncs-cart-checkout .checkout-button,
.ncs-cart-primary-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	border: none !important;
	border-radius: 16px !important;
	background: #FFC300 !important;
	color: #111111 !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	box-shadow: 0 10px 22px rgba(255, 195, 0, 0.24) !important;
}

@media (min-width: 992px) {
	.ncs-cart-grid {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
	}
}
.ncs-cart-trust-card {
	margin-top: 14px;
	padding: 14px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ncs-cart-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #334155;
	font-weight: 700;
}

.ncs-cart-trust-icon {
	width: 28px;
	height: 28px;
	min-width: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	font-size: 14px;
}

.ncs-cart-item-qty {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ncs-cart-item-qty .quantity {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 4px 8px !important;
	border: 1px solid #dbe3ee !important;
	border-radius: 14px !important;
	background: #f8fafc !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.ncs-cart-item-qty .quantity input.qty {
	width: 56px !important;
	min-width: 56px !important;
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 6px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 38px !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	color: #0f172a !important;
}
/* Boutons quantité premium */
.ncs-cart-item-qty .quantity {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 4px !important;
	border-radius: 14px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
}

.ncs-qty-btn {
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 10px;
	background: #ffffff;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	transition: all 0.2s ease;
}

.ncs-qty-btn:hover {
	background: #f1f5f9;
	transform: scale(1.05);
}

.ncs-cart-item-qty input.qty {
	border: none !important;
	background: transparent !important;
	width: 40px !important;
	font-weight: 800 !important;
	font-size: 15px !important;
}

/* Loading effet */
body.ncs-cart-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Toast */
.ncs-cart-toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #0f172a;
	color: #fff;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	z-index: 9999;
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.ncs-cart-progress-card-shipping {
	background: linear-gradient(135deg, #fff8e8 0%, #fff3cd 100%);
	border: 1px solid rgba(255, 195, 0, 0.24);
	box-shadow: 0 8px 22px rgba(255, 195, 0, 0.08);
}

.ncs-cart-progress-card-shipping .ncs-cart-progress-value {
	color: #b45309;
}

.ncs-cart-progress-fill-shipping {
	background: linear-gradient(90deg, #FFC300 0%, #F59E0B 50%, #C70039 100%);
	transition: width 0.5s ease;
}

.ncs-cart-progress-card-shipping .ncs-cart-progress-text {
	color: #5b4a1f;
}

.ncs-cart-progress-card-shipping .ncs-cart-progress-text strong {
	color: #b45309;
	font-weight: 800;
}

.ncs-cart-progress-card-shipping.is-unlocked {
	background: linear-gradient(135deg, #ecfdf3 0%, #dcfce7 100%);
	border-color: rgba(34, 197, 94, 0.22);
	box-shadow: 0 8px 22px rgba(34, 197, 94, 0.08);
}

.ncs-cart-progress-card-shipping.is-unlocked .ncs-cart-progress-value {
	color: #15803d;
}

.ncs-cart-progress-card-shipping.is-unlocked .ncs-cart-progress-fill-shipping {
	background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.ncs-cart-progress-card-shipping.is-unlocked .ncs-cart-progress-text {
	color: #166534;
}

.ncs-cart-progress-card-shipping.is-unlocked .ncs-cart-progress-text strong {
	color: #15803d;
}