/* ==========================================================================
   Madd Cozy — storefront styles
   Black & white with a teal accent (from the logo).
   ========================================================================== */

:root {
	--mc-ink: #0f0f0f;
	--mc-ink-soft: #3d3d3d;
	--mc-muted: #6f6f6f;
	--mc-line: #e4e4e2;
	--mc-surface: #f4f4f2;      /* product photo background */
	--mc-bg: #ffffff;
	--mc-teal: #1b91a3;
	--mc-teal-dark: #146f7d;
	--mc-sale: #b4232a;

	--mc-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mc-font-display: "Fraunces", Georgia, serif;   /* hero tagline only */
	--mc-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--mc-radius: 4px;
	--mc-gutter: 16px;
	--mc-max: 1440px;
	--mc-header-h: 64px;
}

@media (min-width: 1024px) {
	:root {
		--mc-gutter: 40px;
		--mc-header-h: 76px;
	}
}

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

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

body {
	margin: 0;
	background: var(--mc-bg);
	color: var(--mc-ink);
	font: 400 15px/1.55 var(--mc-font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--mc-teal-dark); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-family: var(--mc-font-head);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--mc-teal);
	outline-offset: 2px;
}

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

.mc-skip:focus {
	clip: auto; width: auto; height: auto;
	z-index: 100; top: 8px; left: 8px;
	padding: 10px 16px;
	background: var(--mc-ink); color: #fff;
}

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

.mc-main { padding-block: 24px 64px; }
.mc-home { padding-top: 0; }

/* Buttons & links
   ----------------------------------------------------------------------- */
.mc-btn,
.button,
button.button,
input[type="submit"],
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--mc-ink);
	border-radius: var(--mc-radius);
	background: var(--mc-ink);
	color: #fff;
	font: 700 13px/1 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s, color .15s;
}

.mc-btn:hover,
.button:hover,
input[type="submit"]:hover,
.wc-block-components-button:not(.is-link):hover {
	background: #fff;
	color: var(--mc-ink);
}

.mc-btn .mc-icon { width: 18px; height: 18px; }
.mc-btn--lg { min-height: 54px; padding: 0 34px; }

.button:disabled,
.button.disabled {
	opacity: .45;
	cursor: not-allowed;
}

.mc-link {
	font-weight: 600;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mc-eyebrow {
	margin-bottom: 12px;
	color: var(--mc-teal-dark);
	font: 700 12px/1 var(--mc-font-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* Forms
   ----------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #cfcfcc;
	border-radius: var(--mc-radius);
	background: #fff;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mc-ink);
	outline: none;
}

label { font-weight: 500; font-size: 14px; }

/* Announcement + header
   ----------------------------------------------------------------------- */
.mc-announcement {
	padding: 9px var(--mc-gutter);
	background: var(--mc-ink);
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.mc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--mc-line);
	backdrop-filter: saturate(1.4) blur(8px);
}

.admin-bar .mc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mc-header { top: 0; } }

.mc-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--mc-header-h);
}

.mc-logo img { width: auto; height: 40px; }
.mc-header__logo { justify-self: center; }

.mc-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.mc-icon { width: 22px; height: 22px; }

.mc-header__actions {
	display: flex;
	justify-content: flex-end;
	gap: 2px;
}

.mc-header__account { display: none; }

.mc-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--mc-ink);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
}
.mc-cart-count[data-count="0"] { display: none; }

/* Inline nav is desktop-only; phones/tablets use the drawer (see "Mobile menu"). */
.mc-nav { display: none; }

.mc-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mc-nav .mc-nav__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--mc-line);
	font: 700 16px/1 var(--mc-font-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}

