:root {
	--mimuse-container: 1280px;

	--mimuse-space-xs: 8px;
	--mimuse-space-sm: 16px;
	--mimuse-space-md: 24px;
	--mimuse-space-lg: 40px;
	--mimuse-space-xl: 64px;

	--mimuse-radius-sm: 6px;
	--mimuse-radius-md: 12px;
	--mimuse-radius-lg: 20px;

	--mimuse-text: #171717;
	--mimuse-muted: #6b7280;
	--mimuse-border: #e5e7eb;
	--mimuse-background: #ffffff;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--mimuse-text);
	background: var(--mimuse-background);
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
	line-height: 1.6;
}

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

a {
	color: inherit;
}

.site-main {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);
	min-height: 60vh;
	margin-inline: auto;
	padding-block: var(--mimuse-space-xl);
}

/* --------------------------------------------------
   MiMusE Header System
-------------------------------------------------- */

.mimuse-header {
	position: relative;
	z-index: 100;
	background: var(--mimuse-background);
	border-bottom: 1px solid var(--mimuse-border);
}

.mimuse-header__inner {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);
	min-height: 76px;
	margin-inline: auto;

	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 40px;
}

.mimuse-header__site-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.mimuse-header__brand .custom-logo-link {
	display: block;
}

.mimuse-header__brand .custom-logo {
	width: auto;
	max-height: 52px;
}

.mimuse-header__nav {
	justify-self: center;
}

.mimuse-header__menu {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mimuse-header__menu a {
	display: block;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.mimuse-header__menu a:hover,
.mimuse-header__menu .current-menu-item > a {
	opacity: .65;
}

.mimuse-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mimuse-header__search {
	width: 220px;
	height: 42px;

	display: flex;
	align-items: center;

	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-md);

	overflow: hidden;
	background: #fff;
}

.mimuse-header__search input {
	width: 100%;
	min-width: 0;
	height: 100%;

	padding: 0 0 0 14px;

	border: 0;
	outline: 0;
	background: transparent;

	font: inherit;
}

.mimuse-header__search button {
	width: 42px;
	height: 42px;

	display: grid;
	place-items: center;

	flex: 0 0 auto;

	border: 0;
	background: transparent;
	cursor: pointer;
}

.mimuse-header__commerce {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mimuse-header__toggle {
	display: none;

	width: 42px;
	height: 42px;

	padding: 9px;

	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-md);

	background: #fff;
	cursor: pointer;
}

.mimuse-header__toggle span {
	display: block;
	height: 2px;
	margin: 4px 0;

	background: currentColor;
	border-radius: 999px;
}

.mimuse-mobile-nav {
	background: #fff;
	border-top: 1px solid var(--mimuse-border);
}

.mimuse-mobile-nav__menu {
	margin: 0;
	padding: 16px 20px 24px;
	list-style: none;
}

.mimuse-mobile-nav__menu li + li {
	border-top: 1px solid var(--mimuse-border);
}

.mimuse-mobile-nav__menu a {
	display: block;
	padding: 14px 0;
	text-decoration: none;
	font-weight: 500;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
	margin-top: var(--mimuse-space-xl);
	border-top: 1px solid var(--mimuse-border);
}

.site-footer__inner {
	width: min(
		calc(100% - 40px),
		var(--mimuse-container)
	);
	margin-inline: auto;
	padding-block: var(--mimuse-space-lg);
	color: var(--mimuse-muted);
}

/* --------------------------------------------------
   Accessibility
-------------------------------------------------- */

.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;
}

/* --------------------------------------------------
   Commerce Header
-------------------------------------------------- */

.mimuse-commerce-action {
	position: relative;

	width: 42px;
	height: 42px;

	display: grid;
	place-items: center;

	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-md);

	text-decoration: none;
	background: #fff;
}

.mimuse-commerce-action svg {
	width: 19px;
	height: 19px;
}

.mimuse-commerce-action:hover {
	background: #f7f7f7;
}

.mimuse-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;

	min-width: 18px;
	height: 18px;
	padding-inline: 5px;

	display: grid;
	place-items: center;

	border-radius: 999px;

	background: var(--mimuse-text);
	color: #fff;

	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* --------------------------------------------------
   MiMusE Product Card v1
-------------------------------------------------- */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
}

/*
 * WooCommerce legacy clearfix uses ::before / ::after on ul.products.
 * Once ul.products becomes CSS Grid, those pseudo-elements can become
 * anonymous grid items and consume the first/last grid cell.
 *
 * Disable the legacy clearfix pseudo-elements for MiMusE's grid.
 */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

.woocommerce ul.products li.product {
	width: auto;
	margin: 0;
	float: none;
	list-style: none;
}

.mimuse-product-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-lg);
	background: #fff;
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}

.mimuse-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.mimuse-product-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--mimuse-radius-md);
	background: #f7f7f7;
}

.mimuse-product-card .woocommerce-loop-product__title {
	margin: 14px 0 6px;
	padding: 0;
	font-size: 16px;
	line-height: 1.4;
}

