/* ==========================================================================
   Farmers Basket — main stylesheet
   Clean white + navy + honey. Colours come from Customizer as CSS vars
   (see inc/customizer.php); everything else is derived from them.
   ========================================================================== */

:root {
	--fb-primary: #12233d;
	--fb-accent: #c8962e;
	--fb-bg: #ffffff;
	--fb-text: #1f2a3a;
	--fb-muted: color-mix(in srgb, var(--fb-text) 60%, var(--fb-bg));
	--fb-line: color-mix(in srgb, var(--fb-primary) 14%, var(--fb-bg));
	--fb-soft: color-mix(in srgb, var(--fb-primary) 4%, var(--fb-bg));
	--fb-pill: color-mix(in srgb, var(--fb-primary) 9%, var(--fb-bg));
	--fb-surface: #ffffff;
	--fb-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--fb-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--fb-radius: 4px;
	--fb-max: 1320px;
	--fb-gutter: clamp(16px, 4vw, 40px);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--fb-bg);
	color: var(--fb-text);
	font-family: var(--fb-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fb-primary); text-decoration: none; }
a:hover { color: var(--fb-accent); }
h1, h2, h3, h4 {
	font-family: var(--fb-serif);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 .5em;
	color: var(--fb-primary);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--fb-max); margin: 0 auto; padding: 0 var(--fb-gutter); }
.text-center { text-align: center; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 8px 12px; }

.eyebrow {
	font-size: .74rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--fb-muted);
	margin-bottom: 1rem;
}

