/* =============================================================
   BHPFA FABLE — WooCommerce
   Restyles the classic (legacy-template) shop archive + single
   product to the Fable design language. Mobile-first; the sticky
   mobile cart bar and full-width Add to Cart are the point.
   ============================================================= */

/* ------------------------------------------------------------ */
/* Shared chrome                                                 */
/* ------------------------------------------------------------ */

.fable-woo { padding-block: clamp(1.5rem, 4vw, 3rem) var(--wp--preset--spacing--60, 4.5rem); }

.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--label) !important;
	font-size: 0.72rem !important;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fable-sage) !important;
	margin-bottom: 1.5rem !important;
}
.woocommerce-breadcrumb a {
	display: inline-block;
	padding-block: 0.45rem;
	margin-block: -0.25rem;
	color: var(--fable-moss) !important;
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover { color: var(--fable-forest) !important; }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--fable-forest) !important;
	background: var(--fable-cream) !important;
	color: var(--fable-ink) !important;
	border-radius: var(--fable-radius-sm);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--fable-forest) !important; }
.woocommerce-error { border-top-color: var(--fable-terracotta) !important; }
.woocommerce-error::before { color: var(--fable-terracotta) !important; }

/* Buttons: the classic-template button vocabulary */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button {
	background: var(--fable-forest) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 999px !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 700 !important;
	padding: 0.8em 1.7em !important;
	line-height: 1.2 !important;
	transition: background 0.2s, transform 0.15s !important;
	text-decoration: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.wc-block-components-button:hover {
	background: var(--fable-forest-deep) !important;
	color: #fff !important;
	transform: translateY(-1px);
}
.woocommerce a.button.disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
	background: var(--fable-sage) !important;
	color: #fff !important;
}

/* Prices are terracotta, set in the display serif */
.woocommerce .price,
.woocommerce span.price,
.woocommerce div.product p.price {
	color: var(--fable-terracotta) !important;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
}
.woocommerce .price del { opacity: 0.5; font-weight: 400; }
.woocommerce .price ins { text-decoration: none; }

/* Sale badge */
.woocommerce span.onsale {
	background: var(--fable-goldenrod) !important;
	color: var(--fable-pine) !important;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.68rem !important;
	min-height: 0 !important;
	min-width: 0 !important;
	line-height: 1 !important;
	padding: 0.55em 1em !important;
	border-radius: 999px !important;
}

/* Star ratings */
.woocommerce .star-rating span { color: var(--fable-goldenrod); }

/* ------------------------------------------------------------ */
/* Shop / category archive                                       */
/* ------------------------------------------------------------ */

/* Result count + ordering row */
.woocommerce .woocommerce-result-count {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.8rem;
	color: var(--fable-moss);
}
.woocommerce .woocommerce-ordering select {
	border: 1px solid rgba(156, 166, 139, 0.5);
	border-radius: 999px;
	padding: 0.45rem 2rem 0.45rem 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.85rem;
	background-color: #fff;
}

/* Product grid: 1 col small phones, 2 cols >=640, 3 >=1025 (spec) */
/* Woo's clearfix pseudo-elements become grid items and eat the first cell. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none !important; }

.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	margin: 0 0 2rem !important;
	list-style: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: var(--fable-white);
	border-radius: var(--fable-radius-lg);
	box-shadow: var(--fable-shadow-card);
	padding: 1rem 1rem 1.35rem !important;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s, box-shadow 0.25s;
	position: relative;
	text-align: left !important;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--fable-shadow-lift);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; text-decoration: none; }
.woocommerce ul.products li.product img {
	border-radius: var(--fable-radius-sm) !important;
	aspect-ratio: 1;
	object-fit: cover;
	width: 100% !important;
	margin: 0 0 0.9rem !important;
	background: var(--fable-paper);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.98rem !important;
	font-weight: 600 !important;
	line-height: 1.35;
	color: var(--fable-ink);
	padding: 0 !important;
	margin-bottom: 0.35rem;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--fable-forest); }
.woocommerce ul.products li.product .price {
	font-size: 1.05rem !important;
	margin-bottom: 0.75rem !important;
}
.woocommerce ul.products li.product .button {
	margin-top: auto !important;
	align-self: flex-start;
	font-size: 0.85rem !important;
}
.woocommerce ul.products li.product .added_to_cart {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--fable-forest);
}

@media (min-width: 640px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
@media (min-width: 1200px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
	border: none !important;
	display: flex;
	gap: 0.35rem;
	justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li {
	border: none !important;
	overflow: hidden;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 42px;
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50% !important;
	font-weight: 700;
	color: var(--fable-forest);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--fable-forest) !important;
	color: #fff !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--fable-cream) !important; }

/* ------------------------------------------------------------ */
/* Single product                                                */
/* ------------------------------------------------------------ */

