/**
 * Million Dollar Facial – design v2
 *
 * Styles for the redesigned header, footer and homepage. The markup is built
 * with native Bricks elements; every element carries an `mdf-*` class that is
 * styled here. Sizes are in px because Bricks sets html { font-size: 62.5% }.
 *
 * Breakpoints follow the design prototype: 640px (sm) and 768px (md).
 */

/* ------------------------------------------------------------------ */
/* 1. Design tokens                                                    */
/* ------------------------------------------------------------------ */

:root {
	--mdf-bg: oklch(1 0 0);
	--mdf-fg: oklch(0.16 0 0);
	--mdf-muted: oklch(0.5 0.008 90);
	--mdf-accent: oklch(0.874 0.037 96.5); /* brand accent #ded6b7 */
	--mdf-sand: oklch(0.958 0.014 96.5);
	--mdf-border: oklch(0.912 0.005 90);
	--mdf-font: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--mdf-wrap: 1240px;
	--mdf-gutter: 20px;
	--mdf-header-offset: 140px;
}

@media (min-width: 768px) {
	:root {
		--mdf-gutter: 24px;
	}
}

/* ------------------------------------------------------------------ */
/* 2. Global base (applies to the whole site)                          */
/* ------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--mdf-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--mdf-fg);
	background-color: var(--mdf-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--mdf-font);
	font-weight: 300;
	letter-spacing: -0.025em;
	color: var(--mdf-fg);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--mdf-fg);
	outline-offset: 3px;
}

#brx-footer a:focus-visible,
#brx-footer button:focus-visible,
.mdf-nav a:focus-visible,
.mdf-topbar a:focus-visible,
.mdf-concerns a:focus-visible,
.mdf-howto a:focus-visible,
.mdf-advice a:focus-visible {
	outline-color: var(--mdf-accent);
}

/* ------------------------------------------------------------------ */
/* 3. Shared building blocks                                           */
/* ------------------------------------------------------------------ */

/* Centered content column. Used on Bricks containers, so reset their defaults. */
.brxe-container.mdf-wrap,
.mdf-wrap {
	width: 100%;
	max-width: var(--mdf-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--mdf-gutter);
	padding-right: var(--mdf-gutter);
}

.mdf-eyebrow {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mdf-muted);
}

.mdf-eyebrow--accent {
	color: var(--mdf-accent);
}

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

