/*
Theme Name: Makerlane
Theme URI: https://example.com/makerlane
Author: Your Store
Author URI: https://example.com
Description: A warm, marketplace-style WooCommerce theme built for print-on-demand shops selling to the US. Features personalization fields, made-to-order production times, favorites, free-shipping progress, and a handmade-market look.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: makerlane
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready, two-columns
*/

/* ------------------------------------------------------------
   1. Tokens
------------------------------------------------------------ */
:root {
	--ml-ink: #222325;
	--ml-muted: #5B5C62;
	--ml-line: #E4E2DE;
	--ml-surface: #F6F5F3;
	--ml-bg: #FFFFFF;
	--ml-accent: #E8590C;
	--ml-peach: #FDEBDD;
	--ml-teal: #1F5C5B;
	--ml-mint: #E3EFEC;
	--ml-good: #2F7D4F;
	--ml-price: #C2410C;

	--ml-radius-s: 8px;
	--ml-radius-m: 14px;
	--ml-radius-l: 28px;
	--ml-pill: 999px;

	--ml-font-display: var(--ml-font-body);
	--ml-font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ml-wrap: 1320px;
	--ml-gutter: clamp(16px, 4vw, 40px);
	--ml-shadow: 0 1px 2px rgba(34, 35, 37, .08), 0 8px 24px rgba(34, 35, 37, .08);
}

/* ------------------------------------------------------------
   2. Base
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ml-bg);
	color: var(--ml-ink);
	font-family: var(--ml-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.ml-nav-open { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--ml-accent); }

:focus-visible {
	outline: 3px solid var(--ml-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	font-family: var(--ml-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	background: var(--ml-ink); color: #fff;
	padding: 10px 16px; border-radius: var(--ml-pill);
}

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

.ml-main { min-height: 50vh; }

/* ------------------------------------------------------------
   3. Buttons & form controls
------------------------------------------------------------ */
.ml-btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid var(--ml-ink);
	border-radius: var(--ml-pill);
	background: var(--ml-ink);
	color: #fff;
	font-family: var(--ml-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.ml-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: #000;
	border-color: #000;
	color: #fff;
	transform: scale(1.02);
}

.ml-btn--ghost {
	background: transparent;
	color: var(--ml-ink);
}
.ml-btn--ghost:hover { background: var(--ml-ink); color: #fff; }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order,
.woocommerce .single_add_to_cart_button {
	background: var(--ml-ink);
	border-color: var(--ml-ink);
	color: #fff;
	width: 100%;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #000; border-color: #000; }

.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled:hover {
	background-color: var(--ml-ink);
	border-color: var(--ml-ink);
	color: #fff;
	opacity: .4;
	cursor: not-allowed;
	transform: none;
	padding: 12px 24px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #BDBBB6;
	border-radius: var(--ml-radius-s);
	background: #fff;
	color: var(--ml-ink);
	font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--ml-ink);
	box-shadow: 0 0 0 3px rgba(232, 89, 12, .25);
}
label { font-weight: 600; }

/* ------------------------------------------------------------
   4. Announcement & header
------------------------------------------------------------ */
.ml-announce {
	background: var(--ml-teal);
	color: #fff;
	text-align: center;
	font-size: .9rem;
	padding: 8px var(--ml-gutter);
}
.ml-announce a { color: #fff; }

.ml-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid var(--ml-line);
}
.admin-bar .ml-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ml-header { top: 0; position: relative; } }

.ml-header__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding-block: 14px;
}

.ml-brand-wrap { display: flex; align-items: center; gap: 4px; }
.ml-brand a { text-decoration: none; }
.ml-brand .custom-logo { max-height: 48px; width: auto; }
.ml-logo-text {
	font-family: var(--ml-font-display);
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--ml-accent);
	letter-spacing: -0.03em;
}
.ml-logo-text:hover { color: var(--ml-accent); }

.ml-search { position: relative; }
.ml-search input[type="search"] {
	min-height: 48px;
	padding: 10px 56px 10px 20px;
	border: 2px solid var(--ml-ink);
	border-radius: var(--ml-pill);
	background: var(--ml-surface);
}
.ml-search input[type="search"]:focus { background: #fff; }
.ml-search button {
	position: absolute;
	right: 4px; top: 50%;
	transform: translateY(-50%);
	width: 40px; height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--ml-accent);
	color: #fff;
	display: grid; place-items: center;
	cursor: pointer;
}
.ml-search button svg { width: 20px; height: 20px; }

.ml-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.ml-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ml-ink);
	cursor: pointer;
	text-decoration: none;
}
.ml-icon-btn:hover { background: var(--ml-surface); color: var(--ml-ink); }
.ml-icon-btn svg { width: 24px; height: 24px; }

.ml-count {
	position: absolute;
	top: 2px; right: 0;
	min-width: 20px; height: 20px;
	padding: 0 5px;
	border-radius: var(--ml-pill);
	background: var(--ml-accent);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}
