/*
 * דפי התוכן ב-HTML (בלי אלמנטור) — שפת העיצוב של Printix (printix3dc/UI-UX). תומר 13.10.2026.
 * נטען רק בדפים שב-PXST_Pages::MAP. כל המחלקות pxpg-*. הכותרת והפוטר — של אלמנטור (כמו בכל האתר).
 */
.pxpg {
	--ink: #191512; --muted: #7A7166; --link: #8A5A1F; --line: #E6DFD6; --soft: #F0E3D8; --sand: #D5B398; --bg: #FBFAF7;
	--ok: #2F7D4F; --ok-bg: #E5F2EA; --bad: #B42318; --bad-bg: #FDE8E6;
	--shadow: 0 12px 32px -8px rgba(25,21,18,.22), 0 2px 6px rgba(25,21,18,.06);
	--ease: cubic-bezier(.2,.7,.2,1);
	direction: rtl; text-align: right;
	font-family: Heebo, system-ui, -apple-system, sans-serif;
	font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--ink);
	max-width: 1100px; margin: 0 auto; padding: 32px 16px 48px; box-sizing: border-box;
}
.pxpg *, .pxpg *::before, .pxpg *::after { box-sizing: border-box; }
.pxpg :is(h1, h2, h3, h4) { font-family: inherit; color: var(--ink); line-height: 1.25; margin: 0 0 12px; }
.pxpg h1 { font-size: 36px; font-weight: 800; }
.pxpg h2 { font-size: 28px; font-weight: 700; }
.pxpg h3 { font-size: 22px; font-weight: 700; }
.pxpg h4 { font-size: 18px; font-weight: 700; }
.pxpg p { margin: 0 0 12px; }
.pxpg a { color: var(--link); text-decoration: none; }
.pxpg a:hover { color: var(--ink); text-decoration: underline; }
.pxpg a:focus, .pxpg button:focus { outline: 0; }
.pxpg img { max-width: 100%; height: auto; display: block; border-radius: 20px; }
.pxpg ul, .pxpg ol { margin: 0 0 12px; padding-inline-start: 24px; }
.pxpg li { margin-bottom: 4px; }
.pxpg strong, .pxpg b { font-weight: 700; }
.pxpg .ltr, .pxpg bdi { direction: ltr; unicode-bidi: isolate; }

/* ---------- ראש הדף ---------- */
.pxpg-hero { text-align: center; margin: 0 auto 32px; max-width: 760px; }
.pxpg-hero h1 { margin-bottom: 8px; }
.pxpg-lead { font-size: 18px; color: var(--muted); margin: 0; }
.pxpg-eyebrow { display: inline-block; font-size: 14px; font-weight: 500; color: var(--link); background: var(--soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }

/* ---------- מקטעים וכרטיסים (D3, D16: לבן, קו, פינות 20, בלי צל) ---------- */
.pxpg-section { margin: 0 0 32px; }
.pxpg-section > h2 { margin-bottom: 16px; }
.pxpg-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.pxpg-card + .pxpg-card { margin-top: 16px; }
/* 13.10: בתוך רשת הכרטיסים — בלי הרווח למעלה (הוא הוריד כל כרטיס חוץ מהראשון, השורות לא היו מיושרות) */
:is(.pxpg-grid, .pxpg-grid-2) > .pxpg-card + .pxpg-card { margin-top: 0; }
.pxpg-soft { background: var(--soft); border-color: var(--soft); }

/* טקסט ארוך (תקנון, מדיניות) */
.pxpg-prose { max-width: 820px; margin: 0 auto; }
.pxpg-prose h2 { font-size: 22px; margin-top: 24px; }
.pxpg-prose h3 { font-size: 18px; margin-top: 20px; }
.pxpg-prose p, .pxpg-prose li { color: var(--ink); }
.pxpg-updated { color: var(--muted); font-size: 14px; }

/* רשת כרטיסים */
.pxpg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; } /* auto-fit: שני כרטיסים ממלאים את כל הרוחב */
.pxpg-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }
.pxpg-tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.pxpg-tile img { border-radius: 0; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--bg); }
.pxpg-tile-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pxpg-tile-body h3 { font-size: 18px; margin: 0; }
.pxpg-tile-body p { color: var(--muted); font-size: 14px; margin: 0; }
.pxpg-tile-body .pxpg-btn { margin-top: auto; }

