/*
 * Les Dames — theme stylesheet.
 * Tokens come from theme.json (--wp--preset--*); measures from design/reference/TOKENS.md.
 * Breakpoints: mobile < 768, tablet 768–1199, desktop ≥ 1200.
 */

/* ---------- 1. Tokens ---------- */

:root {
	--ld-text: var(--wp--preset--color--text, #222);
	--ld-heading: var(--wp--preset--color--heading, #222);
	--ld-muted: var(--wp--preset--color--muted, #6e6b66);
	--ld-primary: var(--wp--preset--color--primary, #301e78); /* violet: accent only (badges, sale prices, focus) */
	--ld-primary-hover: var(--wp--preset--color--primary-hover, #1f1350);
	--ld-ink: var(--ld-text); /* buttons and strong UI */
	--ld-surface: var(--wp--preset--color--surface, #fff);
	--ld-surface-2: var(--wp--preset--color--surface-2, #f2f2f0); /* paper: product backgrounds */
	--ld-mist: var(--wp--preset--color--mist, #e8edf0);
	--ld-lilac: var(--wp--preset--color--primary-tint, #eeecf2);
	--ld-border: var(--wp--preset--color--border, #e7e7e4);
	--ld-border-strong: #bdbab4; /* edges of interactive controls (≈3:1 on white) */

	--ld-font-body: var(--wp--preset--font-family--body, Jost, sans-serif);
	--ld-font-heading: var(--wp--preset--font-family--heading, Jost, sans-serif);

	/* Square, quiet UI: radius only where a shape means something (badges, counters). */
	--ld-radius: 0;
	--ld-radius-lg: 0;
	--ld-radius-pill: 0;
	--ld-radius-round: 999px;
	--ld-primary-tint: var(--ld-lilac);
	--ld-sale: var(--ld-primary);
	--ld-shadow-panel: 0 12px 40px rgba(0, 0, 0, 0.08);
	--ld-header-offset: var(--wp-admin--admin-bar--height, 0px);
	--ld-ease: 0.2s ease;
	--ld-gutter: clamp(16px, 4vw, 56px);
	--ld-container: 1440px;
}

/* ---------- 2. Base ---------- */

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

body {
	margin: 0;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

.icon {
	flex: none;
	display: block;
}

a {
	text-decoration: none;
	transition: color var(--ld-ease);
}

:focus-visible {
	outline: 2px solid var(--ld-ink);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-synthesis: none; /* Jost ships the weights we use: never fake one */
}

@media (max-width: 767px) {
	body h1 {
		font-size: 30px;
		line-height: 38px;
	}

	body h2 {
		font-size: 24px;
		line-height: 32px;
	}

	body h3 {
		font-size: 20px;
		line-height: 28px;
	}

	body h4 {
		font-size: 17px;
		line-height: 24px;
	}
}

html.has-modal {
	overflow: hidden;
}

.container {
	width: 100%;
	max-width: var(--ld-container);
	margin-inline: auto;
	padding-inline: var(--ld-gutter);
}

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

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	z-index: 1000;
	top: 10px;
	left: 10px;
	padding: 10px 20px;
	background: var(--ld-surface);
	color: var(--ld-ink);
	box-shadow: var(--ld-shadow-panel);
}

.site-main {
	padding-block: 40px 60px;
}

/* ---------- 3. Buttons and forms ---------- */

.button--outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 22px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	background: transparent;
	color: var(--ld-heading);
	font: 500 12px/1 var(--ld-font-body);
	cursor: pointer;
	transition: border-color var(--ld-ease), color var(--ld-ease), background-color var(--ld-ease);
}

.button--small {
	min-height: 34px;
	padding: 0 16px;
}

.button--outline:hover {
	border-color: var(--ld-ink);
	color: var(--ld-ink);
}

.search-form--pill {
	position: relative;
	display: flex;
}

.search-form--pill .search-form__input {
	width: 100%;
	height: 40px;
	padding: 4px 50px 4px 20px;
	border: 1px solid var(--ld-surface-2);
	border-radius: var(--ld-radius-pill);
	background: var(--ld-surface-2);
	color: var(--ld-heading);
	font: 400 16px/30px var(--ld-font-body);
	appearance: none;
}

.search-form__input::-webkit-search-cancel-button,
.search-form__input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.search-form--pill .search-form__input::placeholder {
	color: var(--ld-muted);
}

/* Inset ring: the field also sits in scrolling containers (filter column, dialogs) that clip outer outlines. */
.search-form--pill .search-form__input:focus-visible {
	border-color: var(--ld-ink);
	outline: 2px solid var(--ld-ink);
	outline-offset: -2px;
	background: var(--ld-surface);
}

.search-form__submit {
	position: absolute;
	top: 0;
	right: 4px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

/* Dropdown (details/summary) */
.dropdown {
	position: relative;
}

.dropdown__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	background: var(--ld-surface);
	color: var(--ld-heading);
	font-size: 14px;
	list-style: none;
	cursor: pointer;
	user-select: none;
	transition: border-color var(--ld-ease);
}

.dropdown__toggle::-webkit-details-marker {
	display: none;
}

.dropdown__toggle:hover,
.dropdown[open] .dropdown__toggle {
	border-color: var(--ld-ink);
}

.dropdown__label {
	color: var(--ld-muted);
}

.dropdown__value {
	font-weight: 500;
}

.dropdown__toggle .icon {
	transition: transform var(--ld-ease);
}

.dropdown[open] .dropdown__toggle .icon {
	transform: rotate(180deg);
}

.dropdown__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 30;
	min-width: 240px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface);
	box-shadow: 0 16px 40px rgba(22, 22, 22, 0.12);
	animation: lesdames-pop 0.15s ease-out;
}

@keyframes lesdames-pop {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
}

.dropdown__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: var(--ld-radius);
	color: var(--ld-text);
	font-size: 14px;
}

.dropdown__item:hover {
	background: var(--ld-surface-2);
	color: var(--ld-ink);
}

.dropdown__item[aria-current="true"] {
	color: var(--ld-ink);
	font-weight: 500;
}

.dropdown__item[aria-current="true"]::after {
	content: "";
	width: 10px;
	height: 6px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg) translateY(-2px);
}

/* ---------- 4. Header ---------- */

.notice-bar {
	background: var(--ld-surface-2);
	color: var(--ld-text);
	font-size: 12px;
	line-height: 18px;
	text-align: center;
}

.notice-bar p {
	margin-block: 0;
	padding-block: 8px;
}

.site-header-sentinel {
	height: 0;
}

.site-header {
	position: sticky;
	top: var(--ld-header-offset);
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ld-border);
	transition: box-shadow var(--ld-ease);
}

@supports (backdrop-filter: blur(8px)) {
	.site-header {
		background: rgba(255, 255, 255, 0.88);
		backdrop-filter: saturate(1.4) blur(10px);
	}
}

.site-header.is-stuck {
	box-shadow: 0 4px 18px rgba(22, 22, 22, 0.06);
}

/* The admin bar is not fixed on small screens. */
@media (max-width: 600px) {
	.site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 64px;
	padding-block: 6px;
}

@media (min-width: 1100px) {
	/* Logo | menu | icons: the menu sits on the page centre, whatever the widths of the sides. */
	.site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		min-height: 84px;
		gap: 40px;
	}

	.site-header__logo {
		justify-self: start;
	}

	.site-header__actions {
		justify-self: end;
	}
}

.site-header__logo {
	flex: none;
	line-height: 0;
}

.site-header__logo img {
	display: block;
	width: auto;
	height: 46px;
}

@media (min-width: 1100px) {
	.site-header__logo img {
		height: 60px;
	}
}

.site-title {
	color: var(--ld-heading);
	font: 500 22px/1.2 var(--ld-font-heading);
}

.primary-nav {
	display: none;
	flex: 1;
	min-width: 0;
}

@media (min-width: 1100px) {
	.primary-nav {
		display: block;
	}
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}

/* Icon-only buttons: no circle, no border; a soft background only on hover. */
.icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ld-heading);
	cursor: pointer;
	transition: background-color var(--ld-ease), color var(--ld-ease);
}

.icon-btn:hover {
	background: var(--ld-surface-2);
	color: var(--ld-ink);
}

.site-header .site-header__menu-toggle {
	display: inline-grid;
}

@media (min-width: 1100px) {
	.site-header .site-header__menu-toggle {
		display: none;
	}
}

@media (max-width: 767px) {
	.site-header__account {
		display: none;
	}
}

.header-cart__count {
	position: absolute;
	top: 5px;
	right: 3px;
	min-width: 17px;
	height: 17px;
	padding-inline: 4px;
	border: 2px solid var(--ld-surface);
	border-radius: 9px;
	background: var(--ld-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	line-height: 13px;
	text-align: center;
	box-sizing: border-box;
}

.header-cart__count[data-count="0"] {
	display: none;
}

/* ---------- 5. Primary navigation, dropdowns, mega menu ---------- */

.primary-nav__list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 0 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-nav a {
	display: block;
	color: var(--ld-text);
	font-size: 15px;
	line-height: 22px;
	white-space: nowrap;
}

.primary-nav__list > li > a {
	position: relative;
	padding-block: 31px;
}

/* Underline indicator for hover, open and current items. */
.primary-nav__list > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 22px;
	left: 0;
	height: 1px;
	background: var(--ld-ink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.primary-nav__list > li > a:hover::after,
.primary-nav__list > li.is-open > a::after,
.primary-nav__list > .current-menu-item > a::after,
.primary-nav__list > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.primary-nav__list > li > a:hover,
.primary-nav__list > li.is-open > a,
.primary-nav__list > .current-menu-item > a,
.primary-nav__list > .current-menu-ancestor > a,
.primary-nav .sub-menu a:hover,
.mega-menu__list a:hover {
	color: var(--ld-ink);
}

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 32px;
	padding: 0 0 0 4px;
	border: 0;
	background: none;
	color: var(--ld-muted);
	cursor: pointer;
	transition: transform var(--ld-ease), color var(--ld-ease);
}

.primary-nav__list > li.is-open > .submenu-toggle {
	color: var(--ld-ink);
	transform: rotate(180deg);
}

.primary-nav .sub-menu,
.mega-menu {
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity var(--ld-ease), visibility var(--ld-ease), transform var(--ld-ease);
}

:root:not(.has-js) .primary-nav__list > li:hover > .sub-menu,
:root:not(.has-js) .menu-item-mega:hover > .mega-menu,
.primary-nav__list > li.is-open > .sub-menu,
.menu-item-mega.is-open > .mega-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	left: -18px;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface);
	box-shadow: 0 16px 40px rgba(22, 22, 22, 0.1);
}

.primary-nav .sub-menu a {
	padding: 9px 12px;
	border-radius: var(--ld-radius);
	color: var(--ld-text);
}

.primary-nav .sub-menu a:hover {
	background: var(--ld-surface-2);
}

/* The mega item ignores its own WordPress children: the panel replaces them. */
.primary-nav .menu-item-mega {
	position: static;
}

.primary-nav .menu-item-mega > .sub-menu {
	display: none;
}

.mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 10;
	background: var(--ld-surface);
	border-top: 1px solid var(--ld-border);
	box-shadow: 0 24px 40px rgba(22, 22, 22, 0.08);
}

.mega-menu__inner {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	align-items: start;
	gap: 40px;
	max-width: var(--ld-container);
	margin-inline: auto;
	padding: 40px 25px 48px;
}

.mega-menu__title {
	margin: 0 0 12px;
	color: var(--ld-heading);
	font: 500 12px/16px var(--ld-font-body);
	white-space: nowrap;
}

.mega-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .mega-menu__list a {
	padding-block: 6px;
	color: var(--ld-text);
	white-space: normal;
}

