/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://findmetop.com
 Description:  Child theme for findmetop.com based on GeneratePress
 Author:       findmetop
 Template:     generatepress
 Version:      1.1.0
 Text Domain:  generatepress-child
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
	--fm-primary: #1b73e8;
	--fm-primary-dark: #1259c2;
	--fm-navy: #0e2748;
	--fm-navy-2: #13437c;
	--fm-accent: #ffb400;
	--fm-accent-dark: #e09e00;
	--fm-text: #21303f;
	--fm-muted: #5b6b7b;
	--fm-faint: #8aa0b4;
	--fm-border: #e3e8ee;
	--fm-bg: #f4f6f9;
	--fm-white: #ffffff;
	--fm-shadow: 0 2px 10px rgba(16, 42, 74, 0.06);
	--fm-shadow-lg: 0 16px 40px rgba(16, 42, 74, 0.14);
	--fm-radius: 14px;
	--fm-radius-sm: 10px;
	--fm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   Base
   ========================================================= */
body {
	background: #ffffff;
	color: var(--fm-text);
	font-family: var(--fm-font);
	line-height: 1.6;
}

.grid-container {
	max-width: 1200px;
}

img {
	height: auto;
}

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

/* Titles */
.fm-profile-title,
.fm-card-title,
.site-content h1,
.site-content h2,
.site-content h3,
.fm-home h1,
.fm-home h2,
.fm-home h3 {
	font-family: inherit;
	color: var(--fm-text);
}

/* Buttons */
button,
input[type="submit"],
.button,
.wp-block-button .wp-block-button__link {
	border-radius: 8px;
}

/* Shared layout helpers */
.fm-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.fm-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--fm-accent);
}

.fm-chip {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	padding: 6px 16px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.fm-chip:hover {
	background: var(--fm-accent);
	border-color: var(--fm-accent);
	color: #2a1a00;
}

.fm-chip-ghost {
	background: #fff;
	border-color: var(--fm-border);
	color: var(--fm-text);
}

.fm-chip-ghost:hover {
	background: var(--fm-bg);
	color: var(--fm-primary);
}

/* Section header (title left + link right / centered) */
.fm-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}

.fm-section-head .fm-section-title {
	margin: 0;
	text-align: left;
}

.fm-section-title {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 26px;
}

.fm-section-link {
	color: var(--fm-primary);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.fm-section-link:hover {
	color: var(--fm-primary-dark);
}

/* =========================================================
   Homepage hero
   ========================================================= */
.fm-home {
	background: #fff;
}

.fm-hero {
	background: linear-gradient(135deg, var(--fm-navy) 0%, var(--fm-navy-2) 55%, var(--fm-primary) 130%);
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 84px 0 72px;
	text-align: center;
}

.fm-hero::before,
.fm-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
}

.fm-hero::before {
	width: 520px;
	height: 520px;
	background: rgba(27, 115, 232, 0.55);
	top: -180px;
	left: -120px;
}

.fm-hero::after {
	width: 460px;
	height: 460px;
	background: rgba(255, 180, 0, 0.18);
	bottom: -200px;
	right: -120px;
}

.fm-hero .fm-container {
	position: relative;
	z-index: 1;
}

.fm-hero-title {
	color: #fff;
	font-size: 44px;
	line-height: 1.12;
	margin: 0 0 16px;
	letter-spacing: -0.5px;
}

.fm-hero-sub {
	color: rgba(255, 255, 255, 0.92);
	font-size: 18px;
	margin: 0 auto 34px;
	max-width: 640px;
}

/* Search bar */
.fm-hero-search {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto 24px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 8px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.fm-hero-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	border: 0;
	border-radius: 999px;
	padding: 0 22px;
	font-size: 16px;
	background: #fff;
	color: var(--fm-text);
	outline: none;
}

.fm-hero-input:focus {
	box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.45);
}

.fm-hero-button {
	height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--fm-accent);
	color: #2a1a00;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	flex: 0 0 auto;
	transition: background 0.15s ease;
}

.fm-hero-button:hover {
	background: var(--fm-accent-dark);
}

/* Popular chips */
.fm-hero-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 38px;
}

