/* ED Catalog 1.0.0 (2026-10-22) – the product-and-price catalog page + its on-site viewer.
   Everything is scoped to #ed-cat (the page) and #ed-cat-v (the viewer, moved to <body> by the script).
   Store tokens come first; a second store only swaps this block. No entrance animations; hover only for a mouse. */
#ed-cat, #ed-cat-v {
  --c-ink: #0B1530; --c-ink-2: #26324D; --c-body: #3A4660; --c-muted: #5E6A85;
  --c-accent: #2B5CD6; --c-accent-ink: #1F47B0; --c-tint: #EEF3FF;
  --c-bg: #F6F8FC; --c-line: #E3E8F1; --c-line-2: #D2DAE7;
  --c-hot: #FF7A1A; --c-hot-soft: #FFB36B; --c-on-dark: #C9D3E8; --c-dark: #0B1530;
  --c-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.25' height='42' viewBox='0 0 24.25 42'%3E%3Cpath d='M12.12 0L24.25 7v14L12.12 28 0 21V7zM12.12 28v14' fill='none' stroke='%230B1530' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  --f-display: 'Rubik', 'ED Rubik FB', 'Varela Round', system-ui, sans-serif;
  --f-body: 'Assistant', 'ED Assistant FB', 'Varela Round', system-ui, sans-serif;
  --r: 18px; --r-s: 14px;
}

/* ---- reset: the theme's and Elementor kit's element styles must not leak in */
#ed-cat :where(*:not(svg, svg *)), #ed-cat-v :where(*:not(svg, svg *)) { all: revert; }
#ed-cat, #ed-cat *, #ed-cat-v, #ed-cat-v * { box-sizing: border-box; }
#ed-cat .il-a11y-sr-only, #ed-cat-v .il-a11y-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
#ed-cat svg, #ed-cat-v svg { display: block; flex: none; }
#ed-cat .ed-cat__sr, #ed-cat-v .ed-cat__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#ed-cat { direction: rtl; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--c-body); background: #fff; }
#ed-cat .ed-cat__wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
#ed-cat :is(h1, h2, h3, h4) { font-family: var(--f-display); color: var(--c-ink); line-height: 1.25; margin: 0; font-weight: 600; }
#ed-cat p { margin: 0; }
#ed-cat a { color: var(--c-accent-ink); }
#ed-cat :is(a, button, summary, select):focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 10px; }

/* ---- buttons */
#ed-cat .ed-cat__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: var(--r-s) !important; font: 700 17px/1.2 var(--f-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
#ed-cat .ed-cat__btn svg { width: 20px; height: 20px; }
#ed-cat .ed-cat__btn--main { background: var(--c-accent); color: #fff; }
#ed-cat .ed-cat__btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line-2); }
#ed-cat .ed-cat__btn small { font-weight: 600; font-size: 14.5px; color: var(--c-muted); }
#ed-cat .ed-cat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-hot); box-shadow: 0 0 0 3px rgba(255, 122, 26, .22); flex: none; }