.mega-menu__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 8%;
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2);
	mix-blend-mode: multiply;
}

@media (max-width: 1299px) {
	.mega-menu__image {
		display: none;
	}
}

/* ---------- 6. Dialogs: mobile menu and search panel ---------- */

.mobile-menu,
.search-panel {
	margin: 0;
	padding: 0;
	border: 0;
	max-width: none;
	max-height: none;
	background: var(--ld-surface);
	color: var(--ld-text);
}

.mobile-menu::backdrop,
.search-panel::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.mobile-menu {
	inset: 0 0 0 auto;
	width: min(88vw, 380px);
	height: 100dvh;
	overflow-y: auto;
}

.mobile-menu[open] {
	display: flex;
	flex-direction: column;
	animation: lesdames-slide-from-right 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes lesdames-slide-in {
	from {
		transform: translateX(-100%);
	}
}

@keyframes lesdames-slide-from-right {
	from {
		transform: translateX(100%);
	}
}

.mobile-menu__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	padding: 0 8px 0 24px;
	border-bottom: 1px solid var(--ld-border);
	background: var(--ld-surface);
}

.mobile-menu__title {
	margin: 0;
	color: var(--ld-heading);
	font: 500 12px/16px var(--ld-font-body);
}

.mobile-menu__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

.mobile-menu__close:hover {
	background: var(--ld-surface-2);
}

.mobile-nav,
.mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav {
	padding: 8px 24px 24px;
}

.mobile-nav > li {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	border-bottom: 1px solid var(--ld-border);
}

.mobile-nav > li > a {
	display: block;
	padding: 15px 0;
	color: var(--ld-heading);
	font: 500 19px/24px var(--ld-font-heading);
}

.mobile-nav > .current-menu-item > a {
	color: var(--ld-ink);
}

.mobile-nav .submenu-toggle {
	width: 44px;
	height: 44px;
	padding: 0;
	justify-self: end;
	color: var(--ld-muted);
	transition: transform var(--ld-ease);
}

.mobile-nav .is-open > .submenu-toggle {
	transform: rotate(90deg);
}

.mobile-nav .sub-menu {
	display: none;
	grid-column: 1 / -1;
	padding: 0 0 14px;
}

.mobile-nav .is-open > .sub-menu:not(.mobile-mega),
.mobile-nav .menu-item-mega.is-open > .mobile-mega {
	display: block;
}

/* The mega item shows the mega columns, not its own WordPress children. */
.mobile-nav .menu-item-mega > .sub-menu:not(.mobile-mega) {
	display: none;
}

.mobile-nav .sub-menu a {
	display: block;
	padding: 11px 0;
	color: var(--ld-text);
	font-size: 15px;
	line-height: 22px;
}

.mobile-mega__group + .mobile-mega__group {
	margin-top: 8px;
}

.mobile-mega__title {
	display: block;
	margin-top: 8px;
	color: var(--ld-muted);
	font: 500 11px/16px var(--ld-font-body);
}

.mobile-menu__footer {
	display: grid;
	gap: 4px;
	margin-top: auto;
	padding: 20px 24px 28px;
	background: var(--ld-surface-2);
}

.mobile-menu__link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	color: var(--ld-heading);
	font-size: 15px;
}

.mobile-menu__address {
	margin: 6px 0 0;
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 20px;
}

.search-panel {
	inset: 0 0 auto;
	width: 100%;
	max-height: 100dvh;
	overflow-y: auto;
}

.search-panel[open] {
	animation: lesdames-slide-down 0.25s ease-out;
}

@keyframes lesdames-slide-down {
	from {
		transform: translateY(-30px);
		opacity: 0;
	}
}

.search-panel__inner {
	position: relative;
	padding-block: 80px 70px;
	text-align: center;
}

.search-panel__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

.search-panel__title {
	margin: 0 0 32px;
	font-size: 28px;
	line-height: 36px;
}

.search-panel .search-form,
.live-results {
	max-width: 1000px;
	margin-inline: auto;
}

.live-results__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 40px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.search-result {
	display: grid;
	grid-template-columns: 90px 1fr;
	align-items: center;
	gap: 20px;
	color: var(--ld-text);
}

.search-result__image img {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: contain;
}

.search-result__title {
	display: block;
	font-size: 16px;
	line-height: 22px;
	transition: color var(--ld-ease);
}

.search-result:hover .search-result__title {
	color: var(--ld-ink);
}

.search-result__price {
	display: block;
	margin-top: 6px;
	color: #000;
	font-size: 16px;
	line-height: 22px;
}

.live-results__all {
	margin-top: 30px;
}

.live-results__empty {
	margin: 30px 0 0;
	color: var(--ld-muted);
}

@media (max-width: 767px) {
	.search-panel__inner {
		padding-block: 60px 40px;
	}

	.search-panel__title {
		margin-bottom: 30px;
		font-size: 24px;
		line-height: 34px;
	}

	.live-results__list {
		grid-template-columns: 1fr;
	}

	.search-result {
		grid-template-columns: 70px 1fr;
	}

	.search-result__image img {
		width: 70px;
		height: 70px;
	}
}

/* ---------- 7. Mini cart ---------- */

.header-cart {
	position: relative;
}

.mini-cart {
	display: none;
}

@media (hover: hover) and (min-width: 768px) {
	.mini-cart {
		position: absolute;
		top: calc(100% + 23px);
		right: 0;
		z-index: 20;
		display: block;
		width: 420px;
		padding: 30px;
		background: var(--ld-surface);
		box-shadow: var(--ld-shadow-panel);
		visibility: hidden;
		opacity: 0;
		transition: opacity var(--ld-ease), visibility var(--ld-ease);
	}

	/* Hover bridge between the icon and the panel. */
	.mini-cart::before {
		content: "";
		position: absolute;
		inset: -23px 0 100%;
	}

	.header-cart:hover .mini-cart,
	.header-cart:focus-within .mini-cart {
		visibility: visible;
		opacity: 1;
	}

	.header-cart.is-dismissed .mini-cart {
		visibility: hidden;
		opacity: 0;
	}
}

.mini-cart__title {
	margin: 0 0 20px;
	color: var(--ld-heading);
	font: 500 16px/22px var(--ld-font-heading);
}

.mini-cart .woocommerce-mini-cart {
	max-height: 50vh;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.mini-cart .woocommerce-mini-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 0 30px;
	padding: 0 24px 20px 0;
	font-size: 15px;
	line-height: 22px;
}

.mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
	display: contents;
	color: var(--ld-text);
}

.mini-cart .woocommerce-mini-cart-item img {
	grid-row: span 2;
	width: 100px;
	height: auto;
}

.mini-cart .woocommerce-mini-cart-item .quantity {
	color: var(--ld-ink);
}

.mini-cart .remove {
	position: absolute;
	top: 0;
	right: 0;
	color: var(--ld-heading);
	font-size: 20px;
	line-height: 1;
}

.mini-cart .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 0 0 20px;
	padding-top: 20px;
	border-top: 1px solid var(--ld-border);
	font-size: 16px;
}

.mini-cart .woocommerce-mini-cart__total .amount {
	color: var(--ld-ink);
}

.mini-cart .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin: 0;
}

.mini-cart .woocommerce-mini-cart__buttons .button {
	display: block;
	margin: 0;
	padding: 13px 10px;
	border: 1px solid var(--ld-ink);
	border-radius: var(--ld-radius-pill);
	background: transparent;
	color: var(--ld-ink);
	font: 500 12px/1 var(--ld-font-body);
	text-align: center;
	white-space: nowrap;
}

.mini-cart .woocommerce-mini-cart__buttons .checkout,
.mini-cart .woocommerce-mini-cart__buttons .button:hover {
	background: var(--ld-ink);
	color: #fff;
}

.mini-cart .woocommerce-mini-cart__buttons .checkout:hover {
	background: #000;
}

.mini-cart .woocommerce-mini-cart__empty-message {
	margin: 0;
	color: var(--ld-muted);
}

/* ---------- 8. Page head (breadcrumb + title) ---------- */

.page-head {
	padding-top: 28px;
}

.page-head + .site-main {
	padding-top: 24px;
}

.page-head__title {
	margin: 10px 0 0;
	color: var(--ld-heading);
	font-size: 38px;
	line-height: 46px;
	letter-spacing: -0.01em;
}

@media (max-width: 767px) {
	.page-head {
		padding-top: 18px;
	}

	.page-head + .site-main {
		padding-top: 18px;
	}

	body .page-head__title {
		font-size: 28px;
		line-height: 36px;
	}
}

.page-head--compact {
	padding-top: 20px;
}

.page-head--compact + .site-main {
	padding-top: 16px;
}

.breadcrumb {
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 20px;
}

.breadcrumb a {
	color: var(--ld-muted);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: color var(--ld-ease), text-decoration-color var(--ld-ease);
}

.breadcrumb a:hover {
	color: var(--ld-ink);
	text-decoration-color: currentColor;
}

.breadcrumb__sep {
	margin-inline: 8px;
	color: var(--ld-border-strong);
}

/* Phones: only a back link to the parent level (the page title follows right below). */
@media (max-width: 767px) {
	.breadcrumb > * {
		display: none;
	}

	.breadcrumb > .breadcrumb__item:nth-last-child(3) {
		display: inline-flex;
		align-items: center;
		min-height: 32px;
	}

	.breadcrumb > .breadcrumb__item:nth-last-child(3)::before {
		content: "‹";
		margin-right: 6px;
		font-size: 18px;
		line-height: 1;
	}
}

/* ---------- 9. Footer ---------- */

.site-footer {
	--footer-text: var(--ld-muted);
	margin-top: 120px;
	padding-top: 56px;
	border-top: 1px solid var(--ld-border);
	background: var(--ld-surface);
	color: var(--footer-text);
	font-size: 15px;
	line-height: 24px;
}

.site-footer a {
	color: var(--footer-text);
	transition: color var(--ld-ease);
}

.site-footer a:hover {
	color: var(--ld-text);
}

.site-footer__cols {
	display: grid;
	gap: 40px 32px;
	grid-template-columns: 1fr 1fr;
}

.site-footer__brand,
.site-footer__shop {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.site-footer__cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}

	.site-footer__shop {
		grid-column: auto;
	}
}

@media (min-width: 1100px) {
	.site-footer__cols {
		grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
		gap: 48px;
	}

	.site-footer__brand {
		grid-column: auto;
	}
}

.site-footer__logo {
	line-height: 0;
}

.site-footer__logo img {
	display: block;
	width: auto;
	height: 52px;
}

.site-footer__tagline {
	max-width: 300px;
	margin: 20px 0 24px;
}

.site-footer__title {
	margin: 0 0 12px;
	color: var(--ld-text);
	font: 600 14px/20px var(--ld-font-body);
}

.site-footer__menu,
.site-footer__hours,
.social-links,
.site-footer__legal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

.site-footer__address {
	margin: 0 0 12px;
	font-style: normal;
}

.site-footer__address a {
	text-decoration: underline;
	text-decoration-color: var(--ld-border-strong);
	text-underline-offset: 4px;
}

.site-footer__hours li + li {
	margin-top: 2px;
}

.site-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.site-footer__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ld-ink);
	color: var(--ld-ink) !important;
	font-size: 14px;
	font-weight: 500;
	transition: background-color var(--ld-ease), border-color var(--ld-ease);
}

.site-footer__cta:hover {
	background: var(--ld-ink);
	color: #fff !important;
}

.social-links {
	display: flex;
	gap: 8px;
}

.social-links__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ld-surface-2);
	color: var(--ld-ink) !important;
	transition: background-color var(--ld-ease);
}

