/* Dedicated polyethylene pipe page. All component styles stay within .np-pe. */

body.np-pe-page #content .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding: 0;
}

body.np-pe-page #content.site-content {
	padding-block: 0;
}

body.np-pe-page #primary {
	width: 100%;
	margin: 0 !important;
	padding: 0;
}

body.np-pe-page .ast-header-breadcrumb {
	display: none;
}

.np-pe,
.np-pe *,
.np-pe *::before,
.np-pe *::after {
	box-sizing: border-box;
}

.np-pe {
	--np-pe-ink: #061a2d;
	--np-pe-text: #233e52;
	--np-pe-muted: #556c7d;
	--np-pe-blue: #0b6ea8;
	--np-pe-cyan: #49bfe9;
	--np-pe-soft: #f5f9fc;
	--np-pe-line: #dce7ee;
	direction: rtl;
	color: var(--np-pe-text);
	background: #fff;
	font-family: "PeydaWeb", Tahoma, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.9;
	text-align: start;
}

.np-pe :where(h1, h2, h3, h4, h5, h6, p, figure) {
	margin: 0;
}

.np-pe :where(h1, h2, h3, h4, h5, h6) {
	color: var(--np-pe-ink);
	font-family: inherit;
	font-weight: 800;
	line-height: 1.5;
}

.np-pe a {
	color: var(--np-pe-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.np-pe a:hover {
	color: #07517d;
}

.np-pe :where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--np-pe-cyan);
	outline-offset: 4px;
}

.np-pe :where(section[id], h2[id], h3[id], div[id]) {
	scroll-margin-top: 125px;
}

.np-pe :where(img, video, iframe, audio) {
	max-width: 100%;
}

.np-pe-shell {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.np-pe-hero {
	padding-block: 48px 0;
	color: #fff;
	background: var(--np-pe-ink);
}

.np-pe-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 64px);
	align-items: center;
	padding-bottom: 42px;
}

.np-pe-hero-copy,
.np-pe-hero-media,
.np-pe-buy-grid > *,
.np-pe-guide-grid > * {
	min-width: 0;
}

.np-pe-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 30px;
	color: #a8becd;
	font-size: 13px;
	line-height: 1.8;
}

.np-pe-breadcrumb a {
	color: #d6e6ef;
	text-decoration: none;
}

.np-pe-breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.np-pe .np-pe-eyebrow {
	margin-bottom: 12px;
	color: var(--np-pe-blue);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.8;
}

.np-pe-hero .np-pe-eyebrow {
	color: var(--np-pe-cyan);
}

.np-pe-hero h1 {
	margin-bottom: 18px;
	color: #fff;
	font-size: clamp(38px, 4.6vw, 64px);
	font-weight: 900;
	line-height: 1.28;
}

.np-pe-hero h1 span {
	display: block;
	margin-top: 7px;
	color: #d3e8f4;
	font-size: .53em;
	font-weight: 600;
	line-height: 1.6;
}

.np-pe-lead {
	max-width: 570px;
	margin-bottom: 26px;
	color: #c5d6e2;
	font-size: 17px;
	line-height: 2;
}

.np-pe-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.np-pe a.np-pe-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 11px 22px;
	border: 1px solid var(--np-pe-line);
	border-radius: 6px;
	color: var(--np-pe-blue);
	background: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.6;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.np-pe a.np-pe-button:hover {
	border-color: var(--np-pe-blue);
	background: #edf7fc;
}

.np-pe a.np-pe-button--primary {
	border-color: var(--np-pe-blue);
	color: #fff;
	background: var(--np-pe-blue);
}

.np-pe a.np-pe-button--primary:hover {
	border-color: #07517d;
	color: #fff;
	background: #07517d;
}

.np-pe-hero a.np-pe-button--primary,
.np-pe-footer-cta a.np-pe-button--primary {
	border-color: var(--np-pe-cyan);
	color: var(--np-pe-ink);
	background: var(--np-pe-cyan);
}