.woocommerce div.product { position: static; }

.woocommerce div.product div.images {
	margin-bottom: 1.5rem !important;
}
.woocommerce div.product div.images img {
	border-radius: var(--fable-frame);
	box-shadow: var(--fable-shadow-card);
}
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 0.75rem; display: flex; gap: 0.5rem; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img {
	border-radius: var(--fable-radius-sm);
	box-shadow: none;
	opacity: 0.6;
	transition: opacity 0.2s;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }

.woocommerce div.product .product_title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.7rem, 4vw, 2.4rem) !important;
	font-weight: 600;
	line-height: 1.1;
	color: var(--fable-ink);
	margin-bottom: 0.5rem !important;
}
.woocommerce div.product p.price {
	font-size: 1.55rem !important;
	margin-bottom: 1rem !important;
}
.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--fable-moss);
	font-size: 1rem;
	line-height: 1.65;
}

/* Quantity + Add to Cart: generous tap targets, full width on mobile.
   product.js upgrades the bare qty input into a labeled +/- stepper
   (.fable-qty-ready) — customers double-ordered when the picker didn't read
   as a control, so it gets real visual weight next to Add to Cart. */
.woocommerce div.product form.cart { margin-bottom: 1.25rem !important; }
.woocommerce div.product form.cart div.quantity { margin-right: 0.6rem !important; }
.woocommerce .quantity .qty {
	width: 4.5em !important;
	height: 52px;
	border: 1.5px solid rgba(156, 166, 139, 0.6);
	border-radius: 999px !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.05rem !important;
	font-weight: 600;
	text-align: center;
	background: #fff;
}
.woocommerce div.product form.cart div.quantity.fable-qty-ready {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 3px;
	border: 1.5px solid rgba(156, 166, 139, 0.6);
	border-radius: 999px;
	background: #fff;
}
.woocommerce div.product form.cart .fable-qty-ready .qty {
	width: 2.6em !important;
	height: 44px;
	border: none;
	background: transparent;
	-moz-appearance: textfield;
}
.woocommerce div.product form.cart .fable-qty-ready .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .fable-qty-ready .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.fable-qty__label {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fable-moss);
	margin-left: 0.7rem;
}
.fable-qty__step {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: var(--fable-cream);
	color: var(--fable-pine);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex: none;
	transition: background 0.15s;
}
.fable-qty__step:hover { background: var(--fable-sage); color: var(--fable-white); }
.woocommerce div.product form.cart .button.single_add_to_cart_button {
	height: 52px;
	font-size: 1rem !important;
	padding: 0 2.2em !important;
	background: var(--fable-terracotta) !important;
	color: var(--fable-bone, #fffdf5) !important;
	box-shadow: 0 4px 14px rgba(180, 85, 45, 0.3);
}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover { background: #c96436 !important; }
/* Variation not chosen yet: unmistakably inactive (full-opacity sage, no
   shadow) instead of Woo's half-faded terracotta, which read as a broken
   button rather than "choose an option first". */
.woocommerce div.product form.cart .button.single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .button.single_add_to_cart_button:disabled {
	background: var(--fable-sage) !important;
	color: var(--fable-white) !important;
	box-shadow: none;
	opacity: 1 !important;
	cursor: not-allowed;
}
@media (max-width: 782px) {
	.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 0.6rem; }
	.woocommerce div.product form.cart div.quantity { margin: 0 !important; }
	.woocommerce div.product form.cart .button.single_add_to_cart_button {
		flex: 1 1 12rem;
		width: auto;
	}
	.woocommerce div.product form.cart table.variations { width: 100%; }
}

/* Variations table. The select is the gate on Add to Cart, so it reads as a
   required control: solid pine border, ink label. */
.woocommerce div.product form.cart .variations select {
	border: 2px solid var(--fable-forest);
	border-radius: var(--fable-radius-sm);
	padding: 0.6rem 2rem 0.6rem 0.9rem;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600;
	color: var(--fable-ink);
	background-color: #fff;
	min-height: 48px;
}
.woocommerce div.product form.cart .variations label {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fable-ink);
}
.woocommerce div.product form.cart .reset_variations { color: var(--fable-terracotta); }