.ml-count[hidden] { display: none; }

.ml-menu-toggle { display: none; }

/* Cart dropdown */
.ml-cart { position: relative; }
.ml-minicart {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 90;
	width: min(400px, calc(100vw - 24px));
	max-height: min(70vh, 640px);
	overflow-y: auto;
	padding: 16px 20px 20px;
	background: #fff;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius-m);
	box-shadow: 0 4px 10px rgba(34,35,37,.08), 0 18px 48px rgba(34,35,37,.18);
	animation: ml-drop-down .18s ease-out;
}
.ml-minicart[hidden] { display: none; }
@keyframes ml-drop-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ml-minicart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ml-minicart__title { margin: 0; font-size: 1.1rem; font-weight: 700; }
.ml-minicart ul.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
	position: relative;
	display: block;
	min-height: 88px;
	margin: 0;
	padding: 12px 36px 12px 80px;
	border-bottom: 1px solid var(--ml-line);
	font-size: .92rem;
	line-height: 1.4;
}
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item > a:not(.remove) { display: block; text-decoration: none; font-weight: 600; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img {
	position: absolute;
	left: 0; top: 12px;
	float: none;
	width: 64px !important; height: 64px !important;
	margin: 0;
	object-fit: cover;
	border-radius: var(--ml-radius-s);
	background: var(--ml-surface);
}
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove {
	position: absolute;
	right: 0; top: 10px; left: auto;
	display: grid; place-items: center;
	width: 28px; height: 28px;
	border-radius: 50%;
	color: var(--ml-muted) !important;
	background: transparent;
	font-size: 1.25rem;
	font-weight: 400;
	text-decoration: none;
}
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove:hover { background: var(--ml-surface); color: var(--ml-ink) !important; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .quantity { display: block; color: var(--ml-muted); margin-top: 2px; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item dl.variation {
	margin: 4px 0 0;
	padding: 0;
	border: 0;
}
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item dl.variation dt,
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item dl.variation dd { display: inline; float: none; margin: 0; padding: 0; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item dl.variation dd p { display: inline; margin: 0; }
.ml-minicart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item dl.variation dd::after { content: ""; display: block; }
.ml-minicart .woocommerce-mini-cart__total {
	display: flex; justify-content: space-between;
	margin: 14px 0;
	font-size: 1.05rem;
}
.ml-minicart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.ml-minicart .woocommerce-mini-cart__buttons .button { width: 100%; margin: 0; }
.ml-minicart .woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff; color: var(--ml-ink); }
.ml-minicart .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--ml-surface); }
.ml-minicart .woocommerce-mini-cart__empty-message { color: var(--ml-muted); margin: 8px 0 4px; }
@media (max-width: 600px) {
	.ml-minicart { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
}

.woocommerce .single_add_to_cart_button.is-loading { opacity: .7; cursor: progress; }

/* Category navigation */
.ml-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ml-nav > .ml-wrap > ul,
.ml-nav .ml-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	padding-bottom: 10px;
}
.ml-nav li { position: relative; }
.ml-nav a {
	display: block;
	padding: 6px 12px;
	border-radius: var(--ml-pill);
	font-size: .95rem;
	text-decoration: none;
	color: var(--ml-ink);
}
.ml-nav a:hover,
.ml-nav .current-menu-item > a,
.ml-nav .current-cat > a { background: var(--ml-surface); color: var(--ml-ink); }

.ml-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	z-index: 60;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius-m);
	box-shadow: var(--ml-shadow);
	display: none;
}
.ml-nav li:hover > .sub-menu,
.ml-nav li:focus-within > .sub-menu { display: block; }
.ml-nav .sub-menu a { border-radius: var(--ml-radius-s); }

@media (max-width: 900px) {
	.ml-header__bar {
		grid-template-columns: auto 1fr auto;
		gap: 8px 12px;
	}
	.ml-menu-toggle { display: inline-grid; }
	.ml-brand { justify-self: start; }
	.ml-search { grid-column: 1 / -1; grid-row: 2; }
	.ml-logo-text { font-size: 1.5rem; }

	.ml-nav {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 80;
		width: min(86vw, 360px);
		background: #fff;
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform .25s ease;
		box-shadow: var(--ml-shadow);
		padding-top: 72px;
	}
	.ml-nav.is-open { transform: none; }
	.ml-nav > .ml-wrap > ul,
	.ml-nav .ml-menu { display: block; }
	.ml-nav a { padding: 14px 8px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--ml-line); }
	.ml-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.ml-nav-close { position: absolute; top: 14px; right: 14px; }
	.ml-scrim {
		position: fixed; inset: 0; z-index: 70;
		background: rgba(34, 35, 37, .45);
	}
}
@media (min-width: 901px) {
	.ml-nav-close, .ml-scrim { display: none !important; }
}

