/*
Theme Name: Melissa Lunt
Theme URI: https://melissalunt.com/
Author: Melissa Lunt
Description: Kadence child theme for melissalunt.com. Brand colors and fonts are set in code (inc/kadence-defaults.php, assets/css/fonts.css); header and footer layout in inc/header-footer.php.
Template: kadence
Version: 0.13.65
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v3.0 (or later)
Text Domain: melissalunt
*/

/* Most styling comes from Kadence settings (defaults in inc/kadence-defaults.php). This file holds the rest.
   Colors: use the palette slots (var(--global-paletteN)), never fixed colors, so a rebrand stays a one-file change. */

/* Fonts for the shared WooCommerce page styles (assets/css/woo-pages.css). */
:root {
	--shop-sans: "Special Gothic", "Helvetica Neue", Arial, sans-serif;
	--shop-label: "Special Gothic Expanded One", "Special Gothic", sans-serif;
	--shop-serif: "kepler-3-subhead-condensed", "Libre Caslon Condensed", Georgia, serif;
	--ml-sans: "Special Gothic", "Helvetica Neue", Arial, sans-serif;
	--ml-label: "Special Gothic Expanded One", "Special Gothic", sans-serif;
	--ml-serif: "kepler-3-subhead-condensed", "Libre Caslon Condensed", Georgia, serif;
}

/* Accent words --------------------------------------------------------- */
/* Every italic accent is Kepler 3 Subhead Condensed Light (300), as on superherodesign.co. */
.sh-script, .sh-serif {
	font-family: var(--ml-serif) !important;
	font-style: italic !important;
	font-weight: 300 !important;
	text-transform: none;
	letter-spacing: 0;
	font-synthesis: none;
}
.sh-label { font-family: var(--ml-label); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; }

/* Header ---------------------------------------------------------------- */
.main-navigation .menu > .menu-item-has-children > a .dropdown-nav-toggle { display: none; }
.main-navigation .menu > .menu-item-has-children > a .nav-drop-title-wrap::after { content: "\00a0+"; font-weight: 600; }
.header-navigation .header-menu-container ul ul { border: 1px solid var(--global-palette4); }

/* Footer ---------------------------------------------------------------- */
.site-footer .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; }
.site-footer .widget_nav_menu li { margin: 0 0 0.6rem; }
.site-footer .widget_nav_menu a { color: var(--global-palette9); text-decoration: none; }
.site-footer .widget_nav_menu a:hover,
.site-footer .widget_nav_menu a:focus { color: var(--global-palette2); }
.site-footer .footer-social { margin-top: 1.5rem; }

/* Blocks ---------------------------------------------------------------- */
.wp-block-image.has-custom-border img:not([style*="border-width"]) { border-width: 0; }

/* Buttons on dark sections: white outline, lime on hover. */
.sh-btn-light .wp-block-button__link,
.has-background[style*="--global-palette4"] .wp-block-button__link {
	color: var(--global-palette9);
	border-color: var(--global-palette9);
	background: transparent;
}
.sh-btn-light .wp-block-button__link:hover,
.sh-btn-light .wp-block-button__link:focus,
.has-background[style*="--global-palette4"] .wp-block-button__link:hover,
.has-background[style*="--global-palette4"] .wp-block-button__link:focus {
	color: var(--global-palette2);
	border-color: var(--global-palette2);
	background: transparent;
}

/* Small white pill links. */
.sh-pills .wp-block-button__link {
	padding: 10px 22px;
	font-size: 12px;
	letter-spacing: 0.08em;
	background: var(--global-palette9);
	border-color: var(--global-palette6);
}
.sh-pills .wp-block-button__link:hover,
.sh-pills .wp-block-button__link:focus { background: var(--global-palette4); border-color: var(--global-palette4); color: var(--global-palette9); }

/* Check-mark lists and FAQ accordions. */
.sh-checklist { list-style: none; padding-left: 0; margin: 1.25rem 0 0; }
.sh-checklist li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.sh-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--global-palette2); }
.sh-faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.sh-faq[open] summary { margin-bottom: 0.75rem; }

/* Blog lists. */
.wp-block-post-terms a { color: var(--global-palette4); text-decoration: none; }
.wp-block-post-terms a:hover { color: var(--global-palette1); }
.wp-block-post-title a { text-decoration: none; }

/* Placeholder copy (page shells): dashed box so drafts are never mistaken for final copy. */
.sh-placeholder {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1.1rem;
	border: 1px dashed var(--global-palette5);
	border-radius: 6px;
	background: color-mix(in srgb, var(--global-palette2) 25%, transparent);
	color: var(--global-palette4);
	font-size: 15px;
}
.has-background[style*="--global-palette4"] .sh-placeholder { color: var(--global-palette9); border-color: var(--global-palette9); }

/* Blog cards and posts: titles in ink without underline; images with soft corners. */
.loop-entry .entry-title a { color: var(--global-palette3); text-decoration: none; }
.loop-entry .entry-title a:hover { color: var(--global-palette1); }
.loop-entry .post-thumbnail img, .single .post-thumbnail img { border-radius: 8px; }

