/* ==========================================================================
   Fudge For All — classic Texas candy shop
   Built on Storefront. Colors: cream, cherry red, chocolate brown, caramel.
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--ffa-cream: #fbf5ea;
	--ffa-card: #fffdf8;
	--ffa-parchment: #f4e9d6;
	--ffa-line: #e6d5bc;
	--ffa-line-soft: #efe2cd;
	--ffa-tan: #d9c3a0;
	--ffa-cherry: #781e28;
	--ffa-cherry-dark: #5e1620;
	--ffa-cherry-soft: #f3d9c9;
	--ffa-choc: #2e1c14;
	--ffa-muted: #6b5044;
	--ffa-caramel: #b7793a;
	--ffa-footer-text: #cdb9a6;
	--ffa-footer-line: #5a4034;
	--ffa-good: #2f6b3b;

	--ffa-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--ffa-sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ffa-wrap: 1200px;
	--ffa-gutter: 24px;
	--ffa-radius: 20px;
	--ffa-radius-sm: 14px;
	--ffa-shadow: 0 18px 40px -22px rgba(46, 28, 20, .45);
	--ffa-section: 88px;
}

@media (max-width: 767px) {
	:root {
		--ffa-gutter: 16px;
		--ffa-radius: 16px;
		--ffa-section: 52px;
	}
}

/* 2. Base
   ========================================================================== */
html { scroll-padding-top: 120px; }
html.ffa-locked { overflow: hidden; }

body.ffa,
body.ffa.custom-background {
	background-color: var(--ffa-cream);
	color: var(--ffa-choc);
	font-family: var(--ffa-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

.ffa button,
.ffa input,
.ffa select,
.ffa textarea { font-family: var(--ffa-sans); }

.ffa a { color: var(--ffa-cherry); text-decoration: none; }
.ffa a:hover { color: var(--ffa-cherry-dark); }

.ffa :focus-visible {
	outline: 3px solid var(--ffa-caramel);
	outline-offset: 2px;
	border-radius: 6px;
}
/* Storefront rings anything clicked with the mouse in purple; keep rings for keyboard users only. */
.ffa :focus:not(:focus-visible) { outline: none; }

.ffa h1, .ffa h2, .ffa h3, .ffa h4, .ffa h5, .ffa h6 {
	font-family: var(--ffa-serif);
	font-weight: 600;
	color: var(--ffa-choc);
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.ffa h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); }
.ffa h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.ffa h3 { font-size: 1.35rem; }

.ffa .site-content { padding-top: 0; }

/* Storefront clips #page sideways, which stops the header from sticking.
   The body clips instead (see body.ffa above). */
.ffa .site { overflow: visible; }

.ffa .col-full {
	max-width: calc(var(--ffa-wrap) + var(--ffa-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ffa-gutter);
	padding-right: var(--ffa-gutter);
	box-sizing: border-box;
}

.ffa-wrap {
	width: 100%;
	max-width: calc(var(--ffa-wrap) + var(--ffa-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--ffa-gutter);
	box-sizing: border-box;
}

.ffa img { max-width: 100%; height: auto; }

/* Buttons */
.ffa .ffa-btn,
.ffa button.button,
.ffa a.button,
.ffa input[type="submit"],
.ffa input[type="button"],
.ffa button[type="submit"]:not(.ffa-icon-btn):not(.ffa-pill),
.ffa .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 26px;
	border: 2px solid var(--ffa-cherry);
	border-radius: 999px;
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
	font-family: var(--ffa-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.ffa .ffa-btn:hover,
.ffa button.button:hover,
.ffa a.button:hover,
.ffa input[type="submit"]:hover,
.ffa .button:hover {
	background: var(--ffa-cherry-dark);
	border-color: var(--ffa-cherry-dark);
	color: var(--ffa-cream);
}

.ffa .ffa-btn:active,
.ffa .button:active { transform: translateY(1px); }

.ffa .ffa-btn--lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.ffa .ffa-btn--sm,
.ffa .ffa-card .button { min-height: 44px; padding: 0 18px; font-size: 15px; }

.ffa .ffa-btn--outline {
	background: transparent;
	border-color: var(--ffa-choc);
	color: var(--ffa-choc);
}
.ffa .ffa-btn--outline:hover {
	background: var(--ffa-choc);
	border-color: var(--ffa-choc);
	color: var(--ffa-cream);
}

.ffa .ffa-btn--cream {
	background: var(--ffa-cream);
	border-color: var(--ffa-cream);
	color: var(--ffa-cherry);
}
.ffa .ffa-btn--cream:hover {
	background: #fff;
	border-color: #fff;
	color: var(--ffa-cherry-dark);
}

.ffa .button.loading { opacity: .7; }
.ffa .button.loading::after { display: none; }
/* After adding to the cart the button keeps its normal look; ffa.js shows "Added ✓" for a moment. */
.ffa .button.added::after { content: none; }
.ffa .button:disabled,
.ffa .button.disabled { opacity: .5; cursor: not-allowed; }

.ffa a.added_to_cart {
	display: inline-block;
	min-height: 0;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	font-weight: 700;
	color: var(--ffa-cherry);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Form fields */
.ffa input[type="text"],
.ffa input[type="email"],
.ffa input[type="tel"],
.ffa input[type="url"],
.ffa input[type="password"],
.ffa input[type="search"],
.ffa input[type="number"],
.ffa input[type="date"],
.ffa select,
.ffa textarea,
.ffa .select2-container .select2-selection--single {
	min-height: 50px;
	padding: 10px 16px;
	border: 1px solid var(--ffa-tan);
	border-radius: 12px;
	background: var(--ffa-card);
	color: var(--ffa-choc);
	font-size: 16px;
	box-shadow: none;
	box-sizing: border-box;
}
.ffa textarea { min-height: 120px; }
.ffa input:focus,
.ffa select:focus,
.ffa textarea:focus {
	border-color: var(--ffa-cherry);
	background: #fff;
	outline: 3px solid rgba(183, 121, 58, .35);
	outline-offset: 0;
}
.ffa .select2-container .select2-selection--single { display: flex; align-items: center; }
.ffa .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0; color: var(--ffa-choc); line-height: 1.4; }
.ffa .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 8px; }
.ffa label { font-weight: 600; color: var(--ffa-choc); }

/* Shared type pieces */
.ffa-eyebrow {
	margin: 0 0 12px;
	font-family: var(--ffa-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ffa-cherry);
}
.ffa-eyebrow--muted { color: var(--ffa-muted); }

.ffa .ffa-h2 {
	margin: 0;
	font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem);
	line-height: 1.1;
}
.ffa .ffa-h2--xl { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.4rem); line-height: 1.05; }

.ffa-lede {
	margin: 0;
	font-size: clamp(1.05rem, .95rem + .4vw, 1.2rem);
	line-height: 1.55;
	color: var(--ffa-muted);
}

.ffa .ffa-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ffa-cherry);
	white-space: nowrap;
}
.ffa .ffa-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.ffa-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}
.ffa-actions--center { justify-content: center; }

