/* Shop-only presentation; shared legal pages keep their existing stylesheet. */
body.mw-shop-store {
	background: #f6f9fc;
	color: #18334b;
	letter-spacing: 0;
}

.mw-shop-store [hidden] {
	display: none !important;
}

.mw-shop-store .mw-shop-page {
	width: min(1200px, 100%);
	padding: 0 24px;
}

.mw-shop-store .mw-shop-hero {
	display: block;
	padding: 20px 0 0;
}

.mw-shop-topbar,
.mw-shop-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.mw-shop-store .mw-shop-brand {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-weight: 700;
}

.mw-shop-store .mw-shop-brand img {
	width: 32px;
	height: 32px;
	box-shadow: none;
}

.mw-shop-store .mw-shop-language {
	margin-bottom: 0;
}

.mw-shop-heading {
	align-items: end;
	padding: 28px 0 24px;
}

.mw-shop-store .mw-shop-hero h1 {
	font-size: 2rem;
	font-weight: 720;
	line-height: 1.2;
}

.mw-shop-store .mw-shop-heading p {
	margin: 8px 0 0;
	font-size: 0.98rem;
}

.mw-shop-store .mw-shop-heading .mw-shop-price-context {
	flex-shrink: 0;
	margin: 0;
	font-size: 0.82rem;
	color: #526b80;
}

.mw-shop-store .mw-shop-stepbar {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 24px;
	border-bottom: 1px solid #ccd9e4;
}

.mw-shop-store .mw-shop-step {
	min-height: 44px;
	padding: 8px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	font-size: 0.88rem;
	font-weight: 550;
	color: #536b80;
}

.mw-shop-store .mw-shop-step.is-active {
	border-bottom-color: #2166a8;
	color: #175b9e;
	font-weight: 700;
}

.mw-shop-store .mw-shop-step:disabled {
	cursor: default;
	color: #738494;
}

.mw-shop-store .mw-shop-panel,
.mw-shop-store .mw-shop-confirmation {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.mw-shop-store .mw-shop-section-head {
	margin-bottom: 16px;
}

.mw-shop-store .mw-shop-section-head h2 {
	font-size: 1.2rem;
	line-height: 1.4;
	font-weight: 650;
	scroll-margin-top: 20px;
}

.mw-shop-store .mw-shop-audience-nav {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding-bottom: 16px;
}

.mw-shop-audience-nav [role="tab"] {
	min-width: 0;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #d5e0e9;
	border-radius: 6px;
	background: #fff;
	color: #345269;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.mw-shop-audience-nav [role="tab"]:hover {
	border-color: #88aecf;
}

.mw-shop-audience-nav [aria-selected="true"] {
	border-color: #2166a8;
	background: #2166a8;
	color: #fff;
}

.mw-shop-store .mw-shop-offer-groups {
	display: block;
}

.mw-shop-category-description {
	margin: 0 0 18px;
	color: #526b80;
	font-size: 0.94rem;
}

.mw-shop-store .mw-shop-products {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mw-shop-store .mw-shop-card {
	min-width: 0;
	min-height: 0;
	grid-template-rows: auto auto 1fr auto auto;
	align-content: stretch;
	gap: 16px;
	padding: 22px;
	border: 1px solid #d5e0e9;
	background: #fff;
	box-shadow: none;
	transform: none;
}

.mw-shop-store .mw-shop-card--featured {
	border-color: #639aca;
}

.mw-shop-store .mw-shop-card.is-selected {
	border-color: #2166a8;
	box-shadow: 0 0 0 1px #2166a8;
}

.mw-shop-card__intro {
	min-height: 132px;
}

.mw-shop-store .mw-shop-card__topline {
	min-height: 26px;
	margin-bottom: 12px;
	align-items: center;
}

.mw-shop-store .mw-shop-card h3 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	line-height: 1.3;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.mw-shop-store .mw-shop-card p {
	font-size: 0.91rem;
	line-height: 1.55;
}

.mw-shop-store .mw-shop-card .mw-shop-price {
	font-size: 1.8rem;
	line-height: 1.25;
	font-weight: 740;
	overflow-wrap: anywhere;
}

.mw-shop-store .mw-shop-price span {
	font-weight: 450;
	font-size: 0.88rem;
}

.mw-shop-store .mw-shop-badge {
	min-height: 24px;
	border: 0;
	border-radius: 4px;
	background: #f0f4f7;
	color: #526575;
	font-size: 0.76rem;
	font-weight: 600;
}

.mw-shop-store .mw-shop-card--featured .mw-shop-badge {
	background: #e9f4f0;
	color: #22664f;
}

.mw-shop-beta {
	margin-inline-start: auto;
	color: #7d5615;
	font-size: 0.76rem;
	text-underline-offset: 3px;
}

.mw-shop-store .mw-shop-card ul {
	gap: 8px;
	padding: 0;
	padding-inline-start: 18px;
	font-size: 0.91rem;
	line-height: 1.5;
}

.mw-shop-store .mw-shop-card li::marker {
	color: #7291a9;
}

.mw-shop-card__details summary,
.mw-shop-store .mw-shop-comparison summary,
.mw-shop-offer-notes > summary {
	min-height: 40px;
	padding: 9px 0;
	color: #315772;
	font-size: 0.88rem;
	font-weight: 550;
	cursor: pointer;
}

.mw-shop-card__details[open] ul {
	padding-top: 8px;
}

.mw-shop-store .mw-shop-card__button,
.mw-shop-store .mw-shop-primary,
.mw-shop-store .mw-shop-secondary {
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 650;
	box-shadow: none;
	transform: none;
}

.mw-shop-store .mw-shop-card__button,
.mw-shop-store .mw-shop-secondary {
	border-color: #c3d5e4;
	background: #fff;
	color: #215b90;
}

.mw-shop-store .mw-shop-card--featured .mw-shop-card__button,
.mw-shop-store .mw-shop-primary {
	border-color: #2166a8;
	background: #2166a8;
	color: #fff;
}

.mw-shop-store .mw-shop-card__button:hover,
.mw-shop-store .mw-shop-secondary:hover {
	border-color: #2166a8;
	background: #edf4fa;
}

.mw-shop-store .mw-shop-card--featured .mw-shop-card__button:hover,
.mw-shop-store .mw-shop-primary:hover {
	background: #184f85;
}

.mw-shop-store .mw-shop-comparisons {
	display: block;
	margin-top: 20px;
}

.mw-shop-store .mw-shop-comparison,
.mw-shop-offer-notes {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #d5e0e9;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.mw-shop-comparison-scroll {
	max-width: 100%;
	margin: 8px 0 20px;
	overflow-x: auto;
}

.mw-shop-comparison-scroll table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 0.86rem;
}

.mw-shop-comparison-scroll th,
.mw-shop-comparison-scroll td {
	min-width: 110px;
	padding: 12px;
	border-bottom: 1px solid #e0e8ef;
	text-align: start;
}

.mw-shop-comparison-scroll th {
	font-weight: 650;
}

.mw-shop-offer-notes p {
	max-width: 80ch;
	color: #526b80;
	font-size: 0.9rem;
}

.mw-shop-store .mw-shop-final-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 16px 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 0.9rem;
}