@media (min-width: 1024px) {
	.mc-header__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
	.mc-header__menu-toggle { display: none; }
	.mc-header__logo { justify-self: start; }
	.mc-logo img { height: 48px; }
	.mc-header__account { display: inline-grid; }

	.mc-nav { display: block; }
	.mc-nav .mc-nav__list { display: flex; justify-content: center; gap: 36px; }
	.mc-nav .mc-nav__list a {
		padding: 8px 0;
		border: 0;
		font-size: 13px;
		letter-spacing: .1em;
	}
	.mc-nav .mc-nav__list a:hover { color: var(--mc-ink); box-shadow: inset 0 -2px 0 var(--mc-ink); }
}

.mc-search {
	border-top: 1px solid var(--mc-line);
	padding-block: 14px;
	background: #fff;
}
.mc-search__form { display: flex; gap: 8px; }

/* Footer
   ----------------------------------------------------------------------- */
.mc-footer {
	margin-top: 40px;
	padding-top: 56px;
	background: var(--mc-ink);
	color: #d9d9d9;
}

.mc-footer__inner {
	display: grid;
	gap: 40px;
	padding-bottom: 48px;
}

@media (min-width: 768px) {
	.mc-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

.mc-footer__logo img {
	height: 52px;
	filter: invert(1);   /* black logo → white on the dark footer */
}
.mc-footer__brand p { margin-top: 16px; max-width: 32ch; color: #a3a3a3; }

.mc-footer h2 {
	color: #fff;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.mc-footer .mc-nav__list a { display: block; padding: 6px 0; color: #d9d9d9; }
.mc-footer .mc-nav__list a:hover { color: #fff; }

.mc-footer__legal {
	padding-block: 20px;
	border-top: 1px solid #2a2a2a;
	color: #8a8a8a;
	font-size: 13px;
}

/* Homepage
   ----------------------------------------------------------------------- */
.mc-hero { background: var(--mc-surface); }

.mc-hero__inner {
	display: grid;
	align-items: center;
	gap: 8px;
	padding-block: 40px 0;
}

.mc-hero__heading {
	max-width: 18ch;
	font-family: var(--mc-font-display);
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.015em;
}

.mc-hero__lede {
	max-width: 42ch;
	margin-bottom: 28px;
	color: var(--mc-ink-soft);
	font-size: 17px;
}

.mc-hero__media img {
	width: 100%;
	mix-blend-mode: multiply;   /* blends white photo backgrounds into the panel */
}

@media (min-width: 1024px) {
	.mc-hero__inner { grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 24px; }
	.mc-hero__text { padding-left: 4%; }
}

.mc-section { padding-block: 56px 0; }

.mc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.mc-section__title {
	margin-bottom: 24px;
	font-size: clamp(22px, 3vw, 32px);
	text-transform: uppercase;
}

.mc-categories {
	display: grid;
	gap: 12px;
}
@media (min-width: 768px) {
	.mc-categories { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.mc-category {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--mc-surface);
	aspect-ratio: 4 / 3;
}
.mc-category img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .4s ease;
}
.mc-category:hover img { transform: scale(1.03); }

.mc-category__label {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: #fff;
	font: 800 15px/1 var(--mc-font-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.mc-category__label .mc-icon { width: 18px; height: 18px; }
.mc-category:hover .mc-category__label { background: var(--mc-ink); color: #fff; }

/* Product grid — 2 across on phones, 3 on tablets, 4 on desktop
   ----------------------------------------------------------------------- */
ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
}

@media (min-width: 768px) {
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
}
@media (min-width: 1024px) {
	ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; }
}

.mc-card { display: flex; flex-direction: column; min-width: 0; }

.mc-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	background: var(--mc-surface);
}

.mc-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform .4s ease, opacity .2s;
}
.mc-card__media:hover .mc-card__img { transform: scale(1.04); }

.mc-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 8px;
	background: var(--mc-sale);
	color: #fff;
	font: 700 11px/1 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mc-card__body { padding-top: 10px; }

.mc-card__title {
	margin: 4px 0 2px;
	font: 600 14px/1.35 var(--mc-font-body);
	letter-spacing: 0;
}
@media (min-width: 1024px) { .mc-card__title { font-size: 15px; } }

.mc-card__price {
	font-weight: 600;
	font-size: 15px;
}

/* Swatches
   ----------------------------------------------------------------------- */
.mc-option {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.mc-swatch {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--swatch, #ddd);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}

/* Card swatches: one row, scrolls sideways instead of wrapping */
.mc-card__swatches {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin-bottom: 4px;
	padding: 3px;
	overflow-x: auto;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.mc-card__swatches::-webkit-scrollbar { display: none; }

.mc-card__swatches .mc-option {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	padding: 2px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px transparent;
}
.mc-card__swatches .mc-option[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--mc-ink); }

@media (min-width: 1024px) {
	.mc-card__swatches .mc-option { width: 26px; height: 26px; }
}

/* Stars
   ----------------------------------------------------------------------- */
.mc-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--mc-muted);
}

.mc-stars::before {
	content: "★★★★★";
	letter-spacing: 1px;
	font-size: 13px;
	background: linear-gradient(90deg, var(--mc-ink) calc(var(--rating) / 5 * 100%), #d0d0cc 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* WooCommerce's own rating markup (reviews, product page) */
.star-rating {
	position: relative;
	display: inline-block;
	overflow: hidden;
	width: 5.6em;
	height: 1.2em;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 1px;
}
.star-rating::before { content: "★★★★★"; color: #d0d0cc; position: absolute; inset: 0; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.4em; }
.star-rating span::before { content: "★★★★★"; color: var(--mc-ink); position: absolute; top: 0; left: 0; }

p.stars a {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	overflow: hidden;
	font-size: 0;           /* hides WooCommerce's "1 of 5 stars" text */
	color: var(--mc-ink);
}
p.stars a::before {
	content: "☆";
	position: absolute;
	inset: 0;
	font-size: 24px;
	line-height: 30px;
	text-align: center;
}
p.stars:hover a::before,
p.stars.selected a::before { content: "★"; }
p.stars a:hover ~ a::before,
p.stars.selected a.active ~ a::before { content: "☆"; }

/* Shop archive
   ----------------------------------------------------------------------- */
.woocommerce-breadcrumb {
	margin-bottom: 16px;
	color: var(--mc-muted);
	font-size: 13px;
}
.mc-breadcrumb__sep { margin: 0 8px; color: #b8b8b4; }

.woocommerce-products-header__title,
.product_title {
	text-transform: uppercase;
}
.woocommerce-products-header__title { font-size: clamp(28px, 4vw, 44px); }

.woocommerce-result-count {
	float: left;
	margin: 6px 0 20px;
	color: var(--mc-muted);
	font-size: 13px;
}

.woocommerce-ordering { float: right; margin-bottom: 20px; }
.woocommerce-ordering select { width: auto; min-height: 38px; padding: 6px 32px 6px 12px; font-size: 13px; }

.woocommerce-pagination { margin-top: 48px; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--mc-line);
}
.woocommerce-pagination .current { background: var(--mc-ink); color: #fff; border-color: var(--mc-ink); }

/* Product page
   ----------------------------------------------------------------------- */
.single-product div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 1024px) {
	.single-product div.product {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		column-gap: 56px;
	}
	.single-product div.product > .summary {
		position: sticky;
		top: calc(var(--mc-header-h) + 24px);
		align-self: start;
	}
}

.single-product .onsale {
	position: absolute;
	z-index: 2;
	top: 12px;
	left: 12px;
	padding: 6px 10px;
	background: var(--mc-sale);
	color: #fff;
	font: 700 11px/1 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Gallery: one large photo (swipe on phones) + thumbnails below */
.mc-gallery { position: relative; margin-inline: calc(var(--mc-gutter) * -1); min-width: 0; }

.mc-gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.mc-gallery__track::-webkit-scrollbar { display: none; }

.mc-gallery__slide {
	flex: 0 0 100%;
	margin: 0;
	aspect-ratio: 1;
	background: var(--mc-surface);
	scroll-snap-align: start;
}
.mc-gallery__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.mc-gallery__thumbs {
	display: flex;
	gap: 8px;
	padding: 10px var(--mc-gutter) 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.mc-gallery__thumbs::-webkit-scrollbar { display: none; }
.mc-gallery__thumbs:has(> :only-child) { display: none; }

.mc-gallery__thumb {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-surface);
	cursor: pointer;
}
.mc-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mc-gallery__thumb:hover { border-color: #9a9a96; }
.mc-gallery__thumb[aria-current="true"] { border-color: var(--mc-ink); box-shadow: inset 0 0 0 1px var(--mc-ink); }

@media (min-width: 1024px) {
	.mc-gallery { margin-inline: 0; }
	.mc-gallery__track { overflow-x: hidden; }   /* thumbnails drive it on desktop */
	.mc-gallery__thumbs { padding-inline: 0; }
	.mc-gallery__thumb { width: 84px; height: 84px; }
}

/* Summary */
.product_title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }

.summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--mc-muted);
}
.summary .woocommerce-review-link { text-decoration: underline; }

.summary > .price {
	margin-bottom: 20px;
	font-size: 22px;
	font-weight: 600;
}
.price del { color: var(--mc-muted); font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--mc-sale); }

.woocommerce-product-details__short-description { color: var(--mc-ink-soft); }

/* Variation options rendered as buttons */
table.variations,
table.variations tbody,
table.variations tr,
table.variations th,
table.variations td { display: block; padding: 0; text-align: left; }

table.variations { width: 100%; margin-bottom: 8px; border-collapse: collapse; }
table.variations tr { margin-bottom: 20px; }

table.variations th.label {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.mc-selected-value { color: var(--mc-muted); font-weight: 500; text-transform: none; letter-spacing: 0; }

.mc-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.mc-options { display: flex; flex-wrap: wrap; gap: 8px; }

.mc-options--color .mc-option {
	width: 38px;
	height: 38px;
	padding: 3px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px transparent;
}
.mc-options--color .mc-option[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--mc-ink); }

.mc-options--text .mc-option {
	min-width: 56px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #cfcfcc;
	border-radius: var(--mc-radius);
	background: #fff;
	font-size: 14px;
	font-weight: 500;
}
.mc-options--text .mc-option:hover { border-color: var(--mc-ink); }
.mc-options--text .mc-option[aria-pressed="true"] {
	border-color: var(--mc-ink);
	background: var(--mc-ink);
	color: #fff;
}

/* Combination that doesn't exist with the current selection */
.mc-option.is-unavailable { opacity: .35; }
.mc-options--text .mc-option.is-unavailable { text-decoration: line-through; }

.reset_variations { display: none !important; }

/* The variation price/availability is shown in the main price instead */
.woocommerce-variation-price,
.woocommerce-variation-description:empty { display: none; }
.woocommerce-variation-availability .stock { font-size: 13px; color: var(--mc-muted); }

form.cart {
	margin: 0 0 24px;
}

.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
	display: flex;
	gap: 10px;
}

.quantity .qty {
	width: 72px;
	height: 54px;
	min-height: 54px;
	text-align: center;
}

.single_add_to_cart_button { flex: 1; min-height: 54px; }

/* Tabs / description / reviews */
.woocommerce-tabs { margin-top: 48px; border-top: 1px solid var(--mc-line); }
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 28px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--mc-line);
}
.woocommerce-tabs ul.tabs a {
	display: block;
	padding: 16px 0;
	font: 700 13px/1 var(--mc-font-head);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mc-muted);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--mc-ink); box-shadow: inset 0 -2px 0 var(--mc-ink); }