.ffa ul.ffa-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 600;
	color: var(--ffa-choc);
}
.ffa ul.ffa-checks li { display: flex; align-items: center; gap: 8px; margin: 0; }
.ffa ul.ffa-checks .ffa-icon { flex-shrink: 0; color: var(--ffa-caramel); }
.ffa ul.ffa-checks--stack { flex-direction: column; gap: 10px; font-size: 17px; }

.ffa-stars {
	color: var(--ffa-caramel);
	letter-spacing: 2px;
	white-space: nowrap;
}
.ffa-stars__off { color: var(--ffa-tan); }

.ffa .ffa-quote {
	margin: 0;
	padding: 18px 22px;
	border-radius: 16px;
	background: var(--ffa-card);
	box-shadow: var(--ffa-shadow);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ffa .ffa-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
}
.ffa .ffa-quote blockquote p {
	margin: 0;
	font-family: var(--ffa-serif);
	font-size: 17px;
	font-style: italic;
	line-height: 1.4;
	color: var(--ffa-choc);
}
.ffa .ffa-quote figcaption { font-size: 13px; font-weight: 600; color: var(--ffa-muted); }

.ffa-chip {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ffa-card);
	font-size: 14px;
	font-weight: 700;
	color: var(--ffa-choc);
}

.ffa-pattern {
	background-color: var(--ffa-cream);
	background-image: url("../img/pattern-tile.webp");
	background-size: 420px 420px;
	background-repeat: repeat;
}

/* 3. Announcement bar
   (.ffa prefix so it outranks the Store Tweaks plugin's inline bar styles)
   ========================================================================== */
.ffa .ffa-announce {
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.3;
	padding: 0;
}
.ffa .ffa-announce a {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 40px;
	padding: 6px 16px;
	color: var(--ffa-cream);
	text-decoration: none;
	box-sizing: border-box;
}
.ffa .ffa-announce a:hover { color: #fff; }
.ffa-announce__dot { display: inline-block; margin: 0 12px; opacity: .6; }

@media (max-width: 767px) {
	.ffa .ffa-announce { font-size: 13px; font-weight: 700; }
	.ffa-announce__more { display: none; }
}

/* 4. Header
   ========================================================================== */
.ffa .site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ffa-line);
	background: var(--ffa-cream);
	transition: box-shadow .2s ease, transform .25s ease;
}
/* While Storefront's add-to-cart bar is showing on a product page, tuck the header away under it. */
body.ffa:has(.storefront-sticky-add-to-cart--slideInDown) .site-header { transform: translateY(-100%); box-shadow: none; }
.admin-bar.ffa .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.ffa .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.ffa .site-header { top: 0; } }

.ffa .site-header.is-scrolled { box-shadow: 0 10px 24px -18px rgba(46, 28, 20, .5); }

.ffa .site-header .skip-link:focus { z-index: 1000; }

.ffa-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 104px;
}

.ffa .ffa-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--ffa-choc);
	text-decoration: none;
	flex-shrink: 0;
}
.ffa .ffa-brand:hover { color: var(--ffa-choc); }
.ffa-brand__logo {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: contain;
}
.ffa-brand__text { display: flex; flex-direction: column; gap: 3px; }
.ffa-brand__name {
	font-family: var(--ffa-serif);
	font-size: 28px;
	font-style: italic;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.ffa-brand__place {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ffa-muted);
	white-space: nowrap;
}

.ffa-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.ffa .ffa-nav__list {
	display: flex;
	align-items: center;
	gap: 6px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ffa .ffa-nav__list li { margin: 0; }
.ffa .ffa-nav__list a {
	display: block;
	padding: 10px 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--ffa-choc);
	white-space: nowrap;
	background-image: linear-gradient(var(--ffa-cherry), var(--ffa-cherry));
	background-size: 0 2px;
	background-position: 0 calc(100% - 4px);
	background-repeat: no-repeat;
	transition: background-size .2s ease, color .15s ease;
}
.ffa .ffa-nav__list a:hover,
.ffa .ffa-nav__list .current-menu-item > a,
.ffa .ffa-nav__list .current-product_cat-ancestor > a,
.ffa .ffa-nav__list .current-menu-ancestor > a {
	color: var(--ffa-cherry);
	background-size: 100% 2px;
}

.ffa-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.ffa .ffa-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ffa-choc);
	cursor: pointer;
}
.ffa .ffa-icon-btn:hover { background: var(--ffa-parchment); color: var(--ffa-cherry); }
.ffa .ffa-menu-btn { display: none; }

.ffa .ffa-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 44px;
	margin-left: 6px;
	padding: 0 8px 0 16px;
	border-radius: 999px;
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.ffa .ffa-cart:hover { background: var(--ffa-cherry-dark); color: var(--ffa-cream); }
.ffa-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ffa-cream);
	color: var(--ffa-cherry);
	font-size: 13px;
	font-weight: 700;
	box-sizing: border-box;
}

/* Header search panel */
.ffa-search {
	border-top: 1px solid var(--ffa-line);
	background: var(--ffa-cream);
	padding: 16px 0 20px;
}
.ffa-search[hidden] { display: none; }
.ffa .ffa-search form,
.ffa .ffa-drawer__search form {
	position: relative;
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto;
}
.ffa .ffa-search input[type="search"],
.ffa .ffa-drawer__search input[type="search"] {
	flex: 1 1 auto;
	width: 100%;
	border-radius: 999px;
	padding-left: 20px;
}
.ffa .ffa-search form button,
.ffa .ffa-drawer__search form button {
	min-height: 50px;
	padding: 0 22px;
}

/* Tablet + phone header */
@media (max-width: 1199px) {
	.ffa-header__row { gap: 16px; }
	.ffa .ffa-nav__list { gap: 6px 22px; }
	.ffa .ffa-nav__list a { font-size: 15px; }
	.ffa-brand__place { display: none; }
}

@media (max-width: 1079px) {
	.ffa-header__row { min-height: 68px; gap: 8px; }
	.ffa .ffa-menu-btn { display: inline-flex; }
	.ffa-nav,
	.ffa .ffa-account-link,
	.ffa .ffa-search-btn,
	.ffa-search { display: none !important; }
	.ffa .ffa-brand { flex: 1 1 auto; justify-content: center; gap: 10px; }
	.ffa-brand__logo { width: 46px; height: 46px; }
	.ffa-brand__name { font-size: 23px; }
	.ffa .ffa-cart {
		width: 44px;
		margin: 0;
		padding: 0;
		justify-content: center;
		background: transparent;
		color: var(--ffa-choc);
	}
	.ffa .ffa-cart:hover { background: var(--ffa-parchment); color: var(--ffa-cherry); }
	.ffa-cart__label { display: none; }
	.ffa-cart__count {
		position: absolute;
		top: 2px;
		right: 0;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		background: var(--ffa-cherry);
		color: var(--ffa-cream);
		font-size: 11px;
	}
	.ffa .ffa-cart:not(.has-items) .ffa-cart__count { display: none; }
}

@media (max-width: 380px) {
	.ffa-brand__name { font-size: 20px; }
	.ffa-brand__logo { width: 40px; height: 40px; }
}

