/* Shemesh booklets sales page. Scoped to .sps-lp. Shemesh design system:
   ink #111111, paper #F7F6F2, magenta #EC00C6 (accent only), yellow #FFF200 (spot only),
   Rubik, square corners, hard shadows, 40px grid. */

.sps-lp {
	--ink: #111111;
	--paper: #F7F6F2;
	--white: #FFFFFF;
	--magenta: #EC00C6;
	--yellow: #FFF200;
	--muted: #D0D0CC;
	font-family: 'Rubik', 'Heebo', Arial, sans-serif;
	color: var(--ink);
	direction: rtl;
	text-align: right;
	line-height: 1.6;
	font-size: 17px;
	/* full bleed inside any theme container */
	width: 100vw;
	position: relative;
	right: 50%;
	margin-right: -50vw;
	background-color: var(--paper);
	background-image: linear-gradient(rgba(17,17,17,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.05) 1px, transparent 1px);
	background-size: 40px 40px;
	overflow-x: hidden;
}
.sps-lp *, .sps-lp *::before, .sps-lp *::after { box-sizing: border-box; border-radius: 0 !important; }
.sps-lp img { max-width: 100%; height: auto; display: block; }
.sps-lp a { color: inherit; }
.sps-lp h1, .sps-lp h2, .sps-lp h3 { font-family: inherit; font-weight: 900; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; color: inherit; letter-spacing: 0; }
.sps-lp p { margin: 0 0 1em; }
.sps-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sps-sec { padding: 88px 0; }
.sps-paper2 { background: rgba(255,255,255,.55); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

.sps-dark {
	background-color: var(--ink);
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 40px 40px;
	color: var(--white);
}

/* type */
.sps-h2 { font-size: clamp(30px, 4vw, 48px); display: flex; align-items: center; gap: 14px; }
.sps-h2::before { content: ""; flex: 0 0 auto; width: 34px; height: 8px; background: var(--magenta); }
.sps-sub { font-size: 19px; max-width: 720px; margin-top: -6px; }
.sps-small { font-size: 15px; opacity: .9; }
.sps-lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 600px; }

/* tags, chips, buttons */
.sps-tag { display: inline-block; font-size: 14px; font-weight: 800; padding: 5px 12px; margin-bottom: 20px; }
.sps-tag-accent { background: var(--magenta); color: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.sps-dark .sps-tag-accent { box-shadow: 5px 5px 0 var(--white); }
.sps-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sps-chips li { border: 1px solid var(--white); padding: 4px 12px; font-size: 14px; font-weight: 500; }
.sps-chips .sps-chip-on { background: var(--magenta); border-color: var(--magenta); }
.sps-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 800 18px/1 'Rubik', sans-serif; padding: 16px 26px; border: 2px solid var(--ink);
	cursor: pointer; text-decoration: none !important; transition: transform .12s ease, box-shadow .12s ease;
}
.sps-btn-primary { background: var(--ink); color: var(--white) !important; box-shadow: 6px 6px 0 var(--magenta); }
.sps-dark .sps-btn-primary { background: var(--magenta); border-color: var(--magenta); box-shadow: 6px 6px 0 var(--white); }
.sps-btn-ghost { background: transparent; color: var(--white) !important; border-color: var(--white); }
.sps-btn:hover { transform: translate(-2px, -2px); }
.sps-btn-primary:hover { box-shadow: 8px 8px 0 var(--magenta); }
.sps-dark .sps-btn-primary:hover { box-shadow: 8px 8px 0 var(--white); }
.sps-btn:focus-visible, .sps-lp summary:focus-visible, .sps-lp input:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
.sps-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.sps-sq { display: inline-block; width: 16px; height: 16px; background: var(--yellow); border: 2px solid var(--ink); margin-left: 12px; vertical-align: -1px; }