.fm-hero-chips-label {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

/* Stats */
.fm-stats {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fm-stats li {
	padding: 8px 34px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
	text-align: center;
}

.fm-stats li:first-child {
	padding-left: 0;
}

.fm-stats li:last-child {
	padding-right: 0;
	border-right: 0;
}

.fm-stats strong {
	display: block;
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.fm-stats span {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   Homepage sections
   ========================================================= */
.fm-home-section {
	padding: 60px 0;
}

.fm-home-section-alt {
	background: var(--fm-bg);
}

/* Category tiles */
.fm-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.fm-cat-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 14px 18px 14px 14px;
	text-decoration: none;
	color: var(--fm-text);
	box-shadow: var(--fm-shadow);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.fm-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--fm-shadow-lg);
	border-color: #cdd8e6;
	color: var(--fm-text);
}

.fm-cat-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 12px;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.fm-cat-body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	flex: 1 1 auto;
}

.fm-cat-name {
	font-weight: 700;
	font-size: 15px;
}

.fm-cat-count {
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-cat-arrow {
	color: var(--fm-faint);
	font-size: 16px;
	flex: 0 0 auto;
	transition: transform 0.16s ease, color 0.16s ease;
}

.fm-cat-card:hover .fm-cat-arrow {
	transform: translateX(3px);
	color: var(--fm-primary);
}

/* Latest listings grid */
.fm-listing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

/* How it works */
.fm-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.fm-step {
	background: var(--fm-bg);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 30px 26px;
	position: relative;
}

.fm-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fm-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
}

.fm-step-title {
	font-size: 18px;
	margin: 0 0 8px;
}

.fm-step-text {
	margin: 0;
	font-size: 15px;
	color: var(--fm-muted);
}

/* CTA band */
.fm-cta-band {
	background: var(--fm-accent);
	color: #2a1a00;
	padding: 64px 0;
	text-align: center;
}

.fm-cta-title {
	color: #2a1a00;
	font-size: 30px;
	margin: 0 0 10px;
}

.fm-cta-text {
	margin: 0 0 26px;
	font-size: 17px;
	color: rgba(42, 26, 0, 0.85);
}

.fm-cta-button {
	display: inline-block;
	background: var(--fm-navy);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	padding: 14px 32px;
	font-size: 16px;
	transition: background 0.15s ease, transform 0.15s ease;
}

.fm-cta-button:hover {
	background: #123157;
	color: #fff;
	transform: translateY(-1px);
}

.fm-cta-button-sm {
	padding: 10px 22px;
	font-size: 14px;
}

/* =========================================================
   Listing cards (.fm-card)
   ========================================================= */
.fm-card {
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

.fm-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--fm-shadow-lg);
}

.fm-card-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 24px;
	text-decoration: none;
	color: inherit;
}

.fm-card-link:hover {
	color: inherit;
}

.fm-card-featured {
	border-color: #ffd76e;
	background: #fffdf4;
}

.fm-card-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--fm-accent);
	color: #2a1a00;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 999px;
	padding: 4px 12px;
}

.fm-card-title {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	padding-right: 70px;
}

.fm-card-meta,
.fm-card-excerpt {
	color: var(--fm-muted);
}

.fm-card-meta {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.fm-card-cat {
	font-weight: 600;
	color: var(--fm-primary-dark);
}

.fm-card-address {
	display: block;
	font-size: 13px;
	color: var(--fm-muted);
	margin-bottom: 4px;
}

.fm-card-address::before {
	content: "\1F4CD";
	font-size: 11px;
	margin-right: 3px;
	opacity: 0.8;
}

.fm-card-excerpt {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.55;
}

.fm-card-cta {
	margin-top: auto;
	padding-top: 16px;
	font-size: 14px;
	font-weight: 700;
	color: var(--fm-primary);
}

/* =========================================================
   Archive / category pages
   ========================================================= */
.fm-page-banner {
	background: linear-gradient(135deg, var(--fm-navy) 0%, var(--fm-navy-2) 55%, var(--fm-primary) 130%);
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 54px 0 58px;
}

.fm-page-banner::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(255, 180, 0, 0.16);
	top: -160px;
	right: -120px;
	filter: blur(50px);
	pointer-events: none;
}

.fm-page-banner .fm-container {
	position: relative;
	z-index: 1;
}

.fm-breadcrumb {
	font-size: 13px;
	margin-bottom: 14px;
}

.fm-breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.fm-breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.fm-breadcrumb span {
	margin: 0 6px;
	color: rgba(255, 255, 255, 0.55);
}

.fm-breadcrumb .fm-breadcrumb-last {
	color: #fff;
}

.fm-page-title {
	color: #fff;
	font-size: 40px;
	line-height: 1.1;
	margin: 0 0 12px;
	letter-spacing: -0.4px;
}

.fm-page-desc {
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	margin: 0 0 10px;
	max-width: 720px;
}

