/* Membership form — 6926340 (restructured, tier cards) */

form[name='form_6926340']:not(#_):not(#_) {
  --navy: #1b2a5c;
  --navy-soft: #45507d;
  --light-color: #fbfbfb;
  --card-border: #e4e2db;
  --ink: #16161a;
  --muted: #6b6b70;
}

/* ---------- Letter + section heads ---------- */
form[name=form_6926340]:not(#_):not(#_) .form-line { border-bottom: none; }
form[name=form_6926340]:not(#_):not(#_) .sec-head { text-align: center; margin: 0 0 22px; }
form[name=form_6926340]:not(#_):not(#_) .eyebrow {
  margin-top: 43px; margin-bottom: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); opacity: 0.65;
}
form[name=form_6926340]:not(#_):not(#_) h2.sec-title {
  margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink);
}
form[name=form_6926340]:not(#_):not(#_) p.sec-lede {
  max-width: 620px; margin: 10px auto 0; font-size: 16px; line-height: 1.55; color: var(--muted);
}

/* ---------- Tier chooser (field 95) ---------- */
form[name=form_6926340]:not(#_):not(#_) li#id_95 {
  display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent;
}
form[name=form_6926340]:not(#_):not(#_) div#label_95 { display: none !important; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 { display: block; float: none; width: 100%; margin: 0; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .clearfix { display: none; }

/* three cards */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-single-column {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; width: 100%;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_95 input[type=radio] {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item {
  display: flex; flex-direction: column; width: 100%; margin: 0; overflow: hidden;
  border: 1px solid var(--card-border); border-radius: 16px; background: #fff; box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; cursor: pointer;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item * { cursor: pointer; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:hover { border-color: var(--navy-soft); }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:checked) {
  border: 2px solid var(--navy); box-shadow: 0 3px 10px rgba(27,42,92,0.10); transform: translateY(-4px);
}
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:focus-visible) {
  outline: 2px solid var(--navy); outline-offset: 3px;
}
/* hide the three tier radios' own labels (names come from .tier-name) */
form[name=form_6926340]:not(#_):not(#_) label#label_input_95_0,
form[name=form_6926340]:not(#_):not(#_) label#label_input_95_1,
form[name=form_6926340]:not(#_):not(#_) label#label_input_95_2 { display: none !important; }

/* ---------- Tier body (blurb + cta + amount), folded in by JS ---------- */
form[name=form_6926340]:not(#_):not(#_) .tier-body { display: flex; flex-direction: column; padding: 24px 22px; padding-bottom: 40px; }
form[name=form_6926340]:not(#_):not(#_) .tier-head { margin-top: 0; }
form[name=form_6926340]:not(#_):not(#_) .tier-name { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-desc { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); min-height: 66px; }
form[name=form_6926340]:not(#_):not(#_) .tier-from { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .tier-price { display: flex; align-items: baseline; gap: 2px; margin: 5px 0 0; }
form[name=form_6926340]:not(#_):not(#_) .tier-price .cur { align-self: flex-start; margin-top: 4px; font-size: 19px; font-weight: 700; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-price b { font-size: 36px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-price .per { margin-left: 7px; font-size: 18px; font-weight: 700; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-price .per i { padding-right: 4px; font-style: normal; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .tier-ceiling { margin: 9px 0 0; font-size: 14px; color: var(--muted); }

/* button */
form[name=form_6926340]:not(#_):not(#_) .tier-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 20px;
  border: 1.5px solid var(--navy); border-radius: 12px; background: transparent; color: var(--navy);
  font-size: 15px; font-weight: 700; transition: background 0.18s ease, color 0.18s ease;
}
form[name=form_6926340]:not(#_):not(#_) .tier-cta::before { content: "Choose Membership"; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:hover .tier-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:checked) .tier-cta { display: none; }

/* perks */
form[name=form_6926340]:not(#_):not(#_) .tier-perks {
  display: flex; flex-direction: column; gap: 11px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--card-border);
}
form[name=form_6926340]:not(#_):not(#_) .tier-perks-head { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-perk { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); align-items: flex-start; }
form[name=form_6926340]:not(#_):not(#_) .tier-perk-tick {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--navy);
}

/* ---------- Amount field, shown only inside the selected card ---------- */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount { display: none; width: 100%; max-width: none; margin: 18px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--card-border); background: transparent; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:checked) li.tier-amount { display: block; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-label-left,
form[name=form_6926340] div#label_102, form[name=form_6926340] div#label_103, form[name=form_6926340] div#label_104 { display: none !important; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-input { display: block; float: none; width: 100%; margin: 0; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .clearfix,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount br { display: none; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
form[name=form_6926340]:not(#_):not(#_) .amount-head { margin: 0 0 12px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-multiple-column { display: flex; flex-flow: row wrap; gap: 8px; width: 100%; }

/* amount chips */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item {
  width: auto !important; flex: 0 0 auto !important; min-width: 0 !important; margin: 0; padding: 0 !important;
  border: 1px solid var(--card-border); border-radius: 999px; background: #fff; box-shadow: none;
  height: auto !important; transition: background 0.18s ease, border-color 0.18s ease; cursor: pointer;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item label { display: block; margin: 0; padding: 8px 15px !important; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item label span { font-size: 15px; font-weight: 500; color: inherit; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:hover { border-color: #cfcabd; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) { background: var(--navy); border-color: var(--navy); }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) label,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) label span { color: #fff; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other) { background: #fff; border-color: var(--card-border); }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input { width: 92px; height: auto; margin: 0; border: 0; border-radius: 999px; background: transparent; box-shadow: none; color: var(--ink); font-size: 15px; font-weight: 500; cursor: text; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input:disabled { pointer-events: none; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other:checked) { border: 2px solid var(--navy); background: #fff; }

/* slider */
form[name=form_6926340]:not(#_):not(#_) .amount-slider { width: 100%; margin-top: 18px; }
form[name=form_6926340]:not(#_):not(#_) input.amount-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #e1e4ee; cursor: pointer; }
form[name=form_6926340]:not(#_):not(#_) input.amount-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%; background: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: grab; }
form[name=form_6926340]:not(#_):not(#_) input.amount-range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* note + Continue */
form[name=form_6926340]:not(#_):not(#_) .amount-note { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .amount-note b { color: var(--ink); font-size: 17px; font-weight: 700; }
form[name=form_6926340]:not(#_):not(#_) .amount-go {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 16px;
  border: 1.5px solid var(--navy); border-radius: 12px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; user-select: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
form[name=form_6926340]:not(#_):not(#_) .amount-go:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
form[name=form_6926340]:not(#_):not(#_) .amount-go.is-off { background: transparent; color: var(--muted); border-color: var(--card-border); pointer-events: none; }

/* ---------- Collapse to recap beside member info ---------- */
form[name=form_6926340]:not(#_):not(#_) .member-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; width: 100%; }
form[name=form_6926340]:not(#_):not(#_) .member-aside { position: sticky; top: 90px; }
form[name=form_6926340]:not(#_):not(#_) .tier-recap { display: none; padding: 20px; border: 1px solid var(--card-border); border-radius: 16px; background: var(--light-color); box-shadow: 0 3px 10px rgba(27,42,92,0.10); }
form[name=form_6926340]:not(#_):not(#_).tiers-collapsed .tier-recap { display: block; }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-cap { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-tier { margin-top: 6px; font-size: 20px; font-weight: 700; color: var(--navy); }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-amount { display: flex; align-items: baseline; gap: 3px; margin-top: 4px; }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-amount b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-amount small { font-size: 15px; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-note { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-edit { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--navy); font-size: 15px; font-weight: 600; cursor: pointer; user-select: none; }
form[name=form_6926340]:not(#_):not(#_) .tier-recap-edit:hover { color: var(--navy-soft); }

/* collapse the chooser once Continue is pressed */
form[name=form_6926340]:not(#_):not(#_).tiers-collapsed li#id_95 { display: none; }

@media only screen and (max-width: 820px) {
  form[name=form_6926340]:not(#_):not(#_) .member-split { display: flex; flex-direction: column; gap: 22px; }
  form[name=form_6926340]:not(#_):not(#_) .member-aside { order: -1; position: static; overflow: visible; }
  form[name=form_6926340]:not(#_):not(#_) .member-split .custom-form-wrap { order: 0; margin-top: 0; }
}

/* ---------- Everything below waits for a picked membership ---------- */
form[name=form_6926340]:not(#_):not(#_):not(.tiers-picked) .member-split { display: none !important; }

/* ---------- Member card + nested member-info box ---------- */
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap {
  display: flex; flex-direction: column; width: 100%; margin-top: 28px; padding: 0 0 28px;
  border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 3px 8px rgba(0,0,0,0.06); background: transparent;
}
form[name=form_6926340]:not(#_):not(#_) .member-split .custom-form-wrap { margin-top: 0; min-width: 0; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > li,
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > .tier-recap { padding-left: 28px; padding-right: 28px; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > .member-info-wrap { margin-left: 28px; margin-right: 28px; width: auto; box-sizing: border-box; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap li.form-line:not(#id_2) { max-width: 600px; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap li#id_2 { max-width: none; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap li.form-line .form-input,
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap li.form-line .form-input-wide { max-width: 600px; }

/* header 97 band */
form[name=form_6926340]:not(#_):not(#_) li#cid_97 { margin: 0 0 22px; padding: 0; width: 100%; max-width: none; }
form[name=form_6926340]:not(#_):not(#_) li#cid_97 .form-header-group { margin: 0 !important; padding: 0; }
form[name=form_6926340]:not(#_):not(#_) h1#header_97 {
  display: block; margin: 0; padding: 18px 24px; background: var(--light-color); border-radius: 15px 15px 0 0; border-bottom: 1px solid var(--card-border);
  font-size: 17px; font-weight: 600; letter-spacing: normal; line-height: 1.3; text-transform: none; color: var(--ink);
}

/* member-info box */
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap .member-info-wrap {
  display: flex; flex-direction: column; width: auto; box-sizing: border-box; margin-top: 24px; padding: 0 22px 22px;
  border: 1px solid var(--card-border); border-radius: 14px; background: transparent; box-shadow: none;
}
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap .member-info-wrap li#cid_114 { width: calc(100% + 44px); margin: 0 -22px 20px; }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap .member-info-wrap h2#header_114 { border-radius: 13px 13px 0 0; }
form[name=form_6926340]:not(#_):not(#_) li#cid_114 { margin: 0 -28px 22px; padding: 0; width: calc(100% + 56px); max-width: none; }
form[name=form_6926340]:not(#_):not(#_) li#cid_114 .form-header-group { margin: 0 !important; padding: 0; }
form[name=form_6926340]:not(#_):not(#_) h2#header_114 {
  display: block; margin: 0; padding: 18px 24px; background: var(--light-color); border-radius: 15px 15px 0 0; border-bottom: 1px solid var(--card-border);
  font-size: 17px; font-weight: 600; letter-spacing: normal; line-height: 1.3; text-transform: none; color: var(--ink);
}

/* Total above submit */
form[name=form_6926340]:not(#_):not(#_) li#id_106 { max-width: none; margin-top: 8px; }
form[name=form_6926340]:not(#_):not(#_) li#id_106 div#label_106 label { font-size: 15px; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) li#id_106 div#total_amount { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }

/* checkbox 112 */
form[name=form_6926340]:not(#_):not(#_) li#id_112 .form-checkbox-item label { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
form[name=form_6926340]:not(#_):not(#_) li#id_112 .form-checkbox-item label em { display: block; margin-top: 0; font-size: 15px; font-style: normal; font-weight: 400; line-height: 1.5; color: var(--muted); }

/* Submit */
form[name=form_6926340]:not(#_):not(#_) .form-submit-button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 52px; padding: 0 24px;
  border: 1.5px solid var(--navy); border-radius: 12px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 700; line-height: 1; box-shadow: none; cursor: pointer;
  transition: background 0.18s ease;
}
form[name=form_6926340]:not(#_):not(#_) .form-submit-button:hover { background: var(--navy-soft); }
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap .form-buttons-wrapper,
form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap div#cid_2 { display: flex; justify-content: center; width: 100%; text-align: center !important; }

/* placeholders a touch darker */
form[name=form_6926340]:not(#_):not(#_) input::placeholder,
form[name=form_6926340]:not(#_):not(#_) textarea::placeholder { color: #8a8a90; opacity: 1; }

/* hide payment field labels (placeholders carry them) */
form[name=form_6926340]:not(#_):not(#_) div#label_85,
form[name=form_6926340]:not(#_):not(#_) div#label_86 { display: none !important; }

/* ---------- Numbered headers ---------- */
form[name=form_6926340]:not(#_):not(#_) h1.form-header:has(.head-num),
form[name=form_6926340]:not(#_):not(#_) h2.form-header:has(.head-num) { display: flex; align-items: center; gap: 12px; }
form[name=form_6926340]:not(#_):not(#_) .head-num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; line-height: 1; }

/* ---------- Members section ---------- */
form[name=form_6926340]:not(#_):not(#_) .members-section { display: block !important; width: 100%; margin-top: 46px; margin-bottom: 100px; }
form[name=form_6926340]:not(#_):not(#_) .members-section li#id_111 { display: block; margin: 0; padding: 0; border: 0; }
form[name=form_6926340]:not(#_):not(#_) .member-marquee { width: 100%; margin: 0 0 10px; }
form[name=form_6926340]:not(#_):not(#_) .member-lane { position: relative; overflow: hidden; padding: 3px 0; margin-bottom: 10px; -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
form[name=form_6926340]:not(#_):not(#_) .member-track { display: flex; width: max-content; animation: member-slide 48s linear infinite; }
form[name=form_6926340]:not(#_):not(#_) .member-lane-alt .member-track { animation-duration: 62s; animation-direction: reverse; }
form[name=form_6926340]:not(#_):not(#_) .member-name { display: inline-flex; align-items: center; margin: 0 6px; padding: 11px 20px; border: 0; border-radius: 10px; background: var(--light-color); box-shadow: none; font-size: 16px; font-weight: 500; white-space: nowrap; color: var(--navy); }
@keyframes member-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { form[name=form_6926340]:not(#_):not(#_) .member-track { animation: none; } form[name=form_6926340]:not(#_):not(#_) .member-lane { overflow-x: auto; } }

/* ---------- ChabadOne overrides ---------- */
form[name=form_6926340]:not(#_):not(#_) .form-all { max-width: none; padding: 0 0 60px; margin: 0; }
form[name=form_6926340]:not(#_):not(#_) div#cid_102 .form-single-column,
form[name=form_6926340]:not(#_):not(#_) div#cid_103 .form-single-column,
form[name=form_6926340]:not(#_):not(#_) div#cid_104 .form-single-column { gap: 0; }

/* ---------- Mobile ---------- */
@media only screen and (max-width: 760px) {
  form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-single-column { grid-template-columns: 1fr; justify-items: center; }
  form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item { max-width: 350px; width: 100%; }
  form[name=form_6926340]:not(#_):not(#_) .tier-desc { min-height: 0; }
  form[name=form_6926340]:not(#_):not(#_) .tier-from { margin-top: 18px; }
  form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > li,
  form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > .tier-recap {
    padding-left: 18px;
    padding-right: 18px;
  }
  form[name=form_6926340]:not(#_):not(#_) .custom-form-wrap > .member-info-wrap {
    margin-left: 18px;
    margin-right: 18px;
  }
  form[name=form_6926340]:not(#_):not(#_) h2.sec-title { font-size: 27px; }
  form[name=form_6926340]:not(#_):not(#_) h2.sec-title br { display: none; }
}

/* ---------- Wide screens ---------- */
@media only screen and (min-width: 1220px) {
  form[name=form_6926340]:not(#_):not(#_) .form-section,
  form[name=form_6926340]:not(#_):not(#_) .form-section-closed { padding: 0 20px; }
}

/* ---- Neutralize ChabadOne radio rules on our tier cards + amount chips ---- */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item {
  gap: 0 !important;
  justify-content: flex-start;
  height: auto !important;
  align-items: stretch;
  padding: 0 !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item {
  height: auto !important;
  gap: 0 !important;
  align-items: center;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other-input) {
  height: auto !important;
  padding: 0 !important;
  flex: 0 0 auto;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other-input) label {
  padding: 9px 16px !important;
}


/* ---- Amount chips: small inline pills, one row, wrapping ---- */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-multiple-column {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 8px !important;
  grid-template-columns: none !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-multiple-column > .form-radio-item {
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item .clearfix { display: none !important; }


/* chip labels must stay visible even though they live inside the #cid_95 card */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item label { display: block !important; }

/* no native focus outline on tier radios — the card border is the indicator */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 input[type=radio] { outline: none !important; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:focus-visible) { outline: none; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item.active-option { outline: none !important; }


/* ---- Amount chips: equal height, checked wins ---- */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.clear-left {
  min-height: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item label {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding: 0 16px !important;
}
/* checked chip: navy fill, white text — beat .active-option and :has */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option label,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option label span,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) label,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked) label span {
  color: #fff !important;
}
/* the Other chip keeps white bg even when its row is active, until its input is used */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other-input):not(.active-option) {
  background: #fff !important;
  border-color: var(--card-border) !important;
}


/* Other field text white when its chip is the selected one */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option input.form-radio-other-input,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other:checked) input.form-radio-other-input {
  color: #fff !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option input.form-radio-other-input::placeholder,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other:checked) input.form-radio-other-input::placeholder {
  color: rgba(255,255,255,0.7) !important;
}
/* the number spinner arrows fight the dark bg — hide them */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input::-webkit-outer-spin-button,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input[type=number] { -moz-appearance: textfield; }

/* 3. selected chip must NOT lift or shadow (that's the tier-card behaviour leaking in) */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(input:checked),
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.active-option {
  transform: none !important;
  box-shadow: none !important;
  border-width: 1px !important;
}


/* selected tier: drop the extra bottom padding (amount controls fill the space) */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:checked) .tier-body { padding-bottom: 24px; }

/* 4. equal-height cards only when nothing is selected */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-single-column { align-items: stretch; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item { height: auto; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item .tier-body { flex: 1 1 auto; }
/* once a tier is picked, let each card size to its own content */
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-single-column:has(input:checked) { align-items: start; }
form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-single-column:has(input:checked) .tier-body { flex: 0 0 auto; }

/* 6. all amount pills exactly 36px, both rows */
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item.clear-left,
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item:has(.form-radio-other-input) {
  min-height: 36px !important;
  height: 36px !important;
}
form[name=form_6926340]:not(#_):not(#_) li.tier-amount .form-radio-item label { height: 36px !important; }
form[name=form_6926340]:not(#_):not(#_) li.tier-amount input.form-radio-other-input { height: 34px !important; line-height: 34px; }

@media only screen and (max-width: 760px) {
  form[name=form_6926340]:not(#_):not(#_) .tier-body { padding-bottom: 30px; }
  form[name=form_6926340]:not(#_):not(#_) div#cid_95 .form-radio-item:has(input:checked) .tier-body { padding-bottom: 24px; }
}

/* ---------- Hide labels + bold the checkbox text for 42, 113, 21 ---------- */
form[name=form_6926340]:not(#_):not(#_) div#label_42,
form[name=form_6926340]:not(#_):not(#_) div#label_113,
form[name=form_6926340]:not(#_):not(#_) div#label_21 {
  display: none !important;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_42 label,
form[name=form_6926340]:not(#_):not(#_) div#cid_113 label,
form[name=form_6926340]:not(#_):not(#_) div#cid_21 label {
  font-weight: bold !important;
}

/* ---------- Programs & Events (74): let checkboxes wrap naturally ---------- */
form[name=form_6926340]:not(#_):not(#_) div#cid_74 .form-multiple-column,
form[name=form_6926340]:not(#_):not(#_) div#cid_74 .form-multiple-column.choices-equalized {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 10px !important;
  grid-template-columns: none !important;
  --choice-basis: auto !important;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_74 .form-checkbox-item {
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
form[name=form_6926340]:not(#_):not(#_) div#cid_74 .form-checkbox-item .clearfix,
form[name=form_6926340]:not(#_):not(#_) div#cid_74 .form-multiple-column > .clearfix {
  display: none !important;
}


/* Payment label text moved under the Credit Card heading */
form[name=form_6926340]:not(#_):not(#_) .pay-label-moved td { padding: 0 0 10px; }
form[name=form_6926340]:not(#_):not(#_) .pay-label-text { font-size: 15px; line-height: 1.5; color: var(--muted); }
form[name=form_6926340]:not(#_):not(#_) .pay-label-text label { display: inline; font-weight: 400; }

/* ---------- Payment table: no row gap (outer tbody only) ---------- */
form[name=form_6926340]:not(#_):not(#_) div#cid_81 > table > tbody {
  gap: 0 !important;
}


/* ---------- Programs section spacing ---------- */
form[name=form_6926340]:not(#_):not(#_) li#cid_72 { margin-top: 24px; }
form[name=form_6926340]:not(#_):not(#_) div#cid_73 p,
form[name=form_6926340]:not(#_):not(#_) li#id_73 { margin-bottom: -4px; }
form[name=form_6926340]:not(#_):not(#_) li#id_74 { margin-top: 0; }


/* ---------- Small phones: breathing room at the edges ---------- */
@media only screen and (max-width: 550px) and (max-device-width: 550px) {
  form[name=form_6926340]:not(#_):not(#_) .form-section,
  form[name=form_6926340]:not(#_):not(#_) .form-section-closed {
    margin: 0 10px;
  }
}


/* ---------- Below-minimum amount warning ---------- */
form[name=form_6926340]:not(#_):not(#_) .amount-error { font-size: 13px; color: var(--muted); font-weight: 600; }