/* hero */
.sps-hero { padding: 96px 0 104px; }
.sps-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.sps-hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-bottom: 22px; }
/* three covers side by side in a fan: every number stays readable, 150 in front */
.sps-hero-covers { position: relative; height: 380px; }
.sps-hero-covers img { position: absolute; border: 2px solid var(--white); }
.sps-hero-covers .c1 { width: 35%; right: 0; top: 70px; transform: rotate(5deg); box-shadow: 8px 8px 0 var(--white); z-index: 1; }
.sps-hero-covers .c2 { width: 37%; right: 27%; top: 40px; transform: rotate(-1deg); box-shadow: 8px 8px 0 var(--white); z-index: 2; }
.sps-hero-covers .c3 { width: 39%; left: 0; top: 0; transform: rotate(-5deg); box-shadow: 12px 12px 0 var(--magenta); z-index: 3; }

/* strip */
.sps-strip { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 26px 0; }
.sps-strip p { margin: 0; font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; }

/* cards */
.sps-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.sps-card { background: var(--white); border: 1px solid var(--ink); padding: 24px; box-shadow: 6px 6px 0 var(--ink); }
.sps-card h3 { font-size: 22px; }
.sps-card p { margin: 0; }

/* split */
.sps-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.sps-page-shot { margin: 0; border: 1px solid var(--ink); box-shadow: 14px 14px 0 var(--magenta); background: var(--white); }
.sps-anatomy { list-style: none; counter-reset: a; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.sps-anatomy li { counter-increment: a; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; background: var(--white); border: 1px solid var(--ink); padding: 12px 14px; }
.sps-anatomy li::before { content: counter(a); grid-row: span 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-weight: 900; font-size: 20px; box-shadow: 4px 4px 0 var(--magenta); }
.sps-anatomy b { font-weight: 800; display: block; }

/* steps */
.sps-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 16px; }
.sps-step { background: var(--white); border: 1px solid var(--ink); padding: 22px; }
.sps-step span { display: inline-block; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500; padding: 3px 8px; margin-bottom: 10px; }
.sps-step h3 { font-size: 24px; }
.sps-step p { margin: 0; }
.sps-step-on { background: var(--ink); color: var(--white); box-shadow: 10px 10px 0 var(--magenta); }
.sps-step-on span { background: var(--magenta); }
.sps-arrow { align-self: center; font-size: 32px; font-weight: 900; }

/* gallery */
.sps-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 18px; }
.sps-gallery figure { margin: 0; }
.sps-gallery img { border: 1px solid var(--white); background: var(--white); transition: transform .15s ease, box-shadow .15s ease; }
.sps-gallery figure:hover img { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--magenta); }
.sps-gallery figcaption { font-size: 14px; font-weight: 700; margin-top: 10px; }

/* products */
.sps-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; align-items: start; }
.sps-product { position: relative; background: var(--white); border: 1px solid var(--ink); padding: 26px; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; }
.sps-product > img { width: 62%; margin: 0 auto 20px; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--magenta); }
.sps-product h3 { font-size: 30px; margin-bottom: 4px; }
.sps-best { box-shadow: 12px 12px 0 var(--magenta); border-width: 2px; }
.sps-badge { position: absolute; top: -16px; right: 22px; background: var(--yellow); border: 2px solid var(--ink); font-weight: 900; font-size: 14px; padding: 4px 12px; }
.sps-tagline { font-weight: 500; margin-bottom: 12px; }
.sps-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.sps-meta li { background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500; padding: 3px 8px; }
.sps-chapters { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.sps-chapters summary { cursor: pointer; font-weight: 800; padding: 10px 0; list-style: none; }
.sps-chapters summary::-webkit-details-marker { display: none; }
.sps-chapters summary::after { content: "+"; float: left; font-weight: 900; }
.sps-chapters[open] summary::after { content: "−"; }
.sps-chapters ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: 15px; }
.sps-chapters li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--muted); }
.sps-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px; }
.sps-price-now { font-size: 46px; font-weight: 900; line-height: 1; }
.sps-price-now small { font-size: 22px; }
.sps-price-was { font-size: 16px; }
.sps-price-was s { text-decoration-thickness: 2px; text-decoration-color: var(--magenta); }
.sps-per { font-size: 14px; margin-bottom: 16px; }

