.sfcf {
	--sfcf-gold: #c8a96a;
	--sfcf-card: #151614;
	--sfcf-line: rgba(255, 255, 255, 0.1);
	--sfcf-muted: rgba(255, 255, 255, 0.65);
	margin: 0 auto;
	max-width: 1200px;
}

/* Category tabs */
.sfcf-tabs {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 0;
	margin-bottom: 24px;
	background: rgb(10, 11, 10);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.sfcf-tabs::-webkit-scrollbar { display: none; }
.sfcf-tab {
	flex: 0 0 auto;
	padding: 9px 16px;
	border: 1px solid var(--sfcf-line);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color .2s, color .2s, background .2s;
}
.sfcf-tab:hover { border-color: var(--sfcf-gold); color: var(--sfcf-gold); }
.sfcf-tab.is-active { background: var(--sfcf-gold); border-color: var(--sfcf-gold); color: #0a0b0a; }
.sfcf-tab:focus-visible, .sfcf-order:focus-visible { outline: 2px solid var(--sfcf-gold); outline-offset: 2px; }

/* Categories */
.sfcf-cat { margin-bottom: 48px; }
.sfcf-cat[hidden] { display: none; }
.sfcf .sfcf-cat-title {
	margin: 0 0 20px;
	font-size: 26px;
	line-height: 1.2;
	color: var(--sfcf-gold);
}

/* Grid */
.sfcf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.sfcf-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sfcf-line);
	border-radius: 10px;
	background: var(--sfcf-card);
	transition: border-color .2s, transform .2s;
}
.sfcf-card:hover { border-color: rgba(200, 169, 106, 0.5); transform: translateY(-2px); }
.sfcf-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1d1e1c; }
.sfcf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sfcf-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.sfcf .sfcf-name {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	color: #fff;
}
.sfcf .sfcf-desc {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--sfcf-muted);
}
.sfcf-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}
.sfcf-price { font-size: 16px; font-weight: 500; color: var(--sfcf-gold); white-space: nowrap; }
.sfcf a.sfcf-order {
	padding: 9px 18px;
	border: 1px solid var(--sfcf-gold);
	border-radius: 999px;
	color: var(--sfcf-gold);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background .2s, color .2s;
}
.sfcf a.sfcf-order:hover { background: var(--sfcf-gold); color: #0a0b0a; }

.sfcf-empty { text-align: center; }

@media (max-width: 600px) {
	.sfcf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.sfcf-body { padding: 12px; }
	.sfcf .sfcf-name { font-size: 14px; }
	.sfcf .sfcf-desc { -webkit-line-clamp: 2; font-size: 12px; }
	.sfcf-foot { flex-direction: column; align-items: stretch; gap: 8px; }
	.sfcf-price { font-size: 14px; }
	.sfcf a.sfcf-order { text-align: center; padding: 8px 10px; }
	.sfcf .sfcf-cat-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.sfcf-card, .sfcf-tab, .sfcf a.sfcf-order { transition: none; }
	.sfcf-card:hover { transform: none; }
}