/* ------------------------------------------------------------
   5. Home: hero
------------------------------------------------------------ */
.ml-hero {
	background: var(--ml-peach);
	overflow: hidden;
}
.ml-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 72px);
	padding-block: clamp(40px, 7vw, 96px);
}
.ml-hero h1 {
	font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.25rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	margin-bottom: 20px;
	max-width: 13ch;
}
.ml-hero p {
	font-size: 1.15rem;
	color: var(--ml-muted);
	max-width: 44ch;
	margin-bottom: 28px;
}
.ml-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* The signature: product prints pinned at slight angles */
.ml-pinboard {
	position: relative;
	aspect-ratio: 1 / 0.9;
	max-width: 560px;
	width: 100%;
	justify-self: center;
}
.ml-pin {
	position: absolute;
	width: 52%;
	aspect-ratio: 1;
	margin: 0;
	padding: 10px 10px 34px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(34,35,37,.08), 0 18px 40px rgba(34,35,37,.16);
	animation: ml-drop .7s cubic-bezier(.2, .9, .3, 1.2) both;
}
.ml-pin img,
.ml-pin .ml-pin__blank {
	width: 100%; height: 100%;
	object-fit: cover;
	border-radius: 3px;
}
.ml-pin__blank { display: block; }
.ml-pin figcaption {
	position: absolute;
	left: 12px; right: 12px; bottom: 8px;
	font-size: .8rem;
	color: var(--ml-muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ml-pin:nth-child(1) { left: 0; top: 8%; --r: -6deg; transform: rotate(-6deg); animation-delay: .05s; }
.ml-pin:nth-child(2) { right: 0; top: 0; --r: 4deg; transform: rotate(4deg); animation-delay: .2s; z-index: 2; }
.ml-pin:nth-child(3) { left: 24%; bottom: 0; --r: -1.5deg; transform: rotate(-1.5deg); animation-delay: .35s; z-index: 3; }
.ml-pin:nth-child(1) .ml-pin__blank { background: #F7C59F; }
.ml-pin:nth-child(2) .ml-pin__blank { background: var(--ml-mint); }
.ml-pin:nth-child(3) .ml-pin__blank { background: #D8D2F0; }
.ml-pin a { display: block; height: 100%; }

@keyframes ml-drop {
	from { opacity: 0; transform: translateY(-24px) rotate(0deg) scale(1.04); }
	to   { opacity: 1; transform: rotate(var(--r)); }
}

.ml-hero__single {
	border-radius: var(--ml-radius-l);
	overflow: hidden;
	aspect-ratio: 4 / 3.4;
}
.ml-hero__single img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
	.ml-hero__inner { grid-template-columns: 1fr; }
	.ml-pinboard { max-width: 420px; }
}

/* ------------------------------------------------------------
   6. Home: sections
------------------------------------------------------------ */
.ml-section { padding-block: clamp(40px, 6vw, 72px); }
.ml-section + .ml-section { padding-top: 0; }
.ml-section--tint { background: var(--ml-mint); padding-block: clamp(40px, 6vw, 72px) !important; }

.ml-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.ml-section__head h2 { margin: 0; }
.ml-section__head a { font-weight: 600; white-space: nowrap; }

/* Category circles */
.ml-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
	gap: 24px 16px;
	list-style: none;
	margin: 0; padding: 0;
}
.ml-cat a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
}
.ml-cat__img {
	width: 100%;
	max-width: 150px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ml-surface);
	display: grid; place-items: center;
	transition: box-shadow .2s ease;
}
.ml-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.ml-cat__initial {
	font-family: var(--ml-font-display);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--ml-teal);
}
.ml-cat a:hover .ml-cat__img { box-shadow: 0 0 0 3px var(--ml-ink); }
.ml-cat a:hover { color: var(--ml-ink); text-decoration: underline; }

/* How it's made (a genuine sequence) */
.ml-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 3vw, 40px);
	list-style: none;
	margin: 0; padding: 0;
	counter-reset: step;
}
.ml-step { counter-increment: step; }
.ml-step::before {
	content: counter(step);
	display: grid; place-items: center;
	width: 48px; height: 48px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--ml-teal);
	color: #fff;
	font-family: var(--ml-font-display);
	font-size: 1.2rem;
	font-weight: 700;
}
.ml-step h3 { margin-bottom: 6px; }
.ml-step p { color: var(--ml-muted); margin: 0; max-width: 36ch; }
@media (max-width: 720px) { .ml-steps { grid-template-columns: 1fr; } }

/* Trust strip */
.ml-trust {
	border-top: 1px solid var(--ml-line);
	padding-block: 28px;
}
.ml-trust ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px 32px;
	list-style: none;
	margin: 0; padding: 0;
}
.ml-trust li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ml-trust a { text-decoration: none; }
.ml-trust a:hover { text-decoration: underline; color: var(--ml-ink); }
.ml-trust svg { width: 28px; height: 28px; flex: none; color: var(--ml-teal); }

