/* Final brochure polish: expose the woven ground without sacrificing contrast. */
.tartan-backdrop{background-image:radial-gradient(ellipse at 50% 18%,#10223a66,transparent 66%),linear-gradient(180deg,#0b15249e,#101b2cc2 76%,#0b1422c9),url('/assets/tartan-strip.webp');background-size:100% 100%,100% 100%,720px auto;background-repeat:no-repeat,no-repeat,repeat;z-index:0}
#main-content,.site-footer{position:relative;z-index:1}
.notice-bar__text{flex:1 1 58ch}
.hero{padding-top:clamp(23px,4vw,42px)}
.hero-pocket{width:clamp(205px,48vw,274px);margin-bottom:10px}
.hero__date{margin-bottom:16px}
.countdown{margin-bottom:19px}
@media(max-width:500px){.hero__crest{width:88px;margin-bottom:11px}.hero__title{margin-bottom:12px}.hero__project{margin-top:8px}.notice-bar__cta{display:none}.hero{padding-top:26px}.hero__actions{gap:8px}}

#packages,#prizes,#thank-you,#contact{scroll-margin-top:130px}
@media(max-width:500px){#packages,#prizes,#thank-you,#contact{scroll-margin-top:166px}}


/* The Yeshiva class album — stitched leather headings, copper and brass details. */
.section--classes .leather-banner { margin-bottom: 22px; }
.classes-kicker {
  margin: 0 auto clamp(20px, 4vw, 36px);
  text-align: center;
  color: var(--ink-secondary);
  max-width: 40ch;
}
.classes-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 22px);
}
.class-card { min-width: 0; }
.class-card__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(244, 216, 158, .32);
  border-radius: 10px;
  overflow: hidden;
  background: #141c2c;
  color: var(--gold);
  font: inherit;
  cursor: zoom-in;
  text-align: left;
  box-shadow: 0 8px 24px rgba(2, 5, 15, .24);
  transition: border-color .18s ease;
}
.class-card__open:hover { border-color: var(--copper-bright); }
.class-card__open:focus-visible, .class-lightbox__button:focus-visible, .class-mobile-nav:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
}
.class-card__open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #252536;
}
.class-card__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 11px;
  padding: 10px clamp(9px, 2.3vw, 16px);
  line-height: 1.4;
  font-size: clamp(.75rem, 2vw, .95rem);
}
.class-card__en { font-weight: 700; }
.class-card__caption bdi { color: var(--ink-secondary); white-space: nowrap; }
.class-mobile-nav {
  display: inline-flex;
  padding: 8px 10px;
  align-items: center;
  gap: .4em;
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: .25em;
}
.class-lightbox-open { overflow: hidden; }
.class-lightbox {
  box-sizing: border-box;
  width: min(94vw, 1000px);
  max-width: none;
  padding: clamp(10px, 2vw, 20px);
  border: 1px solid rgba(244, 216, 158, .6);
  border-radius: 14px;
  color: var(--gold);
  background: #111929;
  box-shadow: 0 20px 85px #0009;
}
.class-lightbox::backdrop { background: rgba(6, 9, 17, .88); }
.class-lightbox__top, .class-lightbox__controls {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.class-lightbox__top p { margin: 0; font-family: var(--font-display); font-size: clamp(1.05rem, 3vw, 1.6rem); }
.class-lightbox__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, calc(100dvh - 150px));
  object-fit: contain;
  border-radius: 6px;
  background: #090d17;
  margin: 9px 0 12px;
}
.class-lightbox__controls { justify-content: center; }
.class-lightbox__controls span { min-width: 6ch; text-align: center; font-variant-numeric: tabular-nums; }
.class-lightbox__button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(244, 216, 158, .38);
  background: #251e24;
  color: var(--gold);
  font: inherit;
  font-size: 1.25rem;
  border-radius: 8px;
  cursor: pointer;
}
.class-lightbox__button:hover { background: #4b2e25; }
@media (min-width: 760px) { .classes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .class-mobile-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .class-card__open { transition: none; } }

/* === YSK-ORDERS-UX-START === */
/* Storefront Package Cards: symmetrical, fully centered, big bold orange top badge */
.package-card {
  align-items: center;
  text-align: center;
  padding: 26px 20px 22px;
}
.package-card__badge {
  align-self: center;
  width: 100%;
  text-align: center;
  margin: 0 0 18px;
  padding: 11px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ea7e3f 0%, #d16834 100%);
  color: #141016;
  border: 1px solid rgba(255, 234, 198, 0.5);
  box-shadow: 0 4px 14px rgba(209, 104, 52, 0.32);
}
.package-card__badge-num {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 1.14em;
  font-weight: 800;
  display: inline-block;
  line-height: 1;
  vertical-align: -0.02em;
}
.package-card__meta {
  margin: 0 0 14px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-align: center;
}
.package-card__price-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(244, 216, 158, 0.24);
}
.package-card__price {
  font-size: clamp(2.35rem, 3vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.package-card__control {
  width: 100%;
  margin-top: auto;
}

/* Pick-Your-Own Ticket Bundles: bold count + total price + Choose CTA, zero per-ticket lines */
.bundle-tier {
  justify-content: space-between;
  gap: 8px;
  padding: 16px 12px 14px;
}
.bundle-tier__qty {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-primary);
}
.bundle-tier__price {
  font-size: 1.65rem;
  font-weight: 800;
  margin-block: 2px 4px;
}
.bundle-tier__btn {
  width: 100%;
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Sticky Bundle Picking Guide Pill inside #prizes */
.bundle-guide-pill {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(16, 30, 52, 0.97) 0%, rgba(10, 19, 34, 0.98) 100%);
  border: 1.5px solid var(--copper-bright);
  box-shadow: 0 10px 28px rgba(3, 8, 18, 0.55);
  color: var(--gold-bright);
}
.bundle-guide-pill[hidden] { display: none; }
.bundle-guide-pill.is-complete {
  border-color: #46c884;
  background: linear-gradient(180deg, rgba(14, 42, 34, 0.97) 0%, rgba(10, 24, 30, 0.98) 100%);
}
.bundle-guide-pill__text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}
.bundle-guide-pill__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.bundle-guide-pill__close {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(244, 216, 158, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.bundle-guide-pill__close:hover {
  background: rgba(209, 104, 52, 0.28);
  color: #fff;
}
.stepper__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* Checkout Drawer Extras: Add More button, Field Hints, Official Receipt Checkbox Card */
.drawer-add-more-wrap {
  margin: 12px 0 6px;
}
.field-hint {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.receipt-opt-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(16, 30, 52, 0.76);
  border: 1px dashed rgba(244, 216, 158, 0.38);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.receipt-opt-card:hover {
  border-color: var(--copper-bright);
  background: rgba(22, 39, 66, 0.85);
}
.receipt-opt-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--copper);
  cursor: pointer;
}
.receipt-opt-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.receipt-opt-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.receipt-opt-card__sub {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--ink-secondary);
}

