/*
Theme Name: SoulFood Directory
Theme URI: https://soulfoodvibe.com
Author: Foodies
Author URI: https://soulfoodvibe.com
Description: Standalone national restaurant directory theme (merged from custom SFV plugins). Registers directory CPTs, shortcodes, WooCommerce listing tiers, and PWA support.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soulfood-directory
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Tags: one-column, custom-menu, custom-logo, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, rtl-language-support, e-commerce

SoulFood Directory WordPress Theme, (C) 2026 Foodies
*/

/* -----------------------------------------------------------------------------
   CSS variables & base
----------------------------------------------------------------------------- */
:root {
	--sfv-primary: #0f766e;
	--sfv-primary-dark: #115e59;
	--sfv-text: #1f2937;
	--sfv-muted: #6b7280;
	--sfv-header-bg: #1f2937;
	--sfv-header-link: #e5e7eb;
	--sfv-surface: #f3f4f6;
	--sfv-border: #e5e7eb;
	--sfv-radius: 12px;
	--sfv-radius-sm: 8px;
	--sfv-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	/* Numbered pagination (blog, search, WooCommerce catalog) */
	--sfvd-pagination-gap: 0.5rem;
	--sfvd-pagination-min: 2.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.soulfood-directory {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--sfv-text);
	line-height: 1.5;
	background: #fff;
}

a {
	color: var(--sfv-primary);
}

a:focus-visible {
	outline: 2px solid var(--sfv-primary);
	outline-offset: 2px;
}

.sfvd-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

/* -----------------------------------------------------------------------------
   Accessibility: screen reader text (WordPress pattern)
----------------------------------------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
}

/* -----------------------------------------------------------------------------
   Site header & navigation
----------------------------------------------------------------------------- */
.sfvd-site-header {
	background: var(--sfv-header-bg);
	color: #fff;
	padding: 0.75rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: box-shadow 0.2s ease, background 0.2s ease;
}

.sfvd-site-header.is-scrolled {
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}

.sfvd-site-header--home {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.92) 100%);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sfvd-site-header .sfvd-container,
.sfvd-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 1rem;
	position: relative;
}

.sfvd-primary-nav-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	gap: 1rem;
	min-width: 0;
}

.sfvd-primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.sfvd-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	flex-shrink: 0;
}

.sfvd-header-actions__shortcuts,
.sfvd-header-actions__account {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sfvd-header-actions__account {
	margin-inline-start: 0.25rem;
	padding-inline-start: 0.75rem;
	border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

/* Logged-in: only Dashboard + Log out (no visitor shortcuts). */
.sfvd-header-actions--account-only .sfvd-header-actions__account {
	margin-inline-start: 0;
	padding-inline-start: 0;
	border-inline-start: none;
}

.sfvd-header-actions__link {
	color: var(--sfv-header-link);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.35rem 0.65rem;
	border-radius: var(--sfv-radius-sm);
}

.sfvd-header-actions__link:hover,
.sfvd-header-actions__link:focus {
	color: #fff;
	text-decoration: underline;
}

.sfvd-header-actions__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 1rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	background: var(--sfv-primary);
	color: #fff;
	border: 1px solid transparent;
	transition: background 0.2s ease, transform 0.15s ease;
}

.sfvd-header-actions__cta:hover,
.sfvd-header-actions__cta:focus {
	background: var(--sfv-primary-dark);
	color: #fff;
}

.sfvd-header-actions__cta--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.sfvd-header-actions__cta--outline:hover,
.sfvd-header-actions__cta--outline:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
}

.sfvd-header-actions__link--current {
	color: #fff;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfvd-header-actions__link--logout {
	opacity: 0.92;
}

.sfvd-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--sfv-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	cursor: pointer;
}

.sfvd-nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: #fff;
	border-radius: 1px;
}

.sfvd-nav-toggle:focus-visible {
	outline: 2px solid var(--sfv-primary);
	outline-offset: 2px;
}

