/**
 * STX Bullseye — friendly light catalog (“expert guidance, simple browsing”).
 * Classes: stx-retail-* (used on catalog + homepage product grids).
 */

/* Catalog page: full light shell */
body.stx-catalog-page {
	background: #f5f7fc;
	background-image: linear-gradient(145deg, #f8fafd 0%, #edf2f9 100%);
}

body.stx-catalog-page .site-shell {
	background: transparent;
}

body.stx-catalog-page footer {
	background: #eef2f8;
	border-top-color: #dce5ef;
}

body.stx-catalog-page footer .text-slate-300,
body.stx-catalog-page footer .text-slate-200,
body.stx-catalog-page footer .text-slate-400 {
	color: #475569;
}

body.stx-catalog-page footer h2.text-sky-300 {
	color: #1e4a76;
}

.stx-retail-catalog {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.5rem 1.8rem 3rem;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: #1a2c3e;
}

.stx-retail-catalog * {
	box-sizing: border-box;
}

.stx-retail-top-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #e2e8f0;
}

.stx-retail-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
}

.stx-retail-brand-icon {
	background: #1e2a3e;
	border-radius: 18px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.stx-retail-brand-icon svg {
	width: 30px;
	height: 30px;
	color: #f0b429;
}

.stx-retail-brand-text h1 {
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: -0.4px;
	margin: 0;
	background: linear-gradient(135deg, #1e2f41, #2c4c6c);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.stx-retail-brand-text p {
	font-size: 0.7rem;
	font-weight: 500;
	color: #4b6f8e;
	letter-spacing: 0.3px;
	margin: 0.2rem 0 0;
	text-transform: none;
}

.stx-retail-top-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
}

.stx-retail-helper-pill {
	background: #eef2ff;
	padding: 0.4rem 1rem;
	border-radius: 40px;
	font-size: 0.8rem;
	font-weight: 500;
	color: #1e4a76;
	max-width: min(100%, 20rem);
	line-height: 1.35;
}

.stx-retail-results-count {
	font-size: 0.8rem;
	background: #e9f0f9;
	padding: 0.4rem 1rem;
	border-radius: 32px;
	font-weight: 600;
	color: #2c5a7a;
}

.stx-retail-hero {
	margin-bottom: 1.5rem;
}

.stx-retail-hero-badge {
	display: inline-flex;
	border-radius: 999px;
	background: #fff7ed;
	padding: 0.35rem 0.85rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a3412;
	border: 1px solid #fed7aa;
}

.stx-retail-hero h2 {
	margin: 0.75rem 0 0;
	font-size: clamp(1.65rem, 4vw, 2.25rem);
	font-weight: 800;
	color: #1e2f3e;
	line-height: 1.15;
}

.stx-retail-hero p {
	margin: 0.75rem 0 0;
	max-width: 42rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #475569;
}

.stx-retail-hero .stx-retail-hero-sub {
	font-size: 0.85rem;
	color: #64748b;
}

.stx-retail-compliance {
	margin-top: 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: 1rem;
	border: 1px solid #e2edf7;
	background: #ffffffee;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stx-retail-compliance h3 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1e3a5f;
}

.stx-retail-compliance ul {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.8rem;
	line-height: 1.55;
	color: #334155;
}

/* Category rail */
.stx-retail-category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.8rem 0 1.5rem;
	background: #ffffffcc;
	backdrop-filter: blur(2px);
	padding: 0.6rem 0.2rem;
	border-radius: 60px;
	border: 1px solid #e2edf7;
}

.stx-retail-cat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	padding: 0.6rem 1.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 40px;
	color: #2c3e50;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	text-decoration: none;
}

a.stx-retail-cat-btn:hover {
	background: #e9f0f9;
	color: #c2410c;
}

.stx-retail-cat-btn.is-active {
	background: #c2410c;
	color: #fff;
	box-shadow: 0 6px 14px rgba(194, 65, 12, 0.25);
}

