/* =========================================================================
   Vonsué — core styles
   Order: fonts, tokens, reset, typography, layout, components.
   ========================================================================= */

/* --- Fonts --------------------------------------------------------------
   Variable fonts, self-hosted. Drop the .woff2 files into assets/fonts/.
   Until they are present the stack falls back to the system UI font, which
   is close enough in metrics that nothing jumps.
   --------------------------------------------------------------------- */

/* --- Tokens ----------------------------------------------------------- */

:root {
	/* Colour. Pure black and white, on purpose: the brand is monochrome and a
	   tinted near-black would read as a compromise. */
	--ink: #000000;
	--paper: #ffffff;
	--surface: #f5f4f2;
	--rule: #e4e4e4;
	--muted: #6e6e6e;

	/* The only chromatic colours in the theme: sale, and the two stock
	   warnings. Nothing else gets to be coloured. */
	--mark: #8c2f26;
	--warn: #b4600f;
	--urgent: #c0261c;

	/* Type */
	/*
	 * Poppins, loaded by the Elementor kit, so the theme and every Elementor
	 * section share one typeface. No second font file, no second request.
	 */
	--font-body: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: var(--font-body);

	--step--1: clamp(0.78rem, 0.76rem + 0.1vw, 0.83rem);
	--step-0: clamp(0.94rem, 0.92rem + 0.12vw, 1rem);
	--step-1: clamp(1.13rem, 1.06rem + 0.32vw, 1.31rem);
	--step-2: clamp(1.35rem, 1.22rem + 0.64vw, 1.75rem);
	--step-3: clamp(1.62rem, 1.38rem + 1.19vw, 2.33rem);
	--step-4: clamp(1.94rem, 1.52rem + 2.1vw, 3.11rem);
	--step-5: clamp(2.33rem, 1.62rem + 3.55vw, 4.14rem);

	/* Spacing, on a 4px base */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-6: 1.5rem;
	--sp-8: 2rem;
	--sp-12: 3rem;
	--sp-16: 4rem;
	--sp-24: 6rem;

	/* Layout */
	--container: 90rem;
	--container-narrow: 46rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--header-h: 4rem;

	/* Motion */
	--ease: cubic-bezier(0.2, 0, 0, 1);
	--dur: 280ms;
}

@media (min-width: 60em) {
	:root {
		--header-h: 5rem;
	}
}

/* --- Reset ------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);

	/*
	 * Nothing on a shop page should ever scroll sideways. "clip" rather than
	 * "hidden" on purpose: hidden turns this element into a scroll container,
	 * which silently breaks every position: sticky further down the page.
	 */
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.55;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}

body.is-locked {
	overflow: hidden;
}

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

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
}

:where(a):hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* --- Typography ------------------------------------------------------- */

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: 0.02em;
	margin: 0 0 var(--sp-4);
	text-wrap: balance;
}

h1 {
	font-size: var(--step-5);
	letter-spacing: 0.06em;
}
h2 {
	font-size: var(--step-4);
	letter-spacing: 0.04em;
}
h3 {
	font-size: var(--step-2);
}
h4 {
	font-size: var(--step-1);
}

p {
	margin: 0 0 var(--sp-4);
	max-width: 68ch;
}

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

.skip-link {
	position: absolute;
	top: -100%;
	left: var(--sp-4);
	z-index: 200;
	padding: var(--sp-3) var(--sp-4);
	background: var(--ink);
	color: var(--paper);
}

.skip-link:focus {
	top: var(--sp-2);
}

/* --- Layout ----------------------------------------------------------- */

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

.container--narrow {
	max-width: var(--container-narrow);
}

.site-main {
	min-height: 50vh;
	padding-block: var(--sp-12) var(--sp-24);
}

/* --- Buttons ---------------------------------------------------------- */

.btn,
button.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	min-height: 3rem;
	padding: 0 var(--sp-8);
	background: var(--ink);
	color: var(--paper);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid var(--ink);
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn:hover {
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	color: var(--paper);
}

.btn--block {
	width: 100%;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: inherit;
}

.icon-btn:hover {
	text-decoration: none;
}