.social-links__link:hover {
	background: var(--ld-border);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 64px;
	padding-block: 24px;
	border-top: 1px solid var(--ld-border);
	font-size: 13px;
	line-height: 20px;
}

.site-footer__copy {
	margin: 0;
}

.site-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.site-footer__legal-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

@media (max-width: 767px) {
	.site-footer {
		padding-top: 48px;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 40px;
		padding-bottom: 96px; /* room for the WhatsApp button */
	}
}

/* ---------- 10. Content ---------- */

.entry-content {
	color: var(--ld-text);
	font-size: 17px;
	line-height: 1.75;
}

.entry-content > *:first-child {
	margin-top: 0;
}

/* Text keeps a reading measure; theme blocks and media use the full container. */
.entry-content > :is(p, h2, h3, h4, h5, h6, ul, ol, blockquote, details, table, .wp-block-list, .wp-block-quote) {
	max-width: 760px;
}

.entry-content > [class*="wp-block-lesdames-"] {
	margin-block: 56px;
}

.entry-content > [class*="wp-block-lesdames-"]:first-child {
	margin-top: 8px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 40px 0 12px;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol {
	margin: 0 0 18px;
}

.entry-content > :is(ul, ol) {
	padding-left: 22px;
}

.entry-content > :is(ul, ol) > li + li {
	margin-top: 6px;
}

.entry-content > :is(p, ul, ol, h2, h3, h4, table, details, blockquote) a:not(.btn):not(.button) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content strong {
	color: var(--ld-heading);
}

.entry-content blockquote {
	margin: 32px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--ld-ink);
	color: var(--ld-heading);
	font: 500 21px/1.5 var(--ld-font-heading);
}

.entry-content img {
	border-radius: var(--ld-radius);
}

.entry-content iframe {
	max-width: 100%;
	border: 0;
	border-radius: var(--ld-radius-lg);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border-bottom: 1px solid var(--ld-border);
	text-align: left;
}

/* FAQ: native <details> (also in the old Elementor content) as an accordion. */
.entry-content details {
	border-top: 1px solid var(--ld-border);
}

.entry-content details:last-of-type {
	border-bottom: 1px solid var(--ld-border);
}

.entry-content summary {
	position: relative;
	padding: 18px 40px 18px 0;
	color: var(--ld-heading);
	font: 500 18px/1.45 var(--ld-font-heading);
	list-style: none;
	cursor: pointer;
}

.entry-content summary::-webkit-details-marker {
	display: none;
}

.entry-content summary::after {
	content: "";
	position: absolute;
	top: 26px;
	right: 6px;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--ld-muted);
	border-bottom: 1.5px solid var(--ld-muted);
	transform: rotate(45deg);
	transition: transform var(--ld-ease);
}

.entry-content details[open] summary::after {
	transform: translateY(4px) rotate(-135deg);
}

.entry-content details > :not(summary) {
	margin-bottom: 18px;
	color: var(--ld-text);
	font-size: 16px;
}

/* Old FAQ markup: radio "filters" become working pills (CSS only). */
.entry-content p:has(> input[name="faq-filter"]) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: none;
	margin-bottom: 28px;
}

.entry-content p:has(> input[name="faq-filter"]) br {
	display: none;
}

.entry-content label[for^="filter-"] {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	color: var(--ld-heading);
	font-size: 15px;
	cursor: pointer;
}

.entry-content input[name="faq-filter"]:checked + br + label,
.entry-content input[name="faq-filter"]:checked + label {
	border-color: var(--ld-ink);
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
	font-weight: 500;
}

.entry-content input[name="faq-filter"]:focus-visible + br + label {
	outline: 2px solid var(--ld-ink);
	outline-offset: 2px;
}

.entry-content:has(#filter-spedizioni:checked) details:not([data-category="spedizioni"]),
.entry-content:has(#filter-pagamenti:checked) details:not([data-category="pagamenti"]),
.entry-content:has(#filter-prodotti:checked) details:not([data-category="prodotti"]),
.entry-content:has(#filter-assistenza:checked) details:not([data-category="assistenza"]),
.entry-content:has(#filter-eventi:checked) details:not([data-category="eventi"]) {
	display: none;
}

/* Leftovers of the old Elementor content (until those pages are rebuilt with blocks). */
.entry-content :is(.elementor, .elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget, .elementor-widget-container, .e-con, .e-con-inner) {
	display: block;
	width: auto;
	max-width: 760px;
	margin: 0;
	padding: 0;
}

.entry-content .elementor-icon-box-wrapper,
.entry-content .elementor-image-box-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.entry-content .elementor-icon-box-icon svg,
.entry-content .elementor-image-box-img img {
	width: 40px;
	height: auto;
}

.entry-content .elementor-image-gallery .gallery,
.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
	max-width: none;
}

.entry-content .gallery-item {
	margin: 0;
}

.entry-content .gallery-item img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.error-404__links {
	display: grid;
	gap: 20px;
	justify-items: start;
	margin-top: 32px;
}

@media (max-width: 767px) {
	.error-404__links {
		justify-items: center;
	}

	.error-404__links .brand-pills {
		justify-content: center;
	}
}

.search-panel__popular {
	max-width: 1000px;
	margin: 28px auto 0;
	text-align: left;
}

.search-panel__popular[hidden] {
	display: none;
}

.search-panel__popular-title {
	margin: 0 0 12px;
	color: var(--ld-muted);
	font: 500 12px/16px var(--ld-font-body);
}

/* 404 */
.error-404 {
	display: grid;
	align-items: center;
	gap: 40px;
	padding-block: 90px;
}

@media (min-width: 992px) {
	.error-404 {
		grid-template-columns: minmax(0, 650px) 1fr;
	}
}

.error-404__head {
	display: flex;
	align-items: center;
	gap: 35px;
	margin-bottom: 40px;
}

.error-404__code {
	margin: 0;
	padding-right: 35px;
	border-right: 1px dashed var(--ld-border);
	color: var(--ld-ink);
	font: 500 120px/1 var(--ld-font-heading);
}

.error-404__title {
	margin: 0 0 10px;
}

.error-404__text {
	margin: 0;
	color: var(--ld-heading);
	font: 500 20px/28px var(--ld-font-heading);
}

.error-404__art {
	justify-self: center;
	width: 190px;
	color: #d5d5d5;
}

@media (max-width: 991px) {
	.error-404__art {
		order: -1;
		width: 120px;
	}
}

@media (max-width: 767px) {
	.error-404 {
		gap: 30px;
		padding-block: 40px 60px;
	}

	.error-404__head {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.error-404__code {
		padding: 0 0 30px;
		border: 0;
		border-bottom: 1px dashed var(--ld-border);
		font-size: 90px;
	}
}

/* ---------- 11. WooCommerce: brand colours on cart/checkout/account, notices ---------- */

:root:root {
	--wc-primary: var(--ld-ink);
	--wc-primary-text: #fff;
	--wc-secondary: var(--ld-surface-2);
	--wc-secondary-text: var(--ld-heading);
	--wc-highlight: var(--ld-ink);
	--wc-form-border-color: var(--ld-border-strong);
	--wc-form-border-radius: 6px;
}

.woocommerce :is(a.button, button.button, input.button, #respond input#submit):not(.product-card__actions .button),
.woocommerce-page :is(a.button, button.button, input.button):not(.product-card__actions .button) {
	min-height: 44px;
	padding: 12px 22px;
	border-radius: var(--ld-radius-pill);
	font: 500 13px/1.2 var(--ld-font-body);
}

.woocommerce :is(a.button.alt, button.button.alt, #place_order),
.woocommerce-page .checkout-button {
	background: var(--ld-ink) !important;
	color: #fff !important;
}

.woocommerce :is(a.button.alt, button.button.alt, #place_order):hover {
	background: #000 !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	min-height: 56px;
	font-size: 14px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
	width: 200px;
	min-height: 44px;
}

.woocommerce table.shop_table {
	border-color: var(--ld-border);
	border-radius: var(--ld-radius-lg);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0 !important;
	outline: none !important;
}

/* Secondary WooCommerce buttons: outline pills; form submits: primary. */
.woocommerce :is(button[name="apply_coupon"], button[name="update_cart"], a.button:not(.alt):not(.checkout-button):not(.wc-forward):not(.product-card__actions .button)) {
	border: 1px solid var(--ld-border-strong) !important;
	background: var(--ld-surface) !important;
	color: var(--ld-heading) !important;
}

/* With JS the cart updates on its own after a quantity change (product.js); the button stays as no-JS fallback. */
.has-js .woocommerce-cart-form button[name="update_cart"] {
	display: none !important;
}

.woocommerce :is(button[name="apply_coupon"], button[name="update_cart"]):hover:not(:disabled) {
	border-color: var(--ld-ink) !important;
	color: var(--ld-ink) !important;
}

.woocommerce :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-Button, button[name="save_account_details"], button[name="save_address"]) {
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--ld-radius-pill);
	background: var(--ld-ink) !important;
	color: #fff !important;
}

.woocommerce form .form-row label {
	font-size: 15px;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
	font-size: 14px;
}

/* Free shipping progress (cart and mini cart) */
.free-shipping {
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--ld-radius);
	background: var(--ld-primary-tint);
}

.free-shipping__text {
	margin: 0 0 8px;
	color: var(--ld-ink);
	font-size: 14px;
	font-weight: 500;
}

.free-shipping__bar {
	display: block;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(48, 30, 120, 0.15);
}

.free-shipping__bar > span {
	display: block;
	height: 100%;
	background: var(--ld-ink);
}

.free-shipping.is-done {
	background: var(--ld-mist);
}

.free-shipping.is-done .free-shipping__text {
	color: var(--ld-sale);
}

.free-shipping.is-done .free-shipping__bar > span {
	background: var(--ld-sale);
}

/* Cart */
.woocommerce-cart table.cart img {
	width: 80px !important;
	height: 80px;
	object-fit: contain;
	border-radius: var(--ld-radius);
	background: var(--ld-surface-2);
	mix-blend-mode: multiply;
}

.woocommerce-cart table.cart a.remove {
	display: grid !important;
	place-items: center;
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	color: var(--ld-muted) !important;
	font-size: 22px !important;
}

.woocommerce-cart table.cart a.remove:hover {
	background: var(--ld-surface-2) !important;
	color: var(--wp--preset--color--error, #a00) !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
	border-radius: var(--ld-radius-pill);
	padding-inline: 18px;
}

.woocommerce-cart table.cart .product-name a {
	color: var(--ld-heading);
	font-weight: 500;
}

@media (max-width: 768px) {
	/* Cart rows as cards: image | name, price | quantity, subtotal. */
	.woocommerce-cart table.shop_table_responsive tr.cart_item {
		display: grid;
		grid-template-columns: 80px minmax(0, 1fr) 44px;
		grid-template-areas:
			"thumb name remove"
			"thumb price price"
			"thumb qty qty"
			"thumb subtotal subtotal";
		column-gap: 14px;
		padding: 16px 0;
		border-bottom: 1px solid var(--ld-border);
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td {
		padding: 2px 0 !important;
		border: 0 !important;
		background: none !important;
		text-align: left !important;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td::before {
		display: none !important;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail {
		display: block !important;
		grid-area: thumb;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name {
		grid-area: name;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove {
		grid-area: remove;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price {
		grid-area: price;
		color: var(--ld-muted);
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity {
		grid-area: qty;
	}

	.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal {
		grid-area: subtotal;
		font-weight: 500;
	}
}

/* Checkout: details on the left, order summary sticky on the right. */
@media (min-width: 992px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 420px;
		grid-template-rows: auto 1fr;
		column-gap: 48px;
		align-items: start;
	}

	.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup {
		grid-column: 1 / -1;
	}

	.woocommerce-checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.woocommerce-checkout #customer_details .col-1,
	.woocommerce-checkout #customer_details .col-2 {
		float: none;
		width: 100%;
	}

	.woocommerce-checkout #order_review_heading {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}

	.woocommerce-checkout #order_review {
		position: sticky;
		top: calc(var(--ld-header-offset) + 100px);
		grid-column: 2;
		grid-row: 2;
	}
}

.woocommerce-checkout #order_review {
	padding: 24px;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface);
}

.woocommerce-checkout #payment {
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2) !important;
}

.woocommerce-checkout #place_order {
	float: none;
	width: 100%;
	min-height: 56px;
	font-size: 14px;
}

.woocommerce-notices-wrapper:empty {
	display: none;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 20px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 3px solid var(--ld-ink);
	border-radius: var(--ld-radius);
	background: var(--ld-primary-tint);
	color: var(--ld-heading);
	font-size: 15px;
	line-height: 22px;
	list-style: none;
}

.woocommerce-message {
	border-left-color: var(--ld-ink);
	background: var(--ld-surface-2);
}

.woocommerce-error {
	border-left-color: var(--wp--preset--color--error, #a00);
	background: #fbeaea;
}

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	margin-left: auto;
	color: var(--ld-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- 12. Shop layout and filters ---------- */

.shop-layout {
	display: grid;
	gap: 40px;
}

@media (min-width: 992px) {
	.shop-layout {
		grid-template-columns: 250px minmax(0, 1fr);
		gap: 50px;
		align-items: start;
	}
}

.shop-main {
	min-width: 0;
}

/* Filters: sidebar on desktop; below 992px (with JS) its content moves into the "Filtri" dialog. */
@media (max-width: 991px) {
	.has-js .shop-sidebar {
		display: none;
	}
}

:root:not(.has-js) .shop-toolbar__filters {
	display: none;
}

.shop-filters {
	inset: 0 0 0 auto;
	width: min(90vw, 360px);
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	border: 0;
	background: var(--ld-surface);
	color: var(--ld-text);
}

.shop-filters[open] {
	animation: lesdames-slide-from-right 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.shop-filters::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.shop-filters .shop-filters__body {
	padding: 20px;
}

.shop-filters__footer {
	position: sticky;
	bottom: 0;
	padding: 12px 20px;
	border-top: 1px solid var(--ld-border);
	background: var(--ld-surface);
}

.shop-filters__show {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: var(--ld-radius-pill);
	background: var(--ld-ink);
	color: #fff;
	font: 500 13px/1 var(--ld-font-body);
	cursor: pointer;
}

.shop-filters__show:hover {
	background: #000;
}

.shop-filters__head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-bottom: 1px solid var(--ld-border);
	background: var(--ld-surface);
}

.shop-filters__title {
	margin: 0;
	color: var(--ld-heading);
	font: 500 16px/22px var(--ld-font-heading);
}

.shop-filters__close {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

.shop-filter + .shop-filter {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--ld-border);
}

.shop-filter__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	margin: 0;
	color: var(--ld-heading);
	font: 500 12px/16px var(--ld-font-body);
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.shop-filter__title::-webkit-details-marker {
	display: none;
}

.shop-filter__title .icon {
	color: var(--ld-muted);
	transition: transform var(--ld-ease);
}

.shop-filter[open] > .shop-filter__title .icon {
	transform: rotate(180deg);
}

.shop-filter__title:hover {
	color: var(--ld-ink);
}

.shop-filter__body {
	padding: 8px 0 4px;
}

.shop-filter + .shop-filter.shop-filter {
	margin-top: 12px;
	padding-top: 12px;
}

/* Desktop: the filter column stays in view while the products scroll. */
@media (min-width: 992px) {
	.shop-sidebar {
		position: sticky;
		top: calc(var(--ld-header-offset) + 100px);
		max-height: calc(100vh - var(--ld-header-offset) - 120px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		padding-right: 6px;
	}
}

/* Category tree (WooCommerce product categories widget markup). */
.product-categories,
.product-categories .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-categories li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 30px;
	align-items: center;
	column-gap: 6px;
}

.product-categories a {
	grid-column: 1;
	padding: 5px 0;
	color: var(--ld-text);
	font-size: 15px;
	line-height: 22px;
}

.product-categories a:hover {
	color: var(--ld-ink);
}

.product-categories .count {
	grid-column: 2;
	color: var(--ld-muted);
	font-size: 13px;
}

.product-categories .current-cat > a {
	color: var(--ld-ink);
	font-weight: 500;
}

.product-categories .children {
	grid-column: 1 / -1;
	margin: 2px 0 8px 2px;
	padding-left: 14px;
	border-left: 1px solid var(--ld-border);
}

.product-categories .children a {
	font-size: 14px;
}

@media (min-width: 992px) {
	.shop-filter--categories > .product-categories {
		max-height: 440px;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		padding-right: 4px;
	}
}

.cat-toggle {
	grid-column: 3;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ld-muted);
	cursor: pointer;
}

.cat-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--ld-ease);
}

.cat-toggle[aria-expanded="true"]::before {
	transform: translateY(2px) rotate(-135deg);
}

.cat-toggle:hover {
	background: var(--ld-surface-2);
	color: var(--ld-heading);
}

/* Price range: two native range inputs on one track. */
.price-filter__range {
	--from: 0%;
	--to: 100%;
	position: relative;
	height: 24px;
	margin: 4px 0 14px;
}

.price-filter__range::before,
.price-filter__range::after {
	content: "";
	position: absolute;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	border-radius: 2px;
}

.price-filter__range::before {
	right: 0;
	left: 0;
	background: var(--ld-border);
}

.price-filter__range::after {
	left: var(--from);
	right: calc(100% - var(--to));
	background: var(--ld-ink);
}

.price-filter__range input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 24px;
	margin: 0;
	background: none;
	pointer-events: none;
	appearance: none;
}

.price-filter__range input::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid var(--ld-ink);
	border-radius: 50%;
	background: var(--ld-surface);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	cursor: grab;
	pointer-events: auto;
	appearance: none;
}

