@charset "UTF-8";
/* ==========================================================================
   Freya Luxury — commerce stylesheet
   Product cards, archives, filters, product page, cart, checkout, account.
   Loaded only on WooCommerce pages and anywhere a product grid appears.

   Past the 800-line guideline for the same reason as main.css: no build step,
   so one request beats several. Split by concern, not by line count.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Product grid
   4 columns desktop / 3 tablet / 2 mobile — two columns are kept even on the
   smallest phones, because footwear is scanned comparatively.
   -------------------------------------------------------------------------- */

.freya-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 2rem) clamp(0.75rem, 1.5vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1199px) {
	.freya-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.freya-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * Swipe rail. The track is sized so the next card is cut by the viewport
 * edge rather than ending flush with it — the cue that says "there is more",
 * and the reason the reference's rows read as swipeable without a scrollbar.
 * A mouse or trackpad also gets arrows: see .fc-scroller in main.css.
 */
.freya-products--rail {
	grid-template-columns: none;
	grid-auto-flow: column;
	/*
	 * A definite track width, not minmax(0, 62%).
	 *
	 * That minmax was the bug: a zero minimum with a percentage maximum lets
	 * the tracks shrink, and eight of them in a 343px container settled at
	 * 32px each rather than overflowing it. Nothing scrolled, every card was
	 * 32px wide and its price spilled 67px past it. A percentage on its own
	 * is minmax(62%, 62%) — the track is that wide, the row overflows, and
	 * the overflow is what makes it a swipe rail at all.
	 */
	grid-auto-columns: 62%;
	gap: 0.75rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 0.5rem;
	margin-inline: calc(var(--freya-gutter) * -1);
	padding-inline: var(--freya-gutter);
	/*
	 * Cards snap to the gutter's edge, under the row's heading. Without this
	 * they snap to the screen's edge, so a row loaded already scrolled by the
	 * gutter and its back arrow showed at the start.
	 */
	scroll-padding-inline: var(--freya-gutter);
	/* Room for the card's lift shadow, which a clipped track would cut off. */
	padding-top: 2px;
}

@media (min-width: 560px) {
	.freya-products--rail {
		grid-auto-columns: 40%;
	}
}

@media (min-width: 768px) {
	.freya-products--rail {
		grid-auto-columns: 30%;
	}
}

.freya-products--rail::-webkit-scrollbar {
	display: none;
}

.freya-products--rail > li {
	scroll-snap-align: start;
}

@media (min-width: 1024px) {
	.freya-products--rail {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		overflow: visible;
		margin-inline: 0;
		padding-inline: 0;
	}
}

/* --------------------------------------------------------------------------
   2. Product card

   White, rounded, on the warm page. The card is the surface, not just the
   photograph: it sits as an object rather than as an image with text under
   it, which is what lets a 3:4 phone export and a square one share a row
   without the grid looking ragged.
   -------------------------------------------------------------------------- */

.freya-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--freya-white);
	border-radius: var(--freya-radius);
	overflow: hidden;
	box-shadow: var(--fc-shadow-card);
	transition: box-shadow var(--freya-mid) var(--freya-ease),
		transform var(--freya-mid) var(--freya-ease);
}

@media (hover: hover) {
	.freya-card:hover {
		box-shadow: var(--fc-shadow-lift);
		transform: translateY(-2px);
	}
}

.freya-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--fc-tile-sand);
}

.freya-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity var(--freya-slow) var(--freya-ease),
		transform var(--freya-slow) var(--freya-ease);
}

.freya-card__img--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

@media (hover: hover) {
	.freya-card:hover .freya-card__img--main {
		opacity: 0;
		transform: scale(1.03);
	}

	.freya-card:hover .freya-card__img--hover {
		opacity: 1;
		transform: scale(1.03);
	}

	/* No second image? Just a gentle zoom. */
	.freya-card:hover .freya-card__img--main:only-child {
		opacity: 1;
		transform: scale(1.03);
	}
}

.freya-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: var(--fc-tile-sand);
	color: var(--freya-ink-muted);
	font-family: var(--freya-font-display);
	font-size: 1.5rem;
}

/* --- badges --- */

.freya-card__badges {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	display: grid;
	gap: 0.3rem;
	justify-items: start;
	z-index: 2;
	pointer-events: none;
}

