/* Chassidim Ein Mishpocho order page */

.sob-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); padding: 22px 0 0; }
.sob-crumbs a { color: var(--muted); }
.sob-crumbs a:hover { color: var(--accent); }
.sob-crumbs span[aria-hidden] { opacity: .5; }

.sob-product { padding: 20px 0 64px; }
.sob-product > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.sob-gallery { position: sticky; top: 88px; }
.sob-stage { margin: 0; aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; background: #eef0f1; }
.sob-stage img { width: 100%; height: 100%; object-fit: cover; }
.sob-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 96px)); gap: 12px; margin-top: 14px; }
.sob-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #eef0f1;
  cursor: pointer;
  aspect-ratio: 1/1;
  transition: border-color .15s;
}
.sob-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sob-thumb:hover { border-color: var(--line); }
.sob-thumb[aria-pressed="true"] { border-color: var(--accent); }

.sob-buy { min-width: 0; padding-top: 4px; }
.sob-title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.sob-title-he {
  display: block;
  margin-top: 10px;
  font-family: "Frank Ruhl Libre", "David", serif;
  font-weight: 500;
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.2;
  color: var(--accent-dk);
  letter-spacing: 0;
}
.sob-sub { margin-top: 6px; font-family: "Frank Ruhl Libre", "David", serif; font-size: 18px; color: var(--muted); }
.sob-pricing { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.sob-pricing b { font-size: 28px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sob-pricing s { font-size: 18px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sob-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-dk);
  font-size: 13.5px;
  font-weight: 600;
}
.sob-short { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: var(--text); max-width: 36em; }
.sob-divider { height: 1px; background: var(--line); margin: 26px 0 6px; }

/* the order form embed drops in here */
.sob-form { padding-top: 6px; min-height: 400px; }
.sob-form iframe { width: 100%; border: 0; display: block; }

.sob-acc { border-top: 1px solid var(--line); margin-top: 24px; }
.sob-acc details { border-bottom: 1px solid var(--line); }
.sob-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 2px;
  font-weight: 600;
  font-size: 15.5px;
}
.sob-acc summary::-webkit-details-marker { display: none; }
.sob-acc summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s;
}
.sob-acc details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.sob-acc details > div { padding: 0 2px 18px; font-size: 15px; line-height: 1.65; color: var(--text); }

.sob-h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.sob-story { background: #fff; border-top: 1px solid var(--line); }
.sob-inside { background: var(--bg); border-top: 1px solid var(--line); }
.sob-about { background: #fff; border-top: 1px solid var(--line); }
.sob-story .wrap,
.sob-inside .wrap,
.sob-about .wrap {
  max-width: 820px;
  padding-top: clamp(44px, 7vw, 76px);
  padding-bottom: clamp(44px, 7vw, 76px);
}
.sob-story-body { display: grid; gap: 18px; margin-top: 22px; font-size: 17px; line-height: 1.75; color: var(--text); }

.sob-peek-note { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.sob-list { display: grid; gap: 16px; margin-top: 24px; list-style: none; }
.sob-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.sob-list svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--accent); }

.sob-pdf {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.sob-pdf:hover { border-color: var(--accent); color: var(--ink); }
.sob-pdf-ic { width: 26px; height: 26px; flex: none; color: var(--accent); }
.sob-pdf b { display: block; font-size: 16.5px; font-weight: 600; }
.sob-pdf small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.sob-pdf-go { width: 18px; height: 18px; flex: none; margin-left: auto; color: var(--muted); }

.sob-cta { margin-top: 34px; }
.sob-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}
.sob-cta a:hover { background: var(--accent-dk); color: #fff; }
.sob-cta p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.sob-about h2 span {
  display: block;
  margin-top: 6px;
  font-family: "Frank Ruhl Libre", "David", serif;
  font-weight: 500;
  font-size: .72em;
  color: var(--accent-dk);
  letter-spacing: 0;
}
.sob-specs { margin: 26px 0 0; display: grid; border-top: 1px solid var(--line); }
.sob-specs > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.sob-specs dt { font-weight: 600; color: var(--ink); }
.sob-specs dd { margin: 0; }

@media (min-width: 560px) { .sob-cta a { display: inline-flex; width: auto; } }
@media (max-width: 900px) {
  .sob-product > .wrap { grid-template-columns: minmax(0, 1fr); }
  .sob-gallery { position: static; }
}
@media (max-width: 560px) {
  .sob-stage { border-radius: 16px; }
  .sob-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sob-specs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 0; }
  .sob-specs dt { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .sob-pdf { max-width: none; }
}
