/*
Theme Name: marionsthrift.shop
Theme URI: https://marionsthrift.shop
Author: Codex
Description: Mobile-first boutique theme for marionsthrift.shop with a stylized chihuahua brand mark and matching storefront chrome.
Version: 0.1.2
Text Domain: marion-chihuahua-boutique
*/

:root {
	--mcb-ink: #241b14;
	--mcb-paper: #fff8ef;
	--mcb-paper-strong: #fffdf8;
	--mcb-line: rgba(88, 60, 38, 0.14);
	--mcb-muted: #6e6257;
	--mcb-accent: #bf5837;
	--mcb-accent-dark: #903d28;
	--mcb-moss: #325b4c;
	--mcb-gold: #dfb278;
	--mcb-shadow: 0 28px 60px rgba(61, 44, 30, 0.12);
	--mcb-shell: min(1180px, calc(100% - 28px));
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(244, 204, 171, 0.42), transparent 24%),
		radial-gradient(circle at top right, rgba(199, 221, 205, 0.34), transparent 18%),
		linear-gradient(180deg, #fffaf3 0%, #f8f0e6 100%);
	color: var(--mcb-ink);
	font-family: "Manrope", "Helvetica Neue", sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.mcb-shell {
	width: var(--mcb-shell);
	margin: 0 auto;
}

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

.mcb-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 18px 0;
	background: rgba(255, 248, 239, 0.82);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(88, 60, 38, 0.08);
}

.mcb-site-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.mcb-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.mcb-brand__mark {
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(223, 178, 120, 0.34), rgba(191, 88, 55, 0.14));
	box-shadow: var(--mcb-shadow);
}

.mcb-brand__wordmark {
	display: grid;
	gap: 3px;
}

.mcb-brand__name {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	font-weight: 700;
	line-height: 0.95;
}

.mcb-brand__tag {
	color: var(--mcb-muted);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mcb-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--mcb-line);
	border-radius: 999px;
	background: rgba(255, 253, 248, 0.92);
	cursor: pointer;
}

.mcb-nav-toggle span,
.mcb-nav-toggle span::before,
.mcb-nav-toggle span::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--mcb-ink);
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
	content: "";
}

.mcb-nav-toggle span::before {
	transform: translateY(-6px);
}

.mcb-nav-toggle span::after {
	transform: translateY(4px);
}

.mcb-site-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mcb-site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcb-site-nav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
}

.mcb-site-nav a:hover,
.mcb-site-nav a:focus {
	background: rgba(191, 88, 55, 0.12);
	color: var(--mcb-accent-dark);
}

.mcb-site-main {
	padding: 34px 0 56px;
}

.mcb-home-catalog {
	padding: 10px 0 26px;
}

.mcb-home-catalog__panel {
	padding: 28px;
	border-radius: 34px;
	border: 1px solid var(--mcb-line);
	background:
		radial-gradient(circle at top left, rgba(244, 204, 171, 0.38), transparent 34%),
		linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 239, 0.94));
	box-shadow: var(--mcb-shadow);
}

.mcb-home-catalog__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.mcb-home-catalog__header h1 {
	margin: 0 0 12px;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	line-height: 0.92;
}

.mcb-home-catalog__header p {
	max-width: 60ch;
	margin: 0;
	color: var(--mcb-muted);
}

.mcb-home-catalog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mcb-home-catalog__search {
	max-width: 720px;
	margin-bottom: 22px;
}

.mcb-home-catalog__grid .mts-grid-shortcode {
	margin: 0;
}

.mcb-hero--support {
	padding-top: 0;
}

.mcb-hero__panel--support {
	align-items: center;
}

.mcb-hero {
	padding: 20px 0 34px;
}

.mcb-hero__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 24px;
	padding: 28px;
	border-radius: 34px;
	border: 1px solid var(--mcb-line);
	background:
		radial-gradient(circle at top left, rgba(244, 204, 171, 0.46), transparent 36%),
		linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 239, 0.92));
	box-shadow: var(--mcb-shadow);
}

