/* Apex Shop Feed — dark cinematic product feed. Override any --asf-* variable on .asf from Oxygen. */

.asf {
	--asf-bg: #08080a;
	--asf-surface: #111114;
	--asf-ink: #f2f0ea;
	--asf-muted: #8d8a83;
	--asf-line: rgba(242, 240, 234, .1);
	--asf-display: inherit;
	--asf-radius: 22px;
	--asf-ease: cubic-bezier(.16, 1, .3, 1);
	position: relative;
	isolation: isolate;
	background: var(--asf-bg);
	color: var(--asf-ink);
	padding: clamp(56px, 8vw, 120px) clamp(18px, 4vw, 64px);
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}
.asf *, .asf *::before, .asf *::after { box-sizing: border-box; }
.asf a { color: inherit; text-decoration: none; }
.asf h2, .asf h3, .asf p { margin: 0; }

/* Film grain over the whole section */
.asf::before {
	content: "";
	position: absolute; inset: -50%;
	z-index: -1;
	pointer-events: none;
	opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: asf-grain 1.2s steps(6) infinite;
}
@keyframes asf-grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
	60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
/* Accent glow that drifts behind the content */
.asf::after {
	content: "";
	position: absolute;
	width: 60vmax; height: 60vmax;
	left: 50%; top: 0;
	z-index: -2;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--asf-accent) 22%, transparent), transparent 62%);
	transform: translate(-50%, -55%);
	filter: blur(40px);
	pointer-events: none;
}

/* ---------- Ticker ---------- */
.asf-ticker {
	margin: 0 calc(clamp(18px, 4vw, 64px) * -1) clamp(40px, 6vw, 80px);
	overflow: hidden;
	border-block: 1px solid var(--asf-line);
	padding-block: clamp(10px, 1.4vw, 18px);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.asf-ticker__run { display: flex; width: max-content; animation: asf-marquee 48s linear infinite; }
.asf-ticker__run > span { display: flex; align-items: center; flex-shrink: 0; }
.asf-ticker em, .asf-ticker i {
	font-family: var(--asf-display);
	font-style: normal;
	font-weight: 800;
	font-size: clamp(40px, 7.5vw, 120px);
	line-height: 1;
	letter-spacing: -.04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px color-mix(in srgb, var(--asf-ink) 45%, transparent);
	padding-inline: .28em;
}
.asf-ticker em:nth-of-type(3n+1) { color: var(--asf-ink); -webkit-text-stroke: 0; }
.asf-ticker i { font-size: clamp(18px, 3vw, 44px); color: var(--asf-accent); -webkit-text-stroke: 0; }
.asf:hover .asf-ticker__run { animation-duration: 90s; }
@keyframes asf-marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.asf-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	margin-bottom: clamp(32px, 5vw, 64px);
}
.asf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--asf-muted);
	margin-bottom: 18px !important;
}
.asf-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--asf-accent);
	box-shadow: 0 0 0 0 var(--asf-accent);
	animation: asf-pulse 2.4s var(--asf-ease) infinite;
}
@keyframes asf-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--asf-accent) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.asf-count {
	font-variant-numeric: tabular-nums;
	color: var(--asf-ink);
	border: 1px solid var(--asf-line);
	border-radius: 99px;
	padding: 3px 9px;
	letter-spacing: .08em;
}
.asf-title, .asf-spot__name {
	font-family: var(--asf-display);
	font-weight: 800;
	font-size: clamp(42px, 7vw, 108px);
	line-height: .92;
	letter-spacing: -.045em;
	max-width: 14ch;
}
.asf-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.asf-w > span { display: inline-block; transition: transform 1.1s var(--asf-ease); transition-delay: calc(var(--w) * 80ms + 120ms); }
.asf.is-js [data-asf-reveal]:not(.is-in) .asf-w > span { transform: translateY(110%); }

.asf-more {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 15px; font-weight: 600;
	padding: 14px 22px;
	border: 1px solid var(--asf-line);
	border-radius: 99px;
	transition: border-color .4s, background .4s, color .4s;
}
.asf-more:hover { background: var(--asf-ink); color: var(--asf-bg); border-color: var(--asf-ink); }
.asf-arrow { flex-shrink: 0; transition: transform .5s var(--asf-ease); }
.asf-arrow--back { transform: scaleX(-1); }
.asf-more:hover .asf-arrow { transform: translateX(4px) rotate(-45deg); }