.price-filter__range input::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 2px solid var(--ld-ink);
	border-radius: 50%;
	background: var(--ld-surface);
	cursor: grab;
	pointer-events: auto;
}

.price-filter__range input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px var(--ld-primary-tint), 0 0 0 6px var(--ld-ink);
}

.price-filter__range input:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 4px var(--ld-primary-tint), 0 0 0 6px var(--ld-ink);
}

.price-filter__range[hidden] {
	display: none;
}

.price-filter__range input:focus-visible {
	outline: none;
}

.price-filter__fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
}

.price-filter__field {
	position: relative;
	display: grid;
	gap: 4px;
	flex: 1 1 70px;
	color: var(--ld-muted);
	font-size: 12px;
}

.price-filter__field input {
	width: 100%;
	height: 40px;
	padding: 0 28px 0 14px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	background: var(--ld-surface);
	color: var(--ld-heading);
	font: 500 14px/1 var(--ld-font-body);
	appearance: textfield;
}

.price-filter__field input::-webkit-inner-spin-button {
	appearance: none;
}

.price-filter__unit {
	position: absolute;
	right: 14px;
	bottom: 12px;
	color: var(--ld-muted);
	font-size: 13px;
}

/* Brand pills */
.brand-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brand-pill {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	color: var(--ld-text);
	font-size: 14px;
	line-height: 18px;
	transition: border-color var(--ld-ease), color var(--ld-ease), background-color var(--ld-ease);
}

.brand-pill:hover {
	border-color: var(--ld-ink);
	color: var(--ld-ink);
}

.brand-pill.is-active {
	border-color: var(--ld-ink);
	background: var(--ld-ink);
	color: #fff;
}

/* ---------- 13. Toolbar, intro, active filters ---------- */

.archive-intro {
	max-width: 780px;
	color: var(--ld-text);
	font-size: 15px;
	line-height: 26px;
}

.archive-intro p {
	margin: 0 0 12px;
}

.archive-intro br {
	display: none; /* Manual line breaks pasted in the descriptions break the text on small screens. */
}

.archive-intro.is-clamped:not(.is-expanded) {
	max-height: 78px;
	overflow: hidden;
	mask-image: linear-gradient(#000 55%, transparent);
}

.clamp-toggle {
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld-ink);
	font: 500 14px/22px var(--ld-font-body);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 28px 0 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ld-border);
}

.shop-toolbar__count {
	margin: 0;
	color: var(--ld-muted);
	font-size: 14px;
}

@media (max-width: 767px) {
	.shop-toolbar {
		margin-top: 0;
	}

	.archive-intro:not([hidden]) + .clamp-toggle + .shop-toolbar,
	.archive-intro:not([hidden]) + .shop-toolbar {
		margin-top: 20px;
	}

	.shop-toolbar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.shop-toolbar > .shop-toolbar__start,
	.shop-toolbar > .shop-toolbar__end {
		display: contents;
	}

	.shop-toolbar .shop-toolbar__filters {
		grid-column: 1;
		grid-row: 1;
		width: 100%;
	}

	.shop-toolbar__end .dropdown {
		grid-column: 2;
		grid-row: 1;
		margin-left: 0;
	}

	.shop-toolbar__end .dropdown__toggle {
		width: 100%;
		justify-content: center;
	}

	.shop-toolbar__end .dropdown__label {
		display: none;
	}

	.shop-toolbar .switch-link {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.shop-toolbar .shop-toolbar__count {
		display: none;
	}
}

.shop-toolbar--empty {
	margin-bottom: 16px;
	padding-bottom: 0;
	border: 0;
}

@media (min-width: 992px) {
	.shop-toolbar--empty {
		display: none;
	}
}

.shop-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.shop-toolbar__start,
.shop-toolbar__end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

@media (min-width: 992px) {
	.shop-toolbar__filters {
		display: none;
	}
}

.switch-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	color: var(--ld-text);
	font-size: 14px;
}

.switch-link__track {
	position: relative;
	width: 34px;
	height: 20px;
	border-radius: 10px;
	background: #8a8590;
	transition: background-color var(--ld-ease);
}

.switch-link__track::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: transform var(--ld-ease);
}

.switch-link.is-active .switch-link__track {
	background: var(--ld-ink);
}

.switch-link.is-active .switch-link__track::after {
	transform: translateX(14px);
}

.view-toggle {
	display: flex;
	gap: 6px;
}

.view-toggle[hidden] {
	display: none;
}

.view-toggle__button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--ld-border);
	background: none;
	color: var(--ld-muted);
	cursor: pointer;
}

.view-toggle__button[aria-pressed="true"] {
	border-color: var(--ld-ink);
	color: var(--ld-ink);
}

@media (max-width: 767px) {
	.view-toggle {
		display: none;
	}

	.shop-toolbar__end {
		width: 100%;
	}

	.shop-toolbar__end .dropdown {
		margin-left: auto;
	}
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0 0 24px;
}

.active-filters__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: var(--ld-radius-pill);
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
	font-size: 13px;
	font-weight: 500;
}

.active-filters__chip:hover {
	background: var(--ld-ink);
	color: #fff;
}

.active-filters__clear {
	color: var(--ld-muted);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- 14. Product grid and card ---------- */

ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 24px;
	}
}

@media (min-width: 1200px) {
	ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.product-card__link:focus-visible {
	outline: none;
}

li.product:has(.product-card__link:focus-visible) {
	outline: 2px solid var(--ld-ink);
	outline-offset: 6px;
	border-radius: var(--ld-radius-lg);
}

.product-card__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2);
}

/* Product photos have white backgrounds: multiply blends them into the soft card surface. */
.product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	padding: 6%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: opacity 0.35s ease, transform 0.5s ease;
}

