/*
Theme Name: Listingpro Child Theme
Description: Listingpro Child Theme
Template: listingpro
Version: 1.0.0
Author: Olena Polonska
License: GNU General Public License
*/

.filter-top-section {
	overflow: auto;
}

.search-row .form-inline .form-group.margin-right-0 {
	display: none !important;
}

.listing-simple .post-with-map-container-right .search-row .lp-filter-inner {
	border-left: 1px solid #dedede!important;
	border-right: 1px solid #dedede!important;
}

.listing-categories {
	margin-bottom: 40px;
	margin-top: 40px;
	padding-bottom: 0;
}

.listing-categories li {
	float: left;
	margin: 3px;
}

.listing-categories li a {
	background: #262626;
	border-radius: 3px;
	color: #FFF;
	display: block;
	padding: 3px 15px;
}

.listing-categories li a:hover {
	background: #000;
}

.listing-categories li a.parent-listing-category {
	color: #262626;
	background: #30b94a;
}

.listing-categories li a.parent-listing-category:hover {
	background: #218534;
}

#select2-inputCategory-results li {
	text-transform: uppercase;
}

.lp-grid-box-bottom .pull-left {
	max-width: 100%;
}

/* .lp-grid-box-bottom .pull-left a {
	white-space: nowrap;
} */

.lp-grid-box-bottom .pull-left a::before {
	display: none;
}

/* .section-id-PaybackPeriod .lp-form-builder-field {
	float: left;
	width: 50%;
} */

.section-id-PaybackPeriod label {
	display: none;
}

.section-id-BusinessExpansion div#lp-form-builder-field-705 .form-group {
	display: block;
}

.listing-options {
	float: none;
	list-style: disc;
}

.lp-grid-box-left .listing-options li span {
	color: #7f7f7f;
}

.lp-grid-box-left .listing-options li span.option-title {
	color: #292929;
}

.single-listing-investment-ranges,
.single-listing-locations {
	font-size: 14px;
}

.lp-blog-grid-box-thumb a {
	display: block;
    overflow: hidden;
    height: 150px;
}

.lp-blog-grid-box-thumb img {
	height: 100%;
}

.eael-data-table tbody tr td {
	font-family: Quicksand !important;
	font-size: 15px !important;
}

.lp_privacy_policy_Wrap p {
	font-size: 14px;
}

.submit-wrapper .lp-search-icon {
	color: #30B94A;
	top: 15px;
	left: 110px;
	font-size: 16px;
}

.submit-wrapper:hover .lp-review-btn {
	color: #FFF !important;
	background: #30B94A !important;
    -webkit-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;	
}

.submit-wrapper:hover .lp-search-icon {
	color: #FFF;
}

.widget-box.viewed-listing.widget_block > p,
.widget-box.business-contact.lp-lead-form-st.hide-block {
	display: none;
}

.lp-grid-box-thumb {
	height: 100%;
}

.show-img {
	width: 100%;
    height: 100%;
}

.grid_view2 .lp-grid-box-thumb img, .grid_view6 .lp-grid-box-thumb img {
    height: 100%;
}

.requiredFieldIsempty {
	border-color: #ff4a7a;
}

.submit_new_style .page-style2-content-wrap label[for=field-choose-relevant-states-for-your-specific-expansion-needs1] {
	color: navy !important;
    font-weight: bold !important;
}

#home-featured-franchises .icon-quick-eye.md-trigger.qickpopup {
	display: none;
}

.elementskit-client_logo img {
	max-width: 200px !important;	
}

.widget-box.viewed-listing.widget_block {
	border: 1px solid #dedede;
    border-radius: 5px;
	padding: 14px 20px 15px;
}

.widget-box.viewed-listing.widget_block input[type=submit] {
	border-color: #30B94A;
	color: #30B94A;
}

.widget-box.viewed-listing.widget_block p {
	font-size: 14px;
    line-height: 1.5em;
}

.lp-menu-container,
.lp-search-chnage-styles-st-fix {
/* 	width: 50%; */
}

.listing-second-view .listing-price.widget-box {
	border: none !important;
}

.widget_nav_menu .imo-widget-title-container:before {
	display: none;
}

#sidebar aside ul.wp-block-latest-posts {
	list-style: disc;
}

.top-banner {
	background-size: cover;
    background-position: 50%;
	height: 400px;
	width: 100%;
	position: relative;
}

.top-logo {
	background-size: 64%;
    background-position: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: #FFF;
    background-repeat: no-repeat;
}

