/**
 * Pishtazan Shop — blog, article and page-template layouts (about,
 * contact, buying guide). Loaded only on those views (inc/assets.php);
 * every color comes from the --pz-* tokens.
 */

/* ------------------------------------------------------------ page hero */
.pz-page-hero {
	position: relative; overflow: hidden; display: grid; align-items: center;
	width: calc(100% - 32px); max-width: calc(var(--pz-container) - 32px); margin: 20px auto 0; min-height: 220px;
	border-radius: var(--pz-radius); color: var(--pz-secondary-ink);
	background: linear-gradient(135deg, var(--pz-secondary), color-mix(in srgb, var(--pz-secondary) 62%, #000));
}
.pz-page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pz-page-hero--image { min-height: 300px; }
.pz-page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 45%) 45%, rgb(0 0 0 / 0%) 75%); }
.pz-page-hero__body { position: relative; z-index: 1; padding: clamp(22px, 4.5vw, 48px); max-width: 720px; }
.pz-page-hero .pz-breadcrumb, .pz-page-hero .pz-breadcrumb a, .pz-page-hero .woocommerce-breadcrumb { color: inherit; opacity: .9; }
.pz-page-hero__eyebrow { display: inline-block; margin-bottom: 6px; padding: .1em .8em; border-radius: 999px; background: rgb(255 255 255 / 16%); font-size: .82em; font-weight: 700; }
.pz-page-hero__title { font-size: clamp(1.6em, 3.4vw, 2.5em); margin: 0 0 .25em; }
.pz-page-hero__subtitle { margin: 0 0 .4em; font-size: clamp(1.05em, 1.8vw, 1.35em); font-weight: 800; }
.pz-page-hero__text { opacity: .92; font-size: 1.02em; max-width: 560px; }
.pz-page-hero__text p { margin: 0 0 .4em; }

.pz-blog-search { display: flex; gap: 8px; max-width: 520px; margin-top: 16px; }
.pz-blog-search .pz-input { flex: 1; min-height: 46px; border: 0; }
.pz-blog-search .pz-btn { min-width: 52px; padding-inline: 14px; }

/* ------------------------------------------------------------ blog archive */
.pz-blog-archive { padding-block: 22px 44px; display: grid; gap: 26px; }
.pz-blog-archive > .pz-section__title { margin: 0; }
.pz-blog-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-blog-chips .pz-chip { padding: .45em 1.1em; font-size: .9em; }
.pz-blog-chips .pz-chip small { color: var(--pz-muted); font-weight: 500; }
.pz-blog-chips .pz-chip--active { background: var(--pz-primary); border-color: var(--pz-primary); color: var(--pz-primary-ink); }
.pz-blog-chips .pz-chip--active small { color: inherit; opacity: .8; }

.pz-blog-featured { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.pz-blog-featured--solo { grid-template-columns: 1fr; }
.pz-blog-featured__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); overflow: hidden; }
.pz-blog-featured__media img, .pz-blog-featured__media .pz-post-card__placeholder { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; aspect-ratio: auto; }
.pz-blog-featured__body { padding: clamp(18px, 2.5vw, 28px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pz-blog-featured__title { font-size: clamp(1.15em, 1.9vw, 1.5em); margin: 0; }
.pz-blog-featured__excerpt { color: var(--pz-muted); margin: 0; }
.pz-blog-featured__body .pz-btn { margin-top: auto; }
.pz-blog-featured__side { list-style: none; margin: 0; padding: 16px; display: grid; gap: 14px; align-content: start; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-blog-featured__side--plain { padding: 0; border: 0; background: none; }

.pz-mini-post { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
.pz-mini-post + .pz-mini-post { padding-top: 14px; border-top: 1px solid var(--pz-border); }
.pz-mini-post__media { display: block; width: 84px; height: 84px; border-radius: var(--pz-radius-sm); overflow: hidden; background: var(--pz-bg); }
.pz-mini-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pz-mini-post__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .92em; line-height: 1.7; }
.pz-mini-post__meta { color: var(--pz-muted); font-size: .78em; }

.pz-blog-newsletter:empty { display: none; }
.pz-blog-archive .pz-pagination { margin-top: -6px; }

/* ------------------------------------------------------------ single post */
.pz-single { padding-block: 22px 44px; display: grid; gap: 28px; }
.pz-single--aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.pz-article { background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); padding: clamp(16px, 3vw, 32px); min-width: 0; }
.pz-article__head { margin-bottom: 20px; }
.pz-article__cover { position: relative; margin: 12px 0 20px; }
.pz-article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--pz-radius); display: block; margin: 0; }
.pz-article__cover .pz-post-card__cat { top: 16px; inset-inline-start: 16px; font-size: .85em; }
.pz-article__title { font-size: clamp(1.45em, 2.8vw, 2.1em); margin: 0 0 .35em; }
.pz-article__excerpt { color: var(--pz-muted); font-size: 1.06em; margin: 0 0 14px; }
.pz-article__meta { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--pz-border); display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--pz-muted); font-size: .88em; }
.pz-article__meta li { display: inline-flex; align-items: center; gap: 6px; }
.pz-article__meta a:hover { color: var(--pz-primary); }
.pz-article__avatar { border-radius: 50%; }

