/* learning-print, הרצועה הצפה, חלון התצוגה והחלון שאחרי ההדפסה. הועתק מהערכה כמו שהוא, נטען רק בפינת הלמידה. בלי פונט ובלי משאב חיצוני. */
.thg-cs{position:fixed;inset-inline:0;bottom:0;z-index:60;background:#fff4e0;border-top:3px solid #f5a623;box-shadow:0 -6px 22px rgba(20,30,45,.16);padding:5px 8px 6px;display:flex;flex-direction:column;gap:3px}
.thg-cs .thg-lbl{display:flex;align-items:center;gap:7px;font-weight:700;font-size:10.5px;letter-spacing:.08em;color:#e6447d}
.thg-cs .thg-lbl i{flex:1;height:1px;background:#f0ddb8;font-style:normal}
.thg-cs .thg-x{margin-inline-start:auto;background:none;border:none;color:#5d6773;font-size:16px;line-height:1;cursor:pointer;padding:2px 8px}
.thg-cs .thg-row{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 3px;justify-content:safe center}
.thg-cs a.thg-i{flex:0 0 104px;background:#fff;border:1px solid #dfe5ec;border-radius:9px;padding:4px 4px 5px;display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;color:#252a31}
.thg-cs a.thg-i img{width:100%;height:58px;object-fit:contain;background:#fff;border-radius:6px}
.thg-cs .thg-n{font-size:12px;line-height:1.2;height:2.4em;overflow:hidden;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.thg-cs .thg-nm{display:none}
.thg-cs .thg-p{font-weight:700;font-size:13px;color:#e6447d}
.thg-cs-pad{height:170px}
/* סרגל התחתית של Storefront, עגלה, חיפוש וחשבון. באתר הזה הוא מוצג בכל רוחב, וגובהו 69. הרצועה יושבת מעליו.
   בדפי הפעילות הסקריפט מודד את הסרגל בפועל ומתקן, כאן רק ברירת המחדל לכל דפדפן שתומך ב-has */
body:has(.storefront-handheld-footer-bar) .thg-cs{bottom:69px}
body:has(.storefront-handheld-footer-bar) .thg-cs-pad{height:240px}
@media (max-width:520px){
	.thg-cs a.thg-i{flex:0 0 56px;padding:3px 3px 4px}
	.thg-cs a.thg-i img{height:44px}
	.thg-cs .thg-n{display:none}
	/* שם קצר בשורה אחת, נחתך בגבול מילה ולא באמצעה */
	.thg-cs .thg-nm{display:block;font-size:8.5px;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden}
	.thg-cs .thg-p{font-size:10.5px}
	.thg-cs .thg-row{gap:4px}
	.thg-cs a.thg-i.thg-more{display:none}
	body:has(.storefront-handheld-footer-bar) .thg-cs-pad{height:270px}
}
/* החלון שאחרי ההדפסה */
.thg-po{position:fixed;inset:0;z-index:9999;display:none;align-items:flex-end;background:rgba(16,24,38,.55)}
.thg-po.on{display:flex}
.thg-po-card{background:#fff;width:100%;border-radius:20px 20px 0 0;padding:14px 12px 18px;box-shadow:0 -10px 34px rgba(16,24,38,.28);max-height:88vh;overflow-y:auto}
.thg-po-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:2px}
.thg-po-t{flex:1;min-width:0}
.thg-po-t b{display:block;font-size:17px;line-height:1.3;color:#252a31}
.thg-po-t span{display:block;font-size:13.5px;color:#5d6773;margin-top:2px}
.thg-po-x{border:0;background:#eef2f6;color:#5d6773;border-radius:50%;width:38px;height:38px;font-size:22px;line-height:1;cursor:pointer;flex:0 0 auto}
.thg-po-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}
.thg-po-i{background:#fff;border:1px solid #dfe5ec;border-radius:11px;padding:6px;text-decoration:none;color:#252a31;display:flex;flex-direction:column;gap:3px}
.thg-po-i img{width:100%;height:74px;object-fit:contain;background:#fff;border-radius:8px}
.thg-po-i .n{font-size:12px;line-height:1.25;height:2.5em;overflow:hidden;text-align:center;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.thg-po-i .nm{display:none}
.thg-po-i .p{font-size:13px;font-weight:800;color:#e6447d;text-align:center}
.thg-po-all{display:block;text-align:center;margin-top:12px;background:#25aaed;color:#fff;text-decoration:none;border-radius:12px;padding:13px;font-size:15.5px;font-weight:800;box-shadow:0 4px 0 #0c91d4}
.thg-po-no{display:block;width:100%;margin-top:9px;border:0;background:none;color:#5d6773;font:700 14px/1 inherit;padding:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media (max-width:520px){
	.thg-po-i.thg-po-more{display:none}
	.thg-po-i img{height:58px}
	.thg-po-i .n{display:none}
	.thg-po-i .nm{display:block;font-size:9.5px;line-height:1.2;text-align:center;white-space:nowrap;overflow:hidden}
	.thg-po-i .p{font-size:11.5px}
}
@media (min-width:620px){
	.thg-po{align-items:center;justify-content:center}
	.thg-po-card{max-width:720px;border-radius:20px;margin:0 16px}
	.thg-po-row{grid-template-columns:repeat(6,1fr)}
}
/* חלון התצוגה בתוך העמוד, במקום לשונית חדשה */
.thg-pv{position:fixed;inset:0;z-index:9998;display:none;align-items:center;justify-content:center;background:rgba(16,24,38,.72);padding:14px}
.thg-pv.on{display:flex}
.thg-pv-card{background:#fff;border-radius:18px;padding:12px;max-width:560px;width:100%;max-height:92vh;display:flex;flex-direction:column;gap:10px;position:relative;box-shadow:0 18px 44px rgba(16,24,38,.4)}
.thg-pv-x{position:absolute;top:8px;inset-inline-end:8px;border:0;background:#eef2f6;color:#5d6773;border-radius:50%;width:38px;height:38px;font-size:22px;line-height:1;cursor:pointer;z-index:2}
.thg-pv-img{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;overflow:hidden}
.thg-pv-img img{max-width:100%;max-height:64vh;object-fit:contain;display:block}
.thg-pv-bar{display:flex;gap:8px}
.thg-pv-go{flex:1;border:0;border-radius:12px;background:#25aaed;color:#fff;font:800 16px/1 inherit;padding:14px;cursor:pointer;box-shadow:0 4px 0 #0c91d4}
.thg-pv-go:active{transform:translateY(3px);box-shadow:0 1px 0 #0c91d4}
.thg-pv-close{border:2px solid #dfe5ec;border-radius:12px;background:#fff;color:#5d6773;font:700 15px/1 inherit;padding:14px 20px;cursor:pointer}
/* גיליון ההדפסה, מוסתר עד שמדפיסים ואז הוא הדבר היחיד שיוצא */
.thg-sheet{display:none}
@media print{
	.thg-cs,.thg-cs-pad,.thg-po,.thg-pv{display:none !important}
	html.thg-printing body{visibility:hidden !important}
	html.thg-printing .thg-sheet{display:block !important;visibility:visible !important;position:absolute;inset:0;margin:0;padding:0;text-align:center}
	html.thg-printing .thg-sheet img{visibility:visible !important;max-width:100%;max-height:100vh;display:block;margin:0 auto}
}