.product-card__image--alt {
	position: absolute;
	inset: 0;
	display: none;
	opacity: 0;
}

@media (hover: hover) {
	.product-card__image--alt {
		display: block;
	}

	li.product:hover .product-card__image--alt {
		opacity: 1;
	}

	li.product:hover .product-card__media:has(.product-card__image--alt) .product-card__image:not(.product-card__image--alt) {
		opacity: 0;
	}

	li.product:hover .product-card__image {
		transform: scale(1.03);
	}
}

.product-labels {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.product-label {
	padding: 5px 10px;
	background: var(--ld-surface);
	color: var(--ld-text);
	font: 500 12px/1 var(--ld-font-body);
}

.product-label--sale {
	background: var(--ld-primary);
	color: #fff;
}

.product-label--out-of-stock {
	background: var(--ld-text);
	color: #fff;
}

.product-card__title {
	display: -webkit-box;
	margin: 14px 0 6px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--ld-text);
	font: 500 15px/21px var(--ld-font-body);
}

.product-card__brand {
	min-height: 18px; /* also when empty: titles line up across a row */
	margin: 14px 0 2px;
	overflow: hidden;
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 18px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.product-card__brand + .product-card__title {
	margin-top: 0;
}

.product-card__excerpt {
	display: none;
	margin: 0 0 10px;
	color: var(--ld-muted);
	font-size: 14px;
	line-height: 22px;
}

.price-on-request {
	color: var(--ld-muted);
	font-size: 14px;
	font-weight: 400;
}

.product-card__link {
	color: inherit;
}

/* The whole card is clickable through the title link. */
.product-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

li.product:hover .product-card__link {
	text-decoration: underline;
	text-underline-offset: 4px;
}

li.product .price {
	display: block;
	color: var(--ld-heading);
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
}

.price del {
	margin-right: 6px;
	color: var(--ld-muted);
	font-size: 13px;
	font-weight: 400;
}

.price ins {
	color: var(--ld-primary);
	text-decoration: none;
}

.product-card__actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 4px;
	padding-top: 0;
}

/* Quiet text action: the card stays an image, a name and a price. */
/* WooCommerce's own ".woocommerce a.button" padding and background would otherwise win. */
.woocommerce ul.products li.product .product-card__actions .button,
ul.products li.product .product-card__actions .button {
	padding: 0;
	background: none;
}

.product-card__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ld-text);
	font: 500 14px/1 var(--ld-font-body);
	text-decoration: underline;
	text-decoration-color: var(--ld-border-strong);
	text-underline-offset: 6px;
	transition: text-decoration-color var(--ld-ease);
}

.product-card__actions .button:hover {
	background: none;
	color: var(--ld-text);
	text-decoration-color: var(--ld-text);
}

.product-card__actions .button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.product-card__actions .button.added::before {
	content: "✓";
}

.product-card__min {
	color: var(--ld-muted);
	font-size: 12px;
}



.product-card__actions .added_to_cart {
	display: none;
}

.product-card__actions .added_to_cart.is-visible {
	color: var(--ld-ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.product-card__title,
	li.product .price {
		font-size: 14px;
	}

	.product-card__title {
		line-height: 20px;
	}

	.product-card__actions .button {
		min-height: 44px;
	}
}

/* List view: image, text and actions on one row, with the short description. */
ul.products.is-list {
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

ul.products.is-list li.product {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) auto;
	grid-template-areas:
		"media title actions"
		"media excerpt actions"
		"media price actions";
	grid-template-rows: auto auto 1fr;
	column-gap: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ld-border);
}

ul.products.is-list .product-card__media {
	grid-area: media;
}

ul.products.is-list .product-card__title {
	grid-area: title;
	min-height: 0;
	margin-top: 12px;
	font-size: 17px;
	line-height: 24px;
}

ul.products.is-list .product-card__excerpt {
	grid-area: excerpt;
	display: block;
}

ul.products.is-list .price {
	grid-area: price;
}

ul.products.is-list .product-card__actions {
	grid-area: actions;
	align-self: center;
	margin-top: 0;
	padding-top: 0;
}

/* ---------- 15. Load more and pagination ---------- */

.shop-more {
	display: grid;
	justify-items: center;
	gap: 14px;
	margin-top: 56px;
	text-align: center;
}

.shop-more__count {
	margin: 0;
	color: var(--ld-muted);
	font-size: 14px;
}

.shop-more__bar {
	width: 200px;
	height: 3px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--ld-border);
}

.shop-more__bar > span {
	display: block;
	height: 100%;
	background: var(--ld-ink);
	transition: width 0.4s ease;
}

.shop-more__button {
	margin-top: 6px;
}

.shop-more__button:hover {
	border-color: var(--ld-ink);
	background: var(--ld-ink);
	color: #fff;
}

.shop-more__button[aria-busy="true"] {
	opacity: 0.6;
}

.has-load-more .woocommerce-pagination {
	display: none;
}

.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius);
	color: var(--ld-text);
}

.woocommerce-pagination .current {
	border-color: var(--ld-ink);
	background: var(--ld-ink);
	color: #fff;
}

/* Empty results */
.shop-main .woocommerce-info {
	margin-top: 10px;
}

/* ---------- 16. Form fields (theme-wide) ---------- */

.woocommerce form .input-text,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius);
	background: var(--ld-surface);
	color: var(--ld-heading);
	font: 400 16px/1.4 var(--ld-font-body);
	transition: border-color var(--ld-ease), box-shadow var(--ld-ease);
}

.woocommerce form .input-text:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.entry-content input:focus,
.entry-content textarea:focus {
	border-color: var(--ld-ink);
	outline: none;
	box-shadow: 0 0 0 3px var(--ld-primary-tint);
}

/* ---------- 17. Product page ---------- */

/* Without JS WooCommerce leaves the gallery at opacity 0. */
.woocommerce-product-gallery {
	opacity: 1 !important;
}

div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

@media (min-width: 992px) {
	div.product {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: 56px;
		align-items: start;
	}

	/* Gallery and information on the left, summary on the right for the whole height. */
	div.product > .woocommerce-product-gallery {
		grid-column: 1;
		grid-row: 1;
	}

	div.product > .product-sections {
		grid-column: 1;
		grid-row: 2;
		max-width: none;
	}

	div.product > .summary {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

@media (min-width: 992px) and (min-height: 900px) {
	div.product > .summary {
		position: sticky;
		top: calc(var(--ld-header-offset) + 104px);
	}
}

section.related,
section.upsells {
	margin-top: 64px;
}

/* Gallery */
.woocommerce-product-gallery {
	position: relative;
	min-width: 0;
	margin: 0;
}

.woocommerce-product-gallery__wrapper {
	display: flex;
	margin: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2);
}

.woocommerce-product-gallery__wrapper::-webkit-scrollbar {
	display: none;
}

.woocommerce-product-gallery__image {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.woocommerce-product-gallery__image a {
	display: block;
	cursor: zoom-in;
}

.woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: 6%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.gallery-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	scrollbar-width: none;
}

.gallery-thumbs__item {
	flex: none;
	width: 72px;
	height: 72px;
	padding: 4px;
	border: 1px solid transparent;
	border-radius: var(--ld-radius);
	background: var(--ld-surface-2);
	cursor: pointer;
	transition: border-color var(--ld-ease);
}

.gallery-thumbs__item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.gallery-thumbs__item[aria-current="true"],
.gallery-thumbs__item:hover {
	border-color: var(--ld-ink);
}

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--ld-surface);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.6);
}

.lightbox__image {
	max-width: min(92vw, 1100px);
	max-height: 88dvh;
	object-fit: contain;
}

.lightbox__nav {
	position: fixed;
	top: 50%;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border: 0;
	border-radius: 50%;
	background: var(--ld-surface-2);
	color: var(--ld-heading);
	cursor: pointer;
}

.lightbox__nav--prev {
	left: 16px;
}

.lightbox__nav--next {
	right: 16px;
}

.lightbox__nav[hidden] {
	display: none;
}

.lightbox__count {
	position: fixed;
	bottom: 18px;
	left: 0;
	right: 0;
	margin: 0;
	color: var(--ld-muted);
	font-size: 14px;
	text-align: center;
}

.lightbox__close {
	position: fixed;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--ld-surface-2);
	color: var(--ld-heading);
	cursor: pointer;
}

/* Summary */
.product-summary__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 10px;
}

.product-summary__eyebrow:empty {
	display: none;
}

.product-summary__eyebrow .product-labels {
	position: static;
	flex-direction: row;
}

.product-summary__brand {
	color: var(--ld-muted);
	font: 400 14px/20px var(--ld-font-body);
}

.product-summary__brand:hover {
	color: var(--ld-ink);
}

.product_title {
	margin: 0 0 12px;
	font-size: clamp(28px, 2.6vw, 38px);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

@media (max-width: 767px) {
	body .product_title {
		font-size: 26px;
		line-height: 34px;
	}
}

.summary > .price,
.woocommerce-variation-price .price {
	display: block;
	margin: 0 0 18px;
	color: var(--ld-heading);
	font-size: 22px;
	font-weight: 400;
	line-height: 30px;
}

.summary:has(.woocommerce-variation-price .price) > .price {
	display: none;
}

.summary > .price del,
.woocommerce-variation-price .price del {
	font-size: 16px;
}

.woocommerce-product-details__short-description {
	margin-bottom: 20px;
	color: var(--ld-text);
	font-size: 15px;
	line-height: 26px;
}

/* Variations: WooCommerce selects stay (visually hidden) and are driven by the swatch buttons. */
table.variations,
table.variations tbody,
table.variations tr,
table.variations th,
table.variations td {
	display: block;
	padding: 0;
	border: 0;
	text-align: left;
}

table.variations {
	margin: 0 0 8px;
}

table.variations tr {
	margin-bottom: 18px;
}

table.variations th.label {
	margin-bottom: 10px;
}

table.variations label {
	color: var(--ld-heading);
	font-size: 14px;
	font-weight: 500;
}

.swatches__chosen:not(:empty)::before {
	content: ": ";
}

.swatches__chosen {
	color: var(--ld-muted);
	font-weight: 400;
}

select.is-enhanced {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

table.variations select:not(.is-enhanced) {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius);
	background: var(--ld-surface);
	font: 400 15px var(--ld-font-body);
}

.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swatch {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	background: var(--ld-surface);
	color: var(--ld-heading);
	font: 400 14px/1 var(--ld-font-body);
	cursor: pointer;
	transition: border-color var(--ld-ease), background-color var(--ld-ease), color var(--ld-ease);
}

.swatch:hover:not(:disabled) {
	border-color: var(--ld-ink);
}

.swatch[aria-pressed="true"] {
	border-color: var(--ld-ink);
	background: var(--ld-surface);
	box-shadow: inset 0 0 0 1px var(--ld-ink);
	color: var(--ld-ink);
	font-weight: 500;
}

.swatch:disabled {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}

.reset_variations {
	display: inline-block;
	margin-top: 10px;
	color: var(--ld-muted);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.single_variation_wrap .woocommerce-variation {
	margin-bottom: 4px;
}

.woocommerce-variation-availability p,
.summary > .stock,
p.stock {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 500;
}

p.stock.in-stock {
	color: var(--ld-sale);
}

p.stock.out-of-stock {
	color: var(--wp--preset--color--error, #a00);
}

p.stock::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

/* Quantity + add to cart */
form.cart:not(.variations_form),
.woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
}

.qty-note {
	flex-basis: 100%;
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--ld-radius);
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
	font-size: 14px;
	font-weight: 500;
}

.qty-note[hidden] {
	display: none;
}

.quantity {
	display: inline-flex;
	align-items: center;
}

.qty-stepper {
	height: 52px;
	border: 1px solid var(--ld-border-strong);
	border-radius: var(--ld-radius-pill);
	background: var(--ld-surface);
}

.qty-stepper__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--ld-radius-pill);
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