/* --- Announcement bar --------------------------------------------------
   A single track printed twice and translated by exactly half its width, so
   the loop is seamless. Duration is set from JavaScript as width / speed, so
   the bar moves at the same pace whether it holds three messages or ten.
   -------------------------------------------------------------------- */

.announce {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: var(--paper);
	padding-block: var(--sp-2);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1;
}

.announce__track {
	display: flex;
	width: max-content;
	animation: vonsue-marquee var(--marquee-duration, 40s) linear infinite;
	will-change: transform;
}

.announce__list {
	display: flex;
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	margin: 0;
	padding: 0 clamp(1rem, 3vw, 2.5rem) 0 0;
	list-style: none;
}

.announce__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	white-space: nowrap;
}

.announce__icon {
	width: 1.05rem;
	height: 1.05rem;
	object-fit: contain;
	flex: 0 0 auto;
}

/* Pause when someone is reading it. */
.announce:hover .announce__track,
.announce:focus-within .announce__track {
	animation-play-state: paused;
}

@keyframes vonsue-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.announce__track {
		animation: none;
		width: 100%;
		justify-content: center;
	}

	.announce__list[aria-hidden="true"] {
		display: none;
	}

	.announce__list {
		flex-wrap: wrap;
		justify-content: center;
		padding: 0;
	}
}

/* --- Header ----------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--sp-4);
	height: var(--header-h);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-logo__img {
	width: auto;
	max-height: 1.5rem;
}

.site-logo--text {
	font-family: var(--font-display);
	font-size: var(--step-1);
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.site-header__actions {
	display: flex;
	align-items: center;
	justify-self: end;
}

.site-nav {
	display: none;
}

.site-nav__list {
	display: flex;
	gap: var(--sp-8);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.js-nav-toggle {
	justify-self: start;
}

@media (min-width: 60em) {
	.site-header__inner {
		grid-template-columns: 1fr auto 1fr;
	}
	.js-nav-toggle {
		display: none;
	}
	.site-nav {
		display: block;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
	}
	.site-logo {
		grid-column: 2;
		grid-row: 1;
	}
	.site-header__actions {
		grid-column: 3;
		grid-row: 1;
	}
}

/* Transparent over hero.
   The negative margin pulls the first section up under the sticky header
   rather than positioning the header absolutely, which would break as soon
   as an announcement bar sits above it. */
.has-transparent-header .site-header {
	margin-bottom: calc(var(--header-h) * -1);
}

.has-transparent-header .site-header:not(.is-stuck) {
	background: transparent;
	border-bottom-color: transparent;
	color: var(--paper);
}

.cart-count {
	position: absolute;
	inset-block-start: 0.45rem;
	inset-inline-end: 0.3rem;
	min-width: 1.05rem;
	height: 1.05rem;
	display: grid;
	place-items: center;
	padding-inline: 0.2rem;
	background: var(--ink);
	color: var(--paper);
	border-radius: 999px;
	font-size: 0.65rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.cart-count.is-empty {
	display: none;
}

.has-transparent-header .site-header:not(.is-stuck) .cart-count {
	background: var(--paper);
	color: var(--ink);
}

/* --- Drawers and overlay ---------------------------------------------- */

.overlay {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgb(0 0 0 / 0.4);
	opacity: 0;
	transition: opacity var(--dur) var(--ease);
}

.overlay.is-open {
	opacity: 1;
}

/* The hidden attribute has to win: without this the closed drawer stays in
   the layout, parked off-screen, instead of being out of the page entirely. */
.drawer[hidden] {
	display: none;
}

.drawer {
	position: fixed;
	inset-block: 0;
	inset-inline-end: 0;
	z-index: 120;
	display: flex;
	flex-direction: column;
	width: min(26rem, 100%);
	background: var(--paper);
	transform: translateX(100%);
	transition: transform var(--dur) var(--ease);
}

.drawer.is-open {
	transform: none;
}

.drawer--start {
	inset-inline: 0 auto;
	transform: translateX(-100%);
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-6);
	border-bottom: 1px solid var(--rule);
}

.drawer__title {
	margin: 0;
	font-size: var(--step-0);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: var(--sp-6);
	overscroll-behavior: contain;
}

/* --- Free shipping progress ------------------------------------------- */