.pz-toc { margin: 0 0 24px; border: 1px solid var(--pz-border); border-inline-start: 4px solid var(--pz-primary); border-radius: var(--pz-radius-sm); background: var(--pz-primary-soft); }
.pz-toc summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 800; cursor: pointer; list-style: none; }
.pz-toc summary::-webkit-details-marker { display: none; }
.pz-toc summary .pz-icon--chevron-down { margin-inline-start: auto; transition: transform .15s; }
.pz-toc[open] summary .pz-icon--chevron-down { transform: rotate(180deg); }
.pz-toc ol { margin: 0; padding: 0 40px 14px 16px; columns: 2; column-gap: 32px; }
.pz-toc li { break-inside: avoid; padding-block: 3px; }
.pz-toc a:hover { color: var(--pz-primary); text-decoration: underline; }

.pz-article .pz-article__content { background: none; border: 0; border-radius: 0; padding: 0; font-size: 1.04em; line-height: 2.05; }
.pz-article__content h2 { position: relative; margin-top: 1.6em; padding-inline-start: 14px; font-size: 1.35em; scroll-margin-top: 110px; }
.pz-article__content h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--pz-primary); }
.pz-article__content h3 { margin-top: 1.3em; font-size: 1.12em; }
.pz-article__content img { height: auto; }
.pz-article__content figure { margin-inline: 0; }
.pz-article__content figcaption { color: var(--pz-muted); font-size: .85em; text-align: center; }

