/* דילים לציוד תינוק — בסגנון האתרים של אביתר רון.
   פלטה, רדיוס 3px, משקלים 300/400, בלי צללים ובלי גרדיאנטים. */

@font-face {
  font-family: "David Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/david-libre-400-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "David Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/david-libre-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/noto-sans-hebrew-he.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/noto-sans-hebrew-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* קן קטן, גרסה 5. בסגנון האתרים של אביתר רון:
   פלטה bone / ink / rust / field, רדיוס 3px, משקלים 300 ו-400 בלבד,
   בלי צללים כבדים ובלי גרדיאנטים. rust רק על כפתורי קנייה. */

:root {
  --bone: #ebeddd;
  --bone-deep: #dfe1cf;
  --paper: #f5f6ec;
  --ink: #1d1916;
  --ink-soft: #4a443c;
  --rust: #7a4128;
  --rust-dark: #63341f;
  --field: #4f5f49;
  --hair: rgba(29, 25, 22, .14);
  --hair-2: rgba(29, 25, 22, .26);
  --r: 3px;
  --font: "Noto Sans Hebrew", "Heebo", system-ui, sans-serif;
  --display: "David Libre", "Times New Roman", serif;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1120px;
  --navh: 3.4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html, body { margin: 0; padding: 0; background: var(--bone); color: var(--ink); }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 400; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.2; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r); }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* גרסת חנות: כותרת עם חיפוש, שבבי קטגוריה, כרטיסי מוצר אחידים.
   אותה פלטה, רדיוס 3px, משקלים 300/400, בלי צללים ובלי גרדיאנטים. */

:root {
  --headh: 0px;
  --maxw: 1180px;
}

html { scroll-padding-top: calc(var(--headh) + .6rem); }
/* המוצרים כבר ב-HTML. לא מסתירים את main, כדי שגוגל ומבקרים בלי JS יראו אותם. */

.skip { position: fixed; inset-inline-start: 1rem; top: -5rem; background: var(--ink); color: var(--bone); padding: .55rem 1.1rem; border-radius: var(--r); z-index: 9500; text-decoration: none; }
.skip:focus { top: 1rem; }

.rail { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.bh { position: static; display: block; margin: .2rem var(--pad) .15rem; font-size: 13px; line-height: 1; color: var(--ink-soft); letter-spacing: .02em; text-align: start; }

.aff-top {
  margin: 0;
  padding: .4rem var(--pad);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--bone-deep);
  border-bottom: 1px solid var(--hair);
}

/* ---------- כותרת חנות ---------- */
.shop-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(235, 237, 221, .96);
  border-bottom: 1px solid var(--hair);
}
@supports (backdrop-filter: blur(8px)) {
  .shop-head { background: rgba(235, 237, 221, .9); backdrop-filter: blur(8px); }
}
.shop-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "brand pages" "search search";
  align-items: center;
  gap: .55rem .8rem;
  padding-block: .55rem .5rem;
}
.wordmark {
  grid-area: brand;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -.015em;
  text-decoration: none;
  color: var(--ink);
  padding-block: .2rem;
  white-space: nowrap;
}
.wordmark:hover { text-decoration: none; color: var(--rust-dark); }
.search {
  grid-area: search;
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  overflow: hidden;
}
.search:focus-within { border-color: var(--ink); }
.search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
  padding: .7rem .85rem;
  min-height: 44px;
  border-radius: 0;
  appearance: none;
}
.search input[type="search"]::placeholder { color: var(--ink-soft); opacity: 1; }
.search input[type="search"]:focus { outline: none; }
.search-go {
  flex: none;
  margin: 0;
  border: 0;
  border-inline-start: 1px solid var(--hair);
  background: var(--ink);
  color: var(--bone);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 0 1rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  border-radius: 0;
}
.search-go:hover { background: #111; }
.search-go:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }

.shop-bar .pages { grid-area: pages; margin: 0; justify-self: end; }
.pages ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  border: 1px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
}
.pages li + li { border-inline-start: 1px solid var(--ink); }
.pages a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: .45rem .55rem;
  min-height: 44px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}
.pages a:hover { background: var(--bone-deep); text-decoration: none; }
.pages a[aria-current="page"] { background: var(--ink); color: var(--bone); font-weight: 400; }
.pages a:focus-visible { outline-offset: -3px; }