.mimuse-product-card .price {
	margin-bottom: 14px;
	font-size: 16px;
	font-weight: 700;
}

.mimuse-product-card .button {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--mimuse-text);
	border-radius: var(--mimuse-radius-md);
	background: var(--mimuse-text);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.mimuse-product-card .button:hover {
	opacity: .88;
}

/* --------------------------------------------------
   MiMusE Product Action Layer
-------------------------------------------------- */

.mimuse-product-card__actions {
	position: absolute;
	top: 24px;
	right: 24px;

	display: flex;
	flex-direction: column;
	gap: 8px;

	z-index: 5;
}

.mimuse-product-action {
	width: 38px;
	height: 38px;

	display: grid;
	place-items: center;

	border: 1px solid var(--mimuse-border);
	border-radius: 999px;

	background: rgba(255,255,255,.96);
	color: var(--mimuse-text);

	text-decoration: none;
	cursor: pointer;

	box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.mimuse-product-action:hover {
	transform: translateY(-1px);
	background: #fff;
}

.mimuse-product-action svg {
	width: 18px;
	height: 18px;
}

/* --------------------------------------------------
   YITH Wishlist Adapter
-------------------------------------------------- */

.mimuse-yith-wishlist {
	width: 38px;
	height: 38px;
}

.mimuse-yith-wishlist .yith-wcwl-add-to-wishlist {
	margin: 0;
	width: 38px;
	height: 38px;
}

.mimuse-yith-wishlist a {
	width: 38px;
	height: 38px;

	display: grid;
	place-items: center;

	padding: 0 !important;
	margin: 0 !important;

	border: 1px solid var(--mimuse-border);
	border-radius: 999px;

	background: rgba(255,255,255,.96);
	color: var(--mimuse-text);

	text-decoration: none;
	font-size: 0;

	box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.mimuse-yith-wishlist a::before {
	content: "♡";
	font-size: 21px;
	line-height: 1;
}

.mimuse-yith-wishlist
.yith-wcwl-add-to-wishlist-button--added::before {
	content: "♥";
}

.mimuse-yith-wishlist .feedback,
.mimuse-yith-wishlist .yith-wcwl-icon,
.mimuse-yith-wishlist .yith-wcwl-add-to-wishlist-button__label {
	display: none !important;
}

/* --------------------------------------------------
   MiMusE Header Wishlist
-------------------------------------------------- */

.mimuse-header-wishlist {
	position: relative;
}

.mimuse-header-wishlist svg {
	width: 19px;
	height: 19px;
}

.mimuse-wishlist-count {
	position: absolute;
	top: -6px;
	right: -6px;

	min-width: 18px;
	height: 18px;
	padding-inline: 5px;

	display: grid;
	place-items: center;

	border-radius: 999px;

	background: var(--mimuse-text);
	color: #fff;

	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* --------------------------------------------------
   MiMusE Compare Adapter
-------------------------------------------------- */

.mimuse-yith-compare {
	width: 38px;
	height: 38px;
}

.mimuse-compare-action {
	width: 38px;
	height: 38px;
}

.mimuse-compare-action.is-added {
	background: var(--mimuse-text);
	color: #fff;
}

/* --------------------------------------------------
   MiMusE Header Compare
-------------------------------------------------- */

.mimuse-header-compare {
	position: relative;
	padding: 0;
	cursor: pointer;
}

.mimuse-header-compare svg {
	width: 19px;
	height: 19px;
}

.mimuse-compare-count {
	position: absolute;
	top: -6px;
	right: -6px;

	min-width: 18px;
	height: 18px;
	padding-inline: 5px;

	display: grid;
	place-items: center;

	border-radius: 999px;

	background: var(--mimuse-text);
	color: #fff;

	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* --------------------------------------------------
   MiMusE Homepage v1
-------------------------------------------------- */

.mimuse-home {
	padding-top: 32px;
}

.mimuse-home-eyebrow {
	margin: 0 0 10px;
	color: var(--mimuse-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mimuse-home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
	gap: 32px;
	align-items: stretch;
}

.mimuse-home-hero__content,
.mimuse-home-hero__visual {
	min-height: 470px;
	border-radius: 28px;
}

.mimuse-home-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(36px, 6vw, 76px);
	background: #f5f5f5;
}

.mimuse-home-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1.03;
	letter-spacing: -.045em;
}

.mimuse-home-hero__lead {
	max-width: 660px;
	margin: 24px 0 0;
	color: var(--mimuse-muted);
	font-size: 17px;
	line-height: 1.75;
}

.mimuse-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.mimuse-home-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
	border: 1px solid var(--mimuse-text);
	border-radius: var(--mimuse-radius-md);
	background: #fff;
	color: var(--mimuse-text);
	font-weight: 700;
	text-decoration: none;
	transition:
		transform .2s ease,
		opacity .2s ease;
}

.mimuse-home-button:hover {
	transform: translateY(-1px);
}

.mimuse-home-button--primary {
	background: var(--mimuse-text);
	color: #fff;
}

.mimuse-home-hero__visual {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 28px;
	background:
		linear-gradient(
			145deg,
			#1b1b1b 0%,
			#303030 56%,
			#171717 100%
		);
}

.mimuse-home-hero__visual::before,
.mimuse-home-hero__visual::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	background: rgba(255,255,255,.07);
}

.mimuse-home-hero__visual::before {
	width: 310px;
	height: 310px;
	top: -90px;
	right: -90px;
}

.mimuse-home-hero__visual::after {
	width: 220px;
	height: 220px;
	left: -90px;
	bottom: 80px;
}

.mimuse-home-hero__visual-card {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 24px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--mimuse-radius-lg);
	background: rgba(255,255,255,.08);
	color: #fff;
	backdrop-filter: blur(8px);
}

