/* =========================================================================
   Fresh Filter Supply, main stylesheet
   Mobile-first. Brand tokens as CSS variables (overridable via Customizer).
   ========================================================================= */

:root {
	--ffs-navy: #082B5F;
	--ffs-primary: #1266D6;
	--ffs-green: #31A84F;
	--ffs-light-blue: #F2F7FF;
	--ffs-text: #102033;
	--ffs-muted: #64748B;
	--ffs-border: #E2E8F0;
	--ffs-white: #fff;

	--ffs-radius: 14px;
	--ffs-radius-sm: 9px;
	--ffs-shadow: 0 6px 24px rgba(8, 43, 95, .08);
	--ffs-shadow-sm: 0 2px 10px rgba(8, 43, 95, .06);
	--ffs-container: 1200px;
	--ffs-gap: 24px;
	--ffs-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--ffs-font-heading: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--ffs-font);
	color: var(--ffs-text);
	background: var(--ffs-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.ffs-no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ffs-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-family: var(--ffs-font-heading); color: var(--ffs-navy); line-height: 1.2; margin: 0 0 .5em; }
.ffs-section-title, .ffs-hero__headline, .ffs-slide__headline, .ffs-logo-name { font-family: var(--ffs-font-heading); }

:focus-visible { outline: 3px solid var(--ffs-primary); outline-offset: 2px; border-radius: 4px; }

.container {
	width: 100%;
	max-width: var(--ffs-container);
	margin-inline: auto;
	padding-inline: 18px;
}

.ffs-icon { display: inline-block; vertical-align: middle; flex: none; }
.ffs-icon.rotate { transform: rotate(-90deg); }

.ffs-section-title {
	font-size: clamp(1.4rem, 1rem + 2vw, 2rem);
	text-align: center;
	margin-bottom: 1.5rem;
}
.ffs-section-title--sm { font-size: 1.15rem; text-align: left; }