/* ------------------------------------------------------------
   7. Product grid & cards
------------------------------------------------------------ */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 20px;
	margin: 0 0 32px;
	padding: 0;
}
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.woocommerce ul.products,
	.woocommerce ul.products[class*="columns-"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0;
	text-align: left;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	text-decoration: none;
	color: var(--ml-ink);
}
.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 10px;
	border-radius: var(--ml-radius-m);
	background: var(--ml-surface);
	transition: box-shadow .2s ease;
}
.woocommerce ul.products li.product:hover a img { box-shadow: var(--ml-shadow); }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ml-font-body);
	font-size: .95rem;
	font-weight: 400;
	line-height: 1.35;
	padding: 0;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.woocommerce ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
	margin: 2px 0 6px;
	color: var(--ml-price);
	font-size: 1.05rem;
	font-weight: 700;
}
.woocommerce ul.products li.product .price del { color: var(--ml-muted); font-weight: 400; font-size: .85rem; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--ml-price); }

.woocommerce ul.products li.product .star-rating {
	display: inline-block;
	font-size: .75rem;
	margin: 0 4px 0 0;
	vertical-align: middle;
}
.ml-rating-row { display: flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--ml-muted); margin-bottom: 2px; }

.woocommerce ul.products li.product .button {
	margin-top: 8px;
	min-height: 40px;
	padding: 8px 16px;
	font-size: .9rem;
	width: 100%;
}
.woocommerce ul.products li.product .added_to_cart { display: block; margin-top: 6px; font-size: .9rem; }

/* Badges */
.ml-badges {
	position: absolute;
	top: 10px; left: 10px;
	z-index: 2;
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	pointer-events: none;
}
.ml-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--ml-pill);
	background: #fff;
	color: var(--ml-ink);
	font-size: .78rem;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(34,35,37,.15);
}
.ml-badge--best { background: var(--ml-peach); }

.woocommerce span.onsale {
	position: absolute;
	top: 10px; left: 10px; right: auto;
	z-index: 3;
	min-width: 0; min-height: 0;
	margin: 0;
	padding: 4px 10px;
	border-radius: var(--ml-pill);
	background: var(--ml-good);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.4;
}
.woocommerce ul.products li.product .onsale { top: 10px; left: 10px; right: auto; margin: 0; }
.woocommerce ul.products li.product .onsale ~ .ml-badges { top: 42px; }

/* Favorite heart */
.ml-fav {
	position: absolute;
	top: 10px; right: 10px;
	z-index: 4;
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ml-ink);
	box-shadow: 0 1px 4px rgba(34,35,37,.18);
	cursor: pointer;
	opacity: 0;
	transition: opacity .15s ease, transform .15s ease;
}
.ml-fav svg { width: 20px; height: 20px; }
li.product:hover .ml-fav,
.ml-fav:focus-visible,
.ml-fav[aria-pressed="true"] { opacity: 1; }
.ml-fav:hover { transform: scale(1.08); }
.ml-fav[aria-pressed="true"] { color: #C72C41; }
.ml-fav[aria-pressed="true"] svg path { fill: currentColor; }
@media (hover: none) { .ml-fav { opacity: 1; } }

/* ------------------------------------------------------------
   8. Shop archive
------------------------------------------------------------ */
.ml-shop { padding-block: 24px 64px; }
.ml-shop.has-sidebar {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 40px;
}
@media (max-width: 900px) { .ml-shop.has-sidebar { grid-template-columns: 1fr; } }

.ml-shop__sidebar .widget { margin-bottom: 32px; }
.ml-shop__sidebar .widget-title { font-family: var(--ml-font-body); font-size: 1rem; font-weight: 700; }
.ml-shop__sidebar ul { list-style: none; padding: 0; margin: 0; }
.ml-shop__sidebar li { padding: 4px 0; }

.woocommerce .woocommerce-breadcrumb {
	font-size: .88rem;
	color: var(--ml-muted);
	margin: 0 0 16px;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--ml-muted); }

.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-products-header__title { margin-bottom: 8px; }
.term-description { color: var(--ml-muted); max-width: 70ch; }

.woocommerce .woocommerce-result-count { margin: 0 0 20px; color: var(--ml-muted); line-height: 48px; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select { border-radius: var(--ml-pill); padding-inline: 18px 36px; border-color: var(--ml-ink); }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid; place-items: center;
	min-width: 44px; height: 44px;
	border-radius: 50%;
	font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ml-ink); color: #fff; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ml-surface); color: var(--ml-ink); }

/* ------------------------------------------------------------
   9. Single product
------------------------------------------------------------ */
.woocommerce div.product { position: relative; }