.np-pe-hero a.np-pe-button--primary:hover,
.np-pe-footer-cta a.np-pe-button--primary:hover {
	border-color: #80d8f7;
	color: var(--np-pe-ink);
	background: #80d8f7;
}

.np-pe a.np-pe-button--light {
	border-color: #658094;
	color: #fff;
	background: transparent;
}

.np-pe a.np-pe-button--light:hover {
	border-color: #adc8da;
	background: #163448;
}

.np-pe-hero-media {
	position: relative;
	align-self: center;
	min-height: 0;
	margin: 0;
	border-radius: 8px;
	background: #17384e;
}

.np-pe-hero-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 900 / 574;
	min-height: 0;
	border-radius: inherit;
	object-fit: cover;
	object-position: 25% center;
}

.np-pe-hero-media figcaption {
	position: absolute;
	inset-inline: 16px;
	bottom: 16px;
	width: fit-content;
	max-width: calc(100% - 32px);
	padding: 7px 13px;
	border-inline-start: 3px solid var(--np-pe-cyan);
	border-radius: 3px;
	color: #fff;
	background: rgba(6, 26, 45, .92);
	font-size: 12px;
	line-height: 1.9;
}

.np-pe-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
	padding-block: 24px;
	border-top: 1px solid #284357;
}

.np-pe-specs > div + div {
	padding-inline-start: 16px;
	border-inline-start: 1px solid #284357;
}

.np-pe-specs strong,
.np-pe-specs span {
	display: block;
}

.np-pe-specs strong {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.65;
}

.np-pe-specs span {
	margin-top: 3px;
	color: #aec4d3;
	font-size: 12px;
}

.np-pe-jump {
	border-bottom: 1px solid var(--np-pe-line);
	background: #fff;
}

.np-pe-jump > .np-pe-shell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 30px;
	padding-block: 11px;
}

.np-pe-jump a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	color: var(--np-pe-muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.np-pe-jump a:hover {
	color: var(--np-pe-blue);
	text-decoration: underline;
}

.np-pe-section {
	padding-block: clamp(52px, 6vw, 80px);
}

.np-pe-section--soft {
	border-block: 1px solid #e7eff4;
	background: var(--np-pe-soft);
}

.np-pe-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 28px;
}

.np-pe-section-head h2 {
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.5;
}

.np-pe-section-head .np-pe-eyebrow {
	margin-bottom: 6px;
}

.np-pe-intro {
	max-width: 720px;
	margin-bottom: 28px;
	color: var(--np-pe-muted);
	font-size: 16px;
	line-height: 2;
}

.np-pe-section-head .np-pe-intro {
	max-width: 440px;
	margin-bottom: 0;
	font-size: 14px;
}

.np-pe-app-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.np-pe a.np-pe-app {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: start;
	padding: 25px;
	border: 1px solid var(--np-pe-line);
	border-radius: 8px;
	color: var(--np-pe-text);
	background: #fff;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease;
}

.np-pe a.np-pe-app:hover {
	border-color: #94bed6;
	background: #f8fcfe;
}

.np-pe-app-number {
	margin-bottom: 19px;
	color: var(--np-pe-blue);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5;
}

.np-pe-app h3 {
	margin-bottom: 9px;
	font-size: 21px;
}

.np-pe-app p {
	margin-bottom: 22px;
	color: var(--np-pe-muted);
	font-size: 14px;
	line-height: 1.95;
}

.np-pe-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	color: var(--np-pe-blue);
	font-size: 13px;
	font-weight: 800;
}

.np-pe-sizes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.np-pe-sizes a {
	display: block;
	padding: 21px 20px;
	border: 1px solid var(--np-pe-line);
	border-radius: 6px;
	background: #fff;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease;
}

.np-pe-sizes a:hover {
	border-color: #94bed6;
	background: #edf7fc;
}

.np-pe-sizes strong,
.np-pe-sizes span {
	display: block;
}

.np-pe-sizes span span { display: inline; float: left; }
.np-pe-app-grid + .np-pe-intro,
.np-pe-sizes + .np-pe-intro { margin-top: 24px; margin-bottom: 0; }
.np-pe-hero-media figcaption span,
.np-pe-hero-media figcaption strong { display: block; }