/* Phone menu (drawer) */
.ffa-drawer { position: fixed; inset: 0; z-index: 99999; }
.ffa-drawer[hidden] { display: none; }
.ffa-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(46, 28, 20, .45);
	opacity: 0;
	transition: opacity .2s ease;
}
.ffa-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: min(88vw, 380px);
	overflow-y: auto;
	padding: 16px 20px 32px;
	background: var(--ffa-cream);
	box-shadow: 20px 0 40px -20px rgba(46, 28, 20, .5);
	transform: translateX(-100%);
	transition: transform .22s ease;
	box-sizing: border-box;
}
.ffa-drawer.is-open .ffa-drawer__scrim { opacity: 1; }
.ffa-drawer.is-open .ffa-drawer__panel { transform: translateX(0); }
.ffa-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--ffa-line);
}
.ffa .ffa-brand--drawer .ffa-brand__logo { width: 44px; height: 44px; }
.ffa .ffa-brand--drawer .ffa-brand__name { font-size: 21px; }
.ffa-drawer__search { margin-bottom: 14px; }
.ffa .ffa-drawer__search form button { padding: 0 16px; }
.ffa .ffa-drawer__list,
.ffa .ffa-drawer__extra {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ffa .ffa-drawer__list li,
.ffa .ffa-drawer__extra li { margin: 0; border-bottom: 1px solid var(--ffa-line-soft); }
.ffa .ffa-drawer__list a {
	display: block;
	padding: 14px 4px;
	font-family: var(--ffa-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--ffa-choc);
}
.ffa .ffa-drawer__list .current-menu-item > a { color: var(--ffa-cherry); }
.ffa .ffa-drawer__extra { margin-top: 18px; }
.ffa .ffa-drawer__extra a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--ffa-choc);
}
.ffa-drawer__note { margin: 20px 4px 0; font-size: 14px; color: var(--ffa-muted); }

@media (prefers-reduced-motion: reduce) {
	.ffa-drawer__panel,
	.ffa-drawer__scrim { transition: none; }
}

/* 5. Breadcrumb + page titles
   ========================================================================== */
.ffa .storefront-breadcrumb {
	margin: 0 0 8px;
	padding: 22px 0 0;
	background: transparent;
}
.ffa .woocommerce-breadcrumb {
	margin: 0;
	padding: 0;
	font-size: 14px;
	color: var(--ffa-muted);
}
.ffa .woocommerce-breadcrumb a { color: var(--ffa-muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ffa-tan); }
.ffa .woocommerce-breadcrumb a:hover { color: var(--ffa-cherry); }
.ffa .woocommerce-breadcrumb .breadcrumb-separator { padding: 0 6px; }
.ffa .woocommerce-breadcrumb a:first-of-type::before { display: none; }

.ffa .site-main { margin-bottom: 64px; }
.ffa .hentry { margin-bottom: 40px; }
.ffa .hentry .entry-header,
.ffa .page .entry-header { margin: 0 0 24px; padding: 32px 0 0; border: 0; }
.ffa .entry-title,
.ffa .woocommerce-products-header__title.page-title {
	margin: 0;
	font-size: clamp(2.1rem, 1.5rem + 2vw, 3rem);
	letter-spacing: -0.02em;
}
.ffa .entry-content,
.ffa .term-description,
.ffa .page-description { color: var(--ffa-muted); font-size: 17px; }
.ffa .entry-content h2,
.ffa .entry-content h3 { margin: 1.4em 0 .5em; }
.ffa .entry-content ul,
.ffa .entry-content ol { margin: 0 0 1.4em 1.4em; }

/* 6. Homepage
   ========================================================================== */
.ffa-front .site-content > .col-full {
	max-width: none;
	padding: 0;
	margin: 0;
}
.ffa-home { display: block; }
.ffa-home > section { position: relative; }

.ffa-band { padding: var(--ffa-section) 0; }
.ffa-band--card { background: var(--ffa-card); border-top: 1px solid var(--ffa-line-soft); }
.ffa-band--parchment { background: var(--ffa-parchment); }
.ffa-band--cherry { background: var(--ffa-cherry); color: var(--ffa-cream); }

.ffa-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 40px;
}
.ffa-head .ffa-eyebrow { margin-bottom: 12px; }

.ffa-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: 80px;
	align-items: center;
}
.ffa-split--wide-art { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }

/* Hero */
.ffa-hero { padding: 56px 0 72px; background: var(--ffa-cream); }
.ffa-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 560px;
	gap: 72px;
	align-items: center;
}
.ffa-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.ffa-hero__copy .ffa-eyebrow { margin: 0; }
.ffa .ffa-hero__title {
	margin: 0;
	font-size: clamp(2.6rem, 1.5rem + 3.6vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
}
.ffa .ffa-hero__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--ffa-cherry);
}
.ffa-hero__copy .ffa-lede { max-width: 540px; font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); }
.ffa-hero__copy .ffa-actions { padding-top: 6px; }
.ffa-hero__checks { padding-top: 4px; }

.ffa-hero__art {
	position: relative;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 560 / 620;
	justify-self: end;
}
.ffa-hero__frame {
	position: absolute;
	left: 0;
	top: 4.5%;
	width: 89.3%;
	height: 95.2%;
	border: 2px solid var(--ffa-tan);
	border-radius: 250px 250px 28px 28px;
	box-sizing: border-box;
}
.ffa .ffa-hero__photo {
	position: absolute;
	right: 0;
	top: 0;
	width: 89.3%;
	height: 95.2%;
	object-fit: cover;
	object-position: 62% 50%;
	border-radius: 250px 250px 28px 28px;
	box-shadow: 0 30px 60px -30px rgba(46, 28, 20, .45);
}
.ffa .ffa-hero__badge {
	position: absolute;
	left: -3%;
	bottom: 10%;
	width: 24%;
	height: auto;
	border-radius: 50%;
	box-shadow: 0 12px 30px -10px rgba(46, 28, 20, .5);
}
.ffa .ffa-hero__quote {
	position: absolute;
	right: -40px;
	bottom: -6px;
	width: 290px;
	box-sizing: border-box;
}
.ffa .ffa-hero__quote blockquote p { font-size: 16px; }

