/*
Theme Name: Miss Merylin
Template: woodmart
Version: 1.0.0
Description: Miss Merylin premium child theme for WoodMart — storefront design mapped onto WoodMart's own CSS variables and classes (brand colours, no template overrides).
Author: Miss Merylin
Text Domain: missmerylin
*/

/* ==========================================================================
   1 · BRAND TOKENS  (Miss Merylin)
   ========================================================================== */
:root {
	--mm-black: #1a1a1a;
	--mm-accent: #c8556a;          /* rose red — replaces storefront gold #B8965A */
	--mm-blush: #f5ede8;
	--mm-offwhite: #f7f4f0;
	--mm-gray: #888888;            /* text secondary */
	--mm-muted: #aaaaaa;           /* text muted */
	--mm-border: #ebebeb;
	--mm-white: #ffffff;

	--mm-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--mm-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2 · STOREFRONT DESIGN TOKENS  (ported from apps/web/app/globals.css)
   gold → pink, #FAFAF8 → blush, radius 8–16px → 0 (sharp editorial)
   ========================================================================== */
:root {
	--color-primary:        #1a1a1a;
	--color-accent:         #c8556a;
	--color-bg:             #f5ede8;
	--color-surface:        #ffffff;
	--color-border:         #ebebeb;
	--color-text-primary:   #1a1a1a;
	--color-text-secondary: #888888;
	--color-text-muted:     #aaaaaa;

	/* Inventory/status colours — kept from storefront (functional, not brand) */
	--color-fast: #047857;     --color-fast-bg: #ECFDF5;
	--color-imported: #92400E; --color-imported-bg: #FFF8ED;
	--color-preorder: #5B21B6; --color-preorder-bg: #F5F3FF;
	--color-incoming: #1D4ED8; --color-incoming-bg: #EFF6FF;
	--color-sold-out: #6B7280; --color-sold-out-bg: #F3F4F6;
	--color-limited-bg: #111111;

	--spacing-xs: 4px;  --spacing-sm: 8px;  --spacing-md: 16px;
	--spacing-lg: 24px; --spacing-xl: 32px;

	--radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-full: 999px;

	--text-xs: 11px; --text-sm: 13px; --text-md: 15px;
	--text-base: 16px; --text-lg: 18px; --text-xl: 22px;

	--ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-cinematic: cubic-bezier(0.16, 1, 0.30, 1);
	--ease-soft:      cubic-bezier(0.32, 0.72, 0, 1);
	--ease-drift:     cubic-bezier(0.45, 0, 0.55, 1);
	--dur-quick: 200ms; --dur-base: 550ms; --dur-slow: 1100ms; --dur-glacial: 20000ms;
}

/* ==========================================================================
   3 · WOODMART VARIABLE OVERRIDES  (--wd-* / --btn-*)
   Re-points WoodMart's native design system at Miss Merylin brand values, so
   header builder, mega menu, footer, Elementor widgets all inherit the brand.
   ========================================================================== */
:root {
	/* Accent / colour */
	--wd-primary-color: var(--mm-accent);
	--wd-main-bgcolor: var(--mm-blush);
	--wd-link-color: var(--mm-black);
	--wd-link-color-hover: var(--mm-accent);
	--wd-title-color: var(--mm-black);
	--wd-text-color: var(--mm-black);
	--wd-alternative-color: var(--mm-gray);
	--wd-label-color: var(--mm-accent);
	--wd-star-color: var(--mm-accent);
	--wd-empty-star-color: var(--mm-border);

	/* Entities (product/post titles) + headings */
	--wd-entities-title-color: var(--mm-black);
	--wd-entities-title-color-hover: var(--mm-accent);
	--wd-entities-title-font: var(--mm-font-body);
	--wd-title-font: var(--mm-font-heading);
	--wd-widget-title-font: var(--mm-font-heading);
	--wd-widget-title-color: var(--mm-black);

	/* Body + header element typography */
	--wd-text-font: var(--mm-font-body);
	--wd-header-el-font: var(--mm-font-body);
	--wd-header-el-color: var(--mm-black);
	--wd-header-el-color-hover: var(--mm-accent);
	--wd-navigation-color: 26, 26, 26;

	/* Actions (wishlist/compare/quick icons) */
	--wd-action-color: var(--mm-black);
	--wd-action-color-hover: var(--mm-accent);
	--wd-action-icon-color: var(--mm-black);
	--wd-action-icon-color-hover: var(--mm-accent);

	/* Forms */
	--wd-form-brd-color: var(--mm-border);
	--wd-form-brd-color-focus: var(--mm-black);
	--wd-form-bg: var(--mm-white);
	--wd-form-color: var(--mm-black);

	/* Sharp editorial corners everywhere */
	--wd-brd-radius: 0px;
	--wd-cat-brd-radius: 0px;
	--wd-form-brd-radius: 0px;
	--wd-thumb-brd-radius: 0px;
	--wd-arrow-radius: 0px;
	--wd-social-radius: 0px;
	--wd-pagin-radius: 0px;
	--wd-popup-brd-radius: 0px;

	/* Product grid spacing → storefront (16px column gap, 40px row gap) */
	--wd-prod-gap: 16px;
	--wd-col-gap: 16px;
	--wd-row-gap: 40px;
	--wd-prod-shadow: none;

	/* Buttons — charcoal default, accent hover, square, Inter, uppercase */
	--btn-font-family: var(--mm-font-body);
	--btn-accented-font-family: var(--mm-font-body);
	--btn-default-font-family: var(--mm-font-body);
	--btn-brd-radius: 0px;
	--btn-default-brd-radius: 0px;
	--btn-accented-brd-radius: 0px;
	--btn-accented-bgcolor: var(--mm-black);
	--btn-accented-bgcolor-hover: var(--mm-accent);
	--btn-accented-color: var(--mm-white);
	--btn-accented-color-hover: var(--mm-white);
	--btn-accented-transform: uppercase;
}

/* ==========================================================================
   4 · BASE + STOREFRONT TYPE UTILITIES + ANIMATIONS  (globals.css port)
   ========================================================================== */
body {
	background-color: var(--mm-blush);
	color: var(--mm-black);
	font-family: var(--mm-font-body);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: -0.003em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--mm-font-heading); color: var(--mm-black); }