.np-pe-sizes strong {
	color: var(--np-pe-ink);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.65;
}

.np-pe-sizes span {
	margin-top: 6px;
	color: var(--np-pe-muted);
	font-size: 13px;
}

.np-pe-buy-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: start;
	gap: clamp(28px, 5vw, 64px);
}

.np-pe-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: np-pe-step;
}

.np-pe-steps li {
	position: relative;
	min-height: 70px;
	padding-block: 0 22px;
	padding-inline-start: 52px;
	counter-increment: np-pe-step;
}

.np-pe-steps li:last-child {
	padding-bottom: 0;
}

.np-pe-steps li::before {
	position: absolute;
	inset-inline-start: 0;
	top: 2px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid #bfd9e8;
	border-radius: 5px;
	color: var(--np-pe-blue);
	background: #edf7fc;
	font-size: 14px;
	font-weight: 800;
	content: counter(np-pe-step, persian);
}

.np-pe-steps strong {
	display: block;
	margin-bottom: 5px;
	color: var(--np-pe-ink);
	font-size: 18px;
	font-weight: 800;
}

.np-pe-steps p {
	color: var(--np-pe-muted);
	font-size: 14px;
	line-height: 1.95;
}

.np-pe-contact-card {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid #c8deec;
	border-top: 4px solid var(--np-pe-blue);
	border-radius: 8px;
	background: var(--np-pe-soft);
}

.np-pe-contact-card h3 {
	margin-bottom: 14px;
	font-size: 25px;
}

.np-pe-contact-card p {
	margin-bottom: 20px;
	color: var(--np-pe-muted);
	font-size: 15px;
}

.np-pe-contact-card .np-pe-actions {
	align-items: stretch;
	flex-direction: column;
	gap: 10px;
}

.np-pe-contact-card a[href^="tel:"] {
	font-size: 17px;
	font-weight: 800;
}