.fm-page-count {
	margin: 0 0 22px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fm-accent);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.fm-archive-search {
	display: flex;
	gap: 10px;
	max-width: 560px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	padding: 7px;
}

.fm-archive-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	border: 0;
	border-radius: 999px;
	padding: 0 18px;
	font-size: 15px;
	background: #fff;
	color: var(--fm-text);
	outline: none;
}

.fm-archive-button {
	height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--fm-accent);
	color: #2a1a00;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	flex: 0 0 auto;
}

/* Body */
.fm-archive-body {
	padding: 40px 0 72px;
}

.fm-archive-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 26px;
}

.fm-archive-cats-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--fm-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-right: 4px;
}

.fm-archive-query {
	background: #eaf2fe;
	border-left: 4px solid var(--fm-primary);
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 15px;
	margin: 0 0 22px;
}

.fm-archive-clear {
	margin-left: 12px;
	font-weight: 600;
	text-decoration: none;
}

/* Toolbar */
.fm-archive-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 16px 0 22px;
	border-bottom: 1px solid var(--fm-border);
	margin-bottom: 24px;
}

.fm-archive-found {
	font-size: 14px;
	color: var(--fm-muted);
}

.fm-sort-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fm-sort-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--fm-muted);
}

.fm-sort-select {
	height: 40px;
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	padding: 0 34px 0 16px;
	font-size: 14px;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235b6b7b' d='M5 6 0 0h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.fm-sort-go {
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--fm-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.fm-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

/* Pagination */
.fm-pagination {
	text-align: center;
	margin-top: 40px;
}

.fm-pagination .nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.fm-pagination .page-numbers:hover {
	border-color: var(--fm-primary);
	color: var(--fm-primary);
}

.fm-pagination .page-numbers.current {
	background: var(--fm-primary);
	border-color: var(--fm-primary);
	color: #fff;
}

/* Empty state */
.fm-empty {
	text-align: center;
	padding: 60px 20px;
	border: 1px dashed var(--fm-border);
	border-radius: var(--fm-radius);
	background: var(--fm-bg);
}

.fm-empty-title {
	margin: 0 0 8px;
	font-size: 22px;
}

.fm-empty-text {
	color: var(--fm-muted);
	margin: 0 0 22px;
}

/* =========================================================
   Single listing profile
   ========================================================= */
.fm-profile-page {
	padding-bottom: 72px;
}

.fm-mini-bar {
	padding-top: 22px;
	padding-bottom: 8px;
}

.fm-back-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--fm-muted);
	text-decoration: none;
}

.fm-back-link:hover {
	color: var(--fm-primary);
}

/* Hero band */
.fm-profile-hero {
	background: linear-gradient(135deg, var(--fm-navy) 0%, var(--fm-navy-2) 55%, var(--fm-primary) 140%);
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 40px 0 78px;
}

.fm-profile-hero::before {
	content: "";
	position: absolute;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: rgba(255, 180, 0, 0.18);
	top: -180px;
	right: -100px;
	filter: blur(50px);
	pointer-events: none;
}

.fm-profile-hero .fm-container {
	position: relative;
	z-index: 1;
}

.fm-profile-cats {
	margin-bottom: 14px;
}

.fm-cat {
	display: inline-block;
	background: #eaf2fe;
	color: var(--fm-primary-dark);
	border-radius: 999px;
	padding: 5px 15px;
	margin-right: 6px;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.fm-cat:hover {
	background: var(--fm-primary);
	color: #fff;
}

.fm-cat-light {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.fm-cat-light:hover {
	background: var(--fm-accent);
	border-color: var(--fm-accent);
	color: #2a1a00;
}

.fm-profile-title {
	font-size: 38px;
	line-height: 1.12;
	margin: 0 0 12px;
	color: #fff;
	letter-spacing: -0.4px;
}

.fm-profile-address {
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	margin: 0 0 16px;
}

.fm-profile-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fm-badge {
	display: inline-block;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 12px;
	font-weight: 700;
}

.fm-badge-open {
	background: #22c55e;
	color: #fff;
}

.fm-badge-closed {
	background: #ef4444;
	color: #fff;
}

.fm-badge-verified {
	background: #e7f7ee;
	color: #157347;
}

.fm-badge-featured {
	background: var(--fm-accent);
	color: #2a1a00;
}

.fm-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 5px 14px;
}

.fm-stars {
	color: var(--fm-accent);
	font-size: 15px;
	letter-spacing: 1px;
}

.fm-rating-num {
	color: #fff;
	font-weight: 700;
	font-size: 13px;
}

.fm-rating-count {
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
}

/* Quick action buttons */
.fm-profile-actions {
	margin-top: -34px;
	margin-bottom: 40px;
}

.fm-profile-actions .fm-container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fm-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--fm-primary);
	color: #fff;
	border: 1px solid var(--fm-primary);
	border-radius: 999px;
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--fm-shadow-lg);
	transition: background 0.15s ease, transform 0.15s ease;
}