.lp-home-banner-contianer .lp-search-bar .form-group.lp-location-search,
.lp-home-banner-contianer .lp-search-bar .form-group.lp-suggested-search {
	width: 40%;
}

body .lp-menu-bar.header-bg-color-class .fullwidth-header .lp-search-chnage-styles-st .header-filter .input-group.width-49-percent.margin-right-15,
.fullwidth-header .lp-search-chnage-styles-st .header-filter .input-group.width-49-percent {
	width: 48% !important;
}

.listing-all-categories {
	columns: 4;
	orphans: 3;
}

.top-listing-category > a {
	font-weight: bold;
}

.top-listing-category {
	margin-bottom: 20px;
	display: inline-block;
}

/*bft css*/

.investment-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

#investmentRange {
    width: 100%;
}

/*bft css*/

@media (max-width: 768px) {
	.lp-search-chnage-styles-st-fix {
		width: 100%;
	}
	body .lp-menu-bar.header-bg-color-class .fullwidth-header .lp-search-chnage-styles-st .header-filter .input-group.width-49-percent.margin-right-15,
	.fullwidth-header .lp-search-chnage-styles-st .header-filter .input-group.width-49-percent {
		width: 100% !important;
	}
	.listing-all-categories {
		columns: 2;
	}
	
	.grid_view2 .lp-grid-box-thumb img, .grid_view6 .lp-grid-box-thumb img {
		height: auto;
	}
}

@media (max-width: 414px) {
	.lp-menu-bar.header-bg-color-class .fullwidth-header .lp-search-chnage-styles-st .header-filter .input-group.width-49-percent.margin-right-15 {
		min-width: 100%; 
	}
	.listing-all-categories {
		columns: 1;
	}
	
	.elementor img,
	.grid_view2 .lp-grid-box-thumb img, .grid_view6 .lp-grid-box-thumb img,
	.city-girds:hover>.city-thumb>img { 
		max-width: auto !important;
		width: 100%;
		height: auto;
	}
}

.post-row-header>h2 {
    font-size: 18px;
    margin-bottom: 15px;
}
.listing-second-view .post-meta-left-box h1:nth-child(3) {
    display: none !important;
}
.widget-title h3 {
    color: #ffffff;
}

@media (min-width: 320px) and (max-width: 767px) {
    .lpl-button {
        font-size: 14px;
        margin-top: 70px;
    }
}
@media (max-width: 768px) {
    .listing-all-categories {
        columns: 1 !important;
        column-count: 1 !important;
        -webkit-column-count: 1 !important;
    }
}



/* ==========================================================================
   FOREFIND — Custom Single Listing Page Styles
   Append this entire block to the bottom of:
   /wp-content/themes/listingpro-child/style.css
   ========================================================================== */

/* ── DESIGN TOKENS ────────────────────────────────────────────────────────── */
:root {
  --ff-navy:         #0B1F3A;
  --ff-navy-80:      #1a3558;
  --ff-teal:         #0D9B76;
  --ff-teal-light:   #E8F8F3;
  --ff-teal-mid:     #B2E8D8;
  --ff-amber:        #F59E0B;
  --ff-amber-light:  #FEF3C7;
  --ff-red-light:    #FEE2E2;
  --ff-surface:      #F7F8FA;
  --ff-surface-2:    #EDEEF2;
  --ff-border:       #E2E4EA;
  --ff-border-strong:#C8CBD6;
  --ff-text-primary: #0B1F3A;
  --ff-text-secondary:#4A5568;
  --ff-text-muted:   #8E97A8;
  --ff-white:        #FFFFFF;
  --ff-radius-sm:    6px;
  --ff-radius-md:    10px;
  --ff-radius-lg:    16px;
}

/* ── PAGE WRAPPER ─────────────────────────────────────────────────────────── */
.ff-page-wrap {
  background: var(--ff-surface);
  min-height: 100vh;
  padding: 24px 0 60px;
}

/* ── TWO-COLUMN LAYOUT ────────────────────────────────────────────────────── */
.ff-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.ff-main  { min-width: 0; }
.ff-sidebar { position: sticky; top: 90px; }

/* ── SECTION BASE ─────────────────────────────────────────────────────────── */
.ff-section {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-lg);
  padding: 28px;
  margin-bottom: 16px;
  animation: ffFadeUp 0.4s ease both;
}
.ff-section:nth-child(2) { animation-delay:.08s; }
.ff-section:nth-child(3) { animation-delay:.14s; }
.ff-section:nth-child(4) { animation-delay:.20s; }
.ff-section:nth-child(5) { animation-delay:.26s; }
.ff-section:nth-child(6) { animation-delay:.32s; }
.ff-section:nth-child(7) { animation-delay:.38s; }