.freya-badge-pill {
	padding: 0.28rem 0.6rem;
	font-family: var(--freya-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
	border-radius: var(--fc-radius-pill);
}

/*
 * The one red in the system. It carries the real discount, worked out from
 * the product's own regular and sale prices at render time — see
 * freya_sale_percent(). Nothing in this catalogue is on sale today, so this
 * does not currently appear anywhere.
 */
.freya-badge-pill--sale {
	background: var(--freya-sale);
	color: #fff;
}

.freya-badge-pill--out {
	background: var(--freya-white);
	color: var(--freya-ink-muted);
	box-shadow: inset 0 0 0 1px var(--freya-line);
}

.freya-badge-pill--new {
	background: var(--fc-tile-blush);
	color: var(--freya-ink);
}

/* --- wishlist and bag --- */

.freya-card__wish,
.freya-card__bag {
	position: absolute;
	right: 0.55rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(255 255 255 / 90%);
	color: var(--freya-ink);
	box-shadow: var(--fc-shadow-card);
	transition: opacity var(--freya-mid) var(--freya-ease),
		transform var(--freya-mid) var(--freya-ease),
		background-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-card__wish {
	top: 0.55rem;
}

.freya-card__bag {
	bottom: 0.55rem;
}

@media (hover: hover) {
	.freya-card__wish,
	.freya-card__bag {
		opacity: 0;
		transform: translateY(-4px);
	}

	.freya-card__bag {
		transform: translateY(4px);
	}

	.freya-card:hover .freya-card__wish,
	.freya-card:hover .freya-card__bag,
	.freya-card:focus-within .freya-card__wish,
	.freya-card:focus-within .freya-card__bag,
	.freya-card__wish:focus-visible,
	.freya-card__bag:focus-visible,
	.freya-card__wish.is-active {
		opacity: 1;
		transform: translateY(0);
	}
}

.freya-card__wish:hover,
.freya-card__bag:hover {
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
}

.freya-card__wish.is-active {
	color: var(--freya-sale);
	opacity: 1;
}

.freya-card__wish.is-active .freya-icon {
	fill: currentcolor;
}

.freya-card__bag.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* --- card body --- */

.freya-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	padding: 0.85rem 0.75rem 1rem;
	text-align: center;
}

/*
 * Capitals and centred, as on the reference. Jost's caps are wide, so this
 * takes a touch of negative tracking rather than the positive tracking caps
 * usually want, and caps it at two lines so a long product name cannot push
 * one card in a row taller than the rest.
 */
.freya-card__title {
	font-family: var(--fc-font-ui);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 0;
	color: var(--freya-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.freya-card__title a {
	text-decoration: none;
}

.freya-card__title a:hover {
	text-decoration: none;
}

.freya-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.freya-card__price {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--freya-ink);
	font-variant-numeric: tabular-nums;
}

.freya-card__price del {
	color: var(--freya-ink-muted);
	font-weight: 400;
	margin-right: 0.4rem;
	text-decoration-thickness: 1px;
}

.freya-card__price ins {
	text-decoration: none;
	color: var(--freya-sale);
}

.freya-card__price .from {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--freya-ink-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-right: 0.25rem;
}

.freya-card__swatches {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem;
	margin-top: 0.1rem;
	position: relative;
	z-index: 2;
}

.freya-swatch {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid var(--freya-line-strong);
	display: inline-block;
	transition: transform var(--freya-fast) var(--freya-ease);
}

.freya-swatch:hover {
	transform: scale(1.15);
}

.freya-card__swatch-more {
	font-size: 0.6875rem;
	color: var(--freya-ink-muted);
	align-self: center;
}

.freya-card__stock {
	margin: 0;
	font-size: 0.75rem;
	color: var(--freya-ink-muted);
}

/*
 * Only ever rendered from freya_low_stock_note(), which returns a string
 * only where the shop manages that product's stock and the real quantity is
 * at or under the shop's own low-stock threshold. On the 64 products that do
 * not manage stock it says nothing, rather than inventing scarcity.
 */
.freya-card__stock--low {
	color: var(--freya-sale);
	font-weight: 500;
}

.freya-card__stock--out {
	color: var(--freya-ink-muted);
}

/* --------------------------------------------------------------------------
   2b. Quick add

   A modal size picker, filled from WooCommerce's variation matrix when the
   bag button is pressed. An option greys out when no addable variation
   matches the choices already made, so a shopper cannot pick a size that is
   gone and then meet an error.
   -------------------------------------------------------------------------- */

.fc-quick {
	position: fixed;
	inset: 0;
	z-index: var(--freya-z-drawer);
	display: grid;
	place-items: center;
	padding: var(--freya-gutter);
}

.fc-quick[hidden] {
	display: none;
}

.fc-quick__scrim {
	position: absolute;
	inset: 0;
	background: rgb(20 17 18 / 45%);
	opacity: 0;
	transition: opacity var(--freya-mid) var(--freya-ease);
}

.fc-quick.is-open .fc-quick__scrim {
	opacity: 1;
}

.fc-quick__panel {
	position: relative;
	width: min(480px, 100%);
	max-height: min(86vh, 720px);
	overflow-y: auto;
	padding: 1.5rem;
	border-radius: var(--fc-radius-lg);
	background: var(--freya-white);
	box-shadow: var(--fc-shadow-lift);
	opacity: 0;
	transform: translateY(14px) scale(0.985);
	transition: opacity var(--freya-mid) var(--freya-ease),
		transform var(--freya-mid) var(--freya-ease);
}

.fc-quick.is-open .fc-quick__panel {
	opacity: 1;
	transform: none;
}

.fc-quick__close {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	width: 38px;
	height: 38px;
}

.fc-quick__head {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-bottom: 1.25rem;
	padding-right: 2.5rem;
}

.fc-quick__img {
	flex: 0 0 auto;
	width: 84px;
	height: 112px;
	object-fit: cover;
	border-radius: var(--fc-radius-sm);
	background: var(--fc-tile-sand);
}

.fc-quick__meta {
	min-width: 0;
}

.fc-quick__title {
	font-family: var(--fc-font-ui);
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.35;
	margin: 0 0 0.35rem;
}

.fc-quick__price {
	font-size: 1rem;
	font-weight: 600;
	color: var(--freya-ink);
	font-variant-numeric: tabular-nums;
}

.fc-quick__price del {
	color: var(--freya-ink-muted);
	font-weight: 400;
	margin-right: 0.4rem;
}

.fc-quick__price ins {
	text-decoration: none;
	color: var(--freya-sale);
}

.fc-quick__low {
	margin: 0.35rem 0 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--freya-sale);
}

.fc-quick__set {
	border: 0;
	margin: 0 0 1.1rem;
	padding: 0;
}

.fc-quick__legend {
	padding: 0;
	margin-bottom: 0.5rem;
	font-family: var(--fc-font-ui);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
}

.fc-quick__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.fc-opt {
	min-width: 46px;
	min-height: 42px;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--freya-line-strong);
	border-radius: var(--fc-radius-pill);
	background: var(--freya-white);
	font-family: var(--freya-font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--freya-ink);
	cursor: pointer;
	transition: background-color var(--freya-fast) var(--freya-ease),
		border-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.fc-opt:hover:not([disabled]) {
	border-color: var(--freya-ink);
}

.fc-opt.is-active {
	background: var(--freya-ink-deep);
	border-color: var(--freya-ink-deep);
	color: var(--fc-on-black);
}

/*
 * Sold out is struck through, not hidden. A shopper looking for a 38 needs
 * to see that 38 exists and has gone, otherwise the product looks as though
 * it was never made in their size.
 */
.fc-opt.is-soldout {
	color: var(--freya-ink-muted);
	border-color: var(--freya-line);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	cursor: not-allowed;
}

/* A combination the shop never made: nothing to say about it, so it fades. */
.fc-opt.is-unavailable {
	color: var(--freya-ink-muted);
	border-color: var(--freya-line);
	opacity: 0.45;
	cursor: not-allowed;
}

.fc-quick__actions {
	display: grid;
	gap: 0.6rem;
	justify-items: center;
	margin-top: 1.25rem;
}

.fc-quick__full {
	font-family: var(--fc-font-ui);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
}

.fc-quick__loading,
.fc-quick__error {
	margin: 0;
	padding: 2rem 0;
	text-align: center;
	color: var(--freya-ink-muted);
}

.fc-quick__error {
	color: var(--freya-sale);
}

/* --------------------------------------------------------------------------
   3. Shop header and toolbar
   -------------------------------------------------------------------------- */

.freya-shop-head {
	padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

.freya-shop-head__title {
	margin: 0.9rem 0 0;
}

.freya-shop-head__desc {
	margin: 0.8rem 0 0;
	max-width: 68ch;
	color: var(--freya-ink-muted);
}

/* --- collapsible category intro --- */

.fc-intro {
	max-width: 68ch;
}

.fc-intro__toggle {
	display: block;
	cursor: pointer;
	list-style: none;
	color: var(--freya-ink-muted);
}

/* Safari still draws the disclosure triangle without this. */
.fc-intro__toggle::-webkit-details-marker {
	display: none;
}

.fc-intro__more,
.fc-intro__less {
	display: inline-block;
	margin-left: 0.4rem;
	font-family: var(--fc-font-ui);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--freya-ink);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	white-space: nowrap;
}

.fc-intro[open] .fc-intro__peek,
.fc-intro[open] .fc-intro__more {
	display: none;
}

/*
 * Open, the summary is nothing but the collapse control, and it sits above
 * the text it collapses. That is the right place for it: it is where the
 * "show more" the shopper just pressed was.
 */
.fc-intro[open] .fc-intro__toggle {
	margin-bottom: 0.5rem;
}

.fc-intro__less {
	display: none;
}

.fc-intro[open] .fc-intro__less {
	display: inline-block;
	margin-left: 0;
}

.fc-intro__full {
	display: none;
}

.fc-intro[open] .fc-intro__full {
	display: block;
}

.fc-intro__full p:last-child {
	margin-bottom: 0.4rem;
}

.freya-subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.freya-subcats a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	padding: 0.45rem 1rem;
	border: 1px solid var(--freya-line-strong);
	border-radius: var(--fc-radius-pill);
	font-family: var(--fc-font-ui);
	font-size: 0.8125rem;
	text-decoration: none;
	transition: border-color var(--freya-fast) var(--freya-ease),
		background-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-subcats a:hover,
.freya-subcats .is-current a {
	border-color: var(--freya-ink-deep);
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
	text-decoration: none;
}

.freya-subcats em {
	font-style: normal;
	font-size: 0.6875rem;
	/*
	 * The count is de-emphasised with a lighter ink, not with opacity. At
	 * opacity 0.7 it composited to 2.79:1 against the ivory ground — well under
	 * the 4.5:1 AA floor for 11px text. --freya-ink-muted measures 4.93:1 and
	 * still reads lighter than the label beside it.
	 */
	color: var(--freya-ink-muted);
	font-variant-numeric: tabular-nums;
}

/* Inside a selected or hovered pill the ground goes dark, so follow the link. */
.freya-subcats a:hover em,
.freya-subcats .is-current a em {
	color: inherit;
}

.freya-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.9rem;
	border-top: 1px solid var(--freya-line);
	border-bottom: 1px solid var(--freya-line);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.freya-toolbar__count {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
	font-variant-numeric: tabular-nums;
}

.freya-toolbar__right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.freya-toolbar select {
	width: auto;
	min-width: 150px;
	font-size: 0.8125rem;
	padding-block: 0.3rem;
}

/*
 * At 320px the count, the filter pill and the sort select cannot sit on one
 * line without pushing the page wider than the viewport.
 */
@media (max-width: 620px) {
	.freya-toolbar {
		flex-wrap: wrap;
		row-gap: 0.85rem;
	}

	.freya-toolbar__count {
		width: 100%;
	}

	.freya-toolbar__right {
		width: 100%;
		justify-content: space-between;
		gap: 0.75rem;
	}

	.freya-toolbar select {
		min-width: 0;
		flex: 1 1 auto;
	}
}

.freya-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 40px;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--freya-line-strong);
	border-radius: var(--fc-radius-pill);
	font-family: var(--fc-font-ui);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: border-color var(--freya-fast) var(--freya-ease),
		background-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-filter-toggle:hover {
	border-color: var(--freya-ink-deep);
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
}

