/* NS Mega Menu — frontend (theme tokens) */

.ns-header {
	position: relative;
	overflow: visible;
	z-index: 100;
}

.nsmm-nav-wrap {
	position: static;
}

.nsmm-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 30px);
	flex-wrap: nowrap;
}

.nsmm-nav__btn {
	position: relative;
	background: transparent;
	border: 0;
	cursor: pointer;
	font-family: var(--sans, inherit);
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--ink, #1a140f);
	padding: 26px 2px;
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;
	line-height: 1;
	min-height: 72px;
	box-sizing: border-box;
}

.nsmm-nav__text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: relative;
}

.nsmm-nav__btn--highlight {
	font-weight: 700;
	color: var(--orange-deep, #b84f1c);
}

.nsmm-nav__caret {
	display: inline-flex;
	color: var(--muted-2, #888);
	transition: transform .2s ease;
}

.nsmm-nav__btn.is-open .nsmm-nav__caret {
	transform: rotate(180deg);
}

.nsmm-nav__glyph {
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 9px;
	height: 9px;
	transform: translate(-50%, 4px);
	opacity: 0;
	transition: opacity .22s ease, transform .22s ease;
	pointer-events: none;
	overflow: hidden;
}

.nsmm-nav__glyph svg {
	display: block;
	width: 9px;
	height: 9px;
}

.nsmm-nav__btn.is-open .nsmm-nav__glyph {
	opacity: 1;
	transform: translate(-50%, 0);
}

.nsmm-glyph-inline {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 6px;
	vertical-align: middle;
}

.nsmm-glyph-inline svg {
	display: block;
	width: 9px;
	height: 9px;
}

/* Mega wrap — full header width, stała wysokość (JS: --nsmm-mega-min-height) */
.nsmm-mega-wrap {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 99;
	background: #fff;
	border-top: 1px solid var(--line, rgba(0,0,0,.08));
	border-bottom: 1px solid var(--line, rgba(0,0,0,.08));
	box-shadow: 0 24px 40px rgba(21, 17, 13, 0.1);
	animation: nsmm-mega-in .18s ease;
	min-height: var(--nsmm-mega-min-height, auto);
	box-sizing: border-box;
	overflow: hidden;
}

.nsmm-mega-wrap.nsmm-mega-wrap--shown {
	animation: none;
}

/* Pomiar wysokości — ukryte, poza flow */
.nsmm-measuring {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	height: auto !important;
	width: 100% !important;
	z-index: -1 !important;
}

@keyframes nsmm-mega-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.nsmm-mega-wrap[hidden] {
	display: none !important;
}

.nsmm-mega[hidden] {
	display: none !important;
}

.nsmm-mega.is-exiting[hidden],
.nsmm-mega.is-entering[hidden] {
	display: block !important;
}

/* Przełączanie zakładek (Sklep ↔ Problem ↔ Polecane) */
.nsmm-mega-wrap.is-switching {
	min-height: var(--nsmm-mega-min-height, auto);
}

.nsmm-mega-wrap.is-switching .nsmm-mega.is-active,
.nsmm-mega-wrap.is-switching .nsmm-mega.is-exiting,
.nsmm-mega-wrap.is-switching .nsmm-mega.is-entering {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
}

.nsmm-mega:not(.nsmm-measuring):not(.is-active):not(.is-entering):not(.is-exiting) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.nsmm-mega.is-active:not(.nsmm-measuring),
.nsmm-mega.is-entering:not(.nsmm-measuring),
.nsmm-mega.is-exiting:not(.nsmm-measuring) {
	visibility: visible;
	transition:
		opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s;
}

.nsmm-mega.is-active:not(.nsmm-measuring) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
}

.nsmm-mega.is-exiting:not(.nsmm-measuring) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: none;
}

.nsmm-mega.is-entering:not(.is-active):not(.nsmm-measuring) {
	opacity: 0;
	pointer-events: none;
}

.nsmm-mega.is-entering.is-enter-from-right:not(.is-active) {
	transform: translate3d(32px, 0, 0);
}

.nsmm-mega.is-entering.is-enter-from-left:not(.is-active) {
	transform: translate3d(-32px, 0, 0);
}

.nsmm-mega.is-entering.is-active:not(.nsmm-measuring) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: none;
}

.nsmm-mega.is-exiting.is-exit-left {
	transform: translate3d(-32px, 0, 0);
	opacity: 0;
}

.nsmm-mega.is-exiting.is-exit-right {
	transform: translate3d(32px, 0, 0);
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.nsmm-mega:not(.nsmm-measuring) {
		transition: opacity 0.12s ease !important;
		transform: none !important;
	}

	.nsmm-mega.is-entering.is-enter-from-right,
	.nsmm-mega.is-entering.is-enter-from-left,
	.nsmm-mega.is-exiting.is-exit-left,
	.nsmm-mega.is-exiting.is-exit-right {
		transform: none !important;
	}
}