.mcb-kicker {
	margin: 0 0 10px;
	color: var(--mcb-accent-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mcb-hero h1,
.mcb-page-hero h1,
.mcb-post-card h1,
.mcb-post-card h2 {
	margin: 0 0 14px;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2.3rem, 5vw, 4.5rem);
	line-height: 0.9;
}

.mcb-hero p,
.mcb-page-hero p {
	max-width: 56ch;
	margin: 0;
	color: var(--mcb-muted);
	font-size: 1.04rem;
}

.mcb-home-support__title {
	margin: 0 0 14px;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 0.92;
}

.mcb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.mcb-button,
.mcb-button--ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 18px;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

.mcb-button {
	background: var(--mcb-accent);
	color: #fff;
}

.mcb-button:hover,
.mcb-button:focus {
	background: var(--mcb-accent-dark);
	color: #fff;
}

.mcb-button--ghost {
	border: 1px solid var(--mcb-line);
	background: rgba(255, 253, 248, 0.92);
}

.mcb-hero__crest {
	display: grid;
	align-content: stretch;
}

.mcb-crest-card {
	display: grid;
	gap: 18px;
	padding: 24px;
	border-radius: 28px;
	background: rgba(50, 91, 76, 0.93);
	color: #f7efe5;
	box-shadow: var(--mcb-shadow);
}

.mcb-crest-card__logo {
	width: 100%;
	max-width: 190px;
	padding: 14px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
}

.mcb-crest-card__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.mcb-crest-card__stats div {
	padding: 12px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
}

.mcb-crest-card__stats span {
	display: block;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.mcb-crest-card__stats strong {
	font-size: 1.1rem;
}

.mcb-page-hero {
	margin-bottom: 22px;
}

.mcb-page-card,
.mcb-post-card,
.mcb-listing-card {
	padding: 26px;
	border-radius: 30px;
	background: rgba(255, 253, 248, 0.92);
	border: 1px solid var(--mcb-line);
	box-shadow: var(--mcb-shadow);
}

.mcb-page-card > :first-child,
.mcb-post-card > :first-child {
	margin-top: 0;
}

.mcb-page-card > :last-child,
.mcb-post-card > :last-child {
	margin-bottom: 0;
}

.mcb-page-card p,
.mcb-post-card p,
.mcb-listing-card p {
	color: var(--mcb-muted);
}

.mcb-listing {
	display: grid;
	gap: 20px;
}

.mcb-listing-card h2 {
	margin-bottom: 10px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.mcb-listing-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--mcb-muted);
	font-size: 0.9rem;
}

.mcb-entry-content a,
.mcb-page-card a,
.mcb-post-card a {
	color: var(--mcb-accent-dark);
}

.mcb-entry-content a:hover,
.mcb-page-card a:hover,
.mcb-post-card a:hover {
	color: var(--mcb-accent);
}

.mcb-site-footer {
	padding: 18px 0 32px;
}

.mcb-site-footer__panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	border-radius: 24px;
	background: rgba(255, 253, 248, 0.88);
	border: 1px solid var(--mcb-line);
	box-shadow: var(--mcb-shadow);
}

.mcb-site-footer__panel p {
	margin: 0;
	color: var(--mcb-muted);
}

.mcb-footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mcb-footer-nav a {
	text-decoration: none;
	font-weight: 700;
}

.mcb-search-form {
	display: flex;
	gap: 10px;
}

.mcb-search-form input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--mcb-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
}

.mcb-search-form button {
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--mcb-accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.wp-block-image,
.alignwide,
.alignfull {
	margin: 1.4rem 0;
}

@media (max-width: 960px) {
	.mcb-hero__panel {
		grid-template-columns: 1fr;
	}

	.mcb-home-catalog__header {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 780px) {
	.mcb-nav-toggle {
		display: inline-flex;
	}

	.mcb-site-nav {
		position: fixed;
		inset: 86px 14px auto;
		display: none;
		padding: 16px;
		border-radius: 24px;
		background: rgba(255, 253, 248, 0.98);
		border: 1px solid var(--mcb-line);
		box-shadow: var(--mcb-shadow);
	}

	.mcb-site-nav.is-open {
		display: block;
	}

	.mcb-site-nav ul {
		flex-direction: column;
	}

	.mcb-site-nav a {
		justify-content: flex-start;
	}

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

@media (max-width: 640px) {
	:root {
		--mcb-shell: min(100% - 18px, 1180px);
	}

	.mcb-site-main {
		padding-top: 22px;
	}

	.mcb-site-header {
		padding: 14px 0;
	}

	.mcb-brand__mark {
		width: 48px;
		height: 48px;
	}

	.mcb-brand__tag {
		display: none;
	}

	.mcb-hero__panel,
	.mcb-home-catalog__panel,
	.mcb-page-card,
	.mcb-post-card,
	.mcb-listing-card {
		padding: 20px;
		border-radius: 24px;
	}

	.mcb-home-catalog__header,
	.mcb-hero__actions,
	.mcb-search-form,
	.mcb-site-footer__panel {
		flex-direction: column;
		align-items: stretch;
	}

	.mcb-button,
	.mcb-button--ghost,
	.mcb-search-form button {
		width: 100%;
	}

	.mcb-crest-card__stats {
		grid-template-columns: 1fr;
	}
}