/* שבבי קטגוריה: במובייל החלקה נעצרת בכוח, במחשב רק חצים */
.chips-row { border-top: 1px solid var(--hair); }
.chips-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .4rem;
  padding-block: .4rem;
}
.chips {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: .15rem;
}
.chips::-webkit-scrollbar { display: none; }
.chips a, .chips button.chip {
  flex: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  padding: .55rem .85rem;
  min-height: 44px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.chips a:hover, .chips button.chip:hover { border-color: var(--ink); text-decoration: none; }
.chips a[aria-current="true"], .chips button.chip[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.chips .n { font-size: 13px; color: var(--ink-soft); }
.chips a[aria-current="true"] .n, .chips button.chip[aria-current="true"] .n { color: var(--bone-deep); }
.chip-arrow {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.chip-arrow:hover { border-color: var(--ink); }
.chip-arrow:disabled { opacity: .35; cursor: default; }

/* ---------- סרגל כלים ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1rem;
  padding-block: 1rem .85rem;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .8rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.trust strong { font-weight: 400; color: var(--ink); }
.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .7rem;
}
.tools label { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: .4rem; }
.tools select {
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  min-height: 44px;
  padding: .35rem .7rem;
}
.type-filters { display: flex; gap: .35rem; }
.type-filters button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  min-height: 44px;
  padding: .35rem .85rem;
  cursor: pointer;
}
.type-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bone); font-weight: 400; }

.lead-line { margin: 0 0 .9rem; font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }

/* ---------- מקרא קומפקטי ---------- */
.legend { border: 1px solid var(--hair); border-radius: var(--r); background: var(--paper); padding: .85rem 1rem; margin-bottom: 1.2rem; }
.legend-title { font-family: var(--font); font-size: 1.05rem; margin-bottom: .55rem; }
.legend-rows li { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .7rem; align-items: start; padding-block: .4rem; }
.legend-rows li + li { border-top: 1px solid var(--hair); }
.legend-text { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.legend-more { margin-top: .35rem; border-top: 1px solid var(--hair); padding-top: .25rem; }
.legend-more summary, .more summary { font-size: 15px; color: var(--ink-soft); padding-block: .45rem; min-height: 44px; display: flex; align-items: center; }
.legend-more p, .more p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); padding-bottom: .35rem; }

details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; display: inline-block; margin-inline-start: .55rem; color: var(--ink-soft); }
details[open] > summary::after { content: "−"; }

/* ---------- בלוקים וכרטיסים ---------- */
main { padding-block: .4rem 3.5rem; display: block; }
.status { padding-block: 3rem; color: var(--ink-soft); }
.empty-search { padding: 2.2rem 0 3rem; }
.empty-search p { font-size: 18px; line-height: 1.6; }

.block { padding-block: 1.5rem .4rem; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.block-head h2 { font-size: clamp(1.55rem, 6vw, 2.05rem); }
.block-head h2 a { text-decoration: none; color: inherit; }
.block-head h2 a:hover { text-decoration: underline; }
.count { flex: none; font-size: 14px; color: var(--ink-soft); }
.sub { color: var(--ink-soft); font-size: 16px; margin: -.2rem 0 1.1rem; max-width: 62ch; }

.deals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem .4rem;
}
.deal {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  min-width: 0;
  scroll-margin-top: calc(var(--headh) + .6rem);
  color: inherit;
}
.deal.flash { outline: 2px solid var(--ink); outline-offset: 4px; }
.deal.hidden, .block.hidden { display: none; }

.photo {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  padding: 0;
  border: 0;
}
.photo-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  color: inherit;
  text-decoration: none;
}
.photo-link:hover, .photo-link:focus { text-decoration: none; color: inherit; }
.photo img { width: 100%; height: 100%; object-fit: contain; }
.deal.noimg .photo { display: none; }
.name-link, .pname a {
  color: inherit;
  text-decoration: none;
}
.name-link:hover, .pname a:hover { color: inherit; text-decoration: none; }

.photo .tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  inset-inline-end: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .1em;
  font-weight: 400;
}
.photo .tag-deal { color: var(--field); background: transparent; }
.photo .tag-pick { color: var(--ink-soft); background: transparent; border: 0; }

.badge {
  position: absolute;
  top: auto;
  bottom: 12px;
  inset-inline-start: 12px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  padding: 4px 10px;
  border-radius: 999px;
}