.nsmm-mega__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px clamp(16px, 2.5vw, 32px);
}

/* ─── Shop layout ─── */
.nsmm-mega__inner--shop .nsmm-shop {
	display: grid;
	grid-template-columns: 236px 1fr 288px;
	gap: 24px;
}

.nsmm-shop__rail {
	border-right: 1px solid var(--line);
	padding-right: 14px;
}

.nsmm-shop__rail-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-2);
	padding: 4px 12px 10px;
}

.nsmm-shop__cats {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nsmm-shop__cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: var(--sans);
	padding: 10px 12px;
	border-radius: 10px;
	border: 0;
	background: transparent;
	color: var(--ink);
	transition: background 0.2s ease, color 0.2s ease;
}

.nsmm-shop__cat.is-active {
	background: var(--paper-2, #f7f4ef);
	font-weight: 700;
}

.nsmm-shop__cat-left {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.nsmm-shop__cat-label {
	font-size: 13.5px;
	font-weight: inherit;
}

.nsmm-shop__cat-count {
	font-size: 11px;
	color: var(--muted-2);
	flex-shrink: 0;
}

.nsmm-shop__cat--highlight .nsmm-shop__cat-label {
	color: var(--orange-deep, #b84f1c);
	font-weight: 700;
}

.nsmm-shop__cat-chevron {
	display: inline-flex;
	color: var(--muted-2);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	transform: translateX(-4px);
}

.nsmm-shop__cat.is-active .nsmm-shop__cat-chevron {
	opacity: 1;
	transform: translateX(0);
}

.nsmm-shop__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	padding: 0 12px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--orange-deep);
	text-decoration: none;
}

.nsmm-shop__center {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.nsmm-shop__panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
	flex-shrink: 0;
}

.nsmm-shop__titles {
	position: relative;
	flex: 1;
	min-width: 0;
	min-height: 1.35em;
}

.nsmm-shop__panel-title {
	font-size: 22px;
	font-weight: 500;
	margin: 0;
	color: var(--ink);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s linear 0.28s;
}

.nsmm-shop__panel-title.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s;
}

.nsmm-shop__see-all {
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	text-decoration: none;
	white-space: nowrap;
}

.nsmm-shop__see-all-count {
	display: inline-block;
	min-width: 1.5ch;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.nsmm-shop__lead {
	font-size: 12.5px;
	color: var(--muted);
	margin: 0 0 16px;
	line-height: 1.5;
	max-width: 460px;
}

.nsmm-shop__items {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 24px;
}

.nsmm-shop__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.nsmm-shop__bottom-link {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nsmm-shop__panels {
	min-width: 0;
	position: relative;
	flex: 1 1 auto;
	min-height: var(--nsmm-shop-panels-min-height, auto);
}

.nsmm-shop__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s linear 0.28s;
	z-index: 0;
	will-change: opacity, transform;
}

.nsmm-shop__panel.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition:
		opacity 0.28s ease,
		transform 0.28s ease,
		visibility 0s;
	z-index: 1;
}

.nsmm-shop__panel.nsmm-measuring {
	left: -10000px !important;
	right: auto !important;
	width: 100% !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: none !important;
	pointer-events: none !important;
	transition: none !important;
}

.nsmm-shop__featured-col {
	min-width: 0;
	align-self: stretch;
}

/* Sklep: jedna ciemna obudowa, podmiana tylko treści wewnątrz */
.nsmm-featured--shop {
	display: flex;
	flex-direction: column;
	position: relative;
	min-height: var(--nsmm-shop-featured-min-height, 300px);
	height: 100%;
	background: linear-gradient(170deg, #1a140f 0%, #0e0b08 100%);
	border-radius: 16px;
	overflow: hidden;
	box-sizing: border-box;
}

.nsmm-featured__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	position: relative;
	z-index: 2;
	text-decoration: none;
	color: #fff;
}

.nsmm-featured__stages {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.nsmm-featured__stage {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0s linear 0.28s;
	z-index: 0;
}

.nsmm-featured__stage.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.28s ease, visibility 0s;
	z-index: 1;
}

.nsmm-featured__stage.nsmm-measuring {
	left: -10000px !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: none !important;
}

/* Bez animacji wejścia przy pierwszym otwarciu zakładki Sklep */
.nsmm-mega--shop:not(.nsmm-shop-ready) .nsmm-shop__panel,
.nsmm-mega--shop:not(.nsmm-shop-ready) .nsmm-featured__stage,
.nsmm-mega--shop:not(.nsmm-shop-ready) .nsmm-shop__panel-title {
	transition: none !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.nsmm-shop__panel,
	.nsmm-featured__stage,
	.nsmm-shop__panel-title,
	.nsmm-shop__cat,
	.nsmm-shop__cat-chevron {
		transition: none;
		transform: none;
	}
}

