/* Neto UI — shop archive [neto_ui_page_shop] */

.neto-shop {
	position: relative;
	isolation: isolate;
	padding-block: var(--neto-section-y, clamp(2.5rem, 6vh, 4.5rem));
	color: var(--neto-ink);
	font-family: var(--neto-font);
	direction: rtl;
	background: transparent;
}

.neto-shop__wrap {
	width: min(100% - 1.75rem, var(--neto-content-max, 1300px));
	margin-inline: auto;
}

@media (max-width: 640px) {
	.neto-shop__wrap {
		width: min(100% - 1.25rem, var(--neto-content-max, 1300px));
	}
}

.neto-shop__head {
	margin: 0 0 clamp(1.75rem, 4vh, 2.75rem);
	text-align: right;
	max-width: 40rem;
}

.neto-shop__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--neto-muted);
}

.neto-shop__eyebrow-line {
	display: inline-block;
	width: 2.25rem;
	height: 2px;
	border-radius: 999px;
	background: var(--neto-eyebrow-line, var(--neto-accent));
}

.neto-shop__eyebrow [lang="en"] {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}

.neto-shop__eyebrow-fa {
	color: var(--neto-ink);
	font-weight: 700;
	letter-spacing: 0;
}

.neto-shop__title {
	margin: 0;
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--neto-ink);
}

.neto-shop__lead {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--neto-muted);
}

.neto-shop__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(var(--neto-shop-cols, 3), minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (max-width: 900px) {
	.neto-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.neto-shop__grid {
		grid-template-columns: 1fr;
	}
}

.neto-shop__card {
	margin: 0;
	min-width: 0;
}

.neto-shop__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border-radius: 1.15rem;
	border: 1px solid var(--neto-line);
	background: color-mix(in srgb, var(--neto-card) 88%, transparent);
	overflow: hidden;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.neto-shop__card-link:hover,
.neto-shop__card-link:focus-visible {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--neto-brand) 35%, var(--neto-line));
	box-shadow: 0 14px 32px color-mix(in srgb, var(--neto-brand) 12%, transparent);
	outline: none;
}

html[data-neto-ui-theme="dark"] .neto-shop__card-link {
	background: #111113;
	border-color: #27272a;
}

.neto-shop__media {
	position: relative;
	aspect-ratio: 1;
	background: color-mix(in srgb, var(--neto-muted) 8%, transparent);
	overflow: hidden;
}

.neto-shop__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.neto-shop__media-ph {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--neto-brand) 8%, transparent), transparent 55%),
		color-mix(in srgb, var(--neto-line) 40%, transparent);
}

.neto-shop__badge {
	position: absolute;
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	z-index: 1;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	background: var(--neto-brand);
	color: var(--neto-brand-ink, #fff);
}

.neto-shop__card-body {
	display: grid;
	gap: 0.45rem;
	padding: 1rem 1.05rem 1.15rem;
}

.neto-shop__card-title {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--neto-ink);
}

.neto-shop__price {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--neto-brand);
}

.neto-shop__price del {
	opacity: 0.55;
	margin-inline-start: 0.35rem;
	font-weight: 500;
	color: var(--neto-muted);
}

.neto-shop__pager {
	margin-top: clamp(1.75rem, 4vh, 2.5rem);
}

.neto-shop__pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.neto-shop__pager .page-numbers a,
.neto-shop__pager .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	min-height: 2.4rem;
	padding: 0 0.7rem;
	border-radius: 0.7rem;
	border: 1px solid var(--neto-line);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--neto-ink);
	background: color-mix(in srgb, var(--neto-card) 70%, transparent);
}

.neto-shop__pager .page-numbers .current {
	background: var(--neto-brand);
	border-color: var(--neto-brand);
	color: var(--neto-brand-ink, #fff);
}

/* Empty state */
.neto-shop__empty {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 0.9rem;
	text-align: center;
	padding: clamp(2rem, 6vh, 3.5rem) 1rem;
	min-height: min(52vh, 26rem);
	place-content: center;
}

.neto-shop__empty-stage {
	position: relative;
	width: 6.5rem;
	height: 6.5rem;
	display: grid;
	place-items: center;
	margin-bottom: 0.35rem;
}

.neto-shop__empty-orb {
	position: absolute;
	inset: -18%;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--neto-brand) 28%, transparent), transparent 70%);
	animation: neto-shop-float 8s ease-in-out infinite;
}

.neto-shop__empty-box {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 4.75rem;
	height: 4.75rem;
	border-radius: 1.15rem;
	border: 1px solid var(--neto-line);
	background: color-mix(in srgb, var(--neto-card) 80%, transparent);
	color: var(--neto-brand);
}

html[data-neto-ui-theme="dark"] .neto-shop__empty-box {
	background: #111113;
	border-color: #27272a;
}

.neto-shop__empty-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.6vw, 1.65rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--neto-ink);
}

.neto-shop__empty-lead,
.neto-shop__empty-note {
	margin: 0;
	max-width: 28rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--neto-muted);
}

.neto-shop__empty-note {
	font-size: 0.88rem;
}

.neto-shop__empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.65rem;
	margin-top: 0.55rem;
}

.neto-shop__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0 1.25rem;
	border-radius: 999px;
	border: 1px solid var(--neto-line);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--neto-ink);
	background: color-mix(in srgb, var(--neto-card) 70%, transparent);
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.neto-shop__btn:hover,
.neto-shop__btn:focus-visible {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--neto-brand) 40%, var(--neto-line));
	outline: none;
}

.neto-shop__btn--primary {
	background: var(--neto-brand);
	border-color: var(--neto-brand);
	color: var(--neto-brand-ink, #fff);
}

.neto-shop__btn--primary:hover,
.neto-shop__btn--primary:focus-visible {
	background: var(--neto-brand-hover, #00385a);
	border-color: var(--neto-brand-hover, #00385a);
	color: #fff;
}

@keyframes neto-shop-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
	.neto-shop__empty-orb,
	.neto-shop__card-link {
		animation: none;
		transition: none;
	}
}