/* ---------- Filters ---------- */
.asf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.asf-chip {
	font: inherit; font-size: 13px; font-weight: 600;
	color: var(--asf-muted);
	background: transparent;
	border: 1px solid var(--asf-line);
	border-radius: 99px;
	padding: 9px 16px;
	cursor: pointer;
	transition: all .35s var(--asf-ease);
}
.asf-chip:hover { color: var(--asf-ink); border-color: color-mix(in srgb, var(--asf-ink) 35%, transparent); }
.asf-chip.is-on { background: var(--asf-accent); border-color: var(--asf-accent); color: #050506; }
.asf-chip:focus-visible, .asf a:focus-visible, .asf-rail-btn:focus-visible { outline: 2px solid var(--asf-accent); outline-offset: 3px; }
.asf [hidden] { display: none !important; }

/* ---------- Grid + rail track ---------- */
.asf-track {
	display: grid;
	grid-template-columns: repeat(var(--asf-cols, 3), minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 26px);
	perspective: 1400px;
}
@media (max-width: 1024px) { .asf--grid .asf-track { grid-template-columns: repeat(min(var(--asf-cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 640px)  { .asf--grid .asf-track { grid-template-columns: 1fr; } }

.asf--rail .asf-track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: min(82vw, 400px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin-inline: calc(clamp(18px, 4vw, 64px) * -1);
	padding: 10px clamp(18px, 4vw, 64px) 30px;
	scroll-padding-inline: clamp(18px, 4vw, 64px);
	cursor: grab;
}
.asf--rail .asf-track::-webkit-scrollbar { display: none; }
.asf--rail .asf-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.asf--rail .asf-track.is-dragging a { pointer-events: none; }
.asf--rail .asf-card { scroll-snap-align: start; }
.asf-rail-nav { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.asf-rail-btn {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 1px solid var(--asf-line);
	background: transparent;
	color: var(--asf-ink);
	cursor: pointer;
	transition: background .35s, color .35s, border-color .35s;
}
.asf-rail-btn:hover { background: var(--asf-accent); color: #050506; border-color: var(--asf-accent); }
.asf-rail-progress { flex: 1; height: 2px; background: var(--asf-line); border-radius: 2px; overflow: hidden; }
.asf-rail-progress span { display: block; height: 100%; width: 100%; background: var(--asf-accent); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s linear; }

/* ---------- Card ---------- */
.asf-card {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
	position: relative;
	transform-style: preserve-3d;
	transition: transform .7s var(--asf-ease), opacity .9s var(--asf-ease);
}
.asf.is-js .asf-card:not(.is-in), .asf.is-js .asf-row:not(.is-in), .asf.is-js .asf-spot:not(.is-in) .asf-spot__art { opacity: 0; transform: translateY(48px) scale(.97); }
.asf.is-js .asf-card.is-in, .asf.is-js .asf-row.is-in { transition-delay: var(--d, 0ms); }

.asf-card__link {
	position: relative;
	display: flex; flex-direction: column;
	height: 100%;
	border-radius: var(--asf-radius);
	background: linear-gradient(180deg, color-mix(in srgb, hsl(var(--h) 60% 50%) 6%, var(--asf-surface)), var(--asf-surface));
	border: 1px solid var(--asf-line);
	overflow: hidden;
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .6s var(--asf-ease), border-color .5s, box-shadow .6s var(--asf-ease);
	will-change: transform;
}
.asf-card:hover .asf-card__link {
	border-color: color-mix(in srgb, hsl(var(--h) 90% 65%) 45%, transparent);
	box-shadow: 0 40px 80px -30px color-mix(in srgb, hsl(var(--h) 90% 50%) 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--asf-ink) 6%, transparent) inset;
}
.asf-glare {
	position: absolute; inset: 0;
	pointer-events: none;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--asf-ink) 12%, transparent), transparent 45%);
	opacity: 0;
	transition: opacity .5s;
	mix-blend-mode: overlay;
}
.asf-card:hover .asf-glare, .asf-spot__art:hover .asf-glare { opacity: 1; }

.asf-card__art {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #0a0a0c;
}
.asf-card__art::after {
	/* scanlines */
	content: "";
	position: absolute; inset: 0;
	background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
	pointer-events: none;
	mix-blend-mode: multiply;
}
.asf-poster, .asf-img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--asf-ease), filter .8s;
}
.asf-card:hover .asf-poster, .asf-card:hover .asf-img { transform: scale(1.06); }
.asf-img { filter: saturate(.85) contrast(1.05); }
.asf-card:hover .asf-img { filter: saturate(1.1) contrast(1.05); }

.asf-poster__mono {
	font-family: var(--asf-display);
	font-weight: 800;
	font-size: 238px;
	letter-spacing: -.07em;
}
.asf-poster__mono--fill { opacity: 0; transition: opacity .8s var(--asf-ease); }
.asf-card:hover .asf-poster__mono--fill, .asf-spot__art:hover .asf-poster__mono--fill, .asf-peek .asf-poster__mono--fill { opacity: 1; }
.asf-poster__lines { transform-origin: 70% 30%; transition: transform 1.6s var(--asf-ease); }
.asf-card:hover .asf-poster__lines { transform: rotate(-6deg) scale(1.08); }
.asf-poster--p1 .asf-poster__lines, .asf-poster--p2 .asf-poster__lines { transform-origin: 50% 100%; }
.asf-card:hover .asf-poster--p1 .asf-poster__lines { transform: scaleY(1.15); }
.asf-card:hover .asf-poster--p2 .asf-poster__lines { transform: translateX(-24px); }
.asf-planet { fill: hsl(var(--h) 95% 70%); stroke: none; }
.asf-poster--p3 .asf-poster__lines { transform-origin: 290px 110px; animation: asf-orbit 40s linear infinite; }
@keyframes asf-orbit { to { transform: rotate(360deg); } }

.asf-card__idx, .asf-card__cat, .asf-card__sale {
	position: absolute;
	z-index: 2;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.asf-card__idx { top: 16px; left: 18px; color: color-mix(in srgb, var(--asf-ink) 70%, transparent); font-variant-numeric: tabular-nums; }
.asf-card__cat {
	top: 12px; right: 12px;
	padding: 6px 11px;
	border-radius: 99px;
	background: rgba(8, 8, 10, .55);
	border: 1px solid var(--asf-line);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	letter-spacing: .12em;
}
.asf-card__sale { bottom: 14px; right: 14px; padding: 6px 11px; border-radius: 99px; background: var(--asf-accent); color: #050506; }

.asf-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 20px; }
.asf-card__name {
	font-family: var(--asf-display);
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 750;
	line-height: 1.05;
	letter-spacing: -.025em;
}
.asf-card__desc {
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--asf-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.asf-card__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px dashed var(--asf-line);
}
.asf-price { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.asf-price strong { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.asf-price del { color: var(--asf-muted); font-size: 14px; }
.asf-btn {
	position: relative;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px 10px 18px;
	border-radius: 99px;
	font-size: 14px; font-weight: 700;
	background: color-mix(in srgb, var(--asf-ink) 7%, transparent);
	overflow: hidden;
	transition: color .45s var(--asf-ease);
}
.asf-btn::before {
	content: "";
	position: absolute; inset: 0;
	background: var(--asf-accent);
	border-radius: inherit;
	transform: translateX(-101%);
	transition: transform .55s var(--asf-ease);
}
.asf-btn > * { position: relative; }
.asf-card:hover .asf-btn { color: #050506; }
.asf-card:hover .asf-btn::before { transform: translateX(0); }
.asf-card:hover .asf-btn .asf-arrow { transform: translateX(3px); }

/* ---------- List ---------- */
.asf-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--asf-line); }
.asf-row { border-top: 1px solid var(--asf-line); transition: opacity .5s var(--asf-ease), transform .9s var(--asf-ease); }
.asf-row__link {
	position: relative;
	display: grid;
	grid-template-columns: 3.2em minmax(0, 1fr) auto auto 48px;
	align-items: center;
	gap: 18px 28px;
	padding: clamp(18px, 2.4vw, 30px) 6px;
	overflow: hidden;
}
.asf-row__link::before {
	content: "";
	position: absolute; inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, color-mix(in srgb, hsl(var(--h) 90% 55%) 22%, transparent), transparent 70%);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .55s var(--asf-ease);
}
.asf-row__link:hover::before { transform: scaleY(1); }
.asf-row__idx { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--asf-muted); font-variant-numeric: tabular-nums; }
.asf-row__name {
	font-family: var(--asf-display);
	font-size: clamp(28px, 5vw, 72px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	transition: transform .6s var(--asf-ease), color .4s;
}
.asf-row__link:hover .asf-row__name { transform: translateX(14px); color: var(--asf-accent); }
.asf-row__cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--asf-muted); }
.asf-row__go {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 1px solid var(--asf-line);
	transition: background .4s, color .4s, transform .6s var(--asf-ease);
}
.asf-row__link:hover .asf-row__go { background: var(--asf-accent); color: #050506; transform: rotate(-45deg); }
@media (hover: hover) { .asf-list:hover .asf-row:not(:hover) { opacity: .32; } }
@media (max-width: 760px) {
	.asf-row__link { grid-template-columns: 2.4em minmax(0, 1fr) 40px; }
	.asf-row__cat { display: none; }
	.asf-row__price { grid-column: 2; grid-row: 2; }
	.asf-row__go { grid-column: 3; grid-row: 1 / span 2; width: 40px; height: 40px; }
}

.asf-peek {
	position: fixed; left: 0; top: 0;
	z-index: 9999;
	width: clamp(220px, 22vw, 340px);
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(var(--px, 0), var(--py, 0), 0) translate(-50%, -50%) rotate(var(--pr, 0deg)) scale(.8);
	transition: opacity .35s var(--asf-ease), transform .5s var(--asf-ease);
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
}
.asf-peek.is-on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) translate(-50%, -50%) rotate(var(--pr, 0deg)) scale(1); }
.asf-peek svg, .asf-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Spotlight ---------- */
.asf-spot {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 80px);
}
@media (max-width: 860px) { .asf-spot { grid-template-columns: 1fr; } }
.asf-spot__art {
	--rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: calc(var(--asf-radius) + 6px);
	overflow: hidden;
	border: 1px solid var(--asf-line);
	transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .7s var(--asf-ease), opacity 1s var(--asf-ease);
	box-shadow: 0 60px 120px -40px color-mix(in srgb, hsl(var(--h) 90% 50%) 55%, transparent);
}
.asf-spot__name { margin-bottom: 22px; }
.asf-spot__desc { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--asf-muted); max-width: 46ch; }
.asf-spot__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 36px; }
.asf-price--xl strong { font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -.035em; }