.body {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 0 8px .15rem;
  min-width: 0;
}
.pname {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 2);
  text-align: center;
  text-wrap: balance;
}
.pname bdi { display: inline; }
.pname .variant { display: none; }
.store { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); text-align: center; min-height: 1.5em; }
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
  margin-top: 6px;
}
.price {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-was {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  order: 1;
}
.price { order: 2; }
.price-row .cta, .price-row .btn { order: 3; }
.saving { font-size: 13px; font-weight: 400; color: var(--field); }
.compare { margin-top: .45rem; font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-align: start; }
.expiry { margin-top: .35rem; font-size: 15px; font-weight: 400; color: var(--ink); }
.actions { display: contents; }
.cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: .15rem 0;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.cta:hover, .btn:hover { color: var(--rust); background: transparent; text-decoration: none; }
.alt { font-size: 15px; color: var(--ink); text-align: center; padding: .45rem .2rem; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.aff-btn { margin: .1rem 0 0; font-size: 12.5px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); text-align: center; }
.checked-on { margin-top: .45rem; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); }
.more { margin-top: .15rem; width: 100%; }
.more summary { justify-content: center; }
.deal .more summary { min-height: 0; padding-block: .2rem; font-size: 13px; }
@media (max-width: 699px) {
  .cta, .deal .btn { min-height: 44px; padding-block: .35rem; }
}
.tag { display: inline-block; font-size: 13px; line-height: 1.4; padding: .2rem .5rem; border-radius: var(--r); font-weight: 400; white-space: nowrap; }
.tag-deal { background: var(--field); color: #f3f4e8; }
.tag-pick { background: #fff; color: var(--ink); border: 1px solid var(--hair-2); font-weight: 300; }

@media (max-width: 699px) {
  .shop-bar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand search";
    padding-block: .3rem;
    gap: .35rem .5rem;
  }
  .shop-bar .pages { display: none; }
  .wordmark { font-size: 1.5rem; padding-block: 0; }
  .search input[type="search"] { padding: .4rem .7rem; font-size: 16px; }
  .lead-line { display: none; }
}

/* ---------- שקט, מורים, מועדים, איך זה עובד ---------- */
.quiet .empty-list, .checked { border-top: 1px solid var(--hair); }
.empty-list li { border-bottom: 1px solid var(--hair); }
.empty-list summary, .empty-list .plain { padding-block: .8rem; font-size: 17px; }
.empty-list details p { padding-bottom: 1rem; font-size: 15px; color: var(--ink-soft); max-width: 62ch; }
.quiet .block-head { border-bottom: 0; margin-bottom: .6rem; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r); padding: 1.2rem 1.2rem 1.1rem; }
.card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.card p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.card p + p { margin-top: .6rem; }
.card .links { margin-top: .9rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.card .alt { text-align: start; padding: .15rem 0; justify-content: flex-start; }
.card.note { background: var(--bone-deep); border-color: transparent; }

.dates { border-top: 1px solid var(--hair); }
.dates li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--hair); align-items: baseline; }
.dates .when { font-weight: 400; color: var(--field); }
.dates .what { font-size: 16px; }

.about { margin-top: 2.4rem; padding: 1.4rem 1.15rem 1.3rem; background: var(--bone-deep); border-radius: var(--r); scroll-margin-top: calc(var(--headh) + .6rem); }
.about > h2 { font-size: clamp(1.55rem, 6vw, 2.05rem); margin-bottom: 1rem; }
.steps { display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.step-num { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--field); }
.steps h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.steps p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