@keyframes ffFadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

.ff-sec-heading {
  font-family: 'Quicksand', 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ff-navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ff-sec-heading::before {
  content: '';
  display: block;
  width: 3px;
  height: 16px;
  background: var(--ff-teal);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── 1. BANNER ─────────────────────────────────────────────────────────────── */
.ff-banner {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  animation: ffFadeUp 0.35s ease both;
}

.ff-banner-hero {
  background: var(--ff-navy);
  background-size: cover;
  background-position: center;
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 28px 22px;
  overflow: hidden;
}
.ff-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.45) 60%, rgba(11,31,58,0.2) 100%);
  z-index: 0;
}
.ff-banner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(13,155,118,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(245,158,11,.08) 0%, transparent 50%);
  z-index: 0;
}
.ff-banner-geo {
  position: absolute;
  right: 40px;
  top: 16px;
  opacity: .06;
  pointer-events: none;
}

.ff-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
}

.ff-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--ff-radius-md);
  background: var(--ff-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.15);
}
.ff-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.ff-logo-initials {
  font-weight: 700;
  font-size: 14px;
  color: var(--ff-navy);
  letter-spacing: -.5px;
  text-align: center;
  line-height: 1.2;
}

.ff-hero-info { flex: 1; min-width: 0; }
.ff-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--ff-white);
  letter-spacing: -.4px;
  margin: 0 0 7px;
  line-height: 1.2;
}
.ff-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ff-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.ff-chip-white { background: rgba(255,255,255,.12); color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.18); }
.ff-chip-teal  { background: rgba(13,155,118,.22);  color: #5DCDB0; border: 1px solid rgba(13,155,118,.3); }
.ff-chip-amber { background: rgba(245,158,11,.18);  color: #FBC351; border: 1px solid rgba(245,158,11,.25); }

/* Tab nav */
.ff-tabs {
  display: flex;
  overflow-x: auto;
  padding: 0 20px;
  border-bottom: 1px solid var(--ff-border);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ff-tabs::-webkit-scrollbar { display: none; }
.ff-tab {
  padding: 13px 15px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ff-text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s, border-color .15s;
  display: inline-block;
}
.ff-tab:hover { color: var(--ff-navy); }
.ff-tab.active { color: var(--ff-teal); border-bottom-color: var(--ff-teal); }

/* Banner bottom bar */
.ff-banner-bar {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ff-fri-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  padding: 7px 13px;
  font-size: 12px;
  color: var(--ff-text-secondary);
}
.ff-bar-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.ff-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--ff-radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.ff-btn-outline { background: transparent; border: 1px solid var(--ff-border-strong); color: var(--ff-text-secondary); }
.ff-btn-outline:hover { background: var(--ff-surface); border-color: var(--ff-navy); color: var(--ff-navy); }
.ff-btn-teal { background: var(--ff-teal); color: var(--ff-white) !important; }
.ff-btn-teal:hover { background: #0b8a68; }

/* ── 2. METRICS ──────────────────────────────────────────────────────────── */
.ff-metrics-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), 1fr);
  gap: 10px;
}
.ff-metric-box {
  background: var(--ff-surface);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  padding: 16px 10px;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.ff-metric-box:hover { border-color: var(--ff-teal); transform: translateY(-2px); }
.ff-metric-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--ff-radius-sm);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ff-metric-value { font-size: 13px; font-weight: 700; color: var(--ff-navy); margin-bottom: 3px; line-height: 1.3; }
.ff-metric-label { font-size: 10px; color: var(--ff-text-muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }

/* ── 3. INVESTMENT ───────────────────────────────────────────────────────── */
.ff-inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ff-inv-table-title { font-size: 11px; font-weight: 600; color: var(--ff-text-secondary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.ff-inv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ff-inv-table tr { border-bottom: 1px solid var(--ff-border); }
.ff-inv-table tr:last-child { border-bottom: none; }
.ff-inv-table td { padding: 9px 4px; color: var(--ff-text-secondary); }
.ff-inv-table td.val { text-align: right; font-weight: 600; color: var(--ff-navy); font-size: 12px; font-family: monospace; }
.ff-inv-table tr.total-row td { font-weight: 700; color: var(--ff-navy); border-top: 2px solid var(--ff-navy); padding-top: 11px; }
.ff-inv-fees { margin-top: 10px; font-size: 11px; color: var(--ff-text-muted); }
.ff-extra-fields { margin-top: 8px; }

.ff-returns-panel {
  background: var(--ff-navy);
  border-radius: var(--ff-radius-md);
  padding: 22px;
  color: var(--ff-white);
}
.ff-returns-title { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.ff-ret-item { margin-bottom: 14px; }
.ff-ret-label { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.ff-ret-value { font-size: 20px; font-weight: 700; color: var(--ff-white); }
.ff-ret-value.ff-accent { color: #4ECCA3; }

/* ── 4. ABOUT ────────────────────────────────────────────────────────────── */
.ff-brand-layout { display: grid; grid-template-columns: 1fr 200px; gap: 24px; }
.ff-brand-content { font-size: 13px; color: var(--ff-text-secondary); line-height: 1.75; }
.ff-brand-content p { margin-bottom: 12px; }
.ff-brand-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ff-tag { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; border: 1px solid; }
.ff-tag-teal  { background: var(--ff-teal-light); color: #0A6B52; border-color: var(--ff-teal-mid); }
.ff-tag-navy  { background: #EEF2FF; color: var(--ff-navy); border-color: #C7D2FE; }
.ff-tag-amber { background: var(--ff-amber-light); color: #92400E; border-color: #FDE68A; }

.ff-fact-sidebar {}
.ff-fact-sidebar-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ff-text-muted); margin-bottom: 10px; }
.ff-fact-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--ff-border); font-size: 12px; gap: 8px; }
.ff-fact-row:last-child { border-bottom: none; }
.ff-fact-key { color: var(--ff-text-muted); flex-shrink: 0; }
.ff-fact-val { font-weight: 600; color: var(--ff-navy); text-align: right; }

/* ── 5. SUPPORT ──────────────────────────────────────────────────────────── */
.ff-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-md);
  overflow: hidden;
}
.ff-support-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--ff-border);
  border-right: 1px solid var(--ff-border);
  transition: background .12s;
}
.ff-support-item:hover { background: var(--ff-surface); }
.ff-support-item:nth-child(3n) { border-right: none; }
.ff-support-item:nth-last-child(-n+3) { border-bottom: none; }
.ff-tick-wrap { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ff-tick-on  { background: var(--ff-teal-light); }
.ff-tick-off { background: var(--ff-surface-2, #EDEEF2); }
.ff-support-name { font-size: 12px; }
.ff-support-name.available   { color: var(--ff-navy); font-weight: 500; }
.ff-support-name.unavailable { color: var(--ff-text-muted); }
.ff-support-footer { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ff-text-secondary); }
.ff-support-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ff-teal); flex-shrink: 0; }
.ff-no-data { font-size: 13px; color: var(--ff-text-muted); }

/* ── 6. TERRITORIES ──────────────────────────────────────────────────────── */
.ff-terr-list { display: flex; flex-direction: column; gap: 4px; }
.ff-terr-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--ff-radius-sm); background: var(--ff-surface); transition: background .12s; }
.ff-terr-item:hover { background: var(--ff-surface-2, #EDEEF2); }
.ff-terr-name { flex: 1; font-size: 13px; font-weight: 500; color: var(--ff-navy); }
.ff-badge-open    { background: var(--ff-teal-light); color: #0A6B52; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.ff-badge-limited { background: var(--ff-amber-light); color: #92400E; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.ff-badge-closed  { background: var(--ff-red-light); color: #991B1B; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }

/* ── 7. FAQS ─────────────────────────────────────────────────────────────── */
.ff-faq-item { border-bottom: 1px solid var(--ff-border); }
.ff-faq-item:last-child { border-bottom: none; }
.ff-faq-question { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; gap: 12px; user-select: none; }
.ff-faq-question:hover .ff-faq-q-text { color: var(--ff-teal); }
.ff-faq-q-text { font-size: 13px; font-weight: 500; color: var(--ff-navy); flex: 1; transition: color .15s; }
.ff-faq-icon { width: 22px; height: 22px; border: 1px solid var(--ff-border-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; color: var(--ff-text-muted); }
.ff-faq-item.open .ff-faq-icon { background: var(--ff-navy); border-color: var(--ff-navy); color: var(--ff-white); transform: rotate(45deg); }
.ff-faq-answer { font-size: 13px; color: var(--ff-text-secondary); line-height: 1.7; padding-bottom: 14px; display: none; }
.ff-faq-item.open .ff-faq-answer { display: block; }

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.ff-sidebar-widget-wrap .widget-box,
.ff-sidebar-widget-wrap .widget {
  background: var(--ff-white) !important;
  border: 1px solid var(--ff-border) !important;
  border-radius: var(--ff-radius-lg) !important;
  margin-bottom: 16px !important;
  box-shadow: none !important;
}
/* Restyle the ListingPro lead-form widget inside our sidebar */
.ff-sidebar-widget-wrap .lp-review-btn,
.ff-sidebar-widget-wrap input[type="submit"],
.ff-sidebar-widget-wrap button[type="submit"] {
  background: var(--ff-teal) !important;
  border-color: var(--ff-teal) !important;
  color: var(--ff-white) !important;
  border-radius: var(--ff-radius-md) !important;
  font-weight: 600 !important;
  transition: background .15s !important;
}
.ff-sidebar-widget-wrap .lp-review-btn:hover,
.ff-sidebar-widget-wrap input[type="submit"]:hover { background: #0b8a68 !important; }
.ff-sidebar-widget-wrap .form-control,
.ff-sidebar-widget-wrap input[type="text"],
.ff-sidebar-widget-wrap input[type="email"],
.ff-sidebar-widget-wrap input[type="tel"],
.ff-sidebar-widget-wrap select,
.ff-sidebar-widget-wrap textarea {
  border-radius: var(--ff-radius-md) !important;
  border-color: var(--ff-border) !important;
  font-size: 13px !important;
}
.ff-sidebar-widget-wrap .form-control:focus,
.ff-sidebar-widget-wrap input:focus {
  border-color: var(--ff-teal) !important;
  box-shadow: 0 0 0 3px rgba(13,155,118,.12) !important;
  outline: none !important;
}

/* Fallback CTA card (used only when no sidebar widget registered) */
.ff-sidebar-cta-card {
  background: var(--ff-navy);
  border-radius: var(--ff-radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.ff-cta-eyebrow { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.ff-cta-heading { font-size: 18px; font-weight: 700; color: var(--ff-white); line-height: 1.3; margin-bottom: 6px; }
.ff-cta-sub { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.5; }
.ff-cta-heading { letter-spacing: -.3px; }

/* Key financials card */
.ff-sidebar-stats {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  animation: ffFadeUp .4s ease .3s both;
}
.ff-sidebar-stats-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ff-text-muted); margin-bottom: 14px; }
.ff-sstat { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ff-border); font-size: 12px; }
.ff-sstat:last-child { border-bottom: none; }
.ff-sstat-label { color: var(--ff-text-muted); }
.ff-sstat-val { font-weight: 700; color: var(--ff-navy); font-family: monospace; font-size: 12px; }
.ff-sstat-val.ff-good { color: var(--ff-teal); }

/* Similar brands card */
.ff-similar-brands {
  background: var(--ff-white);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-lg);
  padding: 20px;
  animation: ffFadeUp .4s ease .4s both;
}
.ff-similar-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ff-text-muted); margin-bottom: 14px; }
.ff-similar-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--ff-border); cursor: pointer; transition: opacity .15s; text-decoration: none; color: inherit; }
.ff-similar-item:last-child { border-bottom: none; }
.ff-similar-item:hover { opacity: .7; }
.ff-sim-logo { width: 32px; height: 32px; border-radius: 6px; background: var(--ff-surface); border: 1px solid var(--ff-border); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: var(--ff-navy); flex-shrink: 0; overflow: hidden; }
.ff-sim-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.ff-sim-info { flex: 1; min-width: 0; }
.ff-sim-name { font-size: 12px; font-weight: 500; color: var(--ff-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-sim-inv { font-size: 10px; color: var(--ff-text-muted); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ff-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .ff-sidebar { position: static; top: auto; }
  .ff-metrics-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .ff-inv-grid     { grid-template-columns: 1fr; }
  .ff-brand-layout { grid-template-columns: 1fr; }
  .ff-support-grid { grid-template-columns: 1fr 1fr; }
  .ff-support-item:nth-child(3n)    { border-right: 1px solid var(--ff-border); }
  .ff-support-item:nth-child(even)  { border-right: none; }
}
@media (max-width: 600px) {
  .ff-banner-hero   { height: 170px; padding: 0 16px 16px; }
  .ff-brand-name    { font-size: 18px; }
  .ff-brand-logo    { width: 56px; height: 56px; }
  .ff-section       { padding: 20px 16px; }
  .ff-metrics-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .ff-support-grid  { grid-template-columns: 1fr; }
  .ff-support-item  { border-right: none !important; }
  .ff-banner-bar    { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ff-bar-actions   { margin-left: 0; }
}



/* ── HIDE PARENT THEME'S SINGLE-LISTING WRAPPER when our template is active ── */
/* (Handled by the template_include filter — no CSS needed.) */