/* Buttons */
.mdf-btn,
.mdf-btn.bricks-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--mdf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.mdf-btn--dark,
.mdf-btn--dark.bricks-button {
	background-color: var(--mdf-fg);
	border-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-btn--accent,
.mdf-btn--accent.bricks-button {
	background-color: var(--mdf-accent);
	border-color: var(--mdf-accent);
	color: var(--mdf-fg);
}

.mdf-btn--dark:hover,
.mdf-btn--accent:hover {
	opacity: 0.85;
}

.mdf-btn--outline,
.mdf-btn--outline.bricks-button {
	background-color: transparent;
	border-color: var(--mdf-fg);
	color: var(--mdf-fg);
}

.mdf-btn--outline:hover {
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-btn--wide,
.mdf-btn--wide.bricks-button {
	padding-left: 40px;
	padding-right: 40px;
}

/* Icons are drawn with CSS masks so they inherit the current text colour.
   Paths are from the Lucide icon set (ISC licence). */
.mdf-ico,
.mdf-btn--arrow::after,
.mdf-link-arrow::after {
	--mdf-ico-size: 16px;
	content: "";
	display: inline-block;
	flex: none;
	width: var(--mdf-ico-size);
	height: var(--mdf-ico-size);
	background-color: currentColor;
	-webkit-mask: var(--mdf-ico) center / contain no-repeat;
	mask: var(--mdf-ico) center / contain no-repeat;
}

.mdf-btn--arrow::after,
.mdf-link-arrow::after,
.mdf-ico--arrow-right {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

.mdf-ico--arrow-up-right {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
}

.mdf-ico--truck {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
}

.mdf-ico--flask {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E");
}

.mdf-ico--message {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
}

.mdf-ico--award {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526'/%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3C/svg%3E");
}

.mdf-ico--percent {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z'/%3E%3Cpath d='m15 9-6 6'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M15 15h.01'/%3E%3C/svg%3E");
}

.mdf-ico--search {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
}

.mdf-ico--cart {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E");
}

.mdf-ico--facebook {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.mdf-ico--instagram {
	--mdf-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E");
}

/* Text link with an underline and an arrow that nudges on hover */
.mdf-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--mdf-fg);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--mdf-fg);
	text-decoration: none;
}

.mdf-link-arrow::after {
	transition: transform 0.15s ease;
}

.mdf-link-arrow:hover::after {
	transform: translateX(4px);
}

/* Generic section spacing */
.mdf-section {
	padding-top: 64px;
	padding-bottom: 64px;
}

.mdf-section--sand {
	background-color: var(--mdf-sand);
}

@media (min-width: 768px) {
	.mdf-section {
		padding-top: 96px;
		padding-bottom: 96px;
	}
}

/* Anchor targets sit below the sticky header */
.mdf-anchor {
	scroll-margin-top: var(--mdf-header-offset);
}

/* Section heading row: eyebrow + title on the left, optional link on the right */
.mdf-head {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-bottom: 32px;
}

.mdf-head__title {
	margin-top: 12px;
	font-size: 24px;
	line-height: 32px;
}

.mdf-head .mdf-link-arrow {
	display: none;
	flex: none;
}

@media (min-width: 768px) {
	.mdf-head {
		margin-bottom: 48px;
	}

	.mdf-head__title {
		font-size: 36px;
		line-height: 40px;
	}

	.mdf-head .mdf-link-arrow {
		display: inline-flex;
	}
}

/* ------------------------------------------------------------------ */
/* 4. Product card + grids                                             */
/* ------------------------------------------------------------------ */

.mdf-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Horizontal swipe row on phones, regular grid from tablet up */
.mdf-products--scroll {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	width: auto;
	margin-left: calc(var(--mdf-gutter) * -1);
	margin-right: calc(var(--mdf-gutter) * -1);
	padding: 0 var(--mdf-gutter) 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* Without this the first card snaps flush to the screen edge */
	scroll-padding-left: var(--mdf-gutter);
	-webkit-overflow-scrolling: touch;
}

.mdf-products--scroll > .mdf-card {
	flex: none;
	width: 68%;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.mdf-products,
	.mdf-products--scroll {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 56px 24px;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		overflow: visible;
	}

	.mdf-products--scroll {
		gap: 24px;
	}

	.mdf-products--scroll > .mdf-card {
		width: auto;
	}
}

.mdf-card {
	position: relative;
	display: block;
	min-width: 0;
}

.mdf-card__media {
	position: relative;
	overflow: hidden;
	background-color: var(--mdf-sand);
}

.mdf-card__media a {
	display: block;
}

.mdf-card__img,
.mdf-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mdf-card:hover .mdf-card__media img {
	transform: scale(1.05);
}

/* "Vinsælt" tag – only shown on the first card of the bestseller row */
.mdf-card__tag {
	display: none;
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 8px;
	background-color: var(--mdf-bg);
	color: var(--mdf-fg);
	pointer-events: none;
}

.mdf-products--scroll > .mdf-card:first-child .mdf-card__tag {
	display: block;
}

/* Add-to-cart bar that slides up over the image on hover (desktop only) */
.mdf-card__atc {
	display: none;
}

@media (min-width: 768px) {
	.mdf-card__atc {
		display: block;
		position: absolute;
		/* Edge to edge along the bottom of the image. width: auto – the Bricks
		   element is full width by default, which (with an inset) left a gap
		   on the left only and ran the bar past the right edge. */
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.3s ease, transform 0.3s ease;
	}

	.mdf-card:hover .mdf-card__atc,
	.mdf-card:focus-within .mdf-card__atc {
		opacity: 1;
		transform: translateY(0);
	}
}

.mdf-card__atc .button,
.mdf-card__atc a.button,
.mdf-card__atc a.added_to_cart {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 8px;
	border: 0;
	border-radius: 0;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
	font-family: var(--mdf-font);
	font-size: 12px;
	font-weight: 300;
	line-height: 16px;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
	text-decoration: none;
}

/* Feedback while adding: keep the bar visible, dim it, then confirm.
   js/mdf-v2.js swaps the label to "Bætt í körfu ✓" for a moment. */
.mdf-card__atc:has(.loading, .is-added) {
	opacity: 1;
	transform: translateY(0);
}

.mdf-card__atc a.button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.mdf-card__atc a.button.is-added {
	background-color: var(--mdf-accent);
	color: var(--mdf-fg);
}

/* WooCommerce appends a "view cart" link after an add; the header mini cart
   opens instead, so the extra link is not needed. */
.mdf-card__atc a.added_to_cart {
	display: none;
}

/* Phones and tablets have no hover: show a compact cart button on the image */
@media (max-width: 767px) {
	/* width: auto – the Bricks element is full width by default, which pushed
	   the button to the left edge and cut it off. */
	.mdf-card__atc {
		display: block;
		position: absolute;
		left: auto;
		right: 8px;
		bottom: 8px;
		width: auto;
	}

	.mdf-card__atc .button,
	.mdf-card__atc a.button {
		display: flex;
		flex: none;
		align-items: center;
		justify-content: center;
		gap: 0;
		width: 40px;
		min-width: 40px;
		height: 40px;
		padding: 0;
		overflow: hidden;
		font-size: 0;
		line-height: 0;
	}

	/* The label stays for screen readers but must not take part in the
	   layout, otherwise the gap next to it pushes the icon off centre. */
	.mdf-card__atc a.button > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.mdf-card__atc a.button::before {
		content: "";
		width: 18px;
		height: 18px;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	/* Confirmation: a check mark instead of the cart */
	.mdf-card__atc a.button.is-added::before {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	}
}

.mdf-card__title,
.mdf-card__title a {
	margin: 16px 0 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: -0.025em;
	color: var(--mdf-fg);
	text-decoration: none;
}

.mdf-card__title a {
	margin: 0;
}

.mdf-card__price {
	margin-top: 4px;
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-muted);
}

.mdf-card__price del {
	margin-right: 6px;
	opacity: 0.6;
}

.mdf-card__price ins {
	text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* 5. Header                                                           */
/* ------------------------------------------------------------------ */

/* The header keeps a constant layout height (its expanded size). Only the
   bars inside shrink when compact, so collapsing never moves the page content
   – otherwise the scroll position shifts and the header flips back and forth.
   The freed area is click-through. */
#brx-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 998;
	height: 176px; /* 48 top bar + 80 main bar + 48 navigation */
	pointer-events: none;
}

#brx-header > * {
	pointer-events: auto;
}

.mdf-nav {
	transition: box-shadow 0.3s ease;
}

.mdf-compact .mdf-nav {
	box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.55);
}

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

/* 5.1 Announcement strip – folds away once the page is scrolled */
.mdf-topbar {
	max-height: 48px;
	overflow: hidden;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
	opacity: 1;
	transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.mdf-compact .mdf-topbar {
	max-height: 0;
	opacity: 0;
}

.mdf-topbar__inner {
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	height: 48px;
	padding-left: 24px;
	padding-right: 24px;
}

.mdf-social {
	display: flex;
	align-items: center;
	gap: 20px;
}

.mdf-social a {
	display: inline-flex;
	color: inherit;
	transition: color 0.15s ease;
}

.mdf-social a:hover {
	color: var(--mdf-accent);
}

/* 5.2 Main bar – logo, newsletter offer, search, cart */
.mdf-mainbar {
	height: 80px;
	background-color: var(--mdf-bg);
	border-bottom: 1px solid var(--mdf-border);
	transition: height 0.3s ease-out;
}

.mdf-compact .mdf-mainbar {
	height: 64px;
}

.mdf-mainbar__inner {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
}

.mdf-logo {
	flex: none;
	line-height: 0;
}

.mdf-logo img {
	width: auto;
	height: 48px;
	transition: height 0.3s ease-out;
}

.mdf-compact .mdf-logo img {
	height: 32px;
}

/* Two logos in the header: stacked on phones, horizontal from tablets up. */
.mdf-logo--wide {
	display: none;
}

.mdf-mainbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mdf-offer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background-color: var(--mdf-accent);
	color: var(--mdf-fg);
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s ease;
}

