/* Farm Fulfillment Locations — persistent shopping banner (Build 3: visual refinement) */

.ffl-banner {
	width: 100%;
	box-sizing: border-box;
	background: #eef5ef;
	border-top: 1px solid #cfe0d4;
	border-bottom: 1px solid #cfe0d4;
	padding: 22px 28px;
	margin: 0 0 1.5rem;
}

.ffl-banner * {
	box-sizing: border-box;
}

.ffl-banner__inner {
	/* Mirrors the actual Store layout geometry (from .storeIndex--style1 /
	   .storeIndex__sideBar--style1 in the theme CSS) rather than an estimate:
	     max-width 1366px + margin 0 auto matches .storeIndex--style1, so this
	     container's left edge lands at the same on-screen x-position as the
	     Store wrapper's left edge.
	     padding-left 285px = 30px (.storeIndex--style1's own left padding)
	     + 255px (.storeIndex__sideBar--style1's flex-basis), i.e. exactly
	     where .storeIndex__productsListingContainer begins. */
	--ffl-sidebar-offset: 285px;

	max-width: 1366px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	row-gap: 0.5rem;
	column-gap: 1rem;
	padding-left: var(--ffl-sidebar-offset);
}

.ffl-banner__icon {
	font-size: 1.4rem;
	line-height: 1;
}

.ffl-banner__location {
	font-weight: 700;
	font-size: 21px;
	color: #1f2a20;
	letter-spacing: 0.01em;
}

.ffl-banner__change {
	font-size: 17px;
	font-weight: 600;
	color: #2f5d34;
	text-decoration: underline;
	white-space: nowrap;
}

.ffl-banner__change:hover,
.ffl-banner__change:focus-visible {
	color: #1c3820;
}

.ffl-banner__sep {
	color: #9db3a1;
	font-size: 17px;
}

.ffl-banner__deadline {
	font-size: 18px;
	color: #3c4a3d;
}

.ffl-banner__countdown {
	font-size: 18px;
	font-weight: 700;
	color: #2f5d34;
}

.ffl-banner__countdown::before {
	content: '\23f1';
	margin-right: 0.35rem;
}

/* --------------------------------------------------------------------- */
/* Tablet/mobile — the Store sidebar stacks above the product grid well   */
/* before phone-sized widths, so the sidebar-width offset needs to drop   */
/* out earlier than the text-wrapping breakpoint below.                   */
/* --------------------------------------------------------------------- */

@media (max-width: 900px) {
	.ffl-banner__inner {
		--ffl-sidebar-offset: 0px;
	}
}

/* --------------------------------------------------------------------- */
/* Mobile — allow the row to wrap into 2–3 lines rather than shrinking   */
/* text down to unreadable sizes.                                        */
/* --------------------------------------------------------------------- */

@media (max-width: 640px) {
	.ffl-banner {
		padding: 16px 18px;
	}

	.ffl-banner__inner {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ffl-banner__location {
		font-size: 18px;
		flex-basis: 100%;
	}

	.ffl-banner__change {
		font-size: 15px;
	}

	.ffl-banner__deadline,
	.ffl-banner__countdown {
		font-size: 15px;
		flex-basis: 100%;
	}

	.ffl-banner__sep {
		display: none;
	}
}