.freya-filter-toggle:hover .freya-badge {
	background: var(--fc-on-black);
	color: var(--freya-ink-deep);
}

.freya-filter-toggle .freya-badge {
	position: static;
	margin-left: 0.2rem;
}

/* --------------------------------------------------------------------------
   4. Shop layout with filter sidebar
   -------------------------------------------------------------------------- */

/*
 * No sidebar. The filters are a drawer at every width, so the grid keeps the
 * full container and four cards stay four cards from 1024px up — with a
 * 250px sidebar they were 228px wide at 1440 and dropped to three at 1024.
 */
.freya-shop-layout {
	display: block;
}

/*
 * The scrim is taken out of flow at every width. Left in flow it would count
 * as a grid item and push the product grid onto a second row.
 */
.freya-filters__scrim {
	position: fixed;
	inset: 0;
	background: rgb(20 17 18 / 45%);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--freya-mid) var(--freya-ease);
	z-index: calc(var(--freya-z-drawer) - 1);
}

.freya-filters__scrim.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* Bottom sheet on handsets — the reach a thumb has. */
.freya-filters {
	position: fixed;
	inset: 0;
	z-index: var(--freya-z-drawer);
	top: auto;
	height: 88vh;
	background: var(--freya-white);
	transform: translateY(100%);
	transition: transform 420ms var(--freya-ease);
	display: flex;
	flex-direction: column;
	border-top-left-radius: var(--fc-radius-lg);
	border-top-right-radius: var(--fc-radius-lg);
	box-shadow: 0 -24px 64px rgb(20 17 18 / 18%);
}

.freya-filters.is-open {
	transform: translateY(0);
}

/* Side panel from 768px, where a sheet covering the page would be perverse. */
@media (min-width: 768px) {
	.freya-filters {
		inset: 0 auto 0 0;
		width: min(360px, 90vw);
		height: auto;
		border-radius: 0 var(--fc-radius-lg) var(--fc-radius-lg) 0;
		transform: translateX(-101%);
		box-shadow: 24px 0 64px rgb(20 17 18 / 18%);
	}

	.freya-filters.is-open {
		transform: translateX(0);
	}
}

.freya-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--freya-line);
	flex: none;
}