/* ─── Product links: beż WYŁĄCZNIE pod miniaturą (bez tła wiersza / hover) ─── */
.nsmm-product-link {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	background: transparent;
}

.nsmm-product-link:hover,
.nsmm-product-link:focus-visible {
	background: var(--paper, #fbf7f1);
}

.nsmm-product-link--recommended {
	gap: 12px;
}

/* Miniatura — stałe tło paper-2 pod zdjęciem */
.nsmm-product-link__thumb {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--paper-2, #f5efe5);
}

.nsmm-product-link--shop .nsmm-product-link__thumb {
	width: 34px;
	height: 34px;
	border-radius: 8px;
}

.nsmm-product-link--recommended .nsmm-product-link__thumb {
	width: 42px;
	height: 46px;
	border-radius: 9px;
}

.nsmm-product-link__thumb .nsmm-product-thumb {
	width: 100%;
	height: 100%;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: inherit;
}

.nsmm-product-link__thumb .nsmm-product-thumb-img,
.nsmm-product-link__thumb img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	background: transparent;
	mix-blend-mode: multiply;
}

.nsmm-product-link__body {
	min-width: 0;
	flex: 1;
}

.nsmm-product-link__name {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nsmm-product-link__sub {
	display: block;
	font-size: 11px;
	color: var(--orange-deep);
	margin-top: 1px;
}

.nsmm-product-link__price-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.nsmm-product-link__price {
	font-size: 12px;
	font-weight: 700;
	color: var(--ink);
}

/* ─── Featured card ─── */
.nsmm-featured {
	display: flex;
	flex-direction: column;
	background: linear-gradient(170deg, #1a140f 0%, #0e0b08 100%);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	position: relative;
	height: 100%;
	min-height: 300px;
	color: #fff;
	box-sizing: border-box;
}

/* Karta sklepu: stały podział badge / zdjęcie / tekst (bez skakania przy zmianie kategorii) */
.nsmm-featured--shop .nsmm-featured__inner {
	flex: 1;
	display: grid;
	grid-template-rows:
		var(--nsmm-feat-badge-h, 30px)
		var(--nsmm-feat-image-h, 168px)
		minmax(var(--nsmm-feat-foot-h, 100px), auto);
	height: 100%;
	min-height: 0;
	padding: 18px;
	box-sizing: border-box;
	gap: 0;
}

.nsmm-featured--shop .nsmm-featured__badge-row {
	min-height: var(--nsmm-feat-badge-h, 30px);
	display: flex;
	align-items: flex-start;
}

.nsmm-featured--shop .nsmm-featured__badge-row:empty {
	min-height: var(--nsmm-feat-badge-h, 30px);
}

.nsmm-featured__trellis {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.06;
	pointer-events: none;
}

.nsmm-featured__inner {
	position: relative;
	z-index: 2;
	padding: 18px 18px 0;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	box-sizing: border-box;
}

.nsmm-featured:not(.nsmm-featured--shop) .nsmm-featured__inner {
	padding: 18px 18px 0;
}

.nsmm-featured__badge {
	align-self: flex-start;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--orange, #e86d31);
	color: #fff;
	line-height: 1.2;
}

.nsmm-featured__image {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 12px 0;
}

.nsmm-featured--shop .nsmm-featured__image {
	flex: none;
	height: var(--nsmm-feat-image-h, 168px);
	min-height: var(--nsmm-feat-image-h, 168px);
	max-height: var(--nsmm-feat-image-h, 168px);
	padding: 8px 0;
	box-sizing: border-box;
}

.nsmm-featured__image-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 168px);
	aspect-ratio: 1;
	background: #fff;
	border-radius: 14px;
	padding: 14px;
	box-sizing: border-box;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.nsmm-featured__image-frame .nsmm-product-thumb-img {
	display: block;
	max-width: 100%;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	mix-blend-mode: normal;
}

/* Cutout remove.bg na ciemnym tle — bez białej ramki */
.nsmm-featured__image-frame--cutout {
	background: transparent;
	box-shadow: none;
	padding: 0;
	width: min(100%, 200px);
	aspect-ratio: auto;
}

.nsmm-featured__image-frame--cutout .nsmm-product-thumb-img--cutout {
	max-height: 156px;
	mix-blend-mode: normal;
	filter: none;
}

.nsmm-featured__foot {
	flex-shrink: 0;
	padding-bottom: 18px;
	margin-top: auto;
}

.nsmm-featured--shop .nsmm-featured__foot {
	margin-top: 0;
	padding-bottom: 0;
	min-height: var(--nsmm-feat-foot-h, 100px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
}

.nsmm-featured__name {
	font-size: 19px;
	color: #fff;
	font-weight: 500;
	line-height: 1.12;
	margin: 0;
}

.nsmm-featured--shop .nsmm-featured__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.12em * 2);
	max-height: calc(1.12em * 2);
}