.qty-stepper__btn:hover:not(:disabled) {
	color: var(--ld-ink);
}

.qty-stepper__btn:disabled {
	color: var(--ld-border-strong);
	cursor: not-allowed;
}

.line-total {
	flex-basis: 100%;
	order: 3;
	margin: -4px 0 0;
	color: var(--ld-muted);
	font-size: 14px;
}

.line-total strong {
	color: var(--ld-heading);
}

.line-total[hidden] {
	display: none;
}

.quantity .qty,
.woocommerce form .quantity .qty {
	width: 52px;
	min-height: 0;
	height: 48px;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: none;
	color: var(--ld-heading);
	font: 500 16px/1 var(--ld-font-body);
	text-align: center;
	appearance: textfield;
}

.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}

.quantity .qty:focus-visible {
	outline: 2px solid var(--ld-ink);
	outline-offset: -2px;
	border-radius: var(--ld-radius);
}

.single_add_to_cart_button {
	flex: 1 1 220px;
	white-space: nowrap;
	height: 52px;
	min-height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--ld-radius-pill);
	background: var(--ld-ink);
	color: #fff;
	font: 500 14px/1 var(--ld-font-body);
	cursor: pointer;
	transition: background-color var(--ld-ease);
}

.single_add_to_cart_button:hover {
	background: #000;
}

.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Reassurance, share, meta */
.assurance {
	display: grid;
	gap: 2px;
	margin: 4px 0 18px;
	padding: 14px 0;
	list-style: none;
	border-top: 1px solid var(--ld-border);
	border-bottom: 1px solid var(--ld-border);
}

.assurance li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	color: var(--ld-text);
	font-size: 14px;
	line-height: 20px;
}

.assurance .icon {
	color: var(--ld-ink);
}

.assurance a {
	color: var(--ld-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.share {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 18px;
}

.share__label {
	margin-right: 8px;
	color: var(--ld-muted);
	font-size: 13px;
}

.share__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ld-heading);
	cursor: pointer;
}

.share__link:hover,
.share__link.is-done {
	background: var(--ld-surface-2);
	color: var(--ld-ink);
}

.product_meta {
	display: grid;
	gap: 4px;
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 20px;
}

.product_meta a {
	color: var(--ld-text);
}

.product_meta a:hover {
	color: var(--ld-ink);
}

/* Information sections */
.product-sections {
	max-width: 820px;
	margin-top: 24px;
	border-bottom: 1px solid var(--ld-border);
}

.product-section {
	border-top: 1px solid var(--ld-border);
}

.product-section__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	color: var(--ld-heading);
	font: 500 20px/28px var(--ld-font-heading);
	list-style: none;
	cursor: pointer;
}

.product-section__title::-webkit-details-marker {
	display: none;
}

.product-section__title .icon {
	width: 16px;
	height: 16px;
	color: var(--ld-heading);
	transition: transform var(--ld-ease);
}

.product-section[open] .product-section__title .icon {
	transform: rotate(180deg);
}

.product-section__body {
	padding-bottom: 28px;
	color: var(--ld-text);
	font-size: 16px;
	line-height: 1.75;
}

.product-section__body > *:first-child {
	margin-top: 0;
}

.product-section__body h2,
.product-section__body h3,
.product-section__body h4 {
	margin: 28px 0 10px;
	color: var(--ld-heading);
	font-family: var(--ld-font-heading);
	font-weight: 500;
}

body .product-section__body h2 {
	font-size: 19px;
	line-height: 28px;
}

body .product-section__body h3 {
	font-size: 17px;
	line-height: 26px;
}

body .product-section__body h4 {
	font-size: 17px;
	line-height: 26px;
}

.product-section__body p {
	margin: 0 0 14px;
}

.product-section__body ul,
.product-section__body ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.product-section__body li {
	margin-bottom: 4px;
}

.description-list {
	list-style: none;
	padding-left: 0 !important;
}

.description-list li {
	position: relative;
	padding-left: 18px;
}

.description-list li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 2px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ld-ink);
}

.description-list li.is-sub {
	margin-left: 18px;
}

.description-list li.is-sub::before {
	width: 5px;
	height: 5px;
	border: 1px solid var(--ld-ink);
	background: none;
}

.product-section__body strong {
	color: var(--ld-heading);
	font-weight: 500;
}

.product-section__body a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
	padding: 12px 0;
	border-bottom: 1px solid var(--ld-border);
	text-align: left;
	vertical-align: top;
}

.woocommerce-product-attributes th {
	width: 40%;
	color: var(--ld-heading);
	font-weight: 500;
}

.woocommerce-product-attributes td p {
	margin: 0;
}

.product-shipping {
	padding-left: 20px;
}

/* Related products and upsells */

section.related > h2,
section.upsells > h2 {
	margin: 0 0 24px;
	font-size: 28px;
	line-height: 36px;
}

@media (max-width: 767px) {
	section.related ul.products,
	section.upsells ul.products {
		grid-auto-flow: column;
		grid-auto-columns: 64%;
		grid-template-columns: none;
		margin-inline: -10px;
		padding-inline: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 10px;
		scrollbar-width: none;
	}

	section.related li.product,
	section.upsells li.product {
		scroll-snap-align: start;
	}

	body section.related > h2,
	body section.upsells > h2 {
		font-size: 22px;
		line-height: 30px;
	}
}

/* Reviews (WooCommerce template) */
#reviews .woocommerce-noreviews,
#reviews .woocommerce-Reviews-title {
	margin: 0 0 12px;
}

#review_form .comment-reply-title {
	display: block;
	margin-bottom: 12px;
	color: var(--ld-heading);
	font: 500 18px/26px var(--ld-font-heading);
}

#review_form .comment-form p {
	margin: 0 0 14px;
}

#review_form .submit {
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--ld-radius-pill);
	background: var(--ld-ink);
	color: #fff;
	font: 500 13px/1 var(--ld-font-body);
	cursor: pointer;
}

/* ---------- 18. Buttons and home blocks ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: var(--ld-radius-pill);
	font: 500 13px/1 var(--ld-font-body);
	transition: background-color var(--ld-ease), color var(--ld-ease), border-color var(--ld-ease), transform var(--ld-ease);
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--ld-ink);
	color: #fff;
}

.btn--primary:hover {
	background: #000;
	color: #fff;
}

.btn--light {
	background: #fff;
	color: var(--ld-heading);
}

.btn--light:hover {
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
}

.btn--outline {
	border-color: currentColor;
	color: inherit;
}

.btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--ld-muted);
	font: 400 14px/20px var(--ld-font-body);
}

.home-content {
	padding-top: 0;
	padding-bottom: 0;
}

.home-content > *:not(.alignfull) {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ld-container);
	margin-inline: auto;
	padding-inline: var(--ld-gutter);
}

.home-content > * + * {
	margin-top: clamp(64px, 8vw, 104px);
}

/* Blocks with their own background: the gutter is outside them, not inside,
   so they line up with the content column instead of touching the screen edge. */
.home-content > :is(.promo, .visit, .mosaic):not(.alignfull) {
	width: calc(100% - 2 * var(--ld-gutter));
	max-width: calc(var(--ld-container) - 2 * var(--ld-gutter));
	padding-inline: 0;
}

.block-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
}

.block-head__title {
	margin: 0;
}

.block-head__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--ld-ink);
	font-size: 14px;
	font-weight: 500;
}

.block-head__link .icon {
	transition: transform var(--ld-ease);
}

.block-head__link:hover .icon {
	transform: translateX(3px);
}

/* The dark photo overlay of the hero block needs a light focus ring. */
.hero :focus-visible {
	outline-color: #fff;
}

/* Content sections built with core blocks (Chi siamo): steps and cases. */
.entry-content > .ld-section,
.entry-content > [class*="wp-block-lesdames-"] + .ld-section {
	margin-top: clamp(56px, 7vw, 96px);
}

.ld-section > .wp-block-heading:first-child {
	margin-bottom: 12px;
	font-size: clamp(26px, 2.4vw, 34px);
}

.ld-section .page-lede {
	margin-bottom: 28px;
}

.wp-block-columns.ld-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 28px 0 0;
}

.ld-steps > .wp-block-column {
	padding: 28px;
	background: var(--ld-surface-2);
}

.ld-steps > .wp-block-column:nth-child(2) {
	background: var(--ld-mist);
}

.ld-steps > .wp-block-column:nth-child(3) {
	background: var(--ld-lilac);
}

.ld-steps .ld-step__number {
	margin: 0 0 28px;
	color: var(--ld-muted);
	font-size: 14px;
}

.ld-steps .wp-block-heading,
.ld-cases .wp-block-heading {
	margin: 0 0 6px;
	font-size: 20px;
}

.ld-steps p:last-child,
.ld-cases p:last-child {
	margin: 0;
	color: var(--ld-muted);
}

.wp-block-columns.ld-cases {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
}

.ld-cases .wp-block-image {
	margin: 0 0 14px;
}

.ld-cases .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.ld-more {
	margin-top: 8px;
}

.ld-more a {
	color: var(--ld-text);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 6px;
}

@media (max-width: 991px) {
	.wp-block-columns.ld-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-columns.ld-cases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}
}

/* Gallery block, "Mosaico" style: masonry columns, photos keep their proportions. */
.wp-block-gallery.is-style-mosaic {
	display: block;
	columns: 3 260px;
	column-gap: 12px;
	margin: 0;
}

.wp-block-gallery.is-style-mosaic > .wp-block-image,
.wp-block-gallery.has-nested-images.is-style-mosaic figure.wp-block-image:not(#individual-image) {
	display: block;
	width: 100%;
	margin: 0 0 12px;
	break-inside: avoid;
	background: var(--ld-surface-2);
}

.wp-block-gallery.is-style-mosaic .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	/* Centre crop: many photos are phone/Instagram screenshots with app bars at the top and bottom.
	   3:4 keeps the middle 75% of a 9:16 screenshot; every third tile is square for the mosaic rhythm. */
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: 50% 50%;
	transition: opacity 0.3s ease;
}

.wp-block-gallery.is-style-mosaic .wp-block-image:nth-child(3n + 2) img {
	aspect-ratio: 1;
}

.wp-block-gallery.is-style-mosaic .wp-block-image:hover img {
	opacity: 0.92;
}

@media (max-width: 575px) {
	.wp-block-gallery.is-style-mosaic {
		columns: 2;
		column-gap: 8px;
	}

	.wp-block-gallery.has-nested-images.is-style-mosaic figure.wp-block-image:not(#individual-image) {
		margin-bottom: 8px;
	}
}

.page-lede {
	max-width: 60ch;
	color: var(--ld-muted);
	font-size: 17px;
}

/* Mosaic: home opening, one large and two small product tiles on soft colours. */
.mosaic {
	display: grid;
	grid-template-columns: 1.45fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	height: min(76vh, 720px);
	min-height: 560px;
	margin-top: 12px;
}

.mosaic__tile {
	position: relative;
	display: block;
	overflow: hidden;
	color: var(--ld-text);
	background: var(--ld-surface-2);
}

.mosaic__tile--mist {
	background: var(--ld-mist);
}

.mosaic__tile--lilac {
	background: var(--ld-lilac);
}

.mosaic__tile--big {
	grid-row: span 2;
}

.mosaic__image {
	position: absolute;
	inset: 10% 4% 10% 46%;
	width: 50%;
	height: 80%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.6s ease;
}