.freya-filters__body {
	display: grid;
	gap: 0.25rem;
	align-content: start;
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 1.25rem 1rem;
}

.freya-filters__foot {
	flex: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--freya-line);
}

.freya-filter {
	border-bottom: 1px solid var(--freya-line);
	padding-block: 0.4rem;
}

.freya-filter__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.8rem 0;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--freya-ink);
	text-align: left;
}

.freya-filter__toggle .freya-icon {
	transition: transform var(--freya-mid) var(--freya-ease);
	color: var(--freya-ink-muted);
}

.freya-filter__toggle[aria-expanded="true"] .freya-icon {
	transform: rotate(180deg);
}

.freya-filter__body {
	padding-bottom: 1rem;
}

.freya-filter__list {
	display: grid;
	gap: 0.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 260px;
	overflow-y: auto;
}

.freya-filter__option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0;
	font-size: 0.875rem;
	color: var(--freya-ink-soft);
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	margin: 0;
}

.freya-filter__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.freya-filter__box {
	flex: none;
	width: 17px;
	height: 17px;
	border: 1px solid var(--freya-line-strong);
	border-radius: var(--freya-radius);
	display: grid;
	place-items: center;
	color: transparent;
	transition: background-color var(--freya-fast) var(--freya-ease),
		border-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-filter__option input:checked + .freya-filter__box {
	background: var(--freya-ink);
	border-color: var(--freya-ink);
	color: var(--freya-ivory);
}

.freya-filter__option input:focus-visible + .freya-filter__box {
	outline: 2px solid var(--freya-ink);
	outline-offset: 2px;
}

.freya-filter__option em {
	margin-left: auto;
	font-style: normal;
	font-size: 0.75rem;
	color: var(--freya-ink-faint);
	font-variant-numeric: tabular-nums;
}

.freya-filter__option.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* colour swatch options */

.freya-filter__option .freya-swatch {
	width: 18px;
	height: 18px;
}

/* price */

.freya-price-filter {
	display: grid;
	gap: 0.9rem;
}

.freya-price-filter__inputs {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 0.5rem;
}

.freya-price-filter__sep {
	padding-bottom: 0.75rem;
	color: var(--freya-ink-faint);
}

.freya-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.25rem;
}

.freya-active-filters__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.5rem 0.35rem 0.8rem;
	border: 1px solid var(--freya-line);
	border-radius: 100px;
	font-size: 0.75rem;
	background: var(--freya-white);
}

.freya-active-filters__chip:hover {
	border-color: var(--freya-ink);
}

.freya-active-filters__clear {
	font-size: 0.75rem;
	color: var(--freya-ink-muted);
	text-decoration: underline;
	align-self: center;
}

/* --------------------------------------------------------------------------
   5. Pagination
   -------------------------------------------------------------------------- */

.freya-pagination {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 2rem;
	border-top: 1px solid var(--freya-line);
}

.freya-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.freya-pagination a,
.freya-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.5rem;
	border: 1px solid transparent;
	border-radius: var(--freya-radius);
	font-size: 0.875rem;
	color: var(--freya-ink-muted);
	font-variant-numeric: tabular-nums;
	transition: border-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-pagination a:hover {
	border-color: var(--freya-line-strong);
	color: var(--freya-ink);
}

.freya-pagination .current {
	border-color: var(--freya-ink);
	color: var(--freya-ink);
	font-weight: 500;
}

.freya-no-results {
	padding: clamp(3rem, 8vw, 6rem) 0;
	text-align: center;
}

.freya-no-results p {
	color: var(--freya-ink-muted);
	max-width: 46ch;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   6. Single product
   -------------------------------------------------------------------------- */

.freya-product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 4vw, 4.5rem);
	align-items: start;
	padding-block: clamp(1.5rem, 3vw, 3rem);
}

@media (max-width: 900px) {
	.freya-product {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}
}

/* --- gallery --- */

/*
 * Large main image with the others stacked beside it, as on the reference.
 * Mechanically this is still the stage-and-thumbnails gallery — it keeps
 * zoom, keyboard navigation and any number of images — but the thumbnail
 * column moved to the right and grew, which is what gives the composition.
 */
.freya-gallery {
	position: sticky;
	top: calc(var(--freya-header-h-sticky) + 1.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 128px;
	gap: 0.75rem;
}

@media (max-width: 900px) {
	.freya-gallery {
		position: static;
		grid-template-columns: minmax(0, 1fr);
	}
}

.freya-gallery__thumbs {
	display: grid;
	gap: 0.75rem;
	align-content: start;
	max-height: 620px;
	overflow-y: auto;
	scrollbar-width: thin;
	order: 2;
}

@media (max-width: 900px) {
	.freya-gallery__thumbs {
		grid-auto-flow: column;
		grid-auto-columns: 72px;
		overflow-x: auto;
		max-height: none;
	}
}

.freya-gallery__thumb {
	display: block;
	border: 0;
	border-radius: var(--fc-radius-sm);
	background: var(--fc-tile-sand);
	padding: 0;
	overflow: hidden;
	box-shadow: 0 0 0 1px transparent;
	transition: box-shadow var(--freya-fast) var(--freya-ease),
		opacity var(--freya-fast) var(--freya-ease);
	opacity: 0.78;
}

.freya-gallery__thumb img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.freya-gallery__thumb:hover,
.freya-gallery__thumb.is-active {
	box-shadow: 0 0 0 2px var(--freya-ink-deep);
	opacity: 1;
}

.freya-gallery__stage {
	position: relative;
	background: var(--fc-tile-sand);
	border-radius: var(--freya-radius);
	overflow: hidden;
}

.freya-gallery__stage img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: opacity var(--freya-mid) var(--freya-ease);
}

.freya-gallery__stage.is-zoomable {
	cursor: zoom-in;
}

.freya-gallery__stage.is-zoomed img {
	transform: scale(1.9);
	cursor: zoom-out;
	transition: transform 500ms var(--freya-ease);
}

.freya-gallery__nav {
	position: absolute;
	inset-inline: 0.6rem;
	top: 50%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
}

.freya-gallery__nav button {
	pointer-events: auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgb(255 255 255 / 88%);
	color: var(--freya-ink);
	display: grid;
	place-items: center;
	opacity: 0;
	transition: opacity var(--freya-mid) var(--freya-ease);
}