.ship-bar {
	padding: var(--sp-4) var(--sp-6);
	border-bottom: 1px solid var(--rule);
}

.ship-bar__text {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin: 0 0 var(--sp-3);
	font-size: var(--step--1);
	letter-spacing: 0.04em;
}

.ship-bar__track {
	height: 2px;
	background: var(--rule);
	overflow: hidden;
}

.ship-bar__fill {
	height: 100%;
	background: var(--ink);
	transform-origin: left center;
	transition: transform 500ms var(--ease);
}

/* --- Footer ----------------------------------------------------------- */

.site-footer {
	margin-top: var(--sp-24);
	border-top: 1px solid var(--rule);
	background: var(--paper);
}

.site-footer__inner {
	display: grid;
	gap: var(--sp-12);
	max-width: var(--container);
	margin-inline: auto;
	padding: var(--sp-16) var(--gutter);
}

@media (min-width: 48em) {
	.site-footer__inner {
		grid-template-columns: 1.4fr repeat(3, 1fr);
		gap: var(--sp-8);
	}
}

.site-footer__tagline {
	margin-top: var(--sp-4);
	color: var(--muted);
	font-size: var(--step--1);
	max-width: 28ch;
}

.site-footer__heading {
	margin: 0 0 var(--sp-4);
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-2);
	font-size: var(--step--1);
	color: var(--muted);
}

.site-footer__bar {
	border-top: 1px solid var(--rule);
}

.site-footer__copy {
	max-width: var(--container);
	margin: 0 auto;
	padding: var(--sp-4) var(--gutter);
	font-size: var(--step--1);
	color: var(--muted);
}

/* --- Editorial bits --------------------------------------------------- */

.page-head {
	margin-bottom: var(--sp-12);
}

.post-list {
	display: grid;
	gap: var(--sp-8);
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.teaser__title {
	margin: var(--sp-4) 0 var(--sp-2);
	font-size: var(--step-1);
}

.teaser__excerpt {
	color: var(--muted);
	font-size: var(--step--1);
}

.entry__content > * + * {
	margin-top: var(--sp-4);
}

.empty-state {
	padding-block: var(--sp-16);
	text-align: center;
}

.page-404 {
	text-align: center;
	padding-block: var(--sp-24);
}

/* --- Nav drawer ------------------------------------------------------- */

.nav-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-4);
	font-family: var(--font-display);
	font-size: var(--step-2);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nav-drawer__list .sub-menu {
	margin: var(--sp-3) 0 0;
	padding: 0 0 0 var(--sp-4);
	list-style: none;
	display: grid;
	gap: var(--sp-2);
	border-left: 1px solid var(--rule);
	font-family: var(--font-body);
	font-size: var(--step-0);
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--muted);
}

.drawer__foot {
	padding: var(--sp-4) var(--sp-6);
	border-top: 1px solid var(--rule);
}

.nav-drawer__account {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media (min-width: 60em) {
	.drawer--start {
		display: none;
	}
}

/* --- Elementor-built pages -------------------------------------------- 
   No container, no vertical padding: Elementor's own sections handle both,
   and anything we add here shows up as a stripe above the hero.
   -------------------------------------------------------------------- */

.site-main--full {
	max-width: none;
	padding: 0;
	margin: 0;
}

.has-transparent-header .site-main--full > .elementor:first-child {
	margin-top: 0;
}

/* --- One button style, everywhere --------------------------------------
   The full-width black button on the product page is the house style, so
   every button that is not a swatch or an icon follows it. Elementor's kit
   styles its own buttons, so these are scoped to what the theme renders.
   -------------------------------------------------------------------- */

.site-main .btn,
.site-main button.btn,
.drawer .btn,
.site-main input[type="submit"]:not(.elementor-button) {
	border-radius: 0;
	font-family: var(--font-body);
	letter-spacing: 0.12em;
}

@media (max-width: 47.99em) {
	.site-main .btn,
	.drawer .btn {
		width: 100%;
	}
}

/* Text link style used under headings and next to sections. */
.link-more {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: var(--step--1);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ink);
	padding-bottom: 2px;
}

.link-more:hover {
	text-decoration: none;
	opacity: 0.7;
}

