/* MintersMarket theme — layout & components, matched to the Figma design (13714 MintersMarket).
   Colours, fonts and sizes come from theme.json (var(--wp--preset--…)). */

:root {
	--mmt-bg: var(--wp--preset--color--base, #000);
	--mmt-surface: var(--wp--preset--color--surface, #0f0f11);
	--mmt-raised: var(--wp--preset--color--raised, #151519);
	--mmt-field: var(--wp--preset--color--field, #1d1d1d);
	--mmt-line: var(--wp--preset--color--line, #26262b);
	--mmt-hair: rgba(255, 255, 255, 0.1);
	--mmt-text: var(--wp--preset--color--contrast, #fff);
	--mmt-muted: var(--wp--preset--color--muted, #a7a7a7);
	--mmt-label: #6b6b6b;
	--mmt-ink: #000127;
	--mmt-faint: #6d6b78;
	--mmt-accent: var(--wp--preset--color--accent, #d4af36);
	--mmt-accent-light: var(--wp--preset--color--accent-light, #edd483);
	--mmt-violet: var(--wp--preset--color--violet, #5a3cd2);
	--mmt-indigo: var(--wp--preset--color--indigo, #1f0a8c);
	--mmt-purple: var(--wp--preset--color--purple, #7a1691);
	--mmt-primary: var(--mmt-violet);
	--mmt-danger: var(--wp--preset--color--danger, #e5484d);
	--mmt-gold: linear-gradient(100deg, #d4af36 45%, #edd483 74.5%, #d4af36 100%);
	--mmt-gold-even: linear-gradient(90deg, #d4af36 0%, #edd483 50.5%, #d4af36 100%);
	--mmt-gold-hover: linear-gradient(100deg, #dcbb4a 45%, #f3e0a0 74.5%, #dcbb4a 100%);
	--mmt-panel: rgba(255, 255, 255, 0.05);
	--mmt-panel-strong: rgba(18, 18, 22, 0.82);
	--mmt-r-s: 10px; /* buttons and form fields */
	--mmt-r-field: 7px;
	--mmt-r-m: 0px;
	--mmt-r-l: 0px;
	--mmt-pill: 999px;
	--mmt-header-h: var(--wp--custom--header-height, 111px);
	--mmt-wide: var(--wp--style--global--wide-size, 1400px);
	--mmt-gutter: clamp(1rem, 3.4vw, 50px);
	--mmt-display: var(--wp--preset--font-family--display, "Metropolis", "Inter", system-ui, sans-serif);
	--mmt-body: var(--wp--preset--font-family--body, "Metropolis", "Inter", system-ui, sans-serif);
	--mmt-ui: var(--wp--preset--font-family--ui, "Inter", system-ui, sans-serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--mmt-header-h) + 1rem); background: var(--mmt-bg); }
body { margin: 0; position: relative; isolation: isolate; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* The indigo (left) and purple (right) glows behind every page. */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(45% 60% at -5% 45%, rgba(31, 10, 140, 0.55) 0%, rgba(31, 10, 140, 0) 70%),
		radial-gradient(40% 55% at 105% 22%, rgba(122, 22, 145, 0.5) 0%, rgba(122, 22, 145, 0) 70%),
		var(--mmt-bg);
}
img, svg, video { max-width: 100%; height: auto; }
a { text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--mmt-accent); outline-offset: 2px; border-radius: 2px; }
.mmt-main:focus { outline: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--mmt-display); font-weight: 400; color: var(--mmt-text); }
.mmt-gold, .has-accent-color { color: var(--mmt-accent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--mmt-accent); color: #111; padding: 10px 16px; border-radius: var(--mmt-r-s); text-decoration: none;
}

/* ---------- Layout ---------- */
.mmt-container { width: 100%; max-width: calc(var(--mmt-wide) + 2 * var(--mmt-gutter)); margin-inline: auto; padding-inline: var(--mmt-gutter); }
.mmt-section { padding-block: clamp(2rem, 5vw, 4rem); }
.mmt-entry-full > * { margin-block: 0; }
.mmt-entry > *:first-child { margin-top: 0; }
.mmt-page-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.mmt-page-header.is-centered, .woocommerce-products-header { text-align: center; padding-block: clamp(2.5rem, 8vw, 130px) clamp(1.5rem, 3vw, 40px); margin-bottom: 0; }
.mmt-page-title { margin: 0; font-size: var(--wp--preset--font-size--xx-large); font-weight: 400; line-height: 1.2; text-transform: capitalize; }
.mmt-page-intro, .woocommerce-products-header .term-description { color: var(--mmt-muted); max-width: 850px; margin: 30px auto 0; font-size: 1.0625rem; line-height: 1.7; }
.mmt-eyebrow { margin: 0 0 .5rem; color: var(--mmt-accent); font-family: var(--mmt-display); font-size: var(--wp--preset--font-size--small); font-weight: 500; letter-spacing: .04em; }
.mmt-meta { color: var(--mmt-muted); font-size: var(--wp--preset--font-size--small); }
.mmt-section-title { display: flex; align-items: center; gap: 20px; margin: 0 0 2.5rem; font-size: 1.875rem; line-height: 44px; }
.mmt-section-title::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.2); }

/* ---------- Buttons ---------- */
.mmt-btn, .wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
	min-height: 46px; padding: 11px 25px; border: 1px solid transparent; border-radius: var(--mmt-r-s);
	background: var(--mmt-gold); color: var(--mmt-ink); font-family: var(--mmt-body); font-size: .9375rem; font-weight: 500; line-height: 24px;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, filter .15s;
}
.mmt-btn:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--mmt-gold-hover); color: var(--mmt-ink); }
.mmt-btn-ghost { background: transparent; color: var(--mmt-text); border-color: rgba(255, 255, 255, 0.2); }
.mmt-btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--mmt-text); border-color: rgba(255, 255, 255, 0.3); }
.mmt-btn-pill { border-radius: var(--mmt-pill); }
.mmt-btn-caps { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 600; }
.mmt-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: var(--mmt-pill); background: transparent; color: var(--mmt-text); cursor: pointer;
}
.mmt-icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--mmt-accent); }
.mmt-icon { display: inline-block; flex: none; vertical-align: middle; }
.mmt-link-gold { color: var(--mmt-accent); text-decoration: none; font-size: var(--wp--preset--font-size--small); font-weight: 500; }
.mmt-link-gold:hover { color: var(--mmt-accent-light); }

/* ---------- Header ---------- */
.mmt-header {
	position: sticky; top: 0; z-index: 100;
	/* Frosted glass, dark enough that pictures scrolling underneath don't show through as smudges. */
	background: rgba(8, 8, 12, 0.82);
	-webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.admin-bar .mmt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mmt-header { top: 46px; } }
.mmt-header-inner {
	display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem);
	max-width: calc(var(--mmt-wide) + 2 * var(--mmt-gutter)); min-height: var(--mmt-header-h);
	margin-inline: auto; padding-inline: var(--mmt-gutter);
}
.mmt-brand { flex: none; display: flex; align-items: center; }
.mmt-brand img, .mmt-logo { display: block; height: auto; width: auto; max-height: 23px; }
.custom-logo-link img { max-height: 36px; width: auto; }
.mmt-nav-toggle { display: none; }
.mmt-nav-search { display: none; }

.mmt-search { position: relative; display: flex; align-items: center; flex: none; }
.mmt-search .mmt-icon { position: absolute; right: 14px; width: 14px; color: #fff; pointer-events: none; }
.mmt-search input[type="search"] {
	width: clamp(150px, 12vw, 176px); height: 38px; padding: 0 2.2rem 0 16px; border: 0; border-radius: var(--mmt-r-field);
	background: var(--mmt-field); color: var(--mmt-text); font: inherit; font-size: .75rem;
}
.mmt-search input::placeholder { color: rgba(255, 255, 255, 0.7); opacity: 1; }

.mmt-primary-nav { flex: 1; display: flex; justify-content: center; }
.mmt-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.mmt-menu > li { position: relative; }
.mmt-menu a { display: block; padding: .5rem 0; color: #a4a4a4; font-family: var(--mmt-display); font-size: 1rem; font-weight: 500; line-height: 24px; text-decoration: none; }
.mmt-menu a:hover, .mmt-menu .current-menu-item > a, .mmt-menu .current-menu-ancestor > a { color: #fff; }
.mmt-menu .sub-menu {
	position: absolute; top: 100%; left: 50%; min-width: 220px; margin: .6rem 0 0; padding: .4rem; list-style: none; transform: translate(-50%, 4px);
	background: var(--mmt-surface); border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); box-shadow: 0 18px 40px rgba(0,0,0,.55);
	opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.mmt-menu li:hover > .sub-menu, .mmt-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mmt-menu .sub-menu a { padding: .55rem .8rem; border-radius: var(--mmt-r-s); }
.mmt-menu .sub-menu a:hover { background: rgba(255,255,255,.05); }

.mmt-header-tools { display: flex; align-items: center; gap: 20px; flex: none; }
.mmt-header-tools .mmt-signup { margin-left: -6px; }
.mmt-cart .mmt-icon { width: 24px; height: 24px; }
.mmt-cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--mmt-pill);
	background: var(--mmt-accent); color: #111; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center;
}
.mmt-login .mmt-icon { display: none; }
.mmt-login, .mmt-signup { min-height: 48px; padding: 11px 25px; font-size: .9375rem; }

.mmt-account { position: relative; }
.mmt-account-btn {
	display: flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .7rem 0 .25rem; border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--mmt-pill); background: transparent; color: var(--mmt-text); font: inherit; font-size: .8125rem; cursor: pointer;
}
.mmt-account-btn:hover { border-color: rgba(255,255,255,.3); }
.mmt-avatar { width: 32px; height: 32px; border-radius: 50%; display: block; }
.mmt-account-name { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mmt-dropdown {
	position: absolute; right: 0; top: calc(100% + .6rem); width: 260px; padding: .5rem;
	background: var(--mmt-surface); border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); box-shadow: 0 18px 40px rgba(0,0,0,.6);
}
.mmt-dropdown-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .6rem .7rem .7rem; border-bottom: 1px solid var(--mmt-hair); margin-bottom: .3rem; }
.mmt-dropdown ul { margin: 0; padding: 0; list-style: none; }
.mmt-dropdown a { display: block; padding: .55rem .7rem; border-radius: var(--mmt-r-s); color: var(--mmt-text); font-size: .875rem; text-decoration: none; }
.mmt-dropdown a:hover { background: rgba(255,255,255,.05); color: var(--mmt-accent); }
.mmt-dropdown-sep { border-top: 1px solid var(--mmt-hair); margin-top: .3rem; padding-top: .3rem; }

@media (max-width: 1180px) {
	.mmt-search input[type="search"] { width: 140px; }
	.mmt-menu { gap: 1.2rem; }
	.mmt-account-name { display: none; }
}
@media (max-width: 960px) {
	.mmt-nav-toggle { display: inline-grid; }
	.mmt-search { display: none; }
	/* The header's backdrop blur makes it the containing block, so anchor the panel to the header itself. */
	.mmt-primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 99; display: none; padding: 1rem var(--mmt-gutter) 2rem;
		height: calc(100vh - var(--mmt-header-h)); height: calc(100dvh - var(--mmt-header-h));
		background: var(--mmt-bg); border-top: 1px solid var(--mmt-hair); overflow-y: auto;
	}
	.admin-bar .mmt-primary-nav { height: calc(100dvh - var(--mmt-header-h) - 46px); }
	.mmt-primary-nav.is-open { display: block; }
	.mmt-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.mmt-menu a { padding: .95rem .2rem; font-size: 1.15rem; color: var(--mmt-text); border-bottom: 1px solid var(--mmt-hair); }
	.mmt-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; margin: 0; }
	.mmt-nav-search { display: block; margin-top: 1.25rem; }
	.mmt-nav-search input { width: 100%; height: 46px; border-radius: var(--mmt-r-s); padding-inline: 1rem; border: 0; background: var(--mmt-field); }
	.mmt-header-tools { margin-left: auto; }
	.mmt-brand { margin-right: auto; }
}
@media (max-width: 560px) {
	.mmt-login span { display: none; }
	.mmt-login { width: 40px; padding: 0; }
	.mmt-login .mmt-icon { display: inline-block; width: 18px; }
	.mmt-brand img, .mmt-logo { max-height: 20px; }
}
@media (max-width: 420px) { .mmt-signup { display: none; } }
body.mmt-nav-open { overflow: hidden; }