.freya-gallery__stage:hover .freya-gallery__nav button,
.freya-gallery__nav button:focus-visible {
	opacity: 1;
}

.freya-gallery__nav button:first-child .freya-icon {
	transform: rotate(180deg);
}

/* --- summary: a white panel, as on the reference --- */

.freya-product__summary {
	background: var(--freya-white);
	border-radius: var(--fc-radius-lg);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-shadow: var(--fc-shadow-card);
}

.freya-product__summary > * + * {
	margin-top: 1rem;
}

.freya-product__cats {
	font-family: var(--fc-font-ui);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
	margin: 0;
}

.freya-product__title {
	font-size: clamp(1.375rem, 1.6vw + 1rem, 1.875rem);
	margin: 0.5rem 0 0;
}

.freya-product__sku {
	margin: 0.3rem 0 0;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--freya-ink-muted);
	font-variant-numeric: tabular-nums;
}

.freya-product__price {
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--freya-ink);
	font-variant-numeric: tabular-nums;
}

/*
 * Only ever rendered from freya_low_stock_note(), and swapped per variation
 * by product.js — stock belongs to the size, not the style.
 */
.freya-product__low {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--freya-sale);
}

.freya-product__price del {
	color: var(--freya-ink-muted);
	font-weight: 400;
	font-size: 1.0625rem;
	margin-right: 0.5rem;
}

.freya-product__price ins {
	text-decoration: none;
	color: var(--freya-sale);
}

.freya-product__price .woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
}

.freya-product__excerpt {
	color: var(--freya-ink-soft);
	max-width: 58ch;
}

.freya-product__stock {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8125rem;
}

.freya-product__stock--in {
	color: var(--freya-success);
}

.freya-product__stock--out {
	color: var(--freya-ink-muted);
}

/* --- variation form --- */

.freya-variations {
	display: grid;
	gap: 1.25rem;
	border-top: 1px solid var(--freya-line);
	padding-top: 1.35rem;
}

.freya-variation__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.6rem;
}

.freya-variation__label .current {
	font-size: 0.8125rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--freya-ink);
	font-weight: 400;
}

.freya-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.freya-option {
	position: relative;
}

.freya-option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.freya-option__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	min-height: 44px;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--freya-line-strong);
	border-radius: var(--fc-radius-pill);
	font-size: 0.8125rem;
	color: var(--freya-ink-soft);
	cursor: pointer;
	text-align: center;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	margin: 0;
	transition: border-color var(--freya-fast) var(--freya-ease),
		background-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-option__label:hover {
	border-color: var(--freya-line-strong);
}

.freya-option input:checked + .freya-option__label {
	border-color: var(--freya-ink-deep);
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
}

.freya-option input:focus-visible + .freya-option__label {
	outline: 2px solid var(--freya-ink);
	outline-offset: 2px;
}

/* An unavailable combination: visibly struck through and not selectable. */
.freya-option input:disabled + .freya-option__label,
.freya-option__label.is-unavailable {
	color: var(--freya-ink-muted);
	border-color: var(--freya-line);
	cursor: not-allowed;
	background-image: linear-gradient(
		to top left,
		transparent calc(50% - 1px),
		var(--freya-line-strong) calc(50% - 1px),
		var(--freya-line-strong) calc(50% + 1px),
		transparent calc(50% + 1px)
	);
}

.freya-option--swatch .freya-option__label {
	min-width: 0;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 3px;
	border-radius: 50%;
}

.freya-option--swatch .freya-swatch {
	width: 100%;
	height: 100%;
	border: 0;
}

.freya-option--swatch input:checked + .freya-option__label {
	background: transparent;
	border-color: var(--freya-ink);
	border-width: 1px;
	padding: 2px;
}

.freya-size-guide {
	font-size: 0.75rem;
	color: var(--freya-ink-muted);
	text-decoration: underline;
}

.freya-variation__price {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--freya-ink);
}

.freya-variation__msg {
	font-size: 0.8125rem;
	color: var(--freya-sale);
	margin: 0;
}

/* --- add to cart --- */

.freya-atc {
	display: grid;
	gap: 0.75rem;
	border-top: 1px solid var(--freya-line);
	padding-top: 1.35rem;
}

.freya-atc__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.75rem;
	align-items: stretch;
}

.freya-atc .freya-qty {
	height: 48px;
}

.freya-atc .freya-qty__btn {
	width: 42px;
	height: 100%;
}

.freya-atc .freya-qty__value,
.freya-atc input.qty {
	width: 44px;
	text-align: center;
	border: 0;
	padding: 0;
	font-size: 0.9375rem;
}

.freya-atc__secondary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
}

.freya-wish-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding-inline: 1.1rem;
	border: 1px solid var(--freya-line);
	border-radius: var(--freya-radius);
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--freya-ink-soft);
	transition: border-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.freya-wish-btn:hover {
	border-color: var(--freya-ink);
	color: var(--freya-ink);
}

.freya-wish-btn.is-active {
	color: var(--freya-sale);
	border-color: var(--freya-sale);
}

.freya-wish-btn.is-active .freya-icon {
	fill: currentcolor;
}

/* --- product meta accordions --- */

.freya-accordion {
	border-top: 1px solid var(--freya-line);
	margin-top: 1.5rem;
}

.freya-accordion__item {
	border-bottom: 1px solid var(--freya-line);
}

.freya-accordion__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.1rem 0;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--freya-ink);
	text-align: left;
}

.freya-accordion__toggle .freya-icon {
	transition: transform var(--freya-mid) var(--freya-ease);
	color: var(--freya-ink-muted);
	flex: none;
}

.freya-accordion__toggle[aria-expanded="true"] .freya-icon {
	transform: rotate(180deg);
}

.freya-accordion__body {
	padding-bottom: 1.4rem;
	font-size: 0.9375rem;
	color: var(--freya-ink-soft);
}

.freya-accordion__body > :last-child {
	margin-bottom: 0;
}

.freya-accordion__body ul {
	padding-left: 1.1rem;
}

/* --- product tabs / description --- */

.freya-product-detail {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	border-top: 1px solid var(--freya-line);
}

.freya-product-detail__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

@media (max-width: 900px) {
	.freya-product-detail__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

.freya-attr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.freya-attr-table th,
.freya-attr-table td {
	text-align: left;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--freya-line);
	vertical-align: top;
}