body.sfvd-nav-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.sfvd-nav-toggle {
		display: flex;
	}

	.sfvd-primary-nav-wrap {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + 0.5rem);
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 1.25rem 1.25rem;
		background: var(--sfv-header-bg);
		border-radius: var(--sfv-radius);
		border: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
		z-index: 999;
	}

	.sfvd-primary-nav-wrap.is-open {
		display: flex;
	}

	.sfvd-primary-nav {
		justify-content: flex-start;
		width: 100%;
	}

	.sfvd-nav {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		gap: 0.25rem;
	}

	.sfvd-nav a {
		display: block;
		padding: 0.5rem 0;
		width: 100%;
	}

	.sfvd-header-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		padding-top: 0.75rem;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		gap: 0.75rem;
	}

	.sfvd-header-actions__shortcuts,
	.sfvd-header-actions__account {
		justify-content: center;
		width: 100%;
		margin-inline-start: 0;
		padding-inline-start: 0;
		border-inline-start: none;
	}

	.sfvd-header-actions__account {
		padding-top: 0.75rem;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.sfvd-header-actions__cta,
	.sfvd-header-actions__link {
		text-align: center;
		justify-content: center;
	}
}

.sfvd-site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.sfvd-site-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: capitalize;
}

.sfvd-site-title a {
	color: #fff;
	text-decoration: none;
}

.sfvd-site-title a:hover,
.sfvd-site-title a:focus {
	text-decoration: underline;
}

.sfvd-site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.sfvd-site-branding .custom-logo,
.sfvd-custom-logo img {
	display: block;
	height: auto;
	max-height: 48px;
	width: auto;
}

.sfvd-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.sfvd-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfvd-nav a {
	color: var(--sfv-header-link);
	text-decoration: none;
	font-weight: 500;
}

.sfvd-nav a:hover,
.sfvd-nav a:focus {
	text-decoration: underline;
}

.sfvd-nav--fallback .sfvd-nav__link {
	color: var(--sfv-header-link);
}

/* -----------------------------------------------------------------------------
   Main & archives
----------------------------------------------------------------------------- */
.site-main {
	min-height: 40vh;
	padding: 1.5rem 0 3rem;
	background: var(--sfv-surface);
}

/* Single detail templates (places, events): let page background show; inner grids supply cards */
body.soulfood-directory:not(.sfvd-is-front) .site-main > article.sfvd-single-place,
body.soulfood-directory:not(.sfvd-is-front) .site-main > article.sfvd-single-event,
body.soulfood-directory:not(.sfvd-is-front) .site-main > article.sfvd-single-coupon {
	background: transparent;
}

.sfvd-page-sheet {
	background: #fff;
	border-radius: var(--sfv-radius);
	border: 1px solid var(--sfv-border);
	padding: 2rem 1.5rem 2.5rem;
	margin-top: 1rem;
	margin-bottom: 2rem;
	box-shadow: var(--sfv-shadow);
}

.sfvd-page-sheet article {
	max-width: 75ch;
	margin: 0 auto;
}

/* Dashboard shortcode: full-width layout (not article reading width). */
.sfvd-page-sheet .sfvd-dashboard-article {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.sfvd-dashboard .sfvd-page-sheet {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 1rem 1.25rem 2.5rem;
	margin-top: 0.5rem;
}

/* Wider canvas for dashboard tables and analytics (matches Woo inner max). */
body.sfvd-dashboard .sfvd-container {
	max-width: 1320px;
}

.sfvd-page-sheet .entry-title,
.sfvd-page-sheet h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 800;
	color: var(--sfv-text);
	line-height: 1.2;
}

/* Coupons / deals shortcode: full theme width (not reading-column 75ch). */
.sfvd-page-sheet--coupons article.sfvd-article--coupons {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.sfvd-page-sheet .entry-content {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.sfvd-page-sheet .entry-content > *:first-child {
	margin-top: 0;
}

.sfvd-page-sheet article + article {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--sfv-border);
}

.sfvd-404 {
	text-align: center;
	padding: 3rem 1.5rem 4rem;
}

.sfvd-404 h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.sfvd-404 p {
	color: var(--sfv-muted);
	margin: 0 0 1.5rem;
}

.sfvd-404 .sfvd-btn-home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	background: var(--sfv-primary);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: var(--sfv-radius-sm);
	box-shadow: var(--sfv-shadow);
	transition: filter 0.15s ease, transform 0.15s ease;
}