/* Controls */
.stx-retail-controls,
form.stx-retail-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border-radius: 56px;
	padding: 0.4rem 0.8rem 0.4rem 1.4rem;
	margin-bottom: 2rem;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
	border: 1px solid #e2edf7;
	width: 100%;
}

.stx-retail-search-box {
	flex: 3;
	min-width: 220px;
	display: flex;
	align-items: center;
	background: #f8fafc;
	border-radius: 48px;
	padding: 0.3rem 1rem;
	border: 1px solid #dce5ef;
}

.stx-retail-search-box svg {
	width: 18px;
	height: 18px;
	color: #6c86a3;
	margin-right: 8px;
	flex-shrink: 0;
}

.stx-retail-search-box input[type='search'],
.stx-retail-search-box input[type='text'] {
	background: transparent;
	border: none;
	padding: 0.7rem 0;
	width: 100%;
	color: #1f3a4b;
	font-size: 0.95rem;
	font-weight: 500;
	outline: none;
	font-family: inherit;
}

.stx-retail-search-box input::placeholder {
	color: #8ea3bb;
	font-weight: 400;
}

.stx-retail-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	align-items: center;
}

.stx-retail-filter-select {
	background: #f8fafc;
	border: 1px solid #d4e0ec;
	border-radius: 40px;
	padding: 0.55rem 1.2rem;
	color: #1f3a4b;
	font-size: 0.8rem;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	max-width: 100%;
}

.stx-retail-controls-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.stx-retail-btn-primary {
	background: #c2410c;
	color: #fff;
	border: none;
	border-radius: 40px;
	padding: 0.55rem 1.25rem;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.stx-retail-btn-primary:hover {
	filter: brightness(1.06);
}

.stx-retail-btn-ghost {
	background: #eef2f8;
	border: 1px solid #d4e0ec;
	color: #1f3a4b;
	border-radius: 40px;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.stx-retail-btn-ghost:hover {
	border-color: #c2410c;
	color: #c2410c;
}

.stx-retail-section-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #1e2f3e;
	margin: 0 0 1rem;
}

.stx-retail-featured {
	margin-top: 2.5rem;
	margin-bottom: 0.5rem;
}

/* Product grid */
.stx-retail-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.8rem;
	margin-top: 0.5rem;
}

.stx-retail-product-card {
	background: #fff;
	border-radius: 28px;
	transition: all 0.25s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid #e4edf5;
	box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.08);
}

.stx-retail-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 32px -14px rgba(0, 0, 0, 0.2);
	border-color: rgba(240, 180, 41, 0.5);
}

.stx-retail-card-img {
	height: 200px;
	background: #f2f6fb;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #eef2f8;
	position: relative;
	overflow: hidden;
	color: #b87333;
}

.stx-retail-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stx-retail-card-img svg {
	width: 100px;
	height: 100px;
	opacity: 0.95;
}

.stx-retail-product-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0.8rem;
	border-radius: 30px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.stx-retail-product-badge.is-in-stock {
	background: #2c7a4d;
	color: #fff;
}

.stx-retail-product-badge.is-limited {
	background: #b45309;
	color: #fff;
}

.stx-retail-product-badge.is-featured {
	background: #c2410c;
	color: #fff;
}