/* --- Link colour -------------------------------------------------------
   Elementor's kit sets a link colour with a selector that outranks a bare
   `a`, which is why links inside the theme's own blocks came out blue.
   These put them back to the surrounding text colour.
   -------------------------------------------------------------------- */

.site-main a,
.drawer a,
.site-footer a,
.announce a,
.fab a,
.site-header a {
	color: inherit;
}

.site-main a:hover,
.drawer a:hover {
	color: inherit;
}

/* --- Elementor buttons -------------------------------------------------
   Shape and typography only, so every button on the site reads as the same
   component. Colours stay with the Elementor kit, so a light button on a
   dark section keeps working.
   -------------------------------------------------------------------- */

.elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	border-radius: 0 !important;
	font-family: var(--font-body);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	min-height: 3rem;
	padding-inline: var(--sp-8);
}

/* --- Floating bag ------------------------------------------------------ */

.fab {
	position: fixed;
	inset-block-end: max(var(--sp-4), env(safe-area-inset-bottom, 0px));
	inset-inline-end: var(--sp-4);
	z-index: 95;
}

.fab__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Empty bag: nothing to open, so get out of the way. */
.fab__inner.is-empty {
	opacity: 0;
	transform: translateY(0.75rem);
	pointer-events: none;
}

/*
 * The label announces itself and then gets out of the way. Permanently
 * parking a white bar next to the button covered content on every page and
 * stopped being information after the first read.
 */
.fab__label {
	padding: 0.5rem 0.75rem;
	background: var(--paper);
	border: 0;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 6px 24px rgb(0 0 0 / 0.08);
	opacity: 0;
	transform: translateX(0.75rem);
	pointer-events: none;
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Shown briefly after the cart changes, and whenever the button is hovered
   or focused. */
.fab.is-announcing .fab__label,
.fab:hover .fab__label,
.fab:focus-within .fab__label {
	opacity: 1;
	transform: none;
}

@media (max-width: 30em) {
	.fab__label {
		display: none;
	}
}

.fab__btn {
	position: relative;
	border: 0;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	box-shadow: 0 8px 28px rgb(0 0 0 / 0.22);
}

.fab__count {
	position: absolute;
	inset-block-start: 0.35rem;
	inset-inline-end: 0.35rem;
	min-width: 1.15rem;
	height: 1.15rem;
	display: grid;
	place-items: center;
	padding-inline: 0.25rem;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: 0.65rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

body.is-locked .fab {
	opacity: 0;
	pointer-events: none;
}

/* --- Hover image inside Elementor loop items ---------------------------
   The wrapper takes the size of the original image, and the second image is
   laid over it. Nothing is positioned in a way Elementor's own layout can
   collide with.
   -------------------------------------------------------------------- */

.ehover {
	position: relative;
	display: block;
	overflow: hidden;
	line-height: 0;
}

.ehover > img:first-child {
	width: 100%;
	height: auto;
}

.ehover__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 400ms var(--ease);
	pointer-events: none;
}

@media (hover: hover) {
	a:hover > .ehover .ehover__img,
	.ehover:hover .ehover__img,
	.e-loop-item:hover .ehover__img,
	.swiper-slide:hover .ehover__img,
	.elementor-widget-image:hover .ehover__img,
	.ehover.is-hover .ehover__img {
		opacity: 1;
	}
}

/* Touch: no hover exists, so the pair becomes a swipe, exactly as the
   theme's own product cards do. */
@media (hover: none) {
	.ehover {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.ehover::-webkit-scrollbar {
		display: none;
	}

	.ehover > img:first-child,
	.ehover__img {
		position: static;
		flex: 0 0 100%;
		width: 100%;
		height: auto;
		scroll-snap-align: start;
		opacity: 1;
		transition: none;
	}
}


/* =========================================================================
   Cart drawer contents.

   These moved out of shop.css: the drawer is on every page, but shop.css only
   loads where products are, so on a plain page the drawer rendered with no
   styling at all.
   ========================================================================= */

/* --- Mini cart -------------------------------------------------------- */

.woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--sp-6);
}

.woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: var(--sp-4);
	align-items: start;
}

.woocommerce-mini-cart-item img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--surface);
}