.mdf-offer:hover {
	opacity: 0.85;
}

.mdf-offer__long {
	display: none;
}

/* Search toggle (Bricks search element, overlay type) */
.mdf-search {
	display: none;
	line-height: 0;
}

.mdf-search .toggle {
	display: inline-flex;
	padding: 0;
	background: none;
	border: 0;
	color: color-mix(in oklab, var(--mdf-fg) 70%, transparent);
	cursor: pointer;
	transition: color 0.15s ease;
}

.mdf-search .toggle:hover {
	color: var(--mdf-fg);
}

.mdf-search .toggle i,
.mdf-search .toggle svg {
	display: none;
}

.mdf-search .toggle::before {
	content: "";
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Mini cart (Bricks WooCommerce element) */
.mdf-cart .mini-cart-link {
	display: inline-flex;
	color: var(--mdf-fg);
	transition: opacity 0.15s ease;
}

.mdf-cart .mini-cart-link:hover {
	opacity: 0.7;
}

.mdf-cart .cart-icon {
	position: relative;
	display: inline-flex;
}

.mdf-cart .cart-icon i,
.mdf-cart .cart-icon svg {
	display: none;
}

.mdf-cart .cart-icon::before {
	content: "";
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mdf-cart .cart-count {
	position: absolute;
	top: -8px;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	min-width: 16px;
	height: 16px;
	padding: 0;
	border-radius: 999px;
	background-color: var(--mdf-accent);
	color: var(--mdf-fg);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
}

/* The count pulses when something is added (class set by js/mdf-v2.js) */
.mdf-cart .cart-count.mdf-bump {
	animation: mdf-bump 0.5s ease;
}

@keyframes mdf-bump {
	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.7);
	}

	100% {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdf-cart .cart-count.mdf-bump {
		animation: none;
	}
}

/* Mini cart panel (opens from the cart icon and after an add to cart) */
.mdf-cart .cart-detail {
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 24px;
	border: 1px solid var(--mdf-border);
	border-radius: 0;
	background-color: var(--mdf-bg);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.35);
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-fg);
}

.mdf-cart .cart-detail ul.cart_list {
	max-height: min(50vh, 360px);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.mdf-cart .cart-detail li.mini_cart_item {
	position: relative;
	display: block;
	min-height: 64px;
	margin: 0;
	padding: 0 32px 16px 80px;
	list-style: none;
}

.mdf-cart .cart-detail li.mini_cart_item + li.mini_cart_item {
	padding-top: 16px;
	border-top: 1px solid var(--mdf-border);
}

.mdf-cart .cart-detail li.mini_cart_item > a:not(.remove) {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--mdf-fg);
	text-decoration: none;
}

.mdf-cart .cart-detail li.mini_cart_item img {
	position: absolute;
	left: 0;
	width: 64px;
	height: 64px;
	margin: 0;
	object-fit: cover;
	background-color: var(--mdf-sand);
}

.mdf-cart .cart-detail li.mini_cart_item .quantity {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--mdf-muted);
}

