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

.mm-icon {
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.mm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--wp--custom--radius--button, 8px);
	background: var(--wp--preset--color--primary-deep, #376b81);
	color: var(--wp--preset--color--white, #fff);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color var(--wp--custom--motion--micro, 150ms) var(--wp--custom--motion--easing, cubic-bezier(0.2, 0, 0, 1));
}

.mm-btn:hover {
	background: var(--wp--preset--color--primary-deep-hover, #2f5e72);
	color: var(--wp--preset--color--white, #fff);
}

.mm-btn[aria-disabled="true"] {
	cursor: progress;
}

.mm-btn--unavailable,
.mm-btn--unavailable:hover {
	background: var(--wp--preset--color--neutral-light, #dadee1);
	color: var(--wp--preset--color--text-main, #1e293b);
}

.mm-badge {
	padding: 4px 8px;
	border-radius: var(--wp--custom--radius--badge, 6px);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.mm-badge--best-seller { background: var(--wp--preset--color--bg-dark, #0d1b2a); color: var(--wp--preset--color--white, #fff); }
.mm-badge--new { background: var(--wp--preset--color--primary-deep, #376b81); color: var(--wp--preset--color--white, #fff); }
.mm-badge--popular { background: var(--wp--preset--color--surface-soft, #d6ebf3); color: var(--wp--preset--color--text-main, #1e293b); }
.mm-badge--sale { background: var(--wp--preset--color--sale, #b91c1c); color: var(--wp--preset--color--white, #fff); }

.mm-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 16px;
	color: var(--wp--preset--color--text-muted, #5d6d83);
	font-size: 12px;
}

.mm-stars {
	position: relative;
	display: inline-block;
	flex: none;
	line-height: 0;
}

.mm-stars__empty,
.mm-stars__fill {
	display: flex;
}

.mm-stars__empty {
	color: var(--wp--preset--color--neutral-light, #dadee1);
}

.mm-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--wp--preset--color--star, #a67c00);
}

.mm-stars .mm-icon {
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1;
}

.mm-stars--h0 .mm-stars__fill { width: 0; }
.mm-stars--h1 .mm-stars__fill { width: 10%; }
.mm-stars--h2 .mm-stars__fill { width: 20%; }
.mm-stars--h3 .mm-stars__fill { width: 30%; }
.mm-stars--h4 .mm-stars__fill { width: 40%; }
.mm-stars--h5 .mm-stars__fill { width: 50%; }
.mm-stars--h6 .mm-stars__fill { width: 60%; }
.mm-stars--h7 .mm-stars__fill { width: 70%; }
.mm-stars--h8 .mm-stars__fill { width: 80%; }
.mm-stars--h9 .mm-stars__fill { width: 90%; }
.mm-stars--h10 .mm-stars__fill { width: 100%; }

:where(.mm-btn, .mm-heart, .mm-cat, .mm-card a, .mm-wishlist a, .mm-wishlist button):focus-visible {
	outline: 2px solid transparent;
	outline-offset: 2px;
	box-shadow: var(--wp--custom--focus-ring, 0 0 0 1px #376b81, 0 0 0 4px #b9d8e1);
}

@media (prefers-reduced-motion: reduce) {
	.mm-btn {
		transition-duration: var(--wp--custom--motion--reduced, 100ms);
	}
}