.mimuse-home-hero__visual-label {
	display: block;
	margin-bottom: 12px;
	color: rgba(255,255,255,.68);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
}

.mimuse-home-hero__visual-card strong {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 19px;
	line-height: 1.5;
}

.mimuse-home-hero__visual-card strong span {
	color: rgba(255,255,255,.45);
}

.mimuse-home-hero__visual-card p {
	margin: 14px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 14px;
}

.mimuse-home-section {
	margin-top: 88px;
}

.mimuse-home-section__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.mimuse-home-section__heading h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
	letter-spacing: -.025em;
}

.mimuse-home-section__link {
	flex: 0 0 auto;
	color: var(--mimuse-muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.mimuse-home-section__link:hover {
	color: var(--mimuse-text);
}

.mimuse-home-categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mimuse-home-category {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	min-height: 124px;
	padding: 16px;
	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-lg);
	background: #fff;
	text-decoration: none;
	transition:
		transform .2s ease,
		box-shadow .2s ease;
}

.mimuse-home-category:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0,0,0,.05);
}

.mimuse-home-category__image {
	width: 92px;
	height: 92px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: var(--mimuse-radius-md);
	background: #f5f5f5;
	color: var(--mimuse-muted);
	font-size: 28px;
	font-weight: 700;
}

.mimuse-home-category__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mimuse-home-category__content strong {
	display: block;
	font-size: 17px;
	line-height: 1.4;
}

.mimuse-home-category__content span {
	display: block;
	margin-top: 5px;
	color: var(--mimuse-muted);
	font-size: 13px;
}

.mimuse-home-products .woocommerce ul.products {
	margin-top: 0;
}

.mimuse-home-order-flow {
	padding: clamp(28px, 4vw, 48px);
	border-radius: 28px;
	background: #f5f5f5;
}

.mimuse-home-order-flow .mimuse-home-section__heading {
	margin-bottom: 30px;
}

.mimuse-home-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mimuse-home-step {
	display: flex;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-lg);
	background: #fff;
}

.mimuse-home-step > span {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--mimuse-text);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.mimuse-home-step strong {
	display: block;
	font-size: 16px;
}

.mimuse-home-step p {
	margin: 5px 0 0;
	color: var(--mimuse-muted);
	font-size: 13px;
	line-height: 1.6;
}

.mimuse-home-order-flow__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--mimuse-border);
}

.mimuse-home-order-flow__cta strong {
	display: block;
	font-size: 18px;
}

.mimuse-home-order-flow__cta p {
	margin: 4px 0 0;
	color: var(--mimuse-muted);
	font-size: 14px;
}

