.nt-store-page { overflow-x: clip; }
.nt-store-hero { position: relative; border-bottom: 1px solid var(--nt-color-line); background: radial-gradient(circle at 15% 20%, rgb(37 99 235 / 18%), transparent 38%), var(--nt-color-card); }
.nt-store-hero h1 { max-width: 16ch; margin: .35rem 0 .75rem; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.25; letter-spacing: -.04em; }
.nt-store-hero p:last-child { max-width: 62ch; color: var(--nt-color-muted); }
.nt-store-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(140px, .38fr) minmax(160px, .42fr) auto; gap: 14px; align-items: end; padding: 20px; border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-lg); background: var(--nt-color-card); box-shadow: 0 18px 40px rgb(0 0 0 / 12%); }
.nt-store-toolbar label { display: block; margin-bottom: 6px; color: var(--nt-color-muted); font-size: .85rem; }
.nt-store-toolbar input, .nt-store-toolbar select { box-sizing: border-box; width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-sm); color: var(--nt-color-ink); background: var(--nt-color-page); }
.nt-store-toolbar input:focus-visible, .nt-store-toolbar select:focus-visible { outline: 3px solid rgb(59 130 246 / 38%); outline-offset: 2px; border-color: var(--nt-color-cobalt-high); }
.nt-store-heading { display: flex; align-items: center; justify-content: space-between; margin: clamp(28px, 5vw, 56px) 0 18px; }
.nt-store-heading h2 { margin: 0; }
.nt-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.nt-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--nt-color-line-soft); border-radius: var(--nt-radius-card); background: var(--nt-color-card); transition: transform .2s var(--nt-ease), border-color .2s var(--nt-ease), box-shadow .2s var(--nt-ease); }
.nt-product-card:hover { transform: translateY(-4px); border-color: var(--nt-color-cobalt-high); box-shadow: var(--nt-shadow-card); }
.nt-product-card:focus-within { outline: 3px solid rgb(59 130 246 / 35%); outline-offset: 3px; }
.nt-product-card__visual { display: grid; min-height: 172px; place-items: center; background: radial-gradient(circle at 70% 30%, rgb(52 104 242 / 30%), transparent 45%), linear-gradient(135deg, #081c3c, #0b3b77); color: var(--nt-color-cobalt-high); font: 800 clamp(2rem, 5vw, 4rem)/1 var(--nt-font-mono); letter-spacing: .08em; }
.nt-product-card__body { flex: 1; padding: 22px; }
.nt-product-card__type { margin: 0 0 6px; color: var(--nt-color-cobalt-high); font-size: .78rem; font-weight: 700; }
.nt-product-card h2 { margin: 0 0 10px; font-size: 1.25rem; }
.nt-product-card h2 a { color: inherit; text-decoration: none; }
.nt-product-card__body > p:last-child { color: var(--nt-color-muted); line-height: 1.9; margin-bottom: 0; }
.nt-product-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--nt-color-line); }
.nt-product-card footer > div:first-child { display: grid; gap: 4px; }
.nt-product-card__cta { color: var(--nt-color-cobalt-high); font-weight: 700; }
.nt-product-card__scope { color: var(--nt-color-muted); font-size: .78rem; }
.nt-product-card__visual img { display: block; width: 100%; height: 190px; aspect-ratio: 16 / 9; object-fit: cover; }
.nt-product-card__price { min-width: 148px; }
.nt-product-card__price .nt-price { align-items: baseline; direction: ltr; display: flex; gap: 14px; justify-content: flex-start; margin: 0; min-height: 58px; width: 100%; }
.nt-product-card__price .nt-price.nt-price--has-discount { align-items: baseline; display: flex; gap: 14px; justify-content: flex-start; }
.nt-product-card__price .nt-price__discount-badge { display: none; }
.nt-product-card__price .nt-price del { color: var(--nt-color-muted); direction: ltr; display: inline-flex; font-size: .76rem; margin: 0; }
.nt-product-card__price .nt-price strong { align-items: baseline; color: var(--nt-color-brand); direction: ltr; display: inline-flex; font-size: 1.08rem; font-weight: 800; gap: 0; margin: 0; }
.nt-product-card__price .nt-price strong .nt-price__currency { display: none; }
.nt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 12px 0 22px; }
.nt-price.nt-price--has-discount { align-items: start; display: grid; gap: 3px 10px; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; }
.nt-price__discount-badge { align-items: center; align-self: start; display: inline-flex; flex-direction: column; gap: 3px; grid-column: 1; grid-row: 1 / span 2; line-height: 1.1; text-align: center; }
.nt-price__discount-badge b { background: var(--nt-color-cobalt); border-radius: 6px; color: #fff; font-size: .88rem; font-weight: 600; padding: .3rem .48rem; }
.nt-price__discount-badge small { color: var(--nt-color-cobalt); font-size: .78rem; font-weight: 500; }
.nt-price.nt-price--has-discount del { grid-column: 2; grid-row: 1; justify-self: start; }
.nt-price.nt-price--has-discount strong { grid-column: 2; grid-row: 2; justify-self: start; }
.nt-price strong { color: var(--nt-color-brand); font-size: clamp(1.25rem, 3vw, 1.8rem); }
.nt-price del { color: var(--nt-color-muted); }
.nt-price__discount { color: var(--nt-color-cobalt); font-size: .75rem; font-weight: 600; }
.nt-price--compact { justify-content: flex-end; margin: 0; text-align: end; }
.nt-price--compact strong { font-size: 1rem; }
.nt-store-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.nt-store-pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-sm); text-decoration: none; }
.nt-store-pagination .current { border-color: var(--nt-color-cobalt-high); color: var(--nt-color-cobalt-high); }
.nt-product-detail { padding-block: clamp(48px, 8vw, 100px); }
.nt-admin-edit-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: 0 auto 18px; max-width: var(--nt-content-width, 1200px); padding: 0 20px; }
.nt-admin-edit-toolbar__label { color: var(--nt-color-muted); font-size: .78rem; }
.nt-admin-edit-toolbar__link { border: 1px solid var(--nt-color-line); border-radius: 9px; color: var(--nt-color-text); display: inline-flex; font-size: .78rem; font-weight: 700; padding: 8px 13px; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.nt-admin-edit-toolbar__link:hover, .nt-admin-edit-toolbar__link:focus-visible { border-color: var(--nt-color-brand); color: var(--nt-color-brand); }
.nt-admin-edit-toolbar__link--primary { background: var(--nt-color-brand); border-color: var(--nt-color-brand); color: #10150b; }
.nt-admin-edit-toolbar__link--primary:hover, .nt-admin-edit-toolbar__link--primary:focus-visible { background: #b4f229; border-color: #b4f229; color: #10150b; }
.nt-store-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: var(--nt-color-muted); }
.nt-store-breadcrumb a { color: var(--nt-color-ink-soft); }
.nt-product-detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.nt-product-detail h1 { overflow-wrap: anywhere; margin: 8px 0 18px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.12; }
.nt-product-detail__lead { max-width: 60ch; color: var(--nt-color-muted); font-size: 1.12rem; }
.nt-product-detail__image { margin: 22px 0; }
.nt-product-detail__image img { display: block; width: 100%; height: auto; border-radius: var(--nt-radius-lg); }
.nt-product-detail__content { margin: 28px 0 46px; }
.nt-product-detail :where(h1, h2, h3) { scroll-margin-top: 132px; }
.nt-product-detail__content + .nt-product-detail__meta { margin-top: 0; }
.nt-product-detail article > .wp-block-rank-math-toc-block { background: var(--nt-color-card); border: 1px solid var(--nt-color-line-soft); border-inline-start: 3px solid var(--nt-color-cobalt-high); border-radius: 14px; box-shadow: 0 10px 22px rgb(0 0 0 / 14%); margin: 0 0 2rem; padding: 18px 22px 20px; }
.nt-product-detail article > .wp-block-rank-math-toc-block > h2 { color: var(--nt-color-ink); font-size: 1.08rem; margin: 0; }
.nt-product-detail article > .wp-block-rank-math-toc-block .nt-toc-toggle { align-items: center; background: transparent; border: 0; color: var(--nt-color-ink); cursor: pointer; display: flex; font: inherit; justify-content: space-between; padding: 0; text-align: right; width: 100%; }
.nt-product-detail article > .wp-block-rank-math-toc-block .nt-toc-toggle__icon { border-bottom: 2px solid var(--nt-color-cobalt-high); border-inline-end: 2px solid var(--nt-color-cobalt-high); display: block; height: 9px; transform: rotate(45deg) translateY(-2px); width: 9px; }
.nt-product-detail article > .wp-block-rank-math-toc-block.is-collapsed .nt-toc-toggle__icon { transform: rotate(-45deg) translateY(2px); }
.nt-product-detail article > .wp-block-rank-math-toc-block nav ul { display: grid; gap: 6px; list-style: none; margin: 12px 0 0; padding: 0; }
.nt-product-detail article > .wp-block-rank-math-toc-block nav li::before { display: none !important; }
.nt-product-detail article > .wp-block-rank-math-toc-block nav li { margin: 0; padding: 0; }
.nt-product-detail article > .wp-block-rank-math-toc-block nav a { border-radius: 8px; color: var(--nt-color-ink); display: block; font-size: .9rem; line-height: 1.9; padding: 5px 8px; text-decoration: none; }
.nt-product-detail article > .wp-block-rank-math-toc-block nav a:hover,
.nt-product-detail article > .wp-block-rank-math-toc-block nav a:focus-visible { background: rgb(52 104 242 / 7%); color: var(--nt-color-ink); }
.nt-product-detail__meta { margin: 26px 0 42px; padding: 18px; border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-lg); background: var(--nt-color-card); }
.nt-product-detail__meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.nt-product-detail__meta-grid > div { display: grid; gap: 7px; padding: 14px; border: 1px solid var(--nt-color-line-soft); border-radius: var(--nt-radius-md); background: var(--nt-color-card-alt); }
.nt-product-detail__meta-grid small { color: var(--nt-color-muted); font-size: .76rem; }
.nt-product-detail__meta-grid strong { color: var(--nt-color-ink); }
.nt-product-detail h2 { margin: 38px 0 18px; }
.nt-product-summary { position: sticky; top: 110px; padding: 24px; border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-lg); background: var(--nt-color-card); }
.nt-product-summary dl { margin: 0 0 22px; }
.nt-product-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nt-color-line); }
.nt-product-summary dd { margin: 0; font-weight: 700; }
.nt-product-summary .nt-button { width: 100%; }
.nt-commerce-future { margin-top: 22px; padding: 16px; border-inline-start: 3px solid var(--nt-color-cobalt-high); background: rgb(59 130 246 / 8%); }
.nt-commerce-future p { margin: 6px 0 0; color: var(--nt-color-muted); font-size: .9rem; }
.nt-included-list { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-inline: auto; max-width: 640px; width: 100%; }
.nt-included-course { background: var(--nt-course-surface); border: 1px solid var(--nt-course-border); border-radius: 16px; color: inherit; display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.nt-included-course:hover,
.nt-included-course:focus-visible { border-color: var(--nt-color-cobalt-high); box-shadow: 0 0 0 2px var(--nt-color-cobalt-soft), 0 18px 42px rgb(0 0 0 / 22%); color: inherit; transform: translateY(-2px); }
.nt-included-course:focus-visible { outline: 0; }
.nt-included-course__media { aspect-ratio: 16 / 9; background: var(--nt-color-card-alt); display: block; overflow: hidden; width: 100%; }
.nt-included-course__media img { display: block; height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.nt-included-course:hover .nt-included-course__media img,
.nt-included-course:focus-visible .nt-included-course__media img { transform: scale(1.025); }
.nt-included-course__placeholder { align-items: center; color: var(--nt-color-cobalt-high); display: flex; font: 800 1.3rem/1 var(--nt-font-mono); height: 100%; justify-content: center; }
.nt-included-course__body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; }
.nt-included-course__title { color: var(--nt-color-ink); font-size: 1.08rem; line-height: 1.7; }
.nt-included-course__description { color: var(--nt-color-muted); line-height: 2; }
.nt-included-course__action { align-items: center; background: var(--nt-color-page-alt); border-radius: 9px; color: var(--nt-color-ink); display: flex; font-size: .78rem; font-weight: 700; justify-content: center; margin-top: auto; min-height: 40px; padding: 8px 12px; }
.nt-included-course__action b { color: var(--nt-color-cobalt-high); margin-inline-start: 7px; }
.nt-included-course:hover .nt-included-course__action,
.nt-included-course:focus-visible .nt-included-course__action { background: var(--nt-color-cobalt-high); color: #fff; }
.nt-included-course:hover .nt-included-course__action b,
.nt-included-course:focus-visible .nt-included-course__action b { color: #fff; }

/* A tapped link keeps :focus-visible on touch devices; keep the course CTA in
 * its resting style after opening it from either Masterclass page. */
@media (hover: none) and (pointer: coarse) {
	.nt-course-detail--premium .nt-included-course:active,
	.nt-course-detail--premium .nt-included-course:focus,
	.nt-course-detail--premium .nt-included-course:focus-visible {
		border-color: var(--nt-course-border);
		box-shadow: none;
		transform: none;
	}

	.nt-course-detail--premium .nt-included-course:active .nt-included-course__media img,
	.nt-course-detail--premium .nt-included-course:focus .nt-included-course__media img,
	.nt-course-detail--premium .nt-included-course:focus-visible .nt-included-course__media img {
		transform: none;
	}

	.nt-course-detail--premium .nt-included-course:active .nt-included-course__action,
	.nt-course-detail--premium .nt-included-course:focus .nt-included-course__action,
	.nt-course-detail--premium .nt-included-course:focus-visible .nt-included-course__action {
		background: var(--nt-color-page-alt);
		color: var(--nt-color-ink);
	}

	.nt-course-detail--premium .nt-included-course:active .nt-included-course__action b,
	.nt-course-detail--premium .nt-included-course:focus .nt-included-course__action b,
	.nt-course-detail--premium .nt-included-course:focus-visible .nt-included-course__action b {
		color: var(--nt-color-cobalt-high);
	}
}

/* Masterclass courses: compact single-row cards with a readable cover beside the copy. */
.nt-masterclass-included .nt-included-list,
.nt-product-detail .nt-included-list {
	max-width: 760px;
}

.nt-included-course {
	align-items: stretch;
	direction: rtl;
	display: grid;
	grid-template-columns: minmax(300px, 41%) minmax(0, 1fr);
	height: auto;
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.nt-included-course__media {
	align-self: stretch;
	aspect-ratio: 16 / 9;
	display: flex;
	height: auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
}

.nt-included-course__media img {
	background: var(--nt-color-card-alt);
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

.nt-included-course:hover .nt-included-course__media img,
.nt-included-course:focus-visible .nt-included-course__media img {
	transform: none;
}

.nt-included-course__body {
	justify-content: center;
	gap: 8px;
	overflow: hidden;
	padding: 16px 18px;
}

.nt-included-course__title {
	font-size: 1.08rem;
}

.nt-included-course__description {
	display: -webkit-box;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 1.8;
	overflow: hidden;
}

.nt-included-course__action {
	min-height: 34px;
	padding-block: 6px;
}

@media (max-width: 700px) {
	.nt-included-course {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
	}

	.nt-included-course__media {
		align-self: stretch;
		aspect-ratio: 16 / 9;
		flex-basis: auto;
		height: auto;
		width: 100%;
	}

	.nt-included-course__body {
		padding: 18px;
	}
}
.nt-course-product { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--nt-color-line); border-radius: var(--nt-radius-lg); background: var(--nt-color-card); }
.nt-course-product h2 { margin: 6px 0 12px; }
@media (max-width: 1000px) { .nt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nt-store-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .nt-product-detail__layout { grid-template-columns: 1fr; } .nt-product-summary { position: static; } }
@media (max-width: 650px) { .nt-product-grid, .nt-store-toolbar { grid-template-columns: 1fr; } .nt-store-toolbar .nt-button { width: 100%; } .nt-product-card footer { align-items: flex-start; flex-direction: column; } .nt-price--compact { justify-content: flex-start; text-align: start; } }
@media (prefers-reduced-motion: reduce) { .nt-product-card { transition: none; } }

/* Product/package details use the same normal-flow split layout as courses/tools. */
.nt-product-detail .nt-detail-layout {
	direction: rtl;
	grid-template-columns: minmax(0, 1fr) clamp(280px, 25vw, 360px);
}

.nt-product-detail .nt-detail-layout > :where(article, aside) {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
}

.nt-product-detail .nt-product-summary {
	max-width: 100%;
	width: 100%;
}

.nt-product-detail :where(.nt-product-detail__content, .nt-product-detail__lead, .nt-included-list, .nt-product-detail__meta) {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.nt-product-detail__content h1 {
	color: var(--nt-color-ink);
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 900;
	line-height: 1.55;
	margin: 0 0 .85em;
}

@media (min-width: 900px) {
	.nt-product-detail .nt-product-summary {
		align-self: start;
		position: sticky;
		top: 110px;
	}
}

@media (max-width: 899px) {
	.nt-product-detail .nt-detail-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nt-product-detail .nt-product-summary {
		position: static;
	}
}