.mdf-cart .cart-detail li.mini_cart_item a.remove {
	position: absolute;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
	color: var(--mdf-muted) !important;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.mdf-cart .cart-detail li.mini_cart_item a.remove:hover {
	background-color: var(--mdf-fg);
	color: var(--mdf-bg) !important;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--mdf-border);
	font-size: 14px;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__total strong {
	font-weight: 400;
	color: var(--mdf-muted);
}

.mdf-cart .cart-detail .woocommerce-mini-cart__total .amount {
	font-size: 16px;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__buttons .button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 8px;
	border: 1px solid var(--mdf-fg);
	border-radius: 0;
	background-color: transparent;
	color: var(--mdf-fg);
	font-family: var(--mdf-font);
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__buttons .button:hover {
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-cart .cart-detail .woocommerce-mini-cart__buttons .button.checkout {
	border-color: var(--mdf-fg);
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-cart .cart-detail .woocommerce-mini-cart__buttons .button.checkout:hover {
	opacity: 0.85;
}

.mdf-cart .cart-detail .woocommerce-mini-cart__empty-message {
	margin: 0;
	color: var(--mdf-muted);
	text-align: center;
}

/* Search results inside the Bricks search overlay (js: initSearch).
   The overlay is white; the list sits under the input, same width. */
.mdf-search .bricks-search-inner {
	max-height: 100vh;
	overflow-y: auto;
}

.mdf-search__results {
	align-self: center;
	width: 100%;
	max-width: 600px;
	margin: 12px auto 0;
	font-family: var(--mdf-font);
	line-height: 1.4;
	text-align: left;
}

.mdf-search__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--mdf-border);
	color: var(--mdf-fg);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.mdf-search__item:hover,
.mdf-search__item.is-active {
	background-color: var(--mdf-sand, #f3f0e4);
}

.mdf-search__item img {
	flex: none;
	width: 56px;
	height: 56px;
	object-fit: cover;
}

.mdf-search__name {
	flex: 1;
	font-size: 16px;
}

.mdf-search__price {
	flex: none;
	font-size: 14px;
	white-space: nowrap;
}

.mdf-search__price del {
	margin-right: 6px;
	opacity: 0.55;
}

.mdf-search__price ins {
	text-decoration: none;
}

.mdf-search__empty {
	margin: 0;
	padding: 12px;
	color: var(--mdf-fg);
	font-size: 15px;
}

.mdf-search__empty a {
	color: inherit;
	text-decoration: underline;
}

/* 5.3 Navigation row */
.mdf-nav {
	background-color: var(--mdf-fg);
}

.mdf-nav__inner {
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	height: 48px;
	overflow-x: auto;
	transition: height 0.3s ease-out;
	scrollbar-width: none;
}

.mdf-nav__inner::-webkit-scrollbar {
	display: none;
}

.mdf-compact .mdf-nav__inner {
	height: 40px;
}

.mdf-nav .bricks-nav-menu {
	display: flex;
	flex-wrap: nowrap;
	gap: 28px;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.mdf-nav .bricks-nav-menu > li {
	margin: 0;
}

.mdf-nav .bricks-nav-menu > li > a,
.mdf-nav .bricks-nav-menu > li > a:hover,
.mdf-nav .bricks-nav-menu .current-menu-item > a {
	padding: 0;
	background-color: transparent;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: color-mix(in oklab, var(--mdf-bg) 85%, transparent);
	transition: color 0.15s ease;
}

.mdf-nav .bricks-nav-menu > li > a:hover {
	color: var(--mdf-accent);
}

@media (min-width: 640px) {
	.mdf-offer__long {
		display: inline;
	}

	.mdf-offer__short {
		display: none;
	}

	.mdf-search {
		display: block;
	}
}

@media (min-width: 768px) {
	#brx-header {
		height: 200px; /* 48 top bar + 96 main bar + 56 navigation */
	}

	.mdf-mainbar {
		height: 96px;
	}

	.mdf-logo--stacked {
		display: none;
	}

	.mdf-logo--wide {
		display: block;
	}

	.mdf-logo img {
		height: 30px;
	}

	.mdf-compact .mdf-logo img {
		height: 22px;
	}

	.mdf-mainbar__actions {
		gap: 20px;
	}

	.mdf-offer {
		padding: 12px 20px;
		font-size: 12px;
	}

	.mdf-nav__inner {
		justify-content: center;
		height: 56px;
	}

	.mdf-nav .bricks-nav-menu {
		gap: 40px;
	}
}

/* ------------------------------------------------------------------ */
/* 6. Homepage sections                                                */
/* ------------------------------------------------------------------ */

/* 6.1 Hero – split editorial */
.mdf-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.mdf-hero__content {
	order: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 20px;
	background-color: var(--mdf-sand);
}

.mdf-hero__title {
	margin-top: 20px;
	font-size: 38.4px;
	font-weight: 300;
	line-height: 1.05;
}

.mdf-hero__lede {
	max-width: 448px;
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 1.625;
	color: var(--mdf-muted);
}

.mdf-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 36px;
}

.mdf-hero__media {
	order: 1;
	position: relative;
	height: 440px;
}

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

/* Floating product card over the hero photo */
.mdf-hero__card {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	width: auto;
	padding: 16px;
	background-color: color-mix(in oklab, var(--mdf-bg) 95%, transparent);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--mdf-fg);
	text-decoration: none;
}

.mdf-hero__card-img {
	flex: none;
	width: 64px;
	height: 64px;
	object-fit: cover;
	background-color: var(--mdf-sand);
}

.mdf-hero__card-body {
	flex: 1;
	min-width: 0;
}

.mdf-hero__card-title {
	display: block;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
}

.mdf-hero__card-price {
	display: block;
	font-size: 12px;
	line-height: 16px;
	color: var(--mdf-muted);
}

@media (min-width: 640px) {
	.mdf-hero__actions {
		flex-direction: row;
	}
}

@media (min-width: 768px) {
	.mdf-hero {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.mdf-hero__content {
		order: 1;
		padding: 96px 64px;
		/* Left edge follows the centered content column on wide screens */
		padding-left: max(64px, calc((100vw - var(--mdf-wrap)) / 2 + var(--mdf-gutter)));
	}

	.mdf-hero__title {
		font-size: 60px;
	}

	.mdf-hero__media {
		order: 2;
		width: min(56vw, 860px);
		height: min(85vh, 860px);
		min-height: 600px;
	}

	.mdf-hero__card {
		left: auto;
		right: 40px;
		bottom: 40px;
		width: 320px;
	}
}

/* 6.1b Campaign hero – text panel, gift photo, model photo with badge */
.mdf-promo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	/* Bricks centres the children of a section; the panels fill their cells. */
	align-items: stretch;
	justify-items: stretch;
	background-color: #1f1b1a;
}

.mdf-promo__text {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	padding: 40px var(--mdf-gutter);
	background-color: #1f1b1a;
	color: #fff;
	text-decoration: none;
}

.mdf-promo__dates {
	margin: 0;
	font-size: 16px;
	line-height: 1.3;
}

.mdf-promo__title {
	margin: 0;
	font-size: clamp(52px, 17vw, 84px);
	font-weight: 300;
	line-height: 0.98;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: #fff;
}

.mdf-promo__title strong {
	display: block;
	font-weight: 600;
}

.mdf-promo__note {
	max-width: 360px;
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
}

.mdf-promo__panel {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	color: var(--mdf-fg);
	text-decoration: none;
}

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

.mdf-promo__panel--model .mdf-promo__img {
	object-position: 50% 0;
}

/* Discount bubble: the client's artwork (white outline on transparent). */
.mdf-promo__badge {
	position: absolute;
	/* Small on phones so it stays clear of the bottle in the photo. */
	top: 8px;
	left: 8px;
	width: 60px;
	height: 60px;
}

@media (min-width: 768px) {
	.mdf-promo {
		/* Proportions of the three panels in the design: 479 / 616 / 705. */
		grid-template-columns: 26.6fr 34.2fr 39.2fr;
		height: min(78vh, 780px);
		min-height: 520px;
	}

	.mdf-promo__text {
		grid-column: auto;
		gap: 24px;
		padding: clamp(48px, 9vh, 96px) clamp(20px, 2.1vw, 40px);
	}

	.mdf-promo__dates {
		font-size: clamp(15px, 1.2vw, 21px);
	}

	.mdf-promo__title {
		font-size: clamp(38px, 4.6vw, 88px);
	}

	.mdf-promo__note {
		max-width: none;
		font-size: clamp(14px, 1.15vw, 20px);
	}

	.mdf-promo__panel {
		aspect-ratio: auto;
	}

	.mdf-promo__badge {
		top: 8%;
		left: 5.5%;
		width: clamp(104px, 9vw, 140px);
		height: clamp(104px, 9vw, 140px);
	}
}

/* 6.2 Trust strip */
.mdf-trust {
	border-bottom: 1px solid var(--mdf-border);
}

.mdf-trust__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 20px 0;
	padding-top: 24px;
	padding-bottom: 24px;
}

.mdf-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	line-height: 1.375;
	color: color-mix(in oklab, var(--mdf-fg) 80%, transparent);
}