.mosaic__tile--big .mosaic__image {
	inset: 6% 5% 12% 34%;
	width: 61%;
	height: 82%;
}

a.mosaic__tile:hover .mosaic__image {
	transform: scale(1.03);
}

.mosaic__text {
	position: absolute;
	left: clamp(20px, 3vw, 44px);
	bottom: clamp(20px, 3vw, 40px);
	z-index: 1;
	max-width: 22ch;
}

.mosaic__tile--big .mosaic__text {
	max-width: min(44%, 480px);
}

body .mosaic__title {
	margin: 0 0 6px;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.15;
}

body .mosaic__tile--big .mosaic__title {
	margin-bottom: 12px;
	font-size: clamp(34px, 3.4vw, 52px);
	line-height: 1.08;
}

.mosaic__lede {
	margin: 0 0 18px;
	color: var(--ld-muted);
}

.text-link {
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* Scene tiles: a photographic set as background and the real product standing on its plinth.
   The stage is a square sized like object-fit: cover (centre, 62% down), so scene and product crop together. */
/* The media box is the size container of the stage (the whole tile, or the photo area above a caption). */
.mosaic__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	container-type: size;
}

.mosaic__tile--scene .mosaic__lede {
	color: var(--ld-text);
}

/* Large scene tile: a soft light veil behind the text corner, so text reads on mid-tone walls. */
.mosaic__tile--big.mosaic__tile--scene .mosaic__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 35%, rgba(255, 255, 255, 0) 65%);
}

.mosaic__tile--big.mosaic__tile--text-top-right .mosaic__media::after {
	background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 35%, rgba(255, 255, 255, 0) 65%);
}

/* Small scene tiles: photo on top, caption underneath, so the text never covers the product. */
.mosaic__tile--scene:not(.mosaic__tile--big) {
	display: flex;
	flex-direction: column;
	background: var(--ld-surface);
}

.mosaic__tile--scene:not(.mosaic__tile--big) .mosaic__media {
	--sy: 0.35; /* wide tiles crop height: keep the top of tall products in frame */
	position: relative;
	inset: auto;
	flex: 1;
	min-height: 0;
}

.mosaic__tile--scene:not(.mosaic__tile--big) .mosaic__text {
	position: static;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 16px;
	max-width: none;
	padding: 12px 0 0;
	text-align: left;
}

body .mosaic__tile--scene:not(.mosaic__tile--big) .mosaic__title {
	margin: 0;
	font-size: 18px;
}

.mosaic__tile--scene:not(.mosaic__tile--big) .mosaic__lede {
	display: none;
}

.mosaic__stage {
	--s: max(100cqw, 100cqh);
	position: absolute;
	left: calc((100cqw - var(--s)) * 0.5);
	top: calc((100cqh - var(--s)) * var(--sy, 0.62));
	width: var(--s);
	height: var(--s);
}

.mosaic__scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mosaic__product {
	position: absolute;
	left: calc((var(--px) - var(--pw) / 2) * 1%);
	bottom: calc((100 - var(--py)) * 1%);
	width: calc(var(--pw) * 1%);
	height: auto;
	max-height: 60%;
	object-fit: contain;
	object-position: 50% 100%;
	/* Light scenes: multiply drops the white background of plain product photos. */
	mix-blend-mode: multiply;
	transition: transform 0.6s ease;
	transform-origin: 50% 100%;
}

a.mosaic__tile:hover .mosaic__product {
	transform: scale(1.03);
}

/* On a scene the text sits on the empty wall (position chosen per tile). */
.mosaic__tile--text-top-left .mosaic__text,
.mosaic__tile--text-top-right .mosaic__text {
	top: clamp(20px, 3vw, 40px);
	bottom: auto;
}

.mosaic__tile--text-top-right .mosaic__text {
	right: clamp(20px, 3vw, 44px);
	left: auto;
	text-align: right;
}

@media (max-width: 991px) {
	.mosaic {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		height: auto;
		min-height: 0;
	}

	.mosaic__tile--big {
		grid-column: span 2;
		grid-row: auto;
		aspect-ratio: 3 / 4;
	}

	.mosaic__tile--big .mosaic__image {
		inset: 4% 14% 46% 14%;
		width: 72%;
		height: 50%;
	}

	.mosaic__tile--big .mosaic__text {
		right: 20px;
		max-width: none;
	}

	.mosaic__tile:not(.mosaic__tile--big) {
		aspect-ratio: 3 / 4;
	}

	.mosaic__tile:not(.mosaic__tile--big) .mosaic__image {
		inset: 8% 10% 34% 10%;
		width: 80%;
		height: 58%;
	}

	.mosaic__tile:not(.mosaic__tile--big) .mosaic__lede {
		display: none;
	}

	body .mosaic__tile:not(.mosaic__tile--big) .mosaic__title {
		font-size: 19px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.mosaic__tile--big {
		aspect-ratio: 16 / 11;
	}

	.mosaic__tile--big .mosaic__image {
		inset: 6% 5% 10% 42%;
		width: 53%;
		height: 84%;
	}

	.mosaic__tile--big .mosaic__text {
		right: auto;
		max-width: 46%;
	}
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(78vh, 660px);
	overflow: hidden;
	background: var(--ld-heading);
	color: #fff;
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(22, 16, 34, 0.72) 0%, rgba(22, 16, 34, 0.35) 45%, rgba(22, 16, 34, 0) 75%);
}

.hero__content {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--ld-container);
	margin-inline: auto;
	padding: 72px 25px;
}

.hero__content > * {
	max-width: 560px;
}

.hero .eyebrow {
	color: rgba(255, 255, 255, 0.85);
}

body .hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 58px;
	line-height: 64px;
	letter-spacing: -0.015em;
}

.hero__text {
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	line-height: 28px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__actions .btn--primary {
	background: #fff;
	color: var(--ld-heading);
}

.hero__actions .btn--primary:hover {
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
}

.hero__actions .btn--light {
	border-color: rgba(255, 255, 255, 0.7);
	background: transparent;
	color: #fff;
}

.hero__actions .btn--light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.hero--plain {
	background: var(--ld-ink);
}

@media (min-width: 768px) and (max-width: 1199px) {
	.hero__content > * {
		max-width: 52%;
	}

	.hero::after {
		background: linear-gradient(90deg, rgba(22, 16, 34, 0.78) 0%, rgba(22, 16, 34, 0.55) 55%, rgba(22, 16, 34, 0.1) 85%);
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: 540px;
	}

	.hero::after {
		background: linear-gradient(0deg, rgba(22, 16, 34, 0.82) 0%, rgba(22, 16, 34, 0.4) 55%, rgba(22, 16, 34, 0.1) 100%);
	}

	.hero__content {
		padding: 40px 16px;
	}

	body .hero__title {
		font-size: 38px;
		line-height: 44px;
	}

	.hero__text {
		font-size: 16px;
		line-height: 25px;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}
}

/* USP: a quiet row between hairlines. */
.usp__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
	margin: 0;
	padding: 24px 0;
	list-style: none;
	border-block: 1px solid var(--ld-border);
}

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

.usp__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.usp__item .icon {
	color: var(--ld-ink);
}

.usp__text {
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 19px;
}

.usp__text strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ld-heading);
	font-weight: 500;
	font-size: 15px;
	line-height: 21px;
}

@media (max-width: 575px) {
	.usp__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

/* Category grid */
.category-grid__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.category-grid__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px 24px;
	}
}

.category-tile__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	column-gap: 12px;
	color: var(--ld-heading);
}

.category-tile__media {
	display: block;
	grid-column: 1 / -1;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ld-surface-2);
}

.category-tile:nth-child(4n + 1) .category-tile__media {
	background: var(--ld-lilac);
}

.category-tile:nth-child(4n + 3) .category-tile__media {
	background: var(--ld-mist);
}

.category-tile__media img {
	width: 100%;
	height: 100%;
	padding: 14%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.5s ease;
}

.category-tile__link:hover img {
	transform: scale(1.05);
}

.category-tile__name {
	display: block;
	margin-top: 12px;
	font: 500 16px/22px var(--ld-font-heading);
}

.category-tile__link:hover .category-tile__name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.category-tile__count {
	color: var(--ld-muted);
	font-size: 13px;
}

/* Product carousel */
.product-carousel ul.products {
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - 3 * 24px) / 4);
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.product-carousel ul.products::-webkit-scrollbar {
	display: none;
}

.product-carousel li.product {
	scroll-snap-align: start;
}

@media (max-width: 991px) {
	.product-carousel ul.products {
		grid-auto-columns: calc((100% - 2 * 18px) / 2.6);
		gap: 18px;
	}
}

@media (max-width: 575px) {
	.product-carousel ul.products {
		grid-auto-columns: 62%;
		gap: 14px;
		margin-inline: -16px;
		padding-inline: 16px;
		scroll-padding-inline: 16px;
	}
}

/* Story */
.story {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 768px) {
	.story {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
	}
}

@media (min-width: 992px) {
	.story {
		gap: 72px;
	}

	.story--reverse .story__media {
		order: 2;
	}
}

.story__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ld-radius-lg);
}

body .story__title {
	margin: 0 0 16px;
	font-size: 38px;
	line-height: 46px;
}

.story__text {
	margin: 0 0 28px;
	color: var(--ld-muted);
	font-size: 17px;
	line-height: 28px;
}

.story__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 36px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--ld-border);
}

.story__stats div {
	display: flex;
	flex-direction: column-reverse;
	gap: 4px;
}

.story__stats dd {
	margin: 0;
	color: var(--ld-ink);
	font: 500 30px/34px var(--ld-font-heading);
}

.story__stats dt {
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 18px;
}

@media (max-width: 767px) {
	body .story__title {
		font-size: 28px;
		line-height: 36px;
	}

	.story__stats dd {
		font-size: 24px;
		line-height: 28px;
	}
}

/* Brands */
.brand-strip__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.brand-strip__item {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius-pill);
	color: var(--ld-heading);
	font: 400 15px/1 var(--ld-font-body);
	transition: border-color var(--ld-ease), color var(--ld-ease), background-color var(--ld-ease);
}

.brand-strip__item:hover {
	border-color: var(--ld-ink);
	background: var(--ld-primary-tint);
	color: var(--ld-ink);
}

/* Logo grid: uniform tiles, logos in grey that take their colours on hover. */
.brand-strip--logos .brand-strip__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}

.brand-strip--logos .brand-strip__item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	text-align: center;
}

.brand-strip--logos .brand-strip__item:hover {
	background: none;
}

.brand-strip__media {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: 12px 16px;
	border: 1px solid var(--ld-border);
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface);
	transition: border-color var(--ld-ease), box-shadow var(--ld-ease);
}

.brand-strip__media img {
	width: 100%;
	height: 100%;
	max-height: 84px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter var(--ld-ease), opacity var(--ld-ease);
}

.brand-strip__name {
	color: var(--ld-heading);
	font: 500 19px/1.2 var(--ld-font-heading);
}

.brand-strip--logos .brand-strip__item:hover .brand-strip__media {
	border-color: var(--ld-ink);
	box-shadow: 0 8px 24px rgba(48, 30, 120, 0.08);
}

.brand-strip--logos .brand-strip__item:hover img {
	filter: none;
	opacity: 1;
}

.brand-strip__count {
	color: var(--ld-muted);
	font-size: 13px;
	line-height: 18px;
}

@media (max-width: 575px) {
	.brand-strip--logos .brand-strip__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.brand-strip__media {
		padding: 12px 16px;
	}
}

/* Visit the shop: light split card. */
.visit {
	display: grid;
	overflow: hidden;
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2);
}

@media (min-width: 768px) {
	.visit--image {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}
}

.visit__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.visit__body {
	padding: 48px;
}