.font-editorial { font-family: var(--mm-font-heading); font-feature-settings: "liga" 1, "kern" 1; }
.label-xs { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.label-sm { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.snap-card { scroll-snap-align: start; flex-shrink: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp var(--dur-base) var(--ease-editorial) both; }
.animate-fade-up-delay-1 { animation-delay: 0.08s; }
.animate-fade-up-delay-2 { animation-delay: 0.18s; }
.animate-fade-up-delay-3 { animation-delay: 0.3s; }

@keyframes imageReveal { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.animate-image-reveal { animation: imageReveal var(--dur-slow) var(--ease-cinematic) both; will-change: transform, opacity; }

@keyframes zoomDrift { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.animate-zoom-drift { animation: zoomDrift var(--dur-glacial) var(--ease-drift) infinite both; will-change: transform; }

.fade-in-section { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease-out, transform 0.65s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

.soft-reveal { opacity: 0; transition: opacity var(--dur-slow) var(--ease-cinematic), transform var(--dur-slow) var(--ease-cinematic); will-change: opacity, transform; }
.soft-reveal--rise { transform: translateY(18px); }
.soft-reveal--image { transform: scale(1.06); }
.soft-reveal.is-visible { opacity: 1; transform: none; }

@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.shimmer { background: linear-gradient(105deg, #F5EFE8 0%, #EDE5D9 40%, #F5EFE8 55%, #EDE5D9 100%); background-size: 200% 100%; animation: shimmer 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
	.animate-zoom-drift, .animate-image-reveal { animation: none; transform: none; opacity: 1; }
	.fade-in-section, .soft-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   5 · PRODUCT CARD  →  WoodMart .product-grid-item  (storefront ProductCard)
   3:4 portrait · 700ms zoom · cinematic bottom gradient · overline → name(12/300)
   → price(11/300) · inline accent discount · info lift on hover · sharp corners
   ========================================================================== */
.wd-product.product-grid-item,
.wd-product.product-grid-item .product-element-top,
.wd-product.product-grid-item .wd-product-img { box-shadow: none !important; }

.wd-product.product-grid-item { border: none; background: transparent; }

.wd-product.product-grid-item .wd-product-img {
	position: relative;
	margin-bottom: 12px;
	border-radius: 0;
	overflow: hidden;
	box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.wd-product.product-grid-item .wd-product-img img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform 700ms ease-out;
}
.wd-product.product-grid-item:hover .wd-product-img img { transform: scale(1.05); }

/* cinematic bottom gradient (52% height) */
.wd-product.product-grid-item .wd-product-img::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 52%;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(to top, rgba(0,0,0,0.11) 0%, rgba(0,0,0,0.04) 40%, transparent 100%);
}

/* info block lifts 2px toward image on desktop hover */
.wd-product.product-grid-item .product-element-bottom { transition: transform 500ms var(--ease-editorial); }
@media (min-width: 769px) {
	.wd-product.product-grid-item:hover .product-element-bottom { transform: translateY(-2px); }
}

/* category overline (WoodMart brand element) — 8px, .2em, muted */
.wd-product.product-grid-item .wd-product-brands,
.wd-product.product-grid-item .wd-product-brands a {
	font-family: var(--mm-font-body);
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1;
	color: #CACACA;
}
.wd-product.product-grid-item .wd-product-brands { margin-bottom: 5px; }

/* product name — 12px / 300, 2-line clamp */
.wd-product.product-grid-item .wd-entities-title,
.wd-product.product-grid-item .wd-entities-title a {
	font-family: var(--mm-font-body);
	font-size: 12px;
	font-weight: 300;
	line-height: 1.4;
	color: #1A1A1A;
	letter-spacing: 0;
}
.wd-product.product-grid-item .wd-entities-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px;
}

/* price row — 11px / 300; struck original muted; ins normal */
.wd-product.product-grid-item .price {
	font-family: var(--mm-font-body);
	font-size: 11px;
	font-weight: 300;
	color: #111111;
	letter-spacing: -0.01em;
}
.wd-product.product-grid-item .price del,
.wd-product.product-grid-item .price del .amount { font-size: 10px; font-weight: 300; color: #C8C8C8; }
.wd-product.product-grid-item .price ins,
.wd-product.product-grid-item .price ins .amount { text-decoration: none; }

/* discount % (Phase-1 woocommerce_sale_flash filter → "-30%") as the storefront's
   bottom-left editorial badge, in brand accent */
.wd-product.product-grid-item .onsale {
	top: auto;
	bottom: 10px;
	left: 10px;
	right: auto;
	padding: 3px 6px;
	border-radius: 0;
	border: none;
	box-shadow: none;
	min-width: 0;
	min-height: 0;
	background: rgba(26, 26, 26, 0.62);
	color: var(--mm-white);
	font-family: var(--mm-font-body);
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.14em;
}

/* wishlist heart — reveal on hover, top-right */
.wd-product.product-grid-item .wd-wishlist-btn {
	position: absolute;
	top: 10px; right: 10px;
	z-index: 5;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.wd-product.product-grid-item:hover .wd-wishlist-btn,
.wd-product.product-grid-item .wd-wishlist-btn.added { opacity: 1; }

/* hover swap image — opacity crossfade, no scale conflict */
.wd-product .wd-product-img-hover { transition: opacity 0.35s ease !important; }

/* ==========================================================================
   6 · PRODUCT GRID / COLLECTION LOOP  (storefront: 2 / 3 / 4 cols, gap 16/40)
   Scoped to shop + category archives so homepage rails (flex) are untouched.
   ========================================================================== */
.post-type-archive-product ul.products,
.tax-product_cat ul.products,
.woocommerce-shop ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 16px;
	row-gap: 40px;
	margin: 0 !important;
}
.post-type-archive-product ul.products > li.product,
.tax-product_cat ul.products > li.product,
.woocommerce-shop ul.products > li.product { width: auto !important; margin: 0 !important; float: none !important; }
@media (min-width: 640px) {
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.woocommerce-shop ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.post-type-archive-product ul.products,
	.tax-product_cat ul.products,
	.woocommerce-shop ul.products { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   7 · BUTTONS  (WoodMart .btn / WooCommerce buttons) — square, Inter, uppercase
   ========================================================================== */
.btn, .button, .single_add_to_cart_button, .wd-buy-now-btn, button.alt {
	font-family: var(--mm-font-body) !important;
	letter-spacing: 2px;
	text-transform: uppercase;
	border-radius: 0 !important;
}
.single_add_to_cart_button, .button.alt {
	background-color: var(--mm-black) !important;
	color: var(--mm-white) !important;
}
.single_add_to_cart_button:hover, .button.alt:hover { background-color: var(--mm-accent) !important; }

/* ==========================================================================
   8 · SECTION TITLES / HEADINGS — Cormorant editorial
   ========================================================================== */
.wd-section-title .liner-title,
.title.title-style-default,
.single-product .product_title.entry-title {
	font-family: var(--mm-font-heading);
	color: var(--mm-black);
	font-weight: 500;
}
.whb-header .wd-nav-main > li > a {
	font-family: var(--mm-font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mm-black);
}
.whb-header .wd-nav-main > li > a:hover,
.whb-header .wd-nav-main > li.current-menu-item > a,
.whb-header .wd-nav-main > li.current-menu-ancestor > a { color: var(--mm-accent); }
.whb-header { border-bottom: 0.5px solid var(--mm-border); }

/* WoodMart native mobile toolbar — brand active state */
.wd-nav-mobile > li.current-menu-item > a,
.wd-nav-mobile > li > a:hover,
.wd-sticky-toolbar .wd-tools-element.wd-active > a,
.wd-sticky-toolbar .wd-tools-element > a:hover { color: var(--mm-black); }
.wd-sticky-toolbar { border-top: 0.5px solid var(--mm-border); }

/* ==========================================================================
   9 · SINGLE PRODUCT (PDP) — hook-injected blocks + WoodMart layout polish
   Design injected via woocommerce_single_product_summary hooks (functions.php);
   these rules style WoodMart's existing PDP elements + the injected blocks.
   ========================================================================== */

/* Title → Cormorant Garamond editorial */
.single-product div.product .product_title {
	font-family: var(--mm-font-heading);
	font-weight: 300;
	line-height: 1.15;
	font-size: clamp(1.6rem, 4vw, 2rem);
	letter-spacing: -0.02em;
	color: var(--mm-black);
}

/* Category overline (priority-4 hook) */
.mm-pdp__overline {
	font-family: var(--mm-font-body);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--mm-muted);
	margin: 0 0 8px;
}

/* Price → 22px, charcoal (remove WoodMart pink) */
.single-product div.product .summary .price,
.single-product div.product .summary .price ins,
.single-product div.product .summary .price ins .amount {
	font-family: var(--mm-font-body);
	font-size: 22px;
	font-weight: 500;
	color: var(--mm-black) !important;
	text-decoration: none;
}
.single-product div.product .summary .price del,
.single-product div.product .summary .price del .amount {
	font-size: 14px;
	font-weight: 400;
	color: #cccccc !important;
}

/* Add to Cart → full width, square, uppercase */
.single-product div.product form.cart .single_add_to_cart_button {
	width: 100%;
	padding: 16px;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
}
.single-product div.product form.cart .quantity { margin-bottom: 12px; }

/* Variation dropdowns → square, brand border */
.single-product .variations td.value select,
.single-product .variations select {
	border: 1px solid var(--mm-border);
	border-radius: 0;
	min-height: 42px;
	background-color: var(--mm-white);
	font-family: var(--mm-font-body);
	color: var(--mm-black);
}

/* Trust strip (priority-35 hook) */
.mm-pdp__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.mm-pdp__trust-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--mm-white); border: 1px solid #f0f0f0; }
.mm-pdp__trust-item .ic { color: var(--mm-muted); flex-shrink: 0; line-height: 0; }
.mm-pdp__trust-item b { display: block; font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; color: var(--mm-black); }
.mm-pdp__trust-item small { font-family: var(--mm-font-body); font-size: 9px; color: #bbbbbb; }

/* Delivery block (priority-36 hook) */
.mm-pdp__deliv { margin-top: 20px; border: 1px solid var(--mm-border); }
.mm-pdp__deliv-h { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--mm-muted); padding: 14px 16px 0; margin: 0; }
.mm-pdp__deliv-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-family: var(--mm-font-body); font-size: 12px; }
.mm-pdp__deliv-row span:first-child { color: #555555; }
.mm-pdp__deliv-row span:last-child { color: var(--mm-black); text-align: right; }

/* WhatsApp concierge (priority-37 hook) */
.mm-pdp__concierge { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--mm-border); text-decoration: none; transition: border-color 0.2s ease; }
.mm-pdp__concierge:hover { border-color: var(--mm-black); }
.mm-pdp__concierge-ic { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #f0fff4; line-height: 0; }
.mm-pdp__concierge-tx { flex: 1; min-width: 0; }
.mm-pdp__concierge-tx b { display: block; font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; color: var(--mm-black); }
.mm-pdp__concierge-tx small { font-family: var(--mm-font-body); font-size: 10px; color: #999999; }

/* ==========================================================================
   10 · COMPONENT SECTIONS (Phase 1 + enhancements) — brand, sharp
   ========================================================================== */

/* 10a · Announcement ticker */
.mm-announcement { background: var(--mm-black); overflow: hidden; }
.mm-announcement__track { display: inline-flex; white-space: nowrap; animation: mm-ticker 30s linear infinite; }
.mm-announcement:hover .mm-announcement__track { animation-play-state: paused; }
.mm-announcement__item { color: #fff; font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 9px 28px; }
@keyframes mm-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mm-announcement__track { animation: none; } }

/* 10b · Hero split */
.mm-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.mm-hero__text { display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(24px,5vw,80px); background: var(--mm-blush); }
.mm-hero__eyebrow { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--mm-gray); margin: 0 0 16px; }
.mm-hero__headline { font-family: var(--mm-font-heading); font-weight: 500; font-size: clamp(34px,4vw,56px); line-height: 1.08; color: var(--mm-black); margin: 0 0 28px; }
.mm-hero__cta { align-self: flex-start; background: var(--mm-black); color: #fff; font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 15px 34px; }
.mm-hero__cta:hover { background: var(--mm-accent); color: #fff; }
.mm-hero__media { background: var(--mm-offwhite) center/cover no-repeat; min-height: 320px; }
@media (max-width: 768px) { .mm-hero { grid-template-columns: 1fr; } .mm-hero__media { order: -1; min-height: 360px; } }

/* 10c · Trust strip */
.mm-trust { background: var(--mm-black); }
.mm-trust__inner { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1200px; margin: 0 auto; }
.mm-trust__col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 16px; border-left: 1px solid rgba(255,255,255,0.08); }
.mm-trust__col:first-child { border-left: none; }
.mm-trust__title { font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; }
.mm-trust__sub { font-family: var(--mm-font-body); font-size: 11px; color: rgba(255,255,255,0.6); }
@media (max-width: 768px) { .mm-trust__inner { grid-template-columns: repeat(2,1fr); } .mm-trust__col:nth-child(odd) { border-left: none; } .mm-trust__col:nth-child(3), .mm-trust__col:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); } }

/* 10d · Category tiles */
.mm-cats { padding: 56px clamp(16px,4vw,40px); }
.mm-cats__grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; max-width: 1280px; margin: 0 auto; }
.mm-cat { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1/1; background: var(--mm-offwhite); overflow: hidden; }
.mm-cat--image { background-size: cover; background-position: center; }
.mm-cat__label { position: relative; z-index: 2; font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mm-black); padding: 0 0 18px; transition: color 0.25s ease; }
.mm-cat--image .mm-cat__label { color: #fff; width: 100%; text-align: center; padding: 26px 0 14px; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); }
.mm-cat:hover .mm-cat__label { color: var(--mm-accent); }
.mm-cat::after { content: ""; position: absolute; inset: 0; border: 0.5px solid transparent; transition: border-color 0.25s ease; z-index: 1; }
.mm-cat:hover::after { border-color: var(--mm-border); }
@media (max-width: 1024px) { .mm-cats__grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .mm-cats__grid { grid-template-columns: repeat(2,1fr); } }

/* 10e · Product rails (mobile scroll / desktop grid) */
.mm-rail { padding: 40px clamp(16px,4vw,40px); max-width: 1320px; margin: 0 auto; }
.mm-rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mm-rail__title { font-family: var(--mm-font-heading); font-weight: 500; font-size: clamp(22px,2.4vw,30px); line-height: 1.1; color: var(--mm-black); margin: 0; }
.mm-rail__more { flex-shrink: 0; font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mm-black); text-decoration: underline; text-underline-offset: 3px; }
.mm-rail__more:hover { color: var(--mm-accent); }
.mm-rail__body .products { margin: 0 !important; }
@media (max-width: 768px) {
	.mm-rail__body .products { display: flex !important; flex-wrap: nowrap; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px; }
	.mm-rail__body .products::-webkit-scrollbar { display: none; }
	.mm-rail__body .products > li.product { flex: 0 0 60%; max-width: 60%; margin: 0 !important; scroll-snap-align: start; }
}

/* 10f · Social proof */
.mm-social { padding: 56px clamp(16px,4vw,40px); max-width: 1280px; margin: 0 auto; text-align: center; }
.mm-social__title { font-family: var(--mm-font-heading); font-weight: 500; font-size: clamp(24px,2.6vw,34px); color: var(--mm-black); margin: 0 0 8px; }
.mm-social__rating { font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 32px; }
.mm-social__rating .mm-star { font-size: 13px; }
.mm-social__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mm-review { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 32px 26px; background: #fff; border: 1px solid var(--mm-border); border-radius: 0; text-align: left; }
.mm-review__stars { display: inline-flex; gap: 2px; font-size: 14px; line-height: 1; }
.mm-star { color: var(--mm-border); }
.mm-star.is-on { color: var(--mm-accent); }
.mm-review__text { font-family: var(--mm-font-heading); font-size: 19px; font-style: italic; line-height: 1.5; color: var(--mm-black); margin: 0; }
.mm-review__name { font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mm-black); }
.mm-review__city { font-weight: 400; letter-spacing: 0.5px; text-transform: none; color: var(--mm-gray); }
.mm-review__product { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; letter-spacing: 0.5px; text-transform: none; color: var(--mm-gray); }
@media (max-width: 768px) { .mm-social__grid { grid-template-columns: 1fr; gap: 14px; } }

/* 10g · Mobile sticky add-to-bag */
.mm-sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; box-sizing: border-box; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 12px; padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; border-top: 0.5px solid var(--mm-border); transform: translateY(100%); transition: transform 0.3s ease; box-shadow: 0 -2px 12px rgba(26,26,26,0.06); }
.mm-sticky-atc.is-visible { transform: translateY(0); }
.mm-sticky-atc__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.mm-sticky-atc__title { font-family: var(--mm-font-body); font-size: 13px; color: var(--mm-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-sticky-atc__price { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; color: var(--mm-black); }
.mm-sticky-atc__price del { color: var(--mm-gray); font-weight: 400; margin-right: 4px; }
.mm-sticky-atc__btn { flex: 0 0 auto; min-width: 45%; height: 44px; padding: 0 22px; background: var(--mm-black); color: #fff; border: none; border-radius: 0; font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; }
.mm-sticky-atc__btn:hover { background: var(--mm-accent); }
@media (min-width: 769px) { .mm-sticky-atc { display: none !important; } }
/* Clear the fixed mobile add-to-bag bar so PDP content (tabs · related · footer)
   scrolls fully into view above it. Bar is mobile-only, so pad only <=768px. */
@media (max-width: 768px) {
	body.single-product { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* 10h · Complete the Look cross-sell */
.mm-shop-look { margin: 48px 0; }
.mm-shop-look__title { font-family: var(--mm-font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--mm-black); margin: 0 0 20px; }
.mm-shop-look__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.mm-shop-look__item { display: flex; flex-direction: column; }
.mm-shop-look__img { display: block; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 10px; background: var(--mm-offwhite); }
.mm-shop-look__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.35s ease; }
.mm-shop-look__img:hover img { opacity: 0.88; }
.mm-shop-look__name { font-family: var(--mm-font-body); font-size: 12px; line-height: 1.4; color: var(--mm-black); margin-bottom: 4px; }
.mm-shop-look__price { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; color: var(--mm-black); margin-bottom: 8px; }
.mm-shop-look__price del { color: var(--mm-gray); font-weight: 400; margin-right: 4px; }
.mm-shop-look__add.button, .mm-shop-look__add { align-self: flex-start; min-height: 0 !important; padding: 0 !important; background: none !important; border: none !important; box-shadow: none !important; font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: 1px; color: var(--mm-black); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mm-shop-look__add:hover { color: var(--mm-accent); background: none !important; }
@media (max-width: 768px) {
	.mm-shop-look__grid { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
	.mm-shop-look__grid::-webkit-scrollbar { display: none; }
	.mm-shop-look__item { flex: 0 0 42%; scroll-snap-align: start; }
}

/* ==========================================================================
   11 · MY ACCOUNT — dashboard, navigation, orders, view-order, settings, search
   (markup in woocommerce/myaccount/* + search.php). Brand tokens, sharp corners.
   ========================================================================== */

/* ── Shared bits ─────────────────────────────────────────────────────────── */
.mm-tier-badge { display: inline-block; font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding: 4px 10px; border: .5px solid; }
.mm-status { display: inline-block; font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 4px 8px; border: 1px solid; white-space: nowrap; }
.mm-muted { font-family: var(--mm-font-body); font-size: 12px; color: var(--mm-muted); }
.mm-btn-dark { display: inline-block; padding: 13px 28px; background: var(--mm-black); color: #fff; border: none; border-radius: 0; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; cursor: pointer; text-decoration: none; transition: background-color .2s ease; }
.mm-btn-dark:hover { background: var(--mm-accent); color: #fff; }
.mm-btn-dark--full { display: block; width: 100%; text-align: center; }
.mm-btn-outline { display: inline-block; padding: 11px 22px; border: .5px solid #ccc; background: none; color: var(--mm-black); border-radius: 0; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; cursor: pointer; text-decoration: none; transition: all .2s ease; }
.mm-btn-outline:hover { border-color: var(--mm-black); background: var(--mm-black); color: #fff; }
.mm-btn-outline--danger { color: #EF4444; border-color: #EF4444; }
.mm-btn-outline--danger:hover { background: #EF4444; border-color: #EF4444; color: #fff; }
.mm-link-btn { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-black); text-decoration: underline; text-underline-offset: 3px; }
.mm-link-btn:hover { color: var(--mm-accent); }
.mm-link-btn--danger { color: #EF4444; }
.mm-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 16px; gap: 16px; }
.mm-empty-state__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: 22px; color: var(--mm-black); margin: 0; }
.mm-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.mm-pagination__link { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-black); text-decoration: none; }
.mm-pagination__link:hover { color: var(--mm-accent); }
.mm-pagination__count { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); }
.mm-pagination ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.mm-pagination ul a, .mm-pagination ul span { font-family: var(--mm-font-body); font-size: 12px; padding: 6px 10px; color: var(--mm-black); text-decoration: none; border: 1px solid var(--mm-border); }
.mm-pagination ul .current { background: var(--mm-black); color: #fff; border-color: var(--mm-black); }

/* ── Navigation sidebar (navigation.php) ─────────────────────────────────── */
.mm-account-id__avatar { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--mm-blush); margin-bottom: 12px; font-family: var(--mm-font-heading); font-size: 18px; font-weight: 300; color: var(--mm-black); }
.mm-account-id__name { font-family: var(--mm-font-body); font-size: 13px; font-weight: 300; color: var(--mm-black); margin: 0 0 2px; }
.mm-account-id__email { font-family: var(--mm-font-body); font-size: 10px; color: var(--mm-muted); margin: 0 0 10px; word-break: break-all; }
.mm-account-id { padding-bottom: 28px; margin-bottom: 22px; border-bottom: .5px solid var(--mm-border); }
.mm-nav__items { display: flex; flex-direction: column; gap: 2px; }
.mm-nav__link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; font-family: var(--mm-font-body); font-size: 12px; font-weight: 300; color: #888; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.mm-nav__link .mm-nav__ic { color: #aaa; display: inline-flex; }
.mm-nav__link:hover { color: var(--mm-black); }
.mm-nav__link:hover .mm-nav__ic { color: var(--mm-black); }
.mm-nav__link.is-active { background: var(--mm-black); color: #fff; font-weight: 400; }
.mm-nav__link.is-active .mm-nav__ic { color: #fff; }
.mm-nav__link--logout { margin-top: 8px; border-top: .5px solid var(--mm-border); }
@media (max-width: 767px) {
	.mm-account-id { display: none; }
	.mm-nav__items { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
	.mm-nav__items::-webkit-scrollbar { display: none; }
	.mm-nav__link { flex-shrink: 0; white-space: nowrap; border: .5px solid #e8e8e8; padding: 8px 14px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mm-muted); }
	.mm-nav__link .mm-nav__ic { display: none; }
	.mm-nav__link--logout { border-top: .5px solid #e8e8e8; margin-top: 0; }
}

/* ── Dashboard ───────────────────────────────────────────────────────────── */
.mm-dash__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.mm-dash__id { display: flex; align-items: center; gap: 14px; }
.mm-dash__avatar { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--mm-blush); font-family: var(--mm-font-heading); font-size: 22px; font-weight: 300; color: var(--mm-black); flex-shrink: 0; }
.mm-dash__name { font-family: var(--mm-font-heading); font-weight: 400; font-size: 24px; letter-spacing: -.01em; color: var(--mm-black); margin: 0; }
.mm-dash__email { font-family: var(--mm-font-body); font-size: 12px; color: var(--mm-gray); margin: 2px 0 0; }
.mm-dash__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 40px; }
.mm-stat { padding: 16px; border: 1px solid #f0f0f0; }
.mm-stat__label { display: block; font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #bbb; margin-bottom: 8px; }
.mm-stat__value { font-family: var(--mm-font-heading); font-weight: 300; font-size: 24px; letter-spacing: -.01em; color: var(--mm-black); }
.mm-stat__value--sm { font-size: 18px; }
.mm-dash__seclabel { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 18px; }
.mm-dash + .mm-dash__seclabel, .mm-dash__seclabel { margin-top: 40px; }
.mm-dash__stats + .mm-dash__seclabel { margin-top: 0; }

/* Style identity cards */
.mm-style-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
@media (min-width: 640px) { .mm-style-cards { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .mm-style-cards { grid-template-columns: repeat(3,1fr); } }
.mm-style-card { position: relative; display: block; text-align: left; padding: 16px; border: none; border-radius: 0; cursor: pointer; outline: 1px solid transparent; outline-offset: 1px; transition: outline-color .15s ease; }
.mm-style-card.is-selected { outline: 2px solid var(--mm-black); }
.mm-style-card__check { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.07); border: 1px solid rgba(0,0,0,.12); }
.mm-style-card.is-selected .mm-style-card__check { background: var(--mm-black); border: none; }
.mm-style-card__check svg { opacity: 0; }
.mm-style-card.is-selected .mm-style-card__check svg { opacity: 1; }
.mm-style-card__label { display: block; font-family: var(--mm-font-heading); font-weight: 300; font-size: 18px; letter-spacing: -.01em; color: var(--mm-black); margin-bottom: 2px; }
.mm-style-card__tag { display: block; font-family: var(--mm-font-body); font-size: 10px; color: #888; }
.mm-style-actions { display: flex; align-items: center; gap: 14px; }
.mm-style-status { font-family: var(--mm-font-body); font-size: 11px; color: #2D6A2D; }

/* Recent orders + quick links */
.mm-orders-list { display: flex; flex-direction: column; }
.mm-order-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f2f2f2; text-decoration: none; }
.mm-order-row:last-child { border-bottom: 0; }
.mm-order-row__main { flex: 1; min-width: 0; }
.mm-order-row__id { font-family: var(--mm-font-body); font-size: 13px; color: var(--mm-black); margin: 0; }
.mm-order-row__meta { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); margin: 2px 0 0; }
.mm-order-row__total { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; color: var(--mm-black); white-space: nowrap; }
/* Mobile: 3-up flex line crams id+date / badge / total → badge overlaps. Switch to
   a 2-col grid — id+date top-left, price aligned top-right, status on its own line
   below the order number (natural pill width via justify-self:start). */
@media (max-width: 767px) {
	.mm-order-row { display: grid; grid-template-columns: 1fr auto; align-items: start; column-gap: 12px; row-gap: 8px; }
	.mm-order-row__main { grid-column: 1; grid-row: 1; min-width: 0; }
	.mm-order-row__total { grid-column: 2; grid-row: 1; justify-self: end; }
	.mm-order-row .mm-status { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
.mm-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-quicklinks a { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 18px; border: .5px solid #ccc; color: #444; text-decoration: none; transition: all .2s ease; }
.mm-quicklinks a:hover { background: var(--mm-black); color: #fff; border-color: var(--mm-black); }

/* ── Orders list (orders.php) ────────────────────────────────────────────── */
.mm-orders__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: 28px; letter-spacing: -.01em; color: var(--mm-black); margin: 0 0 20px; }
.mm-orders__filter { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 24px; scrollbar-width: none; -ms-overflow-style: none; }
.mm-orders__filter::-webkit-scrollbar { display: none; }
.mm-ofilter { flex-shrink: 0; font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: .5px solid #e8e8e8; color: var(--mm-muted); text-decoration: none; }
.mm-ofilter.is-active { background: var(--mm-black); color: #fff; border-color: var(--mm-black); }
.mm-orders__list { display: flex; flex-direction: column; gap: 12px; }
.mm-order-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--mm-border); }
.mm-order-card__thumb { flex-shrink: 0; width: 64px; height: 85px; overflow: hidden; background: var(--mm-offwhite); display: block; }
.mm-order-card__thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.mm-order-card__body { flex: 1; min-width: 0; }
.mm-order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.mm-order-card__id { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; color: var(--mm-black); margin: 0; }
.mm-order-card__meta { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); margin: 0 0 6px; }
.mm-order-card__name { font-family: var(--mm-font-body); font-size: 12px; font-weight: 300; color: #555; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-order-card__total { font-family: var(--mm-font-body); font-size: 14px; font-weight: 500; color: var(--mm-black); margin: 0 0 12px; }
.mm-order-card__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ── View order (view-order.php) ─────────────────────────────────────────── */
.mm-vieworder__back { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mm-muted); text-decoration: none; }
.mm-vieworder__back:hover { color: var(--mm-black); }
.mm-vieworder__head { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; }
.mm-vieworder__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: 28px; letter-spacing: -.01em; color: var(--mm-black); margin: 0; }
.mm-vieworder__date { font-family: var(--mm-font-body); font-size: 12px; color: var(--mm-muted); margin: 0 0 28px; }
.mm-vieworder__cancelled { font-family: var(--mm-font-body); font-size: 13px; color: #EF4444; padding: 14px 16px; border: 1px solid #f3d2d2; background: #fdf2f2; margin-bottom: 28px; }
.mm-vieworder__seclabel { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 28px 0 14px; }
.mm-vieworder__items { border: 1px solid var(--mm-border); }
.mm-vieworder__item { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid #f2f2f2; }
.mm-vieworder__item:last-child { border-bottom: 0; }
.mm-vieworder__item-img { flex-shrink: 0; width: 80px; height: 107px; overflow: hidden; background: var(--mm-offwhite); }
.mm-vieworder__item-img img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.mm-vieworder__item-info { flex: 1; min-width: 0; }
.mm-vieworder__item-name { font-family: var(--mm-font-body); font-size: 13px; font-weight: 300; color: var(--mm-black); margin: 0 0 4px; }
.mm-vieworder__item-meta { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); margin: 0 0 4px; }
.mm-vieworder__item-meta p { margin: 0; }
.mm-vieworder__item-qty { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-gray); margin: 0; }
.mm-vieworder__item-price { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; color: var(--mm-black); white-space: nowrap; }
.mm-vieworder__summary { border: 1px solid var(--mm-border); margin-top: 16px; }
.mm-vieworder__sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font-family: var(--mm-font-body); font-size: 13px; color: #555; border-bottom: 1px solid #f5f5f5; }
.mm-vieworder__sumrow:last-child { border-bottom: 0; }
.mm-vieworder__sumrow.is-total { color: var(--mm-black); font-weight: 500; font-size: 15px; border-top: 1px solid var(--mm-border); }
.mm-vieworder__cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 4px; }
@media (min-width: 640px) { .mm-vieworder__cols { grid-template-columns: 1fr 1fr; } }
.mm-vieworder__addr { font-family: var(--mm-font-body); font-size: 13px; line-height: 1.6; color: #555; font-style: normal; }
.mm-vieworder__pay { font-family: var(--mm-font-body); font-size: 13px; color: var(--mm-black); margin: 0; }
.mm-vieworder__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Tracking timeline */
.mm-timeline { display: flex; justify-content: space-between; gap: 4px; margin: 28px 0; position: relative; }
.mm-timeline__step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; position: relative; }
.mm-timeline__step::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 1px; background: var(--mm-border); z-index: 0; }
.mm-timeline__step:first-child::before { display: none; }
.mm-timeline__step.is-done::before { background: var(--mm-accent); }
.mm-timeline__dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 999px; background: #f5f5f5; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; }
.mm-timeline__step.is-done .mm-timeline__dot { background: var(--mm-accent); border: none; }
.mm-timeline__label { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .04em; color: #aaa; }
.mm-timeline__step.is-done .mm-timeline__label { color: var(--mm-black); }

/* ── Settings (form-edit-account.php) ────────────────────────────────────── */
.mm-settings__sec { padding-bottom: 28px; margin-bottom: 28px; border-bottom: .5px solid var(--mm-border); }
.mm-settings__label { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 18px; }
.mm-settings__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mm-field { margin: 0; }
.mm-field--full { grid-column: 1 / -1; }
.mm-field label { display: block; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .04em; color: #555; margin-bottom: 6px; }
.mm-input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--mm-border); border-radius: 0; background: var(--mm-white); font-family: var(--mm-font-body); font-size: 14px; color: var(--mm-black); }
.mm-input:focus { border-color: var(--mm-black); outline: none; }
.mm-settings__toggles { display: flex; flex-direction: column; gap: 4px; }
.mm-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; }
.mm-toggle__label { font-family: var(--mm-font-body); font-size: 13px; color: var(--mm-black); }
.mm-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.mm-toggle__track { position: relative; width: 38px; height: 20px; border-radius: 999px; background: #e5e5e5; flex-shrink: 0; transition: background-color .2s ease; }
.mm-toggle__knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: #fff; transition: transform .2s ease; }
.mm-toggle input:checked ~ .mm-toggle__track { background: var(--mm-accent); }
.mm-toggle input:checked ~ .mm-toggle__track .mm-toggle__knob { transform: translateX(18px); }
.mm-settings__submit { margin-top: 8px; }
@media (max-width: 480px) { .mm-settings__grid { grid-template-columns: 1fr; } }

/* ── Search results (search.php) ─────────────────────────────────────────── */
.mm-search { max-width: 1320px; margin: 0 auto; padding: clamp(80px,10vw,104px) clamp(16px,4vw,40px) 80px; }
.mm-search__eyebrow { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 8px; }
.mm-search__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(28px,5vw,44px); letter-spacing: -.02em; color: var(--mm-black); margin: 0; }
.mm-search__count { font-family: var(--mm-font-body); font-size: 12px; color: var(--mm-muted); margin: 10px 0 32px; }
.mm-search__grid { display: grid; grid-template-columns: repeat(2,1fr); column-gap: 16px; row-gap: 40px; margin: 0 !important; list-style: none; padding: 0; }
@media (min-width: 640px) { .mm-search__grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .mm-search__grid { grid-template-columns: repeat(4,1fr); } }
.mm-search__grid > li.product { width: auto !important; margin: 0 !important; float: none !important; }
.mm-search__empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 16px; gap: 14px; }
.mm-search__empty-title { font-family: var(--mm-font-heading); font-weight: 300; font-size: 24px; color: var(--mm-black); margin: 0; }
.mm-search__empty-sub { font-family: var(--mm-font-body); font-size: 12px; color: var(--mm-muted); margin: 0; }
.mm-search__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 20px; }
.mm-search__tag { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border: .5px solid var(--mm-border); color: var(--mm-black); text-decoration: none; transition: all .2s ease; }
.mm-search__tag:hover { background: var(--mm-black); color: #fff; border-color: var(--mm-black); }

/* ==========================================================================
   12 · HOMEPAGE — Universe Grid ([mm_universe_grid])
   ========================================================================== */
.mm-universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1280px; margin: 0 auto; padding: 48px clamp(16px, 4vw, 40px); }
.mm-universe { display: block; padding: 18px; background: var(--mm-offwhite); text-decoration: none; transition: background-color .2s ease; }
.mm-universe:hover { background: var(--mm-blush); }
.mm-universe__thumbs { display: flex; gap: 6px; margin-bottom: 14px; }
.mm-universe__thumb { flex: 1; aspect-ratio: 3 / 4; overflow: hidden; background: #fff; }
.mm-universe__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.mm-universe__thumb--empty { background: #f0ece8; }
.mm-universe__label { display: block; font-family: var(--mm-font-heading); font-weight: 300; font-size: 22px; letter-spacing: -.01em; color: var(--mm-black); }
.mm-universe__meta { display: block; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .04em; color: var(--mm-gray); margin-top: 2px; }
@media (max-width: 900px) { .mm-universe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mm-universe-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   13 · HEADER — frosted → solid scroll states (WoodMart native sticky class)
   Frosted top requires the header row bg set transparent in the Header Builder;
   the stuck state always adds the hairline + soft shadow.
   ========================================================================== */
.whb-header { transition: box-shadow .28s ease, border-color .28s ease, background-color .28s ease; }
.whb-header:not(.whb-sticked) .whb-general-header .whb-row { background-color: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.whb-header.whb-sticked .whb-general-header .whb-row { background-color: rgba(255,255,255,.97) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.whb-header.whb-sticked { box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 24px rgba(0,0,0,.04); border-bottom: .5px solid var(--mm-border); }

/* ==========================================================================
   14 · MEGA MENU — editorial layout inside WoodMart's full-width dropdown
   Paste the .mm-mega markup (see docs) into a WoodMart HTML Block assigned to a
   full-width mega menu item. This styles it; mobile uses the native drawer.
   ========================================================================== */
.menu-item-design-full-width .wd-dropdown-menu { box-shadow: 0 8px 60px rgba(0,0,0,.06); border-bottom: .5px solid var(--mm-border); }
.mm-mega { display: flex; gap: clamp(32px,4vw,64px); max-width: 1280px; margin: 0 auto; padding: 40px; }
.mm-mega__rail { flex: 0 0 200px; }
.mm-mega__brandline { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #ccc; margin: 0 0 10px; }
.mm-mega__headline { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(1.6rem,2.4vw,2.2rem); line-height: 1.1; color: var(--mm-black); margin: 0 0 10px; }
.mm-mega__sub { font-family: var(--mm-font-body); font-size: 11px; line-height: 1.5; color: var(--mm-muted); margin: 0 0 24px; max-width: 200px; }
.mm-mega__group { margin-bottom: 22px; }
.mm-mega__grouplabel { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: #bbb; margin: 0 0 10px; }
.mm-mega__link { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-family: var(--mm-font-body); font-size: 12px; font-weight: 300; color: #888; text-decoration: none; transition: color .15s ease; }
.mm-mega__link:hover { color: var(--mm-black); }
.mm-mega__dot { width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; transition: transform .15s ease; }
.mm-mega__link:hover .mm-mega__dot { transform: scale(1.4); }
.mm-mega__cats { flex: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.mm-mega__col-label { display: flex; align-items: center; gap: 8px; font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #222; margin: 0 0 12px; text-decoration: none; }
.mm-mega__col-label:hover { opacity: .7; }
.mm-mega__swatch { width: 12px; height: 12px; flex-shrink: 0; display: inline-block; }
.mm-mega__sublink { display: block; padding: 4px 0; font-family: var(--mm-font-body); font-size: 12px; font-weight: 300; color: #888; text-decoration: none; }
.mm-mega__sublink:hover { color: var(--mm-black); }
@media (max-width: 1024px) { .mm-mega { display: none; } }

/* ==========================================================================
   15 · HOMEPAGE PAGE (front-page.php) — hero, edits, newsletter, transition
   ========================================================================== */
.mm-home-hero { display: flex; align-items: center; min-height: 64vh; background: var(--mm-blush); background-size: cover; background-position: center; }
.mm-home-hero--image { min-height: 78vh; }
.mm-home-hero--image::after { content: ""; }
.mm-home-hero__inner { max-width: 1280px; width: 100%; margin: 0 auto; padding: clamp(72px,10vw,120px) clamp(20px,5vw,80px); }
.mm-home-hero--image .mm-home-hero__inner { background: linear-gradient(90deg, rgba(245,237,232,.92) 0%, rgba(245,237,232,.4) 55%, transparent 100%); }
.mm-home-hero__eyebrow { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-gray); margin: 0 0 16px; }
.mm-home-hero__headline { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(36px,6vw,68px); line-height: 1.04; letter-spacing: -.02em; color: var(--mm-black); margin: 0 0 20px; }
.mm-home-hero__sub { font-family: var(--mm-font-body); font-size: 14px; font-weight: 300; color: #555; max-width: 380px; margin: 0 0 28px; }
.mm-home-hero__cta { display: inline-block; background: var(--mm-black); color: #fff; font-family: var(--mm-font-body); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 16px 38px; text-decoration: none; transition: background-color .2s ease; }
.mm-home-hero__cta:hover { background: var(--mm-accent); color: #fff; }

.mm-edit { padding: clamp(40px,6vw,72px) clamp(16px,4vw,40px) 8px; }
.mm-edit__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.mm-edit__eyebrow { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-gray); margin: 0 0 12px; }
.mm-edit__headline { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(28px,4vw,44px); letter-spacing: -.02em; color: var(--mm-black); margin: 0 0 12px; }
.mm-edit__copy { font-family: var(--mm-font-body); font-size: 14px; font-weight: 300; line-height: 1.6; color: #666; margin: 0 auto; max-width: 520px; }
.mm-edit__cta { display: inline-block; margin-top: 22px; background: #fff; color: var(--mm-black); border: .5px solid var(--mm-black); font-family: var(--mm-font-body); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; padding: 13px 30px; text-decoration: none; transition: all .2s ease; }
.mm-edit__cta:hover { background: var(--mm-black); color: #fff; }
.mm-edit--dark { background: var(--mm-black); margin-top: 24px; }
.mm-edit--dark .mm-edit__headline { color: #fff; }
.mm-edit--dark .mm-edit__eyebrow { color: rgba(255,255,255,.5); }
.mm-edit--dark .mm-edit__copy { color: rgba(255,255,255,.6); }
.mm-edit--dark .mm-edit__cta { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.mm-edit--dark .mm-edit__cta:hover { background: #fff; color: var(--mm-black); border-color: #fff; }

.mm-newsletter { background: var(--mm-offwhite); padding: clamp(56px,8vw,88px) clamp(16px,4vw,40px); text-align: center; }
.mm-newsletter__inner { max-width: 540px; margin: 0 auto; }
.mm-newsletter__eyebrow { font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--mm-gray); margin: 0 0 12px; }
.mm-newsletter__headline { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(28px,4vw,40px); letter-spacing: -.02em; color: var(--mm-black); margin: 0 0 10px; }
.mm-newsletter__copy { font-family: var(--mm-font-body); font-size: 13px; font-weight: 300; color: #666; margin: 0 0 28px; }
.mm-newsletter__form { display: flex; align-items: center; gap: 0; max-width: 380px; margin: 0 auto; border-bottom: 1px solid var(--mm-black); }
.mm-newsletter__form input { flex: 1; border: none; background: none; padding: 12px 0; font-family: var(--mm-font-body); font-size: 14px; color: var(--mm-black); outline: none; }
.mm-newsletter__form button { background: none; border: none; cursor: pointer; color: var(--mm-black); padding: 8px; display: flex; }
.mm-newsletter__form button:hover { color: var(--mm-accent); }
.mm-newsletter__status { font-family: var(--mm-font-heading); font-style: italic; font-size: 16px; color: var(--mm-black); margin: 16px 0 0; min-height: 20px; }

.mm-foot-transition { background: var(--mm-blush); text-align: center; padding: clamp(40px,6vw,64px) 20px; }
.mm-foot-transition__line { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mm-gray); margin: 0 0 14px; }
.mm-foot-transition__brand { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(28px,5vw,52px); letter-spacing: .04em; color: var(--mm-black); margin: 0; opacity: .9; }

/* ==========================================================================
   17 · PHASE-1 LUXURY REFINEMENTS — motion · hairlines · type · whitespace
   ========================================================================== */
/* Scroll-reveal (progressive enhancement — visible without JS / reduced-motion) */
.js .mm-reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-cinematic), transform .9s var(--ease-cinematic); }
.mm-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .mm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Hero — staggered cinematic entrance + lighter editorial CTA */
.mm-home-hero__inner > * { animation: fadeUp var(--dur-base) var(--ease-editorial) both; }
.mm-home-hero__eyebrow { animation-delay: .05s; }
.mm-home-hero__headline { animation-delay: .12s; font-weight: 300; }
.mm-home-hero__sub { animation-delay: .22s; }
.mm-home-hero__cta { animation-delay: .32s; font-weight: 500; letter-spacing: 1.6px; }

/* Hairline discipline — 0.5px structural borders */
.mm-review, .mm-stat, .mm-order-card, .mm-vieworder__items, .mm-vieworder__summary, .mm-settings__sec { border-width: .5px; }

/* Whitespace rhythm — more breathing room between rails/sections */
.mm-rail { padding-top: clamp(48px,6vw,72px); padding-bottom: clamp(48px,6vw,72px); }
.mm-social { padding-top: clamp(64px,8vw,88px); padding-bottom: clamp(64px,8vw,88px); }

/* Display weight + tracking — lighter, more luxury, consistent */
.mm-rail__title, .mm-social__title { font-weight: 400; }
.mm-rail__more { letter-spacing: 1.8px; }

/* Product card — remove hover border (Next.js card has none); keep zoom + lift only */
.wd-product.product-grid-item:hover { border-color: transparent; }

/* ==========================================================================
   18 · PDP — brand styling for WoodMart-native Reviews · Tabs · Related
   (CSS only; WoodMart owns gallery/tabs/reviews/related architecture)
   ========================================================================== */
/* Tabs nav — editorial labels */
.single-product .wd-single-tabs .wd-nav-tabs-wrapper a,
.single-product .wc-tabs li a { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.single-product .wd-single-tabs .wd-nav-tabs-wrapper li.active a,
.single-product .wc-tabs li.active a { color: var(--mm-black); }

/* Section titles (Reviews / Related / Complete-the-Look / reply) → Cormorant */
.single-product .related.products > h2,
.single-product .up-sells > h2,
.single-product #reviews h2,
.single-product .woocommerce-Reviews-title,
.single-product .wd-products-element-title .title,
.single-product .comment-reply-title { font-family: var(--mm-font-heading) !important; font-weight: 400; letter-spacing: -.01em; color: var(--mm-black); }

/* Star ratings → brand accent (filled) / border (empty) */
.single-product .star-rating::before { color: var(--mm-border); }
.single-product .star-rating span::before { color: var(--mm-accent); }
.single-product p.stars a::before,
.single-product p.stars a:hover::before { color: var(--mm-accent); }

/* Review list — hairlines + editorial author */
.single-product .commentlist li.review,
.single-product .commentlist li.comment { border-bottom: .5px solid var(--mm-border); }
.single-product .commentlist .meta strong,
.single-product .commentlist .woocommerce-review__author { font-family: var(--mm-font-body); font-weight: 500; letter-spacing: .04em; color: var(--mm-black); }
.single-product .commentlist .description p { font-family: var(--mm-font-heading); font-size: 16px; font-style: italic; color: #444; }

/* Review form → square brand fields + button */
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"],
.single-product #review_form textarea { border: 1px solid var(--mm-border); border-radius: 0; background: var(--mm-white); font-family: var(--mm-font-body); }
.single-product #respond .submit,
.single-product #review_form .submit { border-radius: 0 !important; text-transform: uppercase; letter-spacing: .1em; background: var(--mm-black) !important; color: #fff !important; border: none; }
.single-product #respond .submit:hover { background: var(--mm-accent) !important; }

.mm-reviews__zero { max-width: 680px; margin: 28px auto 18px; text-align: center; color: #595959; }
.mm-reviews__zero-kicker { margin-bottom: 8px; font-family: var(--mm-font-heading); font-size: clamp(24px,3vw,34px); color: var(--mm-black); }

/* Order-email verified review — same quiet editorial DNA as the PDP, while
   remaining distinct from the public CusRev form. The order-bound link is the
   authentication; optional photos use WCPW's hardened moderation boundary. */
.mm-verified-review {
	max-width: 760px;
	margin: clamp(36px, 6vw, 72px) auto;
	padding: clamp(28px, 5vw, 56px);
	border: .5px solid var(--mm-border);
	background: #fafaf8;
}
.mm-verified-review h2 {
	margin: 0 0 10px;
	font-family: var(--mm-font-heading);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 400;
}
.mm-verified-review > p { color: #595959; }
.mm-verified-review label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.mm-verified-review select,
.mm-verified-review textarea { width: 100%; border: 1px solid var(--mm-border); border-radius: 0; background: #fff; padding: 12px; }
.mm-verified-review textarea { min-height: 150px; resize: vertical; }
.mm-verified-review button { min-height: 44px; border-radius: 0 !important; letter-spacing: .1em; text-transform: uppercase; }
.wcpw-review-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Related/up-sells spacing + sharp gallery thumbs */
.single-product .related.products,
.single-product .related-and-upsells { margin-top: clamp(40px,6vw,64px); }
.single-product .wd-single-product-images img,
.single-product .product-thumbnails img { border-radius: 0; }

/* ==========================================================================
   21 · FOOTER — luxury editorial footer (warm ivory) — HTML block .mm-ft
   Wordmark → 4-col grid (Shop/Support/Company/Newsletter) → social → trust →
   payments → copyright. Hides WoodMart's native copyright ("Based on WoodMart").
   ========================================================================== */
.wd-copyrights, .copyrights-wrapper { display: none !important; }

.mm-ft { background: #fafaf8; color: var(--mm-black); border-top: .5px solid var(--mm-border); font-family: var(--mm-font-body); padding: clamp(56px,7vw,88px) clamp(20px,5vw,64px) 0; }
.mm-ft > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Row 1 — wordmark + tagline */
.mm-ft__top { text-align: center; padding-bottom: clamp(36px,5vw,56px); border-bottom: .5px solid var(--mm-border); }
.mm-ft__wordmark { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(30px,5vw,48px); letter-spacing: .08em; color: var(--mm-black); margin: 0 0 12px; }
.mm-ft__tagline { font-size: 13px; font-weight: 300; line-height: 1.6; color: #666; max-width: 460px; margin: 0 auto; }

/* Row 2 — 4-column grid */
.mm-ft__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: clamp(28px,4vw,56px); padding: clamp(40px,5vw,56px) 0; }
.mm-ft__overline { font-family: var(--mm-font-heading); font-weight: 500; font-size: 16px; letter-spacing: .01em; color: var(--mm-black); margin: 0 0 16px; }
.mm-ft__col > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; }
.mm-ft__col > summary::-webkit-details-marker { display: none; }
.mm-ft__col a { display: block; font-size: 13px; font-weight: 300; color: #555; text-decoration: none; padding: 6px 0; transition: color .2s ease; }
.mm-ft__col a:hover { color: var(--mm-accent); }
.mm-ft__chev { display: none; color: var(--mm-gray); transition: transform .2s ease; }
.mm-ft__news-sub { font-size: 12px; font-weight: 300; line-height: 1.6; color: #666; max-width: 280px; margin: 0 0 16px; }

/* Row 3 — social */
.mm-ft__social { display: flex; justify-content: center; gap: 22px; padding: clamp(28px,4vw,40px) 0; border-top: .5px solid var(--mm-border); }
/* Brand-coloured SVG icons render at full colour (no dimming); subtle hover fade. */
.mm-ft__social a { display: flex; opacity: 1; transition: opacity .2s ease; }
.mm-ft__social a:hover { opacity: .7; }

/* Row 4 — trust strip */
.mm-ft__trust { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; border-top: .5px solid var(--mm-border); }
.mm-ft__trust li { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mm-ft__trust li::before { content: "\2713"; color: var(--mm-accent); font-size: 11px; }

/* Row 5 — payment badges */
.mm-ft__pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 22px 0; border-top: .5px solid var(--mm-border); }
.mm-ft__pay-badge { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 24px; background: #fff; border: 1px solid #E5E5E5; border-radius: 4px; padding: 0; overflow: hidden; }
.mm-ft__pay-badge svg { display: block; }

/* Row 6 — copyright */
.mm-ft__bottom { border-top: .5px solid var(--mm-border); padding: 22px 0; text-align: center; }
.mm-ft__copy { font-size: 10px; letter-spacing: .06em; color: var(--mm-muted); margin: 0; }

/* Newsletter form (light) — shared with [mm_newsletter_form] */
.mm-fnews__form { display: flex; align-items: center; max-width: 320px; border-bottom: 1px solid var(--mm-black); }
.mm-fnews__form input { flex: 1; background: none; border: none; outline: none; color: var(--mm-black); font-family: var(--mm-font-body); font-size: 14px; padding: 9px 0; }
.mm-fnews__form input::placeholder { color: var(--mm-muted); }
.mm-fnews__form button { background: none; border: none; color: var(--mm-black); cursor: pointer; padding: 6px; display: flex; }
.mm-fnews__form button:hover { color: var(--mm-accent); }
.mm-fnews__status { font-family: var(--mm-font-heading); font-style: italic; font-size: 15px; color: var(--mm-black); margin: 12px 0 0; }

/* Mobile — accordions + full-width newsletter */
@media (max-width: 900px) {
	.mm-ft__grid { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
	.mm-ft__col { border-bottom: .5px solid var(--mm-border); padding: 4px 0; }
	.mm-ft__col > summary { cursor: pointer; padding: 14px 0; }
	.mm-ft__col[open] .mm-ft__chev { transform: rotate(180deg); }
	.mm-ft__chev { display: block; }
	.mm-ft__news { padding: 22px 0; border-bottom: .5px solid var(--mm-border); }
	.mm-fnews__form { max-width: none; }
}
@media (min-width: 901px) { .mm-ft__col > *:not(summary) { display: block !important; } }

/* ==========================================================================
   20 · TRUST STRIP ([mm_trust]) — editorial hairline-separated, luxury register
   Recreates storefront TrustChips (same messaging/icons) — sharp, muted, no colour.
   ========================================================================== */
.mm-trust { background: var(--mm-white); border-top: .5px solid var(--mm-border); border-bottom: .5px solid var(--mm-border); }
.mm-trust__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.mm-trust__item { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 16px; border-left: .5px solid var(--mm-border); }
.mm-trust__item:first-child { border-left: none; }
.mm-trust__ic { color: var(--mm-muted); display: flex; flex-shrink: 0; }
.mm-trust__tx b { display: block; font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--mm-black); }
.mm-trust__tx small { font-family: var(--mm-font-body); font-size: 10px; color: var(--mm-muted); }
@media (max-width: 768px) {
	.mm-trust__inner { grid-template-columns: repeat(2,1fr); }
	.mm-trust__item { justify-content: flex-start; padding: 16px 14px; }
	.mm-trust__item:nth-child(odd) { border-left: none; }
	.mm-trust__item:nth-child(3), .mm-trust__item:nth-child(4) { border-top: .5px solid var(--mm-border); }
}


/* ==========================================================================
   22 · MEGA MENU — dynamic .mm-mega panels (functions.php) injected by JS into
   top-level li.mm-has-mega on desktop. White 1200px card, 4-column grid
   (children split · best-sellers · editorial image), hairline column rules,
   hover-reveal. Hidden < 1024px (WoodMart's mobile menu handles small screens).
   ========================================================================== */
.mm-mega { display: none; }                 /* hidden until desktop + injected   */
#mm-mega-store { display: none !important; } /* footer holding pen (pre-injection) */

@media ( min-width: 1024px ) {

	li.mm-has-mega { position: relative; }

	.mm-mega {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 9999;
		width: min( 1200px, 94vw );
		background: var(--mm-white);
		border: .5px solid var(--mm-border);
		box-shadow: 0 8px 32px rgba( 0, 0, 0, .08 );
		border-radius: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY( 8px );
		transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
		pointer-events: none;
	}
	.mm-mega * { box-sizing: border-box; }

	li.mm-has-mega:hover > .mm-mega,
	li.mm-has-mega:focus-within > .mm-mega {
		opacity: 1;
		visibility: visible;
		transform: translateY( 0 );
		pointer-events: auto;
	}

	/* 4-column grid: children (1+2) · best-sellers · editorial (200px image) */
	.mm-mega__inner {
		display: grid;
		grid-template-columns: minmax( 0, 1.5fr ) minmax( 0, 1fr ) 232px;
		padding: 32px;
	}

	.mm-mega__head {
		margin: 0 0 18px;
		font-family: var(--mm-font-body);
		font-size: 9px;
		font-weight: 600;
		letter-spacing: .2em;
		text-transform: uppercase;
		color: var(--mm-muted);
	}

	/* Cols 1+2 — child categories */
	.mm-mega__cats { padding-right: 32px; }
	.mm-mega__links { list-style: none; margin: 0; padding: 0; }
	.mm-mega__links--split { columns: 2; column-gap: 28px; }
	.mm-mega__links li { margin: 0; break-inside: avoid; }
	.mm-mega__links a {
		display: block;
		padding: 6px 0;
		font-family: var(--mm-font-body);
		font-size: 13px;
		font-weight: 300;
		line-height: 1.4;
		color: #555;
		text-decoration: none;
		transition: color .18s ease;
	}
	.mm-mega__links a:hover { color: var(--mm-accent); }
	.mm-mega__viewall {
		display: inline-block;
		margin-top: 16px;
		padding-bottom: 3px;
		font-family: var(--mm-font-body);
		font-size: 10px;
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--mm-black);
		text-decoration: none;
		border-bottom: 1px solid var(--mm-black);
		transition: color .18s ease, border-color .18s ease;
	}
	.mm-mega__viewall:hover { color: var(--mm-accent); border-color: var(--mm-accent); }

	/* Col 3 — best-selling products (no add-to-cart) */
	.mm-mega__featured { padding: 0 32px; border-left: .5px solid var(--mm-border); }
	.mm-mega__products { display: grid; grid-template-columns: repeat( 2, 1fr ); gap: 18px 16px; }
	.mm-mega__product { display: block; text-decoration: none; }
	.mm-mega__thumb {
		display: block;
		width: 100%;
		aspect-ratio: 3 / 4;
		overflow: hidden;
		background: var(--mm-blush);
	}
	.mm-mega__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
	.mm-mega__pname {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		margin: 9px 0 3px;
		font-family: var(--mm-font-body);
		font-size: 12px;
		font-weight: 300;
		line-height: 1.4;
		color: var(--mm-black);
	}
	.mm-mega__price { display: block; font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; color: var(--mm-black); }
	.mm-mega__price del { color: var(--mm-muted); font-weight: 300; margin-right: 5px; }
	.mm-mega__price ins { text-decoration: none; }

	/* Col 4 — editorial image (200px, background confined to content box) */
	.mm-mega__editorial {
		position: relative;
		display: block;
		min-height: 300px;
		padding-left: 32px;
		border-left: .5px solid var(--mm-border);
		background-color: var(--mm-blush);
		background-size: cover;
		background-position: center;
		background-clip: content-box;
		background-origin: content-box;
		text-decoration: none;
		overflow: hidden;
	}
	.mm-mega__editorial-label {
		position: absolute;
		left: 32px;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 16px 18px;
		font-family: var(--mm-font-heading);
		font-weight: 300;
		font-size: 18px;
		letter-spacing: .02em;
		color: #fff;
		background: linear-gradient( to top, rgba( 0, 0, 0, .5 ), rgba( 0, 0, 0, 0 ) );
	}
}


/* ==========================================================================
   11b · MY ACCOUNT — full-width shell · pill tabs · dashboard action cards ·
   tier benefits · recently-viewed (RN-app parity). Complements §11.
   ========================================================================== */
.mm-account { max-width: 1100px; margin: 0 auto; padding: clamp(24px,4vw,88px) clamp(16px,4vw,32px) 72px; }
.mm-account .woocommerce-MyAccount-content { min-width: 0; }

/* FULL-WIDTH FIX — WoodMart only neutralises WooCommerce's default float+width on
   the account nav/content INSIDE `.wd-content-layout` (woo-page-my-account.css:
   `.woocommerce-account .wd-content-layout :is(.woocommerce-MyAccount-navigation,
   .woocommerce-MyAccount-content){width:auto;float:none}`). Our my-account.php uses
   `.mm-account` (no `.wd-content-layout`), so that reset never runs and the content
   inherits a float/percentage width → collapses to a narrow column. Re-assert it. */
.mm-account .woocommerce-MyAccount-navigation,
.mm-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; max-width: 100% !important; }

/* WoodMart wraps nav+content in .wd-my-account-wrapper.wd-grid-g (CSS grid).
   The content cell collapses to ~15px because the grid assigns it a tiny track.
   Force the grid wrapper to block so content fills full width.
   Do NOT hide .woocommerce-MyAccount-navigation — that is our custom pill tab bar. */
.mm-account .wd-my-account-wrapper.wd-grid-g {
	display: block !important;
}
.mm-account .wd-my-account-wrapper.wd-grid-g .woocommerce-MyAccount-content {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}
.mm-account::after { content: ""; display: table; clear: both; }

/* OUTER-CONTAINER FIX — §11b only neutralised the inner content above; the OUTER
   WoodMart wrapper `#main-content.wd-content-layout.container` still imposes
   `max-width:var(--wd-container-w)` + side gutters, so the account page reads as a
   constrained column on mobile. Release it, scoped to the `.woocommerce-account`
   <body> class so no other page is affected. `.mm-account` keeps the 1100px desktop
   cap + gutters, so desktop is unchanged. 100% NOT 100vw — 100vw includes the
   vertical-scrollbar gutter → horizontal overflow. */
.woocommerce-account #main-content,
.woocommerce-account #main-content.wd-content-layout {
	--wd-container-w: 100%;
	width: 100% !important;
	max-width: 100% !important;
}
@media (max-width: 767px) {
	.woocommerce-account { overflow-x: hidden; }
	.woocommerce-account #main-content.wd-content-layout { padding-left: 0; padding-right: 0; }
}

@media (max-width: 767px) {
	.mm-account { overflow-x: hidden; padding-left: 16px; padding-right: 16px; }
	.mm-account .woocommerce-MyAccount-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
	.mm-account .woocommerce-MyAccount-content select,
	.mm-account .woocommerce-MyAccount-content textarea { width: 100% !important; max-width: 100%; box-sizing: border-box; }
	.mm-account .woocommerce-MyAccount-content .col2-set .col-1,
	.mm-account .woocommerce-MyAccount-content .col2-set .col-2,
	.mm-account .woocommerce-MyAccount-content .u-columns > div,
	.mm-account .woocommerce-MyAccount-content .woocommerce-Addresses > div { width: 100% !important; float: none !important; margin: 0 0 16px; }
	.mm-account .woocommerce-MyAccount-content table.shop_table { display: block; width: 100%; overflow-x: auto; }
}

/* Pill tabs (navigation.php on sub-pages) */
.mm-acctabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 36px; padding-bottom: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.mm-acctabs::-webkit-scrollbar { display: none; }
.mm-acctab { flex-shrink: 0; white-space: nowrap; padding: 9px 16px; border: .5px solid var(--mm-border); font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-muted); text-decoration: none; transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
.mm-acctab:hover { color: var(--mm-black); border-color: #ccc; }
.mm-acctab.is-active { background: var(--mm-black); color: #fff; border-color: var(--mm-black); }
/* margin-left:auto inside a horizontal-scroll flex track blows the track open on
   mobile (huge gap before Sign Out). Keep auto only on desktop. */
.mm-acctab--logout { margin-left: 8px; }
@media (min-width: 768px) { .mm-acctab--logout { margin-left: auto; } }

/* Dashboard hero meta */
.mm-dash__since { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); margin: 4px 0 0; }

/* Action cards (2x3) */
.mm-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 0 0 48px; }
@media (min-width: 768px) { .mm-actions { grid-template-columns: repeat(3,1fr); } }
.mm-action-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: var(--mm-white); border: .5px solid var(--mm-border); text-decoration: none; transition: border-color .2s ease; }
.mm-action-card:hover { border-color: var(--mm-black); }
.mm-action-card__ic { color: var(--mm-black); flex-shrink: 0; line-height: 0; }
.mm-action-card__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm-action-card__t { font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mm-black); }
.mm-action-card__s { font-family: var(--mm-font-body); font-size: 11px; color: var(--mm-muted); }

/* Style card emoji */
.mm-style-card__emoji { display: block; font-size: 22px; line-height: 1; margin-bottom: 8px; }

/* Tier benefits */
.mm-tier-benefits { background: var(--mm-white); border: .5px solid var(--mm-border); padding: 22px; margin-bottom: 8px; }
.mm-tier-benefits__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: .5px solid var(--mm-border); }
.mm-tier-benefits__name { font-family: var(--mm-font-heading); font-weight: 400; font-size: 18px; letter-spacing: -.01em; color: var(--mm-black); }
.mm-tier-benefits__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.mm-tier-benefits__list li { display: flex; align-items: center; gap: 10px; font-family: var(--mm-font-body); font-size: 13px; color: #555; }
.mm-tier-benefits__list li svg { color: var(--mm-accent); flex-shrink: 0; }

/* Recently viewed rail */
/* grid-template-columns needs !important — WoodMart prints an INLINE
   grid-template-columns on `.products` (see §23 note) which otherwise outranks this
   rule and leaves dead space on the right. */
.mm-recent { width: 100%; }
.mm-recent .products { width: 100% !important; box-sizing: border-box; display: grid !important; grid-template-columns: repeat(2,1fr) !important; column-gap: 16px; row-gap: 32px; margin: 0 !important; padding: 0; list-style: none; }
@media (min-width: 768px) { .mm-recent .products { grid-template-columns: repeat(4,1fr) !important; } }
.mm-recent .products > .product, .mm-recent .products > li.product { width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; }
@media (max-width: 767px) {
	.mm-recent {
		width: calc(100% + 32px) !important;
		margin-left: -16px !important;
		margin-right: -16px !important;
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}
	.mm-recent .wd-products-element {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.mm-recent .products {
		width: 100% !important;
		column-gap: 12px !important;
	}
}

/* Policy links (dashboard "Information") — full-width tappable rows, clearly
   clickable (the old grey, no-underline inline-styled <a> read as plain text). */
.mm-dash-policies { display: flex; flex-direction: column; margin-bottom: 8px; }
.mm-policy-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 0.5px solid var(--mm-border);
	font-family: var(--mm-font-body);
	font-size: 13px;
	color: var(--mm-black);
	text-decoration: none;
}
.mm-policy-link:after {
	content: "→";
	color: var(--mm-muted);
}
.mm-policy-link:hover { color: var(--mm-accent); }
.mm-policy-link:hover:after { color: var(--mm-accent); }


/* ── Section 23: Product Rail — Luxury Mobile Redesign ── */
/* Targets the EXISTING rail/card selectors (functions.php .mm-rail + WoodMart
   content-product.php markup): .mm-rail__body .products (scroll container),
   > .product (card — fixes the dead `> li.product` rule at ~L527; cards are
   <div class="product">), .wd-product-img (image wrapper), .wd-product-brands
   (category label), .wd-entities-title (title), .price. !important is used only
   to override WoodMart's INLINE grid `style=""` (spacing/display) it prints on
   `.products` — the documented exception. */

/* Image wrapper → locked 3:4 portrait (style the existing .wd-product-img div). */
.mm-rail__body .wd-product-img { aspect-ratio: 3 / 4; width: 100%; overflow: hidden; }
.mm-rail__body .wd-product-img .wd-product-img-link { display: block; width: 100%; height: 100%; }
.mm-rail__body .wd-product-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

/* Mobile (≤767px) — horizontal scroll rail, larger portrait cards, breathing room. */
@media (max-width: 767px) {
	.mm-rail { padding-top: 40px; padding-bottom: 24px; }
	/* Full-bleed the scroll track (cancel .mm-rail horizontal padding) — header untouched. */
	.mm-rail__body { margin-left: calc(clamp(16px, 4vw, 40px) * -1); margin-right: calc(clamp(16px, 4vw, 40px) * -1); }
	.mm-rail__body .products { gap: 16px !important; padding: 0 16px; }
	.mm-rail__body .products > .product { flex: 0 0 auto; width: 42vw; min-width: 160px; max-width: 220px; margin: 0 !important; scroll-snap-align: start; }
	.mm-rail__body .wd-product-brands { display: none; }
	.mm-rail__body .wd-entities-title { font-size: 13px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(13px * 1.4 * 2); }
	.mm-rail__body .price { font-size: 13px; font-weight: 600; margin-top: 6px; }
}

/* Desktop (≥1024px) — flex scroll rail, restore category label + natural title. */
@media (min-width: 1024px) {
	.mm-rail__body .products { display: flex !important; flex-wrap: nowrap; gap: 24px !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
	.mm-rail__body .products::-webkit-scrollbar { display: none; }
	.mm-rail__body .products > .product { flex: 0 0 auto; min-width: 220px; max-width: 280px; margin: 0 !important; }
	.mm-rail__body .wd-product-brands { display: block; }
	.mm-rail__body .wd-entities-title { font-size: 14px; display: block; -webkit-line-clamp: initial; overflow: visible; min-height: 0; }
}

/* ==========================================================================
   24 · THE EDIT — luxury editorial magazine (page-shop-the-edit.php)
   Cover · Featured Stories · Shop The Looks · The Miss Merylin Moodboard ·
   Editor's Picks · Style Guides · Final CTA. Quiet-luxury, Cormorant, ivory,
   large photography, generous whitespace. Mobile-first.
   ========================================================================== */
.mm-edit-template .wd-page-title { display: none !important; }          /* kill WoodMart page-title bar */
.mm-edit-template .wd-content-area { width: 100% !important; max-width: 100% !important; float: none !important; }
.mm-mag { background: var(--mm-blush); overflow-x: hidden; }

/* Shared editorial heads */
.mm-mag__head { padding: clamp(56px,8vw,96px) clamp(20px,5vw,48px) clamp(24px,3vw,36px); max-width: 1320px; margin: 0 auto; }
.mm-mag__head--center { text-align: center; }
.mm-mag__eyebrow { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--mm-accent); margin: 0 0 16px; }
.mm-mag__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(30px,5vw,56px); line-height: 1.02; letter-spacing: -.02em; color: var(--mm-black); margin: 0; }

/* 1 · Cover */
.mm-cover { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(80px,12vw,120px) clamp(20px,5vw,40px); background: var(--mm-offwhite) center/cover no-repeat; }
.mm-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient( to bottom, rgba(0,0,0,.22), rgba(0,0,0,.40) ); }
.mm-cover__inner { position: relative; z-index: 1; max-width: 720px; color: #fff; }
.mm-cover__masthead { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; margin: 0 0 28px; opacity: .9; }
.mm-cover__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(56px,12vw,140px); line-height: .92; letter-spacing: .02em; margin: 0 0 20px; color: #fff; }
.mm-cover__sub { font-family: var(--mm-font-body); font-weight: 300; font-size: clamp(14px,1.7vw,18px); line-height: 1.7; max-width: 460px; margin: 0 auto; opacity: .95; }
.mm-cover__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,.85); }

/* 2 · Featured Stories */
.mm-stories { padding: clamp(40px,6vw,72px) clamp(16px,4vw,40px); }
.mm-stories__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(12px,1.5vw,20px); }
.mm-story { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px,46vw,620px); padding: clamp(24px,3vw,40px); background: var(--mm-offwhite) center/cover no-repeat; text-decoration: none; overflow: hidden; }
.mm-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient( to top, rgba(0,0,0,.55), rgba(0,0,0,0) 60% ); transition: background .4s ease; }
.mm-story:hover::after { background: linear-gradient( to top, rgba(0,0,0,.62), rgba(0,0,0,.08) 70% ); }
.mm-story__tx { position: relative; z-index: 1; color: #fff; }
.mm-story__eyebrow { display: block; font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px; opacity: .9; }
.mm-story__title { display: block; font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(26px,2.6vw,36px); line-height: 1.05; margin-bottom: 8px; }
.mm-story__sub { display: block; font-family: var(--mm-font-body); font-weight: 300; font-size: 14px; line-height: 1.6; opacity: .92; max-width: 280px; }

/* 3 · Shop The Looks (spread) */
.mm-look { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1400px; margin: 0 auto clamp(16px,2.5vw,32px); }
.mm-look--rev .mm-look__img { order: 2; }
.mm-look__img { min-height: clamp(420px,48vw,640px); background: var(--mm-offwhite) center/cover no-repeat; }
.mm-look__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,5vw,72px); background: var(--mm-white); }
.mm-look__eyebrow { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--mm-accent); margin: 0 0 14px; }
.mm-look__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(28px,3.4vw,44px); line-height: 1.04; letter-spacing: -.02em; color: var(--mm-black); margin: 0 0 16px; }
.mm-look__story { font-family: var(--mm-font-body); font-weight: 300; font-size: clamp(14px,1.4vw,16px); line-height: 1.75; color: var(--mm-black); opacity: .76; margin: 0 0 26px; max-width: 440px; }
.mm-look__products .products { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0 0 26px !important; }
.mm-look__products .products > .product, .mm-look__products .products > li.product { width: auto !important; margin: 0 !important; float: none !important; }
.mm-look__products .onsale { display: none; }
.mm-look__cta { align-self: flex-start; padding: 14px 32px; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; background: var(--mm-black); color: #fff; transition: background-color .2s ease; }
.mm-look__cta:hover { background: var(--mm-accent); }

/* 4 · The Miss Merylin Moodboard (masonry) */
.mm-journal { padding: clamp(56px,8vw,96px) clamp(16px,4vw,40px); }
.mm-journal__head { max-width: 1400px; margin: 0 auto clamp(28px,4vw,44px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.mm-journal__cta { flex-shrink: 0; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--mm-black); text-decoration: none; border-bottom: 1px solid var(--mm-black); padding-bottom: 3px; }
.mm-journal__cta:hover { color: var(--mm-accent); border-color: var(--mm-accent); }
.mm-journal__wall { max-width: 1400px; margin: 0 auto; column-count: 4; column-gap: 14px; }
.mm-journal__item { display: block; break-inside: avoid; margin: 0 0 14px; }
.mm-journal__item img { width: 100%; height: auto; display: block; }

/* 5 · Editor's Picks (luxury grid, no badges) */
.mm-picks { padding-bottom: clamp(40px,6vw,72px); }
.mm-picks__grid { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px); }
.mm-picks__grid .products { display: grid !important; grid-template-columns: repeat(3,1fr); column-gap: clamp(20px,3vw,40px); row-gap: clamp(40px,5vw,64px); margin: 0 !important; }
.mm-picks__grid .products > .product, .mm-picks__grid .products > li.product { width: auto !important; margin: 0 !important; float: none !important; }
.mm-picks__grid .onsale { display: none; }

/* 6 · Style Guides */
.mm-guides { padding-bottom: clamp(56px,8vw,96px); }
.mm-guides__grid { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px,4vw,40px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,40px); }
.mm-guide { display: block; text-decoration: none; }
.mm-guide__img { display: block; aspect-ratio: 4/3; background: var(--mm-offwhite) center/cover no-repeat; margin-bottom: 18px; }
.mm-guide__title { display: block; font-family: var(--mm-font-heading); font-weight: 400; font-size: clamp(20px,1.9vw,24px); line-height: 1.25; color: var(--mm-black); margin-bottom: 8px; }
.mm-guide__excerpt { display: block; font-family: var(--mm-font-body); font-weight: 300; font-size: 14px; line-height: 1.7; color: var(--mm-black); opacity: .72; margin-bottom: 12px; }
.mm-guide__more { font-family: var(--mm-font-body); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mm-black); border-bottom: 1px solid var(--mm-black); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.mm-guide:hover .mm-guide__more { color: var(--mm-accent); border-color: var(--mm-accent); }

/* 7 · Final CTA */
.mm-finalcta { background: var(--mm-black); text-align: center; padding: clamp(72px,10vw,128px) clamp(20px,5vw,40px); }
.mm-finalcta__inner { max-width: 620px; margin: 0 auto; }
.mm-finalcta__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(32px,5.5vw,60px); line-height: 1.02; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.mm-finalcta__sub { font-family: var(--mm-font-body); font-weight: 300; font-size: 15px; letter-spacing: .04em; color: #fff; opacity: .82; margin: 0 0 34px; }
.mm-finalcta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.mm-finalcta__btn { padding: 15px 36px; font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; text-decoration: none; background: #fff; color: var(--mm-black); transition: background-color .2s ease, color .2s ease; }
.mm-finalcta__btn:hover { background: var(--mm-accent); color: #fff; }
.mm-finalcta__btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.mm-finalcta__btn--ghost:hover { background: #fff; color: var(--mm-black); border-color: #fff; }

/* Tablet */
@media (max-width: 1024px) {
	.mm-journal__wall { column-count: 3; }
}
/* Mobile-first stacking */
@media (max-width: 767px) {
	.mm-cover { min-height: 92vh; }
	.mm-stories__grid { grid-template-columns: 1fr; }
	.mm-story { min-height: 70vh; }
	.mm-look { grid-template-columns: 1fr; }
	.mm-look--rev .mm-look__img { order: 0; }
	.mm-look__products .products { grid-template-columns: repeat(3,1fr); gap: 8px; }
	.mm-journal__wall { column-count: 2; column-gap: 10px; }
	.mm-journal__item { margin-bottom: 10px; }
	.mm-picks__grid .products { grid-template-columns: repeat(2,1fr); column-gap: 14px; row-gap: 32px; }
	.mm-guides__grid { grid-template-columns: 1fr; }
}

/* ============================================================================
 * PDP delivery block (Strategy A · Phase 1) — pincode, availability, ETA
 * Rendered/managed by assets/js/mm-delivery.js. Uses the brand tokens above.
 * ==========================================================================*/

.mm-delivery-block {
	margin: 20px 0;
	padding: 16px 18px;
	border: 1px solid var(--mm-border);
	border-radius: 10px;
	background: var(--mm-offwhite);
	font-family: var(--mm-font-body);
	color: var(--mm-black);
}

/* ── Availability row ───────────────────────────────────────────────────── */
.mm-availability {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.mm-availability-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.6;
	background: #eceae7;
	color: var(--mm-gray);
	white-space: nowrap;
}
/* Empty badge before first paint — keep the pill height, hide the text. */
.mm-availability-badge[data-state=""] { background: transparent; color: transparent; }

.mm-availability-badge[data-state="in_stock"]      { background: #e7f1ea; color: #2c7a4b; }
.mm-availability-badge[data-state="low_stock"]     { background: #fdf0e3; color: #b9701f; }
.mm-availability-badge[data-state="selling_fast"]  { background: #fbe9ec; color: var(--mm-accent); }
.mm-availability-badge[data-state="imported"]      { background: #eaf0f5; color: #3a6488; }
.mm-availability-badge[data-state="arriving_soon"] { background: #f1ecf6; color: #6b4e91; }
.mm-availability-badge[data-state="out_of_stock"]  { background: #f0eeec; color: var(--mm-muted); }

.mm-delivery-line {
	font-size: 13px;
	font-weight: 500;
	color: var(--mm-black);
}

.mm-eta-sentence {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--mm-gray);
}

/* ── Pincode checker ────────────────────────────────────────────────────── */
.mm-pincode {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--mm-border);
}

.mm-pincode__label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mm-gray);
}

.mm-pincode__row {
	display: flex;
	gap: 8px;
	max-width: 320px;
}

.mm-pincode-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--mm-border);
	border-radius: 8px;
	background: var(--mm-white);
	font-family: var(--mm-font-body);
	font-size: 14px;
	letter-spacing: 0.08em;
	color: var(--mm-black);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.mm-pincode-input::placeholder { color: var(--mm-muted); letter-spacing: normal; }
.mm-pincode-input:focus {
	outline: none;
	border-color: var(--mm-accent);
	box-shadow: 0 0 0 3px rgba(200, 85, 106, 0.12);
}

.mm-pincode__btn {
	flex: 0 0 auto;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--mm-black);
	color: var(--mm-white);
	font-family: var(--mm-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.18s ease, opacity 0.18s ease;
}
.mm-pincode__btn:hover  { background: var(--mm-accent); }
.mm-pincode__btn:active { opacity: 0.85; }

/* ── Pincode result card ────────────────────────────────────────────────── */
.mm-pincode__result {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-size: 12.5px;
	line-height: 1.5;
}
.mm-pincode__result.is-error { color: var(--mm-accent); }

.mm-pin-place { font-weight: 600; color: var(--mm-black); }
.mm-pin-eta   { color: var(--mm-black); }

.mm-pin-cod {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
}
.mm-pin-cod.is-yes { color: #2c7a4b; }
.mm-pin-cod.is-yes::before { content: "✓"; font-size: 11px; }
.mm-pin-cod.is-no  { color: var(--mm-muted); font-weight: 500; }

/* ── Loading / skeleton states ──────────────────────────────────────────── */
@keyframes mm-skeleton {
	0%   { opacity: 1; }
	50%  { opacity: 0.45; }
	100% { opacity: 1; }
}
.mm-delivery-block.is-loading .mm-delivery-line,
.mm-delivery-block.is-loading .mm-availability-badge {
	animation: mm-skeleton 1.1s ease-in-out infinite;
}
/* Placeholder shimmer bar for the dispatch line while it has no text yet. */
.mm-delivery-block.is-loading .mm-delivery-line:empty {
	display: inline-block;
	width: 120px;
	height: 12px;
	border-radius: 4px;
	background: #e6e3df;
}
.mm-delivery-block.is-checking .mm-pincode__btn {
	opacity: 0.6;
	pointer-events: none;
}
.mm-delivery-block.is-checking .mm-pincode__btn::after {
	content: "…";
}

@media (max-width: 480px) {
	.mm-pincode__row { max-width: none; }
}

/* ============================================================================
 * Checkout delivery estimate (Strategy A · Phase 2)
 * Container printed by woocommerce_review_order_before_payment, filled by
 * assets/js/mm-checkout.js. Sits above the payment methods.
 * ==========================================================================*/

.mm-co-estimate {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--mm-border);
	border-left: 3px solid var(--mm-accent);
	border-radius: 8px;
	background: var(--mm-white);
	font-family: var(--mm-font-body);
	color: var(--mm-black);
}
.mm-co-estimate[hidden] { display: none; }

.mm-co-estimate__headline {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--mm-black);
}

.mm-co-estimate__subline {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--mm-gray);
}

/* COD → prepaid conversion nudge */
.mm-co-estimate__nudge {
	display: block;
	margin-top: 8px;
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--mm-blush);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--mm-accent);
}

/* Informational COD-unavailable note (the hard gate is server-side) */
.mm-co-estimate__cod-note {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--mm-muted);
}

/* Loading state — pulse the whole estimate while re-fetching */
.mm-co-estimate.is-loading {
	animation: mm-skeleton 1.1s ease-in-out infinite;
}


/* ==========================================================================
   25 · IMPORTED COLLECTION — badge · trust block · cart/checkout notices ·
   size markers. Palette: #1a1a1a charcoal · #c8556a rose-red · #f5ede8 blush.
   ========================================================================== */

/* Imported availability badge (mm-delivery.js sets data-state="imported") */
.mm-availability-badge[data-state="imported"] { background: #f5ede8; color: #c8556a; border: .5px solid #c8556a; padding: 4px 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.mm-delivery-block.is-imported .mm-delivery-line { color: #c8556a; font-weight: 500; }
.mm-delivery-block.is-imported .mm-eta-sentence { color: #1a1a1a; font-weight: 500; }

/* Imported trust block (injected below the badge on imported PDPs) */
.mm-imported-trust { margin-top: 16px; padding: 16px 18px; background: #f5ede8; border: .5px solid #ebebeb; }
.mm-imported-trust__h { font-family: var(--mm-font-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #c8556a; margin: 0 0 10px; }
.mm-imported-trust__row { display: flex; gap: 9px; align-items: flex-start; font-family: var(--mm-font-body); font-size: 12px; line-height: 1.55; color: #1a1a1a; margin: 0 0 7px; }
.mm-imported-trust__row:last-child { margin-bottom: 0; }
.mm-imported-trust__row svg { flex-shrink: 0; color: #c8556a; margin-top: 2px; }

/* Size swatch / option markers (mm-delivery.js sets data-mm-mark) */
[data-mm-mark="imported"]::after { content: " \2708"; color: #c8556a; font-size: .85em; }
[data-mm-mark="ready"]::after    { content: " \2713"; color: #1a1a1a; font-size: .85em; opacity: .5; }

/* Cart notice (woocommerce_before_cart) */
.mm-imported-cart-notice { display: flex; gap: 12px; align-items: center; padding: 14px 18px; margin: 0 0 20px; background: #f5ede8; border-left: 3px solid #c8556a; }
.mm-imported-cart-notice__ic { font-size: 18px; color: #c8556a; flex-shrink: 0; line-height: 1; }
.mm-imported-cart-notice__tx b { display: block; font-family: var(--mm-font-body); font-size: 13px; font-weight: 600; color: #1a1a1a; }
.mm-imported-cart-notice__tx small { display: block; font-family: var(--mm-font-body); font-size: 12px; color: #1a1a1a; opacity: .7; margin-top: 2px; }

/* Checkout notice (woocommerce_before_order_button) */
.mm-imported-checkout-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin: 0 0 16px; background: #f5ede8; border-left: 3px solid #c8556a; font-family: var(--mm-font-body); font-size: 12px; line-height: 1.6; color: #1a1a1a; }
.mm-imported-checkout-notice span:first-child { color: #c8556a; flex-shrink: 0; }

/* Hide WooCommerce native stock / "Pre-order" / backorder text — ONLY while an
   imported variant is selected (mm-delivery.js adds .mm-imported-active to the form). */
form.mm-imported-active .stock,
form.mm-imported-active .woocommerce-variation-availability .stock,
form.mm-imported-active .wc-backorder-notification { display: none !important; }

/* Simple imported products — hide native stock status and the WoodMart
   "IN STOCK / Ships today" delivery bar (these sit as siblings of the form). */
form.mm-imported-active .stock,
.mm-imported-active ~ * .stock { display: none !important; }

form.mm-imported-active ~ .mm-delivery-block .wd-stock-status,
.woocommerce-product-details__short-description + form.mm-imported-active ~ * .wd-in-stock { display: none !important; }

/* Feature 1 — collection card "Imported Collection" ribbon (full-width, bottom of image) */
.wd-product .product-element-top.wd-product-img { position: relative; }
.wd-product .mm-imported-card-badge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 8px; background: #f5ede8; color: #c8556a; border-top: .5px solid rgba(200,85,106,.35); font-family: var(--mm-font-body); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; line-height: 1; text-align: center; }

/* Feature 4 — imported order journey timeline (rose-red active · charcoal inactive · blush connector) */
.mm-timeline--imported .mm-timeline__step::before { background: #f5ede8; }
.mm-timeline--imported .mm-timeline__step.is-done::before { background: #c8556a; }
.mm-timeline--imported .mm-timeline__label { color: #1a1a1a; }
.mm-timeline--imported .mm-timeline__step.is-done .mm-timeline__dot { background: #c8556a; }
@media (max-width: 600px) { .mm-timeline--imported .mm-timeline__label { font-size: 9px; letter-spacing: 0; } }

/* Imported item tag — next to the product title in cart + mini cart. */
.mm-cart-item-tag {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 6px;
	padding: 2px 7px;
	background: #f5ede8;
	color: #c8556a;
	border: .5px solid rgba(200, 85, 106, .35);
	font-size: 9px;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-weight: 600;
	vertical-align: middle;
	border-radius: 2px;
}

/* Hide Out of Stock badge for imported products */
.mm-imported-active .stock.out-of-stock,
.mm-imported-active .wd-oos-badge,
.mm-imported-active .out-of-stock,
.woocommerce-variation-availability .out-of-stock { display: none !important; }

/* Hide OOS label on product cards with imported ribbon */
.wd-product:has(.mm-imported-card-badge) .wd-oos-label,
.wd-product:has(.mm-imported-card-badge) .out-of-stock { display: none !important; }
/* ── Checkout update skeleton ── */
#order_review.mm-updating,
#payment.mm-updating {
    position: relative;
    pointer-events: none;
}
#order_review.mm-updating::after,
#payment.mm-updating::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.6) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: mm-skeleton 1s infinite;
    z-index: 10;
}
@keyframes mm-skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* Hide sticky Add-to-Bag bar while the mini-cart drawer is open */
.wd-dropdown-cart.wd-opened ~ .wd-sticky-btn-cont,
body:has(.wd-dropdown-cart.wd-opened) .wd-sticky-btn-cont,
body:has(.wd-cart-drawer.wd-opened) .wd-sticky-btn-cont,
body:has(.widget_shopping_cart.wd-opened) .wd-sticky-btn-cont {
    display: none !important;
    pointer-events: none !important;
}

/* Hide sticky Add-to-Bag bar while ANY cart drawer is open (corrected classes) */
body:has(.wd-dropdown-cart.wd-opened) .wd-sticky-btn-content,
body:has(.cart-widget-side.wd-opened) .wd-sticky-btn-content,
body:has(.widget_shopping_cart.wd-opened) .wd-sticky-btn-content,
body:has(.wd-cart-drawer.wd-opened) .wd-sticky-btn-content,
body:has(.wd-opened .widget_shopping_cart) .wd-sticky-btn-content {
    transform: translateY(120%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   25 · POLICY PAGE — editorial single-column (page-shipping-policy.php and
   future policy pages). Off-white ground, hairline section rules, no shadows,
   sticky WhatsApp CTA. Mobile-first: full-width → 680px centred on desktop.
   ========================================================================== */
/* ── Policy / Contact / FAQ / About page — full-width layout override ──────
   WoodMart injects #main-content.wd-content-layout.container which imposes
   max-width + side gutters. Override for all custom mm page templates. */
.mm-policy-template #main-content,
.mm-policy-template #main-content.wd-content-layout,
.mm-contact-template #main-content,
.mm-contact-template #main-content.wd-content-layout,
.mm-faq-template #main-content,
.mm-faq-template #main-content.wd-content-layout,
.mm-about-template #main-content,
.mm-about-template #main-content.wd-content-layout {
	--wd-container-w: 100%;
	--wd-col-lg: 1 !important;
	--wd-gap-lg: 0px !important;
	--wd-gap-sm: 0px !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	display: block !important;
	grid-template-columns: 1fr !important;
}
.mm-policy-template .wd-content-area,
.mm-contact-template .wd-content-area,
.mm-faq-template .wd-content-area,
.mm-about-template .wd-content-area {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}
/* Inner page containers — the template <main>/<div> root elements collapse
   because they inherit from a grid/flex context with no explicit width. */
.mm-faq-template .mm-faq,
.mm-faq-template .mm-faq__inner,
.mm-contact-template .mm-contact,
.mm-contact-template .mm-contact__inner,
.mm-policy-template .mm-policy-page,
.mm-policy-template .mm-policy-page__inner,
.mm-about-template .mm-about,
.mm-about-template .mm-about__inner {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	display: block !important;
}
/* Hide WoodMart sidebar on all custom templates */
.mm-policy-template .widget-area,
.mm-contact-template .widget-area,
.mm-faq-template .widget-area,
.mm-about-template .widget-area { display: none !important; }

.mm-policy-page { background: var(--mm-offwhite); padding: clamp(56px,9vw,96px) clamp(20px,5vw,32px) 120px; }
.mm-policy-page__inner { max-width: 680px; margin: 0 auto; }

/* Hero */
.mm-policy-page__hero { margin-bottom: clamp(40px,7vw,64px); }
.mm-policy-page__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(34px,9vw,52px); line-height: 1.05; letter-spacing: -.01em; color: var(--mm-black); margin: 0 0 14px; }
.mm-policy-page__subtitle { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(16px,4.5vw,21px); line-height: 1.4; color: var(--mm-muted); margin: 0; }

/* Sections — small uppercase label + body, separated by hairline borders */
.mm-policy-page__sections { border-top: .5px solid var(--mm-border); }
.mm-policy-section { padding: clamp(26px,5vw,34px) 0; border-bottom: .5px solid var(--mm-border); }
.mm-policy-section__label { font-family: var(--mm-font-body); font-size: 9px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 14px; }
.mm-policy-section__body { font-family: var(--mm-font-body); font-weight: 300; font-size: 15px; line-height: 1.75; color: var(--mm-black); margin: 0; }

/* Inline contact line under the sections */
.mm-policy-page__contact { font-family: var(--mm-font-body); font-size: 13px; line-height: 1.7; color: var(--mm-muted); margin: clamp(32px,6vw,48px) 0 0; }
.mm-policy-page__contact-link { color: var(--mm-black); text-decoration: underline; text-underline-offset: 3px; }
.mm-policy-page__contact-link:hover { color: var(--mm-accent); }

/* Sticky WhatsApp CTA — full-width on mobile, 680px column on desktop */
.mm-policy-cta { position: sticky; bottom: clamp(16px,4vw,28px); z-index: 5; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 680px; margin: clamp(40px,8vw,56px) auto 0; padding: 16px 24px; background: var(--mm-black); color: #fff; font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .2s ease; }
.mm-policy-cta:hover { background: var(--mm-accent); color: #fff; }
.mm-policy-cta__ic { display: inline-flex; line-height: 0; color: #fff; }

/* ── Terms & Conditions additions (page-terms.php) ── */

/* Effective-date line under the subtitle — small, muted, uppercase eyebrow */
.mm-policy-page__effective { font-family: var(--mm-font-body); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mm-muted); margin: 16px 0 0; }

/* In-page anchor navigation — boxed jump list above the clauses */
.mm-policy-nav { margin: 0 0 clamp(32px,6vw,48px); padding: clamp(20px,4vw,26px) clamp(20px,4vw,28px); background: var(--mm-white); border: .5px solid var(--mm-border); }
.mm-policy-nav__title { font-family: var(--mm-font-body); font-size: 9px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 14px; }
.mm-policy-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mm-policy-nav__link { display: block; padding: 9px 0; font-family: var(--mm-font-body); font-weight: 300; font-size: 14px; line-height: 1.4; color: var(--mm-black); text-decoration: none; border-bottom: .5px solid var(--mm-border); transition: color .2s ease; }
.mm-policy-nav__list li:last-child .mm-policy-nav__link { border-bottom: 0; }
.mm-policy-nav__link:hover { color: var(--mm-accent); }

/* Anchor targets clear the sticky header when jumped to */
.mm-policy-section { scroll-margin-top: clamp(80px,14vw,120px); }

/* Governing Law — highlighted Mumbai jurisdiction clause */
.mm-policy-section--highlight { padding-left: clamp(16px,4vw,22px); padding-right: clamp(16px,4vw,22px); background: var(--mm-blush); border-bottom: .5px solid var(--mm-border); border-left: 2px solid var(--mm-accent); }
.mm-policy-section--highlight .mm-policy-section__label { color: var(--mm-accent); }

/* ── Privacy Policy additions (page-privacy-policy.php) ── */

/* Anchor navigation — small pill links jumping to each section.
   Namespaced (.mm-policy-pills) so it doesn't collide with the Terms page's
   boxed .mm-policy-nav list. The "Last updated" line reuses .mm-policy-page__effective
   and the "Your Rights" emphasis reuses .mm-policy-section--highlight. */
.mm-policy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(28px,5vw,40px) 0 clamp(4px,2vw,12px); }
.mm-policy-pills__pill { display: inline-flex; align-items: center; padding: 7px 14px; border: .5px solid var(--mm-border); border-radius: 999px; background: transparent; font-family: var(--mm-font-body); font-size: 11px; font-weight: 400; letter-spacing: .04em; line-height: 1; color: var(--mm-muted); text-decoration: none; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.mm-policy-pills__pill:hover, .mm-policy-pills__pill:focus-visible { color: var(--mm-black); border-color: var(--mm-black); background: var(--mm-white); outline: none; }

/* Data-deletion contact callout inside the "Your Rights" clause */
.mm-policy-deletion { display: flex; flex-direction: column; gap: 5px; margin: 18px 0 0; }
.mm-policy-deletion__label { font-family: var(--mm-font-body); font-size: 9px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mm-muted); }
.mm-policy-deletion__link { font-family: var(--mm-font-body); font-size: 15px; font-weight: 400; color: var(--mm-black); text-decoration: underline; text-underline-offset: 3px; }
.mm-policy-deletion__link:hover { color: var(--mm-accent); }


/* ── Contact Us (page-contact-us.php) — WhatsApp-first support, mirrors app HelpScreen ── */

.mm-contact { background: var(--mm-offwhite); padding: clamp(48px,8vw,88px) clamp(20px,5vw,32px) 120px; }
.mm-contact__inner { max-width: 720px; margin: 0 auto; }

/* 1. Hero */
.mm-contact__hero { text-align: center; margin-bottom: clamp(28px,5vw,40px); }
.mm-contact__hero-ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mm-blush); color: var(--mm-gray); margin-bottom: 18px; }
.mm-contact__hero-title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(30px,8vw,46px); line-height: 1.06; letter-spacing: -.01em; color: var(--mm-black); margin: 0 0 12px; }
.mm-contact__hero-sub { font-family: var(--mm-font-body); font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--mm-muted); margin: 0 auto; max-width: 380px; }

/* 2. WhatsApp CTA — green-tint concierge card (primary action) */
.mm-contact-wa { display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; padding: 18px 20px; margin: 0 0 clamp(36px,6vw,52px); background: #F0FAF2; border: 1px solid #C3E6CB; border-radius: 14px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.mm-contact-wa:hover { border-color: #2D7A3A; box-shadow: 0 6px 20px rgba(45,122,58,.12); }
.mm-contact-wa__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #DCEFDE; color: #2D7A3A; }
.mm-contact-wa__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm-contact-wa__title { font-family: var(--mm-font-body); font-size: 15px; font-weight: 600; color: #1A4D24; }
.mm-contact-wa__sub { font-family: var(--mm-font-body); font-size: 13px; font-weight: 300; color: #4A7A52; }
.mm-contact-wa__badge { flex: none; padding: 8px 14px; border-radius: 999px; background: #2D7A3A; color: #fff; font-family: var(--mm-font-body); font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }

/* Section wrapper + label */
.mm-contact-section { margin-bottom: clamp(36px,6vw,52px); }
.mm-contact-section__title { font-family: var(--mm-font-body); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mm-muted); margin: 0 0 16px; }

/* 3 + 4. Card grids — 2-col mobile; Quick Actions widen to 4-col on desktop */
.mm-contact-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }

.mm-contact-card { position: relative; display: flex; flex-direction: column; box-sizing: border-box; min-height: 96px; padding: 16px; background: var(--mm-white); border: 1px solid var(--mm-border); border-radius: 12px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.mm-contact-card:hover { border-color: var(--mm-black); box-shadow: 0 6px 18px rgba(26,26,26,.07); transform: translateY(-1px); }
.mm-contact-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--mm-offwhite); color: var(--mm-gray); margin-bottom: 10px; }
.mm-contact-card__label { font-family: var(--mm-font-body); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mm-black); margin-bottom: 3px; }
.mm-contact-card__sub { font-family: var(--mm-font-body); font-size: 11px; font-weight: 300; line-height: 1.4; color: var(--mm-muted); }
.mm-contact-card__arrow { position: absolute; top: 14px; right: 14px; font-size: 16px; line-height: 1; color: var(--mm-muted); transition: color .2s ease, transform .2s ease; }
.mm-contact-card:hover .mm-contact-card__arrow { color: var(--mm-accent); transform: translateX(2px); }

/* Order-support cards: compact, icon beside label */
.mm-contact-card--inline { flex-direction: row; align-items: center; gap: 12px; min-height: 0; }
.mm-contact-card--inline .mm-contact-card__ic { margin-bottom: 0; flex: none; width: 32px; height: 32px; }
.mm-contact-card--inline .mm-contact-card__label { font-weight: 500; margin-bottom: 0; }

/* 5. Business info — labelled rows */
.mm-contact-info { list-style: none; margin: 0; padding: 0; border-top: .5px solid var(--mm-border); }
.mm-contact-info__row { display: flex; align-items: center; gap: 14px; padding: 16px 2px; border-bottom: .5px solid var(--mm-border); }
.mm-contact-info__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mm-blush); color: var(--mm-gray); }
.mm-contact-info__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm-contact-info__label { font-family: var(--mm-font-body); font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mm-muted); }
.mm-contact-info__value { font-family: var(--mm-font-body); font-size: 15px; font-weight: 400; color: var(--mm-black); }
.mm-contact-info__link { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.mm-contact-info__link:hover { color: var(--mm-accent); }

/* Desktop: Quick Actions expand to 4 across */
@media (min-width: 768px) {
	.mm-contact-grid--quick { grid-template-columns: repeat(4, 1fr); }
}

/* ── FAQ (page-faq.php) — category pills + pure-CSS <details> accordion that
   mirrors HelpScreen's AccordionRow (220ms expand + chevron flip). ── */
.mm-faq { background: var(--mm-offwhite); padding: clamp(56px,9vw,96px) clamp(20px,5vw,32px) 120px; }
.mm-faq__inner { max-width: 680px; margin: 0 auto; }

/* Hero */
.mm-faq__hero { margin-bottom: clamp(8px,2vw,16px); }
.mm-faq__title { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(30px,8vw,46px); line-height: 1.06; letter-spacing: -.01em; color: var(--mm-black); margin: 0 0 12px; }
.mm-faq__subtitle { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(15px,4vw,19px); line-height: 1.4; color: var(--mm-muted); margin: 0; }

/* Category tabs — scrollable pills on mobile; active = black pill */
.mm-faq-tabs { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: clamp(28px,5vw,40px) 0 clamp(18px,4vw,26px); padding-bottom: 2px; }
.mm-faq-tabs::-webkit-scrollbar { display: none; }
.mm-faq-tab { flex: none; padding: 8px 16px; border: .5px solid var(--mm-border); border-radius: 999px; background: transparent; font-family: var(--mm-font-body); font-size: 12px; font-weight: 400; letter-spacing: .03em; line-height: 1; color: var(--mm-muted); white-space: nowrap; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.mm-faq-tab:hover { color: var(--mm-black); border-color: var(--mm-black); }
.mm-faq-tab.is-active { background: var(--mm-black); border-color: var(--mm-black); color: #fff; }

/* Category group (one shown at a time; hidden via the [hidden] attribute) */
.mm-faq-group { border-top: .5px solid var(--mm-border); }
.mm-faq-group[hidden] { display: none; }

/* Accordion item — pure CSS via <details>/<summary> */
.mm-faq-item { border-bottom: .5px solid var(--mm-border); }
.mm-faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(16px,3.5vw,20px) 0; cursor: pointer; list-style: none; }
.mm-faq-item__q::-webkit-details-marker { display: none; }
.mm-faq-item__q:focus-visible { outline: 1px solid var(--mm-black); outline-offset: 4px; }
.mm-faq-item__qtext { font-family: var(--mm-font-body); font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--mm-black); }
.mm-faq-item__chevron { flex: none; display: inline-flex; line-height: 0; color: var(--mm-muted); transition: transform .22s ease; }
.mm-faq-item[open] .mm-faq-item__chevron { transform: rotate(180deg); }

/* Expand animation: grid-rows 0fr → 1fr (220ms), inner clips overflow */
.mm-faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.mm-faq-item[open] .mm-faq-item__panel { grid-template-rows: 1fr; }
.mm-faq-item__a { overflow: hidden; min-height: 0; font-family: var(--mm-font-body); font-size: 12px; font-weight: 300; line-height: 1.7; color: var(--mm-muted); padding-bottom: clamp(16px,3.5vw,20px); }
@media (prefers-reduced-motion: reduce) {
	.mm-faq-item__panel, .mm-faq-item__chevron { transition: none; }
}

/* Still have questions? — WhatsApp CTA */
.mm-faq__still { margin: clamp(44px,8vw,64px) 0 0; text-align: center; }
.mm-faq__still-q { font-family: var(--mm-font-heading); font-weight: 300; font-size: clamp(18px,5vw,24px); color: var(--mm-black); margin: 0 0 18px; }
.mm-faq__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; background: var(--mm-black); color: #fff; font-family: var(--mm-font-body); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s ease; }
.mm-faq__cta:hover { background: var(--mm-accent); color: #fff; }
.mm-faq__cta-ic { display: inline-flex; line-height: 0; color: #fff; }

/* ===== Mobile Nav Panel Fix — force above page content ===== */
.mobile-nav.wd-side-hidden {
  z-index: 9999 !important;
}
.mobile-nav.wd-side-hidden.wd-opened {
  z-index: 9999 !important;
  transform: none !important;
  visibility: visible !important;
}
.wd-close-side.wd-fill {
  z-index: 9998 !important;
}
.wd-close-side.wd-opened,
body.wd-open-side .wd-close-side {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 9998 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Prevent page wrapper from creating stacking context that traps the nav */
.wd-page-wrapper.website-wrapper {
  z-index: auto !important;
}


/* ── §22 Footer full-width fix on shop/category archives ──────────────────────
   WoodMart's <main class="wd-content-layout"> is a CSS grid (8x 15px cols) on
   archive pages, which collapses .mm-ft to ~15px. Force the footer to break out
   of the grid and span the full viewport width. */
.archive .mm-ft,
.woocommerce-page .mm-ft,
.post-type-archive-product .mm-ft {
	grid-column: 1 / -1 !important;
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	box-sizing: border-box !important;
}
/* End §22 */


/* ── §23 Cart side panel above overlay (fix unclickable buttons) ──────────────
   WoodMart's .wd-close-side overlay (z-index 9998) was covering the cart side
   panel (z-index 500), so VIEW CART / CHECKOUT taps hit the overlay and closed
   the cart instead of navigating. Lift the panel above the overlay. */
.cart-widget-side.wd-opened,
.wd-cart-side.wd-opened,
.cart-widget-side.wd-right.wd-opened {
	z-index: 9999 !important;
}
/* End §23 */


/* ── §24 Account / my-account login side panel above overlay ──────────────────
   Same stacking bug as the mobile menu (above) and the cart panel (§23): the
   .wd-close-side overlay (z-index 9998) sat on top of the my-account login
   sidebar, so the form fields + LOG IN button received the overlay's taps instead
   of the panel's. Lift the opened panel above the overlay — the overlay stays at
   9998 (above page content, below the panel), so taps inside the panel hit the
   panel, not the overlay. */
.wd-side-hidden.wd-opened {
	z-index: 9999 !important;
}
.wd-header-my-account-side-opener + .wd-side-hidden,
.wd-dropdown-my-account.wd-side-hidden {
	z-index: 9999 !important;
}
/* End §24 */


/* ── §25 Bottom toolbar — iOS safe-area pin (no scroll gap) ───────────────────
   WoodMart's .wd-toolbar uses position:fixed; bottom:0 with NO safe-area inset.
   On iPhones with a home indicator, bottom:0 anchors to the physical screen edge
   while iOS's dynamic chrome/safe-area sits above it — so during a scroll/pull the
   bar appears to float up leaving a gap below. Mirror the env(safe-area-inset-bottom)
   handling already used on .mm-sticky-atc so the bar stays pinned above the home
   indicator. Scoped to the toolbar only — no layout/typography change. */
.wd-toolbar {
	bottom: 0 !important;
	padding-bottom: env(safe-area-inset-bottom, 0px) !important;
	box-sizing: border-box !important;
}
/* End §25 */