/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 1024px) {

	.mimuse-header__inner {
		gap: 20px;
	}

	.mimuse-header__search {
		width: 180px;
	}

	.mimuse-header__menu {
		gap: 20px;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mimuse-home-hero {
		grid-template-columns: 1fr;
	}

	.mimuse-home-hero__content,
	.mimuse-home-hero__visual {
		min-height: auto;
	}

	.mimuse-home-hero__visual {
		min-height: 330px;
	}

	.mimuse-home-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 768px) {

	.mimuse-header__inner {
		min-height: 64px;
		grid-template-columns: 1fr auto;
	}

	.mimuse-header__nav {
		display: none;
	}

	.mimuse-header__search {
		display: none;
	}

	.mimuse-header__toggle {
		display: block;
	}

	.mimuse-header__site-title {
		font-size: 20px;
	}

	.site-main {
		padding-block: var(--mimuse-space-lg);
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	/*
	 * WooCommerce can re-apply percentage widths to li.product in its own
	 * responsive stylesheet. Inside MiMusE's CSS Grid each card must fill
	 * the grid cell instead of keeping a legacy 48% width.
	 */
	.woocommerce ul.products li.product {
		width: 100% !important;
		max-width: none !important;
	}

	.mimuse-product-card {
		padding: 12px;
	}

	.mimuse-product-card__actions {
		top: 18px;
		right: 18px;
	}

	.mimuse-home {
		padding-top: 20px;
	}

	.mimuse-home-hero__content {
		padding: 30px 24px;
		border-radius: 22px;
	}

	.mimuse-home-hero h1 {
		font-size: clamp(36px, 11vw, 54px);
	}

	.mimuse-home-hero__lead {
		margin-top: 18px;
		font-size: 15px;
	}

	.mimuse-home-hero__visual {
		min-height: 270px;
		border-radius: 22px;
		padding: 18px;
	}

	.mimuse-home-section {
		margin-top: 60px;
	}

	.mimuse-home-section__heading {
		align-items: flex-start;
	}

	.mimuse-home-categories {
		grid-template-columns: 1fr;
	}

	.mimuse-home-steps {
		grid-template-columns: 1fr;
	}

	.mimuse-home-order-flow {
		padding: 24px 18px;
		border-radius: 22px;
	}

	.mimuse-home-order-flow__cta {
		align-items: stretch;
		flex-direction: column;
	}

	.mimuse-home-order-flow__cta .mimuse-home-button {
		width: 100%;
	}

}

/* --------------------------------------------------
   Small Mobile
-------------------------------------------------- */

@media (max-width: 480px) {

	/*
	 * Keep two useful browse columns on standard phones (e.g. 375–430px).
	 * Collapse to one column only on very narrow screens below 360px.
	 */
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mimuse-home-section__heading {
		display: block;
	}

	.mimuse-home-section__link {
		display: inline-block;
		margin-top: 12px;
	}

	.mimuse-home-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mimuse-home-button {
		width: 100%;
	}

}

/* --------------------------------------------------
   Very Small Mobile
-------------------------------------------------- */

@media (max-width: 359px) {

	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

}


/* --------------------------------------------------
   MiMusE 0.21.0 — Shop Archive Completion Pass 01
   Scope: visual/layout only. No Woo/YITH business logic changes.
-------------------------------------------------- */

/*
 * WooCommerce may load percentage-width rules after the Theme.
 * Inside MiMusE's CSS Grid every product must fill its grid cell.
 */
.post-type-archive-product .woocommerce ul.products,
.tax-product_cat .woocommerce ul.products,
.tax-product_tag .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px !important;
	clear: both;
	width: 100%;
}

.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	float: none !important;
	justify-self: stretch !important;
	box-sizing: border-box;
}

.post-type-archive-product .mimuse-product-card,
.tax-product_cat .mimuse-product-card,
.tax-product_tag .mimuse-product-card {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/*
 * Product photography should fit inside the image area without cropping.
 * This also keeps future client product images safe when aspect ratios vary.
 */
.post-type-archive-product .mimuse-product-card img,
.tax-product_cat .mimuse-product-card img,
.tax-product_tag .mimuse-product-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
}

/* Prevent long product names from forcing narrow/intrinsic cards. */
.post-type-archive-product .mimuse-product-card .woocommerce-loop-product__title,
.tax-product_cat .mimuse-product-card .woocommerce-loop-product__title,
.tax-product_tag .mimuse-product-card .woocommerce-loop-product__title {
	width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Make the primary Woo action visually consistent and stop "Add to cart" wrapping. */
.post-type-archive-product .mimuse-product-card .button,
.tax-product_cat .mimuse-product-card .button,
.tax-product_tag .mimuse-product-card .button {
	width: 100%;
	box-sizing: border-box;
	white-space: nowrap;
	text-align: center;
}

/* Results + sorting toolbar. */
.post-type-archive-product .woocommerce .woocommerce-result-count,
.tax-product_cat .woocommerce .woocommerce-result-count,
.tax-product_tag .woocommerce .woocommerce-result-count {
	margin: 0 0 24px;
	line-height: 44px;
	color: var(--mimuse-muted);
}

.post-type-archive-product .woocommerce .woocommerce-ordering,
.tax-product_cat .woocommerce .woocommerce-ordering,
.tax-product_tag .woocommerce .woocommerce-ordering {
	margin: 0 0 24px;
}

.post-type-archive-product .woocommerce .woocommerce-ordering select,
.tax-product_cat .woocommerce .woocommerce-ordering select,
.tax-product_tag .woocommerce .woocommerce-ordering select {
	min-width: 210px;
	min-height: 44px;
	padding: 0 38px 0 14px;
	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-md);
	background: #fff;
	color: var(--mimuse-text);
	font: inherit;
}

/* Product action icons: same hover behavior as the Elementor product cards. */
@media (hover: hover) and (pointer: fine) {

	.post-type-archive-product .mimuse-product-card__actions,
	.tax-product_cat .mimuse-product-card__actions,
	.tax-product_tag .mimuse-product-card__actions {
		opacity: 0;
		visibility: hidden;
		transform: translateY(7px);
		transition:
			opacity .18s ease,
			transform .18s ease,
			visibility 0s linear .18s;
	}

	.post-type-archive-product .mimuse-product-card:hover .mimuse-product-card__actions,
	.post-type-archive-product .mimuse-product-card:focus-within .mimuse-product-card__actions,
	.tax-product_cat .mimuse-product-card:hover .mimuse-product-card__actions,
	.tax-product_cat .mimuse-product-card:focus-within .mimuse-product-card__actions,
	.tax-product_tag .mimuse-product-card:hover .mimuse-product-card__actions,
	.tax-product_tag .mimuse-product-card:focus-within .mimuse-product-card__actions {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}

}