/* Product meta (SKU, categories) */
.woocommerce div.product .product_meta {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: var(--fable-sage);
	border-top: 1px solid rgba(156, 166, 139, 0.25);
	padding-top: 1rem;
	margin-top: 1.25rem;
}
.woocommerce div.product .product_meta a { color: var(--fable-forest); text-decoration: none; }

/* Member callout */
.fable-member-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: var(--fable-cream);
	border-radius: var(--fable-radius-sm);
	padding: 0.9rem 1.15rem;
	margin-bottom: 1.25rem;
}
.fable-member-callout__copy { display: flex; flex-direction: column; gap: 0.1rem; }
.fable-member-callout strong {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	color: var(--fable-forest);
	font-size: 0.95rem;
}
.fable-member-callout span { font-size: 0.8rem; color: var(--fable-moss); }
.fable-member-callout a {
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--fable-terracotta);
	text-decoration: none;
	border-bottom: 2px solid rgba(138, 74, 42, 0.3);
	padding-bottom: 1px;
}
.fable-member-callout a:hover { border-color: var(--fable-terracotta); }

/* Low-stock urgency */
.fable-low-stock {
	display: inline-block;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fable-terracotta);
	background: rgba(138, 74, 42, 0.08);
	border-radius: 999px;
	padding: 0.4em 1em;
	margin: 0 0 0.75rem;
}

/* Member price line (under the price; only on discount-eligible products) */
.fable-member-price {
	margin: -0.35rem 0 1rem !important;
	font-size: 0.92rem;
	color: var(--fable-moss);
}
.fable-member-price strong { color: var(--fable-terracotta); }
.fable-member-price .woocommerce-Price-amount { color: var(--fable-terracotta); font-weight: 700; }
.fable-member-price a {
	color: var(--fable-terracotta);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 2px solid rgba(180, 85, 45, 0.3);
	padding-bottom: 1px;
}
.fable-member-price a:hover { border-color: var(--fable-terracotta); }

/* Impact receipt (below Add to Cart) — perforated store-receipt aside */
.fable-receipt {
	position: relative;
	max-width: 420px;
	background: var(--fable-bone, #fffdf5);
	padding: 1.1rem 1.25rem 1.15rem;
	margin: 1.5rem 0 0;
	box-shadow: var(--fable-shadow-card);
	font-family: var(--wp--preset--font-family--label);
}
.fable-receipt::before,
.fable-receipt::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 7px;
	background-image: radial-gradient(circle at 6px 0, var(--fable-paper) 4px, transparent 4.5px);
	background-size: 14px 7px;
	background-repeat: repeat-x;
}
.fable-receipt::before { top: 0; }
.fable-receipt::after { bottom: 0; transform: scaleY(-1); }
.fable-receipt__head {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fable-terracotta);
	margin: 0 0 0.6rem;
}
.fable-receipt ul { list-style: none; margin: 0; padding: 0; }
.fable-receipt li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8rem;
	padding: 0.4rem 0;
	border-bottom: 1px dashed rgba(92, 102, 83, 0.35);
	color: var(--fable-ink);
}
.fable-receipt li b {
	font-weight: 600;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #2f6b3f;
}
.fable-receipt__foot {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.78rem;
	line-height: 1.55;
	color: var(--fable-moss);
	margin: 0.7rem 0 0;
}

