/* RSL Partner — compact dark showcase */

:root {
	--bg: #07060c;
	--bg-card: #14121f;
	--ink: #f3f0f8;
	--ink-muted: #b5a8c9;
	--gold: #e8c45a;
	--gold-bright: #ffe28a;
	--purple: #9b4dff;
	--purple-bright: #c084ff;
	--line: rgba(192, 132, 255, 0.28);
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	--radius: 6px;
	--font-display: "Playfair Display", "Times New Roman", serif;
	--font-body: "Manrope", "Segoe UI", Tahoma, sans-serif;
	--shell: min(1120px, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.05rem;
	line-height: 1.55;
	background:
		radial-gradient(ellipse 70% 45% at 15% 0%, rgba(155, 77, 255, 0.18), transparent 55%),
		radial-gradient(ellipse 55% 40% at 90% 20%, rgba(90, 31, 212, 0.14), transparent 50%),
		linear-gradient(180deg, #0c0a14 0%, var(--bg) 40%, #05040a 100%);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-bright); text-underline-offset: 0.2em; }
a:hover { color: var(--gold-bright); }

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	background: var(--gold);
	color: #111;
	padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.6rem;
	padding: 0.55rem 1.15rem;
	border: 1px solid rgba(192, 132, 255, 0.55);
	border-radius: 999px;
	background: linear-gradient(180deg, #a855ff 0%, #6d28d9 55%, #4c1d95 100%);
	box-shadow: 0 0 18px rgba(155, 77, 255, 0.35);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn--ghost {
	background: transparent;
	box-shadow: none;
	border-color: rgba(232, 196, 90, 0.45);
	color: var(--gold-bright);
}
.btn--small { min-height: 2.2rem; padding: 0.35rem 0.85rem; font-size: 0.8rem; }

.catalog { padding: 2.5rem 0 3rem; }

.section-head { margin-bottom: 1.5rem; max-width: 40rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title {
	margin: 0 0 0.45rem;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--gold-bright);
}
.section-head__lead { margin: 0; color: var(--ink-muted); font-size: 1rem; }

.price-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.65rem;
	margin: 0 auto 1.75rem;
	padding: 0;
	border: 0;
	background: transparent;
}
.price-filter__field {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--ink-muted);
	font-size: 0.88rem;
	font-weight: 600;
}
.price-filter__field input {
	width: 5.75rem;
	min-height: 2.1rem;
	padding: 0.25rem 0.5rem;
	border: 1px solid rgba(155, 77, 255, 0.3);
	border-radius: var(--radius);
	background: rgba(7, 6, 12, 0.85);
	color: var(--ink);
	font-family: var(--font-body);
}
.price-filter__status {
	flex-basis: 100%;
	text-align: center;
	color: var(--ink-muted);
	font-size: 0.85rem;
}

.account-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.account-card {
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, rgba(155, 77, 255, 0.1), transparent 42%), var(--bg-card);
	border: 1px solid rgba(155, 77, 255, 0.3);
	border-top-color: rgba(232, 196, 90, 0.5);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.account-card:hover { border-color: rgba(192, 132, 255, 0.6); transform: translateY(-3px); }
.account-card[hidden] { display: none !important; }

.account-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0b0914;
	text-decoration: none;
}
.account-card__img { width: 100%; height: 100%; object-fit: cover; }
.account-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	color: var(--ink-muted);
	font-size: 0.85rem;
	background: linear-gradient(160deg, #1a1528, #0a0812);
}
.account-card__placeholder--large { min-height: 22rem; }

.account-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1.1rem 1.15rem 1.2rem;
	flex: 1;
}
.account-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
}
.account-card__title a { color: var(--ink); text-decoration: none; }
.account-card__title a:hover { color: var(--gold-bright); }
.account-card__text { margin: 0; color: var(--ink-muted); font-size: 0.95rem; flex: 1; }
.account-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 0.35rem;
	border-top: 1px solid rgba(155, 77, 255, 0.2);
}
.account-card__price {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--gold-bright);
}

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; }
.price__old {
	font-size: 0.85em;
	color: #9a8fb0 !important;
	text-decoration: line-through !important;
}
.price__current { color: var(--gold-bright); text-decoration: none !important; }