.freya-attr-table th {
	width: 38%;
	font-weight: 500;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
}

/* --------------------------------------------------------------------------
   7. Cart page
   -------------------------------------------------------------------------- */

.freya-cart-page {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
	.freya-cart-page {
		grid-template-columns: minmax(0, 1fr);
	}
}

.freya-cart-table {
	width: 100%;
	border-collapse: collapse;
}

.freya-cart-table th {
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
	text-align: left;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--freya-line);
}

.freya-cart-table td {
	padding-block: 1.3rem;
	border-bottom: 1px solid var(--freya-line);
	vertical-align: middle;
}

.freya-cart-table .product-thumbnail {
	width: 100px;
}

.freya-cart-table .product-thumbnail img {
	width: 88px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--freya-cream);
}

.freya-cart-table .product-name a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--freya-ink);
}

.freya-cart-table .product-price,
.freya-cart-table .product-subtotal {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.freya-cart-table .product-remove {
	width: 44px;
	text-align: right;
}

.freya-summary-card {
	position: sticky;
	top: calc(var(--freya-header-h-sticky) + 1.5rem);
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--freya-cream);
	border: 1px solid var(--freya-line);
}

.freya-summary-card h2 {
	font-size: 1.25rem;
	margin: 0 0 1.2rem;
}

.freya-summary-card table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.freya-summary-card th,
.freya-summary-card td {
	padding-block: 0.65rem;
	text-align: left;
	border-bottom: 1px solid var(--freya-line);
}

.freya-summary-card td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.freya-summary-card th {
	font-weight: 400;
	color: var(--freya-ink-muted);
	font-size: 0.8125rem;
	letter-spacing: 0;
	text-transform: none;
}

.freya-summary-card .order-total th,
.freya-summary-card .order-total td {
	border-bottom: 0;
	padding-top: 1rem;
	font-size: 1.125rem;
	color: var(--freya-ink);
	font-weight: 500;
}

.freya-summary-card .freya-btn {
	margin-top: 1.4rem;
}

/* --------------------------------------------------------------------------
   8. Checkout
   -------------------------------------------------------------------------- */

.freya-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 980px) {
	.freya-checkout {
		grid-template-columns: minmax(0, 1fr);
	}
	.freya-checkout__aside {
		order: -1;
	}
}

.freya-checkout h3,
.freya-checkout h2 {
	font-size: 1.25rem;
	margin: 0 0 1.2rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--freya-line);
}

.freya-checkout .form-row {
	margin-bottom: 1.25rem;
}

.freya-checkout .form-row-first,
.freya-checkout .form-row-last {
	display: inline-block;
	width: calc(50% - 0.5rem);
}

.freya-checkout .form-row-first {
	margin-right: 1rem;
}

@media (max-width: 560px) {
	.freya-checkout .form-row-first,
	.freya-checkout .form-row-last {
		width: 100%;
		margin-right: 0;
	}
}

.freya-checkout .required {
	color: var(--freya-sale);
	text-decoration: none;
}

.freya-checkout__review {
	position: sticky;
	top: calc(var(--freya-header-h-sticky) + 1.5rem);
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--freya-cream);
	border: 1px solid var(--freya-line);
}

.freya-checkout__lines {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
	max-height: 320px;
	overflow-y: auto;
}

.freya-checkout__line {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	font-size: 0.875rem;
}

.freya-checkout__line img {
	width: 56px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--freya-sand);
}

.freya-checkout__line-meta {
	font-size: 0.75rem;
	color: var(--freya-ink-muted);
}

/*
 * Payment methods.
 *
 * These rules used to be written against .freya-payment-methods, a class no
 * template ever emits — there is no payment.php override here, so WooCommerce
 * renders its own ul.wc_payment_methods / li.wc_payment_method. The whole block
 * matched nothing, in every browser: the computed border on a payment row was
 * "0px none". Retargeted at the markup WooCommerce actually produces.
 *
 * The :has() below is the only one in the theme. Where an engine lacks it
 * (Firefox before 121, Safari before 15.4) the selected row simply keeps the
 * default border — the radio input is visible and checked either way, so the
 * selection is never ambiguous. Decorative, so no fallback is warranted.
 */
.woocommerce-checkout-payment .wc_payment_methods {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.woocommerce-checkout-payment .wc_payment_method {
	border: 1px solid var(--freya-line);
	border-radius: var(--freya-radius);
	padding: 0.9rem 1rem;
	background: var(--freya-white);
	transition: border-color var(--freya-fast) var(--freya-ease);
}

.woocommerce-checkout-payment .wc_payment_method:has(input:checked) {
	border-color: var(--freya-ink);
}

.woocommerce-checkout-payment .wc_payment_methods label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-size: 0.9375rem;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	color: var(--freya-ink);
	cursor: pointer;
}

.woocommerce-checkout-payment .payment_box {
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px dashed var(--freya-line);
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
}

.freya-dev-banner {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.85rem 1rem;
	margin-bottom: 1.25rem;
	background: var(--freya-blush);
	border-left: 2px solid var(--freya-bronze);
	font-size: 0.8125rem;
	color: var(--freya-ink-soft);
}

/* --------------------------------------------------------------------------
   9. My account
   -------------------------------------------------------------------------- */

.freya-account {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 860px) {
	.freya-account {
		grid-template-columns: minmax(0, 1fr);
	}
}

.freya-account__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.1rem;
}

.freya-account__nav a {
	display: block;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	color: var(--freya-ink-muted);
	border-bottom: 1px solid var(--freya-line);
	transition: color var(--freya-fast) var(--freya-ease);
}

.freya-account__nav a:hover,
.freya-account__nav .is-active a {
	color: var(--freya-ink);
}

.freya-account__nav .is-active a {
	font-weight: 500;
}

.freya-auth {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	max-width: 900px;
	margin-inline: auto;
	padding-block: clamp(2rem, 5vw, 4rem);
}

.freya-auth__panel {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--freya-line);
	background: var(--freya-white);
}

.freya-auth__panel h2 {
	font-size: 1.5rem;
	margin: 0 0 0.4rem;
}

.freya-auth__panel p.intro {
	color: var(--freya-ink-muted);
	font-size: 0.9375rem;
	margin-bottom: 1.6rem;
}

.woocommerce-orders-table,
.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce-orders-table th,
.shop_table th {
	text-align: left;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--freya-line);
}