/* Gallery + buy box live in their own grid; tabs and related products sit below it. */
.ml-product-top {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px clamp(24px, 5vw, 64px);
	align-items: start;
	margin-bottom: 16px;
}
.ml-product-top > * { min-width: 0; }
.woocommerce div.product .ml-product-top div.images,
.woocommerce div.product .ml-product-top div.summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.woocommerce div.product .ml-product-top div.images { grid-column: 1; grid-row: 1; }
.woocommerce div.product .ml-product-top div.summary { grid-column: 2; grid-row: 1; }
.woocommerce div.product .ml-product-top > :not(.images):not(.summary):not(.onsale) { grid-column: 1 / -1; }
@media (max-width: 860px) {
	.ml-product-top { grid-template-columns: 1fr; }
	.woocommerce div.product .ml-product-top div.summary { grid-column: 1; grid-row: 2; }
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ml-price);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--ml-price); }
/* The selected variation's price replaces the range at the top, so the duplicate below is hidden. */
.woocommerce div.product .single_variation .woocommerce-variation-price { display: none; }
.woocommerce div.product .single_variation .woocommerce-variation-availability p { margin: 0 0 10px; }
.woocommerce div.product p.price del { color: var(--ml-muted); font-size: 1.1rem; font-weight: 400; }

.woocommerce div.product .product_title {
	font-family: var(--ml-font-body);
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom: 8px;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 16px; font-size: .92rem; }
.woocommerce .star-rating { color: var(--ml-ink); }
.woocommerce .star-rating::before { color: #CFCDC8; }

.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ml-muted); }

.woocommerce div.product form.cart { margin: 20px 0 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; border: 0; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; }
.woocommerce div.product form.cart .variations label { display: block; margin: 12px 0 6px; }
.woocommerce div.product form.cart .variations select { margin-right: 0; min-width: 100%; }
.woocommerce div.product form.cart .reset_variations { font-size: .88rem; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0 0 12px; }

/* Quantity stepper: [ − ] [ 2 ] [ + ] */
.woocommerce div.quantity {
	display: inline-flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid #BDBBB6;
	border-radius: var(--ml-pill);
	background: #fff;
	overflow: hidden;
}
.woocommerce div.quantity:focus-within { border-color: var(--ml-ink); box-shadow: 0 0 0 3px rgba(232, 89, 12, .25); }
.woocommerce div.quantity .qty {
	width: 52px;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
	appearance: textfield;
}
.woocommerce div.quantity .qty:focus { box-shadow: none; }
.woocommerce div.quantity .qty::-webkit-outer-spin-button,
.woocommerce div.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ml-qty-btn {
	display: grid; place-items: center;
	width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ml-ink);
	font: inherit;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}
.ml-qty-btn:hover { background: var(--ml-surface); }
.ml-qty-btn:focus-visible { outline-offset: -3px; }
.woocommerce div.quantity.ml-qty-static { border: 0; height: auto; }
.woocommerce div.quantity.ml-qty-static .ml-qty-btn { display: none; }
.woocommerce-cart-form div.quantity { height: 42px; }
.woocommerce div.product form.cart .button { float: none; }

/* Gallery: thumbnails on the left, one main image, swipe on touch. No hover zoom. */
.ml-gallery {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}
.ml-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.ml-gallery__thumbs {
	contain: size;           /* the main image decides the height; the strip scrolls */
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
	scrollbar-width: thin;
	padding: 3px;
}
.ml-gallery__thumb {
	flex: none;
	width: 100%;
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: var(--ml-radius-s);
	background: var(--ml-surface);
	overflow: hidden;
	cursor: pointer;
	opacity: .65;
	transition: opacity .15s ease;
}
.ml-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ml-gallery__thumb:hover { opacity: 1; }
.ml-gallery__thumb[aria-current="true"] { opacity: 1; outline: 2px solid var(--ml-ink); outline-offset: 2px; }