.sfvd-404 .sfvd-btn-home:hover,
.sfvd-404 .sfvd-btn-home:focus {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.sfvd-archive .page-header {
	margin-bottom: 2rem;
	padding-top: 0.25rem;
}

.sfvd-archive .page-title,
.sfvd-archive-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	color: var(--sfv-text);
	line-height: 1.2;
}

.archive-description {
	color: var(--sfv-muted);
}

.sfvd-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfvd-post-list__item {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--sfv-border);
}

.sfvd-post-list__item h2 {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.sfvd-post-list__item h2 a {
	text-decoration: none;
	color: var(--sfv-text);
}

.sfvd-post-list__item h2 a:hover,
.sfvd-post-list__item h2 a:focus {
	color: var(--sfv-primary);
}

.sfvd-post-list__item .excerpt,
.sfvd-post-list__item p {
	margin: 0;
	color: var(--sfv-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.sfvd-post-list__item:last-child {
	border-bottom: none;
}

/* -----------------------------------------------------------------------------
   Pagination — numbered links (blog, archives, search, comments).
   WooCommerce shop/taxonomies: assets/css/woocommerce.css (loads after woocommerce-general).
----------------------------------------------------------------------------- */
.navigation.pagination,
.navigation.comments-pagination,
.posts-navigation,
.post-navigation {
	margin: 2rem 0;
}

.navigation.pagination .nav-links,
.navigation.comments-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sfvd-pagination-gap);
	align-items: center;
	justify-content: center;
}

.navigation.pagination .nav-links .page-numbers,
.navigation.comments-pagination .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--sfvd-pagination-min);
	min-height: var(--sfvd-pagination-min);
	padding: 0.35rem 0.55rem;
	border-radius: var(--sfv-radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	box-sizing: border-box;
}

.navigation.pagination .nav-links a.page-numbers,
.navigation.comments-pagination .nav-links a.page-numbers {
	background: #fff;
	border: 1px solid var(--sfv-border);
	color: var(--sfv-text);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.navigation.pagination .nav-links a.page-numbers:hover,
.navigation.pagination .nav-links a.page-numbers:focus-visible,
.navigation.comments-pagination .nav-links a.page-numbers:hover,
.navigation.comments-pagination .nav-links a.page-numbers:focus-visible {
	border-color: var(--sfv-primary);
	color: var(--sfv-primary);
	outline: none;
}

.navigation.pagination .nav-links span.page-numbers.current,
.navigation.comments-pagination .nav-links span.page-numbers.current {
	background: var(--sfv-primary);
	border: 1px solid var(--sfv-primary);
	color: #fff;
}

.navigation.pagination .nav-links span.page-numbers.dots,
.navigation.comments-pagination .nav-links span.page-numbers.dots {
	min-width: auto;
	min-height: auto;
	padding: 0 0.25rem;
	border: none;
	background: transparent;
	color: var(--sfv-muted);
	font-weight: 600;
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sfvd-pagination-gap);
	justify-content: space-between;
	align-items: center;
}

.posts-navigation .nav-links a,
.post-navigation .nav-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--sfvd-pagination-min);
	padding: 0.45rem 1rem;
	border-radius: var(--sfv-radius-sm);
	border: 1px solid var(--sfv-border);
	background: #fff;
	color: var(--sfv-text);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.posts-navigation .nav-links a:hover,
.posts-navigation .nav-links a:focus-visible,
.post-navigation .nav-links a:hover,
.post-navigation .nav-links a:focus-visible {
	border-color: var(--sfv-primary);
	color: var(--sfv-primary);
	outline: none;
}

/* Search form */
.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin: 1rem 0;
}

.search-form .search-field {
	min-width: 200px;
	padding: 0.5rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font: inherit;
}