/* Public Confirmation Receipt Card: generous top padding so checkmark & headline never clip */
#drawer-receipt-view {
  padding-top: 4px;
}
.receipt-card {
  margin-top: 6px;
  padding: 26px 20px 22px;
}
.receipt-card__header {
  padding-top: 6px;
}
.receipt-card__badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.receipt-card__badge-row img {
  margin: 0;
}
.receipt-card__check {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(58, 196, 126, 0.18);
  border: 2px solid #48cf88;
  color: #6ef0aa;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}
.receipt-card__pdf-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--gold);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .bundle-guide-pill {
    top: 64px;
    padding: 10px 12px;
  }
}
/* === YSK-ORDERS-UX-END === */

/* Hide total ticket count badges & savings pill per Elisha's Dec 1 review */
#header-cart-count,
#sticky-tickets,
.sticky-bar__dot,
#sticky-savings,
.sticky-bar__savings,
.package-card__meta {
  display: none !important;
}
.sticky-bar__price {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.package-card__price {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.02em;
}

/* Tickets & checkout only: hide all public Donate / Make a Donation UI */
#nav-donate-btn,
#hero-donate-btn,
#rules-donate-btn,
#drawer-tabs,
#tab-donation,
#checkout-donation-panel {
  display: none !important;
}