/* ---- Buttons ---- */
.ffs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	min-height: 44px;
	padding: .65rem 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
	line-height: 1.1;
}
.ffs-btn:hover { text-decoration: none; transform: translateY(-1px); }
.ffs-btn--primary { background: var(--ffs-primary); color: #fff; }
.ffs-btn--primary:hover { background: #0f57b8; color: #fff; }
.ffs-btn--green { background: var(--ffs-green); color: #fff; }
.ffs-btn--green:hover { background: #2a9244; color: #fff; }
.ffs-btn--outline { background: #fff; color: var(--ffs-primary); border-color: var(--ffs-border); }
.ffs-btn--outline:hover { border-color: var(--ffs-primary); color: var(--ffs-primary); }
.ffs-btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.ffs-btn--block { width: 100%; }

/* ---- Skip link ---- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; }

/* =========================================================================
   Announcement bar
   ========================================================================= */
.ffs-announcement {
	background: var(--ffs-navy);
	color: #fff;
	font-size: .9rem;
	text-align: center;
}
.ffs-announcement p { margin: 0; padding: .55rem 0; }

/* =========================================================================
   Header
   ========================================================================= */
.ffs-header { background: #fff; border-bottom: 1px solid var(--ffs-border); }
.has-sticky-header .ffs-header { position: sticky; top: 0; z-index: 50; }
.ffs-header.is-stuck { box-shadow: var(--ffs-shadow-sm); }

.ffs-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 12px;
}

.ffs-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border: 1px solid var(--ffs-border);
	border-radius: var(--ffs-radius-sm);
	background: #fff;
	color: var(--ffs-navy);
	cursor: pointer;
}

.ffs-branding { display: flex; align-items: center; }
.ffs-logo-text { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--ffs-navy); }
.ffs-logo-text:hover { text-decoration: none; }
.ffs-logo-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 9px;
	background: var(--ffs-light-blue); color: var(--ffs-green);
}
.ffs-logo-name { font-size: 1.15rem; }
.custom-logo { max-height: 96px; width: auto; }

.ffs-header__search { display: none; flex: 1; }

.ffs-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ffs-action {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; min-width: 44px; min-height: 44px; padding: 4px 6px;
	color: var(--ffs-navy); font-size: .7rem; position: relative;
}
.ffs-action:hover { text-decoration: none; color: var(--ffs-primary); }
.ffs-action__label { display: none; }
.ffs-cart-count {
	position: absolute; top: 0; right: 0;
	min-width: 18px; height: 18px; padding: 0 4px;
	background: var(--ffs-green); color: #fff;
	border-radius: 999px; font-size: .68rem; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
	line-height: 1;
}

/* Primary nav (desktop) */
.ffs-primary-nav { display: none; border-top: 1px solid var(--ffs-border); }
.ffs-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.ffs-menu a {
	display: inline-block; padding: .75rem 1rem; color: var(--ffs-text);
	font-weight: 600; border-radius: var(--ffs-radius-sm);
}
.ffs-menu a:hover { background: var(--ffs-light-blue); color: var(--ffs-primary); text-decoration: none; }
.ffs-menu .sub-menu { display: none; }

/* ---- Search form ---- */
.ffs-search-form { display: flex; align-items: center; width: 100%; position: relative; }
.ffs-search-field {
	width: 100%; min-height: 44px; padding: .6rem 3rem .6rem 1rem;
	border: 1px solid var(--ffs-border); border-radius: 999px;
	font-size: 1rem; background: var(--ffs-light-blue);
}
.ffs-search-submit {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; border: none; border-radius: 999px;
	background: var(--ffs-primary); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================================
   Mobile drawer + bottom nav
   ========================================================================= */
.ffs-drawer-overlay { position: fixed; inset: 0; background: rgba(8,43,95,.45); z-index: 60; }
.ffs-mobile-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 340px);
	background: #fff; z-index: 61; padding: 18px;
	transform: translateX(-100%); transition: transform .25s ease;
	overflow-y: auto;
}
.ffs-mobile-drawer.is-open { transform: translateX(0); }
.ffs-mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.ffs-mobile-drawer__title { font-weight: 800; color: var(--ffs-navy); font-size: 1.1rem; }
.ffs-drawer-close { width: 44px; height: 44px; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm); background: #fff; cursor: pointer; color: var(--ffs-navy); }
.ffs-mobile-drawer__search { margin-bottom: 1rem; }
.ffs-mobile-menu, .ffs-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.ffs-mobile-menu a { display: block; padding: .85rem .5rem; border-bottom: 1px solid var(--ffs-border); color: var(--ffs-text); font-weight: 600; }
.ffs-mobile-menu .sub-menu a { padding-left: 1.5rem; font-weight: 500; }

.ffs-bottom-nav {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
	display: flex; background: #fff; border-top: 1px solid var(--ffs-border);
	padding-bottom: env(safe-area-inset-bottom);
}
.ffs-bottom-nav a {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; min-height: 56px; color: var(--ffs-navy); font-size: .68rem; position: relative;
}
.ffs-bottom-nav a:hover { text-decoration: none; color: var(--ffs-primary); }
.ffs-bottom-nav .ffs-cart-count { top: 6px; right: 50%; margin-right: -22px; }
.has-mobile-bottom-nav { padding-bottom: 56px; }

/* =========================================================================
   Hero + Filter Finder
   ========================================================================= */
.ffs-hero { background: linear-gradient(180deg, var(--ffs-light-blue), #fff); padding-block: 28px 32px; }
.ffs-hero__grid { display: grid; gap: 24px; }
.ffs-hero__headline { font-size: clamp(1.8rem, 1.2rem + 4vw, 3rem); margin-bottom: .5rem; }
.ffs-hero__subtext { font-size: 1.05rem; color: var(--ffs-muted); margin-bottom: 1.25rem; }
.ffs-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1rem; }
.ffs-hero__rating { display: flex; align-items: center; gap: .5rem; color: var(--ffs-muted); font-size: .9rem; margin: 0; }
.ffs-hero__image { margin-top: 1.5rem; border-radius: var(--ffs-radius); overflow: hidden; }
.ffs-hero__image img { width: 100%; }

.ffs-stars { display: inline-flex; gap: 1px; color: var(--ffs-border); }
.ffs-star { display: inline-flex; }
.ffs-star.is-full { color: #F5A623; }
.ffs-star.is-full .ffs-icon { fill: #F5A623; }

.ffs-finder {
	background: #fff; border: 1px solid var(--ffs-border);
	border-radius: var(--ffs-radius); box-shadow: var(--ffs-shadow); padding: 20px;
}
.ffs-finder__title { font-size: 1.25rem; margin-bottom: 1rem; }
.ffs-field { margin: 0 0 .9rem; }
.ffs-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; color: var(--ffs-navy); }
.ffs-field input, .ffs-field select {
	width: 100%; min-height: 46px; padding: .55rem .75rem;
	border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm);
	font-size: 1rem; background: #fff; color: var(--ffs-text);
}
.ffs-finder__reassure { display: flex; align-items: center; gap: .35rem; justify-content: center; color: var(--ffs-green); font-weight: 600; font-size: .85rem; margin: .75rem 0 0; }

/* =========================================================================
   Trust badges
   ========================================================================= */
.ffs-trust { background: #fff; border-bottom: 1px solid var(--ffs-border); }
.ffs-trust__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-block: 18px; }
.ffs-trust__item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--ffs-navy); }
.ffs-trust__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: var(--ffs-light-blue); color: var(--ffs-primary); flex: none; }

/* =========================================================================
   Generic section spacing + placeholder
   ========================================================================= */
.ffs-categories, .ffs-chips, .ffs-featured, .ffs-benefits, .ffs-steps, .ffs-testimonials, .ffs-guides, .ffs-faq { padding-block: 36px; }
.ffs-benefits { background: var(--ffs-light-blue); }
.ffs-steps { background: var(--ffs-light-blue); }

.ffs-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; aspect-ratio: 4 / 3; background: var(--ffs-light-blue);
	color: var(--ffs-primary); border-radius: var(--ffs-radius-sm);
}
.ffs-placeholder--hero { aspect-ratio: 16 / 9; }

/* ---- Category tiles ---- */
.ffs-categories__grid { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-category-card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius);
	overflow: hidden; box-shadow: var(--ffs-shadow-sm); color: var(--ffs-text);
	transition: box-shadow .15s ease, transform .1s ease;
}
.ffs-category-card:hover { text-decoration: none; box-shadow: var(--ffs-shadow); transform: translateY(-2px); }
.ffs-category-card__media img, .ffs-category-card__media .ffs-placeholder { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ffs-category-card__body { padding: 16px; display: flex; flex-direction: column; gap: .35rem; }
.ffs-category-card__title { font-weight: 800; color: var(--ffs-navy); font-size: 1.05rem; }
.ffs-category-card__text { color: var(--ffs-muted); font-size: .9rem; }
.ffs-category-card__link { color: var(--ffs-primary); font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; margin-top: .25rem; }

/* ---- Chips ---- */
.ffs-chips__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.ffs-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
	border: 1px solid var(--ffs-border); border-radius: 999px; background: #fff;
	color: var(--ffs-navy); font-weight: 600; font-size: .9rem;
}
.ffs-chip:hover { border-color: var(--ffs-primary); color: var(--ffs-primary); text-decoration: none; background: var(--ffs-light-blue); }