.nsmm-featured__claim {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin: 5px 0 0;
	line-height: 1.4;
}

.nsmm-featured--shop .nsmm-featured__claim {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.4em * 2);
	max-height: calc(1.4em * 2);
	margin-top: 6px;
}

.nsmm-featured--shop .nsmm-featured__claim:empty::before {
	content: '\00a0';
	visibility: hidden;
}

.nsmm-featured__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
}

.nsmm-featured--shop .nsmm-featured__meta {
	flex-shrink: 0;
	min-height: 22px;
	margin-top: 10px;
}

.nsmm-featured__price {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	flex-shrink: 0;
}

.nsmm-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--orange-2, #f0a070);
	white-space: nowrap;
}

.nsmm-featured__cta svg {
	flex-shrink: 0;
}

.nsmm-shop__featured-col {
	display: flex;
	flex-direction: column;
}

.nsmm-shop__featured-wrap {
	flex: 1;
	min-height: 300px;
}

.nsmm-shop__featured-wrap .nsmm-featured {
	height: 100%;
}

/* ─── Problem layout ─── */
.nsmm-mega__inner--problem .nsmm-problem {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
	align-items: start;
}

.nsmm-problem__main {
	min-width: 0;
}

.nsmm-problem__head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.nsmm-problem__title {
	font-size: 22px;
	font-weight: 500;
	margin: 0;
}

.nsmm-problem__subtitle {
	font-size: 12.5px;
	color: var(--muted);
}

.nsmm-problem__cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.nsmm-problem__col-head {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--orange-deep);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.nsmm-problem__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nsmm-problem__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	margin: 0 -10px;
	border-radius: 9px;
	text-decoration: none;
	transition: background .12s;
	color: inherit;
}

.nsmm-problem__link:hover {
	background: var(--paper-2);
}

.nsmm-problem__name {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.3;
}

.nsmm-problem__count {
	font-size: 11px;
	color: var(--muted-2);
	flex-shrink: 0;
}

.nsmm-problem__quiz {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-self: start;
	width: 100%;
	box-sizing: border-box;
	background: var(--orange-tint, #fff1e2);
	border: 1px solid var(--orange-soft, #fcdfc4);
	border-radius: 16px;
	padding: 22px;
	text-decoration: none;
	min-height: 260px;
	color: var(--ink, #1a140f);
	transition: background .15s ease, border-color .15s ease;
}

.nsmm-problem__quiz:hover,
.nsmm-problem__quiz:focus-visible {
	background: #ffead4;
	border-color: #f5c9a8;
	color: var(--ink, #1a140f);
	text-decoration: none;
}

.nsmm-problem__quiz-top {
	flex: 0 0 auto;
}

.nsmm-problem__quiz-glyph {
	display: block;
	line-height: 0;
	margin: 0;
}

.nsmm-problem__quiz-glyph svg {
	display: block;
	width: 20px;
	height: 20px;
}

.nsmm-problem__quiz-title {
	font-size: 22px;
	font-weight: 500;
	margin: 14px 0 8px;
	padding: 0;
	color: var(--ink, #1a140f);
	line-height: 1.12;
}

.nsmm-problem__quiz-text {
	font-size: 13px;
	color: var(--muted, #6b6560);
	margin: 0;
	padding: 0;
	line-height: 1.5;
	max-width: 26ch;
}

.nsmm-problem__quiz-btn {
	margin-top: auto;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 46px;
	padding: 0 18px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1;
	border-radius: var(--r-pill, 999px);
	box-sizing: border-box;
}

.nsmm-problem__quiz-btn-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.nsmm-problem__quiz-btn-icon svg {
	display: block;
}

/* ─── Recommended layout ─── */
.nsmm-mega__inner--recommended .nsmm-rec {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 300px;
	gap: 32px;
	align-items: start;
}

.nsmm-rec__col {
	min-width: 0;
}

.nsmm-rec__featured {
	min-width: 0;
	align-self: stretch;
}

.nsmm-rec__featured .nsmm-featured {
	min-height: 300px;
	height: 100%;
}

.nsmm-rec__col-head {
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.nsmm-rec__heading {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--orange-deep);
}

.nsmm-rec__sub {
	font-size: 11.5px;
	color: var(--muted-2);
	margin-top: 3px;
}

.nsmm-rec__items {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

@media (max-width: 1200px) {
	.nsmm-mega__inner--shop .nsmm-shop {
		grid-template-columns: 200px 1fr 240px;
	}
	.nsmm-problem__cols {
		grid-template-columns: repeat(2, 1fr);
	}
	.nsmm-mega__inner--recommended .nsmm-rec {
		grid-template-columns: repeat(2, 1fr);
	}
}