/* Shop by craving */
.ffa ul.ffa-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ffa .ffa-tile { margin: 0; }
.ffa .ffa-tile a { display: flex; flex-direction: column; gap: 6px; color: var(--ffa-choc); }
.ffa .ffa-tile__img {
	width: 100%;
	aspect-ratio: 282 / 300;
	height: auto;
	object-fit: cover;
	border-radius: var(--ffa-radius);
	margin-bottom: 8px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ffa .ffa-tile a:hover .ffa-tile__img { transform: translateY(-3px); box-shadow: var(--ffa-shadow); }
.ffa-tile__title { font-family: var(--ffa-serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
.ffa .ffa-tile a:hover .ffa-tile__title { color: var(--ffa-cherry); }
.ffa-tile__text { font-size: 15px; line-height: 1.4; color: var(--ffa-muted); }

/* Build a 5-Box */
.ffa-fivebox { padding: 64px 0; }
.ffa-fivebox .ffa-eyebrow { color: var(--ffa-cherry-soft); }
.ffa .ffa-fivebox .ffa-h2 { color: var(--ffa-cream); margin: 0 0 18px; }
.ffa-fivebox .ffa-lede { color: #f6e6da; max-width: 520px; margin-bottom: 22px; }
.ffa .ffa-fivebox ol.ffa-steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	counter-reset: ffa-step;
	font-size: 17px;
	font-weight: 600;
}
.ffa .ffa-fivebox ol.ffa-steps li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	counter-increment: ffa-step;
}
.ffa .ffa-fivebox ol.ffa-steps li::before {
	content: counter(ffa-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border: 2px solid var(--ffa-cherry-soft);
	border-radius: 50%;
	font-size: 14px;
	box-sizing: border-box;
}
.ffa .ffa-fivebox__price { margin: 0; font-size: 17px; font-weight: 600; color: #f6e6da; }
.ffa .ffa-fivebox__price strong { font-size: 26px; color: var(--ffa-cream); }
.ffa-fivebox__art { display: flex; justify-content: center; }
.ffa .ffa-fivebox__art img { width: 100%; max-width: 540px; aspect-ratio: 1; object-fit: contain; }

/* Gifting */
.ffa-gifting { background: var(--ffa-cream); }
.ffa-gifting--everyday { padding: var(--ffa-section) 0; }
.ffa-gifting__grid { display: grid; gap: 80px; align-items: center; }
.ffa-gifting--everyday .ffa-gifting__grid { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); }
.ffa-gifting__media { position: relative; }
.ffa .ffa-gifting__media img { width: 100%; aspect-ratio: 560 / 520; object-fit: cover; border-radius: 24px; }
.ffa-gifting__media .ffa-chip { position: absolute; left: 20px; top: 20px; }
.ffa-gifting__copy { display: flex; flex-direction: column; gap: 20px; }
.ffa-gifting__copy .ffa-eyebrow { margin: 0; }
.ffa .ffa-gifting__quote { box-shadow: none; background: var(--ffa-parchment); }

.ffa-gifting--holiday {
	min-height: 720px;
	display: flex;
	align-items: center;
	background: #f6eee2;
	overflow: hidden;
}
.ffa-gifting__bg { position: absolute; inset: 0; display: block; }
.ffa .ffa-gifting__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}
.ffa-gifting--holiday .ffa-gifting__grid { position: relative; grid-template-columns: minmax(0, 470px); padding: 72px var(--ffa-gutter); }
.ffa-gifting--holiday .ffa-lede { color: #5a4034; }
.ffa-gifting--holiday .ffa-gifting__quote { background: var(--ffa-card); box-shadow: var(--ffa-shadow); }

/* Story */
.ffa-story__copy { display: flex; flex-direction: column; gap: 20px; }
.ffa-story__copy .ffa-eyebrow { margin: 0; }
.ffa .ffa-signature { margin: 0; font-family: var(--ffa-serif); font-size: 20px; font-style: italic; color: var(--ffa-choc); }
.ffa .ffa-story__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }

/* Find us in person */
.ffa-stockists { padding: 56px 0; text-align: center; }
.ffa .ffa-stockists .ffa-eyebrow { font-family: var(--ffa-sans); font-size: 13px; margin: 0 0 14px; letter-spacing: .18em; }
.ffa .ffa-stockists__place {
	margin: 0;
	font-family: var(--ffa-serif);
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ffa-choc);
}
.ffa .ffa-stockists__note { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--ffa-muted); }

/* Fudge Club */
.ffa-club { padding: 24px 0 64px; }
.ffa-club__card {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	padding: 40px 56px;
	border-radius: 28px;
	background: var(--ffa-parchment);
	box-shadow: 0 20px 40px -30px rgba(46, 28, 20, .35);
}
.ffa .ffa-club__art { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.ffa-club__copy { display: flex; flex-direction: column; gap: 14px; }

/* Fudge Club sign-up form (markup from the Store Tweaks plugin) */
.ffa-club-form { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; }
.ffa-club-form__row { display: flex; gap: 10px; }
.ffa .ffa-club-form__input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; }
.ffa .ffa-club-form__button { flex: 0 0 auto; min-height: 52px; }
.ffa-club-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ffa .ffa-club-form__note { margin: 0; font-size: 14px; color: var(--ffa-muted); }
.ffa .ffa-club-form__msg { margin: 0; font-weight: 700; color: var(--ffa-choc); }
.ffa .ffa-club-form__msg--error { color: var(--ffa-cherry); }
.ffa-club-form.is-joined .ffa-club-form__row,
.ffa-club-form.is-joined .ffa-club-form__note { display: none; }
.ffa-club-code { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 2px dashed var(--ffa-cherry); border-radius: 16px; background: var(--ffa-card); }
.ffa .ffa-club-code__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.ffa .ffa-club-code__code { padding: 0; background: none; font-family: var(--ffa-sans); font-size: 26px; font-weight: 800; letter-spacing: .08em; color: var(--ffa-cherry); }
.ffa .ffa-club-code__how { margin: 0; font-size: 14px; color: var(--ffa-muted); }
@media (max-width: 767px) {
	.ffa-club-form__row { flex-direction: column; }
	.ffa .ffa-club-form__button { width: 100%; }
}

/* Homepage — tablet */
@media (max-width: 1079px) {
	.ffa-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; }
	.ffa .ffa-hero__quote { right: 0; width: 250px; }
	.ffa ul.ffa-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ffa-split,
	.ffa-split--wide-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
	.ffa-gifting--everyday .ffa-gifting__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
	.ffa-club__card { grid-template-columns: 280px minmax(0, 1fr); padding: 32px; gap: 32px; }
}