/* Touch devices must not depend on hover. */
@media (hover: none), (pointer: coarse) {

	.post-type-archive-product .mimuse-product-card__actions,
	.tax-product_cat .mimuse-product-card__actions,
	.tax-product_tag .mimuse-product-card__actions {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

}

/* YITH Wishlist wrapper normalization + optical heart alignment. */
.post-type-archive-product .mimuse-yith-wishlist,
.post-type-archive-product .mimuse-yith-wishlist .yith-wcwl-add-to-wishlist,
.post-type-archive-product .mimuse-yith-wishlist .yith-add-to-wishlist-button-block,
.tax-product_cat .mimuse-yith-wishlist,
.tax-product_cat .mimuse-yith-wishlist .yith-wcwl-add-to-wishlist,
.tax-product_cat .mimuse-yith-wishlist .yith-add-to-wishlist-button-block,
.tax-product_tag .mimuse-yith-wishlist,
.tax-product_tag .mimuse-yith-wishlist .yith-wcwl-add-to-wishlist,
.tax-product_tag .mimuse-yith-wishlist .yith-add-to-wishlist-button-block {
	display: grid !important;
	place-items: center !important;
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
}

.post-type-archive-product .mimuse-yith-wishlist a::before,
.tax-product_cat .mimuse-yith-wishlist a::before,
.tax-product_tag .mimuse-yith-wishlist a::before {
	display: block;
	line-height: 1 !important;
	transform: translateY(-1px);
}

/* Pagination polish. */
.woocommerce nav.woocommerce-pagination {
	margin-top: 42px;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 8px;
	padding: 0;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--mimuse-border);
	border-radius: var(--mimuse-radius-md);
	background: #fff;
	color: var(--mimuse-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--mimuse-action);
	background: var(--mimuse-action);
	color: #fff;
}

/* Responsive Shop grid. */
@media (max-width: 1180px) {

	.post-type-archive-product .woocommerce ul.products,
	.tax-product_cat .woocommerce ul.products,
	.tax-product_tag .woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

}

@media (max-width: 768px) {

	.post-type-archive-product .woocommerce ul.products,
	.tax-product_cat .woocommerce ul.products,
	.tax-product_tag .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}

	.post-type-archive-product .woocommerce .woocommerce-result-count,
	.tax-product_cat .woocommerce .woocommerce-result-count,
	.tax-product_tag .woocommerce .woocommerce-result-count,
	.post-type-archive-product .woocommerce .woocommerce-ordering,
	.tax-product_cat .woocommerce .woocommerce-ordering,
	.tax-product_tag .woocommerce .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	.post-type-archive-product .woocommerce .woocommerce-result-count,
	.tax-product_cat .woocommerce .woocommerce-result-count,
	.tax-product_tag .woocommerce .woocommerce-result-count {
		margin-bottom: 10px;
		line-height: 1.5;
	}

	.post-type-archive-product .woocommerce .woocommerce-ordering select,
	.tax-product_cat .woocommerce .woocommerce-ordering select,
	.tax-product_tag .woocommerce .woocommerce-ordering select {
		width: 100%;
		min-width: 0;
	}

}

@media (max-width: 359px) {

	.post-type-archive-product .woocommerce ul.products,
	.tax-product_cat .woocommerce ul.products,
	.tax-product_tag .woocommerce ul.products {
		grid-template-columns: 1fr !important;
	}

}

@media (prefers-reduced-motion: reduce) {

	.post-type-archive-product .mimuse-product-card__actions,
	.tax-product_cat .mimuse-product-card__actions,
	.tax-product_tag .mimuse-product-card__actions {
		transition: none !important;
	}

}


/* --------------------------------------------------
   MiMusE 0.21.1 — Shop Grid Hard Fix
   The live Shop uses the WooCommerce Shop body class path.
   Force the actual li.product card to stretch across each grid track.
-------------------------------------------------- */

body.woocommerce-shop .woocommerce ul.products,
body.woocommerce-shop ul.products,
body.tax-product_cat .woocommerce ul.products,
body.tax-product_tag .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	align-items: stretch !important;
	justify-items: stretch !important;
	column-gap: 24px !important;
	row-gap: 24px !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-shop .woocommerce ul.products.columns-4 li.product,
body.woocommerce-shop .woocommerce ul.products li.product,
body.woocommerce-shop ul.products.columns-4 li.product,
body.woocommerce-shop ul.products li.product,
body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_tag .woocommerce ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	align-self: stretch !important;
	justify-self: stretch !important;
	place-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 16px !important;
	float: none !important;
	clear: none !important;
	flex: none !important;
	flex-basis: auto !important;
	box-sizing: border-box !important;
}