.woocommerce-orders-table td,
.shop_table td {
	padding-block: 1rem;
	border-bottom: 1px solid var(--freya-line);
}

/* --------------------------------------------------------------------------
   10. WooCommerce messages
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-left: 2px solid var(--freya-ink);
	background: var(--freya-cream);
	font-size: 0.875rem;
	list-style: none;
}

.woocommerce-error {
	border-left-color: var(--freya-sale);
	color: var(--freya-sale);
}

.woocommerce-message {
	border-left-color: var(--freya-success);
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
	font-size: 0.6875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. Wishlist page
   -------------------------------------------------------------------------- */

.freya-wishlist-empty {
	text-align: center;
	padding: clamp(3rem, 8vw, 6rem) 0;
	color: var(--freya-ink-muted);
}

.freya-wishlist-empty .freya-icon {
	color: var(--freya-line-strong);
	margin-inline: auto;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   12. 404
   -------------------------------------------------------------------------- */

.freya-404 {
	text-align: center;
	padding-block: clamp(3rem, 9vw, 7rem);
}

.freya-404__code {
	font-family: var(--freya-font-display);
	font-size: clamp(4rem, 14vw, 9rem);
	line-height: 1;
	color: var(--freya-line-strong);
	margin: 0 0 1rem;
}

.freya-404__search {
	max-width: 440px;
	margin: 2rem auto;
}

.freya-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --------------------------------------------------------------------------
   13. Instalments

   Quiet by design. It is useful information at the point of deciding, not a
   promotion, so it reads as a footnote to the price rather than competing
   with it.
   -------------------------------------------------------------------------- */

.freya-installments {
	margin: 0.5rem 0 0;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.freya-installments::before {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--fc-brass);
	flex: none;
}

.freya-card .freya-installments {
	font-size: 0.75rem;
	margin-top: 0.25rem;
}

.freya-card .freya-installments::before {
	display: none;
}

/* --------------------------------------------------------------------------
   14. Product page: size chart, payment, share, enquiry

   Every block here renders only when the shop has supplied its content. On
   this build the size chart, the exchange terms and the FAQ are all empty,
   so none of them appears — which is the correct state, not a missing
   feature. docs/admin-guide.md lists what switches each one on.
   -------------------------------------------------------------------------- */

.fc-sizechart {
	border: 1px solid var(--freya-line);
	border-radius: var(--fc-radius-sm);
	padding: 0.75rem 1rem;
}

.fc-sizechart__toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--fc-font-ui);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--freya-ink);
}

.fc-sizechart__toggle::-webkit-details-marker {
	display: none;
}

.fc-sizechart__body {
	margin-top: 0.9rem;
}

.fc-sizechart__img {
	width: 100%;
	height: auto;
	border-radius: var(--fc-radius-sm);
}

.fc-sizechart__note {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
}

/* --- ways to pay --- */

.fc-pay__label,
.fc-share__label {
	margin: 0 0 0.5rem;
	font-family: var(--fc-font-ui);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--freya-ink-muted);
}

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

/*
 * Named, not iconised. These are the gateways this checkout really offers —
 * bank transfer and payment on collection — and there is no card mark that
 * honestly stands for either.
 */
.fc-pay__item {
	padding: 0.3rem 0.75rem;
	border: 1px solid var(--freya-line);
	border-radius: var(--fc-radius-pill);
	font-size: 0.75rem;
	color: var(--freya-ink-soft);
	background: var(--freya-ivory);
}

/* --- share --- */

.fc-share {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.fc-share__label {
	margin: 0 0.3rem 0 0;
}

.fc-share__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--freya-line);
	border-radius: 50%;
	color: var(--freya-ink);
	background: none;
	cursor: pointer;
	transition: background-color var(--freya-fast) var(--freya-ease),
		border-color var(--freya-fast) var(--freya-ease),
		color var(--freya-fast) var(--freya-ease);
}

.fc-share__link:hover {
	background: var(--freya-ink-deep);
	border-color: var(--freya-ink-deep);
	color: var(--fc-on-black);
	text-decoration: none;
}

/* --- enquiry --- */

.fc-enquiry p {
	margin: 0 0 0.75rem;
}

.fc-enquiry label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
}

.fc-enquiry input,
.fc-enquiry textarea {
	width: 100%;
}

.fc-enquiry__msg {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--freya-success);
}

.fc-enquiry__msg.is-error {
	color: var(--freya-sale);
}

.fc-enquiry__alt {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
}

/* ---------------------------------------------------------------------------
 * Olutek 2026-11-26 — cart & checkout polish
 *
 * WooCommerce's own stylesheet is dequeued, so its buttons (Proceed to
 * checkout, Place order, Apply coupon, Update bag) arrived unstyled. They now
 * share the theme's pill button.
 * ------------------------------------------------------------------------ */

.woocommerce :is(a.button, button.button, input.button, .button),
.woocommerce #place_order,
.woocommerce .checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.8rem 1.75rem;
	border: 1px solid var(--freya-ink-deep);
	border-radius: var(--fc-radius-pill);
	background: transparent;
	color: var(--freya-ink-deep);
	font-family: var(--freya-font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--freya-mid) var(--freya-ease),
		color var(--freya-mid) var(--freya-ease),
		border-color var(--freya-mid) var(--freya-ease),
		transform var(--freya-fast) var(--freya-ease);
}

.woocommerce :is(a.button, button.button, input.button, .button):hover {
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
	text-decoration: none;
}

/* The two buttons that move an order forward: filled, full width, tall. */
.woocommerce :is(.button.alt, #place_order, .checkout-button) {
	width: 100%;
	min-height: 56px;
	background: var(--freya-ink-deep);
	color: var(--fc-on-black);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 14px 28px -18px rgb(20 17 18 / 55%);
}

.woocommerce :is(.button.alt, #place_order, .checkout-button):hover {
	background: var(--freya-ink);
	border-color: var(--freya-ink);
	color: var(--fc-on-black);
	transform: translateY(-1px);
}

.woocommerce :is(.button, #place_order):disabled,
.woocommerce .button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.woocommerce .wc-proceed-to-checkout {
	margin-top: 1.25rem;
}

#place_order {
	margin-top: 1.25rem;
}