.mdf-trust__item .mdf-ico {
	color: color-mix(in oklab, var(--mdf-fg) 70%, transparent);
}

/* The shipping item holds two sentences: full row on phones. */
.mdf-trust__item:has(br) {
	grid-column: 1 / -1;
}

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

	.mdf-trust__item:has(br) {
		grid-column: auto;
	}

	/* A little more room for the two-line shipping item. */
	.mdf-trust__grid:has(br) {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		column-gap: 16px;
	}

	.mdf-trust__item {
		justify-content: center;
		font-size: 14px;
	}
}

/* 6.3 About – editorial story */
.mdf-about {
	padding-top: 80px;
	padding-bottom: 80px;
}

.mdf-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 48px;
}

.mdf-about__media {
	position: relative;
}

.mdf-about__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.mdf-about__inset {
	display: none;
}

.mdf-about__title {
	margin-top: 16px;
	font-size: 30px;
	line-height: 1.25;
}

.mdf-rule {
	width: 64px;
	height: 1px;
	margin-top: 24px;
	background-color: var(--mdf-accent);
}

.mdf-about__text {
	margin: 24px 0 0;
	line-height: 1.625;
	color: var(--mdf-muted);
}

.mdf-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
	padding: 24px 0;
	border-top: 1px solid var(--mdf-border);
	border-bottom: 1px solid var(--mdf-border);
}

.mdf-stats__num {
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
}

.mdf-stats__label {
	margin-top: 4px;
	font-size: 12px;
	line-height: 16px;
	color: var(--mdf-muted);
}

@media (min-width: 768px) {
	.mdf-about {
		padding-top: 128px;
		padding-bottom: 128px;
	}

	.mdf-about__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 32px;
	}

	.mdf-about__media {
		grid-column: span 6;
	}

	.mdf-about__body {
		grid-column: 8 / span 5;
	}

	.mdf-about__img {
		aspect-ratio: 5 / 6;
	}

	.mdf-about__inset {
		display: block;
		position: absolute;
		right: -16px;
		bottom: -40px;
		width: 224px;
		border: 10px solid var(--mdf-bg);
		object-fit: cover;
	}

	.mdf-about__title {
		font-size: 48px;
	}

	.mdf-stats__num {
		font-size: 30px;
		line-height: 36px;
	}
}

/* 6.4 Brand film – self-hosted background video */
.mdf-film {
	position: relative;
	display: block;
	overflow: hidden;
	background-color: var(--mdf-fg);
}

.mdf-film__video,
.mdf-film__video video {
	display: block;
	width: 100%;
	height: 52vh;
}

.mdf-film__video {
	padding: 0;
	aspect-ratio: auto;
	opacity: 0.8;
}

/* Phones: keep the full height and crop the sides */
.mdf-film__video video {
	position: static;
	object-fit: cover;
	object-position: center;
}

.mdf-film__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	background-image: linear-gradient(
		to top,
		color-mix(in oklab, var(--mdf-fg) 80%, transparent),
		color-mix(in oklab, var(--mdf-fg) 10%, transparent),
		transparent
	);
}

.mdf-film__inner {
	padding-bottom: 40px;
}

.mdf-film__text {
	max-width: 672px;
	margin: 16px 0 0;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.375;
	color: var(--mdf-bg);
}

@media (min-width: 768px) {
	/* Show the clip's full 16:9 frame; on very wide screens it stretches to fill */
	.mdf-film__video,
	.mdf-film__video video {
		height: min(92vh, 56.25vw);
	}

	.mdf-film__video video {
		object-fit: fill;
	}

	.mdf-film__inner {
		padding-bottom: 64px;
	}

	.mdf-film__text {
		font-size: 36px;
	}
}

/* 6.5 "All products" footer button */
.mdf-center {
	width: 100%;
	margin-top: 56px;
	text-align: center;
}

/* 6.6 Categories */
.mdf-cats__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	margin-left: calc(var(--mdf-gutter) * -1);
	margin-right: calc(var(--mdf-gutter) * -1);
	padding: 0 var(--mdf-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-left: var(--mdf-gutter);
	-webkit-overflow-scrolling: touch;
}

.mdf-cat {
	position: relative;
	display: block;
	flex: none;
	width: 62%;
	overflow: hidden;
	background-color: var(--mdf-bg);
	color: var(--mdf-bg);
	text-decoration: none;
	scroll-snap-align: start;
}

.mdf-cat__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.mdf-cat:hover .mdf-cat__img {
	transform: scale(1.05);
}

.mdf-cat::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(to top, color-mix(in oklab, var(--mdf-fg) 75%, transparent), transparent 50%, transparent);
}

.mdf-cat__body {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1;
}

.mdf-cat__name {
	display: block;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.375;
}

.mdf-cat__count {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 16px;
	color: color-mix(in oklab, var(--mdf-bg) 70%, transparent);
}

@media (min-width: 768px) {
	.mdf-cats__grid {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 16px;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		overflow: visible;
	}

	.mdf-cat {
		width: auto;
	}
}