/* ---- hero: the catalog on a laser bed */
#ed-cat .ed-cat__hero { background: var(--c-bg) var(--c-pattern); border-bottom: 1px solid var(--c-line); padding: 44px 0 52px; }
#ed-cat .ed-cat__hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
#ed-cat .ed-cat__kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--f-display); color: var(--c-accent-ink);
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 7px 14px; }
#ed-cat .ed-cat__title { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; margin-top: 16px; letter-spacing: -.01em; }
/* phones: the title's second half on its own line, so it wraps the same in Rubik and in its fallback (no jump when the font arrives) */
@media (max-width: 899px) { #ed-cat .ed-cat__tl2 { display: block; } }
#ed-cat .ed-cat__lead { font-size: 18.5px; margin-top: 14px; max-width: 36em; }
#ed-cat .ed-cat__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
#ed-cat .ed-cat__stats li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-s); padding: 8px 16px; font-size: 15.5px; color: var(--c-muted); }
#ed-cat .ed-cat__stats b { display: block; font: 700 24px/1.15 var(--f-display); color: var(--c-ink); }
#ed-cat .ed-cat__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
#ed-cat .ed-cat__note { margin-top: 16px; font-size: 14.5px; color: var(--c-muted); }

/* the cover: a booklet with page edges, held in the camera frame (the site's laser-camera corners) */
#ed-cat .ed-cat__cover { margin: 0; justify-self: center; width: min(400px, 100%); }
#ed-cat .ed-cat__book { position: relative; display: block; padding: 18px; text-decoration: none; }
#ed-cat .ed-cat__book::before, #ed-cat .ed-cat__book::after { content: ''; position: absolute; width: 34px; height: 34px; border: 3px solid var(--c-hot); pointer-events: none; }
#ed-cat .ed-cat__book::before { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
#ed-cat .ed-cat__book::after { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
#ed-cat .ed-cat__pages { position: relative; display: block; border-radius: 6px;
  box-shadow: -6px 6px 0 -1px #fff, -6px 6px 0 0 var(--c-line-2), -12px 12px 0 -1px #fff, -12px 12px 0 0 var(--c-line-2), -16px 22px 40px rgba(11, 21, 48, .18); }
#ed-cat .ed-cat__pages img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1131; border-radius: 6px; background: #fff; }
#ed-cat .ed-cat__open-tag { position: absolute; inset-inline-start: 50%; bottom: -14px; transform: translateX(50%); display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-ink); color: #fff; font: 600 15px/1 var(--f-display); padding: 11px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(11, 21, 48, .25); }
#ed-cat .ed-cat__open-tag svg { width: 18px; height: 18px; }

/* ---- section heads */
#ed-cat .ed-cat__sec { padding: 56px 0 8px; }
#ed-cat .ed-cat__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
#ed-cat .ed-cat__head h2 { font-size: clamp(25px, 2.6vw, 32px); }
#ed-cat .ed-cat__head p { color: var(--c-muted); font-size: 16px; }

/* ---- chapters: each tile is the chapter's opening page on its own small bed */
#ed-cat .ed-cat__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#ed-cat .ed-cat__ch { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; min-width: 0; }
#ed-cat .ed-cat__chpage { display: block; padding: 18px 18px 0; background: var(--c-bg) var(--c-pattern); text-decoration: none; }
#ed-cat .ed-cat__chpage img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 509; object-fit: cover; object-position: top; border-radius: 5px 5px 0 0;
  box-shadow: 0 -1px 0 var(--c-line), 0 10px 24px rgba(11, 21, 48, .12); background: #fff; }
#ed-cat .ed-cat__chpage { height: 214px; overflow: hidden; }
#ed-cat .ed-cat__chbody { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; border-top: 1px solid var(--c-line); flex: 1; }
#ed-cat .ed-cat__chnum { align-self: flex-start; font: 700 13px/1 var(--f-display); color: var(--c-accent-ink); background: var(--c-tint); border-radius: 999px; padding: 5px 10px; }
#ed-cat .ed-cat__chtitle { font-size: 18.5px; font-weight: 600; }
#ed-cat .ed-cat__chmeta { font-size: 14.5px; color: var(--c-muted); }
#ed-cat .ed-cat__chlinks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 8px; }
#ed-cat .ed-cat__chlinks a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 700; font-size: 15.5px; text-decoration: none; color: var(--c-accent-ink); }
#ed-cat .ed-cat__chlinks a + a { color: var(--c-ink-2); font-weight: 600; }
#ed-cat .ed-cat__chlinks svg { width: 16px; height: 16px; }

/* ---- how it works */
#ed-cat .ed-cat__how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: edcat; }
#ed-cat .ed-cat__how li { position: relative; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px 20px 20px 20px; }
#ed-cat .ed-cat__how li::before { counter-increment: edcat; content: counter(edcat); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-ink); color: #fff; font: 700 16px/1 var(--f-display); margin-bottom: 10px; }
#ed-cat .ed-cat__how b { display: block; font: 600 18px/1.3 var(--f-display); color: var(--c-ink); margin-bottom: 4px; }
#ed-cat .ed-cat__help { margin-top: 16px; font-size: 16px; }
#ed-cat .ed-cat__help a { font-weight: 700; }

/* ---- every product as text (accessible + searchable) */
#ed-cat .ed-cat__all { padding: 48px 0 64px; }
#ed-cat .ed-cat__list { border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
#ed-cat .ed-cat__list > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 18px 22px;
  font: 600 19px/1.3 var(--f-display); color: var(--c-ink); }