/* Homepage — phones */
@media (max-width: 767px) {
	.ffa-hero { padding: 28px 0 40px; }
	.ffa-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ffa-hero__copy { gap: 14px; }
	.ffa .ffa-hero__title { font-size: clamp(2.2rem, 1.6rem + 3vw, 2.6rem); line-height: 1.05; }
	.ffa-hero__copy .ffa-lede { font-size: 17px; line-height: 1.5; }
	.ffa-hero__copy .ffa-actions { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 4px; }
	.ffa-hero__copy .ffa-btn--lg { min-height: 52px; }
	.ffa ul.ffa-hero__checks { gap: 8px 18px; font-size: 14px; }
	.ffa-hero__art { aspect-ratio: 358 / 380; justify-self: stretch; max-width: none; }
	.ffa-hero__frame { display: none; }
	.ffa .ffa-hero__photo { width: 100%; height: 100%; border-radius: 179px 179px 20px 20px; }
	.ffa .ffa-hero__badge { left: 12px; bottom: 14px; width: 84px; }
	.ffa .ffa-hero__quote { display: none; }

	.ffa-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
	.ffa-head .ffa-more { order: 3; }
	.ffa ul.ffa-tiles { gap: 18px 14px; }
	.ffa-tile__title { font-size: 18px; }
	.ffa-tile__text { font-size: 13px; line-height: 1.3; }
	.ffa .ffa-tile__img { aspect-ratio: 1; border-radius: 16px; margin-bottom: 4px; }

	.ffa-split,
	.ffa-split--wide-art,
	.ffa-gifting--everyday .ffa-gifting__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.ffa-fivebox { padding: 48px 0; }
	.ffa-fivebox__art { order: -1; }
	.ffa .ffa-fivebox__art img { max-width: 280px; }
	.ffa .ffa-fivebox ol.ffa-steps { font-size: 15px; }
	.ffa-fivebox .ffa-actions { flex-direction: column; align-items: stretch; }
	.ffa .ffa-fivebox__price { text-align: center; }

	.ffa-gifting--holiday { display: block; min-height: 0; padding: 0 0 48px; }
	.ffa-gifting__bg { position: relative; inset: auto; padding: 48px var(--ffa-gutter) 0; }
	.ffa .ffa-gifting__bg img { height: auto; aspect-ratio: 358 / 260; border-radius: 20px; object-position: center; }
	.ffa-gifting--holiday .ffa-gifting__grid { padding: 24px var(--ffa-gutter) 0; }
	.ffa-gifting__copy { gap: 14px; }
	.ffa-gifting__copy .ffa-actions { flex-direction: column; align-items: stretch; }
	.ffa .ffa-gifting__media img { aspect-ratio: 358 / 260; border-radius: 20px; }
	.ffa-gifting__media .ffa-chip { left: 12px; top: 12px; padding: 8px 12px; font-size: 12px; }

	.ffa-story__art { order: -1; }

	.ffa-club { padding: 16px 0 40px; }
	.ffa-club__card { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 28px; gap: 14px; border-radius: 22px; }
}

/* 7. Product cards (homepage, shop, related)
   ========================================================================== */
.ffa .site-main ul.products,
.ffa ul.products.ffa-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}
.ffa .site-main ul.products::before,
.ffa .site-main ul.products::after,
.ffa ul.products.ffa-grid::before,
.ffa ul.products.ffa-grid::after { content: none; display: none; }

.ffa ul.products li.product,
.ffa .site-main ul.products li.product {
	width: auto !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0;
	text-align: left;
	display: flex;
}

.ffa-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: var(--ffa-radius);
	background: var(--ffa-card);
	box-shadow: 0 1px 0 rgba(46, 28, 20, .04);
	transition: box-shadow .2s ease, transform .2s ease;
}
.ffa-card:hover { box-shadow: var(--ffa-shadow); }
.ffa .ffa-card__media { position: relative; display: block; overflow: hidden; background: var(--ffa-parchment); }
.ffa .ffa-card__img,
.ffa ul.products li.product .ffa-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
	transition: transform .35s ease;
}
.ffa .ffa-card:hover .ffa-card__img { transform: scale(1.03); }
.ffa-card__badge {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.ffa-card__badge--muted { background: var(--ffa-choc); }

.ffa-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 18px 20px 20px;
}
.ffa .ffa-card__title,
.ffa ul.products li.product .ffa-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--ffa-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
.ffa .ffa-card__title a { color: var(--ffa-choc); }
.ffa .ffa-card__title a:hover { color: var(--ffa-cherry); }
.ffa .ffa-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: var(--ffa-muted);
}
.ffa-card__buy { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
/* Price on its own line, full-width button, so every card's buy row lines up. */
.ffa-card__row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.ffa .ffa-card .button,
.ffa ul.products li.product .ffa-card .button { width: 100%; }
.ffa .ffa-card__price,
.ffa ul.products li.product .ffa-card__price {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--ffa-choc);
}
.ffa .ffa-card__price del { font-size: 15px; font-weight: 500; color: var(--ffa-muted); opacity: .8; }
.ffa .ffa-card__price ins { text-decoration: none; background: none; color: var(--ffa-cherry); }
.ffa .ffa-card__size { font-size: 13px; font-weight: 500; color: var(--ffa-muted); white-space: nowrap; }
.ffa ul.products li.product .ffa-card .button { margin: 0; }
/* Cards stay identical after adding: the header's cart count is the confirmation. */
.ffa .ffa-card a.added_to_cart { display: none; }

/* Size pills */
.ffa-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ffa .ffa-pill {
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid var(--ffa-tan);
	border-radius: 999px;
	background: transparent;
	color: var(--ffa-choc);
	font-family: var(--ffa-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ffa .ffa-pill:hover { border-color: var(--ffa-choc); }
.ffa .ffa-pill[aria-checked="true"] {
	border: 2px solid var(--ffa-choc);
	background: var(--ffa-choc);
	color: var(--ffa-cream);
	font-weight: 700;
}
.ffa .ffa-pill:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

/* Shop grid — tablet / phone */
@media (max-width: 1079px) {
	.ffa .site-main ul.products,
	.ffa ul.products.ffa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 767px) {
	.ffa .site-main ul.products,
	.ffa ul.products.ffa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.ffa-card__body { padding: 12px; gap: 8px; }
	.ffa .ffa-card__title,
	.ffa ul.products li.product .ffa-card__title { font-size: 17px; }
	.ffa .ffa-card__meta { font-size: 13px; }
	.ffa .ffa-card__meta .ffa-stars { letter-spacing: 1px; }
	.ffa .ffa-card__price,
	.ffa ul.products li.product .ffa-card__price { font-size: 16px; }
	.ffa-card__row { flex-direction: column; align-items: stretch; gap: 8px; }
	.ffa .ffa-card .button,
	.ffa ul.products li.product .ffa-card .button { width: 100%; min-height: 44px; padding: 0 12px; }
	.ffa .ffa-pill { padding: 0 9px; font-size: 12px; min-height: 32px; }
}

/* 8. Shop & category pages
   ========================================================================== */
.ffa .woocommerce-products-header { margin: 0 0 24px; padding: 8px 0 0; text-align: left; }
.ffa .woocommerce-products-header .term-description,
.ffa .woocommerce-products-header .page-description { max-width: 720px; margin-top: 10px; }
.ffa .storefront-sorting {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 24px;
	padding: 0;
	font-size: 15px;
}
.ffa .storefront-sorting::before,
.ffa .storefront-sorting::after { content: none; }
.ffa .storefront-sorting .woocommerce-notices-wrapper { flex: 0 0 100%; }
.ffa .storefront-sorting .woocommerce-notices-wrapper:empty { display: none; }
@media (max-width: 767px) {
	/* Phones: sort menu on top, page numbers only at the bottom */
	.ffa .storefront-sorting { gap: 10px 16px; }
	.ffa .storefront-sorting .woocommerce-ordering { flex: 1 1 100%; }
	.ffa .storefront-sorting .woocommerce-ordering select { width: 100%; }
	.ffa .storefront-sorting:not(ul.products ~ .storefront-sorting) .woocommerce-pagination { display: none; }
	.ffa ul.products ~ .storefront-sorting .woocommerce-ordering { display: none; }
}
.ffa .woocommerce-ordering,
.ffa .woocommerce-result-count { float: none; margin: 0; color: var(--ffa-muted); }
.ffa .woocommerce-ordering select { min-height: 44px; padding: 8px 40px 8px 16px; border-radius: 999px; }
.ffa .woocommerce-pagination { float: none; margin: 0; }
.ffa .woocommerce-pagination .page-numbers {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}
.ffa .woocommerce-pagination .page-numbers li { border: 0; margin: 0; }
.ffa .woocommerce-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--ffa-card);
	color: var(--ffa-choc);
	font-weight: 700;
	box-sizing: border-box;
}
.ffa .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--ffa-choc); color: var(--ffa-cream); }
.ffa .woocommerce-pagination .page-numbers li a.page-numbers:hover { background: var(--ffa-parchment); }