/* Quote, tip and checklist styles (also offered as block styles). */
.pz-entry blockquote, .pz-entry .wp-block-quote, .pz-entry .wp-block-pullquote {
	position: relative; margin: 1.6em 0; padding: 18px 56px 18px 22px; border: 0;
	border-radius: var(--pz-radius-sm); background: var(--pz-bg); font-weight: 600; color: var(--pz-text);
}
.pz-entry blockquote::before, .pz-entry .wp-block-quote::before {
	content: "\201D"; position: absolute; inset-inline-start: 16px; top: 4px;
	font-size: 3.2em; line-height: 1; color: var(--pz-primary); font-family: Georgia, serif;
}
.pz-entry blockquote p:last-child { margin-bottom: 0; }
.pz-entry blockquote cite { display: block; margin-top: 6px; color: var(--pz-muted); font-size: .85em; font-style: normal; font-weight: 500; }
.pz-entry .pz-tip, .pz-entry .is-style-pz-tip {
	position: relative; margin: 1.4em 0; padding: 16px 20px 16px 20px; padding-inline-start: 54px;
	border: 1px solid #f3dca4; border-radius: var(--pz-radius-sm); background: #fff8e6;
}
.pz-entry .pz-tip::before, .pz-entry .is-style-pz-tip::before {
	content: ""; position: absolute; inset-inline-start: 18px; top: 18px; width: 22px; height: 22px; background: #b7791f;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pz-entry ul.pz-checklist, .pz-entry ul.is-style-pz-checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 8px; }
.pz-entry ul.pz-checklist li, .pz-entry ul.is-style-pz-checklist li {
	position: relative; padding: 8px 14px; padding-inline-start: 42px; border-radius: var(--pz-radius-sm); background: var(--pz-primary-soft);
}
.pz-entry ul.pz-checklist li::before, .pz-entry ul.is-style-pz-checklist li::before {
	content: ""; position: absolute; inset-inline-start: 14px; top: .75em; width: 18px; height: 18px; background: var(--pz-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pz-entry ol:not([class]) { padding-inline-start: 1.6em; list-style-type: persian; }
.pz-toc ol { list-style-type: persian; }
.pz-entry ol:not([class]) li::marker { color: var(--pz-primary); font-weight: 800; }

.pz-article__foot { display: grid; gap: 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--pz-border); }
.pz-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pz-article__tags a { padding: .2em .9em; border: 1px solid var(--pz-border); border-radius: 999px; font-size: .85em; }
.pz-article__tags a:hover { border-color: var(--pz-primary); }
.pz-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pz-share strong { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 6px; }
.pz-share__link {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
	border: 1px solid var(--pz-border); border-radius: 50%; background: var(--pz-surface); color: var(--pz-text);
	transition: background .15s, color .15s, border-color .15s;
}
.pz-share__link:hover, .pz-share__link.is-copied { background: var(--pz-primary); border-color: var(--pz-primary); color: var(--pz-primary-ink); }
.pz-author { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--pz-radius); background: var(--pz-bg); }
.pz-author__avatar { border-radius: 50%; flex: none; }
.pz-author small { color: var(--pz-muted); }
.pz-author__name { font-size: 1.05em; margin: 0 0 4px; }
.pz-author p { margin: 0; color: var(--pz-muted); font-size: .92em; }
.pz-article .pz-post-nav { margin-block: 24px 0; }
.pz-article .pz-comments { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--pz-border); }
.pz-single .comment-form { display: grid; gap: 12px; }
.pz-single .comment-form p { margin: 0; }
.pz-single .comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .92em; }
.pz-single .comment-form textarea, .pz-single .comment-form input[type="text"], .pz-single .comment-form input[type="email"], .pz-single .comment-form input[type="url"] { width: 100%; padding: 10px 12px; border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); background: var(--pz-surface); }
.pz-single .comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.pz-single .comment-form .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 500; }
.pz-single .comment-form .submit { min-height: 44px; padding: .55em 1.6em; border: 0; border-radius: var(--pz-radius-sm); background: var(--pz-primary); color: var(--pz-primary-ink); font-weight: 700; cursor: pointer; }

.pz-single__aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.pz-aside-card { padding: 18px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-aside-product { text-align: center; }
.pz-aside-product .pz-block-title { text-align: start; }
.pz-aside-product__media img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; margin-inline: auto; display: block; }
.pz-aside-product__title { font-size: .98em; margin: 10px 0 4px; }
.pz-aside-product__price { margin-bottom: 12px; font-weight: 800; color: var(--pz-primary); }
.pz-aside-product__price del { color: var(--pz-muted); font-weight: 500; margin-inline-end: 6px; }
.pz-aside-product__price ins { text-decoration: none; }

/* ------------------------------------------------------------ landing pages */
.pz-landing { padding-block: 26px 48px; display: grid; gap: 36px; }
/* The same sections as Elementor widgets: one landing wrapper per widget. */
.pz-landing--item { padding-block: 0; margin-block: 0 36px; }
.pz-el-page { padding-block-end: 12px; }
.pz-el-page .pz-page-hero { margin-block-end: 26px; }
.pz-block { display: grid; gap: 18px; }
.pz-block > .pz-section__title { margin: 0; }
.pz-tint { padding: clamp(18px, 3vw, 28px); border-radius: var(--pz-radius); background: color-mix(in srgb, var(--pz-secondary) 7%, var(--pz-surface)); }

