/* ── NFS Shop Banners — shop.css ── */

/* ─── Variables (mirrors homepage) ─────────────────────────────────── */
:root {
	--nfs-blue:     #1d4ed8;
	--nfs-blue-600: #1e40af;
	--nfs-line:     #e5e7eb;
	--nfs-dark:     #0a2540;
}

/* ═══════════════════════════════════════════════════════════════════
   SHOP HERO BANNER
   ═══════════════════════════════════════════════════════════════════ */
.nfs-shop-hero-wrap {
	width: 100%;
	margin-bottom: 28px;
}

.nfs-shop-hero {
	position: relative;
	height: 270px;
	border-radius: 14px;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}

.nfs-shop-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #071126;
}

.nfs-shop-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7,17,38,0.92) 0%, rgba(7,17,38,0.78) 45%, rgba(120,40,8,0.4) 100%);
}

.nfs-shop-hero.style-dark .nfs-shop-hero-bg::after {
	background: linear-gradient(90deg, rgba(7,17,38,0.96) 0%, rgba(7,17,38,0.88) 55%, rgba(7,17,38,0.5) 100%);
}

.nfs-shop-hero-content {
	position: relative;
	z-index: 1;
	padding: 28px 36px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 62%;
	height: 100%;
}

.nfs-shop-hero-pill {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(255,255,255,0.15);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
}

.nfs-shop-hero-title {
	margin: 4px 0 0;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: #fff;
}

.nfs-shop-hero-text {
	margin: 0;
	font-size: 14px;
	color: rgba(255,255,255,0.88);
}

.nfs-shop-hero-feats {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 2px;
}

.nfs-shop-hero-feat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255,255,255,0.95);
}

.nfs-shop-hero-feat svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #16a34a;
}

.nfs-shop-hero-cta {
	background: var(--nfs-blue);
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: 6px;
	text-decoration: none;
	transition: background 0.15s;
}

.nfs-shop-hero-cta:hover {
	background: var(--nfs-blue-600);
	color: #fff;
}

.nfs-shop-hero-cta svg {
	width: 12px;
	height: 12px;
}

/* Slider controls */
.nfs-shop-hero-dots {
	position: absolute;
	right: 36px;
	bottom: 18px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.nfs-shop-hero-dots span {
	width: 24px;
	height: 3px;
	background: rgba(255,255,255,0.3);
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.15s;
}

.nfs-shop-hero-dots span.active {
	background: #fff;
}

.nfs-shop-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255,255,255,0.85);
	border: none;
	display: grid;
	place-items: center;
	z-index: 3;
	cursor: pointer;
	opacity: 0;
	transition: background 0.15s, opacity 0.2s;
}

.nfs-shop-hero:hover .nfs-shop-hero-arrow {
	opacity: 1;
}

.nfs-shop-hero-arrow:hover {
	background: #fff;
}

.nfs-shop-hero-arrow.left  { left: 16px; }
.nfs-shop-hero-arrow.right { right: 16px; }

.nfs-shop-hero-arrow svg {
	width: 16px;
	height: 16px;
	color: #111827;
}

/* Slide hidden/active */
.nfs-shop-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.nfs-shop-hero-slide.active {
	opacity: 1;
	pointer-events: auto;
}


/* ═══════════════════════════════════════════════════════════════════
   CATEGORY PILLS ROW
   ═══════════════════════════════════════════════════════════════════ */
.nfs-cat-row-wrap {
	width: 100%;
	margin-bottom: 24px;
}

.nfs-cat-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.nfs-cat-row-scroll {
	display: flex;
	gap: 8px;
	flex: 1;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	scroll-behavior: smooth;
}

.nfs-cat-row-scroll::-webkit-scrollbar {
	display: none;
}

.nfs-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--nfs-line);
	border-radius: 8px;
	background: #fff;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--nfs-dark);
	white-space: nowrap;
	flex-shrink: 0;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s;
}

.nfs-cat-pill:hover {
	border-color: var(--nfs-blue);
	color: var(--nfs-blue);
}

.nfs-cat-row-arrow {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--nfs-line);
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #4b5563;
	flex-shrink: 0;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s;
}