.search-form .search-submit {
	padding: 0.5rem 1rem;
	background: var(--sfv-primary);
	color: #fff;
	border: none;
	border-radius: 6px;
	font: inherit;
	cursor: pointer;
}

.search-form .search-submit:hover,
.search-form .search-submit:focus {
	filter: brightness(1.05);
}

/* -----------------------------------------------------------------------------
   Comments
----------------------------------------------------------------------------- */
.sfvd-comments {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--sfv-border);
}

.comments-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--sfv-text);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-body {
	margin-bottom: 1.5rem;
}

.no-comments {
	color: var(--sfv-muted);
}

/* -----------------------------------------------------------------------------
   Footer — enterprise layout
----------------------------------------------------------------------------- */
.sfvd-site-footer {
	position: relative;
	background: linear-gradient(165deg, #0f172a 0%, #111827 42%, #0b1220 100%);
	color: #e5e7eb;
	overflow: hidden;
}

.sfvd-site-footer__accent {
	height: 3px;
	background: linear-gradient(90deg, var(--sfv-primary-dark), var(--sfv-primary), #2dd4bf);
	opacity: 0.95;
}

.sfvd-site-footer__main {
	padding: 3rem 0 2.5rem;
}

.sfvd-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	align-items: start;
}

@media (max-width: 1023px) {
	.sfvd-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem 1.5rem;
	}

	.sfvd-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 599px) {
	.sfvd-site-footer__grid {
		grid-template-columns: 1fr;
	}
}

.sfvd-site-footer__brand {
	max-width: 22rem;
}

.sfvd-site-footer__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.sfvd-site-footer__logo .custom-logo {
	max-height: 44px;
	width: auto;
}

.sfvd-site-footer__logo-link {
	display: inline-block;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.sfvd-site-footer__logo-link:hover,
.sfvd-site-footer__logo-link:focus-visible {
	color: #a7f3d0;
}

.sfvd-site-footer__tagline {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #9ca3af;
}

.sfvd-site-footer__tagline--muted {
	color: #6b7280;
}

.sfvd-site-footer__social {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}

.sfvd-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #e5e7eb;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--sfv-radius-sm);
	background: rgba(255, 255, 255, 0.04);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sfvd-site-footer__social-link:hover,
.sfvd-site-footer__social-link:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
}

.sfvd-site-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #94a3b8;
}

.sfvd-site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sfvd-site-footer__list .menu-item,
.sfvd-site-footer__item {
	margin: 0 0 0.5rem;
}

.sfvd-site-footer__list .menu-item:last-child,
.sfvd-site-footer__item:last-child {
	margin-bottom: 0;
}

.sfvd-site-footer__link,
.sfvd-site-footer__list a {
	display: inline-block;
	color: #cbd5e1;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
	transition: color 0.15s ease;
}

.sfvd-site-footer__link:hover,
.sfvd-site-footer__link:focus-visible,
.sfvd-site-footer__list a:hover,
.sfvd-site-footer__list a:focus-visible {
	color: #fff;
}

.sfvd-site-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.2);
}

.sfvd-site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.sfvd-site-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
}

.sfvd-site-footer__sitename {
	color: #94a3b8;
	font-weight: 600;
}

.sfvd-site-footer__sep {
	margin: 0 0.35rem;
	color: #475569;
}

.sfvd-site-footer__rights {
	color: #64748b;
}

.sfvd-site-footer__legal-nav {
	margin: 0;
}

.sfvd-site-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem 1.25rem;
}

.sfvd-site-footer__legal-list a {
	color: #94a3b8;
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
}

.sfvd-site-footer__legal-list a:hover,
.sfvd-site-footer__legal-list a:focus-visible {
	color: #e2e8f0;
	text-decoration: underline;
}

/* Legacy class if a menu still outputs .sfvd-footer-nav */
.sfvd-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
}

.sfvd-footer-nav a {
	color: #94a3b8;
	text-decoration: none;
	font-weight: 500;
}

.sfvd-footer-nav a:hover,
.sfvd-footer-nav a:focus {
	color: #e5e7eb;
	text-decoration: underline;
}