/* Subcategory tiles inside category pages */
.ffa ul.products li.product-category a { display: block; width: 100%; padding: 0; border-radius: var(--ffa-radius); background: var(--ffa-card); overflow: hidden; color: var(--ffa-choc); }
.ffa ul.products li.product-category img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; }
.ffa ul.products li.product-category .woocommerce-loop-category__title { margin: 0; padding: 16px 20px 20px; font-size: 20px; }
.ffa ul.products li.product-category .count { background: none; color: var(--ffa-muted); font-family: var(--ffa-sans); font-size: 14px; }

/* 9. Single product
   ========================================================================== */
.ffa.single-product div.product { margin-top: 8px; overflow: visible; display: flow-root; } /* flow-root holds the floats without clipping, so sticky bars inside work */
.ffa.single-product div.product .woocommerce-product-gallery { margin-bottom: 32px; }
.ffa.single-product div.product .woocommerce-product-gallery .flex-viewport,
.ffa.single-product div.product .woocommerce-product-gallery__image img { border-radius: var(--ffa-radius); }
.ffa.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
}
/* !important: Storefront sizes thumbnails per column count with very specific selectors. */
.ffa.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	float: none !important;
	width: 64px !important;
	margin: 0 !important;
}
.ffa.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 10px;
	opacity: .55;
}
.ffa.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.ffa.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; }
.ffa.single-product div.product .product_title {
	margin: 0 0 10px;
	font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}
.ffa.single-product div.product p.price,
.ffa.single-product div.product span.price {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 700;
	color: var(--ffa-choc);
}
.ffa.single-product div.product .price del { font-size: .7em; font-weight: 500; color: var(--ffa-muted); opacity: .8; }
.ffa.single-product div.product .price ins { background: none; color: var(--ffa-cherry); font-weight: 700; text-decoration: none; }
.ffa.single-product div.product .woocommerce-product-rating { margin: 0 0 12px; }
.ffa .star-rating::before { color: var(--ffa-tan); opacity: 1; }
.ffa .star-rating span::before { color: var(--ffa-caramel); }
.ffa .onsale,
.ffa.single-product div.product .onsale {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
}
.ffa.single-product div.product .woocommerce-product-details__short-description { color: var(--ffa-muted); }
.ffa.single-product div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
}
.ffa.single-product div.product form.cart::before,
.ffa.single-product div.product form.cart::after { content: none; }
.ffa.single-product div.product form.cart .quantity { float: none; margin: 0; }
.ffa.single-product div.product form.cart .quantity .qty {
	width: 84px;
	min-height: 58px;
	border-radius: 999px;
	text-align: center;
	font-weight: 700;
}
.ffa.single-product div.product form.cart .single_add_to_cart_button {
	float: none;
	flex: 1 1 220px;
	min-height: 58px;
	font-size: 17px;
}
.ffa.single-product div.product form.variations_form { display: block; }
.ffa.single-product div.product table.variations { margin: 0 0 16px; border: 0; }
.ffa.single-product div.product table.variations th,
.ffa.single-product div.product table.variations td { padding: 6px 0; background: none; border: 0; }
.ffa.single-product div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.ffa.single-product div.product .product_meta {
	padding-top: 16px;
	border-top: 1px solid var(--ffa-line);
	font-size: 14px;
	color: var(--ffa-muted);
}
.ffa.single-product div.product .product_meta a { color: var(--ffa-muted); text-decoration: underline; text-underline-offset: 3px; }

/* Perks list from the Store Tweaks plugin */
.ffa ul.ffa-perks {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 22px;
	padding: 16px 18px;
	border-radius: var(--ffa-radius-sm);
	background: var(--ffa-parchment);
	font-size: 15px;
	font-weight: 600;
	color: var(--ffa-choc);
}
.ffa ul.ffa-perks li { margin: 0; padding-left: 26px; }
.ffa ul.ffa-perks li::before { content: "✓"; color: var(--ffa-caramel); left: 2px; }

/* Tabs */
.ffa .woocommerce-tabs { padding: 40px 0 8px; border-top: 1px solid var(--ffa-line); }
.ffa .woocommerce-tabs ul.tabs { border: 0; }
.ffa .woocommerce-tabs ul.tabs li { border: 0; }
.ffa .woocommerce-tabs ul.tabs li a {
	padding: 10px 0;
	font-weight: 700;
	color: var(--ffa-muted);
}
.ffa .woocommerce-tabs ul.tabs li.active a,
.ffa .woocommerce-tabs ul.tabs li a:hover { color: var(--ffa-cherry); }
.ffa .woocommerce-tabs ul.tabs li.active::after { display: none; }
.ffa .woocommerce-tabs .panel h2:first-of-type { font-size: 1.6rem; margin-bottom: .6em; }
.ffa .related.products > h2,
.ffa .upsells.products > h2,
.ffa .cross-sells > h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 24px; }

/* Storefront's sticky add-to-cart bar */
.ffa .storefront-sticky-add-to-cart {
	padding: 10px 0;
	background: var(--ffa-card);
	border-bottom: 1px solid var(--ffa-line);
	box-shadow: 0 10px 24px -18px rgba(46, 28, 20, .45);
}
.ffa .storefront-sticky-add-to-cart__content { gap: 16px; }
.ffa .storefront-sticky-add-to-cart img {
	flex: 0 0 auto;
	width: 52px;
	max-width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	object-fit: cover;
}
.ffa .storefront-sticky-add-to-cart__content-product-info { flex: 1 1 auto; min-width: 0; padding: 0; }
.ffa .storefront-sticky-add-to-cart__content-title { font-family: var(--ffa-serif); font-weight: 600; color: var(--ffa-choc); }
.ffa .storefront-sticky-add-to-cart__content-price del { color: var(--ffa-muted); opacity: .8; }
.ffa .storefront-sticky-add-to-cart__content-price ins { background: none; color: var(--ffa-cherry); font-weight: 700; text-decoration: none; }
.ffa .storefront-sticky-add-to-cart .star-rating { font-size: 12px; }
.ffa .storefront-sticky-add-to-cart__content-button { min-height: 44px; margin: 0; }

/* 10. Cart, checkout, account, notices
   ========================================================================== */