.woocommerce-Tabs-panel { max-width: 760px; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }

#reviews .commentlist { margin: 0; padding: 0; list-style: none; }
#reviews .comment_container { padding: 16px 0; border-bottom: 1px solid var(--mc-line); }
#reviews .avatar { display: none; }
#reviews .meta { font-size: 13px; color: var(--mc-muted); }

.related > h2,
.upsells > h2 {
	margin: 56px 0 24px;
	font-size: clamp(22px, 3vw, 30px);
	text-transform: uppercase;
}

/* Notices
   ----------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 3px solid var(--mc-teal);
	background: var(--mc-surface);
	list-style: none;
	font-size: 14px;
}
.woocommerce-error { border-color: var(--mc-sale); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button,
.woocommerce-info .button { order: 2; min-height: 38px; padding: 0 16px; }

/* Pages (cart, checkout, account, info pages)
   ----------------------------------------------------------------------- */
.mc-page__title {
	font-size: clamp(28px, 4vw, 44px);
	text-transform: uppercase;
	margin-bottom: 28px;
}

.mc-prose { max-width: 820px; }

.woocommerce-MyAccount-navigation ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.woocommerce-MyAccount-navigation li.is-active a { box-shadow: inset 0 -2px 0 var(--mc-ink); }

.woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; }