/* buy form */
.sps-buy { display: grid; gap: 12px; margin-top: auto; }
.sps-buy .sps-btn { width: 100%; }
.sps-terms { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; cursor: pointer; align-items: start; }
.sps-terms input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--magenta); }
.sps-terms a { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sps-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.sps-field input { width: 100%; font: 400 17px 'Rubik', sans-serif; padding: 12px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); }
.sps-note { font-size: 13px; margin: -4px 0 0; }
.sps-soon { font-weight: 800; border: 2px dashed var(--ink); padding: 12px; text-align: center; margin: auto 0 0; }

/* institutional */
.sps-split-inst { grid-template-columns: 1.1fr .9fr; }
.sps-checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.sps-checks li { position: relative; padding-right: 28px; font-size: 18px; }
.sps-checks li::before { content: ""; position: absolute; right: 0; top: 8px; width: 12px; height: 12px; background: var(--magenta); }
.sps-inst-card { background: var(--white); color: var(--ink); border: 2px solid var(--white); padding: 28px; box-shadow: 14px 14px 0 var(--magenta); }
.sps-inst-card > img { width: 38%; float: left; margin: 0 18px 12px 0; border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--magenta); }
.sps-inst-card h3 { font-size: 26px; }
.sps-inst-card .sps-buy { clear: both; padding-top: 8px; }
.sps-inst-card .sps-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white) !important; box-shadow: 6px 6px 0 var(--magenta); }

/* table */
.sps-table-wrap { overflow-x: auto; margin-top: 16px; }
.sps-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--ink); font-size: 17px; }
.sps-table th, .sps-table td { border: 1px solid var(--ink); padding: 14px 16px; text-align: right; vertical-align: top; }
.sps-table thead th { background: var(--ink); color: var(--white); font-weight: 900; font-size: 19px; }
.sps-table thead th:last-child { background: var(--magenta); }
.sps-table tbody th { font-weight: 700; width: 26%; background: var(--paper); }

/* about, faq, final */
.sps-about { max-width: 860px; }
.sps-about p { font-size: 19px; }
.sps-faq { max-width: 860px; }
.sps-faq details { background: var(--white); border: 1px solid var(--ink); margin-bottom: 12px; }
.sps-faq summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 18px 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sps-faq summary::-webkit-details-marker { display: none; }
.sps-faq summary::after { content: "+"; font-weight: 900; color: var(--magenta); font-size: 24px; line-height: 1; }
.sps-faq details[open] summary::after { content: "−"; }
.sps-faq details p { padding: 0 20px 18px; margin: 0; }
.sps-final { padding: 56px; box-shadow: 14px 14px 0 var(--magenta); text-align: center; }
.sps-final h2 { font-size: clamp(32px, 4.4vw, 56px); }
.sps-final p { font-size: 19px; }

/* notices */
.sps-notices { max-width: 1180px; margin: 0 auto; padding: 16px 24px 0; }

/* terms page */
.sps-terms-page { max-width: 860px; margin: 0 auto; font-family: 'Rubik', sans-serif; line-height: 1.7; }
.sps-terms-page h2 { font-weight: 900; margin-top: 1.6em; }