.nfs-cat-row-arrow:hover {
	border-color: var(--nfs-blue);
	color: var(--nfs-blue);
}

.nfs-cat-row-arrow svg {
	width: 14px;
	height: 14px;
}

.nfs-cat-row-arrow.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════════
   PROMO PAIR
   ═══════════════════════════════════════════════════════════════════ */
.nfs-shop-promo-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 60px;
}

.nfs-shop-promo-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	min-height: 160px;
	padding: 28px 32px;
	color: #fff;
	isolation: isolate;
	background-size: cover;
	background-position: center;
}

/* Colour variants — pseudo-element carries the BG image + overlay */
.nfs-shop-promo-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-size: cover;
	background-position: center;
}

.nfs-shop-promo-card.color-blue::before {
	background-image: linear-gradient(95deg, rgba(7,17,38,0.92) 0%, rgba(7,17,38,0.55) 70%, rgba(40,80,160,0.2) 100%);
	background-color: #071126;
}

.nfs-shop-promo-card.color-amber::before {
	background-image: linear-gradient(95deg, rgba(120,55,12,0.92) 0%, rgba(160,80,20,0.6) 60%, rgba(200,120,50,0.2) 100%);
	background-color: #78370c;
}

.nfs-shop-promo-card.color-green::before {
	background-image: linear-gradient(95deg, rgba(6,78,59,0.92) 0%, rgba(6,95,70,0.6) 60%, rgba(20,150,100,0.2) 100%);
	background-color: #064e3b;
}

.nfs-shop-promo-card.color-dark::before {
	background-image: linear-gradient(95deg, rgba(7,17,38,0.95) 0%, rgba(15,30,60,0.85) 60%, rgba(30,50,90,0.4) 100%);
	background-color: #071126;
}

/* When a custom image is provided via inline style background-image on the card itself */
.nfs-shop-promo-card[style*="background-image"]::before {
	background-color: transparent;
}

/* Clickable-image mode — whole card is an image link, no overlay / no text */
.nfs-shop-promo-card--image {
	padding: 0;
	display: block;
}
.nfs-shop-promo-card--image::before { display: none; }
.nfs-shop-promo-card--image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nfs-shop-promo-card h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
}

.nfs-shop-promo-card p {
	margin: 6px 0 16px;
	font-size: 13px;
	opacity: 0.9;
	max-width: 280px;
}

.nfs-shop-promo-card a.nfs-promo-link {
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	opacity: 0.9;
	transition: opacity 0.15s;
}

.nfs-shop-promo-card a.nfs-promo-link:hover {
	opacity: 1;
}

.nfs-shop-promo-card a.nfs-promo-link svg {
	width: 14px;
	height: 14px;
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
	.nfs-shop-hero {
		height: 200px;
	}

	.nfs-shop-hero-content {
		max-width: 75%;
		padding: 20px 24px;
	}

	.nfs-shop-hero-title {
		font-size: 26px;
	}

	.nfs-shop-promo-pair {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.nfs-shop-promo-card {
		padding: 20px 22px;
		min-height: 140px;
	}

	.nfs-shop-promo-card h3 {
		font-size: 18px;
	}
}

@media (max-width: 640px) {
	.nfs-shop-hero {
		height: auto;
		min-height: 200px;
		border-radius: 10px;
	}

	.nfs-shop-hero-content {
		max-width: 100%;
		padding: 20px 20px 40px;
	}

	.nfs-shop-hero-pill {
		display: none;
	}

	.nfs-shop-hero-title {
		font-size: 20px;
	}

	.nfs-shop-hero-arrow {
		display: none;
	}

	.nfs-shop-hero-dots {
		right: 50%;
		transform: translateX(50%);
	}

	.nfs-shop-promo-pair {
		grid-template-columns: 1fr;
	}

	.nfs-cat-row-arrow {
		display: none;
	}

	.nfs-cat-row {
		display: flex;
		gap: 8px;
		align-items: center;
		margin-top: 10px;
	}
}

/* Admin edit button support (mirrors homepage.css inline) */
.nfs-shop-hero-wrap,
.nfs-cat-row-wrap,
.nfs-shop-promo-pair {
	position: relative;
}