.mw-shop-edit-choice {
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: #2166a8;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mw-shop-choice-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding: 16px 0;
	border-top: 1px solid #d5e0e9;
	border-bottom: 1px solid #d5e0e9;
}

.mw-shop-choice-summary > div {
	display: grid;
	gap: 4px;
}

.mw-shop-choice-summary span {
	color: #526b80;
}

.mw-shop-store .mw-shop-footer {
	width: min(1200px, 100%);
	justify-content: flex-start;
	margin-top: 24px;
	padding: 20px 24px;
	border-top: 1px solid #d5e0e9;
	font-size: 0.8rem;
}

.mw-shop-store .mw-shop-footer a {
	font-weight: 450;
}

.mw-shop-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 1000px) {
	.mw-shop-store .mw-shop-audience-nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.mw-shop-store .mw-shop-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.mw-shop-store .mw-shop-page {
		padding: 0 16px;
	}
	.mw-shop-topbar,
	.mw-shop-heading {
		align-items: start;
		flex-direction: column;
		gap: 12px;
	}
	.mw-shop-store .mw-shop-language {
		width: 100%;
	}
	.mw-shop-heading {
		padding: 20px 0;
	}
	.mw-shop-store .mw-shop-hero h1 {
		font-size: 1.75rem;
	}
	.mw-shop-store .mw-shop-step {
		padding: 8px 4px;
		font-size: 0.78rem;
	}
	.mw-shop-store .mw-shop-audience-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mw-shop-audience-nav [role="tab"] {
		padding: 8px 6px;
		font-size: 0.8rem;
	}
	.mw-shop-store .mw-shop-products {
		grid-template-columns: minmax(0, 1fr);
	}
	.mw-shop-store .mw-shop-card {
		padding: 20px;
	}
	.mw-shop-card__intro {
		min-height: 0;
	}
	.mw-shop-choice-summary {
		align-items: start;
		flex-direction: column;
		gap: 4px;
	}
	.mw-shop-store .mw-shop-footer {
		padding-inline: 16px;
	}
}