#ed-cat .ed-cat__list > summary::-webkit-details-marker { display: none; }
#ed-cat .ed-cat__list > summary::after { content: ''; width: 12px; height: 12px; border-inline-start: 2.5px solid var(--c-accent); border-bottom: 2.5px solid var(--c-accent); transform: rotate(-45deg); flex: none; margin-top: -6px; }
#ed-cat .ed-cat__list[open] > summary::after { transform: rotate(135deg); margin-top: 6px; }
#ed-cat .ed-cat__list[open] > summary { border-bottom: 1px solid var(--c-line); }
#ed-cat .ed-cat__cols { columns: 3 300px; column-gap: 36px; padding: 10px 22px 22px; }
#ed-cat .ed-cat__cols section { break-inside: avoid-column; padding-top: 14px; }
#ed-cat .ed-cat__cols h3 { font-size: 17.5px; display: flex; gap: 8px; align-items: baseline; }
#ed-cat .ed-cat__cols h3 span { font-size: 13px; color: var(--c-accent-ink); }
#ed-cat .ed-cat__cols h4 { font: 600 14.5px/1.4 var(--f-display); color: var(--c-muted); margin: 10px 0 2px; }
#ed-cat .ed-cat__cols ul { list-style: none; padding: 0; margin: 0; }
#ed-cat .ed-cat__cols li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#ed-cat .ed-cat__cols li a:first-child { display: inline-block; padding: 4px 0; min-height: 28px; text-decoration: none; color: var(--c-ink-2); font-size: 15.5px; line-height: 1.4; }
#ed-cat .ed-cat__cols .ed-cat__pg { flex: none; font-size: 13px; color: var(--c-muted); text-decoration: none; padding: 4px 6px; min-height: 28px; }

/* ---- the viewer */
#ed-cat-v { position: fixed; inset: 0; z-index: 100100; direction: rtl; display: flex; flex-direction: column; background: var(--c-dark); color: #fff;
  font-family: var(--f-body); -webkit-text-size-adjust: 100%; }
#ed-cat-v[hidden] { display: none !important; }
#ed-cat-v :is(a, button, select):focus-visible { outline: 3px solid var(--c-hot-soft); outline-offset: 2px; }
#ed-cat-v .ed-cat-v__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
#ed-cat-v .ed-cat-v__t { margin: 0; font: 600 17px/1.2 var(--f-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
#ed-cat-v .ed-cat-v__chl { display: flex; min-width: 0; }
#ed-cat-v .ed-cat-v__ch { appearance: none; -webkit-appearance: none; height: 44px; max-width: 240px; padding: 0 34px 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9D3E8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 10px center / 16px;
  color: #fff; font: 600 15px/1 var(--f-body); }
#ed-cat-v .ed-cat-v__ch option { color: #0B1530; background: #fff; }
#ed-cat-v .ed-cat-v__count { margin: 0; font-size: 15px; color: var(--c-on-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ed-cat-v .ed-cat-v__count b { color: #fff; font-weight: 700; }
#ed-cat-v .ed-cat-v__cs { display: none; }
#ed-cat-v .ed-cat-v__ib { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; padding: 0; text-decoration: none; }
#ed-cat-v .ed-cat-v__ib svg { width: 22px; height: 22px; }
#ed-cat-v .ed-cat-v__ib[aria-pressed="true"] { background: #fff; color: var(--c-dark); }
#ed-cat-v .ed-cat-v__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
#ed-cat-v.is-zoom .ed-cat-v__stage { overflow: auto; display: block; touch-action: auto; user-select: auto; -webkit-user-select: auto; overscroll-behavior: contain; }
#ed-cat-v .ed-cat-v__spread { display: flex; flex-direction: row; gap: 2px; }
#ed-cat-v.is-zoom .ed-cat-v__spread { margin: 16px auto; width: max-content; }
#ed-cat-v .ed-cat-v__page { position: relative; flex: none; background: #F2F0EA; box-shadow: 0 14px 44px rgba(0, 0, 0, .45); }
#ed-cat-v .ed-cat-v__page img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
#ed-cat-v .ed-cat-v__page::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font: 600 40px/1 var(--f-display); color: rgba(11, 21, 48, .12); }
#ed-cat-v .ed-cat-v__spots { position: absolute; inset: 0; }
#ed-cat-v .ed-cat-v__spot { position: absolute; display: block; border-radius: 8px; }
#ed-cat-v.is-marks .ed-cat-v__spot { box-shadow: inset 0 0 0 2px rgba(43, 92, 214, .75); background: rgba(43, 92, 214, .08); }
#ed-cat-v .ed-cat-v__spot:focus-visible { outline: 3px solid var(--c-hot); outline-offset: 0; background: rgba(255, 122, 26, .1); }
#ed-cat-v .ed-cat-v__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(11, 21, 48, .72); color: #fff; cursor: pointer; padding: 0; }
#ed-cat-v .ed-cat-v__nav svg { width: 26px; height: 26px; }
#ed-cat-v .ed-cat-v__nav--prev { right: 14px; }
#ed-cat-v .ed-cat-v__nav--next { left: 14px; }
#ed-cat-v .ed-cat-v__nav[disabled] { opacity: .35; cursor: default; }
#ed-cat-v.is-zoom .ed-cat-v__nav { position: fixed; }
#ed-cat-v .ed-cat-v__foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; padding-bottom: max(8px, env(safe-area-inset-bottom)); min-height: 44px;
  font-size: 14.5px; color: var(--c-on-dark); text-align: center; }