.ffa .woocommerce-message,
.ffa .woocommerce-info,
.ffa .woocommerce-error,
.ffa .woocommerce-noreviews,
.ffa p.no-comments {
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 0;
	border-left: 4px solid var(--ffa-caramel);
	border-radius: var(--ffa-radius-sm);
	background: var(--ffa-card);
	color: var(--ffa-choc);
	box-shadow: 0 1px 0 rgba(46, 28, 20, .05);
}
.ffa .woocommerce-message { border-left-color: var(--ffa-good); }
.ffa .woocommerce-error { border-left-color: var(--ffa-cherry); }
.ffa .woocommerce-message a,
.ffa .woocommerce-info a,
.ffa .woocommerce-error a { color: var(--ffa-cherry); font-weight: 700; }
.ffa .woocommerce-message .button,
.ffa .woocommerce-info .button { float: right; min-height: 40px; margin-left: 12px; padding: 0 16px; color: var(--ffa-cream); }
/* Room for Storefront's notice icon */
.ffa .woocommerce-message,
.ffa .woocommerce-info,
.ffa .woocommerce-error,
.ffa .woocommerce-noreviews,
.ffa p.no-comments { padding-left: 54px; }
.ffa .woocommerce-message::before,
.ffa .woocommerce-info::before,
.ffa .woocommerce-error::before,
.ffa .woocommerce-noreviews::before,
.ffa p.no-comments::before { left: 22px; top: 16px; color: inherit; }

.ffa table.shop_table,
.ffa table.cart {
	border: 0;
	border-radius: var(--ffa-radius);
	background: var(--ffa-card);
	overflow: hidden;
}
.ffa table.shop_table th,
.ffa table.shop_table td,
.ffa table.cart th,
.ffa table.cart td {
	padding: 16px 18px;
	border-color: var(--ffa-line-soft);
	background: transparent;
	color: var(--ffa-choc);
}
.ffa table.shop_table thead th { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ffa-muted); }
.ffa table.cart td.product-name a { font-family: var(--ffa-serif); font-size: 18px; font-weight: 600; color: var(--ffa-choc); text-decoration: none; }
.ffa table.cart td.product-name a:hover { color: var(--ffa-cherry); text-decoration: underline; text-underline-offset: 3px; }
.ffa table.cart td.product-thumbnail img { width: 72px; border-radius: 12px; }
.ffa table.cart td.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--ffa-muted) !important;
}
.ffa table.cart td.product-remove a.remove:hover { background: var(--ffa-parchment); color: var(--ffa-cherry) !important; }
.ffa table.cart td.actions { border-top: 1px solid var(--ffa-line-soft); }
.ffa table.cart td.actions .coupon { display: flex; gap: 10px; align-items: center; }
.ffa table.cart td.actions .coupon input.input-text { width: 180px; }

/* Phones: each cart line as a compact card (photo, name, price, remove; quantity and line total below) */
@media (max-width: 767px) {
	.ffa table.cart tr.cart_item {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr) auto;
		align-items: center;
		gap: 4px 14px;
		padding: 16px;
		border-bottom: 1px solid var(--ffa-line-soft);
	}
	.ffa table.cart tr.cart_item td {
		display: block;
		padding: 0;
		border: 0;
		background: none;
		text-align: left;
	}
	.ffa table.cart tr.cart_item td::before { display: none; }
	.ffa table.cart tr.cart_item td.product-thumbnail { grid-column: 1; grid-row: 1 / span 2; }
	.ffa table.cart tr.cart_item td.product-thumbnail img { display: block; width: 64px; height: 64px; object-fit: cover; }
	.ffa table.cart tr.cart_item td.product-name { grid-column: 2; grid-row: 1; }
	.ffa table.cart tr.cart_item td.product-name a { font-size: 17px; line-height: 1.25; }
	.ffa table.cart tr.cart_item td.product-price { grid-column: 2; grid-row: 2; font-size: 15px; color: var(--ffa-muted); }
	.ffa table.cart tr.cart_item td.product-remove { grid-column: 3; grid-row: 1; justify-self: end; }
	.ffa table.cart tr.cart_item td.product-remove a.remove { position: static; }
	.ffa table.cart tr.cart_item td.product-quantity { grid-column: 1 / span 2; grid-row: 3; margin-top: 10px; }
	.ffa table.cart tr.cart_item td.product-subtotal { grid-column: 3; grid-row: 3; margin-top: 10px; font-weight: 700; text-align: right; }
}
.ffa .cart-collaterals .cart_totals h2,
.ffa #order_review_heading,
.ffa .woocommerce-billing-fields h3,
.ffa .woocommerce-shipping-fields h3,
.ffa .woocommerce-additional-fields h3 { font-size: 1.6rem; margin-bottom: 16px; }
.ffa .wc-proceed-to-checkout .checkout-button,
.ffa #place_order {
	width: 100%;
	min-height: 60px;
	font-size: 18px;
}
.ffa #payment { border-radius: var(--ffa-radius); background: var(--ffa-card); }
.ffa #payment .payment_methods > li { background: transparent; }
.ffa #payment .payment_box { background: var(--ffa-parchment); border-radius: 12px; }
/* "Sending a gift? Ship to a different address" as a checkbox row */
.ffa #ship-to-different-address {
	margin: 8px 0 18px;
	font-family: var(--ffa-sans);
	font-size: 17px;
	line-height: 1.4;
	letter-spacing: 0;
}
.ffa #ship-to-different-address label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--ffa-line);
	border-radius: 12px;
	background: var(--ffa-card);
	color: var(--ffa-choc);
	font-weight: 700;
	cursor: pointer;
}
.ffa #ship-to-different-address input[type="checkbox"] {
	position: static;
	transform: none;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--ffa-cherry);
}
.ffa form.checkout_coupon,
.ffa form.login,
.ffa form.register {
	padding: 24px;
	border: 0;
	border-radius: var(--ffa-radius);
	background: var(--ffa-card);
}

/* Free-shipping progress from the Store Tweaks plugin */
.ffa .ffa-progress {
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 0;
	border-radius: var(--ffa-radius-sm);
	background: var(--ffa-card);
}
.ffa .ffa-progress p { margin: 0 0 10px; font-weight: 600; color: var(--ffa-choc); }
.ffa .ffa-progress__track { height: 10px; border-radius: 999px; background: var(--ffa-line); overflow: hidden; }
.ffa .ffa-progress__track span { display: block; height: 100%; border-radius: 999px; background: var(--ffa-cherry); }
.ffa .ffa-progress.is-done .ffa-progress__track span { background: var(--ffa-good); }

/* My account */
.ffa .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 0; }
.ffa .woocommerce-MyAccount-navigation ul li { border: 0; margin: 0 0 4px; }
.ffa .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 12px 16px;
	border-radius: 12px;
	color: var(--ffa-choc);
	font-weight: 600;
}
.ffa .woocommerce-MyAccount-navigation ul li a::before { display: none; }
.ffa .woocommerce-MyAccount-navigation ul li.is-active a,
.ffa .woocommerce-MyAccount-navigation ul li a:hover { background: var(--ffa-card); color: var(--ffa-cherry); }

/* 11. Empty cart
   ========================================================================== */