/* Buttons ---------------------------------------------------------------- */
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
	display: inline-block;
	background: var(--fb-primary);
	color: #fff;
	border: 1px solid var(--fb-primary);
	border-radius: var(--fb-radius);
	padding: .9em 1.8em;
	font-family: var(--fb-sans);
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: color-mix(in srgb, var(--fb-primary) 85%, #fff);
	border-color: color-mix(in srgb, var(--fb-primary) 85%, #fff);
	color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt { background: var(--fb-primary); color: #fff; }
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: color-mix(in srgb, var(--fb-primary) 85%, #fff); color: #fff; }
.button--large { padding: 1.1em 2.4em; }

.link-arrow {
	font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

/* Announcement ----------------------------------------------------------- */
.announcement {
	background: var(--fb-primary);
	color: #fff;
	font-size: .8rem;
	letter-spacing: .05em;
	text-align: center;
	padding: .55em 0;
}
.announcement a { color: #fff; text-decoration: underline; }
.announcement strong { color: var(--fb-accent); font-weight: 600; }

/* Header ----------------------------------------------------------------- */
.site-header {
	background: var(--fb-bg);
	border-bottom: 1px solid var(--fb-line);
	position: sticky; top: 0; z-index: 50;
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 22px; padding-bottom: 18px;
}
.site-brand { flex: 0 0 auto; }
.site-wordmark {
	font-family: var(--fb-serif);
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--fb-primary);
	white-space: nowrap;
}
.site-wordmark:hover { color: var(--fb-primary); }
/* Header logo. Selector is specific enough to beat WooCommerce's ".woocommerce-page img { height: auto }",
   so the logo is the same size on shop pages as everywhere else. */
.site-header .site-logo { display: block; line-height: 0; }
.site-header .site-logo .site-logo__img { height: 60px; width: auto; max-width: none; }

/* Brand logo above the title on selected pages (Our Story, FAQ, Become a Vendor...) */
.page-logo { text-align: center; margin: 0 auto 28px; }
.page-logo img { display: inline-block; max-width: 70%; height: auto; }
.page-logo + .page-title { text-align: left; }
.custom-logo { max-height: 56px; width: auto; }

.header-actions { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.header-actions > a { color: var(--fb-primary); display: inline-flex; align-items: center; position: relative; }
.header-actions > a:hover { color: var(--fb-accent); }
.header-cart__count,
.header-wishlist__count {
	position: absolute; top: -7px; right: -10px;
	background: var(--fb-accent); color: #fff;
	font-size: .65rem; min-width: 17px; height: 17px; border-radius: 9px;
	display: grid; place-items: center; padding: 0 4px;
}
.header-wishlist__count[hidden] { display: none; }

/* Search */
.header-search { position: relative; width: clamp(200px, 24vw, 320px); }
.header-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fb-muted); pointer-events: none; }
.header-search input[type="search"] {
	width: 100%;
	border: 1px solid var(--fb-line);
	border-radius: 999px;
	padding: .6em 1em .6em 2.5em;
	font-size: .88rem;
	background: var(--fb-bg);
}
.header-search input[type="search"]:focus { border-color: var(--fb-primary); outline: none; }
.primary-nav__search { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px 8px 8px 0; cursor: pointer; }
.nav-toggle__bar { display: block; width: 22px; height: 1.5px; background: var(--fb-primary); margin: 5px 0; }

/* Primary nav with dropdowns */
.primary-nav { border-top: 1px solid var(--fb-line); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 38px); }
.primary-nav .menu > li { position: relative; }
.primary-nav a {
	display: flex; align-items: center; gap: 6px;
	padding: 14px 0;
	font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
	color: var(--fb-primary);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--fb-accent); }
.primary-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px; height: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 2px;
}
.primary-nav .sub-menu {
	display: none;
	position: absolute; left: -20px; top: 100%;
	min-width: 230px;
	background: var(--fb-bg);
	border: 1px solid var(--fb-line);
	box-shadow: 0 12px 30px rgba(18, 35, 61, .08);
	padding: 10px 20px;
	z-index: 20;
}
.primary-nav .sub-menu a { padding: 9px 0; font-size: .74rem; letter-spacing: .12em; }
.primary-nav .sub-menu__all a { font-weight: 600; }
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu { display: block; }

@media (max-width: 960px) {
	.header-actions__search { display: none; }
	.primary-nav__search { display: block; padding: 14px 0 6px; }
	.primary-nav__search .header-search { width: 100%; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-header__inner { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
	.primary-nav { display: none; }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; padding: 4px 0 12px; }
	.primary-nav a { padding: 12px 0; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
	.admin-bar .site-header { top: 0; }
	.header-actions { gap: 16px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative;
	padding: clamp(70px, 11vw, 150px) 0;
	text-align: center;
	overflow: hidden;
	background: var(--fb-soft);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--image::after { content: ""; position: absolute; inset: 0; background: rgba(12, 22, 38, .4); }
.hero__wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 820px; margin-inline: auto; }
.hero__title { margin-bottom: .4em; }
.hero__text { font-size: 1.05rem; color: var(--fb-muted); max-width: 600px; margin: 0 auto 2em; }
.hero--image .hero__title,
.hero--image .hero__text,
.hero--image .eyebrow { color: #fff; }
.hero--image .button { background: #fff; color: var(--fb-primary); border-color: #fff; }
.hero--image .button:hover { background: transparent; color: #fff; }
.hero--slides {
	padding: clamp(40px, 6vw, 88px) 0 clamp(52px, 6vw, 100px);
	background:
		radial-gradient(60% 80% at 90% 8%, color-mix(in srgb, var(--fb-accent) 14%, var(--fb-bg)), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, color-mix(in srgb, var(--fb-primary) 5%, var(--fb-bg)), transparent 70%),
		var(--fb-bg);
}
.hero--slides .hero__wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; text-align: left; }
.hero--slides .hero__inner { margin: 0; max-width: 640px; }
.hero--slides .hero__title { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.01em; }
.hero--slides .hero__text { margin-left: 0; font-size: 1.08rem; color: var(--fb-text); }
/* Honey as a rule, not as text: honey text on white is only 2.7:1. */
.hero--slides .eyebrow { color: var(--fb-primary); }
.hero--slides .eyebrow::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: 16px; background: var(--fb-accent); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 48px); margin: 2.6em 0 0; padding: 1.6em 0 0; border-top: 1px solid var(--fb-line); }
.hero__stats li { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fb-text); }
.hero__stats strong { display: block; font-family: var(--fb-serif); font-size: 2.3rem; font-weight: 500; letter-spacing: 0; line-height: 1; color: var(--fb-primary); margin-bottom: 6px; }

.hero-slider { position: relative; width: 100%; max-width: 560px; justify-self: end; aspect-ratio: 1 / 1; }
.hero-slide { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 10px; background: var(--fb-soft); box-shadow: 0 34px 60px -34px rgba(18, 35, 61, .55); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-slide__img { animation: fb-drift 7s ease-out both; }
@keyframes fb-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slide__caption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 136px); padding: 14px 18px; text-align: left; color: var(--fb-primary); background: rgba(255, 255, 255, .96); border-radius: 8px; box-shadow: 0 10px 30px rgba(18, 35, 61, .2); }
.hero-slide__vendor { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-slide__name { display: block; font-family: var(--fb-serif); font-size: 1.35rem; line-height: 1.2; margin: 2px 0; }
.hero-slide__price { display: block; font-size: .9rem; font-weight: 500; }
.hero-slider__count { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(18, 35, 61, .78); color: #fff; font-size: .7rem; letter-spacing: .12em; }
.hero-slider__count b { font-weight: 600; }
.hero-slider__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; border-radius: 0 0 10px 10px; overflow: hidden; }
.hero-slider__progress span { display: block; height: 100%; width: 0; background: var(--fb-accent); }
.hero-slider__progress.is-running span { animation: fb-progress 5s linear forwards; }
@keyframes fb-progress { from { width: 0; } to { width: 100%; } }
.hero-slider__arrow { position: absolute; bottom: 16px; z-index: 2; width: 42px; height: 42px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--fb-primary); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(18, 35, 61, .2); transition: background .2s, color .2s, transform .2s; }
.hero-slider__arrow:hover { background: var(--fb-primary); color: #fff; transform: scale(1.06); }
.hero-slider__arrow--prev { right: 66px; }
.hero-slider__arrow--next { right: 16px; }
@media (max-width: 860px) {
	.hero--slides .hero__wrap { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.hero--slides .hero__inner { margin-inline: auto; }
	.hero--slides .hero__text { margin-left: auto; }
	.hero--slides .eyebrow::before { margin-inline: auto; }
	.hero__cta, .hero__stats { justify-content: center; }
	.hero-slider { justify-self: center; max-width: 480px; }
}
@media (max-width: 480px) {
	.hero__stats { flex-wrap: nowrap; gap: 12px; }
	.hero__stats li { flex: 1; font-size: .62rem; letter-spacing: .1em; }
	.hero-slide__caption { left: 10px; bottom: 10px; max-width: calc(100% - 114px); padding: 10px 12px; }
	.hero-slide__name { font-size: 1.1rem; }
	.hero-slider__arrow { width: 38px; height: 38px; bottom: 10px; }
	.hero-slider__arrow--prev { right: 54px; }
	.hero-slider__arrow--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-slide { transition: none; }
	.hero-slide.is-active .hero-slide__img, .hero-slider__progress.is-running span { animation: none; }
}
@media (max-width: 480px) {
	.site-header__inner { gap: 8px; }
	.site-wordmark { font-size: .95rem; letter-spacing: .14em; white-space: nowrap; }
	.site-header .site-logo .site-logo__img { height: 36px; }
}
@media (max-width: 380px) {
	.site-header .site-logo .site-logo__img { height: 32px; }
	.header-actions { gap: 12px; }
}

/* Steps ------------------------------------------------------------------ */
.steps { padding: 0; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.step { position: relative; padding: 30px 28px 32px; background: var(--fb-surface); border: 1px solid var(--fb-line); border-radius: 10px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--fb-accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(18, 35, 61, .35); }
.step:hover::before { transform: scaleX(1); }
.step__num { display: block; font-family: var(--fb-serif); font-size: 3rem; line-height: 1; color: var(--fb-primary); }
.step__num::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 14px; background: var(--fb-accent); }
.step h3 { margin: .7em 0 .35em; }
.step p { color: var(--fb-text); margin: 0; font-size: .94rem; }
@media (max-width: 760px) { .steps__grid { grid-template-columns: 1fr; } .step { padding: 24px 22px; } }

/* Sections & tiles ------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section--alt { background: var(--fb-soft); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.section__title { margin: 0; }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.tile { display: block; color: var(--fb-primary); }
.tile__img {
	display: block; aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--fb-soft);
	border-radius: var(--fb-radius);
	position: relative;
}
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__initial {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--fb-serif); font-size: 4rem; color: var(--fb-primary); opacity: .35;
}
.tile__label {
	display: block; margin-top: 12px;
	font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500;
}
.tile__desc { display: block; font-size: .88rem; color: var(--fb-muted); margin-top: 4px; }
.tile-grid--vendors .tile__img { aspect-ratio: 1 / 1; }
.tile-grid--vendors .tile__img img { object-fit: contain; padding: 8%; background: #fff; }
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

/* Pages ------------------------------------------------------------------ */
.page-wrap { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 100px); }
.page-wrap--narrow { max-width: 820px; }
.page-title { margin-bottom: .8em; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.75rem; color: var(--fb-primary); margin-top: 1.8em; margin-bottom: 0; }
.entry-content h3 { font-size: 1.3rem; color: var(--fb-primary); margin-top: 1.4em; margin-bottom: 0; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content .page-lead { font-family: var(--fb-serif); font-size: 1.5rem; line-height: 1.35; color: var(--fb-primary); }
.fb-table { overflow-x: auto; }
.fb-table table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.fb-table th, .fb-table td { padding: 12px 14px; border-bottom: 1px solid var(--fb-line); text-align: left; vertical-align: top; }
.fb-table th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--fb-primary); background: var(--fb-soft); }
.fb-table small { color: var(--fb-muted); }
.entry-content .fb-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: fb-step; }
.fb-steps li { counter-increment: fb-step; margin: 0; padding: 20px; background: var(--fb-soft); border: 1px solid var(--fb-line); border-radius: var(--fb-radius); }
.fb-steps li::before { content: counter(fb-step); display: block; font-family: var(--fb-serif); font-size: 2rem; line-height: 1; color: var(--fb-primary); margin-bottom: 8px; }
.fb-steps strong { display: block; color: var(--fb-primary); }
.fb-callout { padding: 16px 20px; border-left: 3px solid var(--fb-accent); background: var(--fb-soft); }
@media (max-width: 640px) { .entry-content .fb-steps { grid-template-columns: 1fr; } }
/* FAQ accordion: plain <details>, so it works without JavaScript. */
.entry-content .fb-faq { margin-top: .5em; border-top: 1px solid var(--fb-line); }
.fb-faq details { border-bottom: 1px solid var(--fb-line); }
.fb-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 500; color: var(--fb-primary); }
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--fb-line); border-radius: 50%; font-size: 1.1rem; line-height: 1; transition: transform .2s ease, background .2s ease; }
.fb-faq details[open] summary::after { transform: rotate(45deg); background: var(--fb-soft); }
.fb-faq summary:hover::after { border-color: var(--fb-accent); }
.fb-faq summary:focus-visible { outline: 2px solid var(--fb-accent); outline-offset: 2px; }
.fb-faq details > :not(summary) { margin: 0 0 1em; padding-right: 44px; }
.fb-faq details > ul { padding-left: 1.3em; }
@media (prefers-reduced-motion: reduce) { .fb-faq summary::after { transition: none; } }
.vendor-portal input.fb-qty { width: 90px; }
/* Vendor portal header: vendor name (bold, larger) with Log out on the right, then the section tabs spread
   across the full width. Hover is a deeper shade of the brand gold (#946f22, 4.6:1 on white) because the
   brand gold itself is too light for text on white. */