.woocommerce-mini-cart-item a {
	font-size: var(--step--1);
	line-height: 1.35;
}

.woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: var(--sp-1);
	color: var(--muted);
	font-size: var(--step--1);
	font-variant-numeric: tabular-nums;
}

.woocommerce-mini-cart-item .remove_from_cart_button {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1;
}

.woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: var(--sp-8) 0 var(--sp-4);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--rule);
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.woocommerce-mini-cart__buttons {
	display: grid;
	gap: var(--sp-2);
	margin: 0;
}

.woocommerce-mini-cart__buttons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 var(--sp-6);
	border: 1px solid var(--ink);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.woocommerce-mini-cart__buttons .checkout {
	background: var(--ink);
	color: var(--paper);
}

.woocommerce-mini-cart__buttons .checkout:hover {
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
}

.woocommerce-mini-cart__empty-message {
	color: var(--muted);
	text-align: center;
	padding-block: var(--sp-16);
}


/* --- Cart drawer: Elementor's mini cart ------------------------------- 
   Elementor Pro replaces WooCommerce's mini-cart template with its own
   markup, so the drawer never gets the .woocommerce-mini-cart-* classes
   styled above. These rules cover Elementor's class names instead. Both
   sets are kept, so the drawer looks right whether Elementor is active
   or not.
   -------------------------------------------------------------------- */

.drawer--cart .elementor-menu-cart__products {
	display: grid;
	gap: var(--sp-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer--cart .elementor-menu-cart__product {
	display: grid;
	grid-template-columns: 4.5rem 1fr auto;
	gap: var(--sp-4);
	align-items: start;
	padding: 0;
	border: 0;
}

.drawer--cart .elementor-menu-cart__product-image img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	background: var(--surface);
}

.drawer--cart .elementor-menu-cart__product-name a {
	font-size: var(--step--1);
	line-height: 1.35;
}

.drawer--cart .elementor-menu-cart__product-price {
	grid-column: 2;
	margin-top: var(--sp-1);
	color: var(--muted);
	font-size: var(--step--1);
	font-variant-numeric: tabular-nums;
}

/* Elementor draws this X from its own widget stylesheet, which is not
   loaded here, so the link would be invisible. Give it a glyph. */
.drawer--cart .elementor-menu-cart__product-remove {
	grid-column: 3;
	grid-row: 1;
}

.drawer--cart .elementor-menu-cart__product-remove a {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--muted);
	font-size: 0;
	line-height: 1;
	transition: color var(--dur) var(--ease);
}

.drawer--cart .elementor-menu-cart__product-remove a::before {
	content: "\00d7";
	font-size: 1.1rem;
}

.drawer--cart .elementor-menu-cart__product-remove a:hover {
	color: var(--ink);
	text-decoration: none;
}

.drawer--cart .elementor-menu-cart__subtotal {
	display: flex;
	justify-content: space-between;
	margin: var(--sp-8) 0 var(--sp-4);
	padding-top: var(--sp-4);
	border-top: 1px solid var(--rule);
	font-size: var(--step--1);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.drawer--cart .elementor-menu-cart__subtotal strong {
	font-weight: 400;
}

.drawer--cart .elementor-menu-cart__footer-buttons {
	display: grid;
	gap: var(--sp-2);
}

.drawer--cart .elementor-menu-cart__footer-buttons .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 var(--sp-6);
	border: 1px solid var(--ink) !important;
	border-radius: 0 !important;
	background: var(--paper) !important;
	color: var(--ink) !important;
	font-size: var(--step--1) !important;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.drawer--cart .elementor-menu-cart__footer-buttons .elementor-button--checkout {
	background: var(--ink) !important;
	color: var(--paper) !important;
}

.drawer--cart .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
	background: var(--paper) !important;
	color: var(--ink) !important;
	text-decoration: none;
}


/* --- Duplicate remove links -------------------------------------------
   Elementor's mini-cart template prints two remove links per line: its own,
   which needs Elementor's menu-cart script, and WooCommerce's, which works
   through cart fragments. That is the second cross. Hide Elementor's and
   keep the one that actually removes the item.
   -------------------------------------------------------------------- */