.wc-block-components-button:not(.is-link) { width: auto; }
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button { width: 100%; }

/* Product page: colors as photo thumbnails
   ----------------------------------------------------------------------- */
.mc-options--image .mc-option {
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-surface);
}
.mc-options--image .mc-option img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.mc-options--image .mc-option:hover { border-color: #9a9a96; }
.mc-options--image .mc-option[aria-pressed="true"] {
	border-color: var(--mc-ink);
	box-shadow: inset 0 0 0 1px var(--mc-ink);
}

@media (min-width: 1024px) {
	.mc-options--image .mc-option { width: 72px; height: 72px; }
}

/* Also on Amazon */
.mc-amazon {
	margin: -8px 0 24px;
	text-align: center;
}
.mc-amazon__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	border: 1px solid var(--mc-ink);
	border-radius: var(--mc-radius);
	font: 700 13px/1 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.mc-amazon__link:hover { background: var(--mc-surface); color: var(--mc-ink); }
.mc-amazon__disclosure { margin: 6px 0 0; color: var(--mc-muted); font-size: 11px; }

/* Footer social */
.mc-social { display: flex; gap: 4px; margin: 16px 0 0 -10px; padding: 0; list-style: none; }
.mc-social a { color: #d9d9d9; }
.mc-social a:hover { color: #fff; }

/* Contact form */
.mc-contact { max-width: 560px; margin-top: 24px; }
.mc-contact label { display: block; margin-bottom: 6px; }
.mc-contact__trap { position: absolute; left: -9999px; }

/* Reviews page */
/* Readable line length for text pages; cart, checkout and account use the full width. */
.mc-page__content { max-width: 760px; }
.woocommerce-cart .mc-page__content,
.woocommerce-checkout .mc-page__content,
.woocommerce-account .mc-page__content { max-width: none; }
.mc-page__content h2 { margin-top: 1.6em; font-size: 20px; }
.mc-page__content :is(p, li) > a { text-decoration: underline; text-underline-offset: 3px; }

.mc-reviews__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 0;
	border-bottom: 1px solid var(--mc-line);
}
.mc-reviews__average { font: 800 40px/1 var(--mc-font-head); }
.mc-reviews__summary .mc-stars::before { font-size: 20px; }
.mc-reviews__count { color: var(--mc-muted); }

.mc-reviews__list { margin: 0; padding: 0; list-style: none; }
.mc-review { padding: 20px 0; border-bottom: 1px solid var(--mc-line); }
.mc-review__text { margin-top: 8px; }
.mc-review__text p:last-child { margin-bottom: 4px; }
.mc-review__meta { margin: 0; color: var(--mc-muted); font-size: 13px; }
.mc-review__meta strong { color: var(--mc-ink); }
.mc-review__verified { color: var(--mc-teal-dark); font-weight: 600; }
.mc-reviews__empty { padding: 24px; background: var(--mc-surface); }

/* Size guide
   ----------------------------------------------------------------------- */
.mc-size-guide-link {
	margin: -8px 0 20px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.mc-dialog {
	width: min(640px, calc(100% - 32px));
	max-height: calc(100% - 48px);
	padding: 24px;
	border: 0;
	border-radius: 8px;
	color: var(--mc-ink);
}
.mc-dialog::backdrop { background: rgba(0, 0, 0, .5); }

.mc-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.mc-dialog__head h2 { margin: 0; font-size: 20px; text-transform: uppercase; }

.mc-dialog__close {
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.mc-size-table-wrap { overflow-x: auto; }
.mc-size-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	text-align: center;
}
.mc-size-table th,
.mc-size-table td { padding: 10px 8px; border-bottom: 1px solid var(--mc-line); }
.mc-size-table thead th {
	background: var(--mc-ink);
	color: #fff;
	font: 700 12px/1 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.mc-size-table tbody th { font-weight: 700; }
.mc-size-table tbody tr:nth-child(even) { background: var(--mc-surface); }

.mc-size-note { margin: 12px 0 16px; color: var(--mc-muted); font-size: 13px; }
.mc-size-image { width: 100%; border-radius: 4px; }

/* Delivery info (product page)
   ----------------------------------------------------------------------- */
.mc-delivery {
	display: flex;
	gap: 12px;
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	font-size: 14px;
}
.mc-delivery__icon { flex: 0 0 auto; margin-top: 1px; }
.mc-delivery p { margin: 0; }
.mc-delivery__label { font-weight: 700; color: var(--mc-teal-dark); }
.mc-delivery__note { margin-top: 2px !important; color: var(--mc-muted); font-size: 12px; }

.mc-card__delivery {
	margin: 2px 0 0;
	color: var(--mc-muted);
	font-size: 12px;
	line-height: 1.4;
}
.mc-card__delivery strong { color: var(--mc-teal-dark); font-weight: 600; }

/* 321 Leads form notices (contact page) */
.leads-form-success,
.leads-form-errors {
	max-width: 560px;
	margin: 24px 0 0;
	padding: 14px 18px;
	border-left: 3px solid var(--mc-teal);
	background: var(--mc-surface);
	font-size: 14px;
}
.leads-form-errors { border-color: var(--mc-sale); }
.leads-form-success p:last-child,
.leads-form-errors p:last-child { margin-bottom: 0; }
.mc-optional { color: var(--mc-muted); font-weight: 400; }

/* Cart: items full width on top, totals underneath on the right
   (WooCommerce's default puts them side by side). Checkout is unaffected.
   ----------------------------------------------------------------------- */
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
	flex-direction: column;
	flex-wrap: nowrap;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main {
	width: 100%;
	padding: 0;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	position: static;
	width: 100%;
	max-width: 440px;
	margin: 32px 0 0 auto;
	padding: 24px 0 0;
	border-top: 1px solid var(--mc-line);
}

@media (max-width: 599px) {
	.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar { max-width: none; }
}
.wp-block-woocommerce-cart .wc-block-components-main { order: 0; }
.wp-block-woocommerce-cart .wc-block-components-sidebar { order: 1; }

/* Same stacked layout for the loading placeholder, so the page doesn't jump. */
.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-filled-cart-block { flex-direction: column; }
.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-cart-items-block { width: 100%; padding: 0; }
.wp-block-woocommerce-cart.is-loading .wp-block-woocommerce-cart-totals-block {
	width: 100%;
	max-width: 440px;
	margin: 32px 0 0 auto;
	padding: 0;
}

.wp-block-woocommerce-cart .wc-block-cart__submit-container,
.wp-block-woocommerce-cart .wc-block-cart__submit-button { width: 100%; }

/* Footer always sits at the bottom of the window, even on short pages:
   the page is at least one screen tall and the main area takes the slack.
   ----------------------------------------------------------------------- */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
.mc-main { flex: 1 0 auto; width: 100%; }
.mc-footer { flex-shrink: 0; }

a.mc-announcement:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.mc-announcement,
a.mc-announcement {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.mc-announcement .mc-icon { width: 18px; height: 18px; flex: 0 0 auto; }
a.mc-announcement:hover { text-decoration: none; }
a.mc-announcement:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Footer bottom row: copyright · legal links · credit */
.mc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}
.mc-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mc-footer__legal a { color: #a3a3a3; }
.mc-footer__legal a:hover { color: #fff; }
.mc-footer__credit { margin-left: auto; }

@media (max-width: 599px) {
	.mc-footer__legal { flex-direction: column; align-items: flex-start; }
	.mc-footer__credit { margin-left: 0; }
}

/* Mobile menu: off-canvas drawer (phones & tablets)
   ----------------------------------------------------------------------- */
html.mc-no-scroll { overflow: hidden; }

.mc-drawer {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(15, 15, 15, 0);   /* dims to .55 when open */
	transition: background-color .28s ease;
}
.mc-drawer[open] { display: flex; }
.mc-drawer::backdrop { background: transparent; }
.mc-drawer.is-open { background: rgba(15, 15, 15, .55); }

.mc-drawer__panel {
	display: flex;
	flex-direction: column;
	width: min(88vw, 400px);
	height: 100%;
	background: #fff;
	color: var(--mc-ink);
	box-shadow: 8px 0 40px rgba(0, 0, 0, .18);
	transform: translateX(-100%);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.mc-drawer.is-open .mc-drawer__panel { transform: none; }

.mc-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--mc-line);
}
.mc-drawer__logo img { height: 36px; width: auto; }
.mc-drawer__close .mc-icon { width: 26px; height: 26px; }

.mc-drawer__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px 20px 28px;
}

/* Big shop links with photos */
.mc-drawer__primary { margin: 0; padding: 0; list-style: none; }
.mc-drawer__primary a {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--mc-line);
}
.mc-drawer__primary a:hover,
.mc-drawer__primary a[aria-current="page"] { color: var(--mc-teal-dark); }
.mc-drawer__primary .mc-icon { width: 20px; height: 20px; color: #9a9a96; transition: transform .2s; }
.mc-drawer__primary a:hover > .mc-icon { transform: translateX(3px); color: var(--mc-ink); }

.mc-drawer__label {
	font: 800 22px/1 var(--mc-font-head);
	letter-spacing: .01em;
	text-transform: uppercase;
}

.mc-drawer__thumb {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 8px;
	background: var(--mc-surface);
}
.mc-drawer__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mc-drawer__thumb--icon .mc-icon { width: 24px; height: 24px; color: var(--mc-ink); }

/* Links slide in one after another */
.mc-drawer__primary li {
	opacity: 0;
	transform: translateX(-14px);
	transition: opacity .3s ease, transform .3s ease;
}
.mc-drawer.is-open .mc-drawer__primary li { opacity: 1; transform: none; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(1) { transition-delay: .08s; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(2) { transition-delay: .12s; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(3) { transition-delay: .16s; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(4) { transition-delay: .20s; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(5) { transition-delay: .24s; }
.mc-drawer.is-open .mc-drawer__primary li:nth-child(n+6) { transition-delay: .28s; }

/* Help links */
.mc-drawer__heading {
	margin: 28px 0 6px;
	color: var(--mc-muted);
	font: 700 11px/1 var(--mc-font-head);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.mc-drawer__secondary { margin: 0; padding: 0; list-style: none; }
.mc-drawer__secondary a {
	display: block;
	padding: 9px 0;
	color: var(--mc-ink-soft);
	font-size: 15px;
	font-weight: 500;
}

/* Account / cart */
.mc-drawer__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 24px;
}
.mc-drawer__action {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 50px;
	border: 1px solid var(--mc-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}
.mc-drawer__action:hover { border-color: var(--mc-ink); color: var(--mc-ink); }
.mc-drawer__action .mc-icon { width: 20px; height: 20px; }
.mc-drawer__action .mc-cart-count { position: static; }

/* Black footer strip: free shipping + socials */
.mc-drawer__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 12px calc(14px + env(safe-area-inset-bottom)) 20px;
	background: var(--mc-ink);
	color: #fff;
}
.mc-drawer__promo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font: 700 12px/1.3 var(--mc-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.mc-drawer__promo:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mc-drawer__promo .mc-icon { flex: 0 0 auto; width: 22px; height: 22px; }
.mc-drawer__social { display: flex; margin: 0; padding: 0; list-style: none; }
.mc-drawer__social a { color: #fff; }
.mc-drawer__social a:hover { color: var(--mc-teal); }

@media (min-width: 1024px) {
	.mc-drawer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.mc-drawer,
	.mc-drawer__panel,
	.mc-drawer__primary li { transition: none; }
}

/* Product card swatches: squares, kept within the card width; arrows when
   there are more colors than fit.
   ----------------------------------------------------------------------- */
.mc-card__swatch-wrap { position: relative; margin-bottom: 4px; }
.mc-card__swatch-wrap .mc-card__swatches { margin-bottom: 0; scroll-behavior: smooth; }

.mc-card__swatches .mc-option,
.mc-card__swatches .mc-option .mc-swatch { border-radius: 3px; }

.mc-card__swatch-arrow {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	display: none;
	align-items: center;
	width: 30px;
	padding: 0;
	border: 0;
	cursor: pointer;
}
.mc-card__swatch-arrow .mc-icon { width: 16px; height: 16px; }
.mc-card__swatch-arrow--next {
	right: 0;
	justify-content: flex-end;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 55%);
}
.mc-card__swatch-arrow--prev {
	left: 0;
	justify-content: flex-start;
	background: linear-gradient(270deg, rgba(255, 255, 255, 0), #fff 55%);
}
.mc-card__swatch-arrow--prev .mc-icon { transform: scaleX(-1); }
.mc-card__swatch-wrap.can-scroll-next .mc-card__swatch-arrow--next,
.mc-card__swatch-wrap.can-scroll-prev .mc-card__swatch-arrow--prev { display: flex; }
.mc-section--first { padding-top: 32px; }

/* Sold out (e.g. its shared blank is at 0): crossed out, still clickable. */
.mc-option.is-soldout { position: relative; opacity: .45; }
.mc-options--text .mc-option.is-soldout { text-decoration: line-through; }
.mc-options--image .mc-option.is-soldout::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top right, transparent calc(50% - 1px), var(--mc-ink) 50%, transparent calc(50% + 1px));
}

/* WooCommerce block grids use the same grid as the shop (cards come from
   content-product.php via inc/woocommerce.php). */
.wc-block-grid .wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 768px) {
	.wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
}
@media (min-width: 1024px) {
	.wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 20px; }
}
.mc-product-collection { margin-top: 48px; }

/* Empty cart */
.mc-btn { text-decoration: none !important; }
.wp-block-woocommerce-empty-cart-block { padding-top: 24px; }
.mc-empty-cart__title {
	margin-bottom: 8px;
	font-size: clamp(26px, 3.4vw, 36px);
	text-transform: uppercase;
}
.mc-empty-cart__text { color: var(--mc-muted); }
.mc-empty-cart__cta { margin: 24px 0 64px; }
.mc-empty-cart__heading { text-align: left; }

/* The drawer panel takes focus when the menu opens; no outline on the panel itself. */
.mc-drawer__panel:focus,
.mc-drawer__panel:focus-visible { outline: none; }