/* ---- Product grid (shared with WooCommerce) ---- */
.ffs-products-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--ffs-gap); padding: 0; margin: 0; }
.ffs-product-card {
	display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius);
	overflow: hidden; box-shadow: var(--ffs-shadow-sm); position: relative;
}
.ffs-product-card__media { display: block; position: relative; }
.ffs-product-card__media img, .ffs-product-card__media .ffs-placeholder { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.ffs-product-card__badge {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	background: var(--ffs-green); color: #fff; font-size: .72rem; font-weight: 800;
	padding: .25rem .55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.ffs-product-card__body { padding: 14px; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.ffs-product-card__title { font-size: .98rem; font-weight: 700; margin: 0; }
.ffs-product-card__title a { color: var(--ffs-navy); }
.ffs-product-card__price { font-weight: 800; color: var(--ffs-navy); margin-top: auto; }
.ffs-product-card__price del { color: var(--ffs-muted); font-weight: 500; margin-right: .35rem; }
.ffs-product-card__price ins { text-decoration: none; color: var(--ffs-green); }

.ffs-empty { text-align: center; color: var(--ffs-muted); }

/* ---- Benefits ---- */
.ffs-benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ffs-gap); }
.ffs-benefit { text-align: center; }
.ffs-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; color: var(--ffs-primary); box-shadow: var(--ffs-shadow-sm); margin-bottom: .6rem; }
.ffs-benefit__title { font-size: 1rem; margin-bottom: .25rem; }
.ffs-benefit__text { color: var(--ffs-muted); font-size: .88rem; margin: 0; }

/* ---- How it works ---- */
.ffs-steps__list { list-style: none; display: grid; gap: 20px; padding: 0; margin: 0; counter-reset: step; }
.ffs-step { background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); padding: 22px; text-align: center; }
.ffs-step__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ffs-primary); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .6rem; }
.ffs-step__title { font-size: 1.05rem; margin-bottom: .25rem; }
.ffs-step__text { color: var(--ffs-muted); margin: 0; }

/* ---- Testimonials ---- */
.ffs-testimonials__grid { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-testimonial { background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); padding: 22px; box-shadow: var(--ffs-shadow-sm); margin: 0; }
.ffs-testimonial__quote { font-size: 1.02rem; margin: .75rem 0; color: var(--ffs-text); }
.ffs-testimonial__author { display: flex; align-items: center; gap: .6rem; }
.ffs-testimonial__avatar { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.ffs-testimonial__avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--ffs-light-blue); color: var(--ffs-primary); font-weight: 800; }
.ffs-testimonial__name { font-weight: 700; color: var(--ffs-navy); }

/* ---- Guides ---- */
.ffs-guides__grid { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-guide-card { background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); overflow: hidden; box-shadow: var(--ffs-shadow-sm); }
.ffs-guide-card__media { display: block; }
.ffs-guide-card__media img, .ffs-guide-card__media .ffs-placeholder { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.ffs-guide-card__body { padding: 16px; }
.ffs-guide-card__title { font-size: 1.05rem; margin-bottom: .4rem; }
.ffs-guide-card__title a { color: var(--ffs-navy); }
.ffs-guide-card__excerpt { color: var(--ffs-muted); font-size: .9rem; margin: 0 0 .6rem; }
.ffs-guide-card__link { font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; }

/* ---- FAQ accordion ---- */
.ffs-faq__inner { max-width: 760px; }
.ffs-accordion { border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); overflow: hidden; background: #fff; }
.ffs-accordion__item + .ffs-accordion__item { border-top: 1px solid var(--ffs-border); }
.ffs-accordion__heading { margin: 0; }
.ffs-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1rem 1.1rem; background: #fff; border: 0; cursor: pointer; text-align: left;
	font-size: 1rem; font-weight: 700; color: var(--ffs-navy); min-height: 44px;
}
.ffs-accordion__trigger:hover { background: var(--ffs-light-blue); }
.ffs-accordion__chevron { transition: transform .2s ease; flex: none; }
.ffs-accordion__trigger[aria-expanded="true"] .ffs-accordion__chevron { transform: rotate(180deg); }
.ffs-accordion__panel { padding: 0 1.1rem 1rem; color: var(--ffs-muted); }
.ffs-accordion__panel p { margin: 0; }

/* =========================================================================
   Breadcrumbs
   ========================================================================= */
.ffs-breadcrumbs { background: var(--ffs-light-blue); font-size: .85rem; }
.ffs-breadcrumbs .container { padding-block: .6rem; }
.ffs-breadcrumbs a { color: var(--ffs-primary); }
.ffs-breadcrumbs .sep { margin: 0 .4rem; color: var(--ffs-muted); }

/* =========================================================================
   Footer
   ========================================================================= */