.drawer--cart .elementor_remove_from_cart_button {
	display: none !important;
}

.drawer--cart .elementor-menu-cart__product-remove .remove_from_cart_button {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--muted);
	font-size: 0;
	line-height: 1;
}

.drawer--cart .elementor-menu-cart__product-remove .remove_from_cart_button::before {
	content: "\00d7";
	font-size: 1.1rem;
}

.drawer--cart .elementor-menu-cart__product-remove .remove_from_cart_button:hover {
	color: var(--mark);
	text-decoration: none;
}




/* --- Overflow guards ---------------------------------------------------
   The usual suspects for a stray horizontal scrollbar: a wrapper around an
   image, a full-bleed band built with negative margins, and anything the
   theme lays over Elementor's own markup.
   -------------------------------------------------------------------- */

.ehover,
.ehover > img,
.ehover__img {
	max-width: 100%;
}

.announce,
.announce__track {
	max-width: 100vw;
}

.site-main,
.site-footer,
.drawer {
	max-width: 100%;
}

/* An editor-only note, so an empty block is never a silent mystery. */
.vonsue-hint {
	max-width: var(--container);
	margin-inline: auto;
	padding: var(--sp-3) var(--gutter);
	border-left: 3px solid var(--warn);
	background: var(--surface);
	font-size: var(--step--1);
	color: var(--muted);
}


/* --- Elementor nested carousels on a phone -----------------------------
   Inside a nested carousel the image, heading and text sat flush against
   each other on mobile, because Elementor's own spacing is set per widget
   at desktop width. This gives the stack some air without touching the
   desktop layout.
   -------------------------------------------------------------------- */

@media (max-width: 47.99em) {
	.e-n-carousel .elementor-widget-image + .elementor-widget-heading,
	.e-n-carousel .elementor-widget-image + .elementor-widget-text-editor,
	.elementor-loop-container .elementor-widget-image + .elementor-widget-heading {
		margin-top: 0.75rem;
	}

	.e-n-carousel .elementor-widget-heading + .elementor-widget-text-editor {
		margin-top: 0.25rem;
	}

	.e-n-carousel .elementor-widget-text-editor + .elementor-widget-button,
	.e-n-carousel .elementor-widget-heading + .elementor-widget-button {
		margin-top: 0.9rem;
	}
}

/* --- Contact block ----------------------------------------------------- */

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

.contact__head {
	max-width: 44ch;
	margin-bottom: var(--sp-8);
}

.contact__title {
	font-size: var(--step-3);
	letter-spacing: 0.04em;
}

.contact__intro {
	color: var(--muted);
}

.contact__grid {
	display: grid;
	gap: var(--sp-4);
	margin-bottom: var(--sp-12);
}

@media (min-width: 48em) {
	.contact__grid {
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	}
}

.contact__card {
	display: grid;
	align-content: start;
	gap: var(--sp-2);
	padding: var(--sp-6);
	border: 1px solid var(--rule);
	transition: border-color var(--dur) var(--ease);
}

.contact__card:hover {
	border-color: var(--ink);
}

.contact__card--quiet {
	background: var(--surface);
	border-color: transparent;
}

.contact__card--quiet:hover {
	border-color: transparent;
}

.contact__label {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact__value {
	font-size: var(--step-1);
	line-height: 1.2;
	word-break: break-word;
}

a.contact__value {
	border-bottom: 1px solid var(--rule);
	padding-bottom: 2px;
	transition: border-color var(--dur) var(--ease);
}

a.contact__value:hover {
	border-bottom-color: var(--ink);
	text-decoration: none;
}

.contact__note {
	margin: 0;
	font-size: var(--step--1);
	color: var(--muted);
}

.contact__card--quiet .contact__label + .contact__note {
	margin-bottom: var(--sp-3);
}

.contact__map {
	position: relative;
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background: var(--surface);
}

.contact__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	/* The theme is monochrome; a full colour map fights it. */
	filter: grayscale(1) contrast(1.05);
	transition: filter var(--dur) var(--ease);
}

.contact__map:hover iframe {
	filter: none;
}

@media (max-width: 47.99em) {
	.contact__map {
		aspect-ratio: 4 / 3;
	}
}