.vendor-portal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.vendor-portal__name { margin: 0; font-family: var(--fb-serif); font-size: clamp(1.7rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--fb-primary); }
.vendor-portal__logout { font-weight: 500; color: var(--fb-primary); white-space: nowrap; transition: color .15s ease; }
.vendor-portal__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 14px 0; border-top: 1px solid var(--fb-line); border-bottom: 1px solid var(--fb-line); }
.vendor-portal__nav a { font-weight: 500; color: var(--fb-primary); transition: color .15s ease; }
.vendor-portal__nav a:hover, .vendor-portal__nav a:focus-visible,
.vendor-portal__logout:hover, .vendor-portal__logout:focus-visible { color: #946f22; }
@media (max-width: 520px) {
	.vendor-portal__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
}
.fb-table tfoot th { text-transform: none; letter-spacing: 0; font-size: .94rem; background: none; }
.fb-hide { position: absolute; left: -9999px; }
.fb-checks { border: 0; padding: 0; margin: 1em 0; }
.fb-checks legend { font-weight: 500; padding: 0; margin-bottom: 6px; }
.fb-checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 6px; }
.vendor-portal__form .fb-checks input[type="checkbox"], .vendor-portal__form .fb-checks input[type="radio"] { width: auto; flex: none; margin-top: 5px; }
.fb-checks__other { flex-wrap: wrap; align-items: center; }
.vendor-portal__form .fb-checks__other input[type="text"] { flex: 1; min-width: 180px; width: auto; }
.fb-help { display: block; color: var(--fb-text); font-size: .85rem; margin-bottom: 6px; }
.fb-apply h2 { font-size: 1.75rem; padding-top: 12px; border-top: 1px solid var(--fb-line); }
.fb-shop-filters { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; clear: both; margin-bottom: 20px; }
.fb-shop-filters span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.fb-shop-filters select { font-size: .85rem; min-width: 200px; max-width: 100%; }
.fb-shop-filters__clear { font-size: .85rem; text-decoration: underline; padding-bottom: 8px; }
.vendor-portal__form label { display: block; font-weight: 500; margin-bottom: 4px; }
.vendor-portal__form input:not([type="hidden"]), .vendor-portal__form select, .vendor-portal__form textarea { width: 100%; max-width: 480px; }
.single-hero { margin: 0 0 2em; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card__title { font-size: 1.5rem; margin-top: 14px; }
.post-card__title a { color: var(--fb-primary); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

/* Forms ------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], select, textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	background: var(--fb-surface);
	border: 1px solid var(--fb-line);
	border-radius: var(--fb-radius);
	padding: .75em .9em;
	font: inherit;
	color: var(--fb-text);
	width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--fb-primary) 30%, transparent); outline-offset: 1px; }

/* WooCommerce: shop ------------------------------------------------------ */
.shop-wrap { padding-top: 28px; padding-bottom: 90px; }
.woocommerce-breadcrumb { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fb-muted); margin-bottom: 22px; }
.woocommerce-breadcrumb a { color: var(--fb-muted); }
.woocommerce-breadcrumb .sep { margin: 0 .6em; }
.woocommerce-products-header { text-align: center; margin-bottom: 32px; }
.woocommerce-products-header__title { margin-bottom: .3em; }
.term-description { max-width: 640px; margin: 0 auto; color: var(--fb-muted); }

.woocommerce .woocommerce-result-count { font-size: .85rem; color: var(--fb-muted); }
.woocommerce .woocommerce-ordering select { width: auto; font-size: .85rem; }

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 44px clamp(14px, 2vw, 26px);
	margin: 0; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	text-align: left; display: flex; flex-direction: column;
	position: relative;
}
.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 5; object-fit: contain; margin: 0 0 14px;
	background: var(--fb-soft);
	border-radius: var(--fb-radius);
	transition: opacity .3s;
}
.woocommerce ul.products li.product a:hover img { opacity: .9; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--fb-sans); font-size: 1rem; font-weight: 500; line-height: 1.35;
	padding: 0; margin: 0 0 .3em; color: var(--fb-primary);
}
.woocommerce ul.products li.product .fb-loop-vendor {
	display: inline-block; align-self: flex-start;
	font-size: .7rem; letter-spacing: .06em;
	background: var(--fb-pill); color: var(--fb-primary);
	padding: 3px 10px; border-radius: 999px;
	margin-bottom: 8px;
}
.woocommerce ul.products li.product .price { color: var(--fb-primary); font-size: .95rem; margin-bottom: 14px; }
.woocommerce ul.products li.product .button { margin-top: auto; width: 100%; text-align: center; }
.woocommerce ul.products li.product .added_to_cart { font-size: .8rem; margin-top: 8px; text-align: center; }
.woocommerce span.onsale {
	background: var(--fb-accent); border-radius: var(--fb-radius); min-height: 0; min-width: 0;
	line-height: 1; padding: 6px 10px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
	top: 10px; left: 10px; right: auto; margin: 0;
}
@media (max-width: 1000px) { .woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; } }