.ml-gallery__stage { position: relative; min-width: 0; }
.ml-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--ml-radius-m);
	background: var(--ml-surface);
	aspect-ratio: 1;
}
.ml-gallery__track::-webkit-scrollbar { display: none; }
.ml-gallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: grid;
	place-items: center;
}
.ml-gallery__slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ml-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.ml-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--ml-ink);
	box-shadow: 0 1px 4px rgba(34,35,37,.2);
	cursor: pointer;
}
.ml-gallery__nav svg { width: 22px; height: 22px; }
.ml-gallery__prev { left: 12px; }
.ml-gallery__next { right: 12px; }
.ml-gallery__nav:disabled { opacity: 0; pointer-events: none; }
.ml-gallery .ml-fav { opacity: 1; top: 12px; right: 12px; width: 44px; height: 44px; }
.ml-gallery .onsale { top: 12px !important; left: 12px !important; }
@media (max-width: 860px) {
	.ml-gallery { grid-template-columns: minmax(0, 1fr); }
	.ml-gallery__thumbs { order: 2; contain: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
	.ml-gallery__thumb { width: 64px; }
	.ml-gallery__nav { display: none; }
}

.ml-lightbox {
	width: min(96vw, 1400px);
	max-width: none;
	height: 94vh;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
}
.ml-lightbox::backdrop { background: rgba(20, 20, 22, .88); }
.ml-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.ml-lightbox__close {
	position: fixed;
	top: 16px; right: 16px;
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: #fff; color: var(--ml-ink);
	cursor: pointer;
}
.ml-lightbox__close svg { width: 24px; height: 24px; }

/* Buy it now */
.woocommerce div.product form.cart .ml-buy-now,
.woocommerce .single_add_to_cart_button.ml-buy-now {
	width: 100%;
	margin-top: 10px;
	background: #fff;
	color: var(--ml-ink);
	border-color: var(--ml-ink);
}
.woocommerce .single_add_to_cart_button.ml-buy-now:hover { background: var(--ml-surface); color: var(--ml-ink); }
.woocommerce .single_add_to_cart_button.ml-buy-now.disabled,
.woocommerce .single_add_to_cart_button.ml-buy-now:disabled { background: #fff; color: var(--ml-ink); }

/* Personalization */
.ml-personalize {
	margin: 16px 0;
	padding: 16px;
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius-m);
	background: var(--ml-surface);
}
.ml-personalize label { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ml-personalize label svg { width: 18px; height: 18px; }
.ml-personalize__opt { font-weight: 400; color: var(--ml-muted); }
.ml-personalize__hint { font-size: .9rem; color: var(--ml-muted); margin: 0 0 10px; white-space: pre-line; }
.ml-personalize__count { text-align: right; font-size: .82rem; color: var(--ml-muted); margin-top: 4px; }

/* Delivery facts */
.ml-facts {
	list-style: none;
	margin: 24px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--ml-line);
	display: grid; gap: 12px;
}
.ml-facts li { display: flex; gap: 12px; align-items: flex-start; }
.ml-facts svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--ml-teal); }
.ml-facts strong { display: block; }
.ml-facts span { color: var(--ml-muted); font-size: .92rem; }
.ml-facts span a { color: var(--ml-ink); font-weight: 600; }
.ml-facts strong .amount, .ml-facts strong .woocommerce-Price-currencySymbol { color: inherit; font-size: inherit; font-weight: inherit; }