.empty-note {
	padding: 2rem;
	border: 1px dashed var(--line);
	color: var(--ink-muted);
	text-align: center;
}

.account-single { padding: 2rem 0 2rem; }
.account-single__layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2rem;
	align-items: start;
}
.account-single__eyebrow { margin: 0 0 0.75rem; font-size: 0.88rem; }
.account-single__eyebrow a { color: var(--ink-muted); text-decoration: none; }
.account-single__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	color: var(--gold-bright);
}
.account-single__price { margin: 0 0 1.15rem; font-family: var(--font-display); font-size: 1.45rem; }
.account-single__content { color: var(--ink-muted); margin-bottom: 1.5rem; }
.account-single__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.gallery__stage {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid rgba(155, 77, 255, 0.35);
	background: #0b0914;
	box-shadow: var(--shadow);
}
.gallery__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
}
.gallery__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid rgba(155, 77, 255, 0.45);
	background: rgba(7, 6, 12, 0.8);
	color: var(--gold-bright);
	font-size: 1.4rem;
	cursor: pointer;
	z-index: 2;
}
.gallery__nav--prev { left: 0.55rem; }
.gallery__nav--next { right: 0.55rem; }
.gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.gallery__thumb {
	padding: 0;
	border: 1px solid transparent;
	background: #0b0914;
	cursor: pointer;
	opacity: 0.65;
	aspect-ratio: 1;
	overflow: hidden;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active,
.gallery__thumb:hover { opacity: 1; border-color: var(--purple-bright); }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(4, 3, 10, 0.88);
	cursor: pointer;
	backdrop-filter: blur(4px);
}
.lightbox__panel {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: min(1200px, 100%);
	max-height: calc(100vh - 2.5rem);
	animation: lightbox-in 0.22s ease;
}
.lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 2.5rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border: 1px solid rgba(155, 77, 255, 0.4);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(155, 77, 255, 0.2);
	background: #0b0914;
}
.lightbox__close {
	position: absolute;
	top: -0.35rem;
	right: -0.35rem;
	z-index: 2;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid rgba(155, 77, 255, 0.5);
	border-radius: 50%;
	background: rgba(7, 6, 12, 0.92);
	color: var(--gold-bright);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}
.lightbox__close:hover { border-color: var(--purple-bright); color: #fff; }
.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.6rem;
	height: 2.6rem;
	border: 1px solid rgba(155, 77, 255, 0.45);
	background: rgba(7, 6, 12, 0.85);
	color: var(--gold-bright);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.lightbox__nav:hover { border-color: var(--purple-bright); color: #fff; }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
.lightbox__nav[hidden],
.lightbox__counter[hidden] { display: none; }
.lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 0.65rem;
	transform: translateX(-50%);
	margin: 0;
	padding: 0.25rem 0.7rem;
	border: 1px solid rgba(155, 77, 255, 0.35);
	background: rgba(7, 6, 12, 0.85);
	color: var(--ink-muted);
	font-size: 0.85rem;
	pointer-events: none;
}
body.is-lightbox-open { overflow: hidden; }
@keyframes lightbox-in {
	from { opacity: 0; transform: scale(0.97); }
	to { opacity: 1; transform: scale(1); }
}
@media (max-width: 640px) {
	.lightbox { padding: 0.75rem; }
	.lightbox__nav--prev { left: 0.25rem; }
	.lightbox__nav--next { right: 0.25rem; }
	.lightbox__close { top: 0.25rem; right: 0.25rem; }
}

.related { padding: 1rem 0 3.5rem; }

.site-footer {
	border-top: 1px solid var(--line);
	padding: 1.25rem 0 1.75rem;
}
.site-footer__inner {
	display: flex;
	justify-content: center;
}

@media (max-width: 960px) {
	.account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.account-single__layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	:root { --shell: min(100% - 1.5rem, 1120px); }
	.account-grid { grid-template-columns: 1fr; }
}