#ed-cat-v .ed-cat-v__foot .ed-cat__dot { box-shadow: none; }
#ed-cat-v .ed-cat-v__marks { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px !important; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #fff; font: 600 14px/1 var(--f-body); cursor: pointer; white-space: nowrap; }
#ed-cat-v .ed-cat-v__marks svg { width: 18px; height: 18px; }
#ed-cat-v .ed-cat-v__marks[aria-pressed="true"] { background: rgba(43, 92, 214, .35); border-color: rgba(43, 92, 214, .9); }
html.ed-cat-lock, html.ed-cat-lock body { overflow: hidden !important; }

/* ---- pointer effects: a mouse only (a tap must not leave a sticky hover) */
@media (hover: hover) and (pointer: fine) {
  #ed-cat .ed-cat__btn--main:hover { background: var(--c-accent-ink); }
  #ed-cat .ed-cat__btn--ghost:hover { border-color: var(--c-ink); }
  #ed-cat .ed-cat__ch:hover { border-color: var(--c-line-2); box-shadow: 0 12px 28px rgba(11, 21, 48, .08); }
  #ed-cat .ed-cat__chlinks a:hover, #ed-cat .ed-cat__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
  #ed-cat-v .ed-cat-v__ib:hover, #ed-cat-v .ed-cat-v__nav:not([disabled]):hover, #ed-cat-v .ed-cat-v__marks:hover { background: rgba(255, 255, 255, .18); }
  #ed-cat-v .ed-cat-v__spot:hover { background: rgba(43, 92, 214, .12); box-shadow: inset 0 0 0 2px rgba(43, 92, 214, .7); }
}

/* ---- tablet / phone */
@media (max-width: 1099px) {
  #ed-cat .ed-cat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  #ed-cat .ed-cat__hero { padding: 28px 0 44px; }
  #ed-cat .ed-cat__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  #ed-cat .ed-cat__cover { width: min(300px, 78%); }
  #ed-cat .ed-cat__how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  #ed-cat { font-size: 16.5px; }
  #ed-cat .ed-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #ed-cat .ed-cat__chpage { height: 168px; padding: 12px 12px 0; }
  #ed-cat .ed-cat__chbody { padding: 12px; }
  #ed-cat .ed-cat__chtitle { font-size: 16.5px; }
  #ed-cat .ed-cat__actions .ed-cat__btn { flex: 1 1 100%; }
  #ed-cat .ed-cat__cols { padding: 6px 16px 18px; }
  #ed-cat-v .ed-cat-v__t, #ed-cat-v .ed-cat-v__dl, #ed-cat-v .ed-cat-v__cl { display: none; }
  #ed-cat-v .ed-cat-v__cs { display: inline; }
  #ed-cat-v .ed-cat-v__bar { gap: 8px; padding-inline: 10px; }
  #ed-cat-v .ed-cat-v__chl { flex: 1; }
  #ed-cat-v .ed-cat-v__ch { width: 100%; max-width: none; min-width: 0; }
  #ed-cat-v .ed-cat-v__foot { flex-wrap: wrap; gap: 6px 10px; }
  #ed-cat-v .ed-cat-v__nav { width: 44px; height: 44px; margin-top: -22px; background: rgba(11, 21, 48, .9); }
  #ed-cat-v .ed-cat-v__nav--prev { right: 6px; }
  #ed-cat-v .ed-cat-v__nav--next { left: 6px; }
}