/*
Theme Name:   Magic Pens – Fluxmart Child
Description:  Fluxmart child theme for Magic Pens.
Author:       Developer
Template:     fluxmart
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  fluxmart-child
*/

/* ── Footer credit — only the link should be interactive ───────────── */
.footer-bottom__credit {
	text-decoration: none;
}
.footer-bottom__credit:hover {
	text-decoration: underline;
	opacity: .8;
}

.mp-seo-cluster {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: var(--fm-shell);
	padding-left: var(--fm-container-gutter-mobile);
	padding-right: var(--fm-container-gutter-mobile);
}

.fm-page-hero__subtitle {
	margin: 0;
	max-width: 42rem;
	font-size: var(--fm-type-body);
	line-height: var(--fm-leading-body);
	color: color-mix(in srgb, white 76%, transparent);
}

.mp-seo-cluster__shell {
	display: grid;
	gap: 1.25rem;
	border: 1px solid var(--fm-color-line);
	border-radius: var(--fm-radius-lg);
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--fm-color-surface-soft) 92%, white 8%), color-mix(in srgb, var(--fm-color-surface) 96%, white 4%)),
		radial-gradient(circle at top right, color-mix(in srgb, var(--fm-color-accent) 16%, transparent), transparent 45%);
	box-shadow: var(--fm-shadow-soft);
	padding: clamp(1.1rem, 2vw, 1.6rem);
}

.mp-seo-cluster__copy h2 {
	margin: 0;
	font-size: var(--fm-type-h3);
	line-height: var(--fm-leading-h3);
}

.mp-seo-cluster__copy p:last-child {
	margin-bottom: 0;
}

.mp-seo-cluster__eyebrow {
	margin: 0 0 0.45rem;
	font-size: var(--fm-type-overline);
	line-height: var(--fm-leading-overline);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fm-color-accent);
}

.mp-seo-link-list {
	display: grid;
	gap: 0.75rem;
}

.mp-seo-link-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.8rem 1rem;
	border: 1px solid color-mix(in srgb, var(--fm-color-line) 74%, var(--fm-color-accent) 26%);
	border-radius: var(--fm-radius-md);
	background: color-mix(in srgb, var(--fm-color-surface) 92%, white 8%);
	color: var(--fm-color-text);
	font-size: var(--fm-type-body);
	line-height: var(--fm-leading-body);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mp-seo-link-list a:hover,
.mp-seo-link-list a:focus {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--fm-color-accent) 52%, var(--fm-color-line) 48%);
	box-shadow: 0 14px 28px -22px rgba(62, 37, 97, 0.45);
}

.mp-seo-cluster--shop {
	margin-top: calc(var(--fm-section-space-mobile) * 0.5);
	margin-bottom: calc(var(--fm-section-space-mobile) * 0.55);
}

.mp-reviews-intro {
	margin: 0 0 1rem;
	max-width: 46rem;
	font-size: var(--fm-type-body);
	line-height: var(--fm-leading-body);
	color: var(--fm-color-muted);
}

.mp-reviews-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.4rem;
}

.mp-reviews-links a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--fm-color-accent) 12%, var(--fm-color-surface-soft) 88%);
	color: var(--fm-color-text);
	font-size: var(--fm-type-small);
	line-height: var(--fm-leading-small);
	font-weight: 600;
	text-decoration: none;
}

.mp-product-summary-highlights {
	margin-top: 1rem;
}

.mp-product-summary-highlights__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.mp-product-summary-highlights__chips span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--fm-color-accent) 10%, var(--fm-color-surface-soft) 90%);
	color: var(--fm-color-text);
	font-size: var(--fm-type-small);
	line-height: var(--fm-leading-small);
	font-weight: 600;
}

.mp-product-summary-highlights__note {
	margin: 0.9rem 0 0;
	font-size: var(--fm-type-small);
	line-height: var(--fm-leading-small);
	color: var(--fm-color-muted);
}

@media (min-width: 768px) {
	.mp-seo-cluster {
		padding-left: var(--fm-container-gutter);
		padding-right: var(--fm-container-gutter);
	}

	.mp-seo-cluster__shell {
		grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
		align-items: center;
	}

	.mp-seo-cluster--shop {
		margin-top: calc(var(--fm-section-space) * 0.42);
		margin-bottom: calc(var(--fm-section-space) * 0.48);
	}

}