/* section heading: red eyebrow, bold title, muted lead */
.pz-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin: 0; }
.pz-head__text { min-width: 0; }
.pz-head__eyebrow { display: block; margin-bottom: 2px; color: var(--pz-accent); font-weight: 800; font-size: 1em; }
.pz-head__title { position: relative; margin: 0; padding-inline-start: 14px; font-size: clamp(1.15em, 2vw, 1.45em); line-height: 1.5; }
.pz-head__title::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--pz-accent); }
.pz-head__eyebrow + .pz-head__title { padding-inline-start: 0; font-size: clamp(1.3em, 2.6vw, 1.85em); }
.pz-head__eyebrow + .pz-head__title::before { display: none; }
.pz-head__lead { margin: 4px 0 0; color: var(--pz-muted); font-size: .92em; }

/* round icon badges */
.pz-round { display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--pz-secondary); color: #fff; }
.pz-round--red { background: var(--pz-accent); }
.pz-round--green { background: var(--pz-secondary); }
.pz-round--line { width: 58px; height: 58px; background: var(--pz-surface); border: 2px solid currentColor; }
.pz-tone-green { color: var(--pz-secondary); }
.pz-tone-red { color: var(--pz-accent); }
.pz-tone-blue { color: #1d6fd6; }

.pz-btn--outline { background: var(--pz-surface); border-color: currentColor; color: var(--pz-accent); }
.pz-btn--outline:hover { background: var(--pz-accent); border-color: var(--pz-accent); color: var(--pz-accent-ink); }
.pz-btn--soft { background: var(--pz-accent-soft); color: var(--pz-accent); }
.pz-btn--soft:hover { background: var(--pz-accent); color: var(--pz-accent-ink); }

/* story */
.pz-story { display: grid; gap: 28px; align-items: center; }
.pz-story--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pz-story__body { display: grid; gap: 12px; }
.pz-story__body .pz-entry { color: var(--pz-muted); line-height: 2.05; }
.pz-story__body .pz-entry p { margin: 0 0 .6em; }
.pz-story__media { margin: 0; }
.pz-story__media img { width: 100%; border-radius: var(--pz-radius); display: block; box-shadow: var(--pz-shadow); }
.pz-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--pz-radius-sm); background: #fff8e6; border: 1px solid #f3dca4; font-size: .9em; }
.pz-note .pz-icon { color: #b7791f; margin-top: 2px; }
.pz-note--wide { background: var(--pz-surface); border-color: var(--pz-border); }
.pz-note--wide .pz-icon { color: var(--pz-secondary); }

/* mission / vision */
.pz-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pz-duo__card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--pz-radius); background: var(--pz-surface); border: 1px solid var(--pz-border); }
.pz-duo__card h2 { font-size: 1.15em; margin: 0 0 6px; }
.pz-duo__card p { margin: 0; color: var(--pz-muted); font-size: .92em; }

/* stats */
.pz-stats { list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); text-align: center; }
.pz-stats li { display: grid; justify-items: center; gap: 4px; padding: 6px 12px; }
.pz-stats li + li { border-inline-start: 1px solid var(--pz-border); }
.pz-stats strong { font-size: clamp(1.5em, 2.6vw, 2em); font-weight: 900; line-height: 1.3; }
.pz-stats span { color: var(--pz-muted); font-size: .9em; }

/* timeline: horizontal with a dotted connector */
.pz-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; position: relative; }
.pz-timeline::before { content: ""; position: absolute; top: 29px; inset-inline: 8%; border-top: 2px dashed var(--pz-border); }
.pz-timeline__item { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.pz-timeline__year { font-weight: 900; font-size: 1.15em; }
.pz-timeline__year:empty { display: none; }
.pz-timeline__item h3 { font-size: 1em; margin: 6px 0 2px; }
.pz-timeline__item p { margin: 0; color: var(--pz-muted); font-size: .88em; max-width: 240px; }

/* features (why us / support) */
.pz-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.pz-feature { padding: 20px 18px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); text-align: center; transition: box-shadow .15s, transform .15s; }
.pz-feature:hover { box-shadow: var(--pz-shadow); transform: translateY(-2px); }
.pz-feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; background: color-mix(in srgb, var(--pz-secondary) 12%, var(--pz-surface)); color: var(--pz-secondary); }
.pz-feature h3 { font-size: 1em; margin: 0 0 4px; }
.pz-feature p { margin: 0; color: var(--pz-muted); font-size: .88em; }
.pz-features--row .pz-feature { display: flex; gap: 14px; align-items: flex-start; text-align: start; }
.pz-features--row .pz-feature__icon { margin: 0; flex: none; background: none; width: auto; height: auto; }