body.woocommerce-shop .woocommerce ul.products li.product.mimuse-product-card,
body.woocommerce-shop ul.products li.product.mimuse-product-card,
body.tax-product_cat .woocommerce ul.products li.product.mimuse-product-card,
body.tax-product_tag .woocommerce ul.products li.product.mimuse-product-card {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

/* Product media area should consume the card width, not inherit an old thumbnail width. */
body.woocommerce-shop ul.products li.product .woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product .woocommerce-LoopProduct-link,
body.tax-product_tag ul.products li.product .woocommerce-LoopProduct-link {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
}

body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain !important;
	object-position: center;
	margin: 0 !important;
}

/* Keep title/price/action areas full width. */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .price,
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .price,
body.tax-product_cat ul.products li.product .button,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .price,
body.tax-product_tag ul.products li.product .button {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Let product names wrap naturally but not character-by-character. */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
	overflow-wrap: break-word !important;
	word-break: normal !important;
	hyphens: auto;
}

/* Responsive hard-fix mirrors Shop layout targets. */
@media (max-width: 1180px) {
	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products,
	body.tax-product_cat .woocommerce ul.products,
	body.tax-product_tag .woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products,
	body.tax-product_cat .woocommerce ul.products,
	body.tax-product_tag .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}

	body.woocommerce-shop .woocommerce ul.products li.product,
	body.woocommerce-shop ul.products li.product,
	body.tax-product_cat .woocommerce ul.products li.product,
	body.tax-product_tag .woocommerce ul.products li.product {
		padding: 12px !important;
	}
}

@media (max-width: 359px) {
	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products,
	body.tax-product_cat .woocommerce ul.products,
	body.tax-product_tag .woocommerce ul.products {
		grid-template-columns: 1fr !important;
	}
}


/* --------------------------------------------------
   MiMusE 0.21.2 — Shop Visual Polish
   Scope: appearance only. Typography family intentionally deferred.
-------------------------------------------------- */

/* Shop heading rhythm. */
body.woocommerce-shop .site-main {
	padding-top: 34px;
}

body.woocommerce-shop .woocommerce-breadcrumb {
	margin-bottom: 22px;
	color: var(--mimuse-muted);
}

body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-shop .page-title {
	margin: 0 0 30px;
}

/* Results / sorting row. */
body.woocommerce-shop .woocommerce-result-count {
	margin: 0 0 28px !important;
	line-height: 44px !important;
	color: var(--mimuse-muted);
}

body.woocommerce-shop .woocommerce-ordering {
	margin: 0 0 28px !important;
}

body.woocommerce-shop .woocommerce-ordering select {
	min-width: 220px !important;
	height: 44px !important;
	padding: 0 40px 0 14px !important;
	border: 1px solid var(--mimuse-border) !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--mimuse-text) !important;
	font: inherit !important;
	cursor: pointer;
}

/* Product card finish. */
body.woocommerce-shop ul.products li.product.mimuse-product-card {
	padding: 16px !important;
	border: 1px solid var(--mimuse-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	overflow: hidden;
	transition:
		transform .18s ease,
		box-shadow .18s ease,
		border-color .18s ease;
}

body.woocommerce-shop ul.products li.product.mimuse-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

/* Image block. */
body.woocommerce-shop ul.products li.product.mimuse-product-card img {
	border-radius: 4px !important;
	background: #f6f8f8 !important;
}

/* Keep content spacing stable even before real product images are mapped. */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
	margin: 12px 0 6px !important;
	padding: 0 !important;
	min-height: 44px;
	font-size: 16px !important;
	line-height: 1.4 !important;
	font-weight: 600 !important;
	color: var(--mimuse-text) !important;
}

body.woocommerce-shop ul.products li.product .price {
	margin: 0 0 16px !important;
	min-height: 24px;
	font-size: 14px !important;
	line-height: 1.5 !important;
}

/* Main add-to-cart action: use the Theme accent instead of Woo's gray default. */
body.woocommerce-shop ul.products li.product .button.add_to_cart_button,
body.woocommerce-shop ul.products li.product .button.product_type_simple,
body.woocommerce-shop ul.products li.product .button.product_type_variable {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 44px !important;
	margin-top: auto !important;
	padding: 0 16px !important;
	border: 1px solid var(--mimuse-action) !important;
	border-radius: 8px !important;
	background: var(--mimuse-action) !important;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	transition:
		opacity .18s ease,
		transform .18s ease;
}

body.woocommerce-shop ul.products li.product .button.add_to_cart_button:hover,
body.woocommerce-shop ul.products li.product .button.product_type_simple:hover,
body.woocommerce-shop ul.products li.product .button.product_type_variable:hover {
	opacity: .9;
	transform: translateY(-1px);
}

body.woocommerce-shop ul.products li.product .button.mimuse-added-feedback {
	opacity: .92;
}

/* Product action bubbles remain discreet until card hover on desktop. */
@media (hover: hover) and (pointer: fine) {

	body.woocommerce-shop .mimuse-product-card__actions {
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition:
			opacity .18s ease,
			transform .18s ease,
			visibility 0s linear .18s;
	}

	body.woocommerce-shop .mimuse-product-card:hover .mimuse-product-card__actions,
	body.woocommerce-shop .mimuse-product-card:focus-within .mimuse-product-card__actions {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}

}