/* Trust row (product buy column, cart) */
.fable-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.4rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}
.fable-trust li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fable-moss);
}
.fable-trust li::before { content: "\2726"; color: var(--fable-goldenrod); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0 !important;
	margin: 0 0 1.25rem !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: 1.5px solid rgba(156, 166, 139, 0.5) !important;
	border-radius: 999px !important;
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 600 !important;
	font-size: 0.85rem;
	color: var(--fable-moss) !important;
	padding: 0.55em 1.3em !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--fable-forest) !important;
	border-color: var(--fable-forest) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel {
	background: var(--fable-white);
	border-radius: var(--fable-radius-lg);
	box-shadow: var(--fable-shadow-card);
	padding: clamp(1.25rem, 3vw, 2rem);
	margin-bottom: 2rem;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 1.35rem;
	margin-top: 0;
}

/* Related products */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	font-size: var(--wp--preset--font-size--2-xl);
	margin-bottom: 1.25rem;
}

/* Sticky mobile Add to Cart bar. Mobile only (CSS-gated); product.js shows it
   only after the purchase form scrolls out the top of the viewport, and the
   body class reserves room so the bar never covers the end of the page. */
#fable-sticky-cart {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 80;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: var(--fable-white);
	box-shadow: 0 -8px 30px rgba(27, 28, 28, 0.15);
	padding: 0.7rem var(--fable-pad) calc(0.7rem + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
}
@media (max-width: 782px) {
	#fable-sticky-cart { display: flex; }
	body.fable-sticky-cart-on { padding-bottom: 84px; }
}
#fable-sticky-cart.is-visible { transform: none; opacity: 1; visibility: visible; }
.fable-sticky-cart__qty {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	flex: none;
}
.fable-sticky-cart__step {
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: var(--fable-cream);
	color: var(--fable-pine);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
.fable-sticky-cart__step:active { background: var(--fable-sage); }
.fable-sticky-cart__num {
	min-width: 2ch;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--fable-ink);
}
.fable-sticky-cart__btn {
	flex: 1;
	max-width: 260px;
	height: 50px;
	border: none;
	border-radius: 999px;
	background: var(--fable-forest);
	color: #fff;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 114, 57, 0.3);
}
.fable-sticky-cart__btn:active { transform: scale(0.98); }

/* ------------------------------------------------------------ */
/* Shop landing (curated storefront)                             */
/* ------------------------------------------------------------ */

/* Landing mode hides the (short-circuited) catalog wrapper entirely. */
.fable-shop-landing .fable-woo--catalog { display: none; }

.fable-shop-hero {
	background: linear-gradient(160deg, #10482b 0%, var(--fable-pine) 75%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.fable-shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--fable-topo-light);
	background-size: 700px;
	pointer-events: none;
}
.fable-shop-hero .fable-wrap {
	position: relative;
	padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.25rem, 5vw, 3.5rem);
}
.fable-shop-hero h1 {
	color: #fff;
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 600;
	line-height: 1.03;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}
.fable-shop-hero__sub {
	font-size: 1.1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 54ch;
	margin: 0 0 1.75rem;
}

/* Slim catalog-mode header */
.fable-catalog-head { background: var(--fable-cream); }
.fable-catalog-head .fable-wrap { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 3vw, 2rem); }
.fable-catalog-head h1 { margin: 0 0 0.5rem; }
.fable-catalog-head .fable-lede { max-width: 60ch; }
.fable-catalog-head .fable-eyebrow a { color: inherit; text-decoration: none; }
.fable-catalog-head .fable-eyebrow a:hover { color: var(--fable-forest); }