/* Payment methods: radio beside the name, details underneath. */
.woocommerce-checkout-payment .wc_payment_method {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 0.75rem;
	padding: 1rem 1.1rem;
	cursor: pointer;
}

.woocommerce-checkout-payment .wc_payment_method > input[type="radio"] {
	margin: 0;
	width: 18px;
	height: 18px;
	accent-color: var(--freya-ink-deep);
}

.woocommerce-checkout-payment .wc_payment_method > label {
	font-weight: 500;
}

.woocommerce-checkout-payment .wc_payment_method > label img {
	max-height: 22px;
	width: auto;
	margin-left: 0.35rem;
}

.woocommerce-checkout-payment .wc_payment_method > .payment_box {
	grid-column: 1 / -1;
	margin: 0.75rem 0 0;
}

.woocommerce-checkout-payment .payment_box p {
	margin: 0;
}

/* Shipping row: no stray bullet. */
.woocommerce ul#shipping_method,
.woocommerce .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Terms line: sentence case, a real checkbox, readable. */
.woocommerce-terms-and-conditions-wrapper .form-row label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.5;
	color: var(--freya-ink-soft);
	cursor: pointer;
}

.woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
.woocommerce form .input-checkbox {
	width: 18px;
	height: 18px;
	margin: 0.1rem 0 0;
	flex: none;
	accent-color: var(--freya-ink-deep);
}

.woocommerce-terms-and-conditions-wrapper a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-privacy-policy-text p {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--freya-ink-muted);
}

/* Variation details in the order summary ("Heel: 1", "Size: US 5 …"). */
.woocommerce :is(dl.variation, .wc-item-meta) {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.15rem 0.5rem;
	margin: 0.4rem 0 0;
	padding: 0;
	font-size: 0.8125rem;
	color: var(--freya-ink-muted);
}

.woocommerce :is(dl.variation dt, dl.variation dd, .wc-item-meta li) {
	margin: 0;
	padding: 0;
}

.woocommerce dl.variation dd p {
	margin: 0;
}

/* Form fields: a clear focus ring. */
.woocommerce form :is(input.input-text, select, textarea):focus {
	outline: 2px solid var(--freya-ink-deep);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * Olutek 2026-11-26 — cart row tidy-up
 * ------------------------------------------------------------------------ */

/* Breathing room between the columns, so the quantity never meets a price. */
.freya-cart-table th,
.freya-cart-table td {
	padding-inline: 0.75rem;
}

.freya-cart-table th:first-child,
.freya-cart-table td:first-child {
	padding-left: 0;
}

.freya-cart-table th:last-child,
.freya-cart-table td:last-child {
	padding-right: 0;
}

.freya-cart-table .product-quantity .quantity input.qty,
.freya-cart-table .product-quantity input.input-text {
	width: 72px;
	max-width: 100%;
	text-align: center;
}

/* Variation details: one line each, label then value ("Size: US 5 - UK 37 - 24.25 cm"). */
.freya-cart-table dl.variation {
	display: block;
	margin-top: 0.45rem;
}

.freya-cart-table dl.variation :is(dt, dd) {
	display: inline;
	margin: 0;
	white-space: nowrap;
}

.freya-cart-table dl.variation dt {
	color: var(--freya-ink-muted);
}

.freya-cart-table dl.variation dd {
	color: var(--freya-ink-soft);
}

.freya-cart-table dl.variation dd p {
	display: inline;
}

.freya-cart-table dl.variation dd::after {
	content: "\A";
	white-space: pre;
}

/* Coupon and update buttons sit side by side with a clear gap. */
.freya-cart-table td.actions {
	padding-top: 1.25rem;
}

.freya-cart-table td.actions .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0.75rem 0.75rem 0;
	vertical-align: middle;
}

.freya-cart-table td.actions .coupon .input-text {
	width: 220px;
	max-width: 100%;
}

.freya-cart-table td.actions > .freya-btn {
	vertical-align: middle;
	margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------------
 * Olutek 2026-11-26 — motion polish (shop)
 * ------------------------------------------------------------------------ */

/* WooCommerce buttons (Proceed to checkout, Place order, Apply, Update bag). */
.woocommerce :is(a.button, button.button, input.button, .button),
.woocommerce #place_order,
.woocommerce .checkout-button {
	transition-property: transform, background-color, border-color, color, box-shadow;
	transition-duration: var(--freya-press, 140ms), var(--freya-mid), var(--freya-mid), var(--freya-mid), var(--freya-mid);
	transition-timing-function: var(--freya-ease);
}

.woocommerce :is(a.button, button.button, input.button, .button, #place_order, .checkout-button):active,
.woocommerce :is(.button.alt, #place_order, .checkout-button):hover:active {
	transform: scale(0.97);
}

@media (hover: none), (pointer: coarse) {
	.woocommerce :is(.button.alt, #place_order, .checkout-button):hover {
		transform: none;
	}
}

/* Payment method rows: selecting one feels deliberate, not instant-swap. */
.woocommerce-checkout-payment .wc_payment_method {
	transition: border-color var(--freya-mid) var(--freya-ease), box-shadow var(--freya-mid) var(--freya-ease);
}

.woocommerce-checkout-payment .wc_payment_method:has(input:checked) {
	box-shadow: 0 10px 24px -18px rgb(20 17 18 / 45%);
}

/* Filter sheet (phones): same drawer feel as the bag. */
.freya-filters {
	transition: transform 240ms var(--freya-ease-drawer, cubic-bezier(0.32, 0.72, 0, 1));
}

.freya-filters.is-open {
	transition-duration: 400ms;
}

/* Product photo zoom answers faster. */
.freya-gallery__stage img {
	transition: transform 300ms var(--freya-ease);
}

.freya-gallery__stage.is-zoomed img {
	transition-duration: 300ms;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce :is(a.button, button.button, input.button, .button, #place_order, .checkout-button):active {
		transform: none;
	}
	.freya-filters,
	.freya-filters.is-open {
		transition-duration: 1ms;
	}
}

/* Size / colour options keep their colour timing and gain the press scale. */
.freya-option__label,
.freya-swatch,
.freya-filter__option {
	transition: transform var(--freya-press, 140ms) var(--freya-ease),
		border-color var(--freya-mid) var(--freya-ease),
		background-color var(--freya-mid) var(--freya-ease),
		color var(--freya-mid) var(--freya-ease);
}