.page-intro { padding-top: .25rem; }
.page-intro h1, .page-intro h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); margin-bottom: .55rem; }
.page-intro .sub { margin: 0 0 1.1rem; }
.rules { border: 1px solid var(--hair); border-radius: var(--r); padding: 1rem 1.15rem; background: var(--bone-deep); margin-bottom: 1.1rem; }
.rules h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.rules ul li { position: relative; padding-inline-start: 1rem; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.rules ul li + li { margin-top: .3rem; }
.rules ul li::before { content: ""; position: absolute; right: 0; top: .8em; width: .4rem; height: 1px; background: var(--ink-soft); }

.receipt { margin-top: .7rem; background: var(--paper); border-radius: var(--r); padding: .65rem .85rem; border-block: 1px dashed rgba(29, 25, 22, .35); font-size: 15px; line-height: 1.5; }
.receipt li { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; padding-block: .42rem; }
.receipt li + li { border-top: 1px dotted rgba(29, 25, 22, .22); }
.receipt .r-label { color: var(--ink-soft); }
.receipt .r-val { color: var(--ink); text-align: left; }
.receipt .r-why { flex-basis: 100%; font-size: 13px; color: var(--ink-soft); margin-top: .1rem; }
.receipt li.total { border-top: 1px solid var(--ink); margin-top: .2rem; }
.receipt li.total .r-label, .receipt li.total .r-val { color: var(--ink); font-weight: 400; }
.receipt li.total .r-val { flex-basis: 100%; text-align: right; }
.receipt li.total .r-ils { font-size: 16px; }
.receipt-note { margin-top: .4rem; font-size: 13px; color: var(--ink-soft); }
.checked li { padding-block: .8rem; border-bottom: 1px solid var(--hair); font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.back { padding-top: 2rem; font-size: 16px; }

/* ---------- עמודי טקסט ---------- */
.prose { padding-block: 2rem 4rem; }
.prose > * { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: .7rem; }
.prose ul li { position: relative; padding-inline-start: 1.1rem; }
.prose ul li + li { margin-top: .35rem; }
.prose ul li::before { content: ""; position: absolute; right: 0; top: .9em; width: .45rem; height: 1px; background: var(--ink-soft); }
.prose .lead-p { font-size: 1.15rem; color: var(--ink-soft); }
.prose .fine { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-soft); }

/* ---------- תחתית ---------- */
.foot { border-top: 1px solid var(--hair); padding-block: 2.2rem calc(2.4rem + 48px); background: var(--bone-deep); }
.foot-top { display: grid; gap: 1.6rem; padding-bottom: 1.6rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--hair-2); }
.foot-name { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; margin-bottom: .5rem; }
.fine { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.fine + .fine { margin-top: .2rem; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.foot-nav li + li { margin-top: .2rem; }
.foot-nav a { font-size: 16px; text-decoration: none; display: inline-block; padding-block: .35rem; min-height: 44px; }
.foot-nav a:hover { text-decoration: underline; }
.foot-nav a[aria-current="page"] { text-decoration: underline; }
.credit { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.credit img { width: 64px; height: auto; }
.credit span { font-size: 15px; }
.credit:hover span { text-decoration: underline; }

.a11y-panel { border-radius: var(--r) !important; }
.a11y-panel h2 { font-weight: 400 !important; }
.a11y-fbtn, .a11y-reset, .a11y-close { border-radius: var(--r) !important; }

/* הודעת טלגרם: פס קומפקטי מתחת לכותרת, בלי לכסות תוכן */
.tg-note {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: auto;
  max-width: var(--maxw);
  margin: .7rem auto 0;
  padding: .7rem var(--pad);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: var(--r);
}
.tg-note[hidden] { display: none !important; }
.tg-note-x {
  position: absolute;
  top: .2rem;
  inset-inline-end: .35rem;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.tg-note-x:hover { background: var(--bone-deep); }
.tg-note-h { margin: 0 2.6rem .25rem 0; font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1.4; }
.tg-note-text { margin: 0 0 .25rem; padding-inline-end: 2rem; font-size: 16px; line-height: 1.55; }
.tg-note-priv { margin: 0 0 .55rem; padding-inline-end: 2rem; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.tg-note-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--ink);
  color: var(--bone);
  font-weight: 400;
  padding: .55rem 1rem;
  min-height: 44px;
  border-radius: var(--r);
  font-size: 16px;
}
.tg-note-go:hover { text-decoration: none; background: #111; }
.tg-note-open { display: inline; margin-inline-start: .6rem; font-size: 14px; font-weight: 300; color: var(--ink-soft); }

/* ---------- מסכים רחבים ---------- */
@media (min-width: 700px) {
  .shop-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search pages";
    padding-block: .65rem;
  }
  .deals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem .5rem; }
  .pname { font-size: 17px; }
  .price { font-size: 17px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .note { grid-column: 1 / -1; }
  .dates li { grid-template-columns: 10rem minmax(0, 1fr); }
  .about { padding: 2rem 2rem 1.7rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .foot-top { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 3rem; }
  .foot-nav { gap: 3.5rem; }
  .legend { display: grid; grid-template-columns: 10rem minmax(0, 1fr); column-gap: 1.5rem; }
  .legend-title { grid-row: span 2; margin: 0; padding-top: .2rem; }
}
@media (min-width: 900px) {
  .chips-wrap { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .chip-arrow { display: inline-flex; align-items: center; justify-content: center; }
  .chips { overflow-x: hidden; scroll-snap-type: x mandatory; }
  .pages a { font-size: 16px; padding-inline: .85rem; }
  .wordmark { font-size: 2.05rem; }
}
@media (min-width: 1100px) {
  .deals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.25rem 8px; }
  .shop-bar { gap: .8rem 1.2rem; }
}

/* עמודי טקסט והצהרות: כותרת קצרה בלי תיבת חיפוש */
.top { padding-block: 1rem 1.4rem; }
.top .brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  margin: 0;
  letter-spacing: -.015em;
}
.top .brand a { text-decoration: none; color: var(--ink); }
.top-min .hero, .top-min .hero-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.2rem;
}
.top-min .pages { margin: 0; }
.text-page .pages { max-width: 22rem; }

/* הודעת טלגרם קומפקטית, כדי שהמוצרים יופיעו מוקדם יותר */
.tg-note { padding: .65rem var(--pad) .7rem; }
@media (max-width: 699px) {
  .tg-note { margin-top: .5rem; padding: .55rem 1rem .6rem; }
  .tg-note-text, .tg-note-priv, .tg-note-open { display: none; }
  .tg-note-h { margin: 0 2.6rem .45rem 0; font-size: 15px; }
  .tg-note-go { min-height: 44px; }
}
@media (min-width: 700px) {
  .tg-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: start; }
  .tg-note-go { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
  .tg-note-open { grid-column: 2; display: block; margin: .35rem 0 0; text-align: center; }
}

/* מקרא סגור כברירת מחדל, בשורה אחת */
.legend { padding: .15rem 1rem; }
.legend > summary.legend-title {
  font-family: var(--font);
  font-size: 17px;
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.legend[open] { padding: .35rem 1rem .8rem; }
.legend[open] > summary.legend-title { margin-bottom: .5rem; }
@media (min-width: 700px) {
  .legend { display: block; }
  .legend-title { grid-row: auto; }
}
.hidden { display: none !important; }


.search-heading {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  margin: .85rem 0 1rem;
}
.search-heading[hidden] { display: none; }

/* כפתור הנגישות: פינה נגדית בכל הרוחבים, כדי לא לגעת בתמונות */
.a11y-btn,
html.a11y-flip .a11y-btn {
  inset-inline-start: auto;
  inset-inline-end: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
}
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-panel,
html.a11y-flip .a11y-panel {
  inset-inline-start: auto;
  inset-inline-end: 12px;
  bottom: 64px;
}


/* קבוצות, דיל מוביל, כרטיס טלגרם בתוך הרשימה */
.lead-block .deals {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.85rem .4rem;
  justify-content: start;
}
@media (min-width: 700px) {
  .lead-block .deals { grid-template-columns: minmax(0, 20rem); }
}
.tg-card {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px solid var(--hair);
  text-align: start;
  padding: .2rem;
}
.tg-card .body { justify-items: start; text-align: start; padding: .7rem .9rem; }


.chips-row { background: var(--bone); }
.lead-block { padding-top: .55rem; }
.lead-block .block-head { margin-bottom: .55rem; }
.group { padding-top: 1.2rem; }
.group > .block-head h2 { font-size: clamp(1.45rem, 5.5vw, 1.95rem); }
.subcat { padding-block: .4rem .85rem; }
.subcat .block-head { margin-bottom: .65rem; }
.subcat .block-head h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 400; }
.subcat .block-head h3 a { text-decoration: none; color: inherit; }
.subcat .block-head h3 a:hover { text-decoration: underline; }

.tg-card {
  background: var(--paper);
  border-color: var(--hair-2);
}
.tg-card .pname { -webkit-line-clamp: unset; }
.tg-card-text { margin-top: .35rem; font-size: 16px; line-height: 1.55; }
.tg-card-priv { margin-top: .25rem; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.tg-card .actions { padding-top: .55rem; }
.tg-card[hidden], .tg-card.hidden { display: none !important; }
@media (max-width: 699px) {
  .tg-card { height: auto; grid-template-columns: minmax(0, 1fr); }
  .tg-card .body { padding: .7rem .85rem .75rem; }
  .toolbar { padding-block: .6rem .5rem; }
}

/* עמוד more: כרטיסי מורים */
.text-page .card { margin-top: 1rem; }
.text-page .dates { margin-top: 1rem; }