.ml-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--ml-line);
}
.ml-share__label { font-weight: 700; }
.ml-share ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ml-share__btn {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid transparent;
	border-radius: var(--ml-pill);
	font: inherit;
	font-size: .85rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	transition: filter .15s ease;
}
.ml-share__btn:hover { color: #fff; filter: brightness(.9); }
.ml-share__btn svg { width: 16px; height: 16px; }
.ml-share--facebook  { background: #1877F2; }
.ml-share--pinterest { background: #E60023; }
.ml-share--x         { background: #000; }
.ml-share--whatsapp  { background: #128C7E; }
.ml-share--plain { background: #fff; color: var(--ml-ink); border-color: #BDBBB6; }
.ml-share--plain:hover { color: var(--ml-ink); background: var(--ml-surface); filter: none; }

.woocommerce div.product .product_meta { font-size: .88rem; color: var(--ml-muted); margin-top: 20px; }
.woocommerce div.product .product_meta > span { display: block; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { clear: both; margin-top: 48px; padding-top: 8px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex; flex-wrap: wrap; gap: 8px;
	padding: 0; margin: 0 0 24px;
	border-bottom: 1px solid var(--ml-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 0; background: none; margin: 0; padding: 0; border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 16px;
	font-weight: 600;
	color: var(--ml-muted);
	border-bottom: 3px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ml-ink); border-bottom-color: var(--ml-ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 75ch; overflow-wrap: break-word; }
.woocommerce div.product .woocommerce-tabs .panel img { height: auto; border-radius: var(--ml-radius-s); }
.woocommerce div.product .woocommerce-tabs .panel table { display: block; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border-top: 1px solid var(--ml-line); }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border-bottom: 1px solid var(--ml-line); padding: 10px; font-style: normal; }
.ml-size-guide table { border-collapse: collapse; width: 100%; }
.ml-size-guide th, .ml-size-guide td { border: 1px solid var(--ml-line); padding: 8px 12px; text-align: center; }
.ml-size-guide-wrap { overflow-x: auto; }

.woocommerce div.product .related > h2,
.woocommerce div.product .upsells > h2 { margin: 48px 0 24px; }

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--ml-line); border-radius: var(--ml-radius-m); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; border: 0; background: var(--ml-surface); }

/* ------------------------------------------------------------
   10. Cart, checkout, account, notices
------------------------------------------------------------ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0;
	border-left: 4px solid var(--ml-teal);
	border-radius: var(--ml-radius-s);
	background: var(--ml-mint);
	color: var(--ml-ink);
}
.woocommerce-error { border-left-color: #B42318; background: #FDECEA; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ml-teal); }
.woocommerce-error::before { color: #B42318; }

.woocommerce table.shop_table { border-radius: var(--ml-radius-m); border-color: var(--ml-line); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--ml-line); }
.woocommerce-cart table.cart img { width: 80px; border-radius: var(--ml-radius-s); }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
	background: var(--ml-surface);
	border-radius: var(--ml-radius-m);
	padding: 24px;
}
.woocommerce .cart-collaterals .cart_totals table { background: #fff; }
.woocommerce-checkout #payment { background: #fff; border-radius: var(--ml-radius-m); }

dl.variation { font-size: .88rem; color: var(--ml-muted); }

/* WooCommerce Cart & Checkout blocks: same pill buttons and fields as the rest of the store */
body .wc-block-components-button:not(.is-link),
body .wc-block-cart__submit-button,
body .wc-block-components-checkout-place-order-button,
body .wc-block-components-totals-coupon__button {
	min-height: 52px;
	border: 2px solid var(--ml-ink);
	border-radius: var(--ml-pill) !important;
	background: var(--ml-ink);
	color: #fff;
	font-family: var(--ml-font-body);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}
body .wc-block-components-button:not(.is-link):hover,
body .wc-block-components-button:not(.is-link):focus { background: #000; border-color: #000; color: #fff; }
body .wc-block-components-button:not(.is-link):disabled { opacity: .45; }
body .wc-block-components-totals-coupon__button { min-height: 0; height: auto; padding-inline: 20px; }
body .wc-block-components-quantity-selector { border-radius: var(--ml-pill); border-color: #BDBBB6; overflow: hidden; }
body .wc-block-components-quantity-selector::after { border-radius: var(--ml-pill); border-color: #BDBBB6 !important; }
body .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { font-size: 1.15rem; color: var(--ml-ink); opacity: 1; }
body .wc-block-components-text-input input,
body .wc-block-components-text-input textarea,
body .wc-blocks-components-select .wc-blocks-components-select__select,
body .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: var(--ml-radius-s); }
body .wc-block-components-product-price,
body .wc-block-cart-item__total .wc-block-components-product-price__value { color: var(--ml-ink); }
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 800; }
dl.variation dt { font-weight: 600; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: var(--ml-radius-s); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ml-surface); font-weight: 600; }

/* Empty states */
.ml-empty {
	text-align: center;
	padding: 56px 24px;
	border-radius: var(--ml-radius-l);
	background: var(--ml-surface);
}
.ml-empty svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--ml-accent); }
.ml-empty p { color: var(--ml-muted); max-width: 44ch; margin-inline: auto; }

/* ------------------------------------------------------------
   11. Pages & blog
------------------------------------------------------------ */
.ml-page { padding-block: 40px 72px; }
.ml-page--narrow { max-width: 820px; }
.ml-entry-content > * { max-width: 75ch; }
.ml-entry-content > .alignwide { max-width: 1100px; }
.ml-entry-content > .alignfull { max-width: none; }
.woocommerce-cart .ml-entry-content > *,
.woocommerce-checkout .ml-entry-content > *,
.woocommerce-account .ml-entry-content > *,
.ml-entry-content > .woocommerce { max-width: none; }

.ml-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 40px 24px;
}
.ml-post-card a { text-decoration: none; }
.ml-post-card img { border-radius: var(--ml-radius-m); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 12px; }
.ml-post-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.ml-meta { color: var(--ml-muted); font-size: .9rem; margin-bottom: 8px; }
.ml-featured { border-radius: var(--ml-radius-l); overflow: hidden; margin: 0 0 32px; }

.nav-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.pagination .nav-links { justify-content: center; }
.page-numbers { padding: 8px 14px; border-radius: var(--ml-pill); text-decoration: none; }
.page-numbers.current { background: var(--ml-ink); color: #fff; }

.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--ml-line); }

.ml-404 { text-align: center; padding-block: 96px; }
.ml-404 h1 { font-size: clamp(3rem, 2rem + 6vw, 6rem); }
.ml-404 .ml-search { max-width: 480px; margin: 24px auto; }

/* ------------------------------------------------------------
   12. Footer
------------------------------------------------------------ */
.ml-footer {
	background: var(--ml-teal);
	color: #fff;
	margin-top: 0;
}
.ml-footer a { color: #fff; text-decoration: none; }
.ml-footer a:hover { text-decoration: underline; color: #fff; }
.ml-footer__grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.5fr);
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 32px;
	padding-block: 48px 28px;
}
.ml-footer h2 {
	font-family: var(--ml-font-body);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 14px;
}
.ml-footer ul { list-style: none; margin: 0; padding: 0; }
.ml-footer li { margin-bottom: 8px; }
.ml-footer__brand .ml-logo-text { color: #fff; }
.ml-footer__brand p { opacity: .85; max-width: 34ch; margin-top: 12px; }
.ml-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.18);
	font-size: .82rem;
}
.ml-footer__bottom-inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 10px 20px;
	padding-block: 12px;
}
.ml-footer__copy { opacity: .85; }
.ml-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.ml-payments { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ml-payments li {
	display: flex; align-items: center; justify-content: center;
	min-width: 46px; height: 28px;
	padding: 0 8px;
	margin: 0;
	border-radius: 5px;
	background: #fff;
	color: var(--ml-ink);
	font-size: .7rem;
	font-weight: 700;
	white-space: nowrap;
}
.ml-payments--image img { max-height: 30px; width: auto; }

/* Payment badges in each brand's real colors (text badges, not logos) */
.ml-payments li.ml-pay { border: 1px solid rgba(0,0,0,.08); }
.ml-payments .ml-pay--visa       { background: #fff; color: #1A1F71; font-style: italic; font-weight: 900; letter-spacing: .02em; }
.ml-payments .ml-pay--mastercard { background: #fff; color: #231F20; background-image: linear-gradient(90deg, #EB001B 0 50%, #F79E1B 50% 100%); background-size: 100% 3px; background-repeat: no-repeat; background-position: bottom; }
.ml-payments .ml-pay--amex       { background: #2E77BC; color: #fff; }
.ml-payments .ml-pay--discover   { background: #fff; color: #231F20; background-image: linear-gradient(#FF6000, #FF6000); background-size: 100% 3px; background-repeat: no-repeat; background-position: bottom; }
.ml-payments .ml-pay--paypal     { background: #fff; color: #003087; font-style: italic; font-weight: 900; }
.ml-payments .ml-pay--paypal .ml-pay__alt { color: #009CDE; }
.ml-payments .ml-pay--applepay   { background: #000; color: #fff; }
.ml-payments .ml-pay--googlepay  { background: #fff; color: #5F6368; background-image: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%); background-size: 100% 3px; background-repeat: no-repeat; background-position: bottom; }
.ml-payments .ml-pay--shoppay    { background: #5A31F4; color: #fff; }
.ml-payments .ml-pay--venmo      { background: #008CFF; color: #fff; }
.ml-payments .ml-pay--klarna     { background: #FFB3C7; color: #0B051D; }
.ml-payments .ml-pay--afterpay   { background: #B2FCE4; color: #000; }
.ml-payments .ml-pay--affirm     { background: #fff; color: #4A4AF4; }

.ml-currency {
	display: inline-flex; align-items: center;
	height: 28px;
	padding: 0 10px;
	border: 1px solid rgba(255,255,255,.4);
	border-radius: var(--ml-pill);
	font-weight: 600;
	white-space: nowrap;
}
.ml-social li { margin-bottom: 8px; }

@media (max-width: 860px) { .ml-footer__grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; } .ml-footer__brand { grid-column: 1 / -1; } }

/* ------------------------------------------------------------
   13. Email sign-up
------------------------------------------------------------ */
.ml-newsletter { background: var(--ml-peach); }
.ml-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 16px 48px;
	padding-block: clamp(32px, 5vw, 56px);
}
.ml-newsletter h2 { margin-bottom: 6px; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem); }
.ml-newsletter__copy p { margin: 0; color: var(--ml-muted); max-width: 46ch; }
.ml-newsletter__fields { display: flex; gap: 8px; }
.ml-newsletter__fields input[type="email"] { border-radius: var(--ml-pill); border: 2px solid var(--ml-ink); padding-inline: 20px; }
.ml-newsletter__fields .ml-btn { flex: none; }
.ml-newsletter__msg { margin: 0 0 10px; font-weight: 600; color: var(--ml-good); }
.ml-newsletter__msg.is-error { color: #B42318; }
.ml-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
	.ml-newsletter__inner { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
	.ml-newsletter__fields { flex-direction: column; }
}

/* ------------------------------------------------------------
   14. Contact page
------------------------------------------------------------ */
.ml-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 32px clamp(32px, 6vw, 80px);
	align-items: start;
}
.ml-contact__intro { font-size: 1.1rem; color: var(--ml-muted); max-width: 46ch; }
.ml-contact__list { margin: 28px 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.ml-contact__list dt { font-weight: 700; }
.ml-contact__list dd { margin: 0; }
.ml-contact__form {
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--ml-line);
	border-radius: var(--ml-radius-l);
}
.ml-contact__form .ml-empty { background: transparent; padding: 24px 8px; }
.ml-contact__form .wpcf7-form p { margin-bottom: 16px; }
.ml-contact__form .wpcf7-form label { display: block; }
.ml-contact__form .wpcf7-form input:not([type="submit"]),
.ml-contact__form .wpcf7-form textarea,
.ml-contact__form .wpcf7-form select { margin-top: 6px; }
.ml-contact__form .wpcf7-submit {
	min-height: 48px; padding: 12px 28px;
	border: 2px solid var(--ml-ink); border-radius: var(--ml-pill);
	background: var(--ml-ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ml-contact__form .wpcf7-not-valid-tip { font-size: .88rem; color: #B42318; }
.ml-contact__form .wpcf7-response-output { border-radius: var(--ml-radius-s); margin: 16px 0 0 !important; }
@media (max-width: 860px) { .ml-contact { grid-template-columns: 1fr; } }

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