.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { padding: 10px 14px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--fb-primary); color: #fff; }
.woocommerce nav.woocommerce-pagination[hidden] { display: none; }

/* "Load more products" (replaces page numbers when JavaScript is on) */
.fb-load-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 56px auto 8px; max-width: 320px; text-align: center; }
.fb-load-more__status { margin: 0; font-size: .85rem; color: #5c636e; } /* 6.1:1 on white */
.fb-load-more__bar { width: 100%; height: 3px; background: var(--fb-line); border-radius: 3px; overflow: hidden; }
.fb-load-more__bar span { display: block; height: 100%; width: 0; background: var(--fb-accent); transition: width .4s ease; }
.woocommerce .fb-load-more .fb-load-more__btn { margin-top: 6px; padding: 14px 32px; background: transparent; color: var(--fb-primary); border: 1px solid var(--fb-primary); border-radius: var(--fb-radius); }
.woocommerce .fb-load-more .fb-load-more__btn:hover,
.woocommerce .fb-load-more .fb-load-more__btn:focus-visible { background: var(--fb-primary); color: #fff; }
.woocommerce .fb-load-more .fb-load-more__btn:disabled { opacity: .6; cursor: wait; }
.fb-load-more__btn[hidden] { display: none; }

/* Wishlist hearts (from core plugin) */
.fb-heart {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, .92);
	border: 0; cursor: pointer; color: var(--fb-primary);
	box-shadow: 0 2px 8px rgba(18, 35, 61, .08);
	transition: transform .15s, color .15s;
}
.fb-heart:hover { transform: scale(1.08); color: var(--fb-accent); }
.fb-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.fb-heart.is-saved { color: var(--fb-accent); }
.fb-heart.is-saved svg { fill: currentColor; }
.fb-heart--single {
	position: static; width: auto; height: auto; border-radius: var(--fb-radius);
	display: inline-flex; gap: 8px; padding: 10px 0; box-shadow: none; background: none;
	font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.fb-heart--single:hover { transform: none; }
.fb-heart--single .fb-heart__saved { display: none; }
.fb-heart--single.is-saved .fb-heart__save { display: none; }
.fb-heart--single.is-saved .fb-heart__saved { display: inline; }
.fb-wishlist-empty { text-align: center; padding: 40px 0; color: var(--fb-muted); }

/* Vendor archive header (from core plugin) */
/* Vendor page header: full content width (same left edge as the breadcrumb). The logo column runs from that
   edge to where the story starts (no column gap), and the logo is centred in it both ways, so it sits midway
   between the page edge and the story, and halfway down the story. */
.fb-vendor-header { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(0, 3fr); column-gap: 0; align-items: center; max-width: none; margin: 0 0 48px; text-align: left; }
.fb-vendor-header__text > :first-child { margin-top: 0; }
.fb-vendor-header__text > :last-child { margin-bottom: 0; }
/* Vendor logo: round, filling the circle, like the homepage vendor tiles (logos must fit a circle). */
.fb-vendor-header > img { justify-self: center; align-self: center; width: 200px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; padding: 0; background: #fff; border: 1px solid var(--fb-line); border-radius: 50%; box-shadow: 0 0 0 6px var(--fb-soft); }
@media (max-width: 640px) { .fb-vendor-header { grid-template-columns: 1fr; row-gap: 28px; text-align: center; } .fb-vendor-header > img { width: 180px; margin: 0 auto; } }

/* WooCommerce: single product -------------------------------------------- */
.woocommerce div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { background: var(--fb-soft); border-radius: var(--fb-radius); }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--fb-primary); font-size: 1.25rem; }
.woocommerce div.product .fb-product-vendor { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; color: var(--fb-muted); }
.woocommerce div.product .fb-product-vendor a { color: var(--fb-accent); }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 28px 0 8px; }
.woocommerce div.product form.cart .quantity .qty { width: 80px; height: 100%; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; }