/* -----------------------------------------------------------------------------
   WooCommerce wrapper
----------------------------------------------------------------------------- */
.sfvd-woocommerce-wrap {
	padding: 2rem 0;
}

/* -----------------------------------------------------------------------------
   City hub (/city/...) — shared with templates/parts/city-hub/*
----------------------------------------------------------------------------- */
.sfvch-wrap,
.sfvch-index-wrap {
	--sfvch-gutter: clamp(1.25rem, 5vw, 2.5rem);
	max-width: min(1400px, 100%);
	margin: 0 auto;
	padding-left: var(--sfvch-gutter);
	padding-right: var(--sfvch-gutter);
	box-sizing: border-box;
}

.sfvch-wrap {
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.sfvch-index-wrap {
	padding-top: clamp(1.25rem, 2.5vw, 2rem);
	padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.sfvch-hero {
	background: linear-gradient(135deg, #0f172a 0%, #134e4a 55%, var(--sfv-primary) 100%);
	border-radius: 18px;
	padding: 3.25rem 2.5rem;
	margin-bottom: 3rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.sfvch-hero-inner {
	position: relative;
	z-index: 1;
}

/* Single-city hub: title + actions row, stats full width below */
.sfvch-hero--hub {
	text-align: left;
}

.sfvch-hero--hub .sfvch-hero-inner {
	display: grid;
	grid-template-columns: 1fr minmax(200px, auto);
	gap: 1.25rem clamp(1.25rem, 3vw, 2rem);
	align-items: end;
}

.sfvch-hero--hub .sfvch-hero-main {
	min-width: 0;
}

.sfvch-hero--hub .sfvch-hero-main p {
	margin-bottom: 0;
}

.sfvch-hero--hub .sfvch-hero-actions {
	justify-content: flex-end;
	margin-bottom: 0;
}

.sfvch-hero--hub .sfvch-stats--hero {
	grid-column: 1 / -1;
	margin-top: 1.25rem;
	margin-bottom: 0;
}

/* City index: centered marketing hero */
.sfvch-hero--index {
	margin-bottom: 2.5rem;
}

.sfvch-hero--index .sfvch-hero-main {
	max-width: 40rem;
	margin: 0 auto;
}

.sfvch-hero--index h1 {
	color: #fff;
	font-size: clamp(1.75rem, 5vw, 2.875rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.sfvch-hero--index .sfvch-hero-main p {
	margin: 0 0 0.25rem;
}

.sfvch-section-cta {
	text-align: center;
	margin-top: 1.25rem;
}

.sfvch-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sfvch-hero h1 {
	color: #fff;
	font-size: clamp(1.75rem, 5vw, 2.875rem);
	font-weight: 800;
	margin: 0 0 0.75rem;
	position: relative;
	line-height: 1.15;
}

.sfvch-hero p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.0625rem;
	margin: 0 0 1.75rem;
	position: relative;
	line-height: 1.5;
}

.sfvch-hero-actions {
	display: flex;
	justify-content: center;
	gap: 0.875rem;
	flex-wrap: wrap;
	position: relative;
}

.sfvch-btn {
	display: inline-block;
	padding: 0.75rem 1.625rem;
	border-radius: 9px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
	cursor: pointer;
	border: none;
	line-height: 1.25;
}

.sfvch-btn-primary {
	background: #fff;
	color: #115e59;
}

.sfvch-btn-primary:hover,
.sfvch-btn-primary:focus {
	background: #ccfbf1;
	color: #115e59;
}

.sfvch-btn-secondary {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.sfvch-btn-secondary:hover,
.sfvch-btn-secondary:focus {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.sfvch-btn-outline {
	background: #fff;
	color: var(--sfv-primary);
	border: 2px solid var(--sfv-primary);
	padding: 0.625rem 1.25rem;
	border-radius: var(--sfv-radius-sm);
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

.sfvch-btn-outline:hover,
.sfvch-btn-outline:focus {
	background: var(--sfv-primary);
	color: #fff;
}

.sfvch-btn-purple,
.sfvch-btn-accent {
	background: var(--sfv-primary);
	color: #fff;
	padding: 0.6875rem 1.5rem;
	border-radius: var(--sfv-radius-sm);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.sfvch-btn-purple:hover,
.sfvch-btn-purple:focus,
.sfvch-btn-accent:hover,
.sfvch-btn-accent:focus {
	background: var(--sfv-primary-dark);
	color: #fff;
}

.sfvch-breadcrumb {
	font-size: 0.8125rem;
	color: var(--sfv-muted);
	margin-bottom: 1.5rem;
	line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

.sfvch-breadcrumb a {
	color: var(--sfv-primary);
	text-decoration: none;
	font-weight: 500;
}

.sfvch-breadcrumb a:hover,
.sfvch-breadcrumb a:focus {
	text-decoration: underline;
}

.sfvch-breadcrumb__sep {
	color: #9ca3af;
	font-weight: 400;
}

.sfvch-breadcrumb__current {
	color: var(--sfv-text);
	font-weight: 700;
}

.sfvch-section {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.sfvch-section:not(.sfvch-newsletter) {
	background: #fff;
	border: 1px solid var(--sfv-border);
	border-radius: var(--sfv-radius);
	box-shadow: var(--sfv-shadow);
	padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.35rem, 2.5vw, 1.75rem);
}

.sfvch-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: 0.875rem;
	border-bottom: 2px solid var(--sfv-border);
	flex-wrap: wrap;
	gap: 0.625rem;
}

.sfvch-section-title {
	font-size: 1.375rem;
	font-weight: 800;
	color: var(--sfv-text);
	margin: 0;
	line-height: 1.25;
}

.sfvch-view-all {
	font-size: 0.8125rem;
	color: var(--sfv-primary);
	text-decoration: none;
	font-weight: 600;
}

.sfvch-view-all:hover,
.sfvch-view-all:focus {
	text-decoration: underline;
}

.sfvch-grid-listings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.125rem;
}

.sfvch-grid-coupons,
.sfvch-grid-events {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.sfvch-grid-stories {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.875rem;
}

.sfvch-card {
	background: #fff;
	border-radius: var(--sfv-radius-sm);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid var(--sfv-border);
}

.sfvch-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sfvch-card-img {
	position: relative;
	width: 100%;
	height: 160px;
	background: var(--sfv-surface);
	overflow: hidden;
}

.sfvch-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sfvch-card-no-img {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.sfvch-card-no-img--story {
	height: 160px;
}

.sfvch-card-body {
	padding: 0.875rem 1rem;
}

.sfvch-card-body h3 {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--sfv-text);
	margin: 0 0 0.375rem;
	line-height: 1.35;
}

.sfvch-meta {
	font-size: 0.75rem;
	color: var(--sfv-muted);
	margin: 0.25rem 0 0;
}

.sfvch-stars {
	font-size: 0.8125rem;
	color: var(--sfv-muted);
	margin: 0.25rem 0 0;
}

.sfvch-badge {
	position: absolute;
	top: 0.625rem;
	left: 0.625rem;
	background: #dc2626;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	padding: 0.2rem 0.625rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.sfvch-badge-green {
	background: #16a34a;
}

.sfvch-card-story img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.sfvch-empty {
	text-align: center;
	padding: 2.25rem 1.25rem;
	background: #f9fafb;
	border-radius: var(--sfv-radius-sm);
	border: 2px dashed var(--sfv-border);
}

.sfvch-empty-icon {
	font-size: 2.625rem;
	display: block;
	margin-bottom: 0.625rem;
}

.sfvch-empty p {
	color: var(--sfv-muted);
	font-size: 0.875rem;
	margin: 0 0 0.875rem;
}

.sfvch-stats {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 2.25rem;
	flex-wrap: wrap;
}

.sfvch-stats--hero {
	margin-bottom: 0;
}

.sfvch-stat {
	background: #fff;
	border: 1px solid var(--sfv-border);
	border-radius: 10px;
	padding: 0.875rem 1.25rem;
	text-align: center;
	flex: 1;
	min-width: 100px;
}

.sfvch-stat strong {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--sfv-primary);
	line-height: 1.2;
}

.sfvch-stat span {
	font-size: 0.75rem;
	color: var(--sfv-muted);
	font-weight: 600;
}

.sfvch-newsletter {
	background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
	border-radius: 14px;
	padding: 2.25rem 2.5rem;
	text-align: center;
	border: 1.5px solid #99f6e4;
}

.sfvch-newsletter h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: #115e59;
	margin: 0 0 0.5rem;
}

.sfvch-newsletter p {
	color: var(--sfv-muted);
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.55;
}

.sfvch-nl-form {
	display: flex;
	gap: 0.625rem;
	justify-content: center;
	flex-wrap: wrap;
}

.sfvch-nl-form input {
	padding: 0.6875rem 1rem;
	border: 1.5px solid #99f6e4;
	border-radius: var(--sfv-radius-sm);
	font-size: 0.875rem;
	width: 260px;
	max-width: 100%;
	box-sizing: border-box;
	outline: none;
	font: inherit;
}

.sfvch-nl-form input:focus {
	border-color: var(--sfv-primary);
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.sfvch-nl-form button {
	background: var(--sfv-primary);
	color: #fff;
	border: none;
	padding: 0.6875rem 1.5rem;
	border-radius: var(--sfv-radius-sm);
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	font: inherit;
}

.sfvch-nl-form button:hover,
.sfvch-nl-form button:focus {
	background: var(--sfv-primary-dark);
}

.sfvch-nl-msg {
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	font-weight: 600;
	display: none;
}

.sfvch-cta-bar {
	background: var(--sfv-text);
	border-radius: 14px;
	padding: 2rem 2.25rem;
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.sfvch-cta-bar-text h3 {
	color: #fff;
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
}

.sfvch-cta-bar-text p {
	color: #9ca3af;
	font-size: 0.8125rem;
	margin: 0;
	line-height: 1.45;
}

.sfvch-cta-bar-actions {
	display: flex;
	gap: 0.625rem;
	flex-wrap: wrap;
}

.sfvch-city-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.875rem;
}

.sfvch-city-tile {
	background: #fff;
	border-radius: var(--sfv-radius-sm);
	padding: 1.375rem 1.25rem;
	text-align: center;
	text-decoration: none;
	color: var(--sfv-text);
	box-shadow: var(--sfv-shadow);
	border: 1px solid var(--sfv-border);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.3;
}

.sfvch-city-tile:hover,
.sfvch-city-tile:focus {
	background: var(--sfv-primary);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(15, 118, 110, 0.28);
}

.sfvch-city-count {
	display: block;
	font-size: 0.75rem;
	font-weight: 400;
	color: #9ca3af;
	margin-top: 0.25rem;
}

.sfvch-city-tile:hover .sfvch-city-count,
.sfvch-city-tile:focus .sfvch-city-count {
	color: rgba(255, 255, 255, 0.85);
}

.sfvch-index-empty {
	background: #fef9c3;
	padding: 1rem 1.25rem;
	border-radius: var(--sfv-radius-sm);
	color: #92400e;
	font-size: 0.9375rem;
	line-height: 1.5;
}

@media (max-width: 768px) {
	.sfvch-hero--hub .sfvch-hero-inner {
		grid-template-columns: 1fr;
	}

	.sfvch-hero--hub .sfvch-hero-actions {
		justify-content: flex-start;
	}

	.sfvch-hero--hub .sfvch-hero-main p {
		margin-bottom: 0.5rem;
	}

	.sfvch-hero--hub .sfvch-stats--hero {
		margin-top: 0.75rem;
	}
}

@media (max-width: 600px) {
	.sfvch-hero {
		padding: 2.25rem 1.25rem;
	}

	.sfvch-wrap,
	.sfvch-index-wrap {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.sfvch-wrap {
		padding-bottom: 2.5rem;
	}

	.sfvch-index-wrap {
		padding-bottom: 2.5rem;
	}

	.sfvch-cta-bar {
		flex-direction: column;
		padding: 1.5rem;
	}

	.sfvch-newsletter {
		padding: 1.75rem 1.25rem;
	}
}