/* Park store tiles */
.fable-store-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.9rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fable-store-grid a {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--fable-white);
	border-radius: var(--fable-frame);
	overflow: hidden;
	box-shadow: var(--fable-shadow-card);
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s;
}
.fable-store-grid a:hover { transform: translateY(-4px); box-shadow: var(--fable-shadow-lift); }
.fable-store-tile__media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.fable-store-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.fable-store-grid a:hover .fable-store-tile__media img { transform: scale(1.05); }
.fable-store-tile__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--fable-ink);
	padding: 0.85rem 1rem 0.15rem;
}
.fable-store-grid a:hover .fable-store-tile__name { color: var(--fable-forest); }
.fable-store-tile__count {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fable-terracotta);
	padding: 0 1rem 1rem;
	margin-top: auto;
}
@media (min-width: 700px) {
	.fable-store-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1025px) {
	.fable-store-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Featured collections */
.fable-collections { display: grid; gap: 1.25rem; }
.fable-collection {
	display: flex;
	flex-direction: column;
	background: var(--fable-white);
	border-radius: var(--fable-radius-xl);
	overflow: hidden;
	box-shadow: var(--fable-shadow-card);
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s;
}
.fable-collection:hover { transform: translateY(-4px); box-shadow: var(--fable-shadow-lift); }
.fable-collection__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--fable-paper);
}
.fable-collection__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.fable-collection:hover .fable-collection__media img { transform: scale(1.04); }
.fable-collection__body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.35rem 1.5rem 1.5rem; flex: 1; }
.fable-collection__label {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fable-terracotta);
}
.fable-collection__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--fable-ink);
}
.fable-collection:hover .fable-collection__title { color: var(--fable-forest); }
.fable-collection__copy { font-size: 0.93rem; line-height: 1.6; color: var(--fable-moss); }
.fable-collection__go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; font-size: 0.92rem; color: var(--fable-forest); }
.fable-collection__go::after { content: " \2192"; }