/* 6.7 Skin concerns – numbered index list on dark */
.mdf-concerns {
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-concerns__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

.mdf-concerns__title {
	margin-top: 16px;
	font-size: 30px;
	line-height: 36px;
	color: var(--mdf-bg);
}

.mdf-concerns__text {
	max-width: 384px;
	margin: 20px 0 0;
	line-height: 1.625;
	color: color-mix(in oklab, var(--mdf-bg) 65%, transparent);
}

.mdf-concerns__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid color-mix(in oklab, var(--mdf-bg) 15%, transparent);
	counter-reset: mdf-concern;
}

.mdf-concerns__list > li {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-increment: mdf-concern;
}

.mdf-concern {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 16px;
	border-bottom: 1px solid color-mix(in oklab, var(--mdf-bg) 15%, transparent);
	color: var(--mdf-bg);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.mdf-concern:hover {
	background-color: color-mix(in oklab, var(--mdf-bg) 5%, transparent);
}

.mdf-concern::before {
	content: counter(mdf-concern, decimal-leading-zero);
	flex: none;
	width: 24px;
	font-size: 12px;
	line-height: 16px;
	color: var(--mdf-accent);
}

.mdf-concern__body {
	flex: 1;
	min-width: 0;
}

.mdf-concern__title {
	display: block;
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

.mdf-concern__products {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 16px;
	color: color-mix(in oklab, var(--mdf-bg) 55%, transparent);
}

.mdf-concern .mdf-ico {
	--mdf-ico-size: 20px;
	color: color-mix(in oklab, var(--mdf-bg) 40%, transparent);
	transition: transform 0.15s ease, color 0.15s ease;
}

.mdf-concern:hover .mdf-ico {
	transform: translateX(4px);
	color: var(--mdf-accent);
}

@media (min-width: 768px) {
	.mdf-concerns__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
		gap: 80px;
	}

	.mdf-concerns__title {
		font-size: 48px;
		line-height: 1;
	}

	.mdf-concern {
		gap: 32px;
		padding: 24px 20px;
	}

	.mdf-concern__title {
		font-size: 20px;
	}
}

/* 6.8 Featured campaign */
.mdf-campaign {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding: 64px 0;
}

.mdf-campaign__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mdf-campaign__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 20px 0;
}

.mdf-campaign__title {
	margin-top: 16px;
	font-size: 30px;
	line-height: 36px;
}

.mdf-campaign__sub {
	margin: 8px 0 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 28px;
}

.mdf-campaign__text {
	max-width: 448px;
	margin: 24px 0 0;
	line-height: 1.625;
	color: var(--mdf-muted);
}

.mdf-campaign__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 24px;
	margin-top: 32px;
}

.mdf-campaign__price {
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-muted);
}

@media (min-width: 768px) {
	.mdf-campaign {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0;
	}

	.mdf-campaign__img {
		aspect-ratio: auto;
		height: 100%;
		min-height: 620px;
	}

	.mdf-campaign__body {
		padding: 96px 80px;
	}

	.mdf-campaign__title {
		font-size: 48px;
		line-height: 1;
	}
}

/* 6.9 Press logos – slow continuous roll. The script in mdf-v2.js repeats the
   logo set so that shifting the track by -50% loops seamlessly. */
.mdf-press {
	display: block;
	padding: 48px 0;
	background-color: var(--mdf-fg);
}

.mdf-press .mdf-eyebrow {
	text-align: center;
	color: color-mix(in oklab, var(--mdf-bg) 60%, transparent);
}

.mdf-press__fade {
	margin-top: 32px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.mdf-press__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 48px;
	width: max-content;
	padding: 0 24px;
	animation: mdf-press-roll 48s linear infinite;
}

.mdf-press__logo {
	flex: none;
	width: auto;
	height: 28px;
	object-fit: contain;
	opacity: 0.8;
}

@keyframes mdf-press-roll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mdf-press__track {
		animation: none;
	}
}

@media (min-width: 768px) {
	.mdf-press {
		padding: 64px 0;
	}

	.mdf-press__fade {
		margin-top: 40px;
	}

	.mdf-press__track {
		gap: 80px;
	}

	.mdf-press__logo {
		height: 36px;
	}
}

/* 6.10 Expert advice */
.mdf-expert {
	padding-top: 80px;
	padding-bottom: 80px;
}

.mdf-expert__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 40px;
}

.mdf-expert__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.mdf-expert__title {
	margin-top: 16px;
	font-size: 30px;
	line-height: 36px;
}

.mdf-expert__text {
	max-width: 448px;
	margin: 24px 0 0;
	line-height: 1.625;
	color: var(--mdf-muted);
}

.mdf-steps {
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: mdf-step;
	font-size: 14px;
	line-height: 20px;
}

.mdf-steps > li {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-increment: mdf-step;
}

.mdf-steps > li + li {
	margin-top: 12px;
}

.mdf-steps > li::before {
	content: counter(mdf-step);
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background-color: var(--mdf-accent);
	color: var(--mdf-fg);
	font-size: 12px;
	font-weight: 300;
}

.mdf-expert .mdf-btn {
	margin-top: 40px;
}

@media (min-width: 768px) {
	.mdf-expert {
		padding-top: 112px;
		padding-bottom: 112px;
	}

	.mdf-expert__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
		gap: 80px;
	}

	.mdf-expert__title {
		font-size: 48px;
		line-height: 1;
	}
}

/* 6.11 Instagram */
.mdf-insta {
	display: block;
	padding-bottom: 16px;
}

.mdf-insta .mdf-head {
	margin-bottom: 32px;
}

.mdf-insta .mdf-head__title {
	font-size: 24px;
	line-height: 32px;
}

.mdf-insta__follow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--mdf-fg);
	text-decoration: none;
}

.mdf-insta__follow-text {
	display: none;
}

