:root {
	--fc-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--fc-text, #20231f);
	/*
	 * iOS safe area / status bar tint.
	 *
	 * Safari 26 no longer honours <meta name="theme-color"> (it is still
	 * parsed, but the value is ignored). Browser chrome is tinted from, in
	 * order: (1) the background-color of a fixed/sticky element at the
	 * viewport edge, (2) the background-color of <body>, (3) the
	 * background-color of <html>, then white/black.
	 *
	 * The drawer and its backdrop are the only fixed elements here and both
	 * are visibility:hidden while closed, so rule 1 does not apply and rule 2
	 * decides. A cream `background-color` on <body> is therefore what painted
	 * the status bar cream — and it is also why setting `html { background }`
	 * had no effect, since rule 3 is never reached.
	 *
	 * So: keep the *sampled* colour the same white as the header, and paint
	 * the cream page surface with a background-image, which is not sampled.
	 * Rendering is unchanged; only the colour Safari reads changes.
	 */
	background-color: var(--fc-surface, #ffffff);
	background-image: linear-gradient(var(--fc-background, #f7f2ea), var(--fc-background, #f7f2ea));
	font-family: var(--fc-font-body);
	line-height: 1.6;
}

/* Paired with the scroll lock in app.js, which stores the offset in
   `top` and restores it on close. */
body.has-mobile-menu-open {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

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

a {
	color: inherit;
}

.site-header button,
.site-header input {
	font: inherit;
}

.site-header button {
	appearance: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-announcement a:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header input:focus-visible,
.site-footer a:focus-visible,
.site-product-grid li.product:not(.product-category) a:focus-visible,
.site-product-grid li.product:not(.product-category) .button:focus-visible {
	outline: 2px solid var(--fc-brand-accent, #c17658);
	outline-offset: 3px;
}

.fc-container {
	width: min(calc(100% - 2rem), var(--fc-container-wide, 1280px));
	margin-inline: auto;
}

.site-announcement {
	position: relative;
	z-index: 21;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-primary, #0f6342);
}

.site-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding-block: 0.4rem;
}

.site-announcement__text {
	margin: 0;
	color: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.site-announcement__text:hover {
	text-decoration: underline;
}

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--fc-border, #ded8ce);
	background: var(--fc-surface, #ffffff);
}

.site-header__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--fc-header-height);
}

.site-header__menu-toggle {
	display: none;
}

.site-header__menu-icon {
	display: grid;
	gap: 0.25rem;
	width: 1.125rem;
}

.site-header__menu-icon span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: var(--fc-radius-pill, 999px);
	background: currentColor;
}

.site-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 20rem;
}

.site-brand .custom-logo {
	width: auto;
	max-height: 3.75rem;
}

.site-brand__name {
	color: var(--fc-brand-primary, #0f6342);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.site-header__desktop-navigation {
	min-width: 0;
}

.site-header__desktop-navigation:empty {
	display: none;
}

.site-navigation__list,
.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation__list li {
	margin: 0;
}

.site-navigation a,
.site-footer a {
	text-decoration: none;
}

.site-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.625rem 0.875rem;
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-brand-secondary, #1c4948);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color 160ms ease, color 160ms ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: var(--fc-brand-primary, #0f6342);
	background: var(--fc-background, #f7f2ea);
}

.site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	min-width: 0;
}

.site-header__desktop-search {
	width: min(18.5rem, 28vw);
	min-width: 14rem;
}

.site-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.site-search__field {
	width: 100%;
	min-height: var(--fc-header-action-size);
	padding: 0.65rem 2.75rem 0.65rem 1rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-text, #20231f);
	background: #fbfaf7;
	line-height: 1.2;
}

.site-search__field:focus {
	border-color: var(--fc-brand-accent, #c17658);
	outline: none;
	box-shadow: 0 0 0 3px rgba(193, 118, 88, 0.2);
}

.site-search__submit {
	position: absolute;
	inset-inline-end: 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-primary, #0f6342);
	cursor: pointer;
}

.site-search__submit:hover {
	background: var(--fc-brand-secondary, #1c4948);
}

.site-header__action,
.site-header__search-toggle,
.site-header__menu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: var(--fc-header-action-size);
	min-height: var(--fc-header-action-size);
	padding: 0 0.85rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-surface, #ffffff);
	text-decoration: none;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.site-header__action:hover,
.site-header__search-toggle:hover,
.site-header__menu-toggle:hover,
.site-header__menu-toggle[aria-expanded="true"],
.site-header__search-toggle[aria-expanded="true"] {
	border-color: var(--fc-brand-primary, #0f6342);
	color: var(--fc-brand-primary, #0f6342);
	background: var(--fc-background, #f7f2ea);
}

.site-header__search-toggle {
	display: none;
}

.site-header__menu-toggle {
	display: none;
}

.site-header__icon {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.site-header__action-text {
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1;
}

.site-header__cta {
	border-color: var(--fc-brand-primary, #0f6342);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-primary, #0f6342);
	white-space: nowrap;
}

.site-header__cta:hover {
	border-color: var(--fc-brand-secondary, #1c4948);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-secondary, #1c4948);
}

.site-header__cta .site-header__action-text {
	display: inline;
}

.site-header__cart {
	padding-inline: 0.85rem 0.75rem;
}

.site-header__cart-count {
	position: absolute;
	top: -0.4rem;
	inset-inline-end: -0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding-inline: 0.35rem;
	border: 2px solid var(--fc-surface, #ffffff);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-accent, #c17658);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.site-header__mobile-search {
	display: none;
}

/* Menu-less fallback row for account/CTA. Desktop keeps them in the bar,
   so this stays hidden until the mobile breakpoint. */
.site-header__mobile-actions {
	display: none;
}

.site-header__mobile-panel {
	display: none;
}

html.js .site-header__mobile-search[hidden],
html.js .site-header__mobile-panel[hidden] {
	display: none;
}

.site-main {
	min-height: 60vh;
	padding-block: var(--fc-space-5, 3rem);
}

.content-entry__title {
	margin-top: 0;
}

/*
 * Shared inner-page header.
 *
 * One rhythm for every page that opts in with `.fcsu-page-header`:
 * breadcrumb -> H1 -> intro -> separation -> content. The cart proved this
 * sequence; it lives here so cart, checkout and any later surface share one
 * container alignment, H1 scale, intro treatment and bottom separation
 * instead of each page stylesheet deriving its own.
 *
 * The H1 contract is ADR-010's (brand primary, 3rem desktop / 2.25rem
 * <=860px / 1.85rem <=359px, line-height 1.05, left aligned). Nothing here
 * invents a new title standard; pages must not override it either.
 *
 * The header does not constrain its own width. It fills the page container,
 * so a page's header always starts on the same vertical line as that page's
 * content instead of sitting on a narrower centred measure of its own.
 */
.fcsu-page-header {
	display: grid;
	gap: var(--fc-space-2, 1rem);
	margin-bottom: var(--fc-space-3, 1.5rem);
	padding-block: var(--fc-space-2, 1rem) var(--fc-space-3, 1.5rem);
	border-bottom: 1px solid var(--fc-border, #ded8ce);
}

.fcsu-page-header .fcsu-page-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--fc-space-1, 0.5rem);
	margin: 0;
	color: var(--fc-text-muted, #686e68);
	font-size: 0.875rem;
	line-height: 1.4;
}

.fcsu-page-header .fcsu-page-breadcrumb a {
	color: var(--fc-brand-secondary, #1c4948);
	font-weight: 700;
	text-decoration: none;
}

.fcsu-page-header .fcsu-page-breadcrumb a:hover,
.fcsu-page-header .fcsu-page-breadcrumb a:focus-visible {
	color: var(--fc-brand-primary, #0f6342);
}

/* Copper stays on the separator only; ADR-010 keeps it off the H1. */
.fcsu-page-header .fcsu-page-breadcrumb span[aria-hidden="true"] {
	color: var(--fc-brand-accent, #c17658);
}

/*
 * ADR-010 inner-page H1, identical to .shop-archive__title.
 *
 * The presentation half of the contract (family, weight, tracking, casing) is
 * pinned here as well as the scale: without it a Woo or generic heading rule
 * can still change the computed H1 from one screen to the next. Every other
 * surface in the family reads it from the shared block below.
 */
.fcsu-page-header .content-entry__title {
	max-width: var(--fc-container-content, 800px);
	margin: 0;
	color: var(--fc-brand-primary, #0f6342);
	font-family: var(--fc-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: 3rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.05;
	text-align: left;
	text-transform: none;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

/*
 * Shared inner-page H1 presentation contract (ADR-010, QA-001 acceptance).
 *
 * Blog archive is the accepted visual reference. Every page sheet already
 * asked for the same 3rem / 1.05 brand-green title, but left family, weight
 * and tracking implicit, which let the computed H1 drift between screens.
 * This is the one canonical owner of that presentation: page stylesheets keep
 * their own sub-861px scale steps and must not restate the contract.
 *
 * `.fcsu-page-header .content-entry__title` is deliberately absent from the
 * list — the rule above is its owner, and one selector may not have two.
 */
.blog-archive .blog-archive__title,
.blog-single .blog-single__title,
.corporate-page .corporate-page__title,
.legal-page .legal-page__title,
.fcsu-contact .fcsu-contact__title,
.shop-archive .shop-archive__title,
body.woocommerce-account .content-entry__title {
	color: var(--fc-brand-primary, #0f6342);
	font-family: var(--fc-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
}

@media (min-width: 861px) {
	.blog-archive .blog-archive__title,
	.blog-single .blog-single__title,
	.corporate-page .corporate-page__title,
	.legal-page .legal-page__title,
	.fcsu-contact .fcsu-contact__title,
	.shop-archive .shop-archive__title,
	body.woocommerce-account .content-entry__title {
		font-size: 3rem;
		line-height: 1.05;
	}
}

/*
 * One intro treatment: a neutral surface card carrying a compact leading cue.
 * Border and surface separate it from the page, not a shadow — see
 * docs/DESIGN_DIRECTION.md ("agir golge yerine sinir ve yuzey ayrimi").
 */
.fcsu-page-header .fcsu-page-intro {
	display: flex;
	width: 100%;
	max-width: none;
	align-items: flex-start;
	gap: var(--fc-space-2, 1rem);
	margin: 0;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-lg, 22px);
	color: var(--fc-text-muted, #686e68);
	background: var(--fc-surface, #ffffff);
	font-size: 1rem;
	line-height: 1.6;
}

.fcsu-page-header .fcsu-page-intro p {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}

/*
 * The cue is sized in `em`, so it tracks the intro's font size instead of
 * drifting against it. With align-items: flex-start it stays on the first line
 * when the copy wraps rather than sliding toward the middle of the paragraph —
 * the badge behaviour accepted on FC-016 — and the negative top margin centres
 * it on that first line box (2em badge against a 1.6em line box) so it reads
 * level with the sentence instead of hanging below it.
 */
.fcsu-page-intro__icon {
	display: grid;
	flex: 0 0 2em;
	width: 2em;
	height: 2em;
	margin-block-start: -0.2em;
	place-items: center;
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-primary, #0f6342);
	font-size: inherit;
	line-height: 1;
}

.fcsu-page-intro__icon svg {
	width: 1.1em;
	height: 1.1em;
}

/*
 * Success check standard (tokens.css).
 * The one check glyph, in the interface font, used by every presentation-owned
 * success/confirmation cue. Reference: the product-card added state.
 */
.fcsu-page-intro__icon--check::before {
	font-family: inherit;
	font-size: 1.05em;
	font-weight: var(--fc-check-weight, 900);
	line-height: 1;
	content: var(--fc-check-glyph, "\2713");
}

@media (max-width: 860px) {
	.fcsu-page-header .content-entry__title {
		font-size: 2.25rem;
	}
}

@media (max-width: 700px) {
	.fcsu-page-header {
		padding-block: var(--fc-space-1, 0.5rem) var(--fc-space-3, 1.5rem);
	}

	.fcsu-page-header .fcsu-page-intro {
		padding: 0.85rem;
		border-radius: var(--fc-radius-md, 14px);
		font-size: 0.95rem;
	}
}

@media (max-width: 359px) {
	.fcsu-page-header .content-entry__title {
		font-size: 1.85rem;
	}
}

.site-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	align-items: stretch;
	margin: var(--fc-space-4, 2rem) 0 0;
	padding: 0;
	list-style: none;
}

.site-product-grid::before,
.site-product-grid::after {
	display: none;
	content: none;
}

.site-product-grid li.product:not(.product-category) {
	position: relative;
	display: flex;
	float: none;
	flex-direction: column;
	width: auto;
	min-width: 0;
	min-height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-md, 14px);
	background: var(--fc-surface, #ffffff);
	transition: border-color 160ms ease, transform 160ms ease;
}

.site-product-grid li.product:not(.product-category) .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.site-product-grid li.product:not(.product-category) a img {
	aspect-ratio: 1 / 1;
	width: calc(100% - 1.5rem);
	height: auto;
	margin: 0.75rem 0.75rem 0.9rem;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: 16px;
	background: var(--fc-background, #f7f2ea);
	object-fit: contain;
}

.site-product-grid li.product:not(.product-category) .onsale {
	position: absolute;
	z-index: 3;
	top: 1.1rem;
	inset-inline-start: 1.1rem;
	inset-inline-end: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-accent, #c17658);
	box-shadow: 0 2px 6px rgba(32, 35, 31, 0.16);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.15;
	white-space: nowrap;
}

.site-product-grid li.product:not(.product-category) .site-product-card__stock-status {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	max-width: calc(100% - 2rem);
	margin: 0 1rem 0.9rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-sm, 8px);
	color: var(--fc-text-muted, #686e68);
	background: var(--fc-background, #f7f2ea);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.site-product-grid li.product:not(.product-category) .star-rating {
	display: none;
}

.site-product-grid li.product:not(.product-category) .woocommerce-loop-product__title {
	display: -webkit-box;
	min-height: 2.7em;
	max-height: 2.7em;
	margin: 0 1rem 0.65rem;
	padding: 0;
	overflow: hidden;
	color: var(--fc-text, #20231f);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.site-product-grid li.product:not(.product-category) .price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.5rem;
	align-items: center;
	min-height: 1.75rem;
	margin: 0 1rem 1rem;
	color: var(--fc-brand-primary, #0f6342);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}

.site-product-grid li.product:not(.product-category) .price del {
	color: var(--fc-text-muted, #686e68);
	font-size: 0.86rem;
	font-weight: 500;
	text-decoration: line-through;
	opacity: 0.85;
}

.site-product-grid li.product:not(.product-category) .price ins {
	padding: 0.1rem 0.5rem;
	border-radius: var(--fc-radius-sm, 8px);
	color: var(--fc-brand-primary, #0f6342);
	background: rgba(15, 99, 66, 0.09);
	text-decoration: none;
}

.site-product-grid li.product:not(.product-category) .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 2rem);
	min-height: 2.75rem;
	margin: auto 1rem 1rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--fc-brand-primary, #0f6342);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-surface, #ffffff);
	background: var(--fc-brand-primary, #0f6342);
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.site-product-grid li.product:not(.product-category) .button:hover {
	border-color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-brand-secondary, #1c4948);
	color: var(--fc-surface, #ffffff);
}

.site-product-grid li.product:not(.product-category).outofstock .button {
	border-color: var(--fc-border, #ded8ce);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-background, #f7f2ea);
}

.site-product-grid li.product:not(.product-category).outofstock .button:hover {
	border-color: var(--fc-brand-secondary, #1c4948);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-border, #ded8ce);
}

.site-product-grid li.product:not(.product-category) .button.loading,
.site-product-grid li.product:not(.product-category) .button.added {
	opacity: 0.82;
}

.site-product-grid li.product:not(.product-category) a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 2rem);
	min-height: 2.5rem;
	margin: -0.5rem 1rem 1rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-surface, #ffffff);
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.woocommerce .site-product-grid {
	margin-top: var(--fc-space-4, 2rem);
}

.site-footer {
	margin-top: var(--fc-space-5, 3rem);
	border-top: 1px solid var(--fc-border, #ded8ce);
	color: var(--fc-brand-secondary, #1c4948);
	background: #fbfaf7;
}

.site-footer__inner {
	display: grid;
	gap: var(--fc-space-4, 2rem);
	padding-block: var(--fc-space-5, 3rem) var(--fc-space-3, 1.5rem);
}

.site-footer__primary {
	display: grid;
	grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 1fr) minmax(11rem, 0.85fr);
	align-items: start;
	gap: clamp(1.5rem, 4vw, 4rem);
}

/* Column count follows what the panel actually filled in, so an unused
   footer menu or contact block never leaves a gap behind. */
.site-footer__primary--cols-1 {
	grid-template-columns: minmax(0, 1fr);
}

.site-footer__primary--cols-2 {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.site-footer__primary--cols-3 {
	grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 1fr) minmax(11rem, 0.85fr);
}

.site-footer__primary--cols-4 {
	grid-template-columns: minmax(12rem, 1.2fr) repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-footer__brand {
	display: grid;
	gap: 0.9rem;
	min-width: 0;
}

.site-footer__brand::before {
	display: block;
	width: 3.25rem;
	height: 2px;
	border-radius: var(--fc-radius-pill, 999px);
	background: var(--fc-brand-accent, #c17658);
	content: "";
}

.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: min(18rem, 100%);
}

.site-footer__logo {
	width: auto;
	max-height: 4rem;
	object-fit: contain;
}

.site-footer__brand-name {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	color: var(--fc-brand-primary, #0f6342);
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.site-footer__description {
	max-width: 34rem;
	margin: 0;
	color: var(--fc-text-muted, #686e68);
	font-size: 0.92rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.site-footer__trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__trust-item {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.65rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-surface, #ffffff);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.site-footer__hours {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0.65rem 0 0;
	padding: 0;
	color: var(--fc-text-muted, #686e68);
	font-size: 0.9rem;
	line-height: 1.5;
	list-style: none;
	overflow-wrap: anywhere;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.85rem 0 0;
	padding: 0;
	list-style: none;
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--fc-border, #ded8ce);
	border-radius: var(--fc-radius-pill, 999px);
	color: var(--fc-brand-secondary, #1c4948);
	background: var(--fc-surface, #ffffff);
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.site-footer__social-link:hover {
	border-color: var(--fc-brand-primary, #0f6342);
	color: var(--fc-brand-primary, #0f6342);
	background: var(--fc-background, #f7f2ea);
}

.site-footer__social-icon {
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.site-footer__navigation,
.site-footer__customer-links,
.site-footer__contact {
	min-width: 0;
}

.site-footer__column-title {
	margin: 0 0 0.75rem;
	color: var(--fc-brand-primary, #0f6342);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
}

.site-footer__menu,
.site-footer__link-list,
.site-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.4rem 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu,
.site-footer__link-list {
	flex-direction: column;
}

.site-footer__menu a,
.site-footer__link-list a,
.site-footer__legal a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 2.25rem;
	padding: 0.35rem 0.65rem;
	border-radius: var(--fc-radius-sm, 8px);
	color: var(--fc-brand-secondary, #1c4948);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
	transition: background-color 160ms ease, color 160ms ease;
}

.site-footer__menu a:hover,
.site-footer__menu .current-menu-item > a,
.site-footer__link-list a:hover,
.site-footer__legal a:hover {
	color: var(--fc-brand-primary, #0f6342);
	background: var(--fc-background, #f7f2ea);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--fc-space-2, 1rem);
	padding-top: var(--fc-space-3, 1.5rem);
	border-top: 1px solid var(--fc-border, #ded8ce);
	color: var(--fc-text-muted, #686e68);
	font-size: 0.9rem;
}

.site-footer__copyright {
	margin: 0;
}

@media (hover: hover) and (pointer: fine) {
	.site-product-grid li.product:not(.product-category):hover {
		border-color: rgba(15, 99, 66, 0.36);
		transform: translateY(-2px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.site-navigation a,
	.site-header__action,
	.site-header__search-toggle,
	.site-header__menu-toggle,
	.site-header__mobile-action,
	.site-footer a,
	.site-footer__social-link,
	.site-product-grid li.product:not(.product-category),
	.site-product-grid li.product:not(.product-category) .button {
		transition: none;
	}
}

@media (min-width: 360px) {
	.site-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.site-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--fc-space-3, 1.5rem);
	}
}

@media (min-width: 1100px) {
	.site-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.site-header__desktop-search {
		width: 14rem;
	}

	.site-navigation a {
		padding-inline: 0.65rem;
	}

	.site-header__action-text {
		display: none;
	}

	.site-header__cart {
		padding-inline: 0;
	}
}

@media (max-width: 860px) {
	.fc-container {
		width: min(calc(100% - 1rem), var(--fc-container-wide, 1280px));
	}

	.site-header__bar {
		grid-template-columns: 2.75rem minmax(0, 1fr) auto;
		grid-template-areas:
			"menu brand actions"
			"search search search";
		gap: 0.55rem;
		min-height: 4.5rem;
		padding-block: 0.65rem;
	}

	/* No primary menu means no toggle, so the reserved column would sit empty. */
	.site-header__bar--without-menu {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"brand actions"
			"search search";
	}

	html.js .site-header__menu-toggle {
		grid-area: menu;
		display: inline-flex;
	}

	.site-brand {
		grid-area: brand;
		justify-self: center;
		min-width: 0;
		max-width: 100%;
	}

	.site-header__bar--without-menu .site-brand {
		justify-self: start;
	}

	/* max-width alone lets a wide logo overflow the 1fr column and create
	   horizontal scroll; cap it against the column too. */
	.site-brand .custom-logo-link {
		max-width: min(11.5rem, 100%);
	}

	.site-brand .custom-logo {
		max-height: 2.75rem;
	}

	.site-brand__name {
		font-size: 1rem;
		text-align: center;
		overflow-wrap: anywhere;
	}

	.site-header__desktop-navigation {
		display: none;
	}

	.site-header__actions {
		grid-area: actions;
		gap: 0.3rem;
	}

	.site-header__desktop-search,
	.site-header__account {
		display: none;
	}

	html.js .site-header__search-toggle {
		display: inline-flex;
	}

	.site-header__action,
	.site-header__search-toggle,
	.site-header__menu-toggle {
		width: 2.75rem;
		min-width: 2.75rem;
		height: 2.75rem;
		min-height: 2.75rem;
		padding: 0;
	}

	.site-header__cta {
		display: none;
	}

	.site-header__cart-count {
		top: -0.3rem;
		inset-inline-end: -0.25rem;
	}

	.site-header__mobile-search {
		display: block;
		grid-area: search;
		width: 100%;
		padding-bottom: 0.2rem;
	}

	.site-header.is-search-open .site-header__mobile-search {
		display: block;
	}

	.site-header__mobile-panel {
		display: block;
		border-top: 1px solid var(--fc-border, #ded8ce);
		background: var(--fc-background, #f7f2ea);
		max-height: calc(100vh - 4.5rem);
		max-height: calc(100dvh - 4.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	/* The admin bar is 46px tall below 782px and consumes viewport height. */
	body.admin-bar .site-header__mobile-panel {
		max-height: calc(100vh - 4.5rem - 46px);
		max-height: calc(100dvh - 4.5rem - 46px);
	}

	html.js .site-header__mobile-search[hidden],
	html.js .site-header__mobile-panel[hidden] {
		display: none;
	}

	.site-header__mobile-inner {
		padding-block: 0.75rem 1rem;
	}

	.site-navigation--mobile .site-navigation__list {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
	}

	.site-navigation--mobile a {
		justify-content: space-between;
		min-height: 2.75rem;
		padding: 0.75rem 0.875rem;
		border: 1px solid transparent;
		border-radius: var(--fc-radius-sm, 8px);
		background: var(--fc-surface, #ffffff);
	}

	.site-navigation--mobile a:hover,
	.site-navigation--mobile .current-menu-item > a,
	.site-navigation--mobile .current-menu-ancestor > a {
		border-color: var(--fc-border, #ded8ce);
	}

	/* Full container width, so the CTA label never has to squeeze into the
	   main bar row at 320px. */
	.site-header__mobile-actions {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0.5rem;
		padding-bottom: 0.65rem;
	}

	.site-header__mobile-action {
		display: inline-flex;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		gap: 0.4rem;
		min-width: 0;
		min-height: 2.75rem;
		padding: 0.5rem 0.75rem;
		border: 1px solid var(--fc-border, #ded8ce);
		border-radius: var(--fc-radius-pill, 999px);
		color: var(--fc-brand-secondary, #1c4948);
		background: var(--fc-surface, #ffffff);
		font-size: 0.9rem;
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		overflow-wrap: anywhere;
		transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
	}

	.site-header__mobile-action--cta {
		border-color: var(--fc-brand-primary, #0f6342);
		color: var(--fc-surface, #ffffff);
		background: var(--fc-brand-primary, #0f6342);
	}

	.site-header__mobile-account,
	.site-header__mobile-cta {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 2.75rem;
		margin-top: 0.5rem;
		padding: 0.75rem 0.875rem;
		border: 1px solid var(--fc-border, #ded8ce);
		border-radius: var(--fc-radius-sm, 8px);
		color: var(--fc-brand-secondary, #1c4948);
		background: var(--fc-surface, #ffffff);
		font-size: 0.95rem;
		font-weight: 700;
		line-height: 1.25;
		text-align: center;
		text-decoration: none;
		overflow-wrap: anywhere;
	}

	.site-header__mobile-cta {
		border-color: var(--fc-brand-primary, #0f6342);
		color: var(--fc-surface, #ffffff);
		background: var(--fc-brand-primary, #0f6342);
	}

	.site-main {
		padding-block: var(--fc-space-4, 2rem);
	}

	.site-footer {
		margin-top: var(--fc-space-4, 2rem);
	}

	.site-footer__inner {
		gap: var(--fc-space-3, 1.5rem);
		padding-block: var(--fc-space-4, 2rem) var(--fc-space-3, 1.5rem);
	}

	.site-footer__primary {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--fc-space-3, 1.5rem);
	}

	.site-footer__brand::before {
		width: 2.75rem;
	}

	.site-footer__logo-link {
		max-width: 14rem;
	}

	.site-footer__logo {
		max-height: 3.25rem;
	}

	/* Full-width rows give links a comfortable 44px touch target instead of
	   the tight inline chips used on desktop. */
	.site-footer__menu a,
	.site-footer__link-list a,
	.site-footer__legal a {
		width: 100%;
		min-height: 2.75rem;
		padding-inline: 0;
	}

	.site-footer__menu,
	.site-footer__link-list,
	.site-footer__hours {
		gap: 0.15rem;
	}

	.site-footer__social {
		gap: 0.5rem;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.5rem;
	}

	/* Legal links read better above the copyright line on a narrow screen;
	   the DOM order stays desktop-first. */
	.site-footer__legal {
		order: 1;
	}

	.site-footer__copyright {
		order: 2;
	}
}

@media (max-width: 359px) {
	.fc-container {
		width: min(calc(100% - 0.75rem), var(--fc-container-wide, 1280px));
	}

	.site-product-grid {
		gap: 0.55rem;
	}

	.site-product-grid li.product:not(.product-category) a img {
		width: calc(100% - 1.3rem);
		margin: 0.65rem 0.65rem 0.8rem;
	}

	.site-product-grid li.product:not(.product-category) .onsale {
		top: 0.9rem;
		inset-inline-start: 0.9rem;
		padding: 0.32rem 0.7rem;
		font-size: 0.78rem;
	}

	.site-product-grid li.product:not(.product-category) .site-product-card__stock-status {
		max-width: calc(100% - 1.3rem);
		margin-inline: 0.65rem;
		font-size: 0.74rem;
	}

	.site-product-grid li.product:not(.product-category) .woocommerce-loop-product__title {
		margin-inline: 0.65rem;
		font-size: 0.86rem;
	}

	.site-product-grid li.product:not(.product-category) .price {
		margin-inline: 0.65rem;
		font-size: 0.9rem;
	}

	.site-product-grid li.product:not(.product-category) .button,
	.site-product-grid li.product:not(.product-category) a.added_to_cart {
		width: calc(100% - 1.3rem);
		margin-inline: 0.65rem;
		font-size: 0.78rem;
	}

	.site-header__bar {
		grid-template-columns: 2.5rem minmax(0, 1fr) auto;
		gap: 0.4rem;
	}

	.site-header__actions {
		gap: 0.2rem;
	}

	/* Touch targets stay at 44px here: 44 (menu) + 91.2 (actions) + 12.8
	   (gaps) = 148px, leaving ~160px for the logo inside a 308px container. */
	.site-brand .custom-logo-link {
		max-width: min(9.5rem, 100%);
	}

	.site-brand .custom-logo {
		max-height: 2.5rem;
	}
}