/* responsive */
@media (max-width: 1024px) {
	.sps-cards4 { grid-template-columns: repeat(2, 1fr); }
	.sps-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.sps-sec { padding: 64px 0; }
	.sps-hero { padding: 64px 0 72px; }
	.sps-hero-grid, .sps-split, .sps-split-inst { grid-template-columns: 1fr; gap: 36px; }
	.sps-hero-covers { height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
	.sps-products { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.sps-steps { grid-template-columns: 1fr; }
	.sps-arrow { transform: rotate(-90deg); justify-self: center; }
	.sps-page-shot { max-width: 440px; }
	.sps-final { padding: 36px 22px; }
}
@media (max-width: 560px) {
	.sps-lp { font-size: 16px; }
	.sps-cards4 { grid-template-columns: 1fr; }
	.sps-gallery { grid-template-columns: repeat(2, 1fr); }
	.sps-hero-covers { height: 250px; }
	.sps-btn { width: 100%; }
	.sps-inst-card > img { float: none; width: 50%; margin: 0 auto 16px; }
}
@media (prefers-reduced-motion: reduce) { .sps-lp * { transition: none !important; } }

/* product page purchase fields */
.sps-buy-fields { display: grid; gap: 12px; margin: 0 0 16px; font-family: 'Rubik', sans-serif; direction: rtl; text-align: right; }
.sps-buy-fields .sps-field input { width: 100%; padding: 10px; border: 1px solid #111111; border-radius: 0; }
.sps-buy-fields .sps-terms { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; }
.sps-buy-fields .sps-terms input { width: 18px; height: 18px; accent-color: #EC00C6; }
.sps-buy-fields .sps-note { font-size: 13px; margin: 0; }
.sps-lp a[href^="tel:"] { white-space: nowrap; unicode-bidi: isolate; }

/* single booklet product view */
.sps-pv-hero { padding: 72px 0 80px; }
.sps-pv-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.sps-pv-cover img { border: 2px solid var(--white); box-shadow: 14px 14px 0 var(--magenta); }
.sps-pv-text h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 16px; }
.sps-pv-buy { background: var(--white); color: var(--ink); padding: 26px; margin-top: 28px; box-shadow: 14px 14px 0 var(--magenta); max-width: 520px; }
.sps-pv-buy .sps-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white) !important; box-shadow: 6px 6px 0 var(--magenta); }
.sps-pv-buy .sps-small { margin: 12px 0 0; }
.sps-pv-chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; }
.sps-pv-chapters .sps-card { box-shadow: 6px 6px 0 var(--ink); }
.sps-pv-chapters .sps-card h3 { font-size: 21px; margin-bottom: 4px; }
.sps-pv-num { display: inline-block; background: var(--ink); color: var(--white); font-weight: 900; padding: 2px 8px; margin-bottom: 10px; box-shadow: 4px 4px 0 var(--magenta); }
.sps-gallery-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
	.sps-pv-grid { grid-template-columns: 1fr; gap: 36px; }
	.sps-pv-cover { max-width: 300px; margin: 0 auto; }
	.sps-pv-chapters { grid-template-columns: repeat(2, 1fr); }
	.sps-gallery-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Theme buttons (Elementor/theme global button styles) must not leak into ours. */