@media (max-width: 767px) {
	.visit__body {
		padding: 28px 22px 32px;
	}

	.visit__media img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

body .visit__title {
	margin: 0 0 10px;
}

.visit__text {
	margin: 0 0 24px;
	color: var(--ld-muted);
	font-size: 16px;
	line-height: 26px;
}

.visit__info {
	display: grid;
	gap: 14px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	color: var(--ld-heading);
	font-size: 15px;
	line-height: 22px;
}

.visit__info li {
	display: flex;
	gap: 14px;
}

.visit__info .icon {
	flex: none;
	color: var(--ld-ink);
}

.visit__info a {
	color: var(--ld-heading);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.visit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.btn--ghost {
	border-color: var(--ld-border-strong);
	background: var(--ld-surface);
	color: var(--ld-heading);
}

.btn--ghost:hover {
	border-color: var(--ld-ink);
	color: var(--ld-ink);
}

@media (max-width: 575px) {
	.visit__actions .btn {
		flex: 1 1 100%;
	}
}

/* Collections: portrait photos with the caption underneath (seasonal lifestyle images). */
.collections__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 8px 32px;
	margin-bottom: 28px;
}

.collections__head .eyebrow {
	grid-column: 1 / -1;
}

body .collections__title {
	margin: 0;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.18;
}

.collections__text {
	grid-column: 1;
	max-width: 60ch;
	margin: 0;
	color: var(--ld-muted);
}

.collections__head .block-head__link {
	grid-column: 2;
	grid-row: 2;
}

.collections__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.collection-tile__link {
	display: block;
	color: var(--ld-text);
}

.collection-tile__link > img,
.collection-tile__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--ld-surface-2);
	transition: opacity 0.3s ease;
}

.collection-tile__link:hover .collection-tile__image {
	opacity: 0.9;
}

.collection-tile__band {
	display: block;
	padding-top: 14px;
}

.collection-tile__eyebrow,
.collection-tile__band .icon {
	display: none;
}

.collection-tile__title {
	display: block;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
}

.collection-tile__link:hover .collection-tile__title {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.collection-tile__text {
	display: block;
	margin-top: 2px;
	color: var(--ld-muted);
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 991px) {
	.collections__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 12px;
	}
}

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

	.collections__head .block-head__link {
		grid-column: 1;
		grid-row: auto;
	}
}

/* Promo: split banner, photo on one side and text on paper on the other. */
.promo {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	min-height: 420px;
	background: var(--ld-surface-2);
	color: var(--ld-text);
}

.promo__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.promo__content {
	align-self: center;
	padding: 48px clamp(24px, 4vw, 64px);
}

.promo .eyebrow {
	margin-bottom: 10px;
}

body .promo__title {
	margin: 0 0 12px;
	color: var(--ld-heading);
	font-size: clamp(28px, 2.6vw, 40px);
	line-height: 1.15;
	text-wrap: balance;
}

.promo__text {
	max-width: 40ch;
	margin: 0 0 26px;
	color: var(--ld-muted);
}

.promo .btn--light {
	background: var(--ld-ink);
	color: #fff;
}

.promo .btn--light:hover {
	background: #000;
	color: #fff;
}

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

	.promo__image {
		aspect-ratio: 4 / 3;
		height: auto;
		min-height: 0;
	}

	.promo__content {
		padding: 28px 20px 36px;
	}
}

/* Latest posts */
.latest-posts__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.latest-posts__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

.post-tile__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--ld-text);
}

.post-tile__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--ld-radius-lg);
	background: var(--ld-surface-2);
}

.post-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.post-tile__link:hover img {
	transform: scale(1.04);
}

.post-tile__meta {
	margin-top: 14px;
	color: var(--ld-muted);
	font-size: 13px;
}

.post-tile__title {
	margin-top: 4px;
	color: var(--ld-heading);
	font: 500 20px/1.35 var(--ld-font-heading);
	transition: color var(--ld-ease);
}

.post-tile__link:hover .post-tile__title {
	color: var(--ld-ink);
}

.post-tile__excerpt {
	margin-top: 8px;
	color: var(--ld-muted);
	font-size: 15px;
	line-height: 24px;
}

.post-tile__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 12px;
	color: var(--ld-ink);
	font-size: 14px;
	font-weight: 500;
}

.post-tile {
	height: 100%;
}

.post-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.post-tile__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.post-tile__cat {
	color: var(--ld-text);
}

/* ---------- Blog ---------- */

.blog-main {
	padding-bottom: 72px;
}

.blog-intro {
	max-width: 640px;
	margin: 0 0 28px;
	color: var(--ld-muted);
	font-size: 17px;
	line-height: 1.6;
}

.blog-cats {
	display: flex;
	gap: 8px;
	margin: 0 0 40px;
	overflow-x: auto;
	scrollbar-width: none;
}

.blog-cats::-webkit-scrollbar {
	display: none;
}

.blog-cats__item {
	flex: none;
	padding: 10px 18px;
	border: 1px solid var(--ld-border-strong);
	color: var(--ld-text);
	font-size: 14px;
	line-height: 22px;
	white-space: nowrap;
	transition: background var(--ld-ease), color var(--ld-ease);
}

.blog-cats__item:hover {
	border-color: var(--ld-ink);
}

.blog-cats__item[aria-current="page"] {
	border-color: var(--ld-ink);
	background: var(--ld-ink);
	color: #fff;
}

.post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px 24px;
}

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

@media (min-width: 1200px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Latest article: wide image with the text beside it. */
.post-tile--feature {
	grid-column: 1 / -1;
}

.post-tile--feature .post-tile__title {
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.post-tile--feature .post-tile__excerpt {
	font-size: 16px;
	line-height: 26px;
}

@media (min-width: 992px) {
	.post-tile--feature {
		padding-bottom: 48px;
		border-bottom: 1px solid var(--ld-border);
	}

	.post-tile--feature .post-tile__link {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 48px;
		align-items: center;
	}

	.post-tile--feature .post-tile__media {
		aspect-ratio: 16 / 10;
	}

	.post-tile--feature .post-tile__meta {
		margin-top: 0;
	}

	.post-tile--feature .post-tile__more {
		margin-top: 20px;
	}
}

/* Pagination (blog) */
.blog-main .pagination {
	margin-top: 56px;
}

.blog-main .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.blog-main .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ld-border);
	color: var(--ld-text);
	font-size: 15px;
}

.blog-main .page-numbers:hover {
	border-color: var(--ld-ink);
}

.blog-main .page-numbers.current {
	border-color: var(--ld-ink);
	background: var(--ld-ink);
	color: #fff;
}

.blog-main .page-numbers.dots {
	border: 0;
}

/* Single article */
.article {
	padding-bottom: 24px;
}

.article__head {
	max-width: 820px;
	margin: 0 auto;
	padding-top: 24px;
	text-align: center;
}

.article__head .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 28px;
}

.article__cat {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--ld-primary);
	font-size: 14px;
	font-weight: 500;
}

.article__title {
	margin: 0;
	color: var(--ld-heading);
	font-size: clamp(30px, 4.2vw, 50px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 0;
	color: var(--ld-muted);
	font-size: 14px;
}

.article__cover {
	max-width: 1120px;
	margin: 40px auto 0;
	background: var(--ld-surface-2);
}

.article__cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 640px;
	object-fit: cover;
}

.article__body {
	max-width: 720px;
	margin: 48px auto 0;
	font-size: 18px;
	line-height: 1.75;
}

.article__body > * {
	max-width: none;
}

.article__body > p,
.article__body > ul,
.article__body > ol {
	margin-bottom: 22px;
}

.article__body h2 {
	margin: 56px 0 16px;
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.article__body h3 {
	margin: 36px 0 10px;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.35;
}

.article__body h2 + h3 {
	margin-top: 20px;
}

.article__body .entry-byline {
	margin-bottom: 28px;
	color: var(--ld-muted);
	font-size: 15px;
}

.article__body > :is(ul, ol) > li::marker {
	color: var(--ld-muted);
}

.article__body .table-scroll {
	margin: 28px 0 32px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--ld-border);
}

.article__body .table-scroll table {
	min-width: 560px;
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.article__body .table-scroll th {
	background: var(--ld-surface-2);
	color: var(--ld-heading);
	font-weight: 500;
	vertical-align: bottom;
}

.article__body .table-scroll td {
	vertical-align: top;
}

.article__body .table-scroll :is(th, td) > p {
	margin: 0;
}

.article__body .table-scroll tr:last-child td {
	border-bottom: 0;
}

.article__body img {
	height: auto;
}

.article__foot {
	display: grid;
	gap: 32px;
	max-width: 720px;
	margin: 48px auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--ld-border);
}

.article__foot .share {
	margin: 0;
}

.article__cta {
	padding: 32px;
	background: var(--ld-surface-2);
}

.article__cta p {
	margin: 0 0 18px;
	color: var(--ld-muted);
	font-size: 16px;
	line-height: 1.6;
}

.article__cta .article__cta-title {
	margin-bottom: 6px;
	color: var(--ld-heading);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
}

.article-related {
	margin: 80px 0 72px;
	padding-top: 56px;
	border-top: 1px solid var(--ld-border);
}

.article-related__title {
	margin: 0 0 32px;
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 500;
}

@media (min-width: 768px) {
	.post-grid--plain {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.article__head {
		padding-top: 8px;
		text-align: left;
	}

	.article__head .breadcrumb,
	.article__meta {
		justify-content: flex-start;
	}

	.article__cover {
		margin-inline: calc(var(--ld-gutter) * -1);
		margin-top: 28px;
	}

	.article__body {
		margin-top: 32px;
		font-size: 17px;
	}

	.article__body h2 {
		margin-top: 44px;
	}

	.article__cta {
		padding: 24px;
	}

	.article-related {
		margin-top: 56px;
		padding-top: 40px;
	}
}

/* Touch screens: 44px targets for every shop control. */
@media (pointer: coarse) {
	.button--outline,
	.button--small,
	.dropdown__toggle,
	.view-toggle__button,
	.product-card__actions .button,
	.price-filter__field input {
		min-height: 44px;
	}

	.product-categories a {
		padding: 11px 0;
	}

	.product-categories li {
		grid-template-columns: minmax(0, 1fr) auto 44px;
	}

	.cat-toggle {
		width: 44px;
		height: 44px;
	}

	.brand-pill {
		padding: 12px 16px;
	}

	.active-filters__chip {
		min-height: 44px;
		padding: 0 16px;
	}

	.clamp-toggle {
		min-height: 44px;
	}

	.price-filter__range input::-webkit-slider-thumb {
		width: 26px;
		height: 26px;
	}

	.price-filter__range input::-moz-range-thumb {
		width: 22px;
		height: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------- 19. WhatsApp button (inc/whatsapp.php) ---------- */

.whatsapp-button {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 90;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--ld-radius-round);
	background: var(--ld-ink);
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	transition: transform var(--ld-ease), background-color var(--ld-ease);
}

.whatsapp-button:hover {
	background: #000;
	color: #fff;
	transform: translateY(-2px);
}

.whatsapp-button:focus-visible {
	outline: 2px solid var(--ld-ink);
	outline-offset: 3px;
}

.whatsapp-button__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Out of the way while a panel (menu, search, filters, lightbox) is open. */
html.has-modal .whatsapp-button,
body:has(.wp-lightbox-overlay.active) .whatsapp-button {
	display: none;
}

@media (max-width: 767px) {
	.whatsapp-button {
		right: max(16px, env(safe-area-inset-right));
		bottom: max(16px, env(safe-area-inset-bottom));
		width: 52px;
		height: 52px;
	}
}

@media print {
	.whatsapp-button {
		display: none;
	}
}