.stx-retail-card-content {
	padding: 1.2rem 1.2rem 1.4rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.stx-retail-product-title {
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0 0 0.2rem;
	color: #1e2f3e;
	line-height: 1.25;
}

.stx-retail-product-title a {
	color: inherit;
	text-decoration: none;
}

.stx-retail-product-title a:hover {
	color: #c2410c;
}

.stx-retail-product-meta {
	font-size: 0.7rem;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #c2410c;
	margin-bottom: 0.6rem;
}

.stx-retail-product-desc {
	font-size: 0.85rem;
	color: #475569;
	margin-bottom: 1rem;
	line-height: 1.45;
	flex-grow: 1;
}

.stx-retail-price-stock {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 0.5rem;
	border-top: 1px solid #eef2f0;
	padding-top: 0.8rem;
}

.stx-retail-price {
	font-weight: 800;
	font-size: 1.4rem;
	color: #c2410c;
}

.stx-retail-stock {
	font-size: 0.7rem;
	background: #eef3fa;
	padding: 0.2rem 0.7rem;
	border-radius: 20px;
	font-weight: 600;
	color: #2c5a6e;
}

.stx-retail-inquiry-btn {
	margin-top: 0.9rem;
	background: #fef9e6;
	border: 1px solid #f0b429;
	border-radius: 36px;
	padding: 0.55rem;
	font-weight: 700;
	font-size: 0.8rem;
	color: #b45309;
	cursor: pointer;
	transition: 0.2s;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.stx-retail-inquiry-btn:hover {
	background: #f0b429;
	color: #1e2f3e;
	border-color: #e09d1e;
}

.stx-retail-empty-state {
	text-align: center;
	padding: 3rem;
	background: #ffffffdd;
	border-radius: 2rem;
	margin-top: 2rem;
	grid-column: 1 / -1;
	border: 1px solid #e2edf7;
}

.stx-retail-empty-state h3 {
	margin: 1rem 0 0.5rem;
	color: #1e2f3e;
	font-size: 1.15rem;
}

.stx-retail-empty-state p {
	color: #5a6e84;
	margin: 0;
}

.stx-retail-catalog-footer {
	margin-top: 3.5rem;
	text-align: center;
	font-size: 0.75rem;
	color: #5a6e84;
	border-top: 1px solid #dce5ef;
	padding-top: 2rem;
	line-height: 1.6;
}

.stx-retail-pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.stx-retail-pagination ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.stx-retail-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.4rem 0.65rem;
	border-radius: 0.5rem;
	background: #fff;
	color: #2c5a7a;
	text-decoration: none;
	font-size: 0.875rem;
	border: 1px solid #d4e0ec;
}

.stx-retail-pagination .page-numbers.current {
	background: #e9f0f9;
	border-color: #c2410c;
	color: #c2410c;
	font-weight: 700;
}

.stx-retail-pagination .page-numbers:hover:not(.current) {
	border-color: #f0b429;
	color: #1e2f3e;
}

@media (max-width: 700px) {
	.stx-retail-catalog {
		padding: 1rem;
	}

	.stx-retail-cat-btn {
		padding: 0.4rem 1rem;
		font-size: 0.8rem;
	}

	.stx-retail-controls {
		flex-direction: column;
		align-items: stretch;
		border-radius: 24px;
	}

	.stx-retail-filter-group {
		width: 100%;
	}

	.stx-retail-filter-select {
		flex: 1;
	}
}

/* Catalog page: enthusiast-friendly accents (see page-catalog.php) */
.stx-enthusiast-catalog .stx-retail-helper-pill {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.05));
	border-left: 3px solid #f59e0b;
	padding: 0.6rem 1rem;
	border-radius: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	max-width: min(100%, 36rem);
}

.stx-enthusiast-catalog .helper-icon {
	font-size: 1.1rem;
	flex-shrink: 0;
}

.stx-enthusiast-catalog .stx-retail-results-count {
	background: #1e293b;
	padding: 0.4rem 1rem;
	border-radius: 40px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #e2e8f0;
}

.stx-enthusiast-catalog .count-icon {
	flex-shrink: 0;
}

.stx-enthusiast-catalog .hero-badge-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.stx-enthusiast-catalog .stx-retail-hero-badge.secondary {
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.3);
	color: #0369a1;
}