/* !important: Bricks prints its own column count for the feed with an ID selector */
.mdf-insta__feed ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 4px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mdf-insta__feed li {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.mdf-insta__feed li a {
	display: block;
}

.mdf-insta__feed li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.mdf-insta__feed li:hover img {
	transform: scale(1.05);
}

@media (min-width: 768px) {
	.mdf-insta .mdf-head__title {
		font-size: 30px;
		line-height: 36px;
	}

	.mdf-insta__follow-text {
		display: inline;
	}

	.mdf-insta__feed ul {
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	}
}

/* ------------------------------------------------------------------ */
/* 7. Footer                                                           */
/* ------------------------------------------------------------------ */

#brx-footer {
	margin-top: 96px;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

/* 7.1 Newsletter band */
.mdf-newsletter {
	border-bottom: 1px solid color-mix(in oklab, var(--mdf-bg) 15%, transparent);
	scroll-margin-top: 120px;
}

.mdf-newsletter__inner {
	align-items: center;
	padding-top: 64px;
	padding-bottom: 64px;
	padding-left: 24px;
	padding-right: 24px;
	text-align: center;
}

.mdf-newsletter__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--mdf-bg);
}

.mdf-newsletter__text {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: color-mix(in oklab, var(--mdf-bg) 70%, transparent);
}

.mdf-newsletter__form-wrap {
	width: 100%;
}

.mdf-nl-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: 768px;
	margin: 32px auto 0;
}

.mdf-nl-form input[type="text"],
.mdf-nl-form input[type="email"] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid color-mix(in oklab, var(--mdf-bg) 25%, transparent);
	border-radius: 0;
	background-color: transparent;
	color: var(--mdf-bg);
	font-family: var(--mdf-font);
	font-size: 14px;
	line-height: 20px;
}

.mdf-nl-form input::placeholder {
	color: color-mix(in oklab, var(--mdf-bg) 50%, transparent);
	opacity: 1;
}

.mdf-nl-form input:focus {
	border-color: var(--mdf-accent);
	outline: none;
}

.mdf-nl-form button {
	height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	background-color: var(--mdf-accent);
	color: var(--mdf-fg);
	font-family: var(--mdf-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.mdf-nl-form button:hover {
	opacity: 0.9;
}

.mdf-nl-form button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mdf-nl-message {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-accent);
}

.mdf-nl-message:empty {
	display: none;
}

.mdf-nl-message.is-error {
	color: oklch(0.75 0.15 25);
}

.mdf-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 640px) {
	.mdf-nl-form input[type="text"],
	.mdf-nl-form input[type="email"] {
		width: 224px;
	}
}

/* 7.2 Link columns */
.mdf-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 56px;
	padding-left: 24px;
	padding-right: 24px;
}

.mdf-footer__logo {
	width: auto;
	height: 56px;
	/* The dark logo, turned white for the dark footer */
	filter: brightness(0) invert(1);
}

.mdf-footer__about {
	max-width: 320px;
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.625;
	color: color-mix(in oklab, var(--mdf-bg) 65%, transparent);
}

.mdf-footer .mdf-social {
	gap: 16px;
	margin-top: 20px;
	color: color-mix(in oklab, var(--mdf-bg) 70%, transparent);
}

.mdf-footer__heading {
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mdf-accent);
}

.mdf-footer__links {
	margin-top: 20px;
	font-size: 14px;
	line-height: 20px;
}

.mdf-footer__links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mdf-footer__links li {
	margin: 0;
	overflow-wrap: anywhere;
	color: color-mix(in oklab, var(--mdf-bg) 70%, transparent);
}

.mdf-footer__links li + li {
	margin-top: 12px;
}

.mdf-footer__links a {
	color: color-mix(in oklab, var(--mdf-bg) 70%, transparent);
	text-decoration: none;
	transition: color 0.15s ease;
}

.mdf-footer__links a:hover {
	color: var(--mdf-bg);
}

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

/* 7.3 Copyright row */
.mdf-footer__bottom {
	border-top: 1px solid color-mix(in oklab, var(--mdf-bg) 15%, transparent);
}

.mdf-footer__bottom-inner {
	padding-top: 24px;
	padding-bottom: 24px;
	padding-left: 24px;
	padding-right: 24px;
	font-size: 12px;
	line-height: 16px;
	color: color-mix(in oklab, var(--mdf-bg) 50%, transparent);
}

/* ------------------------------------------------------------------ */
/* 8. Newsletter: sign-up form, popup and landing page                 */
/* ------------------------------------------------------------------ */

/* 8.1 Starkup Mail Collector form (used in the popup and on /postlisti/) */
.smc-wrap {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 40px 24px 32px;
	border: 0;
	border-radius: 0;
	background: none;
	font-family: var(--mdf-font);
	color: var(--mdf-fg);
}

.smc-wrap .smc-title {
	margin: 0;
	padding-right: 32px;
	font-size: 26px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--mdf-fg);
}

.smc-wrap .smc-subtitle {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.625;
	color: var(--mdf-muted);
}

.smc-wrap form {
	margin-top: 28px;
}

.smc-wrap .smc-field-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.smc-wrap .smc-field {
	margin: 0 0 16px;
}

.smc-wrap .smc-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 400;
	line-height: 18px;
	color: var(--mdf-fg);
}

.smc-wrap .smc-field input[type="text"],
.smc-wrap .smc-field input[type="email"] {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--mdf-border);
	border-radius: 0;
	background-color: var(--mdf-bg);
	box-shadow: none;
	font-family: var(--mdf-font);
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-fg);
	transition: border-color 0.15s ease;
}

.smc-wrap .smc-field input[type="text"]:focus,
.smc-wrap .smc-field input[type="email"]:focus {
	border-color: var(--mdf-fg);
	box-shadow: none;
	outline: none;
}