/* ---------- כפתורים (D2, D12, D14): 50 גובה, פינות 20, חול / לבן, ריחוף #111 ---------- */
.pxpg-btn, .pxpg-btn2 {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 24px; border-radius: 20px;
	font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.25;
	text-decoration: none !important; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pxpg-btn { background: var(--sand); border: 1px solid var(--sand); color: #F7F7F7 !important; }
.pxpg-btn2 { background: #fff; border: 1px solid var(--sand); color: var(--ink) !important; }
.pxpg-btn:hover, .pxpg-btn2:hover, .pxpg-btn:focus, .pxpg-btn2:focus { background: #111; border-color: #111; color: #fff !important; }
.pxpg-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

/* ---------- שאלות נפוצות (details/summary) ---------- */
.pxpg-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.pxpg-faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.pxpg-faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 500; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pxpg-faq summary::-webkit-details-marker { display: none; }
.pxpg-faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: var(--muted); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / 20px no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") center / 20px no-repeat; transition: transform .15s var(--ease); }
.pxpg-faq details[open] summary::after { transform: rotate(180deg); }
.pxpg-faq .pxpg-faq-a { padding: 0 20px 16px; color: var(--ink); }
.pxpg-faq .pxpg-faq-a img { margin: 8px 0; }

/* ---------- גלריה ---------- */
/* 1.16.121.26: masonry — photos keep their own shape (landscape / portrait) instead of all squares */
.pxpg-gallery { columns: 4 240px; column-gap: 12px; }
.pxpg-gallery > * { break-inside: avoid; margin: 0 0 12px; }
.pxpg-gallery a, .pxpg-gallery figure { display: block; border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.pxpg-gallery img { display: block; border-radius: 0; width: 100%; height: auto; transition: transform .3s var(--ease); }
.pxpg-gallery a:hover img { transform: scale(1.03); }

/* ---------- וידאו ---------- */
.pxpg-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #191512; border: 1px solid var(--line); }
.pxpg-video iframe, .pxpg-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pxpg-video-short { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; }

/* ---------- שלבים ממוספרים ---------- */
.pxpg-steps { counter-reset: s; display: grid; gap: 12px; padding: 0; list-style: none; }
.pxpg-steps > li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; margin: 0; }
.pxpg-steps > li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--soft); color: var(--link); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- באנרים (D19) ---------- */
.pxpg-banner { border-radius: 20px; padding: 16px 20px; margin: 0 0 24px; border: 1px solid var(--line); background: #fff; }
.pxpg-banner.ok { background: var(--ok-bg); border-color: var(--ok-bg); color: var(--ok); }
.pxpg-banner.bad { background: var(--bad-bg); border-color: var(--bad-bg); color: var(--bad); }

/* ---------- טופס (D13): 50 גובה, קו, פינות 20, טבעת חול ---------- */
.pxpg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pxpg-form .full { grid-column: 1 / -1; }
.pxpg-field { display: flex; flex-direction: column; gap: 4px; }
.pxpg-field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.pxpg-field .hint { font-size: 14px; color: var(--muted); }
.pxpg-form input[type="text"], .pxpg-form input[type="tel"], .pxpg-form input[type="email"], .pxpg-form select, .pxpg-form textarea {
	width: 100%; min-height: 50px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
	font-family: inherit; font-size: 16px; color: var(--ink); box-shadow: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.pxpg-form textarea { min-height: 140px; padding: 12px 16px; resize: vertical; }
.pxpg-form input:focus, .pxpg-form select:focus, .pxpg-form textarea:focus { border-color: var(--sand); box-shadow: 0 0 0 3px var(--soft); outline: 0; }
.pxpg-form input[type="file"] { font-family: inherit; font-size: 14px; padding: 12px 16px; border: 1px dashed var(--line); border-radius: 20px; background: var(--bg); width: 100%; }
.pxpg-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pxpg-check input { width: 22px; height: 22px; flex: none; accent-color: var(--sand); margin: 0; border-radius: 8px; }
.pxpg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pxpg-form .pxpg-btn { width: 100%; }

@media (max-width: 767px) {
	.pxpg { padding: 24px 16px 32px; }
	.pxpg h1 { font-size: 28px; }
	.pxpg h2 { font-size: 22px; }
	.pxpg-lead { font-size: 16px; }
	.pxpg-grid-2, .pxpg-form { grid-template-columns: 1fr; }
	.pxpg-gallery { columns: 2; column-gap: 8px; }
	.pxpg-gallery > * { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.pxpg * { transition: none !important; }
}

/* ---------- צילום מסך אמיתי בתוך מסגרת הטלפון (UI-UX D31, lib/printix-phone) ---------- */
.pxpg-shot { margin: 0 auto; width: 100%; max-width: 300px; }
.pxpg-shot .pxphone { --pxphone-w: 300px; margin-inline: auto; }
.pxpg-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
@media (max-width: 767px) { .pxpg-shot { max-width: 260px; } .pxpg-shot .pxphone { --pxphone-w: 260px; } }

/* ---------- המוצרים מסתובבים בתלת-ממד (lib/printix-3d, UI-UX D32) ---------- */
.pxpg-3d-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pxpg-3d { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-decoration: none !important; color: var(--ink) !important; transition: border-color .3s var(--ease); }
.pxpg-3d:hover { border-color: var(--sand); }
.pxpg-3d-stage { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; }
.pxpg-3d-stage canvas, .pxpg-3d-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pxpg-3d-stage img { object-fit: cover; border-radius: 20px; }
.pxpg-3d-stage:not(.live):not(.pic)::before { content: ""; position: absolute; inset: 22%; border-radius: 999px; background: var(--soft); animation: pxpg-pulse 1.2s cubic-bezier(.2,.7,.2,1) 2 alternate; }
.pxpg-3d-name { font-size: 18px; font-weight: 700; }
@keyframes pxpg-pulse { from { opacity: .5; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1024px) { .pxpg-3d-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pxpg-3d-row { gap: 8px; } .pxpg-3d { padding: 8px; } .pxpg-3d-name { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .pxpg-3d-stage::before { animation: none !important; } }
.pxpg.pxpg-in-home { padding-top: 8px; } /* בדף הבית — מתחת לכותרת "המוצרים שלנו" של אלמנטור */
/* השוואת מוצרים (compare.html, 19.10) — טקסט אמיתי במקום התמונות: 4 עמודות, 2 בטלפון; + חול, − שחור */
.pxcmp { display: grid; grid-template-columns: repeat(4, 1fr); background: #F2F6F9; border-radius: 20px; padding: 16px 8px; }
.pxcmp-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px 8px; min-width: 0; }
.pxcmp-card + .pxcmp-card { border-inline-start: 2px dashed #B5A78D; }
.pxcmp-photo { width: 100%; aspect-ratio: 8 / 7; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.pxcmp-photo img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; border-radius: 16px; }
.pxcmp-tag { display: inline-block; padding: 2px 12px; border: 1px solid #907A53; border-radius: 20px; color: #7A6440; font-size: 13px; font-weight: 600; letter-spacing: .04em; direction: ltr; }
.pxpg .pxcmp-card h3 { font-size: 26px; font-weight: 800; margin: 8px 0 4px; direction: ltr; }
.pxcmp-size { display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.5; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.pxcmp-card ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 2px dashed #B5A78D; width: 100%; text-align: start; }
.pxcmp-card li { position: relative; padding-inline-start: 22px; margin: 0 0 8px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.pxcmp-card li::before { position: absolute; inset-inline-start: 0; top: -1px; font-size: 19px; font-weight: 800; line-height: 1; }
.pxcmp-y::before { content: "+"; color: #9B7F50; }
.pxcmp-n::before { content: "\2212"; color: #191512; }
@media (max-width: 767px) {
	.pxcmp { grid-template-columns: repeat(2, 1fr); padding: 12px 4px; row-gap: 20px; }
	.pxcmp-card { padding: 0 10px 4px; }
	.pxcmp-card:nth-child(odd) { border-inline-start: 0; }
	.pxcmp-card:nth-child(n+3) { padding-top: 20px; border-top: 2px dashed #B5A78D; }
	.pxpg .pxcmp-card h3 { font-size: 20px; }
	.pxcmp-size { font-size: 12px; }
	.pxcmp-card li { font-size: 13px; padding-inline-start: 18px; }
	.pxcmp-card li::before { font-size: 16px; }
}