.stx-enthusiast-catalog .friendly-compliance {
	background: linear-gradient(135deg, #0f172a, #0a0f1a);
	border: 1px solid rgba(245, 158, 11, 0.2);
	border-radius: 20px;
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	box-shadow: none;
}

.stx-enthusiast-catalog .friendly-compliance h3 {
	margin-top: 0;
}

.stx-enthusiast-catalog .compliance-icon {
	font-size: 2rem;
	line-height: 1;
	flex-shrink: 0;
}

.stx-enthusiast-catalog .compliance-content h3 {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #facc15;
}

.stx-enthusiast-catalog .compliance-content ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stx-enthusiast-catalog .compliance-content li {
	font-size: 0.75rem;
	color: #94a3b8;
}

.stx-enthusiast-catalog .grid-intro {
	margin-bottom: 1rem;
	grid-column: 1 / -1;
}

.stx-enthusiast-catalog .grid-help-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.7rem;
	color: #64748b;
	background: rgba(100, 116, 139, 0.1);
	padding: 0.3rem 0.8rem;
	border-radius: 40px;
	width: fit-content;
	margin: 0;
}

.stx-enthusiast-catalog .stx-retail-empty-state.friendly-empty {
	text-align: center;
	padding: 3rem 2rem;
	background: rgba(15, 23, 42, 0.6);
	border-radius: 24px;
	border: 1px dashed rgba(245, 158, 11, 0.3);
	grid-column: 1 / -1;
}

.stx-enthusiast-catalog .empty-emoji {
	font-size: 3rem;
	display: block;
	margin-bottom: 1rem;
}

.stx-enthusiast-catalog .empty-actions {
	margin-top: 1.5rem;
}

.stx-enthusiast-catalog .empty-contact-btn {
	display: inline-block;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: white;
	padding: 0.6rem 1.5rem;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	transition: transform 0.2s;
}

.stx-enthusiast-catalog .empty-contact-btn:hover {
	transform: scale(1.02);
}

.stx-enthusiast-catalog .enthusiast-pagination ul {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stx-enthusiast-catalog .enthusiast-pagination li {
	list-style: none;
}

.stx-enthusiast-catalog .enthusiast-pagination a,
.stx-enthusiast-catalog .enthusiast-pagination span {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: #1e293b;
	border-radius: 40px;
	color: #cbd5e1;
	text-decoration: none;
	transition: all 0.2s;
	border: none;
}

.stx-enthusiast-catalog .enthusiast-pagination a:hover {
	background: #f59e0b;
	color: #0f172a;
}

.stx-enthusiast-catalog .enthusiast-pagination .page-numbers.current,
.stx-enthusiast-catalog .enthusiast-pagination span.current {
	background: #f59e0b;
	color: #0f172a;
	font-weight: 700;
}

.stx-enthusiast-catalog .enthusiast-footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(71, 85, 105, 0.5);
	text-align: left;
}

.stx-enthusiast-catalog .footer-callout {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
	border-radius: 20px;
	padding: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.stx-enthusiast-catalog .footer-icon {
	font-size: 2rem;
	flex-shrink: 0;
}

.stx-enthusiast-catalog .footer-text {
	flex: 1;
	min-width: 12rem;
}

.stx-enthusiast-catalog .footer-primary {
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.25rem;
}

.stx-enthusiast-catalog .footer-secondary {
	font-size: 0.8rem;
	color: #64748b;
	margin: 0;
}

.stx-enthusiast-catalog .footer-action-btn {
	background: #f59e0b;
	color: #0f172a;
	padding: 0.6rem 1.2rem;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.2s;
	white-space: nowrap;
}

.stx-enthusiast-catalog .footer-action-btn:hover {
	background: #fbbf24;
	transform: translateX(3px);
}

.stx-enthusiast-catalog .footer-legal {
	text-align: center;
	font-size: 0.7rem;
	color: #5a6e84;
}

.stx-enthusiast-catalog .footer-legal p {
	margin: 0;
}

@media (max-width: 768px) {
	.stx-enthusiast-catalog .compliance-content ul {
		flex-direction: column;
		gap: 0.5rem;
	}

	.stx-enthusiast-catalog .footer-callout {
		flex-direction: column;
		text-align: center;
	}

	.stx-enthusiast-catalog .hero-badge-group {
		flex-direction: column;
		align-items: flex-start;
	}
}