.smc-wrap .smc-submit {
	display: block;
	width: 100%;
	min-height: 56px;
	margin: 8px 0 0;
	padding: 16px 24px;
	border: 0;
	border-radius: 0;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
	font-family: var(--mdf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.smc-wrap .smc-submit:hover {
	background-color: var(--mdf-fg);
	opacity: 0.85;
}

.smc-wrap .smc-submit:disabled {
	background-color: var(--mdf-fg);
	opacity: 0.5;
	cursor: not-allowed;
}

.smc-wrap .smc-message {
	margin-top: 16px;
	padding: 14px 16px;
	border-left: 2px solid var(--mdf-accent);
	border-radius: 0;
	background-color: var(--mdf-sand);
	font-size: 14px;
	line-height: 20px;
	color: var(--mdf-fg);
}

.smc-wrap .smc-message.smc-error {
	border-left-color: oklch(0.6 0.2 25);
}

.smc-wrap .smc-close {
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	color: var(--mdf-muted);
}

/* The popup moves focus to this button when it opens; show that with the
   filled state instead of an outline ring. */
.smc-wrap .smc-close:hover,
.smc-wrap .smc-close:focus-visible {
	outline: none;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

@media (min-width: 480px) {
	.smc-wrap {
		padding: 48px 40px 40px;
	}

	.smc-wrap .smc-field-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* 8.2 Popup: a plain white panel with an accent line instead of the old
   patterned background (set on the element inside the popup template). */
.brx-popup:has(.smc-wrap) .brx-popup-content {
	border-top: 4px solid var(--mdf-accent);
	background-color: var(--mdf-bg) !important;
	box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.45);
}

.brx-popup:has(.smc-wrap) .brx-popup-content > div {
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}

.brx-popup:has(.smc-wrap) .brx-popup-backdrop {
	background-color: color-mix(in oklab, var(--mdf-fg) 55%, transparent);
}

/* Small label above the title, like the eyebrows elsewhere on the site */
.brx-popup .smc-wrap .smc-title::before {
	content: "Póstlisti";
	display: block;
	margin-bottom: 12px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mdf-muted);
}

/* 8.3 Landing page /postlisti/ */
.mdf-nl-page {
	background-color: var(--mdf-sand);
}

.mdf-nl-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 64px;
}

.mdf-nl-page__title {
	margin-top: 16px;
	font-size: 38px;
	font-weight: 300;
	line-height: 1.05;
}

.mdf-nl-page__lede {
	max-width: 448px;
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 1.625;
	color: var(--mdf-muted);
}

/* Check-mark list */
.mdf-checks {
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.mdf-checks > li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 15px;
	line-height: 22px;
	color: var(--mdf-fg);
	list-style: none;
}

.mdf-checks > li + li {
	margin-top: 12px;
}

.mdf-checks > li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background-color: var(--mdf-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-position: center;
	background-size: 12px 12px;
	background-repeat: no-repeat;
}

.mdf-nl-page__form {
	width: 100%;
	background-color: var(--mdf-bg);
}

/* On the landing page the heading is next to the form, and there is nothing
   to close. */
.mdf-nl-page__form .smc-title,
.mdf-nl-page__form .smc-subtitle,
.mdf-nl-page__form .smc-close {
	display: none !important;
}

.mdf-nl-page__form .smc-wrap {
	max-width: none;
	padding-top: 32px;
}

.mdf-nl-page__form .smc-wrap form {
	margin-top: 0;
}

/* The footer repeats the same sign-up; hide it here and close the gap */
body.mdf-newsletter-page .mdf-newsletter {
	display: none;
}

body.mdf-newsletter-page #brx-footer {
	margin-top: 0;
}

@media (min-width: 768px) {
	.mdf-nl-page__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
		gap: 80px;
		padding-top: 96px;
		padding-bottom: 112px;
	}

	.mdf-nl-page__title {
		font-size: 56px;
	}
}

/* ------------------------------------------------------------------ */
/* Advice band (catalogue and product pages)                           */
/* ------------------------------------------------------------------ */

.mdf-advice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	padding: 32px 24px;
	background-color: var(--mdf-fg);
	color: var(--mdf-bg);
}

.mdf-advice .mdf-eyebrow {
	color: var(--mdf-accent);
}

.mdf-advice__title {
	margin-top: 12px;
	font-size: 24px;
	line-height: 1.25;
	color: var(--mdf-bg);
}

.mdf-advice__text {
	max-width: 576px;
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.625;
	color: color-mix(in oklab, var(--mdf-bg) 65%, transparent);
}

.mdf-advice .mdf-btn {
	flex: none;
}

@media (min-width: 768px) {
	.mdf-advice {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
		padding: 56px;
	}

	.mdf-advice__title {
		font-size: 30px;
		line-height: 36px;
	}
}

/* -------------------------------------------------------------------- */
/* Swipe rows: soft edge and a position bar (classes set by initSwipe)   */
/* -------------------------------------------------------------------- */

/* Only rows that really overflow get .mdf-swipe, so desktop grids stay as they are. */
.mdf-swipe {
	--mdf-swipe-fade: 56px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--mdf-swipe-left, 0px), #000 calc(100% - var(--mdf-swipe-right, 0px)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--mdf-swipe-left, 0px), #000 calc(100% - var(--mdf-swipe-right, 0px)), transparent);
}

.mdf-swipe::-webkit-scrollbar {
	display: none;
}

/* The edge fades only on the side where more content is waiting. */
.mdf-swipe:not(.is-end) {
	--mdf-swipe-right: var(--mdf-swipe-fade);
}

.mdf-swipe:not(.is-start) {
	--mdf-swipe-left: 24px;
}

.mdf-nav__inner.mdf-swipe,
.mdf-chips.mdf-swipe {
	--mdf-swipe-fade: 40px;
}

/* Position bar under the row: the dark part shows where you are. */
.mdf-swipebar {
	position: relative;
	width: 100%;
	height: 2px;
	margin-top: 20px;
	background-color: var(--mdf-border);
	overflow: hidden;
}

.mdf-swipebar[hidden] {
	display: none;
}

.mdf-swipebar__thumb {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: var(--mdf-fg);
	will-change: transform;
}

/* Under the catalogue category chips the bar sits closer to the row. */
.mdf-chips + .mdf-swipebar {
	margin-top: 14px;
}