/* Products with a size (or other) choice: stack the choice, then the price for that size,
   then quantity + Add to cart in one row, all full width and left-aligned.
   Applies to every variable product, including ones added later. */
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce div.product form.cart table.variations { width: 100%; margin: 0 0 18px; border: 0; border-collapse: collapse; }
.woocommerce div.product form.cart table.variations tbody,
.woocommerce div.product form.cart table.variations tr { display: block; }
.woocommerce div.product form.cart table.variations tr + tr { margin-top: 14px; }
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart table.variations th.label { margin-bottom: 6px; }
.woocommerce div.product form.cart table.variations label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--fb-text); }
.woocommerce div.product form.cart table.variations select { width: 100%; max-width: none; margin: 0; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: .82rem; color: var(--fb-muted); text-decoration: underline; }
.woocommerce div.product form.cart .single_variation_wrap { display: block; }
.woocommerce div.product form.cart .woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce div.product form.cart .woocommerce-variation-price .price { display: block; margin: 0; }
.woocommerce div.product form.cart .woocommerce-variation-availability p.stock { margin: -6px 0 14px; font-size: .85rem; }
.woocommerce div.product form.cart .woocommerce-variation-description p { margin: 0 0 14px; font-size: .92rem; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .quantity,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .button { float: none; margin: 0; }
.woocommerce div.product .product_meta { font-size: .85rem; color: var(--fb-muted); border-top: 1px solid var(--fb-line); padding-top: 18px; margin-top: 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--fb-line); text-align: left; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0 24px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fb-muted); font-weight: 500; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fb-primary); border-bottom: 2px solid var(--fb-accent); }
.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 { text-align: center; margin: 60px 0 32px; }
@media (max-width: 860px) { .woocommerce div.product { grid-template-columns: 1fr; } }