.ffs-footer { background: #0a1f3d; color: #cdd9ec; margin-top: 40px; }
.ffs-footer a { color: #cdd9ec; }
.ffs-footer a:hover { color: #fff; }
.ffs-footer__grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
.ffs-footer__logo { margin-bottom: .75rem; }
.ffs-footer__logo .custom-logo,
.ffs-footer__logo img { max-height: 56px; width: auto; max-width: 100%; height: auto; display: block; }
.ffs-footer__brand .ffs-logo-name { color: #fff; }
.ffs-footer__brand .ffs-logo-mark { background: rgba(255,255,255,.1); }
.ffs-footer__tagline { color: #9fb3d1; margin: .75rem 0 1rem; }
.ffs-social { display: flex; gap: 10px; }
.ffs-social__link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.ffs-social__link:hover { background: var(--ffs-primary); }
.ffs-footer__heading { color: #fff; font-size: 1rem; margin-bottom: .85rem; }
.ffs-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ffs-footer__newsletter p { color: #9fb3d1; font-size: .9rem; }
.ffs-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.ffs-newsletter-form input { min-height: 46px; padding: .6rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--ffs-radius-sm); background: rgba(255,255,255,.06); color: #fff; }
.ffs-newsletter-form input::placeholder { color: #88a0c4; }
.ffs-footer__contact { font-style: normal; color: #9fb3d1; font-size: .85rem; line-height: 1.7; margin: 0 0 1rem; }
.ffs-footer__contact a { color: #cfe0f5; }
.ffs-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.ffs-footer__bottom-inner { display: flex; flex-direction: column; gap: 1.2rem; padding-block: 18px; font-size: .82rem; }
.ffs-footer__bottom-left { display: flex; flex-direction: column; gap: .4rem; }
.ffs-footer__bottom-right { display: flex; flex-direction: column; gap: .7rem; }
.ffs-owner { margin: 0; color: #9fb3d1; font-size: .82rem; }
.ffs-copyright { margin: 0; color: #9fb3d1; }
.ffs-legal-nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.ffs-legal-nav a { color: #9fb3d1; }
.ffs-legal-nav a:hover { color: #fff; }

@media (min-width: 782px) {
	.ffs-footer__bottom-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
	.ffs-footer__bottom-right { align-items: flex-end; }
	.ffs-footer__bottom-right .ffs-legal-nav { justify-content: flex-end; }
}

/* Payment method badges */
.ffs-payments { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.ffs-pay { display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 40px; padding: 0 8px; border-radius: 4px; background: #fff; color: #1a1f36; font-size: .7rem; font-weight: 800; letter-spacing: .3px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ffs-pay--visa { color: #1a1f71; }
.ffs-pay--amex { background: #1f72cd; color: #fff; }
.ffs-pay--discover { color: #e9730c; font-size: .62rem; }
.ffs-pay--apple { background: #000; color: #fff; }
.ffs-pay--gpay { color: #3c4043; }
.ffs-pay--gpay .g-blue { color: #4285f4; font-weight: 900; }
.ffs-pay--mc { gap: 0; }
.ffs-pay--mc span { width: 15px; height: 15px; border-radius: 50%; display: inline-block; }
.ffs-pay--mc span:first-child { background: #eb001b; }
.ffs-pay--mc span:last-child { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }

/* =========================================================================
   Toast notifications
   ========================================================================= */
.ffs-toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.has-mobile-bottom-nav .ffs-toast-wrap { bottom: 70px; }
.ffs-toast {
	display: flex; align-items: center; gap: 1rem;
	background: var(--ffs-navy); color: #fff; padding: .85rem 1.1rem;
	border-radius: var(--ffs-radius-sm); box-shadow: var(--ffs-shadow);
	transform: translateY(20px); opacity: 0; transition: transform .3s ease, opacity .3s ease;
	max-width: 90vw;
}
.ffs-toast.is-visible { transform: translateY(0); opacity: 1; }
.ffs-toast__msg { font-weight: 600; }
.ffs-toast__link { color: #9fd6ab; font-weight: 700; white-space: nowrap; }

/* =========================================================================
   Content pages (blog / single / page)
   ========================================================================= */
.ffs-content { padding-block: 36px; }
.ffs-content .entry-title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
.ffs-post-list { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.ffs-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 .6rem; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm); margin: 0 3px; color: var(--ffs-navy); }
.ffs-pagination .current { background: var(--ffs-primary); color: #fff; border-color: var(--ffs-primary); }

/* =========================================================================
   Responsive, tablet
   ========================================================================= */
@media (min-width: 600px) {
	.ffs-trust__row { grid-template-columns: repeat(4, 1fr); }
	.ffs-benefits__grid { grid-template-columns: repeat(4, 1fr); }
	.ffs-categories__grid { grid-template-columns: 1fr 1fr; }
	.ffs-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
	.ffs-guides__grid { grid-template-columns: repeat(3, 1fr); }
	.ffs-steps__list { grid-template-columns: repeat(3, 1fr); }
	.ffs-products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   Responsive, desktop
   ========================================================================= */
@media (min-width: 900px) {
	.ffs-header__inner { padding-block: 16px; }
	.ffs-menu-toggle { display: none; }
	.ffs-header__search { display: block; max-width: 680px; flex: 1; }
	.ffs-action__label { display: block; }
	.ffs-primary-nav { display: block; }
	.ffs-bottom-nav { display: none; }
	.has-mobile-bottom-nav { padding-bottom: 0; }

	.ffs-hero { padding-block: 56px 64px; }
	.ffs-hero__grid { grid-template-columns: 1.2fr .9fr; align-items: start; gap: 48px; }
	.ffs-hero__image { margin-top: 1.5rem; }

	.ffs-categories__grid { grid-template-columns: repeat(4, 1fr); }
	.ffs-products-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

	.ffs-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================================
   Storefront redesign (catalog layout)
   ========================================================================= */

/* ---- Section heads shared ---- */
.ffs-section-head { text-align: center; max-width: 720px; margin: 0 auto 1.75rem; }
.ffs-section-intro { color: var(--ffs-muted); margin: .25rem 0 0; }
.ffs-section-title--left { text-align: left; }

/* ---- Search with category dropdown ---- */
.ffs-search-form--scoped {
	background: #fff; border: 1px solid var(--ffs-border); border-radius: 999px; padding: 3px 3px 3px 0;
}
.ffs-search-form--scoped .ffs-search-field { border: 0; background: transparent; border-radius: 0; }
.ffs-search-cat {
	flex: none; width: 190px; max-width: 40%; border: 0; border-right: 1px solid var(--ffs-border);
	background: transparent; padding: 0 1rem; min-height: 44px; font-size: .9rem;
	color: var(--ffs-navy); font-weight: 600; border-radius: 999px 0 0 999px;
}

/* ---- Category nav dropdowns (desktop) ---- */
.ffs-primary-nav .ffs-menu { flex-wrap: wrap; }
.ffs-menu .menu-item-has-children { position: relative; }
.ffs-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.ffs-menu .sub-menu {
	display: block; position: absolute; top: 100%; left: 0; z-index: 30;
	min-width: 220px; background: #fff; border: 1px solid var(--ffs-border);
	border-radius: var(--ffs-radius-sm); box-shadow: var(--ffs-shadow); padding: 6px;
	list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.ffs-menu .menu-item-has-children:hover > .sub-menu,
.ffs-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ffs-menu .sub-menu a { display: block; padding: .5rem .75rem; border-radius: 7px; font-weight: 600; font-size: .9rem; }
.ffs-menu .sub-menu a:hover { background: var(--ffs-light-blue); }

/* Mobile: reveal nested categories inline */
.ffs-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; }

/* ---- Hero (storefront) ---- */
.ffs-hero__media { border-radius: var(--ffs-radius); overflow: hidden; }
.ffs-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Shop by MERV ---- */
.ffs-merv { padding-block: 40px; }
.ffs-merv__grid { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-merv-card {
	background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius);
	padding: 22px; box-shadow: var(--ffs-shadow-sm); display: flex; flex-direction: column;
	gap: .5rem; position: relative; overflow: hidden;
}
.ffs-merv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--ffs-primary); }
.ffs-merv-card--8::before { background: #6b8cae; }
.ffs-merv-card--11::before { background: var(--ffs-primary); }
.ffs-merv-card--13::before { background: var(--ffs-green); }
.ffs-merv-card__badge {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	width: 70px; height: 70px; border-radius: 14px; background: var(--ffs-light-blue);
	color: var(--ffs-navy); line-height: 1; margin-bottom: .25rem;
}
.ffs-merv-card__num { font-size: 1.8rem; font-weight: 800; }
.ffs-merv-card__merv { font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
.ffs-merv-card__title { font-size: 1.2rem; margin: 0; }
.ffs-merv-card__title a { color: var(--ffs-navy); }
.ffs-merv-card__text { color: var(--ffs-muted); margin: 0; flex: 1; }
.ffs-merv-card__meta { color: var(--ffs-muted); font-size: .82rem; margin: 0 0 .5rem; }

/* ---- Finder (shop by size) ---- */
.ffs-finder-sec { background: var(--ffs-navy); color: #fff; padding-block: 40px; }
.ffs-finder-sec__inner { display: grid; gap: 24px; align-items: center; }
.ffs-finder-sec .ffs-section-title { color: #fff; }
.ffs-finder-sec__copy .ffs-section-intro { color: #b9cae6; }
.ffs-finder-sec__hint { display: flex; align-items: center; gap: .4rem; color: #9fd6ab; font-weight: 600; margin: .75rem 0 0; }
.ffs-finder { background: #fff; border-radius: var(--ffs-radius); box-shadow: var(--ffs-shadow); padding: 22px; }
.ffs-finder__row { display: grid; gap: 14px; }

/* ---- Product rows (scroll-snap carousels) ---- */
.ffs-product-section { padding-block: 36px; }
.ffs-product-section--alt { background: var(--ffs-light-blue); }
.ffs-product-row {
	list-style: none; margin: 0; padding: 4px; display: grid; gap: var(--ffs-gap);
	grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
	overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.ffs-product-row > li { scroll-snap-align: start; }

/* ---- Water category tiles ---- */
.ffs-water { padding-block: 40px; }
.ffs-water__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ffs-gap); }
.ffs-water-tile {
	display: flex; flex-direction: column; align-items: stretch; text-align: center;
	background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius);
	overflow: hidden; box-shadow: var(--ffs-shadow-sm); color: var(--ffs-navy); font-weight: 700;
	transition: transform .1s ease, box-shadow .15s ease;
}
.ffs-water-tile:hover { transform: translateY(-2px); box-shadow: var(--ffs-shadow); text-decoration: none; }
.ffs-water-tile__media img, .ffs-water-tile__media .ffs-placeholder { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ffs-water-tile__title { padding: .85rem .5rem; }

/* ---- MERV explainer ---- */
.ffs-explainer { padding-block: 40px; background: var(--ffs-light-blue); }
.ffs-explainer__grid { display: grid; grid-template-columns: 1fr; gap: var(--ffs-gap); }
.ffs-explainer__item { background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); padding: 20px; }
.ffs-explainer__q { font-size: 1.05rem; margin: 0 0 .4rem; }
.ffs-explainer__a { color: var(--ffs-muted); margin: 0; }

/* ---- Category drilldown subcategory tiles ---- */
.ffs-subcat-tiles { width: 100%; margin-bottom: 1.5rem; }
.ffs-subcat-tiles__title { font-size: 1.1rem; margin-bottom: .75rem; }
.ffs-subcat-tiles__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ffs-subcat-tile {
	display: flex; flex-direction: column; gap: 2px; padding: .85rem 1rem;
	border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm); background: #fff;
	color: var(--ffs-navy); font-weight: 700;
}
.ffs-subcat-tile:hover { border-color: var(--ffs-primary); color: var(--ffs-primary); text-decoration: none; background: var(--ffs-light-blue); }
.ffs-subcat-tile__count { font-size: .78rem; color: var(--ffs-muted); font-weight: 500; }

/* ---- Storefront responsive ---- */
@media (min-width: 600px) {
	.ffs-merv__grid { grid-template-columns: repeat(3, 1fr); }
	.ffs-water__grid { grid-template-columns: repeat(4, 1fr); }
	.ffs-explainer__grid { grid-template-columns: 1fr 1fr; }
	.ffs-finder__row { grid-template-columns: 2fr 1fr; }
	.ffs-subcat-tiles__list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.ffs-finder-sec__inner { grid-template-columns: 1fr 1.1fr; }
	.ffs-subcat-tiles__list { grid-template-columns: repeat(4, 1fr); }
	.ffs-water__grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   Storefront polish, top bar, accent button, hero slider, card category
   ========================================================================= */

/* Accent button (hero CTA) */
.ffs-btn--accent { background: var(--ffs-green); color: #fff; }
.ffs-btn--accent:hover { background: #2a9244; color: #fff; }

.ffs-icon.rotate-l { transform: rotate(90deg); }
.ffs-icon.rotate-r { transform: rotate(-90deg); }

/* ---- Utility top bar ---- */
.ffs-topbar { background: #061f44; color: #eef3fa; font-size: .82rem; }
.ffs-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.ffs-topbar__text { margin: 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ffs-topbar__phone { margin: 0; font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; }
/* Contact slot links keep one colour and never underline, in every state. */
.ffs-topbar__phone,
.ffs-topbar__phone a,
.ffs-topbar__phone a:link,
.ffs-topbar__phone a:visited,
.ffs-topbar__phone a:hover,
.ffs-topbar__phone a:focus,
.ffs-topbar__phone a:active { color: #ffffff; font-weight: 500; text-decoration: none; }
.ffs-topbar__phone a .ffs-icon { color: #ffffff; }
.ffs-topbar__nav { display: flex; gap: 1.1rem; }
.ffs-topbar__nav a { color: #eef3fa; }
/* Top header links never underline on hover */
.ffs-topbar a:hover, .ffs-topbar__phone a:hover, .ffs-topbar__nav a:hover { color: #ffffff; text-decoration: none; }
@media (max-width: 599px) {
	.ffs-topbar__msg { display: none; }
	.ffs-topbar__inner { justify-content: space-between; }
}

/* Darker navy header accent under primary nav */
.ffs-primary-nav { background: var(--ffs-navy); border-top: 0; }
.ffs-primary-nav .ffs-menu > .menu-item > a { color: #fff; }
.ffs-primary-nav .ffs-menu > .menu-item > a:hover { background: rgba(255,255,255,.12); color: #fff; }
.ffs-primary-nav .ffs-menu .menu-item-has-children > a::after { opacity: .8; }

/* ---- Hero slider ---- */
.ffs-hero { position: relative; padding: 0; overflow: hidden; background: linear-gradient(180deg, var(--ffs-light-blue), #fff); }
.ffs-hero__track { position: relative; }
.ffs-slide { display: none; }
.ffs-slide.is-active { display: block; animation: ffs-fade .5s ease; }
@keyframes ffs-fade { from { opacity: .25; } to { opacity: 1; } }
.ffs-slide__grid { display: grid; gap: 24px; align-items: center; padding-block: 36px 40px; }
.ffs-slide__headline { font-size: clamp(1.8rem, 1.2rem + 4vw, 3rem); margin-bottom: .5rem; }
.ffs-slide__subtext { font-size: 1.05rem; color: var(--ffs-muted); margin-bottom: 1.25rem; max-width: 48ch; }
.ffs-slide__media { border-radius: var(--ffs-radius); overflow: hidden; }
.ffs-slide__media img { width: 100%; height: 100%; object-fit: cover; }

.ffs-hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
	background: rgba(8,43,95,.85); color: #fff; display: none; align-items: center; justify-content: center;
}
.ffs-hero__arrow:hover { background: var(--ffs-navy); }
.ffs-hero__arrow--prev { left: 12px; }
.ffs-hero__arrow--next { right: 12px; }
.ffs-hero__dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.ffs-hero__dot { width: 11px; height: 11px; border-radius: 999px; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; box-shadow: 0 0 0 1px rgba(8,43,95,.25); }
.ffs-hero__dot.is-active { background: #fff; }

@media (min-width: 900px) {
	.ffs-slide__grid { grid-template-columns: 1.1fr .9fr; padding-block: 60px 64px; }
	.ffs-hero__arrow { display: inline-flex; }
}

/* ---- Product card category label ---- */
.ffs-product-card__cat {
	display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; color: var(--ffs-primary); margin-bottom: .15rem;
}
.ffs-product-card__cat:hover { text-decoration: underline; }

/* ---- Section heading (storefront, left-aligned with accent rule) ---- */
.ffs-section-head--left { text-align: left; max-width: none; margin-bottom: 1.25rem; }
.ffs-product-section .ffs-section-title,
.ffs-section-head--left .ffs-section-title { position: relative; }
.ffs-product-section .ffs-section-title { text-align: left; padding-bottom: .5rem; }
.ffs-product-section .ffs-section-title::after,
.ffs-dimensions .ffs-section-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px;
	background: var(--ffs-green); border-radius: 4px;
}

/* ---- Shop by dimension tiles ---- */
.ffs-dimensions__grid {
	list-style: none; margin: 0 0 1rem; padding: 0;
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.ffs-dim-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; padding: 1.1rem .5rem; text-align: center;
	background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm);
	color: var(--ffs-navy); transition: transform .1s ease, box-shadow .15s ease, border-color .15s ease;
}
.ffs-dim-tile:hover { transform: translateY(-2px); box-shadow: var(--ffs-shadow-sm); border-color: var(--ffs-primary); text-decoration: none; }
.ffs-dim-tile__size { font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
.ffs-dim-tile__wld { font-size: .72rem; color: var(--ffs-muted); }
.ffs-dimensions__note { color: var(--ffs-muted); font-size: .9rem; margin: 0; }

@media (min-width: 600px) { .ffs-dimensions__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .ffs-dimensions__grid { grid-template-columns: repeat(6, 1fr); } }

/* ---- Footer contact list ---- */
.ffs-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ffs-contact-list li { display: flex; align-items: flex-start; gap: .5rem; color: #9fb3d1; font-size: .9rem; }
.ffs-contact-list li a { color: #fff; font-weight: 700; }
.ffs-contact-list .ffs-icon { color: var(--ffs-green); flex: none; margin-top: 2px; }

/* =========================================================================
   Sample-match overrides (homepage to provided design)
   ========================================================================= */

/* Announcement / top bar: blue, message left-center, phone slot right */
.ffs-announcement { background: var(--ffs-primary); color: #fff; }
.ffs-announcement__inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 38px; position: relative; }
.ffs-announcement__msg { margin: 0; text-align: center; }
.ffs-announcement__phone { position: absolute; right: 0; top: 50%; transform: translateY(-50%); min-width: 120px; text-align: right; }
.ffs-announcement__phone a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.ffs-announcement__phone a:hover { text-decoration: underline; }
@media (max-width: 599px) { .ffs-announcement__phone { position: static; transform: none; min-width: 0; } }

/* Branding: logo image + tagline beneath */
.ffs-branding { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ffs-branding .custom-logo-link { display: inline-block; }
.ffs-branding .custom-logo { max-height: 96px; width: auto; }
.ffs-branding__tagline { margin: 0; font-size: .78rem; color: var(--ffs-muted); line-height: 1.2; }

/* Primary nav: white background, centered, dark text (per sample) */
.ffs-primary-nav { background: #fff; border-top: 1px solid var(--ffs-border); }
.ffs-primary-nav .container { display: flex; justify-content: center; }
.ffs-primary-nav .ffs-menu { justify-content: center; }
.ffs-primary-nav .ffs-menu > .menu-item > a { color: var(--ffs-navy); font-weight: 600; }
.ffs-primary-nav .ffs-menu > .menu-item > a:hover { background: var(--ffs-light-blue); color: var(--ffs-primary); }

/* Hero: reset slider overrides, lifestyle background, two-column with finder card */
.ffs-hero { padding: 0; overflow: visible; background: linear-gradient(180deg, var(--ffs-light-blue), #fff); background-size: cover; background-position: center; }
.ffs-hero__grid { display: grid; gap: 28px; padding-block: 36px 44px; align-items: start; }
.ffs-hero__headline { font-size: clamp(1.9rem, 1.2rem + 4vw, 3rem); margin-bottom: .6rem; color: var(--ffs-navy); }
.ffs-hero__subtext { font-size: 1.05rem; color: var(--ffs-text); margin-bottom: 1.25rem; max-width: 46ch; }
.ffs-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1rem; }
.ffs-hero__rating { display: flex; align-items: center; gap: .5rem; color: var(--ffs-muted); font-size: .92rem; margin: 0; }

/* Filter Finder card */
.ffs-finder-card { background: #fff; border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius); box-shadow: var(--ffs-shadow); padding: 22px; }
.ffs-finder-card__title { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; margin: 0 0 .25rem; color: var(--ffs-navy); }
.ffs-finder-card__title .ffs-icon { color: var(--ffs-primary); }
.ffs-finder-card__sub { color: var(--ffs-muted); font-size: .9rem; margin: 0 0 1rem; }
.ffs-finder-card .ffs-field { margin: 0 0 .85rem; }
.ffs-finder-card .ffs-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; color: var(--ffs-navy); }
.ffs-finder-card .ffs-field input, .ffs-finder-card .ffs-field select {
	width: 100%; min-height: 46px; padding: .55rem .75rem; font-size: 1rem;
	border: 1px solid var(--ffs-border); border-radius: var(--ffs-radius-sm); background: #fff; color: var(--ffs-text);
}
.ffs-finder-card__reassure { text-align: center; color: var(--ffs-muted); font-size: .85rem; margin: .75rem 0 0; }

/* Section bar: heading on the left, "View all" link on the right */
.ffs-section-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.ffs-section-bar .ffs-section-title { margin: 0; }
.ffs-section-bar__link { font-weight: 700; color: var(--ffs-primary); white-space: nowrap; }

/* Social placeholder links (URL not set yet) stay visible but non-clickable cue */
.ffs-social__link.is-placeholder { opacity: .7; }

/* Modern select fields across the whole site (custom chevron, no native arrow) */
.ffs-finder-card select,
.ffs-finder select,
.ffs-field select,
#review_form select,
.woocommerce div.product form.cart .variations select,
.woocommerce-ordering select,
.woocommerce .woocommerce-ordering select.orderby {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	min-height: 46px;
	padding: .55rem 2.5rem .55rem .9rem;
	font-size: .95rem; line-height: 1.3; font-weight: 500;
	color: var(--ffs-navy);
	background-color: #fff;
	border: 1px solid var(--ffs-border);
	border-radius: var(--ffs-radius-sm);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .9rem center; background-size: 14px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ffs-finder-card select:hover,
.ffs-finder select:hover,
.ffs-field select:hover,
#review_form select:hover,
.woocommerce div.product form.cart .variations select:hover,
.woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select.orderby:hover { border-color: #b7c2d0; }
.ffs-finder-card select:focus,
.ffs-finder select:focus,
.ffs-field select:focus,
#review_form select:focus,
.woocommerce div.product form.cart .variations select:focus,
.woocommerce-ordering select:focus,
.woocommerce .woocommerce-ordering select.orderby:focus {
	outline: none; border-color: var(--ffs-primary); box-shadow: 0 0 0 3px rgba(18, 102, 214, .15);
}
/* WooCommerce ordering dropdown sizing on shop/category pages */
.woocommerce .woocommerce-ordering select.orderby { max-width: 100%; }

/* Search field focus state */
.ffs-search-field:focus { outline: none; border-color: var(--ffs-primary); box-shadow: 0 0 0 3px rgba(18, 102, 214, .15); }

/* Category archive banner image (above the product grid) */
.ffs-cat-banner { width: 100%; margin: 0 0 1.5rem; border-radius: var(--ffs-radius); overflow: hidden; }
.ffs-cat-banner__img { width: 100%; max-height: 280px; object-fit: cover; display: block; }
.ffs-cat-banner .ffs-placeholder { aspect-ratio: 5 / 1; }

/* Cart icon inside add-to-cart buttons */
.ffs-btn .ffs-icon, .woocommerce ul.products li.product .button .ffs-icon { margin-right: .15rem; }

@media (min-width: 900px) {
	/* form column +5% width (320 -> 336px) */
	.ffs-hero__grid { grid-template-columns: 1.5fr minmax(0, 336px); gap: 40px; padding-block: 48px 56px; }
	/* content column: reduce width by 20% */
	.ffs-hero__content { width: 80%; }
	/* finder form: shift left by 20% of its own width */
	.ffs-finder-card { transform: translateX(-20%); }
}

/* -------------------------------------------------------------------------
 * Modern table styling — applies to every <table> across the theme
 * (content, Specifications, WooCommerce cart/checkout/order, etc.)
 * ---------------------------------------------------------------------- */
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 1.5rem;
	font-size: .95rem;
	color: var(--ffs-text);
	background: #fff;
	border: 1px solid var(--ffs-border);
	border-radius: var(--ffs-radius);
	overflow: hidden; /* clip rows to the rounded corners */
}
table caption {
	caption-side: top;
	text-align: left;
	font-weight: 700;
	color: var(--ffs-navy);
	padding: 0 0 .6rem;
}
table th,
table td {
	padding: .75rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--ffs-border);
}
table thead th,
table > tr:first-child th {
	background: var(--ffs-light-blue);
	color: var(--ffs-navy);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .01em;
	white-space: nowrap;
	border-bottom: 1px solid var(--ffs-border);
}
/* Zebra striping + hover feedback */
table tbody tr:nth-child(even) { background: rgba(18, 102, 214, .035); }
table tbody tr:hover { background: rgba(18, 102, 214, .07); }
/* No trailing border on the last row for a clean rounded base */
table tbody tr:last-child td,
table tr:last-child td { border-bottom: 0; }
/* Row headers (e.g. Specifications key column) */
table th[scope="row"] { color: var(--ffs-navy); font-weight: 600; background: transparent; white-space: normal; }

/* Horizontal scroll for wide tables on small screens */
@media (max-width: 600px) {
	table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Keep functional/layout tables clean (not boxed like data tables) */
.woocommerce .variations,
.woocommerce table.variations,
.variations {
	border: 0; border-radius: 0; overflow: visible; background: transparent;
}
.woocommerce .variations th,
.woocommerce .variations td,
.variations th,
.variations td { border-bottom: 0; background: transparent; padding: .35rem 0; }
.woocommerce .variations tr:hover,
.variations tr:hover { background: transparent; }