.ffa-cart-empty .entry-header { display: none; }
.ffa-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 960px;
	margin: 0 auto;
	padding: 28px 0 24px;
	text-align: center;
}
.ffa .ffa-empty__art {
	width: 300px;
	max-width: 70vw;
	height: auto;
	aspect-ratio: 1;
	/* Let the page color show through the picture's light background, and soften its edges */
	mix-blend-mode: darken;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
	mask-composite: intersect;
}
.ffa .ffa-empty__title { margin: 0; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.ffa-empty .ffa-lede { max-width: 560px; }
.ffa-empty .ffa-actions { padding-top: 4px; }
.ffa-empty__eyebrow { margin: 22px 0 0; color: var(--ffa-muted); }
.ffa ul.ffa-minis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.ffa .ffa-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px;
	border-radius: 16px;
	background: var(--ffa-card);
}
.ffa .ffa-mini__img { display: block; flex: 0 0 64px; }
.ffa .ffa-mini__img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.ffa-mini__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ffa .ffa-mini__name { font-family: var(--ffa-serif); font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--ffa-choc); }
.ffa-mini__price { font-size: 15px; font-weight: 700; }
.ffa .ffa-mini .button { min-height: 44px; padding: 0 16px; font-size: 14px; flex-shrink: 0; }
.ffa .ffa-mini a.added_to_cart { display: none; }

@media (max-width: 899px) {
	.ffa ul.ffa-minis { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
}

/* 11b. Zack Shack Arcade promo (above the footer)
   ========================================================================== */
.ffa-arcade { padding: 40px 0; background: var(--ffa-cream); border-top: 1px solid var(--ffa-line-soft); }
.ffa-arcade__card {
	display: flex;
	align-items: center;
	gap: 20px 24px;
	padding: 22px 28px;
	border-radius: var(--ffa-radius);
	background: var(--ffa-choc);
	color: var(--ffa-cream);
	box-shadow: 0 18px 36px -24px rgba(46, 28, 20, .6);
}
.ffa-arcade__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--ffa-cherry);
	color: var(--ffa-cream);
}
.ffa .ffa-arcade__text {
	flex: 1 1 auto;
	margin: 0;
	font-family: var(--ffa-serif);
	font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--ffa-cream);
}
.ffa .ffa-arcade__text a { color: var(--ffa-cherry-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ffa .ffa-arcade__text a:hover { color: #fff; }
.ffa .ffa-arcade__btn { flex-shrink: 0; background: var(--ffa-cream); border-color: var(--ffa-cream); color: var(--ffa-choc); }
.ffa .ffa-arcade__btn:hover { background: #fff; border-color: #fff; color: var(--ffa-cherry); }

@media (max-width: 767px) {
	.ffa-arcade { padding: 28px 0; }
	.ffa-arcade__card { flex-direction: column; text-align: center; padding: 22px 20px 24px; }
	.ffa .ffa-arcade__btn { width: 100%; }
}

/* 12. Footer
   ========================================================================== */
.ffa .site-footer {
	margin: 0;
	padding: 0;
	background: var(--ffa-choc);
	color: var(--ffa-cream);
}
.ffa .site-footer .col-full { padding-top: 0; padding-bottom: 0; }
.ffa-footer { padding: 70px 0 0; }
.ffa-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 56px;
}
.ffa-footer__about { display: flex; flex-direction: column; gap: 16px; }
.ffa .ffa-footer__about p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ffa-footer-text); }
.ffa .ffa-footer__about a { color: var(--ffa-footer-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ffa-footer-line); }
.ffa .ffa-footer__about a:hover { color: var(--ffa-cream); }
.ffa .site-footer .ffa-brand { color: var(--ffa-cream); text-decoration: none; }
.ffa .site-footer .ffa-brand--footer .ffa-brand__logo { width: 64px; height: 64px; }
.ffa .site-footer .ffa-brand--footer .ffa-brand__name { font-size: 26px; }
.ffa-social { display: flex; gap: 8px; }
.ffa .ffa-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ffa-footer-line);
	border-radius: 50%;
	color: var(--ffa-cream);
	text-decoration: none !important;
}
.ffa .ffa-social__link:hover { background: var(--ffa-cream); color: var(--ffa-choc); }
.ffa-footer__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ffa-footer-text);
}
.ffa .ffa-footer__list { margin: 0; padding: 0; list-style: none; }
.ffa .ffa-footer__list li { margin: 0 0 12px; }
.ffa .ffa-footer__list a { font-size: 15px; color: var(--ffa-cream); }
.ffa .ffa-footer__list a:hover { color: var(--ffa-cherry-soft); text-decoration: underline; text-underline-offset: 3px; }
.ffa-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 24px 0;
	border-top: 1px solid var(--ffa-footer-line);
}
.ffa .ffa-footer__bottom p { margin: 0; font-size: 14px; color: var(--ffa-footer-text); }
.ffa-footer__credit { white-space: nowrap; }
.ffa .ffa-footer__bottom a { color: var(--ffa-cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ffa-footer-line); }
.ffa .ffa-footer__bottom a:hover { color: #fff; text-decoration-color: currentColor; }

@media (max-width: 1079px) {
	.ffa-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.ffa-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.ffa-footer { padding-top: 40px; }
	.ffa-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-bottom: 28px; }
	.ffa .site-footer .ffa-brand--footer .ffa-brand__logo { width: 48px; height: 48px; }
	.ffa .site-footer .ffa-brand--footer .ffa-brand__name { font-size: 22px; }
	.ffa-footer__bottom { flex-direction: column; padding: 18px 0 28px; }
	.ffa .ffa-footer__bottom p { font-size: 13px; line-height: 1.5; }
}

/* 13. Pages
   ========================================================================== */
/* Reading pages get a centered column; cart, checkout and account keep the full width. */
.ffa.page:not(.ffa-front):not(.woocommerce-page) .site-main > .hentry,
.ffa .site-main > article.post {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

/* Storefront underlines links inside page content; buttons and product names stay clean. */
.ffa .entry-content a.ffa-btn,
.ffa .entry-content a.button,
.ffa .entry-content a.ffa-mini__name,
.ffa .entry-content a.ffa-mini__img,
.ffa .entry-content .ffa-card a { text-decoration: none; }
.ffa .entry-content a.ffa-mini__name:hover { color: var(--ffa-cherry); }

/* The header's cart button replaces the Cart Tab plugin's floating tab. */
.ffa .woocommerce-cart-tab-container { display: none !important; }

/* Jetpack contact form */
.ffa .contact-form .grunion-field-label,
.ffa .wp-block-jetpack-contact-form label { font-weight: 700; }

/* 14. Small screens: tidy Storefront spacing
   ========================================================================== */
@media (max-width: 767px) {
	.ffa .site-main { margin-bottom: 40px; }
	.ffa .hentry .entry-header,
	.ffa .page .entry-header { padding-top: 20px; margin-bottom: 16px; }
	.ffa .storefront-breadcrumb { padding-top: 14px; }
	.ffa table.cart td.actions .coupon { flex-direction: column; align-items: stretch; }
	.ffa table.cart td.actions .coupon input.input-text { width: 100%; }
}