/* Pagination. */
body.woocommerce-shop nav.woocommerce-pagination {
	margin-top: 44px;
	margin-bottom: 18px;
}

body.woocommerce-shop nav.woocommerce-pagination ul {
	display: inline-flex !important;
	gap: 8px;
	border: 0 !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li {
	border: 0 !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li a,
body.woocommerce-shop nav.woocommerce-pagination ul li span {
	display: grid !important;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px !important;
	border: 1px solid var(--mimuse-border) !important;
	border-radius: 8px;
	background: #fff;
	color: var(--mimuse-text);
}

body.woocommerce-shop nav.woocommerce-pagination ul li span.current {
	border-color: var(--mimuse-action) !important;
	background: var(--mimuse-action) !important;
	color: var(--mimuse-action-text) !important;
}

body.woocommerce-shop nav.woocommerce-pagination ul li a:hover {
	border-color: var(--mimuse-action-hover) !important;
	background: var(--mimuse-action-hover) !important;
	color: var(--mimuse-action-text) !important;
}

/* Mobile toolbar behavior. */
@media (max-width: 768px) {

	body.woocommerce-shop .woocommerce-result-count,
	body.woocommerce-shop .woocommerce-ordering {
		float: none !important;
		width: 100% !important;
	}

	body.woocommerce-shop .woocommerce-result-count {
		margin-bottom: 10px !important;
		line-height: 1.5 !important;
	}

	body.woocommerce-shop .woocommerce-ordering select {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
		min-height: auto;
	}

}

@media (prefers-reduced-motion: reduce) {

	body.woocommerce-shop ul.products li.product.mimuse-product-card,
	body.woocommerce-shop .mimuse-product-card__actions,
	body.woocommerce-shop ul.products li.product .button {
		transition: none !important;
	}

}


/* --------------------------------------------------
   MiMusE 0.21.3 — Shop CTA Visibility Fix
   Restore the WooCommerce product CTA after Shop polish.
-------------------------------------------------- */

body.woocommerce-shop ul.products li.product.mimuse-product-card {
	overflow: visible !important;
}

body.woocommerce-shop ul.products li.product a.button,
body.woocommerce-shop ul.products li.product .button,
body.woocommerce-shop ul.products li.product a.add_to_cart_button,
body.woocommerce-shop ul.products li.product a.product_type_simple,
body.woocommerce-shop ul.products li.product a.product_type_variable {
	position: static !important;
	inset: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 44px !important;
	height: 44px !important;
	margin: auto 0 0 !important;
	padding: 0 16px !important;
	border: 1px solid var(--mimuse-action) !important;
	border-radius: 8px !important;
	background: var(--mimuse-action) !important;
	color: #fff !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	z-index: 2;
}

body.woocommerce-shop ul.products li.product a.button:hover,
body.woocommerce-shop ul.products li.product .button:hover {
	background: var(--mimuse-action-hover) !important;
	border-color: var(--mimuse-action-hover) !important;
	opacity: 1 !important;
}

/* Keep Woo's "View cart" helper from looking like a second primary CTA. */
body.woocommerce-shop ul.products li.product a.added_to_cart.wc-forward {
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--mimuse-text) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

/* Card action bubbles are intentionally hidden until hover on desktop;
   keep them visible on touch devices. */
@media (hover: none), (pointer: coarse) {
	body.woocommerce-shop .mimuse-product-card__actions {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
}


/* --------------------------------------------------
   MiMusE 0.21.5 — Shop Responsive / Mobile Completion
   Desktop rules above remain unchanged.
-------------------------------------------------- */

/* Tablet / small laptop */
@media (max-width: 1180px) {

	body.woocommerce-shop .site-main {
		padding-inline: 20px;
	}

	body.woocommerce-shop ul.products li.product.mimuse-product-card {
		padding: 14px !important;
	}

}

/* Tablet portrait / mobile */
@media (max-width: 768px) {

	body.woocommerce-shop .site-main {
		padding-top: 24px;
		padding-inline: 16px;
	}

	body.woocommerce-shop .woocommerce-breadcrumb {
		margin-bottom: 16px;
		font-size: 13px;
	}

	body.woocommerce-shop .woocommerce-products-header__title,
	body.woocommerce-shop .page-title {
		margin-bottom: 22px;
		font-size: 30px;
		line-height: 1.15;
	}

	/* Wishlist / Compare utility area */
	body.woocommerce-shop .mimuse-shop-tools,
	body.woocommerce-shop .mimuse-shop-actions,
	body.woocommerce-shop .mimuse-archive-tools {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	/* Result count + sorting become a clean vertical toolbar. */
	body.woocommerce-shop .woocommerce-result-count,
	body.woocommerce-shop .woocommerce-ordering {
		float: none !important;
		width: 100% !important;
	}

	body.woocommerce-shop .woocommerce-result-count {
		margin: 0 0 10px !important;
		line-height: 1.5 !important;
	}

	body.woocommerce-shop .woocommerce-ordering {
		margin: 0 0 22px !important;
	}

	body.woocommerce-shop .woocommerce-ordering select {
		width: 100% !important;
		min-width: 0 !important;
		height: 44px !important;
	}

	/* Two-column mobile catalog. */
	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 12px !important;
		row-gap: 16px !important;
	}

	body.woocommerce-shop .woocommerce ul.products li.product,
	body.woocommerce-shop ul.products li.product,
	body.woocommerce-shop ul.products li.product.mimuse-product-card {
		padding: 10px !important;
		border-radius: 8px !important;
	}

	body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
		margin: 10px 0 5px !important;
		min-height: 40px;
		font-size: 14px !important;
		line-height: 1.35 !important;
	}

	body.woocommerce-shop ul.products li.product .price {
		margin-bottom: 12px !important;
		min-height: 22px;
		font-size: 13px !important;
		line-height: 1.4 !important;
	}

	body.woocommerce-shop ul.products li.product a.button,
	body.woocommerce-shop ul.products li.product .button,
	body.woocommerce-shop ul.products li.product a.add_to_cart_button,
	body.woocommerce-shop ul.products li.product a.product_type_simple,
	body.woocommerce-shop ul.products li.product a.product_type_variable {
		height: 42px !important;
		min-height: 42px !important;
		padding-inline: 10px !important;
		font-size: 13px !important;
		border-radius: 7px !important;
	}

	/* Touch devices cannot depend on hover.
	   Keep product actions available, but compact so they do not cover the image. */
	body.woocommerce-shop .mimuse-product-card__actions {
		top: 10px !important;
		right: 10px !important;
		flex-direction: row !important;
		gap: 6px !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}

	body.woocommerce-shop .mimuse-product-action,
	body.woocommerce-shop .mimuse-yith-wishlist,
	body.woocommerce-shop .mimuse-yith-wishlist .yith-wcwl-add-to-wishlist,
	body.woocommerce-shop .mimuse-yith-wishlist .yith-add-to-wishlist-button-block,
	body.woocommerce-shop .mimuse-yith-compare,
	body.woocommerce-shop .mimuse-compare-action {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
	}

	body.woocommerce-shop .mimuse-yith-wishlist a {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
	}

	body.woocommerce-shop .mimuse-product-action svg {
		width: 16px;
		height: 16px;
	}

	body.woocommerce-shop .mimuse-yith-wishlist a::before {
		font-size: 18px;
		transform: translateY(-1px);
	}

	/* Pagination remains usable when there are many pages. */
	body.woocommerce-shop nav.woocommerce-pagination {
		margin-top: 30px;
	}

	body.woocommerce-shop nav.woocommerce-pagination ul {
		display: flex !important;
		justify-content: center;
		flex-wrap: wrap;
		gap: 6px;
	}

	body.woocommerce-shop nav.woocommerce-pagination ul li a,
	body.woocommerce-shop nav.woocommerce-pagination ul li span {
		min-width: 38px;
		height: 38px;
		padding-inline: 10px !important;
	}

}

/* Narrow phones: keep two useful columns without crowding. */
@media (max-width: 480px) {

	body.woocommerce-shop .site-main {
		padding-inline: 12px;
	}

	body.woocommerce-shop .woocommerce-products-header__title,
	body.woocommerce-shop .page-title {
		font-size: 27px;
	}

	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products {
		column-gap: 10px !important;
		row-gap: 14px !important;
	}

	body.woocommerce-shop .woocommerce ul.products li.product,
	body.woocommerce-shop ul.products li.product,
	body.woocommerce-shop ul.products li.product.mimuse-product-card {
		padding: 9px !important;
	}

	body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
		font-size: 13px !important;
	}

	body.woocommerce-shop ul.products li.product .price {
		font-size: 12px !important;
	}

	body.woocommerce-shop ul.products li.product a.button,
	body.woocommerce-shop ul.products li.product .button,
	body.woocommerce-shop ul.products li.product a.add_to_cart_button,
	body.woocommerce-shop ul.products li.product a.product_type_simple,
	body.woocommerce-shop ul.products li.product a.product_type_variable {
		height: 40px !important;
		min-height: 40px !important;
		font-size: 12px !important;
	}

}

/* Very narrow legacy phones: switch to one column rather than crush cards. */
@media (max-width: 359px) {

	body.woocommerce-shop .woocommerce ul.products,
	body.woocommerce-shop ul.products {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title {
		font-size: 15px !important;
	}

	body.woocommerce-shop ul.products li.product .price {
		font-size: 13px !important;
	}

	body.woocommerce-shop ul.products li.product a.button,
	body.woocommerce-shop ul.products li.product .button {
		font-size: 13px !important;
	}

}

/* Final package generic WordPress shell */
.mimuse-content-main,.mimuse-woocommerce-main{width:min(calc(100% - 40px),var(--mimuse-container));margin-inline:auto;padding:36px 0 64px;}
@media(max-width:768px){.mimuse-content-main,.mimuse-woocommerce-main{width:min(calc(100% - 24px),var(--mimuse-container));padding:24px 0 44px;}}