@media (min-width: 860px) {
	.fable-collections { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
	.fable-collection--wide { grid-column: 1 / -1; flex-direction: row; }
	.fable-collection--wide .fable-collection__media { flex: 0 0 46%; aspect-ratio: auto; }
	.fable-collection--wide .fable-collection__body { padding: 2.25rem 2.5rem; justify-content: center; }
	.fable-collection--wide .fable-collection__title { font-size: 1.9rem; }
}

/* Mission split band */
.fable-impact { display: grid; gap: 2rem; align-items: center; }
.fable-impact__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fable-impact__media { box-shadow: var(--fable-shadow-lift); }
.fable-impact__link { margin-top: 1.5rem; }
.fable-link-arrow--light { color: var(--fable-cream); border-color: rgba(241, 241, 220, 0.4); }
.fable-link-arrow--light:hover { color: #fff; border-color: var(--fable-cream); }
@media (min-width: 900px) {
	.fable-impact { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
}

/* Best sellers */
.fable-bestsellers {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fable-bestseller a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	text-decoration: none;
	background: var(--fable-paper);
	border-radius: var(--fable-radius-lg);
	padding: 1rem 1rem 1.2rem;
	box-shadow: var(--fable-shadow-card);
	transition: transform 0.25s, box-shadow 0.25s;
	box-sizing: border-box;
}
.fable-bestseller a:hover { transform: translateY(-4px); box-shadow: var(--fable-shadow-lift); }
.fable-bestseller__rank {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 0.85rem;
	color: var(--fable-goldenrod);
}
.fable-bestseller__media { display: block; border-radius: var(--fable-radius-sm); overflow: hidden; background: #fff; }
.fable-bestseller__media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.fable-bestseller__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fable-ink);
}
.fable-bestseller a:hover .fable-bestseller__name { color: var(--fable-forest); }
.fable-bestseller__price {
	margin-top: auto;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	color: var(--fable-terracotta);
}
@media (min-width: 860px) {
	.fable-bestsellers { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

/* Category chip cloud */
.fable-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}
.fable-chips a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 0.55em 1.2em;
	background: var(--fable-white);
	border: 1.5px solid rgba(156, 166, 139, 0.45);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--fable-ink);
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fable-chips a span {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--fable-sage);
}
.fable-chips a:hover {
	border-color: var(--fable-forest);
	background: var(--fable-forest);
	color: #fff;
}
.fable-chips a:hover span { color: rgba(255, 255, 255, 0.7); }
.fable-catalog-cta { margin-top: 2rem; }

/* ------------------------------------------------------------ */
/* Shop sub-header (store navigation bar)                        */
/* Rendered by patterns/shop-nav.php under the site header on    */
/* every shop surface. Two chip rails + product search.          */
/* ------------------------------------------------------------ */

.fable-shopnav {
	background: var(--fable-white);
	border-bottom: 1px solid rgba(26, 34, 30, 0.08);
}
.fable-shopnav > .fable-wrap {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-block: 0.65rem;
}
.fable-shopnav__rails {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.fable-shopnav__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}
.fable-shopnav__label {
	flex: none;
	width: 86px;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fable-sage, #7a8577);
}
.fable-shopnav__rail {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.fable-shopnav__rail::-webkit-scrollbar { display: none; }
.fable-shopnav__rail a {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 0.38em 0.85em;
	border: 1.5px solid rgba(156, 166, 139, 0.4);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--fable-ink);
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fable-shopnav__rail a:hover {
	border-color: var(--fable-forest);
	background: var(--fable-forest);
	color: #fff;
}
.fable-shopnav__rail a.is-active {
	border-color: var(--fable-pine);
	background: var(--fable-pine);
	color: var(--fable-cream);
}
.fable-shopnav__all { font-style: italic; }
.fable-shopnav__search {
	flex: none;
	display: flex;
	align-items: center;
	border: 1.5px solid rgba(156, 166, 139, 0.45);
	border-radius: 999px;
	overflow: hidden;
	background: var(--fable-white);
	transition: border-color 0.15s;
}
.fable-shopnav__search:focus-within { border-color: var(--fable-forest); }
.fable-shopnav__search input[type="search"] {
	border: none;
	background: none;
	padding: 0.5em 0.2em 0.5em 1em;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.85rem;
	width: 170px;
	outline: none;
	color: var(--fable-ink);
}
.fable-shopnav__search button {
	border: none;
	background: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--fable-forest);
	cursor: pointer;
}
.fable-shopnav__search button:hover { color: var(--fable-pine); }

@media (max-width: 859px) {
	.fable-shopnav > .fable-wrap {
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
	}
	.fable-shopnav__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
	.fable-shopnav__label { width: auto; }
	.fable-shopnav__rail {
		width: 100%;
		padding-bottom: 2px;
	}
	.fable-shopnav__search { align-self: stretch; }
	.fable-shopnav__search input[type="search"] { flex: 1; width: auto; }
}

/* ------------------------------------------------------------ */
/* Category landing pages                                        */
/* ------------------------------------------------------------ */

/* Generic header */
.fable-cat-head { background: var(--fable-cream); }
.fable-cat-head .fable-wrap { padding-block: clamp(2.25rem, 6vw, 3.75rem) clamp(1.5rem, 3vw, 2.25rem); }
.fable-cat-head h1 { margin: 0 0 0.6rem; }
.fable-cat-head .fable-lede { max-width: 62ch; }
.fable-cat-head__count {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fable-moss);
	margin: 0.75rem 0 0;
}
.fable-cat-head .fable-eyebrow a,
.fable-cat-hero .fable-eyebrow a { color: inherit; text-decoration: none; }
.fable-cat-head .fable-eyebrow a:hover,
.fable-cat-hero .fable-eyebrow a:hover { color: var(--fable-forest); }

/* Park flavor strip on park-store categories: the store page doubles as an
   arrival point for the park itself, so route shoppers to the Visit hub. */
.fable-cat-head__park {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(26, 34, 30, 0.12);
	max-width: 68ch;
}
.fable-cat-head__park-line {
	margin: 0 0 0.6rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: 1.02rem;
	color: var(--fable-ink);
	opacity: 0.85;
}
.fable-cat-head__park-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.75rem;
}