.fm-action-btn:hover {
	background: var(--fm-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.fm-action-btn-ghost {
	background: #fff;
	border-color: var(--fm-border);
	color: var(--fm-text);
	box-shadow: none;
}

.fm-action-btn-ghost:hover {
	border-color: var(--fm-primary);
	color: var(--fm-primary);
	background: #fff;
}

.fm-action-btn-sm {
	padding: 10px 20px;
	font-size: 14px;
	box-shadow: none;
}

/* Two column layout */
.fm-profile-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 36px;
	align-items: start;
}

.fm-profile-main {
	min-width: 0;
}

.fm-profile-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.fm-profile-section {
	margin-bottom: 40px;
}

.fm-profile-section-title {
	font-size: 20px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--fm-primary);
	display: inline-block;
}

.fm-profile-excerpt {
	font-size: 17px;
	line-height: 1.6;
	color: var(--fm-muted);
}

.fm-profile-content {
	font-size: 16px;
	line-height: 1.7;
}

.fm-profile-content p:first-child {
	margin-top: 0;
}

.fm-profile-content img {
	display: none; /* text-only site */
}

/* Details & hours tables */
.fm-profile-details,
.fm-profile-hours {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	overflow: hidden;
}

.fm-profile-details li,
.fm-profile-hours li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 18px;
	font-size: 15px;
	border-bottom: 1px solid var(--fm-border);
}

.fm-profile-details li:last-child,
.fm-profile-hours li:last-child {
	border-bottom: 0;
}

.fm-profile-details li:nth-child(2n),
.fm-profile-hours li:nth-child(2n) {
	background: var(--fm-bg);
}

.fm-detail-label,
.fm-hours-day {
	color: var(--fm-muted);
	font-weight: 500;
}

.fm-detail-value {
	text-align: right;
	font-weight: 600;
	color: var(--fm-text);
}

.fm-hours-time {
	font-weight: 600;
	white-space: nowrap;
}

/* Location box */
.fm-location-box .fm-location-address {
	margin: 0 0 14px;
	font-size: 15px;
}

/* Side boxes */
.fm-box {
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 22px;
	box-shadow: var(--fm-shadow);
}

.fm-box-title {
	margin: 0 0 14px;
	font-size: 16px;
}

.fm-contact-list,
.fm-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fm-contact-list li {
	padding: 10px 0;
	border-bottom: 1px dashed var(--fm-border);
}

.fm-contact-list li:last-child {
	border-bottom: 0;
}

.fm-contact-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--fm-muted);
	margin-bottom: 2px;
}

.fm-contact-value {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.fm-contact-value a {
	color: var(--fm-primary);
	text-decoration: none;
}

.fm-contact-value a:hover {
	text-decoration: underline;
}

.fm-social-list li a {
	display: block;
	padding: 6px 0;
	color: var(--fm-text);
	text-decoration: none;
	font-weight: 600;
}

.fm-social-list li a:hover {
	color: var(--fm-primary);
}

/* Hours card */
.fm-hours-today {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
}

.fm-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: 0 0 10px;
}

.fm-dot-open {
	background: #22c55e;
}

.fm-dot-closed {
	background: #ef4444;
}

.fm-state-open {
	color: #157347;
}

.fm-state-closed {
	color: #b91c1c;
}

.fm-hours-close {
	margin: 0;
	font-size: 13px;
	color: var(--fm-muted);
}

/* Listed by */
.fm-box-listedby .fm-author {
	font-weight: 700;
	color: var(--fm-primary);
	text-decoration: none;
	font-size: 16px;
}

/* Side CTA */
.fm-side-cta {
	background: linear-gradient(135deg, var(--fm-navy) 0%, var(--fm-primary) 130%);
	border: 0;
	color: #fff;
}

.fm-side-cta .fm-box-title {
	color: #fff;
}

.fm-side-cta-text {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	margin: 0 0 16px;
}

/* Similar */
.fm-similar-section {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--fm-border);
}

/* =========================================================
   Header / Nav (GeneratePress)
   ========================================================= */
.main-navigation a {
	font-weight: 500;
}

.site-header .header-image {
	width: auto;
	max-height: 48px;
}