/* WooCommerce: notices --------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--fb-primary); background: var(--fb-soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--fb-primary); }
.fb-cycle-note {
	background: color-mix(in srgb, var(--fb-accent) 12%, #fff);
	border-left: 3px solid var(--fb-accent);
	padding: 14px 18px; margin: 0 0 24px; font-size: .92rem;
}

/* WooCommerce: cart / checkout (classic + blocks) ------------------------ */
.woocommerce table.shop_table { border-radius: var(--fb-radius); border-color: var(--fb-line); background: var(--fb-surface); }
.woocommerce table.shop_table th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.wc-block-components-title, .wc-block-components-checkout-step__title { font-family: var(--fb-serif) !important; font-weight: 500 !important; }
.page-wrap--wide { max-width: var(--fb-max); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--fb-primary); color: rgba(255, 255, 255, .8); padding: 72px 0 0; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--fb-accent); }
.site-footer .site-wordmark { color: #fff; font-size: 1.4rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand p { margin-top: 14px; max-width: 340px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .widget-title { color: #fff; font-family: var(--fb-sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.site-footer__base {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, .16);
	margin-top: 56px; padding-top: 22px; padding-bottom: 22px;
	font-size: .78rem; letter-spacing: .06em;
}
/* Round FTM badge, right-hand footer column, on a white disc with a honey ring. */
.site-footer__col--badge { display: flex; justify-content: flex-end; align-items: flex-start; }
.site-footer .site-footer__badge { display: block; width: 168px; aspect-ratio: 1; padding: 6px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--fb-accent); transition: transform .2s ease; }
.site-footer .site-footer__badge:hover { transform: rotate(-6deg) scale(1.03); }
.site-footer .site-footer__badge img { width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .site-footer .site-footer__badge:hover { transform: none; } }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__col--badge { justify-content: center; }
	.site-footer .site-footer__badge { width: 140px; }
}