/* Bespoke story hero */
.fable-cat-hero--cream { background: var(--fable-cream); position: relative; overflow: hidden; }
.fable-cat-hero--cream::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--fable-topo-dark);
	background-size: 700px;
	pointer-events: none;
}
.fable-cat-hero .fable-wrap { position: relative; padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }
.fable-cat-hero__grid { display: grid; gap: 2rem; align-items: center; }
.fable-cat-hero h1 { margin: 0 0 0.9rem; }
.fable-cat-hero .fable-lede { max-width: 58ch; }
.fable-cat-hero__note {
	margin: 1.1rem 0 0;
	padding: 0.9rem 1.15rem;
	background: rgba(255, 255, 255, 0.65);
	border-left: 3px solid var(--fable-goldenrod);
	border-radius: 0 var(--fable-radius-sm) var(--fable-radius-sm) 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--fable-moss);
	max-width: 54ch;
}
/* Product photography leads these heroes: contain, never crop the cover. */
.fable-cat-hero__media { box-shadow: var(--fable-shadow-lift); background: #fff; }
.fable-cat-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	aspect-ratio: 4 / 3;
	padding: 1.25rem;
	box-sizing: border-box;
}
@media (min-width: 900px) {
	.fable-cat-hero__grid { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; }
}

/* Guide cards (passport editions, ways to collect) */
.fable-cat-guide { padding-block: clamp(2.5rem, 6vw, 4rem); }
.fable-guide-grid { display: grid; gap: 1rem; }
.fable-guide-card {
	background: var(--fable-paper);
	border-radius: var(--fable-radius-lg);
	padding: 1.5rem 1.5rem 1.6rem;
	box-shadow: var(--fable-shadow-card);
}
.fable-guide-card__label {
	display: block;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fable-terracotta);
	margin-bottom: 0.4rem;
}
.fable-guide-card h3 { margin: 0 0 0.45rem; font-size: 1.25rem; }
.fable-guide-card p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--fable-moss); }
.fable-cat-guide__foot {
	margin-top: 1.5rem;
	font-size: 0.92rem;
	color: var(--fable-moss);
}
@media (min-width: 700px) {
	.fable-guide-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1025px) {
	.fable-guide-grid { grid-template-columns: repeat(4, 1fr); }
	.fable-guide-grid--three { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------ */
/* Cart + checkout (block-based)                                 */
/* ------------------------------------------------------------ */

.wc-block-components-button:not(.is-link) {
	border-radius: 999px !important;
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--fable-terracotta) !important;
	color: var(--fable-bone, #fffdf5) !important;
	box-shadow: 0 4px 14px rgba(180, 85, 45, 0.3);
}
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: #c96436 !important; }
.wc-block-components-product-name { font-weight: 600; color: var(--fable-ink); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--wp--preset--font-family--display);
	color: var(--fable-terracotta);
}

/* Cart mission framing (template-injected around the cart block) */
.fable-cart-mission {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--fable-moss);
	max-width: 62ch;
	margin: 0.25rem 0 0;
}
.fable-cart-mission + .fable-trust { margin-bottom: 1.75rem; }

/* Member nudge band under the cart */
.fable-cart-member {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--fable-cream);
	border-radius: var(--fable-radius-lg);
	padding: 1.25rem 1.5rem;
	margin-top: 2rem;
}
.fable-cart-member__copy { display: flex; flex-direction: column; gap: 0.15rem; max-width: 46ch; }
.fable-cart-member__copy strong { font-size: 1rem; color: var(--fable-ink); }
.fable-cart-member__copy span { font-size: 0.88rem; color: var(--fable-moss); }
.fable-cart-member .fable-btn { flex: none; }

/* Checkout reassurance band */
.fable-checkout-assure {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem 0.9rem;
	background: var(--fable-cream);
	border-radius: var(--fable-radius-sm);
	padding: 0.85rem 1.15rem;
	margin: 0.5rem 0 1.5rem;
}
.fable-checkout-assure strong {
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "SOFT" 40, "WONK" 1;
	font-size: 1.02rem;
	color: var(--fable-pine, #0b2e1d);
}
.fable-checkout-assure span {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fable-moss);
}

/* Put park-store products within easy reach after the short introduction. */
.fable-cat-head .fable-wrap { padding-block: clamp(1.25rem, 3vw, 2rem); }
#park-products { scroll-margin-top: 9rem; }