/* Accessibility --------------------------------------------------------- */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--global-palette1);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Copy-prompt boxes in blog posts */
.shd-prompt-box,
.shd-example-box {
	margin: 2rem 0;
	border: 1px solid var(--global-palette3, #1c1c1c);
	background: var(--global-palette8, #f8f7f5);
}
.shd-prompt-top,
.shd-example-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1.1rem;
	background: var(--global-palette3, #1c1c1c);
	color: #fff;
	font-family: "Special Gothic", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.shd-prompt-copy-btn,
.shd-example-copy-btn,
.entry-content .shd-prompt-copy-btn,
.entry-content .shd-example-copy-btn {
	flex-shrink: 0;
	margin: 0;
	padding: 0.55rem 0.9rem;
	border: 1px solid #fff;
	border-radius: 0;
	background: transparent;
	color: #fff;
	box-shadow: none;
	font-family: "Special Gothic", sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.shd-prompt-copy-btn:hover,
.shd-prompt-copy-btn:focus-visible,
.shd-example-copy-btn:hover,
.shd-example-copy-btn:focus-visible {
	background: var(--global-palette2, #e8fc76);
	border-color: var(--global-palette2, #e8fc76);
	color: var(--global-palette3, #1c1c1c);
}
.shd-prompt-text,
.shd-example-text,
.entry-content .shd-prompt-text,
.entry-content .shd-example-text {
	margin: 0;
	padding: 1.5rem;
	border: 0;
	background: transparent;
	color: var(--global-palette3, #1c1c1c);
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.65;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	overflow-x: hidden;
}
@media (max-width: 600px) {
	.shd-prompt-top,
	.shd-example-top { padding: 0.75rem 0.9rem; font-size: 0.65rem; }
	.shd-prompt-text,
	.shd-example-text { padding: 1.1rem; font-size: 0.9rem; }
}

/* Homepage "Latest posts": match the blog cards */
.wp-block-latest-posts.ml-latest-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wp-block-latest-posts.ml-latest-posts > li {
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.ml-latest-posts .wp-block-latest-posts__featured-image {
	margin: 0 0 16px;
}
.ml-latest-posts .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 8px;
}
.ml-latest-posts .wp-block-latest-posts__post-title {
	color: var(--global-palette3, #1c1c1c);
	font-family: "Special Gothic", sans-serif;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}
.ml-latest-posts .wp-block-latest-posts__post-title:hover {
	color: var(--global-palette1, #1827fb);
}
.ml-latest-posts .wp-block-latest-posts__post-date {
	margin-top: 8px;
	color: var(--global-palette5, #7a7a7a);
	font-size: 0.85rem;
}
@media (max-width: 900px) {
	.wp-block-latest-posts.ml-latest-posts { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================================
   Homepage (melissalunt-build/gen_home.cjs, ml-h-* classes). Layout from Melissa's current For Designers page;
   superherodesign.co fonts; palette slots: 4 ink, 6 stone, 7 sand, 8 paper, 9 white, 3/10 dark band.
   ===================================================================== */
.ml-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 40px; box-sizing: border-box; }
.wp-block-group[class*="ml-h"] > .wp-block-group__inner-container, [class*="ml-h"] .wp-block-group > .wp-block-group__inner-container { display: contents; }
[class*="ml-h"] p, [class*="ml-h"] h1, [class*="ml-h"] h2, [class*="ml-h"] h3, [class*="ml-h"] figure { margin: 0; }
[class*="ml-h"] .wp-block-group, [class*="ml-h"] .wp-block-buttons, [class*="ml-h"] .wp-block-image { margin-top: 0 !important; margin-bottom: 0 !important; }
.entry-content > .ml-h { margin: 0; }
.ml-h { color: var(--global-palette4); }
.ml-h strong { font-weight: 600; }
.ml-h .ml-h-label { color: var(--global-palette4); }
.ml-h-btns .wp-block-button__link { min-height: 46px; padding: 0 26px !important; display: inline-flex; align-items: center; font-family: var(--ml-sans); font-weight: 600; font-size: 12px !important; letter-spacing: 0.12em; text-transform: uppercase; }
.ml-h-btns--sm .wp-block-button__link { min-height: 38px; padding: 0 20px !important; font-size: 11px !important; }
.ml-h-btns--center { justify-content: center; }
.ml-h-btns--light .wp-block-button__link { color: var(--global-palette9); border-color: var(--global-palette9); background: transparent; }
.ml-h-btns--light .wp-block-button__link:hover, .ml-h-btns--light .wp-block-button__link:focus { color: var(--global-palette4); background: var(--global-palette2); border-color: var(--global-palette2); }

/* Hero */
.ml-h-hero { background: var(--global-palette8); }
.ml-h-hero__inner { padding-block: 72px 96px; display: flex; flex-direction: column; align-items: center; }
.ml-h .ml-h-hero__grid { margin-top: 56px !important; }
.ml-h .ml-h-hero__title { font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.88; font-size: clamp(56px, 10vw, 150px); text-align: center; }
.ml-h .ml-h-hero__sub { margin-top: 18px; font-size: 18px; text-align: center; }
.ml-h-hero__grid { width: 100%; max-width: 1000px; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: stretch; }
.ml-h-hero__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; } /* color (Melissa, Nov 13) */
.ml-h-hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.ml-h .ml-h-hero__big { font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; font-size: clamp(40px, 5.2vw, 72px); text-align: right; }
.ml-h-hero__meet { display: grid; grid-template-columns: minmax(0, 1.5fr) auto auto; gap: 28px; align-items: end; padding-top: 22px; border-top: 1px solid var(--global-palette4); }
.ml-h .ml-h-hero__name { font-size: 30px; line-height: 1; }
.ml-h .ml-h-hero__note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--global-palette4); }
.ml-h-stat { padding-left: 24px; border-left: 1px solid var(--global-palette6); }
.ml-h .ml-h-stat__num { font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.ml-h .ml-h-stat__label { margin-top: 6px; font-size: 12px; line-height: 1.3; color: var(--global-palette5); max-width: 110px; }

/* Content sections */
.ml-h-section .ml-wrap { padding-block: 88px; display: flex; flex-direction: column; gap: 28px; }
.ml-h-sand { background: var(--global-palette7); }
.ml-h-white { background: var(--global-palette8); }
.ml-h-paper { background: var(--global-palette8); }
.ml-h-head { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.ml-h .ml-h-title { font-family: var(--ml-sans); font-weight: 400; text-transform: none; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(32px, 3.4vw, 46px); }
.ml-h .ml-h-title .sh-script { font-size: 1.12em; }
.ml-h .ml-h-lead { font-size: 16px; line-height: 1.55; }
.ml-h .ml-h-rule { margin-top: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--global-palette4); font-size: 10px; letter-spacing: 0.18em; }
.ml-h-grid { display: grid; gap: 24px; }
.ml-h-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.ml-h-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ml-h-card { display: flex; flex-direction: column; gap: 12px; background: var(--global-palette9); border: 1px solid var(--global-palette6); padding: 16px 16px 22px; }
.ml-h-white .ml-h-card { background: transparent; border: 0; padding: 0; }
.ml-h-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--global-palette7); }
.ml-h-card__img a { display: block; height: 100%; }
.ml-h-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.ml-h-card__img a:hover img { opacity: 0.85; }
.ml-h .ml-h-card__title { margin-top: 4px; font-family: var(--ml-sans); font-size: 17px; font-weight: 400; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.ml-h .ml-h-card__title a { color: var(--global-palette4); text-decoration: none; }
.ml-h .ml-h-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ml-h .ml-h-card__text { font-size: 13px; line-height: 1.55; color: var(--global-palette5); }
.ml-h-card .ml-h-btns { margin-top: auto !important; padding-top: 6px; }

/* Canvas Pro band */

@media (max-width: 900px) {
	.ml-h-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ml-h-hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.ml-h .ml-h-hero__big { text-align: left; }
}
@media (max-width: 600px) {
	.ml-wrap { padding-inline: 20px; }
	.ml-h-grid--2, .ml-h-grid--3 { grid-template-columns: 1fr; }
	.ml-h-section .ml-wrap { padding-block: 64px; }
	.ml-h-hero__inner { padding-block: 48px 64px; }
	.ml-h-hero__meet { grid-template-columns: 1fr 1fr; }
	.ml-h-hero__hey { grid-column: 1 / -1; }
	.ml-h-hero__hey + .ml-h-stat { padding-left: 0; border-left: 0; }
}

/* Header: "Template store ↗" in the Kepler accent, like the store's "For designers" link. */
.secondary-navigation .menu > li > a { font-family: var(--ml-serif) !important; font-style: italic; font-weight: 300 !important; text-transform: none; letter-spacing: 0; }

/* Lime announcement bar (inc/promo.php), as on Melissa's For Designers page. */
.ml-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px; min-height: 40px; padding: 8px 20px; background: var(--global-palette2); color: var(--global-palette3) !important; text-decoration: none !important; font-size: 14px; line-height: 1.2; text-align: center; box-sizing: border-box; }
.ml-promo__title { font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: 15px; }
.ml-promo__note { font-size: 18px; }
.ml-promo:hover .ml-promo__offer { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .ml-promo { gap: 2px 14px; font-size: 13px; } .ml-promo__note { display: none; } }

/* Homepage blog row */
.ml-h-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ml-h-posts .wp-block-post { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ml-h-posts .wp-block-post-featured-image { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--global-palette7); }
.ml-h-posts .wp-block-post-featured-image a, .ml-h-posts .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-h-posts .wp-block-post-terms { font-family: var(--ml-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.ml-h-posts .wp-block-post-terms a { color: var(--global-palette5); text-decoration: none; }
.ml-h .ml-h-posts .wp-block-post-title { margin: 0; font-family: var(--ml-sans); font-size: 18px; font-weight: 400; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.ml-h-posts .wp-block-post-title a { color: var(--global-palette4); text-decoration: none; }
.ml-h-posts .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .ml-h-posts .wp-block-post-template { grid-template-columns: 1fr; } }

/* Header name: typed out in Kepler, upright (not italic), all uppercase (Melissa, Nov 13 2026). Needs the upright
   "Kepler 3 Subhead Condensed Light" added to Adobe Fonts web project icm7xmx; until then the kit only has the italic. */
.site-header .site-branding .site-title, .site-header .site-branding .site-title a {
	font-family: var(--ml-serif) !important; font-style: normal !important; font-weight: 300 !important; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; font-synthesis: none;
}
.site-header .site-branding .site-title { font-size: 30px !important; }
@media (max-width: 1024px) { .site-header .site-branding .site-title { font-size: 24px !important; } }

/* Landing pages (Custom HTML "sd2" pages): the slide-out cart opens on add, so hide WooCommerce's extra "View cart" link. */
.sd2 a.added_to_cart { display: none !important; }

/* =====================================================================
   Inner pages (melissalunt-build/gen_site.cjs): Free, freebies, Learn, Shop, About, Contact.
   Same building blocks as the homepage (ml-h-*).
   ===================================================================== */
.ml-h-pagehero { background: var(--global-palette8); }
.ml-h-pagehero__inner { padding-block: 88px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.ml-h .ml-h-pagehero__title { font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(48px, 7vw, 104px); }
.ml-h .ml-h-pagehero__title .sh-script { text-transform: none; font-size: 0.95em; letter-spacing: -0.01em; }
.ml-h .ml-h-pagehero__lead { max-width: 640px; font-size: 18px; line-height: 1.5; }
.ml-h-pagehero + .ml-h-section .ml-wrap { padding-top: 24px; }

/* Freebie pages */
.ml-h-free { background: var(--global-palette8); }
.ml-h-free__grid { padding-block: 80px 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ml-h-free__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ml-h-free__copy { display: flex; flex-direction: column; gap: 18px; }
.ml-h .ml-h-free__title { font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(38px, 4.4vw, 64px); }
.ml-h .ml-h-free__title .sh-script { text-transform: none; font-size: 0.95em; letter-spacing: -0.01em; }
.ml-h .ml-h-free__lead { font-size: 17px; line-height: 1.55; }
.ml-h .ml-h-free__fine { font-size: 13px; color: var(--global-palette5); }
.ml-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.ml-checks li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--global-palette6); font-size: 16px; }
.ml-checks li:last-child { border-bottom: 1px solid var(--global-palette6); }
.ml-checks li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 6px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ml-h-quote__inner { max-width: 880px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.ml-h .ml-h-quote__lead { font-size: 18px; line-height: 1.5; max-width: 640px; }
.ml-h .ml-h-quote__text { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }

/* MailerLite form spots (synced "MailerLite form: …" blocks). Placeholder shape until the embeds are pasted in; the
   .ml-* rules style MailerLite's own embed markup the same way. Same component as superherodesign.co. */
.sh-ml { --ml-fg: var(--global-palette3); --ml-bg: var(--global-palette8); --ml-line: var(--global-palette5); width: 100%; margin: 6px 0 0 !important; }
.sh-ml .wp-block-html, .sh-ml > .wp-block-group__inner-container { margin: 0; }
.sh-ml-slot__form { display: flex; gap: 8px; margin: 0; }
.sh-ml-slot__form .sh-ml-slot__input, .sh-ml input[type="email"], .sh-ml input[type="text"], .sh-ml .ml-form-embedContainer input.form-control {
	flex: 1; min-width: 0; display: flex; align-items: center; min-height: 52px; padding: 0 20px !important; border: 1px solid var(--ml-line) !important; border-radius: 999px !important;
	background: transparent !important; color: var(--ml-fg) !important; font-family: var(--ml-sans) !important; font-size: 16px !important; box-shadow: none !important; box-sizing: border-box; white-space: nowrap; overflow: hidden;
}
.sh-ml-slot__form .sh-ml-slot__input { opacity: 0.7; }
.sh-ml-slot__form .sh-ml-slot__btn, .sh-ml button[type="submit"], .sh-ml .ml-form-embedContainer .ml-form-embedSubmit button.primary {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px !important; border: 1px solid var(--ml-fg) !important; border-radius: 999px !important;
	background: var(--ml-fg) !important; color: var(--ml-bg) !important; font-family: var(--ml-sans) !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; cursor: pointer; box-sizing: border-box;
}
.sh-ml-slot__note { display: none; margin: 8px 0 0 !important; font-size: 12px; opacity: 0.7; }
body.logged-in .sh-ml-slot__note { display: block; }
.sh-ml .ml-form-embedContainer .ml-form-embedWrapper { max-width: none !important; width: 100% !important; background: transparent !important; border: 0 !important; }
.sh-ml .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody { padding: 0 !important; }
.sh-ml .ml-form-embedContainer .ml-form-embedContent { display: none; }
.sh-ml .ml-form-embedContainer .ml-form-horizontalRow { display: flex; gap: 8px; }
.sh-ml .ml-form-embedContainer .ml-form-horizontalRow .ml-input-horizontal { flex: 1; width: auto !important; }
.sh-ml .ml-form-embedContainer .ml-form-horizontalRow .ml-button-horizontal { width: auto !important; }
@media (max-width: 480px) { .sh-ml-slot__form, .sh-ml .ml-form-embedContainer .ml-form-horizontalRow { flex-direction: column; } }

/* Shop: WooCommerce product grids inside the sections */
.ml-h-shop .woocommerce { margin: 0; }
.ml-h-shop ul.products { margin: 0 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ml-h-shop ul.products::before, .ml-h-shop ul.products::after { display: none !important; }
.ml-h-shop ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.ml-h-card--text { gap: 14px; padding: 28px; }

/* About */
.ml-ab-hero { background: var(--global-palette8); }
.ml-ab-hero__grid { padding-block: 80px 96px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; }
.ml-ab-hero__copy { display: flex; flex-direction: column; gap: 20px; }
.ml-ab-hero__copy p:not([class]) { font-size: 17px; line-height: 1.6; }
.ml-h .ml-ab-hero__title { font-size: clamp(56px, 7vw, 96px); line-height: 0.95; }
.ml-h .ml-ab-hero__lead { font-size: 20px; line-height: 1.45; }
.ml-ab-hero__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ml-ab-milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--global-palette4); padding-top: 24px; }
.ml-ab-milestone { display: flex; flex-direction: column; gap: 6px; }
.ml-ab-milestone__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 8px; }
.ml-h .ml-ab-milestone__year { font-size: 26px; font-weight: 600; line-height: 1.1; }
.ml-h .ml-ab-milestone__text { font-size: 14px; color: var(--global-palette5); }
.ml-ab-off { display: grid !important; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.ml-ab-off__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.ml-ab-off__copy { display: flex; flex-direction: column; gap: 20px; }
.ml-ab-off__copy p:not([class*="sh-"]):not([class*="ml-"]) { font-size: 17px; line-height: 1.6; }
.ml-h .ml-ab-sign { font-size: 36px; }

/* Contact */
.ml-contact { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.ml-contact__item { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--global-palette4); }
.ml-h .ml-contact__big { font-size: clamp(20px, 2vw, 26px); }
.ml-contact a { color: var(--global-palette4); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
	.ml-h-free__grid, .ml-ab-hero__grid, .ml-ab-off { grid-template-columns: 1fr; gap: 36px; }
	.ml-ab-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ml-h-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ml-contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ml-h-pagehero__inner { padding-block: 56px 32px; }
	.ml-h-free__grid, .ml-ab-hero__grid { padding-block: 48px 64px; }
}

/* Sale badge: Black Friday lime with ink text (was the default accent blue). */
.woocommerce span.onsale { background: var(--global-palette2) !important; color: var(--global-palette3) !important; border-radius: 999px; min-height: 0; min-width: 0; padding: 6px 12px; line-height: 1; font-family: var(--ml-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Shop category pages (inc/shop.php), like superherodesign.co: plain banner, then the product grid. */
.ml-archive-banner { text-align: center; color: var(--global-palette3); }
.ml-archive-banner__inner { padding: 64px 24px 48px; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ml-archive-banner .sh-label { margin: 0; font-size: 12px; }
.ml-archive-banner__title { margin: 0; font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(44px, 7vw, 104px); color: var(--global-palette3); }
.ml-archive-banner__desc p { margin: 0; font-size: 18px; line-height: 1.5; }
.post-type-archive-product .content-container, .tax-product_cat .content-container, .tax-product_tag .content-container { max-width: 1240px; }
.tax-product_cat .content-area, .tax-product_tag .content-area { margin-top: 8px; margin-bottom: 96px; }

/* Product cards (category pages + the grids on pages): no white box, 1px ink border on the image, image fades to 30%
   black on hover, whole card links to the product; Kadence's slide-up button is hidden. Same as the store. */
.woocommerce ul.products li.product .product-details, .woo-archive-action-on-hover .product-details { transform: none !important; transition: none !important; }
ul.products li.product .product-action-wrap { display: none !important; }
ul.products li.product a.woocommerce-loop-image-link { position: relative; display: block; overflow: hidden; transform: none !important; }
ul.products li.product a.woocommerce-loop-image-link::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
ul.products li.product:hover a.woocommerce-loop-image-link::after, ul.products li.product a.woocommerce-loop-image-link:focus-visible::after { opacity: 0.3; }
ul.products li.product img { transform: none !important; }
ul.products li.product a.woocommerce-loop-image-link img { border: 1px solid var(--global-palette3) !important; box-sizing: border-box; border-radius: 0 !important; }
ul.products li.product, ul.products li.product .product-details, .loop-entry.product.content-bg { background: transparent !important; box-shadow: none !important; }
ul.products li.product .product-details { padding-left: 0 !important; padding-right: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.woocommerce ul.products li.product .price { font-size: 15px; }
.woocommerce ul.products li.product .price del { opacity: 0.55; }

/* Category pages: no result count, sorting or grid/list toggle (same as the store); products three across. */
.woocommerce-result-count, .woocommerce-ordering, .kadence-shop-top-row, .kadence-product-toggle-container, .kadence-shop-top-row ~ .clear { display: none !important; }
.tax-product_cat ul.products, .tax-product_tag ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin: 0 !important; }
.tax-product_cat ul.products::before, .tax-product_cat ul.products::after { display: none !important; }
.tax-product_cat ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
@media (max-width: 900px) { .tax-product_cat ul.products, .tax-product_tag ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tax-product_cat ul.products, .tax-product_tag ul.products, .ml-h-shop ul.products { grid-template-columns: 1fr; } }

/* Stock Photo Pro: section on the Stock Photos category page (reusable block) */
.ml-cat-promo { margin: 0 0 56px; }
.ml-cat-promo .ml-h-propromo { background: var(--global-palette9); border: 1px solid var(--global-palette6); }
.ml-cat-promo .ml-wrap { padding-inline: 0; }
.ml-h-propromo__grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px !important; }
.ml-h-propromo__img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ml-h-propromo__copy { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .ml-h-propromo__grid { grid-template-columns: 1fr; gap: 24px; padding: 20px !important; } }

/* Feature grid (landing pages) */
.ml-h-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-feature { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--global-palette4); }
.ml-h .ml-feature__title { font-family: var(--ml-sans); font-size: 20px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.2; }
@media (max-width: 900px) { .ml-h-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ml-h-grid--4 { grid-template-columns: 1fr; } }

/* Price + buy button from [add_to_cart] on landing pages */
.ml-h .add_to_cart_inline { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 6px 0 0 !important; padding: 0 !important; border: 0 !important; }
.ml-h .add_to_cart_inline .woocommerce-Price-amount { font-size: 30px; font-weight: 600; }
.ml-h .add_to_cart_inline del .woocommerce-Price-amount { font-size: 20px; font-weight: 400; opacity: 0.55; }
.ml-h .add_to_cart_inline ins { text-decoration: none; }
.ml-h .add_to_cart_inline a.button { min-height: 52px; padding: 0 30px !important; border-radius: 999px !important; background: var(--global-palette3) !important; border: 1px solid var(--global-palette3) !important; color: var(--global-palette9) !important; font-family: var(--ml-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; }
.ml-h .add_to_cart_inline a.added_to_cart { display: none !important; }
.ml-h-quote__inner .add_to_cart_inline { justify-content: center; }
/* Horizontal card frame; the whole (portrait) product image fits inside it, nothing cropped. */
ul.products li.product a.woocommerce-loop-image-link { aspect-ratio: 5 / 4; background: var(--global-palette7); border: 1px solid var(--global-palette3); box-sizing: border-box; }
ul.products li.product a.woocommerce-loop-image-link img { width: 100%; height: 100% !important; object-fit: contain; border: 0 !important; }

/* Stock Photos category section: stays inside the grid width (the block is full-width by default). */
.ml-cat-promo .alignfull, .ml-cat-promo .ml-h { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: none !important; left: auto !important; }
/* Buy buttons from [add_to_cart]: no loading/added icon; small links in ink. */
.ml-h .add_to_cart_inline a.button::after, .ml-h .add_to_cart_inline a.button::before { display: none !important; content: none !important; }
.ml-h .ml-h-free__fine a, .ml-h .ml-h-lead a { color: var(--global-palette3); text-decoration: underline; text-underline-offset: 3px; }

/* Freebie images are 4:5 graphics with text: show them whole (no 4:3 crop). */
.ml-h-card__img:has(img.wp-image-482), .ml-h-card__img:has(img.wp-image-483), .ml-h-card__img:has(img.wp-image-484) { aspect-ratio: 4 / 5; }
.ml-h-free__img img.wp-image-482, .ml-h-free__img img.wp-image-483, .ml-h-free__img img.wp-image-484 { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; }

/* Page title bands (Blog, My account, Cart, Checkout): cream like the rest of the site, no darker band. */
.entry-hero-container-inner, .entry-hero.page-hero-section .entry-hero-container-inner, .entry-hero.post-archive-hero-section .entry-hero-container-inner,
.entry-hero .hero-section-overlay { background: var(--global-palette8) !important; }
.ml-h-btns--solid .wp-block-button__link { background: var(--global-palette3) !important; color: var(--global-palette9) !important; border-color: var(--global-palette3) !important; min-height: 52px; }
.ml-demo-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 4px 0 18px; padding: 0 26px; border: 1px solid var(--global-palette3); border-radius: 999px; color: var(--global-palette3) !important; text-decoration: none !important; font-family: var(--ml-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.ml-demo-btn:hover { background: var(--global-palette3); color: var(--global-palette9) !important; }
ul.products li.product .ml-demo-link { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--global-palette3); text-decoration: underline; text-underline-offset: 3px; }

/* Product page titles: smaller (Melissa, Nov 13 2026). */
.single-product .product_title.entry-title { font-size: clamp(28px, 3vw, 42px) !important; line-height: 1.05; letter-spacing: -0.02em; }

/* MailerLite embedded forms ([ml_form]): match the site (pill fields, pill button, site fonts). The :is(#…) adds id-level
   weight so these beat MailerLite's own id-based styles. Light text on dark sections via --ml-fg / --ml-bg. */
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedContainer .ml-form-embedWrapper { background: transparent !important; border: 0 !important; max-width: none !important; width: 100% !important; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedBody { padding: 0 !important; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedContent, .sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedPermissions { display: none !important; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-fieldRow { margin: 0 0 10px !important; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) input.form-control {
	min-height: 52px !important; height: 52px !important; padding: 0 20px !important; border: 1px solid var(--ml-line) !important; border-radius: 999px !important;
	background: transparent !important; color: var(--ml-fg) !important; font-family: inherit !important; font-size: 16px !important; box-shadow: none !important;
}
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) input.form-control::placeholder { color: var(--ml-fg) !important; opacity: 0.65; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedSubmit { margin: 6px 0 0 !important; }
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-embedSubmit button {
	min-height: 52px !important; height: auto !important; padding: 0 28px !important; border: 1px solid var(--ml-fg) !important; border-radius: 999px !important;
	background: var(--ml-fg) !important; color: var(--ml-bg) !important; font-family: inherit !important; font-size: 12px !important; font-weight: 600 !important;
	letter-spacing: 0.12em !important; text-transform: uppercase !important; box-shadow: none !important;
}
.sh-ml :is(#sh-ml-boost, .ml-embedded):is(#sh-ml-boost2, .ml-embedded) .ml-form-successBody .ml-form-successContent :is(h4, p) { color: var(--ml-fg) !important; font-family: inherit !important; text-align: left !important; }


/* Product grids on landing pages: [add_to_cart] buttons no longer show a "View cart" link (the drawer opens). */
.add_to_cart_inline a.added_to_cart { display: none !important; }

/* Header: logo only (the site title no longer shows beside the logo); account icon beside the cart. */
.site-branding a.brand.has-logo-image .site-title-wrap { display: none !important; }
.ml-account-link { display: inline-flex; align-items: center; color: var(--global-palette3); padding: 6px; }
.ml-account-link:hover { color: var(--global-palette5); }
/* Black Friday bar: larger (Melissa, Nov 13 2026). */
.ml-promo { min-height: 56px; padding: 12px 20px; gap: 8px 36px; font-size: 17px; }
.ml-promo__title { font-size: 19px; }
.ml-promo__note { font-size: 23px; }
@media (max-width: 600px) { .ml-promo { min-height: 48px; font-size: 14px; } .ml-promo__title { font-size: 15px; } }

/* Sale prices in red so people see the deal (Melissa, Nov 13 2026). Original price stays grey and crossed out. */
:root { --sale-red: #c8102e; }
.price ins, .price ins *, .woocommerce .price ins .woocommerce-Price-amount, .woocommerce-variation-price ins *, .woobuilder-price ins, .woobuilder-price ins *,
.wc-block-components-product-price ins, .wc-block-components-product-price__value.is-discounted, .sh-sticky-cart ins, .sh-sticky-cart ins *,
.sh-co-now, .sh-co-now *, .add_to_cart_inline ins, .add_to_cart_inline ins *, .sh-bundle__total strong, .sh-package__price ins, .sh-package__price ins * { color: var(--sale-red) !important; text-decoration: none; }


/* Sale price: whole price red, including the number (a plugin forces .woocommerce-Price-amount bdi black). */
html body :is(.price, .woobuilder-price, .wc-block-grid__product-price, .woocommerce-variation-price, .sh-sticky-cart, .sh-package__price, .add_to_cart_inline, .sh-co-now) ins :is(.woocommerce-Price-amount, .woocommerce-Price-amount bdi, .woocommerce-Price-currencySymbol),
html body .sh-co-now :is(.woocommerce-Price-amount, .woocommerce-Price-amount bdi) { color: var(--sale-red) !important; }


.secondary-navigation .menu > li > a { white-space: nowrap; }

/* Contact page form (WPForms): site fields and pill button. */
.ml-contact2__img img { aspect-ratio: 4 / 5 !important; object-position: 50% 40%; }
.ml-contact-form .wpforms-container { margin: 6px 0 0 !important; }
.ml-contact-form .wpforms-field { padding: 0 0 14px !important; }
.ml-contact-form .wpforms-field-label { font-family: var(--ml-label) !important; font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400 !important; color: var(--global-palette3) !important; }
.ml-contact-form input[type=text], .ml-contact-form input[type=email], .ml-contact-form textarea, .ml-contact-form select {
	width: 100% !important; max-width: none !important; min-height: 50px; padding: 12px 18px !important; border: 1px solid var(--global-palette6) !important; border-radius: 12px !important;
	background: var(--global-palette9) !important; color: var(--global-palette3) !important; font-family: var(--ml-sans) !important; font-size: 16px !important; box-shadow: none !important;
}
.ml-contact-form textarea { min-height: 150px; }
.ml-contact-form .wpforms-field-row, .ml-contact-form .wpforms-field-medium { max-width: none !important; }
.ml-contact-form button[type=submit] { min-height: 52px !important; padding: 0 30px !important; border-radius: 999px !important; background: var(--global-palette3) !important; border: 1px solid var(--global-palette3) !important; color: var(--global-palette9) !important; font-family: var(--ml-sans) !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.12em; text-transform: uppercase; }
.ml-contact-email a { font-size: 22px; color: var(--global-palette3); text-decoration: underline; text-underline-offset: 4px; }

/* Stock photo collection product pages (inc/stock-product.php). */
.ml-sp-specs { list-style: none; margin: 14px 0 18px; padding: 0; }
.ml-sp-specs li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--global-palette6); font-size: 15px; }
.ml-sp-specs li:last-child { border-bottom: 1px solid var(--global-palette6); }
.ml-sp-specs li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 5px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ml-sp { clear: both; display: flex; flex-direction: column; gap: 88px; padding: 72px 0 24px; }
.ml-sp p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.ml-sp .sh-label { margin-bottom: 14px; }
.ml-sp-about { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 56px; padding-top: 28px; border-top: 1px solid var(--global-palette3); }
.ml-sp-h2 { margin: 0 0 28px; font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(32px, 3.6vw, 52px); }
.ml-sp-h2 .sh-script { text-transform: none; font-size: 1.05em; letter-spacing: 0; }
.ml-sp-grid { display: grid; gap: 22px; }
.ml-sp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }
.ml-sp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-sp-card { background: var(--global-palette9); border: 1px solid var(--global-palette6); padding: 26px; }
.ml-sp-feat { padding-top: 16px; border-top: 1px solid var(--global-palette3); }
.ml-sp-card__t { font-weight: 600; font-size: 18px !important; margin-bottom: 8px !important; }
.ml-sp-feat p:not(.ml-sp-card__t), .ml-sp-card p:not(.ml-sp-card__t) { color: var(--global-palette5); font-size: 15px !important; }
.ml-sp-pro { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; background: var(--global-palette3); color: var(--global-palette9); }
.ml-sp-pro .ml-sp-h2, .ml-sp-pro .sh-label { color: var(--global-palette9); }
.ml-sp-pro .ml-sp-specs li { border-color: rgba(255, 255, 255, 0.2); }
.ml-sp-btn { flex: none; display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 999px; background: var(--global-palette2); color: var(--global-palette3) !important; text-decoration: none !important; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.ml-sp-faq { max-width: 860px; }
.ml-sp-q { border-top: 1px solid var(--global-palette6); padding: 18px 0; }
.ml-sp-q:last-child { border-bottom: 1px solid var(--global-palette6); }
.ml-sp-q summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ml-sp-q summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; }
.ml-sp-q[open] summary::after { content: "–"; }
.ml-sp-q p { margin: 12px 0 0; color: var(--global-palette5); }
@media (max-width: 900px) {
	.ml-sp-about, .ml-sp-grid--3 { grid-template-columns: 1fr; }
	.ml-sp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ml-sp-pro { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 560px) { .ml-sp-grid--4 { grid-template-columns: 1fr; } .ml-sp { gap: 64px; } }

/* Build + Scale landing page (gen_site.cjs 'build-scale'). */
.ml-bs-hero__img img { aspect-ratio: 5 / 3 !important; object-fit: cover; }
.ml-bs-stats { display: flex; gap: 0; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--global-palette4); }
.ml-bs-stats .ml-h-stat:first-child { padding-left: 0; border-left: 0; }
.ml-bs-stats .ml-h-stat { flex: 1; }
.ml-bs-stack { background: var(--global-palette9); border: 1px solid var(--global-palette6); padding: 26px; }
.ml-bs-stack__t { font-weight: 600; font-size: 18px; margin: 0 0 6px !important; }
.ml-bs-canvas { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px; background: var(--global-palette7); }
.ml-bs-canvas__img img { display: block; width: 100%; height: auto; }
.ml-bs-canvas__copy { display: flex; flex-direction: column; gap: 12px; }
.ml-bs-price { background: var(--global-palette3); color: var(--global-palette9); }
.ml-bs-price__inner { padding-block: 88px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.ml-bs-price .ml-h-title, .ml-bs-price .ml-h-label, .ml-bs-price .ml-h-lead { color: var(--global-palette9); }
.ml-bs-price .ml-h-lead { max-width: 640px; }
.ml-h .ml-bs-price__was { font-size: 15px; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.ml-bs-price .add_to_cart_inline { justify-content: center; }
.ml-bs-price .add_to_cart_inline .woocommerce-Price-amount, .ml-bs-price .add_to_cart_inline del .woocommerce-Price-amount { color: var(--global-palette9) !important; }
.ml-bs-price .add_to_cart_inline ins .woocommerce-Price-amount, .ml-bs-price .add_to_cart_inline ins .woocommerce-Price-amount bdi { color: var(--global-palette2) !important; }
.ml-bs-price .add_to_cart_inline a.button { background: var(--global-palette2) !important; border-color: var(--global-palette2) !important; color: var(--global-palette3) !important; }
.ml-bs-price .ml-h-free__fine { color: rgba(255, 255, 255, 0.65); }
.ml-bs-mods { display: flex; flex-direction: column; }
.ml-bs-mod { border-top: 1px solid var(--global-palette6); padding: 20px 0; }
.ml-bs-mod:last-child { border-bottom: 1px solid var(--global-palette6); }
.ml-bs-mod summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 16px; font-family: var(--ml-sans); font-weight: 600; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; letter-spacing: -0.02em; }
.ml-bs-mod summary::after { content: "+"; margin-left: auto; font-weight: 300; }
.ml-bs-mod[open] summary::after { content: "–"; }
.ml-bs-mod__n { font-family: var(--ml-serif); font-style: italic; font-weight: 300; font-size: 1.1em; text-transform: none; color: var(--global-palette5); }
.ml-bs-mod p, .ml-bs-mod ul { margin: 12px 0 0 !important; }
.ml-h .ml-bs-mod__head { font-weight: 600; font-size: 17px; }
.ml-bs-quote { display: flex; flex-direction: column; gap: 12px; background: var(--global-palette9); border: 1px solid var(--global-palette6); padding: 28px; }
.ml-bs-quote__img img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ml-bs-quote__img--lg img { width: 120px; height: 120px; }
.ml-h .ml-bs-quote__stars { letter-spacing: 3px; color: var(--global-palette5); }
.ml-h .ml-bs-quote__q { font-size: 26px; line-height: 1.2; }
.ml-h .ml-bs-quote__b { font-size: 15px; color: var(--global-palette5); }
.ml-bs-faq { max-width: 860px; }
@media (max-width: 900px) { .ml-bs-canvas { grid-template-columns: 1fr; gap: 24px; padding: 20px; } .ml-bs-stats { flex-wrap: wrap; gap: 16px; } }

/* 404: way back home (inc/404-home-link.php). */
.ml-404 { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.ml-404__home { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--global-palette3); color: var(--global-palette9) !important; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; }
.ml-404__more { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.ml-404__more a { color: inherit; }

/* My account login: note for earlier course buyers (inc/account.php). */
.ml-legacy-login { margin: 22px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--global-palette8); font-size: 15px; line-height: 1.5; }
.ml-legacy-login a { font-weight: 600; color: inherit; }

/* Cart page: the sale price in red too (del stays grey and crossed out). */
html body .woocommerce-cart-form .product-price ins, html body .woocommerce-cart-form .product-price ins :is(.woocommerce-Price-amount, .woocommerce-Price-amount bdi, .woocommerce-Price-currencySymbol) { color: var(--sale-red) !important; text-decoration: none; }

/* Product gallery (same as superherodesign.co, Nov 14 2026): no hover zoom; arrows on the main photo; click opens the pop-up viewer with arrows. */

.woocommerce-product-gallery .flex-viewport { position: relative; }
.woocommerce-product-gallery .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.woocommerce-product-gallery .flex-direction-nav a {
	position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--global-palette3); border-radius: 999px;
	background: rgba(242, 240, 236, 0.85); color: var(--global-palette3); font-size: 0; text-decoration: none; overflow: hidden;
}
.woocommerce-product-gallery .flex-direction-nav a::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.woocommerce-product-gallery .flex-direction-nav .flex-prev { left: 16px; }
.woocommerce-product-gallery .flex-direction-nav .flex-next { right: 16px; }
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.woocommerce-product-gallery .flex-direction-nav .flex-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.woocommerce-product-gallery .flex-direction-nav a:hover { background: var(--global-palette9); }
.woocommerce-product-gallery .flex-direction-nav .flex-disabled { opacity: 0.3; pointer-events: none; }
.woocommerce-product-gallery__trigger { display: none !important; }

/* Product photo pop-up (WooCommerce PhotoSwipe) in the site palette. */
.pswp__bg { background: var(--global-palette9) !important; opacity: 0.97 !important; }
.pswp__top-bar, .pswp__caption { background: transparent !important; }
.pswp__counter, .pswp__caption__center { color: var(--global-palette3) !important; }
.pswp__button, .pswp__button--arrow--left:before, .pswp__button--arrow--right:before { filter: invert(1); }
.pswp__button--arrow--left:before, .pswp__button--arrow--right:before { background-color: transparent !important; }
.woocommerce-product-gallery__image a { cursor: zoom-in; }

/* Product photo pop-up: clear round arrows on every device (Melissa, Nov 13 2026). */
.pswp .pswp__button--arrow--left, .pswp .pswp__button--arrow--right {
	visibility: visible !important; opacity: 1 !important; filter: none !important; position: absolute; top: 50%; width: 56px !important; height: 56px !important; margin-top: -28px !important;
	border: 1px solid var(--global-palette3) !important; border-radius: 999px !important; background: rgba(242, 240, 236, 0.92) !important; overflow: hidden;
}
.pswp .pswp__button--arrow--left { left: 24px !important; }
.pswp .pswp__button--arrow--right { right: 24px !important; }
.pswp .pswp__button--arrow--left:before, .pswp .pswp__button--arrow--right:before {
	content: "" !important; background: none !important; filter: none !important; position: absolute; top: 50% !important; left: 50% !important; width: 12px !important; height: 12px !important;
	border-top: 1.5px solid var(--global-palette3); border-right: 1.5px solid var(--global-palette3);
}
.pswp .pswp__button--arrow--left:before { transform: translate(-30%, -50%) rotate(-135deg); }
.pswp .pswp__button--arrow--right:before { transform: translate(-70%, -50%) rotate(45deg); }
.pswp .pswp__button--arrow--left:hover, .pswp .pswp__button--arrow--right:hover { background: var(--global-palette9) !important; }
.pswp--touch .pswp__button--arrow--left, .pswp--touch .pswp__button--arrow--right { visibility: visible !important; }
@media (max-width: 767px) { .pswp .pswp__button--arrow--left, .pswp .pswp__button--arrow--right { top: auto; bottom: 24px; margin-top: 0 !important; } .pswp .pswp__button--arrow--left { left: calc(50% - 68px) !important; } .pswp .pswp__button--arrow--right { right: calc(50% - 68px) !important; } }
.pswp__bg { opacity: 1 !important; }


/* [add_to_cart] buttons outside product grids: Kadence adds three icons (arrow, spinner, check) meant to be swapped by its grid styles; outside the grid all three showed at once. */
.add_to_cart_inline a.button .kadence-svg-iconset { display: none !important; }

/* Product pages: solid black Add to cart with cream text, under the price. */
.single-product div.product form.cart { margin: 6px 0 26px; }
html body.single-product div.product form.cart .single_add_to_cart_button.button,
html body.single-product div.product form.cart .single_add_to_cart_button.button.alt {
	min-height: 54px; padding: 0 40px !important; border-radius: 999px !important; border: 1px solid var(--global-palette3) !important;
	background: var(--global-palette3) !important; color: var(--global-palette9) !important; font-family: var(--ml-sans); font-weight: 600;
	font-size: 13px !important; letter-spacing: 0.14em; text-transform: uppercase; opacity: 1 !important;
}
html body.single-product div.product form.cart .single_add_to_cart_button.button:hover,
html body.single-product div.product form.cart .single_add_to_cart_button.button:focus-visible { background: #000 !important; border-color: #000 !important; color: var(--global-palette9) !important; }
.single-product div.product form.cart .single_add_to_cart_button .kadence-svg-iconset { display: none !important; }

/* Stock Photo Pro band, dark version (Melissa, Nov 15 2026): charcoal panel, lime "Best value" badge, price + savings. */
.ml-cat-promo .ml-h-propromo--dark { position: relative; background: var(--global-palette3); border: 0; color: var(--global-palette9); }
.ml-h-propromo--dark .ml-h-propromo__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding: 40px 56px 40px 40px !important; }
.ml-h-propromo--dark .ml-h-propromo__img { margin: 0 !important; }
.ml-h-propromo--dark .ml-h-propromo__img img { aspect-ratio: 5 / 4; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); transition: transform 0.4s ease; }
.ml-h-propromo--dark .ml-h-propromo__img a:hover img { transform: scale(1.015); }
.ml-h-propromo--dark .ml-h-propromo__copy { gap: 14px; }
.ml-h .ml-h-propromo__badge { align-self: flex-start; margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--global-palette2); color: var(--global-palette3); font-family: var(--ml-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.ml-h-propromo--dark .sh-label, .ml-h-propromo--dark .ml-h-label { color: rgba(255, 255, 255, 0.7); }
.ml-h-propromo--dark .ml-h-title { color: var(--global-palette9); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; }
.ml-h-propromo--dark .ml-h-title .sh-script { color: var(--global-palette2); }
.ml-h-propromo--dark .ml-h-lead { color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.ml-h-propromo--dark .ml-checks li { color: var(--global-palette9); border-color: rgba(255, 255, 255, 0.16) !important; }
.ml-h-propromo--dark .ml-checks li::before { color: var(--global-palette2) !important; border-color: var(--global-palette2) !important; }
.ml-h .ml-h-propromo__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 0; color: var(--global-palette9); }
.ml-h .ml-h-propromo__price s { font-size: 20px; opacity: 0.55; }
.ml-h .ml-h-propromo__price strong { font-size: 38px; font-weight: 600; letter-spacing: -0.02em; color: var(--global-palette2); }
.ml-h .ml-h-propromo__price span { font-size: 13px; opacity: 0.7; }
.ml-h-propromo--dark .ml-h-propromo__btns .wp-block-button__link { background: var(--global-palette2) !important; border-color: var(--global-palette2) !important; color: var(--global-palette3) !important; min-height: 52px; padding: 0 32px !important; }
.ml-h-propromo--dark .ml-h-propromo__btns .wp-block-button__link:hover { background: var(--global-palette9) !important; border-color: var(--global-palette9) !important; }
.ml-h .ml-h-propromo__value { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) { .ml-h-propromo--dark .ml-h-propromo__grid { grid-template-columns: 1fr; gap: 28px; padding: 20px 20px 32px !important; } }

/* Stock Photos category: "Shop by collection" heading and the small free-photos call to action (inc/shop.php). */
.ml-cat-head { text-align: center; margin: 8px auto 40px; max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ml-cat-head__title { margin: 0; font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(32px, 3.4vw, 48px); }
.ml-cat-head__title .sh-script { text-transform: none; font-weight: 400; letter-spacing: 0; font-size: 1.05em; }
.ml-cat-head__sub { margin: 0; font-size: 16px; color: var(--global-palette5); }
.ml-cat-cta { background: var(--global-palette3); color: var(--global-palette9); }
.ml-cat-cta__inner { max-width: 1140px; margin: 0 auto; padding: 36px 24px; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.ml-cat-cta__img { width: 120px; height: 120px; object-fit: cover; display: block; }
.ml-cat-cta__copy { display: flex; flex-direction: column; gap: 6px; }
.ml-cat-cta .sh-label { margin: 0; color: var(--global-palette2); }
.ml-cat-cta__title { margin: 0; color: var(--global-palette9); font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-size: clamp(24px, 2.4vw, 34px); }
.ml-cat-cta__title .sh-script { text-transform: none; font-weight: 400; letter-spacing: 0; }
.ml-cat-cta__text { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.ml-cat-cta__btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--global-palette2); color: var(--global-palette3) !important; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; }
.ml-cat-cta__btn:hover { background: var(--global-palette9); }
@media (max-width: 760px) { .ml-cat-cta__inner { grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 28px 20px; } .ml-cat-cta__img { width: 84px; height: 84px; } .ml-cat-cta__btn { grid-column: 1 / -1; justify-content: center; } }

/* Live prices on homepage cards ([ml_price_html]). */
.ml-h .ml-h-card__price { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.ml-h .ml-h-card__price del, .ml-h .ml-h-card__price del * { font-weight: 400; color: var(--global-palette5) !important; }

/* Card photos show whole (no cropping): the course graphics have text right to the edge (Melissa, Nov 16 2026). */
.ml-h-card__img, .ml-h-card__img:has(img.wp-image-482), .ml-h-card__img:has(img.wp-image-483), .ml-h-card__img:has(img.wp-image-484) { aspect-ratio: auto; background: transparent; }
.ml-h-card__img img { height: auto; object-fit: contain; }

/* Trainings + Courses category: course graphics show at their own shape, no grey bands above and below (Melissa, Nov 16 2026). */
.term-trainings ul.products li.product a.woocommerce-loop-image-link { aspect-ratio: auto; }
.term-trainings ul.products li.product a.woocommerce-loop-image-link img { height: auto !important; display: block; }

/* Homepage Canvas Pro band, redesigned (Melissa, Nov 16 2026): dark two-column panel + scrolling strip of canvases. */
.ml-h-canvas { background: var(--global-palette3); color: var(--global-palette9); overflow: hidden; padding-block: 88px 0; }
.ml-h-canvas__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.ml-h-canvas__copy { display: flex; flex-direction: column; gap: 18px; }
.ml-h-canvas__copy > * { margin: 0 !important; }
.ml-h-canvas .ml-h-label { color: rgba(255, 255, 255, 0.7); }
.ml-h .ml-h-canvas__title { color: var(--global-palette9); font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(34px, 3.6vw, 52px); }
.ml-h .ml-h-canvas__title .sh-script { display: block; margin-top: 6px; color: var(--global-palette2); text-transform: none; font-weight: 400; letter-spacing: 0; font-size: 0.8em; line-height: 1.05; }
.ml-h-canvas__lead { color: rgba(255, 255, 255, 0.82); font-size: 17px; line-height: 1.5; max-width: 520px; }
.ml-h-canvas .ml-checks li { color: var(--global-palette9); border-color: rgba(255, 255, 255, 0.16) !important; font-size: 15px; padding-block: 10px; }
.ml-h-canvas .ml-checks li::before { color: var(--global-palette2); top: 14px; }
.ml-h .ml-h-canvas__price { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--global-palette2); }
.ml-h .ml-h-canvas__price del, .ml-h .ml-h-canvas__price del * { font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, 0.55) !important; }
.ml-h .ml-h-canvas__price ins, .ml-h .ml-h-canvas__price ins * { color: var(--global-palette2) !important; text-decoration: none; }
.ml-h-canvas__btns { gap: 12px; }
.ml-h-canvas__btn-main .wp-block-button__link { background: var(--global-palette2) !important; border-color: var(--global-palette2) !important; color: var(--global-palette3) !important; min-height: 52px; padding: 0 30px !important; }
.ml-h-canvas__btn-main .wp-block-button__link:hover { background: var(--global-palette9) !important; border-color: var(--global-palette9) !important; }
.ml-h-canvas__btn-alt .wp-block-button__link { background: transparent !important; border: 1px solid rgba(255, 255, 255, 0.5) !important; color: var(--global-palette9) !important; min-height: 52px; padding: 0 26px !important; }
.ml-h-canvas__btn-alt .wp-block-button__link:hover { border-color: var(--global-palette9) !important; }
.ml-h .ml-h-canvas__img { margin: 0; }
.ml-h .ml-h-canvas__img img { display: block; width: 100%; height: auto; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); transition: transform 0.4s ease; }
.ml-h .ml-h-canvas__img a:hover img { transform: scale(1.015); }
.ml-h-canvas__strip { margin-top: 80px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; }
.ml-h-canvas__track { display: flex; width: max-content; animation: ml-canvas-scroll 70s linear infinite; }
.ml-h-canvas__strip:hover .ml-h-canvas__track { animation-play-state: paused; }
.ml-h-canvas__set { display: flex; gap: 16px; padding-right: 16px; }
.ml-h-canvas__set .wp-block-image { margin: 0; flex: none; }
.ml-h-canvas__set img { display: block; height: 180px; width: auto; max-width: none; border-radius: 4px; }
@keyframes ml-canvas-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ml-h-canvas__track { animation: none; } }
@media (max-width: 900px) {
	.ml-h-canvas { padding-top: 56px; }
	.ml-h-canvas__grid { grid-template-columns: 1fr; gap: 36px; }
	.ml-h-canvas__img { order: -1; }
	.ml-h-canvas__strip { margin-top: 48px; padding-block: 20px; }
	.ml-h-canvas__set img { height: 120px; }
}
html body .ml-h .ml-h-canvas__price .price ins, html body .ml-h .ml-h-canvas__price .price ins :is(.woocommerce-Price-amount, bdi, .woocommerce-Price-currencySymbol) { color: var(--global-palette2) !important; }
.ml-h-canvas ul.ml-checks { padding-left: 0 !important; margin-left: 0 !important; max-width: 520px; }
.ml-h .ml-h-canvas__price { margin-top: 6px !important; }

/* Canvas Pro band: stack of real canvas previews instead of the laptop graphic; more room under the buttons (Melissa, Nov 16 2026). */
.ml-h-canvas__strip { margin-top: 96px !important; }
.ml-h-canvas__stack { position: relative; aspect-ratio: 1 / 0.86; }
.ml-h .ml-h-canvas__shot { position: absolute; margin: 0 !important; }
.ml-h .ml-h-canvas__shot img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5); transition: transform 0.4s ease; }
.ml-h .ml-h-canvas__shot a:hover img { transform: translateY(-6px); }
.ml-h .ml-h-canvas__shot--1 { top: 0; left: 0; width: 64%; z-index: 1; }
.ml-h .ml-h-canvas__shot--2 { top: 16%; right: 0; width: 56%; z-index: 2; }
.ml-h .ml-h-canvas__shot--3 { bottom: 0; left: 10%; width: 50%; z-index: 3; }
.ml-h .ml-h-canvas__badge { position: absolute; z-index: 4; top: -18px; right: 8%; width: 108px; height: 108px; margin: 0; border-radius: 50%; background: var(--global-palette2); color: var(--global-palette3); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--ml-label); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; transform: rotate(-8deg); }
.ml-h .ml-h-canvas__badge strong { display: block; font-family: var(--ml-sans); font-size: 30px; letter-spacing: -0.03em; font-weight: 600; }
@media (max-width: 900px) { .ml-h-canvas__strip { margin-top: 56px !important; } .ml-h .ml-h-canvas__badge { width: 84px; height: 84px; top: -10px; } .ml-h .ml-h-canvas__badge strong { font-size: 22px; } }
.ml-h-canvas__grid { padding-bottom: 96px; }
@media (max-width: 900px) { .ml-h-canvas__grid { padding-bottom: 56px; } .ml-h-canvas__stack { order: -1; } }

/* Homepage product cards match the shop category cards (Melissa, Nov 16 2026): no white panel, bordered image, bold title + price.
   Free resources keep their white cards. */
:is(#trainings-courses, #trainings, #templates-tools) .ml-h-card { background: transparent; border: 0; padding: 0; gap: 8px; }
:is(#trainings-courses, #trainings, #templates-tools) .ml-h-card__img { border: 1px solid var(--global-palette3); background: var(--global-palette7); box-sizing: border-box; margin-bottom: 8px !important; }
#templates-tools .ml-h-card__img { aspect-ratio: 5 / 4; }
#templates-tools .ml-h-card__img img { height: 100%; object-fit: contain; }
:is(#trainings-courses, #trainings, #templates-tools) .ml-h-card__title { margin: 0 12px !important; font-size: 16px; font-weight: 600; }
:is(#trainings-courses, #trainings, #templates-tools) .ml-h-card__price { margin: 0 12px !important; font-size: 15px; }
:is(#trainings-courses, #trainings, #templates-tools) .ml-h-card__text, :is(#trainings-courses, #trainings, #templates-tools) .ml-h-card .ml-h-btns { display: none; }

/* Body copy sizes evened out across the site (Melissa, Nov 16 2026): reading text at 17-18px, small notes no smaller than 15-16px. */
.ml-h .ml-h-lead, .ml-h-propromo--dark .ml-h-lead, .ml-h-canvas__lead { font-size: 18px; line-height: 1.55; }
.ml-h .ml-h-card__text { font-size: 16px; }
.ml-h .ml-h-hero__note, .ml-h .ml-ab-milestone__text, .ml-h .ml-h-free__fine { font-size: 16px; }
.ml-checks li, .ml-h-canvas .ml-checks li { font-size: 17px; }
.ml-sp-specs li, .ml-sp-feat p:not(.ml-sp-card__t), .ml-sp-card p:not(.ml-sp-card__t) { font-size: 17px !important; }
.ml-cat-cta__text, .ml-h .ml-bs-quote__b, .ml-404__more, .ml-legacy-login { font-size: 17px; }
.ml-h .ml-h-propromo__value { font-size: 15px; }
html body .bs3-check, html body .bs3-pillar, html body .bs3-test__body, html body .bs3-q__body, html body .bs3-canvas__cols { font-size: 16px !important; }
html body .bs3-mel__copy, html body .bs3-faq__row, html body .bs3-hero__copy { font-size: 18px !important; }
html body :is(.bs3-check, .bs3-pillar, .bs3-test__body, .bs3-q__body) :is(p, li) { font-size: 16px !important; }
html body :is(.bs3-mel__copy, .bs3-faq__row, .bs3-hero__copy) :is(p, li) { font-size: 18px !important; }

/* Course images all the same shape (3:2), on the Trainings category and the homepage (Melissa, Nov 16 2026). */
.term-trainings ul.products li.product a.woocommerce-loop-image-link, #trainings-courses .ml-h-card__img, #trainings .ml-h-card__img { aspect-ratio: 3 / 2 !important; overflow: hidden; }
.term-trainings ul.products li.product a.woocommerce-loop-image-link img, #trainings-courses .ml-h-card__img, #trainings .ml-h-card__img img { width: 100%; height: 100% !important; object-fit: cover !important; }
#trainings-courses .ml-h-card__img, #trainings .ml-h-card__img a { height: 100%; }

/* Canvas Pro band, "building blocks" graphic (Melissa, Nov 16 2026): a client site stacked from real canvases,
   with the Services canvas lifted out beside its empty slot. Hovering drops it into place. */
.ml-h-canvas__build { position: relative; padding-left: 132px; }
.ml-h-canvas__page { position: relative; background: #fff; border-radius: 8px; overflow: visible; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.ml-h .ml-h-canvas__bar { position: relative; margin: 0; padding: 9px 12px 9px 58px; background: #ece9e4; border-radius: 8px 8px 0 0; font-family: var(--ml-label); font-size: 10px; letter-spacing: 0.12em; text-transform: lowercase; color: var(--global-palette5); }
.ml-h-canvas__bar::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #cfcac2; box-shadow: 13px 0 0 #cfcac2, 26px 0 0 #cfcac2; }
.ml-h .ml-h-canvas__block { position: relative; margin: 0 !important; }
.ml-h .ml-h-canvas__block img { display: block; width: 100%; aspect-ratio: 12 / 4.6; height: auto; object-fit: cover; }
.ml-h .ml-h-canvas__block--1 img { object-position: 50% 45%; }
.ml-h .ml-h-canvas__block--2 img { object-position: 50% 40%; }
.ml-h .ml-h-canvas__block--3 img { object-position: 50% 30%; }
.ml-h .ml-h-canvas__block--4 img { object-position: 50% 45%; }
.ml-h .ml-h-canvas__block--5 img { object-position: 50% 50%; border-radius: 0 0 8px 8px; }
.ml-h .ml-h-canvas__block figcaption { position: absolute; top: 50%; right: calc(100% + 18px); transform: translateY(-50%); margin: 0; white-space: nowrap; font-family: var(--ml-label); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); text-align: right; }
.ml-h .ml-h-canvas__block figcaption span { color: var(--global-palette2); margin-right: 6px; }
.ml-h .ml-h-canvas__block figcaption::after { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 1px; margin-left: 10px; background: rgba(255, 255, 255, 0.3); }
/* the empty slot + the lifted-out block */
.ml-h-canvas__slot { position: relative; background: repeating-linear-gradient(-45deg, #f1eee9 0 8px, #e7e3dc 8px 16px); outline: 1.5px dashed var(--global-palette2); outline-offset: -6px; }
.ml-h .ml-h-canvas__block--drop { z-index: 3; transform: translate(16%, -14%) rotate(2.5deg); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ml-h .ml-h-canvas__block--drop img { box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45), 0 0 0 2px var(--global-palette2); border-radius: 4px; transition: box-shadow 0.7s ease, border-radius 0.7s ease; }
.ml-h .ml-h-canvas__block--drop figcaption { color: var(--global-palette9); transform: translateY(-50%) rotate(-2.5deg); transition: transform 0.7s ease; }
.ml-h-canvas__build:hover .ml-h-canvas__block--drop { transform: none; }
.ml-h-canvas__build:hover .ml-h-canvas__block--drop img { box-shadow: none; border-radius: 0; }
.ml-h-canvas__build:hover .ml-h-canvas__block--drop figcaption { transform: translateY(-50%); }
.ml-h .ml-h-canvas__build .ml-h-canvas__badge { top: -26px; right: -14px; }
@media (prefers-reduced-motion: reduce) { .ml-h .ml-h-canvas__block--drop, .ml-h .ml-h-canvas__block--drop img { transition: none; } }
@media (max-width: 900px) {
	.ml-h-canvas__build { padding-left: 0; margin-right: 8%; }
	.ml-h .ml-h-canvas__block figcaption { right: auto; left: 8px; top: 8px; transform: none; padding: 4px 8px; border-radius: 999px; background: rgba(28, 28, 28, 0.78); color: #fff; font-size: 9px; }
	.ml-h .ml-h-canvas__block figcaption::after { display: none; }
	.ml-h .ml-h-canvas__block--drop figcaption { transform: none; }
	.ml-h .ml-h-canvas__build .ml-h-canvas__badge { right: -6%; }
}
.ml-h .ml-h-canvas__block img { aspect-ratio: 12 / 5.2; }
.ml-h .ml-h-canvas__block--1 img { object-position: 50% 62%; }
.ml-h .ml-h-canvas__block--2 img { object-position: 50% 30%; }
.ml-h .ml-h-canvas__block--3 img { object-position: 50% 24%; }
.ml-h .ml-h-canvas__block--4 img { object-position: 50% 40%; }
.ml-h .ml-h-canvas__block--drop figcaption { right: calc(116% + 18px); transition: transform 0.7s ease, right 0.7s ease; }
.ml-h-canvas__build:hover .ml-h-canvas__block--drop figcaption { right: calc(100% + 18px); }
@media (max-width: 900px) { .ml-h-canvas__build { order: -1; margin-top: 16px; } .ml-h .ml-h-canvas__block--drop figcaption { right: auto; } }

/* Canvas Pro band: small wireframe illustration replaces the canvas stack (Melissa, Nov 16 2026). */
.ml-h-canvas__wire { position: relative; width: min(440px, 100%); margin: 0 auto !important; }
.ml-wire { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.45)); }
.ml-wire .w-paper { fill: #f7f5f1; } .ml-wire .w-bar { fill: #e6e2db; } .ml-wire .w-dot { fill: #cbc5bb; }
.ml-wire .w-ink { fill: #1c1c1c; } .ml-wire .w-mid { fill: #6f6a64; } .ml-wire .w-soft { fill: #bdb7ae; } .ml-wire .w-img { fill: #dcd7cf; }
.ml-wire .w-limeline { fill: none; stroke: var(--global-palette2); stroke-width: 1.5; }
.ml-wire .w-slotbg { fill: #ece8e2; } .ml-wire .w-slot { fill: none; stroke: var(--global-palette2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.ml-wire .w-dropframe { stroke: var(--global-palette2); stroke-width: 2; }
.ml-wire .w-drop { transform-box: fill-box; transform-origin: center; transform: translate(34px, -22px) rotate(3deg); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ml-h-canvas__wire:hover .w-drop { transform: none; }
.ml-h .ml-h-canvas__wire .ml-h-canvas__badge { top: -30px; right: -30px; width: 96px; height: 96px; }
@media (prefers-reduced-motion: reduce) { .ml-wire .w-drop { transition: none; } }
@media (max-width: 900px) { .ml-h-canvas__wire { order: -1; width: min(340px, 86%); margin: 16px auto 0 !important; } .ml-h .ml-h-canvas__wire .ml-h-canvas__badge { width: 76px; height: 76px; top: -22px; right: -18px; } }
.ml-wire .w-drop { transform: translate(22px, -18px) rotate(2deg); }
@media (max-width: 900px) { .ml-h .ml-h-canvas__wire .ml-h-canvas__badge { font-size: 8px; letter-spacing: 0.08em; } .ml-h .ml-h-canvas__wire .ml-h-canvas__badge strong { font-size: 20px; } }

/* Wireframe illustration, line-drawn version (Melissa, Nov 16 2026): no animation. */
.ml-h-canvas__wire { width: min(380px, 100%); }
.ml-wire .w-drop { display: none; }
.ml-wire .w-bg { fill: #f7f5f1; stroke: #6f6a64; stroke-width: 1.5; }
.ml-wire .w-ln, .ml-wire .w-box { fill: none; stroke: #6f6a64; stroke-width: 1.2; }
.ml-wire .w-ph { fill: #ebe7e0; stroke: #6f6a64; stroke-width: 1.2; }
.ml-wire .w-map { fill: none; stroke: #d3cdc4; stroke-width: 3; }
.ml-wire .w-pin { fill: #f7f5f1; stroke: #6f6a64; stroke-width: 1.4; }
.ml-wire .w-btn { fill: var(--global-palette2); stroke: #1c1c1c; stroke-width: 1.2; }
.ml-wire .w-t { fill: #4a4642; font-family: var(--ml-sans), system-ui, sans-serif; font-weight: 600; letter-spacing: 0.02em; }
.ml-wire .w-c { text-anchor: middle; }
.ml-wire .w-logo { font-size: 14px; letter-spacing: 0.04em; }
.ml-wire .w-nav { font-size: 7px; font-weight: 500; letter-spacing: 0.06em; }
.ml-wire .w-b { fill: #1c1c1c; font-weight: 600; }
.ml-wire .w-h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.ml-wire .w-h2 { font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 900px) { .ml-h-canvas__wire { width: min(320px, 84%); } }
.ml-h .ml-h-canvas__wire .ml-h-canvas__badge { top: auto !important; bottom: -28px; right: -28px; }

/* Homepage Canvas Pro band, mosaic version (Melissa, Nov 16 2026): full-bleed wall of real canvases behind a bold
   outlined black panel. Replaces the earlier two-column / wireframe versions. */
.ml-h-canvas--mosaic { position: relative; padding: 96px 20px !important; background: #0d0d0d; overflow: hidden; display: flex; justify-content: center; }
.ml-h-mosaic { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ml-h-mosaic .wp-block-image { margin: 0 !important; overflow: hidden; }
.ml-h-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.8; }
.ml-h-mpanel { position: relative; z-index: 1; width: min(700px, 100%); padding: 56px 48px 48px; background: #0d0d0d; outline: 1px solid rgba(255, 255, 255, 0.55); outline-offset: -14px; box-shadow: 0 0 0 18px #0d0d0d; text-align: center; color: var(--global-palette9); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ml-h-mpanel > * { margin: 0 !important; }
.ml-h .ml-h-mpanel__label { color: rgba(255, 255, 255, 0.65); }
.ml-h .ml-h-mpanel__title { display: flex; flex-direction: column; align-items: center; color: var(--global-palette9); font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.04em; }
.ml-h-mpanel__script { font-family: var(--ml-script, "kepler-3-subhead-condensed", Georgia, serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--global-palette2); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; transform: rotate(-4deg); margin-bottom: -4px; }
.ml-h-mpanel__num { font-size: clamp(96px, 13vw, 170px); letter-spacing: -0.06em; }
.ml-h-mpanel__word { font-size: clamp(34px, 4.4vw, 60px); }
.ml-h .ml-h-mpanel__lead { max-width: 480px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.ml-h .ml-h-mpanel__price { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
html body .ml-h .ml-h-mpanel__price .price del, html body .ml-h .ml-h-mpanel__price .price del * { font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, 0.5) !important; }
html body .ml-h .ml-h-mpanel__price .price ins, html body .ml-h .ml-h-mpanel__price .price ins :is(.woocommerce-Price-amount, bdi, .woocommerce-Price-currencySymbol) { color: var(--global-palette2) !important; text-decoration: none; }
.ml-h-mpanel__btns { gap: 12px; }
@media (max-width: 900px) {
	.ml-h-canvas--mosaic { padding: 64px 16px !important; }
	.ml-h-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 10px; }
	.ml-h-mpanel { padding: 44px 24px 36px; outline-offset: -10px; box-shadow: 0 0 0 10px #0d0d0d; }
}

/* Canvas Pro band: scrolling rows like the Canvas Pro page (uncropped, 210px, 16px gaps, 8px corners), faded to 50%,
   with roomy black space above and below (Melissa, Nov 16 2026). The rows and the panel share one grid cell. */
.ml-h-canvas--mosaic { display: grid !important; padding: 140px 0 !important; place-items: center; }
.ml-h-canvas--mosaic > .ml-h-mrows, .ml-h-canvas--mosaic > .ml-h-mpanel { grid-area: 1 / 1; }
.ml-h-mrows { width: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.ml-h-mrow { display: flex; width: max-content; animation: ml-canvas-scroll 70s linear infinite; }
.ml-h-mrow--rev { animation-direction: reverse; animation-duration: 80s; }
.ml-h-mrow--slow { animation-duration: 90s; }
.ml-h-mrow .wp-block-image { margin: 0 16px 0 0 !important; flex: none; }
.ml-h-mrow img { display: block; height: 210px; width: auto; max-width: none; border-radius: 8px; opacity: 0.5; }
.ml-h-mpanel { margin-inline: 20px !important; }
@media (prefers-reduced-motion: reduce) { .ml-h-mrow { animation: none; } }
@media (max-width: 900px) {
	.ml-h-canvas--mosaic { display: block !important; padding: 80px 0 !important; }
	.ml-h-mrows { gap: 10px; margin-bottom: 32px !important; }
	.ml-h-mrow--slow { display: none; }
	.ml-h-mrow .wp-block-image { margin-right: 10px !important; }
	.ml-h-mrow img { height: 96px; }
	.ml-h-mpanel { width: auto; margin: 0 16px !important; }
}
.ml-h-canvas--mosaic > .wp-block-group__inner-container { display: grid; place-items: center; width: 100%; }
.ml-h-canvas--mosaic > .wp-block-group__inner-container > .ml-h-mrows, .ml-h-canvas--mosaic > .wp-block-group__inner-container > .ml-h-mpanel { grid-area: 1 / 1; }
@media (max-width: 900px) { .ml-h-canvas--mosaic > .wp-block-group__inner-container { display: block; } }

/* Canvas Pro page: room between the hero buttons and the stars line (a margin reset was zeroing its margin). */
html body .sd2 .sd2-heroproof { padding-top: 32px !important; }
@media (max-width: 600px) { html body .sd2 .sd2-heroproof { padding-top: 24px !important; } }

/* Stock photo collections: photos fill their boxes (cropped to fit) instead of sitting inside grey bands,
   on the Stock Photos category and the shop page (Melissa, Nov 16 2026). */
.term-stock-photos ul.products li.product a.woocommerce-loop-image-link img,
#stock-photos ul.products li.product a.woocommerce-loop-image-link img { object-fit: cover !important; }

/* Stock Photos category: Stock Photo Pro band in the Canvas Pro mosaic style (block 481, Nov 16 2026). */
.ml-cat-promo .ml-h-stockpro { padding: 72px 0 !important; border-radius: 0; margin-bottom: 56px !important; }
.ml-h-stockpro .ml-h-mrow img { height: 200px; }
.ml-h-stockpro .ml-h-mpanel { width: min(640px, 100%); }
.ml-h-stockpro .ml-h-mpanel__word { font-size: clamp(28px, 3.4vw, 46px); }
#collections { scroll-margin-top: 120px; }
@media (max-width: 900px) { .ml-cat-promo .ml-h-stockpro { padding: 48px 0 !important; } .ml-h-stockpro .ml-h-mrow img { height: 96px; } }

/* Stock Photo Pro page hero (page 480): same mosaic band, full width, with the fine-print line. */
.ml-h-stockpro--hero { padding: 96px 0 !important; }
.ml-h .ml-h-mpanel__fine { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.ml-h .ml-h-mpanel__fine a { color: var(--global-palette2); text-decoration: underline; text-underline-offset: 3px; }
#collections-inside { scroll-margin-top: 100px; }
@media (max-width: 900px) { .ml-h-stockpro--hero { padding: 56px 0 !important; } }

/* Stock Photo Pro page, rest of the page (Nov 16 2026). */
.ml-sp2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ml-sp2-copy { display: flex; flex-direction: column; gap: 16px; }
.ml-sp2-copy > * { margin: 0 !important; }
.ml-sp2-copy p:not(.ml-h-label):not(.ml-h-lead) { font-size: 17px; line-height: 1.55; color: var(--global-palette4); }
.ml-sp2-pills { list-style: none; padding: 0 !important; margin: 6px 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.ml-sp2-pills li { padding: 8px 16px; border: 1px solid var(--global-palette3); border-radius: 999px; font-size: 14px; }
.ml-sp2-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ml-sp2-collage .wp-block-image { margin: 0 !important; aspect-ratio: 4 / 5; overflow: hidden; }
.ml-sp2-collage .wp-block-image:nth-child(2), .ml-sp2-collage .wp-block-image:nth-child(4) { transform: translateY(28px); }
.ml-sp2-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ml-sp2-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 88px !important; }
.ml-sp2-feat { border-top: 1px solid var(--global-palette3); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.ml-sp2-feat > * { margin: 0 !important; }
.ml-h .ml-sp2-feat__n { font-family: var(--ml-label); font-size: 11px; letter-spacing: 0.16em; color: var(--global-palette5); }
.ml-h .ml-sp2-feat__t { font-family: var(--ml-sans); font-weight: 600; font-size: 20px; text-transform: none; letter-spacing: -0.01em; }
.ml-sp2-feat p:not(.ml-sp2-feat__n) { font-size: 16px; line-height: 1.5; color: var(--global-palette5); }
#collections-inside ul.products li.product a.woocommerce-loop-image-link img { object-fit: cover !important; }
.ml-faq__inner { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.ml-faq__list { display: flex; flex-direction: column; }
.ml-faq__row { padding: 22px 0; border-top: 1px solid rgba(20, 20, 20, 0.14); display: flex; flex-direction: column; gap: 8px; }
.ml-faq__row:last-child { border-bottom: 1px solid rgba(20, 20, 20, 0.14); }
.ml-faq__row > * { margin: 0 !important; }
.ml-h .ml-faq__row h3 { font-family: var(--ml-sans); font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: -0.01em; }
.ml-faq__row p { font-size: 17px; line-height: 1.55; color: var(--global-palette5); }
.ml-sp2-cta { background: #0d0d0d; color: var(--global-palette9); padding: 110px 20px !important; }
.ml-sp2-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ml-sp2-cta__inner > * { margin: 0 !important; }
.ml-sp2-cta .ml-h-label { color: rgba(255, 255, 255, 0.65); }
.ml-h.ml-sp2-cta .ml-h-title { color: var(--global-palette9); }
.ml-h.ml-sp2-cta .ml-h-title .sh-script { color: var(--global-palette2); }
html body .ml-h .ml-sp2-cta .ml-h-mpanel__price .price del, html body .ml-h .ml-sp2-cta .ml-h-mpanel__price .price del * { color: rgba(255, 255, 255, 0.5) !important; font-size: 20px; font-weight: 400; }
html body .ml-h .ml-sp2-cta .ml-h-mpanel__price .price ins, html body .ml-h .ml-sp2-cta .ml-h-mpanel__price .price ins :is(.woocommerce-Price-amount, bdi, .woocommerce-Price-currencySymbol) { color: var(--global-palette2) !important; text-decoration: none; }
.ml-sp2-cta .ml-h-mpanel__price { font-size: 32px; font-weight: 600; }
@media (max-width: 900px) {
	.ml-sp2-split, .ml-faq__inner { grid-template-columns: 1fr; gap: 32px; }
	.ml-sp2-feats { grid-template-columns: 1fr 1fr; margin-top: 64px !important; }
	.ml-sp2-cta { padding: 72px 16px !important; }
}
@media (max-width: 560px) { .ml-sp2-feats { grid-template-columns: 1fr; } }
.ml-faq__inner > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .ml-faq__inner > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ on the Stock Photo Pro page: the inner wrapper is display:contents here, so the grid goes on .ml-faq__inner. */
.ml-faq__inner { display: grid !important; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .ml-faq__inner { grid-template-columns: 1fr; gap: 24px; } }

/* Stock photo collection product pages, redesign (inc/stock-product.php, Nov 16 2026). */
.ml-sp-slider { clear: both; width: 100vw; margin: 72px 0 0 calc(50% - 50vw); padding: 72px 0 80px; background: #0d0d0d; color: var(--global-palette9); overflow: hidden; }
.ml-sp-slider__head { max-width: 1200px; margin: 0 auto 36px; padding: 0 24px; text-align: center; }
.ml-sp-slider__head .sh-label { color: rgba(255, 255, 255, 0.65); margin: 0 0 10px; }
.ml-sp-slider__title { margin: 0; color: var(--global-palette9); font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(30px, 3.6vw, 50px); line-height: 1; }
.ml-sp-slider__title .sh-script { color: var(--global-palette2); text-transform: none; font-weight: 400; letter-spacing: 0; }
.ml-sp-slider__row + .ml-sp-slider__row { margin-top: 16px; }
.ml-sp-slider__track { display: flex; gap: 16px; width: max-content; animation: ml-canvas-scroll 60s linear infinite; }
.ml-sp-slider__row--rev .ml-sp-slider__track { animation-direction: reverse; animation-duration: 70s; }
.ml-sp-slider:hover .ml-sp-slider__track { animation-play-state: paused; }
.ml-sp-slider__track img { display: block; height: 300px; width: auto; max-width: none; border-radius: 8px; transition: transform 0.4s ease; }
.ml-sp-slider__track img:hover { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ml-sp-slider__track { animation: none; } }
@media (max-width: 767px) { .ml-sp-slider { margin-top: 48px; padding: 48px 0 56px; } .ml-sp-slider__track img { height: 170px; } .ml-sp-slider__track, .ml-sp-slider__row + .ml-sp-slider__row { gap: 10px; margin-top: 10px; } }

.ml-sp--v2 { gap: 96px; padding-top: 88px; }
.ml-sp2-get { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.ml-sp2-get .sh-label { margin: 0 0 18px; }
.ml-sp2-get__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ml-sp2-get__list li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--global-palette6); }
.ml-sp2-get__list li:last-child { border-bottom: 1px solid var(--global-palette6); }
.ml-sp2-get__list strong { min-width: 120px; font-family: var(--ml-sans); font-weight: 600; font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.ml-sp2-get__list span { font-size: 17px; color: var(--global-palette5); }
.ml-sp2-get__license { padding: 32px; background: var(--global-palette7); border-radius: 12px; }
.ml-sp2-get__license p { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.ml-sp2-get__license .ml-sp2-get__fine { font-size: 15px; color: var(--global-palette5); margin: 0; }
.ml-sp--v2 .ml-sp2-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 40px !important; }
.ml-sp2-feat__t { margin: 0; font-family: var(--ml-sans); font-weight: 600; font-size: 20px; text-transform: none; letter-spacing: -0.01em; }
.ml-sp2-feat__n { margin: 0; font-family: var(--ml-label); font-size: 11px; letter-spacing: 0.16em; color: var(--global-palette5); }
.ml-sp2-feat p:not(.ml-sp2-feat__n) { margin: 0; font-size: 16px; line-height: 1.5; color: var(--global-palette5); }
.ml-sp2-pro .ml-h-stockpro { margin-bottom: 0 !important; }
.ml-sp2-faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.ml-sp2-faq .ml-sp-h2 { margin: 0; }
@media (max-width: 900px) {
	.ml-sp2-get, .ml-sp2-faq { grid-template-columns: 1fr; gap: 28px; }
	.ml-sp--v2 .ml-sp2-feats { grid-template-columns: 1fr 1fr; }
	.ml-sp--v2 { gap: 64px; padding-top: 56px; }
}
@media (max-width: 560px) { .ml-sp--v2 .ml-sp2-feats { grid-template-columns: 1fr; } }

/* Sticky buy bar on product pages (inc/sticky-cart.php), same look as the landing pages' bar. */
.ml-buybar { position: fixed; left: 50%; bottom: 16px; z-index: 9990; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 24px; background: #000; color: #fff; border-radius: 60px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3); font-family: var(--ml-sans); font-size: 15px; transition: transform 0.35s ease; max-width: calc(100vw - 24px); box-sizing: border-box; }
.ml-buybar.is-on { transform: translate(-50%, 0); }
.ml-buybar__name { font-weight: 600; }
.ml-buybar__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .ml-buybar .price, html body .ml-buybar .price * { color: #fff !important; font-size: 15px !important; }
html body .ml-buybar .price del, html body .ml-buybar .price del * { opacity: 0.55; font-weight: 400; }
html body .ml-buybar .price ins, html body .ml-buybar .price ins * { color: var(--global-palette2) !important; font-weight: 700; text-decoration: none; }
.ml-buybar__btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 40px; background: var(--global-palette2); color: #000 !important; font-weight: 600; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; }
.ml-buybar__btn:hover { background: #fff; }
@media (max-width: 767px) {
	.ml-buybar { left: 12px; right: 12px; bottom: 12px; transform: translateY(160%); justify-content: space-between; padding: 8px 8px 8px 18px; font-size: 13px; gap: 10px; }
	.ml-buybar.is-on { transform: translateY(0); }
	.ml-buybar__name { display: none; }
	.ml-buybar__btn { padding: 0 16px; font-size: 11px; min-height: 42px; }
}
html body .ml-buybar .ml-buybar__price .price ins, html body .ml-buybar .ml-buybar__price ins .woocommerce-Price-amount, html body .ml-buybar .ml-buybar__price ins bdi, html body .ml-buybar .ml-buybar__price ins .woocommerce-Price-currencySymbol { color: var(--global-palette2) !important; }

/* Photo rows driven by inc/marquee.php: no hover pause, drag/swipe sideways (vertical page scroll still works). */
.ml-marquee-js { animation: none !important; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; will-change: transform; }
.ml-marquee-js.is-dragging { cursor: grabbing; }
.ml-h-mrows, .ml-sp-slider { touch-action: pan-y; }
.ml-sp-slider__track.ml-marquee-js img:hover { transform: none; }

/* Stock collection pages: slider at the very top; related products photos fill their boxes (Nov 16 2026). */
.ml-stock-collection .ml-sp-slider { margin-top: 0; margin-bottom: 40px; }
.ml-stock-collection .related ul.products li.product a.woocommerce-loop-image-link img,
.ml-stock-collection .upsells ul.products li.product a.woocommerce-loop-image-link img { object-fit: cover !important; }

/* Homepage copy rewrite (Nov 17 2026): hero with "For designers" label + "You're not behind" headline,
   intro paragraph and button; new "Sound familiar?" and "AI without losing your soul" sections. */
.ml-h .ml-h-hero__kicker { margin: 0 0 14px !important; text-align: center; }
.ml-h .ml-h-hero__big.ml-h-hero__lead { font-family: var(--ml-sans); font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1.4; font-size: clamp(20px, 1.9vw, 26px); text-align: left; }
.ml-h-hero__btns { margin-top: 4px !important; }
.ml-h-hero__btns .wp-block-button__link { min-height: 52px; padding: 0 30px !important; }
.ml-h-pains__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.ml-h-pains__inner > * { margin: 0 !important; }
.ml-h .ml-h-pains__title { font-size: clamp(40px, 4.4vw, 64px); }
.ml-h-pains__body { display: flex; flex-direction: column; gap: 28px; }
.ml-h-pains__body > * { margin: 0 !important; }
.ml-h-pains__list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ml-h-pains__list li { position: relative; padding: 22px 22px 22px 54px; background: var(--global-palette9); border-radius: 12px; font-size: 17px; line-height: 1.45; }
.ml-h-pains__list li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--global-palette2); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06); }
.ml-h .ml-h-pains__close { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; padding-top: 22px; border-top: 1px solid var(--global-palette4); }
.ml-h-ai { background: #0d0d0d; color: var(--global-palette9); padding: 104px 0 !important; }
.ml-h-ai__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.ml-h-ai__inner > * { margin: 0 !important; }
.ml-h .ml-h-ai__title { color: var(--global-palette9); font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(44px, 6vw, 92px); }
.ml-h .ml-h-ai__title .sh-script { color: var(--global-palette2); text-transform: none; font-weight: 400; letter-spacing: 0; }
.ml-h-ai__body { display: flex; flex-direction: column; gap: 24px; }
.ml-h-ai__body > * { margin: 0 !important; }
.ml-h .ml-h-ai__text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
#trainings-courses { scroll-margin-top: 90px; }
@media (max-width: 900px) {
	.ml-h-pains__inner, .ml-h-ai__inner { grid-template-columns: 1fr; gap: 28px; }
	.ml-h-pains__list { grid-template-columns: 1fr; }
	.ml-h-ai { padding: 72px 0 !important; }
}

/* Homepage problem -> solution flow (replaces the separate Sound familiar? / AI sections, Nov 17 2026). */
.ml-flow { background: var(--global-palette9); padding: 96px 0 112px !important; overflow: hidden; }
.ml-flow__wrap { display: flex; flex-direction: column; }
.ml-flow__wrap > * { margin: 0 !important; }
.ml-h .ml-flow__script { font-family: var(--ml-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1; font-size: clamp(56px, 8vw, 118px); color: var(--global-palette3); padding-left: 6%; position: relative; display: inline-block; align-self: flex-start; }
.ml-h .ml-flow__script::after { content: ""; position: absolute; left: 6%; right: -4%; bottom: 0.08em; height: 0.28em; background: var(--global-palette2); z-index: -1; transform: rotate(-1.2deg); }
.ml-flow__problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; margin-top: 56px !important; }
.ml-flow__stack { position: relative; aspect-ratio: 1 / 0.92; }
.ml-h .ml-flow__polaroid { position: absolute; margin: 0 !important; background: #fff; padding: 14px 14px 52px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16); width: 62%; }
.ml-h .ml-flow__polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ml-h .ml-flow__polaroid--1 { left: 0; top: 4%; transform: rotate(-7deg); }
.ml-h .ml-flow__polaroid--2 { left: 30%; top: 0; transform: rotate(5deg); }
.ml-h .ml-flow__polaroid--3 { left: 14%; top: 18%; transform: rotate(-1.5deg); z-index: 2; }
.ml-flow__pcopy { display: flex; flex-direction: column; gap: 30px; }
.ml-flow__pcopy > * { margin: 0 !important; }
.ml-flow__checks { list-style: none; padding: 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 20px; }
.ml-flow__checks li { position: relative; padding-left: 52px; font-family: var(--ml-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.18; color: var(--global-palette3); }
.ml-flow__checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--global-palette2); }
.ml-flow__checks li::after { content: ""; position: absolute; left: 12px; top: 9px; width: 7px; height: 13px; border-right: 2px solid var(--global-palette3); border-bottom: 2px solid var(--global-palette3); transform: rotate(45deg); }
.ml-h .ml-flow__bridge { font-family: var(--ml-label); font-size: 12px; line-height: 1.85; letter-spacing: 0.16em; text-transform: uppercase; color: var(--global-palette3); padding-top: 26px; border-top: 1px solid var(--global-palette3); max-width: 520px; }
.ml-flow__solution { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: center; margin-top: 120px !important; }
.ml-flow__scopy { display: flex; flex-direction: column; gap: 28px; }
.ml-flow__scopy > * { margin: 0 !important; }
.ml-h .ml-flow__title { font-family: var(--ml-serif); font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(52px, 6.4vw, 104px); color: var(--global-palette3); }
.ml-h .ml-flow__title em { font-style: italic; }
.ml-flow__hl { background: linear-gradient(transparent 52%, var(--global-palette2) 52%, var(--global-palette2) 88%, transparent 88%); padding: 0 0.06em; }
.ml-h .ml-flow__text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; max-width: 560px; }
.ml-flow__btns .wp-block-button__link { min-height: 52px; padding: 0 30px !important; }
.ml-h .ml-flow__portrait { margin: 0 !important; position: relative; }
.ml-h .ml-flow__portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ml-h .ml-flow__portrait::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--global-palette3); z-index: -1; }
#ai-without-losing-your-soul { scroll-margin-top: 90px; }
@media (max-width: 900px) {
	.ml-flow { padding: 64px 0 80px !important; }
	.ml-h .ml-flow__script { padding-left: 0; }
	.ml-h .ml-flow__script::after { left: 0; }
	.ml-flow__problem, .ml-flow__solution { grid-template-columns: 1fr; gap: 40px; margin-top: 40px !important; }
	.ml-flow__solution { margin-top: 72px !important; }
	.ml-flow__stack { width: 86%; margin: 0 auto !important; }
	.ml-h .ml-flow__portrait { order: -1; width: 86%; margin-left: auto !important; }
}
.ml-h .ml-flow__script, .ml-h .ml-flow__portrait { isolation: isolate; }
.ml-flow__checks li { font-family: var(--ml-sans); font-size: 18px; line-height: 1.5; padding-top: 3px; }
@media (max-width: 900px) { .ml-flow__solution { margin-top: 88px !important; } .ml-flow__checks li { font-size: 17px; } }
.ml-flow { background: var(--global-palette8); }

/* Homepage: AI trainings (2 cards) and "For Showit designers" (Build + Scale + 3 kits), Nov 17 2026. */
.ml-h-grid--ai { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#templates-tools .ml-h-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#templates-tools .ml-h-card--course .ml-h-card__img img { object-fit: cover !important; }
@media (max-width: 1024px) { #templates-tools .ml-h-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ml-h-grid--ai, #templates-tools .ml-h-grid--4 { grid-template-columns: 1fr; } }

/* Nov 17 2026: "Sound familiar?" smaller with no highlight; solution headline in Special Gothic uppercase semibold;
   bold text site-wide is semibold (font range capped in assets/css/fonts.css; strong/b set to 600 too). */
strong, b { font-weight: 600; }
.ml-h .ml-flow__script { font-size: clamp(40px, 4.6vw, 64px); }
.ml-h .ml-flow__script::after { display: none; }
.ml-h .ml-flow__title { font-family: var(--ml-sans); font-weight: 600; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(44px, 5.6vw, 88px); }
.ml-h .ml-flow__title em { font-style: normal; }
/* Polaroids removed (Nov 17 2026): "Sound familiar?" sits beside the checklist. */
.ml-flow__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 72px; align-items: start; }
.ml-h .ml-flow__script { padding-left: 0; }
.ml-flow__problem { display: block; margin-top: 0 !important; }
.ml-flow__solution { grid-column: 1 / -1; }
@media (max-width: 900px) { .ml-flow__wrap { grid-template-columns: 1fr; } .ml-flow__problem { margin-top: 28px !important; } }
.ml-flow__wrap { row-gap: 128px; }
.ml-flow__solution { margin-top: 0 !important; }
@media (max-width: 900px) { .ml-flow__wrap { row-gap: 0; } .ml-flow__solution { margin-top: 88px !important; } }
@media (max-width: 900px) { .ml-h .ml-flow__solution { margin-top: 96px !important; } .ml-h .ml-flow__problem { margin-top: 28px !important; } }
/* "Sound familiar?", the bullets and the statement: centered on the page in one narrow column (Nov 17 2026). */
.ml-flow__wrap { grid-template-columns: 1fr; row-gap: 0; }
.ml-h .ml-flow__script { justify-self: center; text-align: center; }
.ml-h .ml-flow__problem { width: 100%; max-width: 640px; justify-self: center; margin-top: 32px !important; }
.ml-flow__pcopy { align-items: stretch; }
.ml-h .ml-flow__bridge { text-align: center; max-width: none; }
.ml-h .ml-flow__solution { margin-top: 128px !important; }
@media (max-width: 900px) { .ml-h .ml-flow__problem { margin-top: 24px !important; } .ml-h .ml-flow__solution { margin-top: 96px !important; } }