.asf-cta {
	position: relative;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 18px 30px;
	border-radius: 99px;
	font-size: 16px; font-weight: 750;
	color: #050506;
	background: var(--asf-accent);
	overflow: hidden;
	transition: transform .5s var(--asf-ease), box-shadow .5s;
	box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--asf-accent) 80%, transparent);
}
.asf-cta__fill { position: absolute; inset: 0; background: var(--asf-ink); transform: translateY(101%); transition: transform .55s var(--asf-ease); border-radius: inherit; }
.asf-cta > :not(.asf-cta__fill) { position: relative; }
.asf-cta:hover { transform: translateY(-2px); }
.asf-cta:hover .asf-cta__fill { transform: translateY(0); }
.asf-cta:hover .asf-arrow { transform: translateX(4px); }

.asf-empty { padding: 16px 20px; border: 1px dashed #c33; color: #c33; font: 14px/1.5 system-ui, sans-serif; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.asf *, .asf::before { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
	.asf.is-js [data-asf-reveal]:not(.is-in) .asf-w > span,
	.asf.is-js .asf-card:not(.is-in), .asf.is-js .asf-row:not(.is-in), .asf.is-js .asf-spot:not(.is-in) .asf-spot__art { opacity: 1; transform: none; }
	.asf-card__link, .asf-spot__art { transform: none !important; }
	.asf-peek { display: none; }
}
