/* =============================================================
   Nautica Web Shop — Empty Cart Page
   ============================================================= */

.nws-empty-cart {
	--nws-accent: #0d3ea3;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* ── Hero ──────────────────────────────────────────────────── */

.nws-empty-cart__hero {
	position: relative;
	text-align: center;
	padding: 56px 24px 52px;
	background: linear-gradient(160deg, color-mix(in srgb, var(--nws-accent) 6%, transparent), color-mix(in srgb, var(--nws-accent) 3%, transparent) 60%, transparent);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 0;
}

/* Fallback gradient per browser senza color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nws-empty-cart__hero {
		background: linear-gradient(160deg, rgba(13,62,163,.06), rgba(13,62,163,.03) 60%, transparent);
	}
}

/* ── Cerchi decorativi ── */
.nws-empty-cart__deco {
	position: absolute;
	border-radius: 50%;
	background: var(--nws-accent);
	opacity: .06;
	pointer-events: none;
}
.nws-empty-cart__deco--1 {
	width: 300px; height: 300px;
	top: -80px; right: -60px;
}
.nws-empty-cart__deco--2 {
	width: 180px; height: 180px;
	bottom: -40px; left: -40px;
}
.nws-empty-cart__deco--3 {
	width: 80px; height: 80px;
	top: 40px; left: 10%;
	opacity: .04;
}

/* ── Icona illustrazione ── */
.nws-empty-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	background: color-mix(in srgb, var(--nws-accent) 10%, white);
	border-radius: 50%;
	margin-bottom: 28px;
	color: var(--nws-accent);
	position: relative;
	z-index: 1;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nws-empty-cart__icon {
		background: rgba(13,62,163,.1);
	}
}

.nws-empty-cart__icon svg {
	width: 72px;
	height: 72px;
	color: var(--nws-accent);
}

/* ── Animazione leggera sull'icona ── */
@keyframes nws-cart-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-6px); }
}
.nws-empty-cart__icon {
	animation: nws-cart-float 3.5s ease-in-out infinite;
}

/* ── Testo ── */
.nws-empty-cart__title {
	font-size: clamp(1.4rem, 3vw, 2rem) !important;
	font-weight: 800 !important;
	color: var(--nws-accent) !important;
	margin: 0 0 14px !important;
	line-height: 1.2 !important;
	letter-spacing: -.02em !important;
	position: relative;
	z-index: 1;
}

.nws-empty-cart__subtitle {
	font-size: .9375rem !important;
	color: #475569 !important;
	line-height: 1.7 !important;
	max-width: 480px !important;
	margin: 0 auto 32px !important;
	position: relative;
	z-index: 1;
}

/* ── CTA button ── */
.nws-empty-cart__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--nws-accent);
	color: #fff !important;
	font-size: .9375rem;
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 50px;
	text-decoration: none !important;
	transition: transform .2s, box-shadow .2s, opacity .2s;
	box-shadow: 0 4px 20px color-mix(in srgb, var(--nws-accent) 35%, transparent);
	position: relative;
	z-index: 1;
	letter-spacing: .01em;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nws-empty-cart__cta {
		box-shadow: 0 4px 20px rgba(13,62,163,.35);
	}
}

.nws-empty-cart__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px color-mix(in srgb, var(--nws-accent) 45%, transparent);
	opacity: .92;
	color: #fff !important;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nws-empty-cart__cta:hover {
		box-shadow: 0 8px 28px rgba(13,62,163,.45);
	}
}

.nws-empty-cart__cta:active {
	transform: translateY(0);
}

/* ── Benefit strip ─────────────────────────────────────────── */

.nws-empty-cart__benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	margin-top: 32px;
	background: #fff;
}

.nws-empty-cart__benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 20px;
	gap: 8px;
	border-right: 1px solid #e2e8f0;
	transition: background .2s;
}

.nws-empty-cart__benefit:last-child {
	border-right: none;
}

.nws-empty-cart__benefit:hover {
	background: #f8fafc;
}

.nws-empty-cart__benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: color-mix(in srgb, var(--nws-accent) 8%, white);
	border-radius: 12px;
	color: var(--nws-accent);
	margin-bottom: 4px;
	flex-shrink: 0;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nws-empty-cart__benefit-icon {
		background: rgba(13,62,163,.08);
	}
}

.nws-empty-cart__benefit-icon svg {
	width: 22px;
	height: 22px;
}

.nws-empty-cart__benefit strong {
	font-size: .875rem;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.nws-empty-cart__benefit span {
	font-size: .8125rem;
	color: #64748b;
	line-height: 1.4;
}

/* ── Mobile ─────────────────────────────────────────────────── */

@media (max-width: 600px) {
	.nws-empty-cart__hero {
		padding: 40px 16px 40px;
	}

	.nws-empty-cart__icon {
		width: 96px;
		height: 96px;
		margin-bottom: 20px;
	}
	.nws-empty-cart__icon svg {
		width: 56px;
		height: 56px;
	}

	.nws-empty-cart__benefits {
		grid-template-columns: 1fr;
	}
	.nws-empty-cart__benefit {
		border-right: none;
		border-bottom: 1px solid #e2e8f0;
		flex-direction: row;
		text-align: left;
		padding: 16px 20px;
		gap: 14px;
	}
	.nws-empty-cart__benefit:last-child {
		border-bottom: none;
	}
	.nws-empty-cart__benefit-icon {
		margin-bottom: 0;
		flex-shrink: 0;
	}
}