/* ==========================================================================
   Showcase layer (v1.5): richer homepage sections, product cards, motion.
   ========================================================================== */

.eyebrow--rule { color: var(--fb-primary); margin-bottom: .7rem; display: flex; align-items: center; gap: 12px; }
.eyebrow--rule::before { content: ""; width: 32px; height: 2px; background: var(--fb-accent); }
.section__head { align-items: flex-end; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .eyebrow--rule { justify-content: center; }
.section__head--center .eyebrow--rule::after { content: ""; width: 32px; height: 2px; background: var(--fb-accent); }
.section__title { font-size: clamp(2rem, 3.6vw, 3rem); }

.link-arrow { display: inline-block; white-space: nowrap; border-bottom-color: var(--fb-accent); transition: color .2s, border-color .2s; }
.link-arrow::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .25s; }
.link-arrow:hover { color: var(--fb-primary); border-bottom-color: var(--fb-primary); }
.link-arrow:hover::after { transform: translateX(4px); }

.button--arrow::after { content: "\2192"; display: inline-block; margin-left: 12px; transition: transform .25s; }
.button--arrow:hover::after { transform: translateX(5px); }
.button--large { box-shadow: 0 14px 28px -16px rgba(18, 35, 61, .6); }
.button--ghost { background: transparent; color: var(--fb-primary); box-shadow: none; }
.button--ghost:hover { background: var(--fb-primary); color: #fff; }

.site-header { transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(18, 35, 61, .35); }

/* Category tiles: photo with the name laid over it. */
.tile-grid--cats { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile--cat { position: relative; border-radius: 10px; overflow: hidden; color: #fff; box-shadow: 0 30px 50px -36px rgba(18, 35, 61, .6); }
.tile--cat .tile__img { border-radius: 0; }
.tile--cat .tile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 22, 38, .82) 0%, rgba(12, 22, 38, .25) 45%, rgba(12, 22, 38, 0) 70%); }
.tile--cat .tile__img img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile--cat:hover .tile__img img { transform: scale(1.07); }
.tile--cat .tile__label { position: absolute; left: 22px; right: 22px; bottom: 46px; margin: 0; font-family: var(--fb-serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.1; color: #fff; }
.tile__more { position: absolute; left: 22px; bottom: 20px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.tile__more::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .25s; }
.tile--cat:hover .tile__more::after { transform: translateX(5px); }
.tile--cat:hover { color: #fff; }
@media (max-width: 720px) {
	.tile-grid--cats { grid-template-columns: 1fr; }
	.tile--cat .tile__img { aspect-ratio: 16 / 10; }
}

/* Product cards. */
.woocommerce ul.products li.product {
	background: var(--fb-surface);
	border: 1px solid var(--fb-line);
	border-radius: 10px;
	padding: 12px 12px 14px;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -28px rgba(18, 35, 61, .4); border-color: color-mix(in srgb, var(--fb-accent) 55%, var(--fb-line)); }
.woocommerce ul.products li.product a img { border-radius: 6px; }
.woocommerce ul.products li.product a:hover img { opacity: 1; }
.woocommerce ul.products li.product .fb-heart { top: 20px; right: 20px; }
.woocommerce ul.products li.product .price { font-weight: 500; }
.woocommerce ul.products li.product .button { background: transparent; color: var(--fb-primary); }
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product:hover .button { background: var(--fb-primary); border-color: var(--fb-primary); color: #fff; }
@media (max-width: 720px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { gap: 14px; }
	.woocommerce ul.products li.product { padding: 8px 8px 10px; }
	.woocommerce ul.products li.product .fb-heart { top: 14px; right: 14px; }
	.woocommerce ul.products li.product .button { padding-inline: .6em; letter-spacing: .1em; }
}

/* Vendors on navy. */
.section--dark { background: var(--fb-primary); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--fb-accent) 22%, transparent), transparent 70%); pointer-events: none; }
.section--dark .container { position: relative; }
.section--dark .section__title, .section--dark .eyebrow { color: #fff; }
.section--dark .tile-grid--vendors { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.section--dark .tile--vendor { text-align: center; color: #fff; }
.section--dark .tile--vendor .tile__img { width: min(100%, 190px); margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 8px rgba(255, 255, 255, .06); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
/* Logos fill the whole disc; a vendor without a logo gets a monogram in a honey ring. */
.section--dark .tile--vendor .tile__img img { padding: 0; object-fit: cover; }
.section--dark .tile--vendor .tile__img:has(.tile__initial) { background: transparent; box-shadow: 0 0 0 1px var(--fb-accent), 0 0 0 8px rgba(255, 255, 255, .06); }
.section--dark .tile__initial { color: #fff; opacity: 1; font-size: 4.5rem; }
.section--dark .tile--vendor:hover .tile__img { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--fb-accent), 0 0 0 10px rgba(255, 255, 255, .08); }
.section--dark .tile--vendor:hover .tile__img img { transform: none; }
.section--dark .tile__label { margin-top: 20px; color: #fff; }
.section--dark .tile__desc { color: rgba(255, 255, 255, .78); }
@media (max-width: 520px) { .section--dark .tile-grid--vendors { grid-template-columns: repeat(2, 1fr); } }

/* Closing tagline. */
.closing { padding: clamp(64px, 9vw, 130px) 0; text-align: center; background: radial-gradient(60% 90% at 50% 100%, color-mix(in srgb, var(--fb-accent) 16%, var(--fb-bg)), var(--fb-bg) 75%); }
.closing__line { font-family: var(--fb-serif); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.08; color: var(--fb-primary); margin: 0 auto 1em; max-width: 14em; }
.closing__line::before { content: ""; display: block; width: 48px; height: 2px; margin: 0 auto 28px; background: var(--fb-accent); }
.closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.site-footer { border-top: 3px solid var(--fb-accent); }

/* Gentle rise as sections scroll into view (only when the script is running). */
.fb-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.fb-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.fb-reveal .steps__grid [data-reveal]:nth-child(2), .fb-reveal .tile-grid [data-reveal]:nth-child(2) { transition-delay: .1s; }
.fb-reveal .steps__grid [data-reveal]:nth-child(3), .fb-reveal .tile-grid [data-reveal]:nth-child(3) { transition-delay: .2s; }
.fb-reveal .tile-grid [data-reveal]:nth-child(4) { transition-delay: .3s; }
.fb-reveal .tile-grid [data-reveal]:nth-child(5) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
	.step, .woocommerce ul.products li.product, .tile--cat .tile__img img { transition: none; }
}