/* =========================================================
   Legacy elements still used by listeo-core widgets/shortcodes
   ========================================================= */
.main-search-container {
	padding: 48px 20px;
	background: linear-gradient(135deg, #0f2b4d 0%, #1b73e8 100%);
	border-radius: var(--fm-radius);
	color: #fff;
	text-align: center;
}

.main-search-container h1,
.main-search-container h2,
.main-search-container h3 {
	color: #fff;
}

.main-search-form {
	max-width: 780px;
	margin: 24px auto 0;
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.main-search-input,
.search-type-dropdown,
select {
	flex: 1 1 180px;
	height: 46px;
	border: 1px solid var(--fm-border);
	border-radius: 8px;
	padding: 0 14px;
	font-size: 15px;
	background: #fff;
	box-shadow: none;
}

.main-search-button,
button[type="submit"] {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 22px;
	background: var(--fm-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
}

.headline,
.section-headline {
	text-align: center;
	margin: 44px 0 24px;
}

.headline h2,
.section-headline h3 {
	margin: 0 0 6px;
	font-size: 26px;
}

.listings-container,
.listeo_listing_wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.listeo-sorting-options,
.listing-filters {
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 14px;
	margin-bottom: 20px;
}

.fm-excerpt-more {
	margin-left: 6px;
	font-weight: 600;
	text-decoration: none;
}

/* Reviews (kept minimal) */
.fm-profile-reviews {
	list-style: none;
	padding: 0;
}

.fm-profile-reviews li {
	padding: 16px 0;
	border-bottom: 1px solid var(--fm-border);
}

/* =========================================================
   Listing submission form (text only, clean)
   ========================================================= */
.add-listing-section {
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 26px;
	margin-bottom: 22px;
}

.add-listing-headline h3 {
	margin: 0 0 18px;
	font-size: 20px;
}

.add-listing-headline i {
	display: none;
}

.label-hidden,
.hidden-field {
	display: none;
}

.listing-manager-form input[type="text"],
.listing-manager-form input[type="email"],
.listing-manager-form input[type="url"],
.listing-manager-form input[type="tel"],
.listing-manager-form input[type="number"],
.listing-manager-form select,
.listing-manager-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--fm-border);
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
}

.listing-manager-form label {
	font-weight: 600;
	margin-bottom: 6px;
	display: block;
}

.listing-manager-form .description {
	color: var(--fm-muted);
	font-size: 13px;
}

.listing-package,
.woocommerce form.cart .button,
#submit-listing-form input[type="submit"] {
	background: var(--fm-primary);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 24px;
	font-weight: 600;
	cursor: pointer;
}

/* =========================================================
   Widgets / footer
   ========================================================= */
.footer-widgets .widget {
	font-size: 14px;
}

/* =========================================================
   WooCommerce basics so shop keeps working
   ========================================================= */
.woocommerce div.product div.product_title,
.woocommerce h1,
.woocommerce h2 {
	font-family: inherit;
}

.woocommerce ul.products li.product {
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 16px;
	background: #fff;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
	.fm-profile-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 26px;
	}
}

@media (max-width: 900px) {
	.fm-profile-layout {
		grid-template-columns: 1fr;
	}

	.fm-profile-side {
		grid-row: auto;
	}

	.fm-steps {
		grid-template-columns: 1fr 1fr;
	}

	.fm-step:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.fm-hero {
		padding: 60px 0 52px;
	}

	.fm-hero-title {
		font-size: 30px;
	}

	.fm-hero-sub {
		font-size: 16px;
	}

	.fm-hero-search {
		flex-direction: column;
		border-radius: var(--fm-radius);
	}

	.fm-hero-button {
		width: 100%;
	}

	.fm-stats li {
		padding: 6px 18px;
	}

	.fm-stats strong {
		font-size: 20px;
	}

	.fm-listing-grid,
	.fm-archive-grid {
		grid-template-columns: 1fr;
	}

	.fm-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.fm-page-title {
		font-size: 30px;
	}

	.fm-archive-search {
		flex-direction: column;
		border-radius: var(--fm-radius);
	}

	.fm-archive-button {
		width: 100%;
	}

	.fm-profile-title {
		font-size: 28px;
	}

	.fm-profile-actions .fm-container {
		gap: 10px;
	}

	.fm-action-btn {
		flex: 1 1 45%;
		justify-content: center;
		padding: 11px 16px;
		font-size: 14px;
	}

	.fm-steps {
		grid-template-columns: 1fr;
	}

	.fm-step:last-child {
		grid-column: auto;
	}

	.fm-main-search-form {
		flex-direction: column;
	}
}