/* Buy a Zchus (פרנס היום) sponsorship selector inside checkout */
.zchus-box {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 39, 68, 0.92) 0%, rgba(16, 28, 50, 0.96) 100%);
  border: 1px solid rgba(209, 104, 52, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.zchus-box__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 11px;
}
.zchus-box__eyebrow {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f4d89e;
}
.zchus-box__sub {
  font-size: 0.78rem;
  color: rgba(244, 232, 210, 0.74);
}
.zchus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.zchus-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  text-align: left;
  gap: 2px 12px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid rgba(244, 216, 158, 0.24);
  background: rgba(11, 20, 38, 0.78);
  color: #f9f3e8;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.zchus-card:hover {
  border-color: rgba(234, 126, 63, 0.72);
  background: rgba(24, 39, 68, 0.95);
}
.zchus-card.is-active {
  border-color: #ea7e3f;
  background: linear-gradient(135deg, rgba(209, 104, 52, 0.28) 0%, rgba(24, 39, 68, 0.96) 100%);
  box-shadow: 0 0 0 1px rgba(234, 126, 63, 0.65), 0 6px 16px rgba(209, 104, 52, 0.24);
}
.zchus-card__he {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4b678;
  text-align: left;
}
.zchus-card__title {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f9f3e8;
}
.zchus-card__price {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 1.18rem;
  font-weight: 800;
  color: #f4d89e;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(209, 104, 52, 0.18);
  border: 1px solid rgba(244, 216, 158, 0.3);
}
.zchus-card.is-active .zchus-card__price {
  background: linear-gradient(180deg, #ea7e3f 0%, #d16834 100%);
  color: #141016;
  border-color: rgba(255, 234, 198, 0.6);
}
.zchus-dedication {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(244, 216, 158, 0.22);
}
.zchus-dedication input {
  width: 100%;
  background: rgba(11, 20, 38, 0.88);
  color: #f9f3e8;
  border: 1px solid rgba(244, 216, 158, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
}
.zchus-dedication input::placeholder {
  color: rgba(244, 232, 210, 0.48);
}

/* Collapsible Make a Donation / Buy a Zchus tab button inside checkout */
.zchus-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid rgba(234, 126, 63, 0.55);
  background: linear-gradient(135deg, rgba(24, 39, 68, 0.96) 0%, rgba(16, 28, 50, 0.98) 100%);
  color: #f9f3e8;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.zchus-toggle-btn:hover,
.zchus-toggle-btn.is-open {
  border-color: #ea7e3f;
  box-shadow: 0 4px 16px rgba(209, 104, 52, 0.22);
}
.zchus-toggle-btn__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.zchus-toggle-btn__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #f4d89e;
  letter-spacing: 0.015em;
}
.zchus-toggle-btn__sub {
  font-size: 0.77rem;
  color: rgba(244, 232, 210, 0.72);
}
.zchus-toggle-btn__badge {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ea7e3f 0%, #d16834 100%);
  color: #141016;
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.zchus-toggle-btn__chev {
  flex-shrink: 0;
  font-size: 1rem;
  color: #f4b678;
  transition: transform 0.18s ease;
}
.zchus-toggle-btn.is-open .zchus-toggle-btn__chev {
  transform: rotate(180deg);
}
.zchus-drawer-panel {
  margin-top: 12px;
}
.zchus-drawer-panel[hidden] {
  display: none !important;
}

/* Hide Explore Packages CTA on mobile per Elisha's Dec 1 review */
@media (max-width: 768px) {
  .hero__actions a[href="#packages"] {
    display: none !important;
  }
}

.same-phone-btn {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(244, 216, 158, 0.45);
  background: rgba(209, 104, 52, 0.2);
  color: #f4d89e;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.same-phone-btn:hover {
  background: rgba(209, 104, 52, 0.36);
  border-color: #ea7e3f;
}