.np-pe-contact-card > .np-pe-button { display: flex; width: 100%; margin-bottom: 12px; flex-wrap: wrap; }
.np-pe-contact-card a.np-pe-button--light { color: #07517d; border-color: #b2cddb; background: #fff; }
.np-pe-contact-card a.np-pe-button--light:hover { background: #e3f3fb; }
.np-pe-guide-nav > .np-pe-button { margin-top: 20px; padding: 12px; font-size: 13px; }

.np-pe-guide-grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	align-items: start;
	gap: clamp(32px, 4vw, 52px);
}

.np-pe-guide-nav {
	position: sticky;
	top: 112px;
	padding: 21px 18px;
	border: 1px solid var(--np-pe-line);
	border-radius: 7px;
	background: #fff;
}

.np-pe-guide-nav > strong {
	display: block;
	margin-bottom: 13px;
	padding-inline: 10px;
	color: var(--np-pe-ink);
	font-size: 16px;
	font-weight: 800;
}

.np-pe-guide-nav nav {
	display: grid;
	gap: 4px;
}

.np-pe-guide-nav nav a {
	display: block;
	min-height: 43px;
	padding: 10px;
	border-radius: 4px;
	color: var(--np-pe-muted);
	font-size: 13px;
	line-height: 1.8;
	text-decoration: none;
}

.np-pe-guide-nav nav a:hover,
.np-pe-guide-nav nav a[aria-current="location"] {
	color: #07517d;
	background: #edf7fc;
}

.np-pe-article {
	min-width: 0;
	color: var(--np-pe-text);
	font-size: 16px;
	line-height: 2.1;
	overflow-wrap: break-word;
}

.np-pe-article .entry-content {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.np-pe-article :where(.entry-content, .is-layout-flow) > * {
	max-width: 100%;
}

.np-pe-article :where(p, ul, ol, figure, table, blockquote, .wp-block-columns, .wc-block-grid, .schema-faq) {
	margin-block: 0 24px;
}

.np-pe-article :where(p, li, .is-layout-flow > :last-child) {
	text-align: start;
}

.np-pe-article .has-text-align-center {
	text-align: center;
}

.np-pe-article :where(h2, h3, h4) {
	margin-block: 38px 17px;
	color: var(--np-pe-ink);
	font-weight: 800;
	line-height: 1.6;
}

.np-pe-article h2 {
	padding-bottom: 13px;
	border-bottom: 1px solid var(--np-pe-line);
	font-size: clamp(23px, 2.3vw, 29px);
}

.np-pe-article h3 {
	font-size: 22px;
}

.np-pe-article h4 {
	font-size: 19px;
}

.np-pe-article .entry-content > :first-child {
	margin-top: 0;
}

.np-pe-article :where(ul, ol) {
	padding-inline-start: 24px;
}

.np-pe-article li + li {
	margin-top: 7px;
}

.np-pe-article li::marker {
	color: var(--np-pe-blue);
}

.np-pe-article figure {
	margin-inline: 0;
}

.np-pe-article img {
	height: auto;
	border-radius: 6px;
}

.np-pe-article .wp-block-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 440px;
	margin-inline: auto;
	object-fit: contain;
}

.np-pe-article figure.wp-block-image {
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
}

.np-pe-article audio {
	display: block;
	width: 100%;
	min-width: 0;
}

.np-pe-article figcaption {
	margin-top: 9px;
	color: var(--np-pe-muted);
	font-size: 13px;
	line-height: 1.9;
	text-align: center;
}

.np-pe-article blockquote {
	padding: 20px 24px;
	border: 0;
	border-inline-start: 3px solid var(--np-pe-blue);
	background: #edf7fc;
	font-size: inherit;
}

.np-pe-article blockquote > :last-child {
	margin-bottom: 0;
}

.np-pe-article :where(.wp-block-table, .np-pe-table-scroll) {
	width: 100%;
	max-width: 100%;
	margin-block: 20px 28px;
	border: 1px solid var(--np-pe-line);
	border-radius: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.np-pe-article .wp-block-table .np-pe-table-scroll {
	margin: 0;
	border: 0;
	border-radius: 0;
}

.np-pe-article table {
	width: 100%;
	min-width: 560px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	font-size: 14px;
	line-height: 1.9;
}

.np-pe-article :where(td, th) {
	padding: 13px 16px;
	border: 0;
	border-bottom: 1px solid var(--np-pe-line);
	text-align: start;
	vertical-align: middle;
}

.np-pe-article thead th {
	color: #fff;
	background: #12364f;
	font-weight: 800;
}

.np-pe-article tbody th {
	color: var(--np-pe-ink);
	font-weight: 700;
}

.np-pe-article tbody tr:nth-child(even) {
	background: #f5f9fc;
}

/* Retained editorial tables include late styles and inline declarations.
 * Own only their presentation here; the original table data stays in WordPress. */
body.np-pe-page .np-pe-article :is(div, figure):has(> .np-pe-table-scroll) {
	width: 100%;
	max-width: 100%;
	margin-block: 24px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll {
	margin: 0;
	border: 1px solid var(--np-pe-line);
	border-radius: 8px;
	background: #fff;
	overscroll-behavior-inline: contain;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll table {
	width: 100% !important;
	min-width: 520px !important;
	margin: 0 !important;
	border: 0 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	line-height: 1.9;
	table-layout: auto;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll table:has(thead tr:first-child > th:last-child:nth-child(2)) {
	min-width: 0 !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll table:has(thead tr:first-child > th:nth-child(4)) {
	min-width: 640px !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll table:has(thead tr:first-child > th:nth-child(5)) {
	min-width: 780px !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll :is(th, td) {
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--np-pe-line) !important;
	border-inline-end: 1px solid var(--np-pe-line) !important;
	color: var(--np-pe-text);
	background: #fff;
	font-size: inherit;
	line-height: 1.9;
	text-align: start;
	vertical-align: middle;
	white-space: normal;
	overflow-wrap: normal;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll thead th {
	color: #fff !important;
	background: #12364f !important;
	border-color: #31566f !important;
	font-weight: 800;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll tbody tr:nth-child(even) > :is(th, td) {
	background: var(--np-pe-soft);
}

body.np-pe-page .np-pe-article .np-pe-table-scroll tbody tr.pe-recommended > :is(th, td) {
	background: #e8f6fc;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll tbody tr:hover > :is(th, td) {
	background: #e1f1fa;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll tr > :last-child {
	border-inline-end: 0 !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll tbody tr:last-child > :is(th, td) {
	border-bottom: 0 !important;
}

body.np-pe-page .np-pe-article .np-pe-table-scroll .pe100-weight-table :is(th, td) {
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.np-pe-article .pe-badge {
	color: #07517d;
	background: #dceff9;
}

.np-pe-article tr:last-child :where(td, th) {
	border-bottom: 0;
}

.np-pe-article .wp-block-columns {
	gap: 18px;
	margin-inline: 0;
}

.np-pe-article .wp-block-column {
	min-width: 0;
	margin: 0;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 22px 0;
	padding: 0;
	list-style: none;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products .wc-block-grid__product {
	display: flex;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	flex: none;
	justify-self: stretch;
	flex-direction: column;
	margin: 0;
	padding: 18px 16px;
	border: 1px solid var(--np-pe-line);
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	text-align: center;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 16px;
	text-decoration: none;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product-image {
	display: grid;
	place-items: center;
	width: 100%;
	height: 150px;
	margin: 0;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product-image img {
	width: 100%;
	height: 100%;
	max-width: 180px;
	max-height: 150px;
	object-fit: contain;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products .wc-block-grid__product-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.6em;
	margin: 0;
	color: var(--np-pe-ink);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.8;
}

body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product:hover {
	border-color: #82bad9;
	box-shadow: 0 6px 18px rgb(6 26 45 / 5%);
}

/* The retained two-logo layout has compact cards, not a technical table. */
.np-pe-article .np-pe-brand-cards { margin-block: 24px; }
.np-pe-article .np-pe-brand-cards table,
.np-pe-article .np-pe-brand-cards tbody { display: block; width: 100%; min-width: 0; margin: 0 !important; background: none; }
.np-pe-article .np-pe-brand-cards tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; background: none; }
.np-pe-article .np-pe-brand-cards td {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	min-height: 112px;
	padding: 20px !important;
	border: 1px solid var(--np-pe-line) !important;
	border-radius: 8px;
	background: #fff;
	text-align: start !important;
}
.np-pe-article .np-pe-brand-cards td > a { display: grid; place-items: center; flex: 0 0 64px; }
.np-pe-article .np-pe-brand-cards td > a::after { position: absolute; inset: 0; border-radius: 8px; content: ""; }
.np-pe-article .np-pe-brand-cards td:hover { border-color: #82bad9 !important; background: #fafdff; }
.np-pe-article .np-pe-brand-cards td:focus-within { outline: 3px solid var(--np-pe-cyan); outline-offset: 3px; }
.np-pe-article .np-pe-brand-cards img { width: 64px; height: 64px !important; max-width: 64px !important; object-fit: contain; }
.np-pe-article .np-pe-brand-cards td > div { margin: 0 !important; color: var(--np-pe-ink); font-size: 18px !important; font-weight: 800; line-height: 1.8; }
.np-pe-article .np-pe-brand-cards td > div::after { display: block; margin-top: 5px; color: var(--np-pe-blue); font-size: 12px; font-weight: 600; content: "مشاهده لیست قیمت ←"; }

.np-pe-article .wc-block-grid__product-price {
	margin-top: auto;
	color: var(--np-pe-blue);
	font-size: 14px;
}

.np-pe-article .wp-block-button__link {
	min-height: 43px;
	padding: 10px 15px;
	border-radius: 5px;
	color: #fff;
	background: var(--np-pe-blue);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
	text-decoration: none;
}

.np-pe-article .wp-block-button__link:hover {
	color: #fff;
	background: #07517d;
}

/* Cover legacy buying links, inline application actions and WooCommerce buttons. */
body.np-pe-page .np-pe-article :is(a.np-btn, a.wp-block-button__link, section[aria-label="انتخاب سریع بر اساس کاربری"] > div > article > a) {
	display: inline-flex;
	min-height: 46px;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	padding: 11px 20px !important;
	border: 1px solid var(--np-pe-blue) !important;
	border-radius: 6px !important;
	color: #fff !important;
	background: var(--np-pe-blue) !important;
	box-shadow: none;
	font-family: "PeydaWeb", Tahoma, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 800;
	line-height: 1.7;
	text-align: center;
	text-decoration: none !important;
	transition: background-color .18s ease, border-color .18s ease;
}

body.np-pe-page .np-pe-article :is(a.np-btn, a.wp-block-button__link, section[aria-label="انتخاب سریع بر اساس کاربری"] > div > article > a):is(:hover, :focus-visible) {
	border-color: #07517d !important;
	color: #fff !important;
	background: #07517d !important;
}

.np-pe-article :where(.schema-faq-section, .wp-block-details) {
	margin-bottom: 13px;
	padding: 22px;
	border: 1px solid var(--np-pe-line);
	border-radius: 7px;
	background: #fff;
}

.np-pe-article :where(.schema-faq-question, summary) {
	display: block;
	color: var(--np-pe-ink);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.8;
}

.np-pe-article summary {
	display: list-item;
	cursor: pointer;
}

.np-pe-article :where(.schema-faq-answer, .wp-block-details > p) {
	margin-block: 12px 0;
	color: var(--np-pe-muted);
	font-size: 15px;
	line-height: 2;
}

/* Match legacy content callouts to the component without changing stored copy. */
.np-pe-article .np-summary,
.np-pe-article .np-buybox {
	margin-block: 26px !important;
	padding: 24px !important;
	border: 1px solid #c8deec !important;
	border-inline-start: 4px solid var(--np-pe-blue) !important;
	border-radius: 7px !important;
	color: var(--np-pe-text) !important;
	background: #edf7fc !important;
	box-shadow: none !important;
}

.np-pe-article :where(.np-summary, .np-buybox) :where(h2, h3, strong) {
	color: var(--np-pe-ink) !important;
}

.np-pe-article :where(.np-summary, .np-buybox) > :last-child {
	margin-bottom: 0;
}

.np-pe-footer-cta {
	padding-block: 48px;
	color: #fff;
	background: var(--np-pe-ink);
}

.np-pe-footer-cta > .np-pe-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.np-pe-footer-cta h2 {
	margin-bottom: 9px;
	color: #fff;
	font-size: clamp(25px, 2.7vw, 34px);
}

.np-pe-footer-cta p {
	max-width: 660px;
	color: #c5d6e2;
	font-size: 15px;
}

.np-pe-footer-cta .np-pe-actions {
	flex-shrink: 0;
}

.np-pe-comments {
	padding-block: 48px 60px;
}

.np-pe-comments .comments-area {
	margin: 0;
	padding: 0;
	border: 0;
}

.np-pe-comments .ast-comment-meta.ast-row { margin-inline: 0; }

.np-pe-comments :where(.comments-title, .comment-reply-title) {
	margin-bottom: 22px;
	font-size: 25px;
}

.np-pe-comments :where(input, textarea, select) {
	max-width: 100%;
	border-color: #b7cbd9;
	border-radius: 5px;
	font-family: inherit;
}

body.np-pe-page .np-pe-comments .submit {
	min-height: 46px;
	border: 1px solid var(--np-pe-blue);
	border-radius: 5px;
	color: #fff;
	background: var(--np-pe-blue);
	font-family: inherit;
}

body.np-pe-page .np-pe-comments .submit:is(:hover, :focus-visible) {
	border-color: #07517d;
	color: #fff;
	background: #07517d;
}

@media (max-width: 1000px) {
	.np-pe-hero-grid {
		gap: 28px;
	}

	.np-pe-hero h1 {
		font-size: 43px;
	}

	.np-pe-app-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.np-pe-guide-grid {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 28px;
	}

	.np-pe-guide-nav {
		padding-inline: 12px;
	}

	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.np-pe-footer-cta > .np-pe-shell {
		align-items: start;
		flex-direction: column;
	}
}

@media (max-width: 780px) {
	.np-pe-hero {
		padding-top: 30px;
	}

	.np-pe-hero-grid,
	.np-pe-buy-grid,
	.np-pe-guide-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.np-pe-hero-grid {
		gap: 28px;
		padding-bottom: 28px;
	}

	.np-pe-breadcrumb {
		margin-bottom: 22px;
	}

	.np-pe-specs {
		gap: 15px;
	}

	.np-pe-specs > div + div {
		padding-inline-start: 15px;
	}

	.np-pe-specs strong {
		font-size: 18px;
	}

	.np-pe-section-head {
		align-items: start;
		flex-direction: column;
		gap: 15px;
	}

	.np-pe-section-head .np-pe-intro {
		max-width: none;
	}

	.np-pe-sizes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.np-pe-guide-nav {
		position: static;
		padding: 20px;
	}

	.np-pe-guide-nav nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4px 12px;
	}
}

@media (max-width: 520px) {
	.np-pe-shell {
		width: calc(100% - 32px);
	}

	.np-pe-hero h1 {
		font-size: clamp(34px, 10vw, 43px);
	}

	.np-pe-lead {
		font-size: 15px;
	}

	.np-pe-hero .np-pe-actions,
	.np-pe-footer-cta .np-pe-actions {
		display: grid;
		width: 100%;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.np-pe-specs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
		padding-block: 22px;
	}

	.np-pe-specs > div + div {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.np-pe-specs > div:nth-child(even) {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.np-pe-specs strong {
		font-size: 15px;
	}

	.np-pe-jump > .np-pe-shell {
		gap: 0 20px;
		padding-block: 9px;
	}

	.np-pe-jump a {
		font-size: 12px;
	}

	.np-pe-section {
		padding-block: 46px;
	}

	.np-pe-section-head {
		margin-bottom: 22px;
	}

	.np-pe-app-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.np-pe a.np-pe-app {
		padding: 22px;
	}

	.np-pe-app-number {
		margin-bottom: 12px;
	}

	.np-pe-app p {
		margin-bottom: 14px;
	}

	.np-pe-sizes {
		gap: 10px;
	}

	.np-pe-sizes a {
		padding: 16px 13px;
	}

	.np-pe-sizes strong {
		font-size: 20px;
	}

	.np-pe-sizes span {
		font-size: 12px;
	}

	.np-pe-contact-card {
		padding: 25px 20px;
	}

	.np-pe-guide-nav {
		padding: 16px 10px;
	}

	.np-pe-guide-nav nav {
		gap: 0;
	}

	.np-pe-guide-nav nav a {
		padding: 9px 10px;
		font-size: 12px;
	}

	.np-pe-article {
		font-size: 15px;
		line-height: 2.05;
	}

	.np-pe-article :where(h2, h3, h4) {
		margin-top: 30px;
	}

	.np-pe-article h3 {
		font-size: 20px;
	}

	.np-pe-article .wp-block-columns {
		gap: 14px;
	}

	.np-pe-article .wp-block-column {
		flex-basis: 100% !important;
	}

	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products {
		gap: 10px;
	}

	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products .wc-block-grid__product {
		padding: 10px;
	}

	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__products .wc-block-grid__product-title,
	.np-pe-article .wc-block-grid__product .wp-block-button__link {
		font-size: 14px;
	}

	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product-image { height: 120px; }
	body.np-pe-page .np-pe-article .wc-block-grid .wc-block-grid__product-image img { max-height: 120px; }
	.np-pe-article .np-pe-brand-cards tr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.np-pe-article .np-pe-brand-cards td { min-height: 100px; padding: 16px 20px !important; }

	.np-pe-article :where(.schema-faq-section, .wp-block-details) {
		padding: 19px 17px;
	}

	.np-pe-article .np-summary,
	.np-pe-article .np-buybox {
		padding: 20px 17px !important;
	}

	.np-pe-comments {
		padding-block: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.np-pe *,
	.np-pe *::before,
	.np-pe *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