/* ---------- Tabs (Figma: uppercase, gold with a dot when active) ---------- */
.mmt-tabs, .mmt-cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 20px; margin: 0 0 50px; padding: 0; list-style: none; }
.mmt-tabs.is-left { justify-content: flex-start; }
.mmt-tab, .mmt-cat-tabs a {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 17px; color: rgba(167, 167, 167, 0.5);
	font-family: var(--mmt-display); font-size: 1rem; font-weight: 500; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.mmt-tab:hover, .mmt-cat-tabs a:hover { color: var(--mmt-muted); }
.mmt-tab.is-active, .mmt-cat-tabs .is-active a, .mmt-cat-tabs a[aria-current] { color: var(--mmt-accent); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
	.mmt-tab.is-active > span, .mmt-cat-tabs .is-active a > span, .mmt-cat-tabs a[aria-current] > span { background: var(--mmt-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.mmt-tab.is-active::before, .mmt-cat-tabs .is-active a::before, .mmt-cat-tabs a[aria-current]::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- Cards & panels ---------- */
.mmt-panel { padding: clamp(1.25rem, 3vw, 32px); background: var(--mmt-panel); border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); -webkit-backdrop-filter: blur(12.5px); backdrop-filter: blur(12.5px); }
.mmt-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.mmt-grid-posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mmt-card { display: flex; flex-direction: column; overflow: hidden; background: var(--mmt-raised); border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); transition: transform .18s ease, border-color .18s ease; }
.mmt-card:hover { transform: translateY(-3px); border-color: rgba(212, 175, 54, .35); }
.mmt-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mmt-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.mmt-card-title { margin: .3rem 0 .5rem; font-size: 1.05rem; }
.mmt-card-title a { text-decoration: none; }
.mmt-card-excerpt { color: var(--mmt-muted); font-size: var(--wp--preset--font-size--small); }
.mmt-empty { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--mmt-line); border-radius: var(--mmt-r-m); color: var(--mmt-muted); }
.mmt-empty h2 { color: var(--mmt-text); margin-top: 0; }

.mmt-searchform { display: flex; gap: .5rem; max-width: 520px; margin: 1rem auto; }
.mmt-searchform input { flex: 1; height: 44px; padding: 0 1rem; border: 0; border-radius: var(--mmt-r-s); background: var(--mmt-field); color: var(--mmt-text); font: inherit; }

.nav-links, .page-numbers:not(li) { font-weight: 500; }
.pagination .nav-links, ul.page-numbers { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.page-numbers a, .page-numbers span, a.page-numbers, span.page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .7rem; border: 1px solid var(--mmt-hair);
	border-radius: var(--mmt-r-s); color: var(--mmt-text); text-decoration: none; font-size: .875rem;
}
.page-numbers.current { background: var(--mmt-gold); color: var(--mmt-ink); border-color: transparent; }

/* ---------- Posts ---------- */
.mmt-post-header { text-align: center; max-width: 900px; margin-inline: auto; }
.mmt-post-hero { margin: 0 auto 2.5rem; max-width: 1000px; }
.mmt-post-hero img { display: block; width: 100%; border-radius: var(--mmt-r-l); }
.post-navigation { max-width: 760px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--mmt-hair); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.post-navigation a { text-decoration: none; }
.post-navigation .mmt-meta { display: block; }
.mmt-comments { max-width: 760px; margin: 3rem auto 0; }
.mmt-404 { text-align: center; max-width: 720px; }

/* ---------- Artist profile (Figma "Profile – Artworks") ---------- */
.mmt-artist-cover { position: relative; min-height: clamp(220px, 28vw, 340px); background: var(--mmt-surface) center / cover no-repeat; display: flex; align-items: flex-end; }
.mmt-artist-cover.has-no-image { background: radial-gradient(60% 120% at 20% 0%, rgba(90,60,210,.55), transparent 70%), radial-gradient(50% 120% at 90% 10%, rgba(122,22,145,.55), transparent 70%), var(--mmt-surface); }
.mmt-artist-namebox { display: inline-block; margin-bottom: clamp(1rem, 3vw, 1.75rem); padding: 1.1rem 1.4rem .9rem; background: rgba(12, 10, 26, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mmt-artist-namebox h1 { margin: 0 0 .7rem; font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 400; }
.mmt-artist-stats { display: flex; flex-wrap: wrap; margin: 0; padding: 0 0 .7rem; list-style: none; border-bottom: 1px solid var(--mmt-hair); font-size: .8125rem; color: #d9d8df; }
.mmt-artist-stats li { padding: 0 1rem; border-left: 1px solid var(--mmt-hair); }
.mmt-artist-stats li:first-child { padding-left: 0; border-left: 0; }
.mmt-artist-joined { display: flex; justify-content: space-between; gap: 2rem; margin: .6rem 0 0; color: var(--mmt-muted); font-family: var(--mmt-display); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; }
.mmt-artist-intro { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.75rem 2rem; align-items: start; padding-block: clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--mmt-hair); margin-bottom: 1.75rem; }
.mmt-artist-photo { position: relative; width: 120px; }
.mmt-artist-photo img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 2px; }
.mmt-artist-photo .mmt-verified-dot { position: absolute; left: 8px; bottom: 8px; }
.mmt-artist-bio { max-width: 68ch; color: #c9c8d0; font-size: .875rem; line-height: 1.75; }
.mmt-artist-bio p { margin: 0 0 .6rem; }
.mmt-artist-follow { text-align: center; }
.mmt-artist-follow p { margin: 0 0 .8rem; color: var(--mmt-faint); font-family: var(--mmt-display); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.mmt-artist-follow ul { display: flex; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.mmt-artist-follow a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; }
.mmt-artist-follow a:hover { border-color: var(--mmt-accent); color: var(--mmt-accent); }
.mmt-artist-follow .mmt-icon { width: 15px; height: 15px; }
.mmt-artist-works { padding: clamp(1.25rem, 3vw, 2rem); background: var(--mmt-panel); border-radius: var(--mmt-r-s); }
.mmt-artist-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 860px) {
	.mmt-artist-intro { grid-template-columns: auto minmax(0, 1fr); }
	.mmt-artist-follow { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 520px) {
	.mmt-artist-intro { grid-template-columns: 1fr; }
	.mmt-artist-stats li { padding: 0 .6rem; }
}

/* ---------- Badges ---------- */
.mmt-verified { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem .15rem .35rem; border-radius: var(--mmt-pill); background: rgba(212, 175, 54, .14); color: var(--mmt-accent); font-size: .75rem; font-weight: 600; vertical-align: middle; }
.mmt-verified.is-compact { padding: 0; background: none; }
.mmt-verified-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mmt-accent); color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.6); }
.mmt-verified-dot .mmt-icon { width: 15px; height: 15px; }
.mmt-verified-dot .mmt-icon path:first-child { fill: transparent; }
.mmt-byline { display: flex; align-items: center; gap: .45rem; margin: .2rem 0 .4rem; color: var(--mmt-muted); font-size: .8125rem; }
.mmt-byline a { color: var(--mmt-muted); text-decoration: none; }
.mmt-byline a:hover { color: var(--mmt-text); }
.mmt-byline-avatar { width: 22px; height: 22px; border-radius: 50%; }
.mmt-byline-single { font-size: .9375rem; margin-bottom: 1rem; }
.mmt-byline-single a { color: var(--mmt-text); font-weight: 500; }

/* ---------- Footer (Figma: black, 100px top padding, 14px type, 58px newsletter field) ---------- */
.mmt-footer { margin-top: clamp(3rem, 8vw, 6rem); background: #000; border-top: 1px solid rgba(255,255,255,.1); }
.mmt-footer-inner { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr); gap: 2.5rem; max-width: calc(var(--mmt-wide) + 2 * var(--mmt-gutter)); margin-inline: auto; padding: clamp(2.5rem, 6.5vw, 100px) var(--mmt-gutter) clamp(2rem, 5vw, 64px); }
.mmt-newsletter-title { margin: 0 0 27px; color: var(--mmt-label); font-size: .875rem; font-weight: 500; line-height: 24px; }
.mmt-newsletter-form { display: flex; max-width: 371px; }
.mmt-newsletter-form input[type="email"] { flex: 1; min-width: 0; height: 58px; padding: 0 22px; border: 2px solid #2e2d32; border-right: 0; border-radius: var(--mmt-r-s) 0 0 var(--mmt-r-s); background: transparent; color: var(--mmt-text); font: inherit; font-size: 1rem; }
.mmt-newsletter-form input[type="email"]::placeholder { color: var(--mmt-label); opacity: 1; }
.mmt-newsletter-form button { flex: none; width: 141px; height: 58px; padding: 0 1rem; border: 0; border-radius: 0 var(--mmt-r-s) var(--mmt-r-s) 0; background: #ddb837; color: var(--mmt-ink); font-family: var(--mmt-ui); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.mmt-newsletter-form button:hover { background: var(--mmt-accent-light); }
.mmt-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); justify-content: end; gap: clamp(2rem, 5vw, 72px); }
.mmt-footer-title { margin: 0 0 24px; color: var(--mmt-label); font-family: var(--mmt-display); font-size: .875rem; font-weight: 500; line-height: 24px; }
.mmt-footer-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mmt-footer-menu li { margin: 0; }
.mmt-footer-menu a { color: #fff; font-size: .875rem; line-height: 23px; text-decoration: none; }
.mmt-footer-menu a:hover { color: var(--mmt-accent); }
.mmt-footer-bottom-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 2rem; max-width: calc(var(--mmt-wide) + 2 * var(--mmt-gutter)); margin-inline: auto; padding: 27px var(--mmt-gutter); position: relative; }
.mmt-footer-bottom-inner::before { content: ""; position: absolute; top: 0; left: var(--mmt-gutter); right: var(--mmt-gutter); height: 1px; background: rgba(255,255,255,.2); }
.mmt-footer-bottom .mmt-logo { max-height: 30px; }
.mmt-copyright { margin: 0; color: #fff; font-size: .875rem; text-align: center; }
.mmt-social-icons { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.mmt-social-icons a { color: var(--mmt-accent); display: inline-flex; }
.mmt-social-icons a:hover { color: var(--mmt-accent-light); }
.mmt-social-icons .mmt-icon { width: 22px; height: 22px; }
@media (max-width: 860px) {
	.mmt-footer-inner { grid-template-columns: 1fr; }
	.mmt-footer-cols { justify-content: start; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 680px) { .mmt-footer-bottom-inner { grid-template-columns: 1fr; justify-items: center; } .mmt-social-icons { justify-content: center; } }

/* ---------- Full-bleed pages (homepage, dashboard) ---------- */
.mmt-full-bleed .mmt-footer { margin-top: 0; }
.mmt-is-account.mmt-full-bleed .mmt-entry-full,
body.mmt-is-account .mmt-page-full { max-width: calc(var(--mmt-wide) + 2 * var(--mmt-gutter)); margin-inline: auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--mmt-gutter) clamp(3rem, 6vw, 5rem); }

/* ---------- Forms (general) ---------- */
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="url"], select, textarea {
	background: var(--mmt-field); color: var(--mmt-text); border: 1px solid transparent; border-radius: var(--mmt-r-s); padding: .7rem .9rem; font: inherit; font-size: .875rem; max-width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--mmt-faint); }
input:focus, select:focus, textarea:focus { border-color: rgba(212, 175, 54, .6); outline: 0; box-shadow: 0 0 0 3px rgba(212, 175, 54, .15); }
label { font-weight: 500; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Outline buttons from the block editor */
.wp-block-button.is-style-outline > .wp-block-button__link { background: rgba(10,10,12,.6); color: var(--mmt-text); border: 1px solid rgba(255,255,255,.16); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.wp-block-button.is-style-pill > .wp-block-button__link { border-radius: var(--mmt-pill); }

.mmt-pending { display: inline-block; padding: .1rem .55rem; border-radius: var(--mmt-pill); background: rgba(212,175,54,.12); color: var(--mmt-accent); font-size: .75rem; font-weight: 600; }
/* Member Access prompts inherit the dark look. */
.mma-prompt { background: var(--mmt-panel); border-color: var(--mmt-hair) !important; }
.mma-prompt .button { min-height: 40px; }

/* ---------- Block patterns (Figma Homepage and "Sell and Buy Art") ---------- */
.mmt-band { padding-block: clamp(2rem, 5vw, 3.5rem); }
.mmt-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.mmt-band-head { margin-bottom: 1.75rem; gap: 1rem; }
.mmt-band-head h2 { margin: 0 0 .6rem; }
.mmt-drop { padding-block: clamp(3rem, 8vw, 6rem); }
.mmt-drop-title { margin: 0 0 1rem; font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 400; }
.mmt-drop-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mmt-drop-products ul.products li.product { background: rgba(18,18,22,.75); padding: .9rem .9rem 1rem; border-radius: var(--mmt-r-m); }
.mmt-drop-products ul.products li.product a img { border-radius: var(--mmt-r-s); }
.mmt-drop-products ul.products li.product .woocommerce-loop-product__title, .mmt-drop-products ul.products li.product .mmt-byline, .mmt-drop-products ul.products li.product .price { margin-inline: 0; }
.mmt-drop-products ul.products li.product .mmt-byline a { color: var(--mmt-accent); }
.mmt-artist-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .mmt-artist-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mmt-artist-card-tile { display: flex; flex-direction: column; overflow: hidden; padding: .7rem; background: rgba(18,18,22,.8); border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); color: var(--mmt-text); text-decoration: none; transition: transform .18s, border-color .18s; }
.mmt-artist-card-tile:hover { transform: translateY(-3px); border-color: rgba(212,175,54,.35); color: var(--mmt-text); }
.mmt-artist-card-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mmt-r-s); }
.mmt-artist-card-body { display: grid; gap: .35rem; padding: .9rem .2rem .3rem; }
.mmt-artist-card-body strong { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 500; }
.mmt-artist-card-body > span { color: var(--mmt-muted); font-size: .75rem; line-height: 1.5; }
.mmt-verified-dot.is-small { width: 16px; height: 16px; box-shadow: none; }
.mmt-verified-dot.is-small .mmt-icon { width: 10px; height: 10px; }
.mmt-tiles { gap: 1.25rem; }
.mmt-tile { border-radius: var(--mmt-r-s); overflow: hidden; }
.mmt-tile h3 { margin: 0; font-size: 1.5rem; }
.mmt-tile h3 a { color: #fff; text-decoration: none; }
.mmt-violet-banner { padding: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem); border-radius: var(--mmt-r-m); background: var(--mmt-violet) radial-gradient(70% 140% at 15% 50%, rgba(255,255,255,.08), transparent 60%); }
.mmt-violet-title { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; line-height: 1.15; max-width: 12ch; }
.mmt-chains { display: grid; grid-template-columns: 180px 1fr; align-items: center; row-gap: 0; }
.mmt-chains > * { display: flex; align-items: center; align-self: stretch; margin: 0; padding-block: 1.4rem; border-bottom: 1px solid var(--mmt-hair); }
.mmt-chains > *:nth-last-child(-n+2) { border-bottom: 0; }
.mmt-chains-label { color: var(--mmt-muted); font-family: var(--mmt-display); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.mmt-chains-list { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 2rem; list-style: none; padding-left: 0; font-family: var(--mmt-display); font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; }
@media (max-width: 640px) { .mmt-chains { grid-template-columns: 1fr; } .mmt-chains > * { border-bottom: 0; padding-block: .6rem; } .mmt-chains-list { justify-content: flex-start; } }
.mmt-steps { gap: 1rem; }
.mmt-step { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; overflow: hidden; border: 1px solid var(--mmt-hair); border-radius: var(--mmt-r-m); background: radial-gradient(90% 70% at 70% 110%, rgba(212,175,54,.38) 0%, rgba(212,175,54,0) 70%), #0d0d0f; }
.mmt-step h3 { margin: 0 0 1.25rem; font-size: 1rem; }
.mmt-step-link { margin: 0; }
.mmt-step-link a { color: var(--mmt-accent); font-size: .75rem; text-decoration: none; }
.mmt-page-intro-block { padding-block: clamp(3rem, 7vw, 5rem) 1rem; }
.mmt-page-intro-block h1 { margin-bottom: 1rem; }
.mmt-feature-box { gap: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: rgba(18,18,22,.85); border-radius: var(--mmt-r-s); }
.mmt-feature-box h3 { margin: 0 0 .9rem; padding-bottom: .9rem; font-family: var(--mmt-body); font-size: .9375rem; font-weight: 500; border-bottom: 1px solid var(--mmt-hair); }
.mmt-promo { padding: clamp(2rem, 6vw, 4rem); border-radius: var(--mmt-r-s); background: linear-gradient(120deg, rgba(31,10,140,.6) 0%, rgba(122,22,145,.65) 100%), #0d0d10; }
.mmt-promo h2 { margin-top: 0; }
.mmt-testimonial p.has-large-font-size { font-family: var(--mmt-display); line-height: 1.6; }

/* ---------- Artist recruitment (launch homepage, Become a Featured Artist page) ---------- */
.mmt-artist-hero { padding-block: clamp(4rem, 10vw, 130px) clamp(2.5rem, 6vw, 80px); text-align: center; }
.mmt-artist-hero .mmt-eyebrow { letter-spacing: .14em; text-transform: uppercase; }
.mmt-artist-hero-title { max-width: 16ch; margin: .25rem auto 0; font-size: var(--wp--preset--font-size--xx-large); font-weight: 400; line-height: 1.15; }
.mmt-artist-hero-text { max-width: 720px; margin: 30px auto 0; color: var(--mmt-muted); font-size: 1.0625rem; line-height: 1.7; }
.mmt-artist-hero .wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 36px; gap: 14px; }
.wp-block-button.mmt-btn-ghost .wp-block-button__link { background: transparent; color: var(--mmt-text); border: 1px solid rgba(255, 255, 255, .2); }
.wp-block-button.mmt-btn-ghost .wp-block-button__link:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); color: var(--mmt-text); }
.mmt-benefits, .mmt-howto { gap: 20px; }
.mmt-benefit, .mmt-howto-step { padding: 28px 26px; background: var(--mmt-panel); border: 1px solid var(--mmt-hair); -webkit-backdrop-filter: blur(12.5px); backdrop-filter: blur(12.5px); }
.mmt-benefit h3, .mmt-howto-step h3 { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.mmt-benefit p, .mmt-howto-step p { margin: 0; color: var(--mmt-muted); font-size: .9375rem; line-height: 1.6; }
.mmt-howto-step .mmt-howto-num { margin: 0 0 18px; color: var(--mmt-accent); font-family: var(--mmt-display); font-size: 1rem; font-weight: 500; letter-spacing: .1em; }
.mmt-howto-cta { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 960px) { .mmt-benefits, .mmt-howto { flex-wrap: wrap !important; } .mmt-benefit, .mmt-howto-step { flex-basis: calc(50% - 10px) !important; } }
@media (max-width: 600px) { .mmt-benefit, .mmt-howto-step { flex-basis: 100% !important; } }

/* Legal links under the footer (added by MintersMarket Coming Soon). */
.mmcs-foot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0 16px 20px; list-style: none; font-size: 13px; }
.mmcs-foot-legal a { color: #b4b4bb; text-decoration: none; }
.mmcs-foot-legal a:hover, .mmcs-foot-legal a[aria-current] { color: #edd483; }