.sps-lp button.sps-btn,
.sps-lp a.sps-btn,
.sps-buy-fields ~ button,
.sps-lp .sps-buy button[type="submit"] {
	font: 800 18px/1 'Rubik', sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	padding: 16px 26px !important;
	min-height: 0 !important;
	border-radius: 0 !important;
}
.sps-lp .sps-btn-primary,
.sps-lp .sps-buy button[type="submit"],
.sps-lp .sps-buy button[type="submit"]:hover,
.sps-lp .sps-buy button[type="submit"]:focus,
.sps-lp .sps-buy button[type="submit"]:active {
	background: #111111 !important;
	background-image: none !important;
	color: #FFFFFF !important;
	border: 2px solid #111111 !important;
	box-shadow: 6px 6px 0 #EC00C6 !important;
}
.sps-lp .sps-buy button[type="submit"]:hover { box-shadow: 8px 8px 0 #EC00C6 !important; transform: translate(-2px, -2px); }
.sps-lp .sps-dark a.sps-btn-primary,
.sps-lp .sps-dark a.sps-btn-primary:hover,
.sps-lp .sps-dark a.sps-btn-primary:focus {
	background: #EC00C6 !important;
	color: #FFFFFF !important;
	border: 2px solid #EC00C6 !important;
	box-shadow: 6px 6px 0 #FFFFFF !important;
}
.sps-lp .sps-btn-ghost,
.sps-lp .sps-btn-ghost:hover,
.sps-lp .sps-btn-ghost:focus {
	background: transparent !important;
	color: #FFFFFF !important;
	border: 2px solid #FFFFFF !important;
	box-shadow: none !important;
}
.sps-lp a.sps-btn-primary:not(.sps-dark *),
.sps-lp a.sps-btn-primary:not(.sps-dark *):hover {
	background: #111111 !important;
	color: #FFFFFF !important;
	border: 2px solid #111111 !important;
}

/* ---------- in-page navigation ---------- */
.sps-lp section[id] { scroll-margin-top: 110px; }
.sps-nav { position: fixed; z-index: 90; font-family: 'Rubik', sans-serif; direction: rtl; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.sps-nav.is-on { opacity: 1; pointer-events: auto; }
.sps-nav[hidden] { display: none !important; }
.sps-nav ul { list-style: none; margin: 0; padding: 0; }
.sps-nav a { text-decoration: none !important; }

.sps-nav a { text-decoration: none !important; box-shadow: none; }

/* desktop: side rail on the right edge */
@media (min-width: 1025px) {
	.sps-nav { right: 20px; top: 50%; transform: translate(8px, -50%); }
	.sps-nav.is-on { transform: translate(0, -50%); }
	.sps-nav ul { background: #FFFFFF; border: 1px solid #111111; box-shadow: -6px 6px 0 #EC00C6; padding: 8px; display: grid; gap: 2px; }
	.sps-nav li a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; color: #111111 !important; background: transparent !important; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
	.sps-nav-mark { flex: 0 0 auto; width: 10px; height: 10px; border: 2px solid #111111; background: #FFFFFF; transition: background .15s ease, transform .15s ease; }
	.sps-nav li a:hover .sps-nav-mark { background: #D0D0CC; }
	.sps-nav li a.is-active { background: #111111 !important; color: #FFFFFF !important; font-weight: 800; }
	.sps-nav li a.is-active .sps-nav-mark { background: #EC00C6; border-color: #EC00C6; }
	.sps-nav li a:focus-visible { outline: 3px solid #EC00C6; outline-offset: 1px; }
}
/* narrower desktops: compact rail, labels open on hover/focus */
@media (min-width: 1025px) and (max-width: 1599px) {
	.sps-nav ul { padding: 6px; }
	.sps-nav li a { padding: 8px; gap: 0; }
	.sps-nav-label { max-width: 0; overflow: hidden; transition: max-width .2s ease, margin .2s ease; }
	.sps-nav:hover .sps-nav-label, .sps-nav:focus-within .sps-nav-label { max-width: 200px; margin-right: 10px; }
	.sps-nav li a.is-active { background: transparent !important; color: #111111 !important; }
	.sps-nav:hover li a.is-active, .sps-nav:focus-within li a.is-active { background: #111111 !important; color: #FFFFFF !important; }
	.sps-nav li a.is-active .sps-nav-mark { transform: scale(1.25); }
}

/* tablet + mobile: the site keeps its own bottom bar, so the page nav is a sticky strip at the top */
@media (max-width: 1024px) {
	.sps-nav { left: 0; right: 0; top: var(--sps-nav-top, 0px); transform: translateY(-110%); background: #111111; border-bottom: 3px solid #EC00C6; padding: 8px 0; }
	.sps-nav.is-on { transform: translateY(0); }
	.sps-nav ul { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 10px; mask-image: linear-gradient(to left, #000 90%, transparent); -webkit-mask-image: linear-gradient(to left, #000 90%, transparent); }
	.sps-nav ul::-webkit-scrollbar { display: none; }
	.sps-nav li { flex: 0 0 auto; scroll-snap-align: center; }
	.sps-nav li a { display: block; color: #FFFFFF !important; background: transparent !important; border: 1px solid rgba(255,255,255,.45); font-size: 14px; font-weight: 500; padding: 8px 12px; white-space: nowrap; line-height: 20px; }
	.sps-nav li a.is-active { background: #FFFFFF !important; color: #111111 !important; border-color: #FFFFFF; font-weight: 800; }
	.sps-nav-mark { display: none; }
	.sps-lp section[id] { scroll-margin-top: calc(var(--sps-nav-top, 0px) + 70px); }
}
@media (prefers-reduced-motion: reduce) { .sps-nav { transition: none; } }

/* ---------- zoomable previews + lightbox ---------- */
.sps-lp .sps-zoom { all: unset; background: transparent !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important; display: block; position: relative; cursor: zoom-in; width: 100%; }
.sps-lp .sps-zoom:focus-visible { outline: 3px solid #EC00C6; outline-offset: 3px; }
.sps-zoom-icon { position: absolute; top: 8px; left: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #111111; color: #FFFFFF; font: 900 22px/1 'Rubik', sans-serif; box-shadow: 3px 3px 0 #EC00C6; opacity: .9; transition: transform .15s ease; }
.sps-lp .sps-zoom:hover .sps-zoom-icon { transform: scale(1.1); }
.sps-gallery .sps-zoom:hover img { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 #EC00C6; }
.sps-gallery figure:hover img { transform: none; box-shadow: none; }
.sps-gallery .sps-zoom:hover img { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 #EC00C6; }

.sps-lightbox { border: 0; padding: 0; margin: auto; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; font-family: 'Rubik', sans-serif; direction: rtl; }
.sps-lightbox::backdrop { background: rgba(17,17,17,.92); }
.sps-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.sps-lightbox figure { margin: 0; max-height: 100%; display: flex; flex-direction: column; align-items: center; padding: 56px 72px 20px; box-sizing: border-box; height: 100%; justify-content: center; }
.sps-lightbox img { max-height: calc(100vh - 120px); max-width: min(92vw, 900px); width: auto; height: auto; background: #FFFFFF; border: 2px solid #FFFFFF; box-shadow: 14px 14px 0 #EC00C6; touch-action: pinch-zoom; }
.sps-lightbox figcaption { color: #FFFFFF; font-weight: 800; font-size: 16px; margin-top: 18px; }
.sps-lightbox button { all: unset; position: absolute; cursor: pointer; display: flex !important; align-items: center; justify-content: center; width: 48px !important; height: 48px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; background: #FFFFFF !important; background-image: none !important; color: #111111 !important; border: 0 !important; border-radius: 0 !important; font: 900 26px/1 'Rubik', sans-serif !important; box-shadow: 4px 4px 0 #EC00C6 !important; text-shadow: none !important; z-index: 2; }
.sps-lightbox button:hover, .sps-lightbox button:focus-visible { background: #EC00C6 !important; color: #FFFFFF !important; box-shadow: 4px 4px 0 #FFFFFF !important; }
.sps-lightbox button:focus { outline: none; } .sps-lightbox button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.sps-lightbox .sps-lb-close { top: 16px; left: 16px; }
.sps-lightbox .sps-lb-prev { right: 16px; top: 50%; transform: translateY(-50%); }
.sps-lightbox .sps-lb-next { left: 16px; top: 50%; transform: translateY(-50%); }
.sps-lightbox.sps-lb-single .sps-lb-prev, .sps-lightbox.sps-lb-single .sps-lb-next { display: none; }
html.sps-lb-open { overflow: hidden; }
@media (max-width: 700px) {
	.sps-lightbox figure { padding: 64px 10px 84px; }
	.sps-lightbox img { max-width: 96vw; max-height: calc(100vh - 170px); box-shadow: 8px 8px 0 #EC00C6; }
	.sps-lightbox .sps-lb-prev, .sps-lightbox .sps-lb-next { top: auto; bottom: 18px; transform: none; }
	.sps-lightbox .sps-lb-prev { right: calc(50% + 10px); }
	.sps-lightbox .sps-lb-next { left: calc(50% + 10px); }
	.sps-lightbox figcaption { position: absolute; top: 26px; right: 16px; margin: 0; }
}

/* the sales page opens straight with the hero: no breadcrumbs strip from the page template */
body.sps-landing-page .shemesh-template-breadcrumbs,
body.sps-landing-page .elementor-widget-breadcrumbs { display: none !important; }