/* image banner */
.pz-banner { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 240px; border-radius: var(--pz-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--pz-secondary) 62%, #000), var(--pz-secondary)); color: #fff; }
.pz-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pz-banner--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 55%) 45%, rgb(0 0 0 / 5%) 80%); }
.pz-banner__body { position: relative; z-index: 1; max-width: 600px; padding: clamp(22px, 4vw, 44px); }
.pz-banner__eyebrow { color: #5fd38d; font-weight: 800; }
.pz-banner__body h2 { font-size: clamp(1.3em, 2.6vw, 1.9em); margin: 6px 0 8px; }
.pz-banner__body p { margin: 0; opacity: .92; }

/* call to action bands */
.pz-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 30px); border-radius: var(--pz-radius); background: var(--pz-primary-soft); }
.pz-cta__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--pz-accent); color: #fff; flex: none; }
.pz-cta__body { flex: 1; min-width: 220px; position: relative; z-index: 1; }
.pz-cta__body h2 { font-size: clamp(1.1em, 2vw, 1.35em); margin: 0 0 4px; }
.pz-cta__body p { margin: 0; opacity: .85; }
.pz-cta__img { width: min(300px, 32%); height: auto; max-height: 150px; object-fit: contain; margin-block: -10px; }
.pz-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.pz-cta__btn { background: var(--pz-accent); color: #fff; }
.pz-cta__btn:hover { color: #fff; filter: brightness(.92); }
.pz-cta--dark { background: #171b1a; color: #fff; }
.pz-cta--red { background: linear-gradient(90deg, #8f1016, var(--pz-accent)); color: #fff; }
.pz-cta--red .pz-cta__icon { background: rgb(255 255 255 / 16%); }
.pz-cta--red .pz-cta__btn { background: #fff; color: var(--pz-accent); }
.pz-cta--green { background: linear-gradient(90deg, color-mix(in srgb, var(--pz-secondary) 62%, #000), var(--pz-secondary)); color: #fff; }
.pz-cta--green .pz-cta__btn, .pz-cta--dark .pz-cta__btn { background: var(--pz-accent); }

/* contact */
.pz-channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.pz-channel { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 22px 16px; text-align: center; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-channel .pz-round { width: 56px; height: 56px; margin-bottom: 8px; }
.pz-channel__title { font-size: 1.05em; margin: 0 0 2px; }
.pz-channel__value { font-weight: 800; font-size: 1.02em; }
a.pz-channel__value:hover { color: var(--pz-primary); }
.pz-channel small { color: var(--pz-muted); margin-top: 4px; }

.pz-contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pz-contact-layout--solo { grid-template-columns: minmax(0, 860px); justify-content: center; }
.pz-contact-box, .pz-contact-map { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 3vw, 26px); background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-contact-box__intro { color: var(--pz-muted); }
.pz-contact-box__fallback { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pz-contact-map__frame { flex: 1; min-height: 320px; border-radius: var(--pz-radius-sm); overflow: hidden; background: var(--pz-bg); }
.pz-contact-map__frame iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.pz-contact-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--pz-radius-sm); background: var(--pz-bg); font-size: .9em; }
.pz-contact-map__bar > span { display: inline-flex; align-items: center; gap: 6px; }
.pz-contact-map__bar .pz-icon { color: var(--pz-secondary); }
.pz-notice { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--pz-radius-sm); font-weight: 700; margin: 0; }
.pz-notice--ok { background: #e7f6ee; color: #155c39; }
.pz-notice--error { background: var(--pz-accent-soft); color: var(--pz-accent); }

.pz-support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pz-support-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; min-height: 150px; padding: 22px 24px; border-radius: var(--pz-radius); background: color-mix(in srgb, var(--pz-secondary) 9%, var(--pz-surface)); }
.pz-support-card--red { background: var(--pz-accent-soft); }
.pz-support-card__body { flex: 1; position: relative; z-index: 1; display: grid; gap: 6px; justify-items: start; }
.pz-support-card__body h2 { font-size: 1.15em; margin: 0; }
.pz-support-card__body p { margin: 0 0 4px; color: var(--pz-muted); font-size: .9em; max-width: 320px; }
.pz-support-card--green .pz-btn--outline { color: var(--pz-secondary); }
.pz-support-card--green .pz-btn--outline:hover { background: var(--pz-secondary); border-color: var(--pz-secondary); color: #fff; }
.pz-support-card .pz-round { position: relative; z-index: 1; }
.pz-support-card__img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 34%; height: 100%; object-fit: cover; }
.pz-support-card--media { padding-inline-end: calc(34% + 18px); }

/* FAQ in two columns */
.pz-faq--cols { grid-template-columns: 1fr 1fr; align-items: start; }

/* guide */
.pz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.pz-step { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; padding: 26px 14px 18px; text-align: center; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-step + .pz-step::before { content: "‹"; position: absolute; inset-inline-start: -15px; top: 50%; transform: translateY(-50%); font-size: 1.6em; line-height: 1; color: var(--pz-text); }
.pz-step__num { position: absolute; top: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pz-accent); color: var(--pz-accent-ink); font-weight: 800; font-size: .82em; }
.pz-step__icon { margin-bottom: 6px; }
.pz-step h3 { font-size: .98em; margin: 0; }
.pz-step p { margin: 0; color: var(--pz-muted); font-size: .85em; }
.pz-guide-content { padding: clamp(18px, 3vw, 30px); background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-guide-content .pz-entry h2 { position: relative; padding-inline-start: 14px; font-size: 1.2em; margin-top: 1.4em; }
.pz-guide-content .pz-entry h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 4px; border-radius: 4px; background: var(--pz-primary); }

.pz-compare-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pz-compare-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-compare-card__top { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.pz-compare-card__top h3 { font-size: 1.08em; margin: 0 0 4px; }
.pz-compare-card__top p { margin: 0; color: var(--pz-muted); font-size: .86em; }
.pz-compare-card__img { width: 46%; max-width: 170px; height: auto; object-fit: contain; flex: none; }
.pz-compare-card__specs { margin: 0; display: grid; }
.pz-compare-card__specs > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--pz-border); font-size: .86em; }
.pz-compare-card__specs dt { display: inline-flex; align-items: center; gap: 6px; color: var(--pz-text); font-weight: 600; }
.pz-compare-card__specs dt .pz-icon { color: var(--pz-secondary); }
.pz-compare-card__specs dd { margin: 0; color: var(--pz-muted); text-align: end; }
.pz-compare-card .pz-btn { margin-top: auto; }

.pz-conditions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pz-condition { position: relative; padding: 20px; border-radius: var(--pz-radius); background: #eef7f1; border: 1px solid #cfe8d8; }
.pz-condition--open-box { background: #fdf6e7; border-color: #f1dfb2; }
.pz-condition--stock { background: #fdeeee; border-color: #f4cccc; }
.pz-condition > .pz-badge { position: absolute; top: 14px; inset-inline-end: 14px; border-radius: 6px; font-size: .82em; }
.pz-condition--new > .pz-badge { background: #1f7a4c; color: #fff; }
.pz-condition--open-box > .pz-badge { background: #c58a00; color: #fff; }
.pz-condition--stock > .pz-badge { background: #d42b2b; color: #fff; }
.pz-condition__body { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.pz-condition__body h3 { font-size: 1.12em; margin: 0 0 8px; }
.pz-condition__body p { margin: 0; color: var(--pz-muted); font-size: .9em; }
.pz-condition__img { width: 46%; max-width: 180px; height: auto; object-fit: contain; flex: none; mix-blend-mode: multiply; }

.pz-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88em; }
.pz-checks li { display: flex; align-items: flex-start; gap: 6px; }
.pz-checks .pz-icon { color: #1f9d57; flex: none; margin-top: 3px; }
.pz-checks--cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; font-size: .95em; }
.pz-checks--cards li { padding: 12px 14px; border-radius: var(--pz-radius-sm); background: var(--pz-surface); border: 1px solid var(--pz-border); }
.pz-choose { display: grid; gap: 22px; align-items: center; }
.pz-choose--media { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.pz-choose > div { display: grid; gap: 16px; }
.pz-choose__img { width: 100%; height: auto; border-radius: var(--pz-radius); display: block; }

/* brand families */
.pz-families { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pz-family { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-top: 4px solid var(--pz-secondary); border-radius: var(--pz-radius); }
.pz-family--red { border-top-color: var(--pz-accent); }
.pz-family__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--pz-radius-sm); background: #fff; }
.pz-family__badge { justify-self: start; padding: .1em .7em; border-radius: 6px; background: var(--pz-secondary); color: #fff; font-weight: 900; font-size: .9em; }
.pz-family--red .pz-family__badge { background: var(--pz-accent); }
.pz-family h3 { margin: 4px 0 0; font-size: 1.12em; }
.pz-family p { margin: 0; color: var(--pz-muted); font-size: .9em; }
.pz-family__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--pz-accent); font-weight: 700; font-size: .9em; }

.pz-trust--band { padding: 10px; border-radius: var(--pz-radius); background: color-mix(in srgb, var(--pz-secondary) 7%, var(--pz-surface)); }
.pz-landing .pz-trust, .pz-blog-archive .pz-trust { margin: 0; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
	.pz-single--aside { grid-template-columns: minmax(0, 1fr) 280px; }
	.pz-blog-featured { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.pz-single--aside { grid-template-columns: 1fr; }
	.pz-single__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	.pz-story--media, .pz-contact-layout, .pz-support-cards, .pz-choose--media, .pz-faq--cols { grid-template-columns: 1fr; }
	.pz-timeline::before, .pz-step + .pz-step::before { display: none; }
	.pz-stats li + li { border-inline-start: 0; }
	.pz-toc ol { columns: 1; }
}

@media (max-width: 600px) {
	.pz-page-hero { width: calc(100% - 24px); margin-top: 12px; min-height: 180px; }
	.pz-blog-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
	.pz-blog-chips .pz-chip { white-space: nowrap; }
	.pz-blog-featured__main { grid-template-columns: 1fr; }
	.pz-blog-featured__media img { min-height: 0; aspect-ratio: 16 / 10; }
	.pz-duo { grid-template-columns: 1fr; }
	.pz-article { padding: 14px; border-radius: var(--pz-radius-sm); }
	.pz-article__cover img { aspect-ratio: 16 / 10; }
	.pz-cta { text-align: center; justify-content: center; }
	.pz-cta__actions { justify-content: center; width: 100%; }
	.pz-steps { grid-template-columns: 1fr 1fr; }
	.pz-stats { grid-template-columns: 1fr 1fr; }
	.pz-page-hero--image { min-height: 240px; }
	.pz-page-hero--image::after { background: linear-gradient(to left, rgb(0 0 0 / 80%), rgb(0 0 0 / 55%)); }
	.pz-duo__card { flex-direction: column; text-align: center; }
	.pz-support-card--media { padding-inline-end: 24px; }
	.pz-support-card__img { display: none; }
	.pz-cta__img { display: none; }
	.pz-compare-card__top, .pz-condition__body { flex-direction: column-reverse; align-items: stretch; }
	.pz-compare-card__img, .pz-condition__img { width: 60%; align-self: center; }
}

/* left-to-right languages: keep text over the photos' dark side */
[dir="ltr"] .pz-page-hero__body, [dir="ltr"] .pz-banner__body { justify-self: end; }
[dir="ltr"] .pz-step + .pz-step::before { content: "›"; }
