.calculator-hero {
  padding: 1.4rem 0 0;
}

.calculator-hero-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  border: 1px solid rgba(214, 180, 106, 0.24);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.2rem;
  background:
    radial-gradient(720px 260px at 10% 15%, rgba(214, 180, 106, 0.14), transparent 64%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.calculator-hero h1 {
  margin: 0.8rem 0;
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
}

.calculator-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-secondary);
}

.quote-preview {
  min-height: 190px;
  border: 1px solid rgba(214, 180, 106, 0.24);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(150deg, rgba(5, 5, 5, 0.25), rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at 25% 15%, rgba(245, 231, 200, 0.22), transparent 36%),
    linear-gradient(135deg, #17120a, #050505);
}

.quote-preview--visual {
  position: relative;
  padding: 0;
  display: block;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0 8px,
      rgba(255, 255, 255, 0.07) 8px 16px
    ),
    linear-gradient(150deg, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.92)),
    radial-gradient(circle at 25% 15%, rgba(245, 231, 200, 0.18), transparent 40%),
    linear-gradient(135deg, #17120a, #050505);
  background-size: auto, auto, auto, auto;
  background-position: center;
}

.quote-preview--visual.has-image {
  background-size: cover;
  background-position: center;
}

.calculator-layout {
  display: grid;
  gap: 1rem;
}

/* "סיכום חי" preview removed per spec. The actual result renders in
   #calculatorResultHost (inside the form), so hiding the live-summary aside is
   safe and lets the details/form block use the full width. */
#resultSection.result-sidebar {
  display: none !important;
}
.calculator-form {
  width: 100%;
}

.calculator-layout.layout--result-step {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .calculator-layout.layout--result-step {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

.calculator-layout.layout--result-step .result-sidebar {
  display: none !important;
}

.calculator-result-host {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.calculator-result-host .result-stack {
  width: 100%;
}

.calculator-result-host .result-actions {
  justify-content: center;
}

.calculator-progress {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.progress-card,
.calc-panel,
.previous-quote,
.result-card,
.result-summary,
.empty-result {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.progress-card {
  padding: 0.85rem;
}

.progress-card span {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
}

.progress-card strong {
  color: var(--champagne);
  font-size: 0.95rem;
}

.progress-card.is-active {
  border-color: rgba(214, 180, 106, 0.55);
  background: rgba(214, 180, 106, 0.1);
}

.progress-card.is-done span {
  color: #8fd4a4;
}

.progress-card--muted:not(.is-active) {
  opacity: 0.55;
}

.choice-section-title {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--champagne);
}

.choice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.choice-cards--dense {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.choice-card:has(input:checked) {
  border-color: rgba(214, 180, 106, 0.55);
  background: rgba(214, 180, 106, 0.09);
}

.choice-card input {
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

.choice-card-body {
  display: grid;
  gap: 0.2rem;
}

.choice-card-body strong {
  color: var(--champagne);
  font-size: 0.98rem;
}

.choice-card-body small {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.3;
}

.tri-state {
  grid-template-columns: repeat(3, 1fr);
}

.wizard-recap {
  padding: 1.3rem 1.4rem 1.4rem;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(214, 180, 106, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(28, 22, 16, 0.6), rgba(10, 9, 8, 0.7));
  border: 1px solid rgba(214, 180, 106, 0.22);
  box-shadow: inset 0 1px 0 rgba(214, 180, 106, 0.12);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.wizard-recap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  align-items: stretch;
}
@media (min-width: 540px) {
  .wizard-recap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 0.85rem; }
}
@media (min-width: 920px) {
  /* Row 1: 4 tiles (event type / guests / drinking / package).
     Row 2: 3 tiles (spirit focus / wine / beer). Same width across both
     rows since each tile occupies one 1fr track. */
  .wizard-recap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
}
.wizard-recap-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(214, 180, 106, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(214, 180, 106, 0.05), transparent 70%),
    linear-gradient(180deg, rgba(28, 22, 16, 0.5), rgba(10, 9, 8, 0.6));
  box-shadow: inset 0 1px 0 rgba(214, 180, 106, 0.08);
  min-width: 0;
  min-height: 76px;
  justify-content: center;
}
.wizard-recap-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wizard-recap-value {
  color: var(--champagne);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
/* Contact rows - own block beneath the main grid, full-width rows so
   long values like email addresses don't break into ugly column wraps. */
.wizard-recap-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(214, 180, 106, 0.16);
}
@media (min-width: 720px) {
  .wizard-recap-contact { grid-template-columns: 1fr 1fr; gap: 0.55rem 0.85rem; }
}
.wizard-recap-row--wide {
  width: 100%;
  min-width: 0;
}
.wizard-recap-value--wide {
  word-break: break-all;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.wizard-recap-row[data-recap-type="email"] .wizard-recap-value {
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.wizard-nav {
  align-items: center;
}

/* `.btn { display: inline-flex }` ב-style.css דורס את [hidden] */
.calculator-wizard .wizard-nav .btn[hidden] {
  display: none !important;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.62);
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal-card {
  width: min(420px, 100%);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 180, 106, 0.35);
  background: linear-gradient(180deg, #141210, #0a0908);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.lead-modal-card h3 {
  margin: 0 0 0.35rem;
  color: var(--champagne);
}

.lead-modal-card p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.lead-modal-card label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.lead-modal-actions {
  margin-top: 0.5rem;
}

.lead-modal-close {
  float: left;
  margin: -0.25rem 0 0.5rem;
}

.result-stat-cards {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .result-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.result-stat-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 180, 106, 0.22);
  background: rgba(214, 180, 106, 0.06);
}

.result-stat-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.result-stat-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.15rem;
  color: var(--champagne);
}

.result-stat-card .price-mid-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Two-card layout for the final proposal: price range (right) + note
   block (left), equal height on desktop, stacked on mobile. */
.result-stat-cards--two {
  align-items: stretch;
}
.result-stat-card--note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-stat-card--note .result-stat-note {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 400;
}

.detail-toggle-wrap {
  margin: 0.5rem 0 0;
}

.result-detail-table[hidden] {
  display: none;
}

.calculator-main,
.calculator-form {
  display: grid;
  gap: 1rem;
}

.previous-quote {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-color: rgba(214, 180, 106, 0.34);
}

.previous-quote[hidden] {
  display: none;
}

.calc-auth-gate {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding: 1.5rem;
  border: 1px solid rgba(214, 180, 106, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28, 24, 18, 0.92), rgba(18, 16, 14, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.calc-auth-gate[hidden] {
  display: none;
}

.calc-auth-gate-card {
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-auth-gate-card h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--accent, #d6b46a);
}

.calc-auth-gate-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.calc-auth-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.calc-auth-locked .calculator-form,
.calc-auth-locked #previousQuoteNotice,
.calc-auth-locked #calculatorResultHost {
  display: none !important;
}

.calc-auth-locked .calculator-progress {
  opacity: 0.5;
  pointer-events: none;
}

.previous-quote span {
  display: block;
  color: var(--text-secondary);
}

.notice-actions,
.form-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.calc-panel {
  padding: 1rem;
}

.panel-heading {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.panel-heading > span {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 180, 106, 0.6);
  color: var(--champagne);
  background: rgba(214, 180, 106, 0.08);
  font-size: 0.86rem;
}

.panel-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--champagne);
}

.panel-heading p {
  margin: 0.15rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid .full-width-field {
  grid-column: 1 / -1;
}

.muted-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 400;
}

.calculator-form label {
  display: grid;
  gap: 0.25rem;
  align-content: start; /* keep field content top-aligned so inputs line up across columns */
}

.calculator-form input,
.calculator-form select,
.calculator-form textarea {
  min-height: 48px;
  margin-top: 0;
  box-sizing: border-box;
}

/* "סוג אירוע" (select) and "עיר / אזור" (input) must render at the SAME height —
   a select and a text input otherwise differ by native box-model. Fixed height
   + border-box makes every form-grid field line up. Textarea keeps its own size. */
.calculator-form .form-grid input,
.calculator-form .form-grid select {
  height: 48px;
  box-sizing: border-box;
}

.calculator-form select option {
  color: #111;
}

.field-error {
  min-height: 1rem;
  color: #ffb3a7;
  font-size: 0.82rem;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.option-grid label {
  min-height: 48px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.025);
}

.option-grid input {
  width: auto;
  min-height: 0;
  accent-color: var(--gold);
}

.notes-label {
  margin-top: 1rem;
}

.result-sidebar {
  min-height: 260px;
}

.empty-result {
  padding: 1.2rem;
  min-height: 260px;
  display: grid;
  align-content: center;
  text-align: center;
}

.empty-result span {
  color: var(--champagne);
  font-size: 1.25rem;
  font-weight: 700;
}

.empty-result p {
  margin: 0.45rem 0 0;
  color: var(--text-secondary);
}

.result-stack {
  display: grid;
  gap: 1rem;
}

.result-summary {
  padding: 1rem;
  border-color: rgba(214, 180, 106, 0.28);
}

.result-summary h2,
.result-card h3 {
  margin: 0 0 0.65rem;
  color: var(--champagne);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.summary-item {
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.summary-item span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.summary-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.recommendation {
  margin: 0.8rem 0 0;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(214, 180, 106, 0.09);
  color: var(--champagne);
}

.result-card {
  padding: 1rem;
}

.breakdown-list,
.product-list {
  display: grid;
  gap: 0.55rem;
}

.breakdown-row,
.product-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.032);
}

.breakdown-row strong,
.product-row strong {
  color: var(--champagne);
}

.breakdown-row span,
.product-row span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.proposal-cards {
  display: grid;
  gap: 0.75rem;
}

.proposal-card {
  padding: 0.85rem;
  border: 1px solid rgba(214, 180, 106, 0.2);
  border-radius: 12px;
  background: rgba(214, 180, 106, 0.055);
}

.proposal-card h4 {
  margin: 0 0 0.35rem;
  color: var(--champagne);
}

.proposal-card p {
  margin: 0.3rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.disclaimer {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .calculator-hero-grid {
    /* Visual placeholder removed → single column, hero text full width. */
    grid-template-columns: 1fr;
    padding: 1.6rem 1.8rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-cards:not(.choice-cards--dense) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  /* The "סיכום חי" preview sidebar was removed, so the layout no longer reserves
     a third 390px track — the central content uses the full width on EVERY step
     (steps 1-3 now match step 4 / the result). */
  .calculator-layout,
  .calculator-layout.layout--result-step,
  .calculator-layout.is-recap-step {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }

  .calculator-progress {
    grid-template-columns: 1fr;
    /* No sticky / fixed positioning - the step list stays within the
       calculator area and does not follow the user as they scroll down
       toward the result / FAQ / footer. */
  }

  .result-sidebar {
    /* Same: preview sidebar is part of the calculator block only. */
  }
}

/* Proposal details modal - customer-facing line editor */
.proposal-modal-card {
  width: min(780px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1rem;
  gap: 0.75rem;
}

.proposal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.proposal-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proposal-modal-x {
  background: transparent;
  border: 1px solid rgba(214, 180, 106, 0.4);
  color: var(--champagne);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.proposal-modal-x:hover {
  background: rgba(214, 180, 106, 0.12);
}

.proposal-modal-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.proposal-cancel-btn {
  opacity: 0.85;
}

.proposal-line .proposal-select-input.is-duplicate {
  border-color: #d9534f;
  box-shadow: 0 0 0 1px rgba(217, 83, 79, 0.45);
}

.proposal-line-product {
  position: relative;
}

.proposal-line-warning {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  top: 100%;
  margin: 4px 0 0;
  color: #ff7a72;
  font-size: 0.72rem;
  line-height: 1.2;
}

.proposal-line.is-has-duplicate {
  padding-bottom: calc(0.7rem + 22px);
}

.proposal-modal-header h3 {
  margin: 0;
  color: var(--champagne);
}

.proposal-add-btn {
  background: var(--champagne);
  color: #0a0908;
  border: 1px solid var(--champagne);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.proposal-add-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.proposal-modal-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.proposal-lines {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow-y: auto;
  padding: 0.25rem;
  margin: 0 -0.25rem;
}

.proposal-line {
  display: grid;
  grid-template-columns: 1fr 130px 110px auto;
  gap: 0.6rem;
  align-items: end;
  padding: 0.7rem;
  border: 1px solid rgba(214, 180, 106, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.proposal-line label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.proposal-line input,
.proposal-line .proposal-select-input {
  background: #0a0908;
  border: 1px solid rgba(214, 180, 106, 0.35);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}

.proposal-line .proposal-line-category {
  align-self: end;
  font-size: 0.85rem;
  color: var(--champagne);
  padding-bottom: 0.55rem;
}

.proposal-line-remove {
  background: transparent;
  border: 1px solid rgba(214, 180, 106, 0.45);
  color: var(--champagne);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  align-self: end;
  font-size: 0.85rem;
}

.proposal-line-remove:hover {
  background: rgba(214, 180, 106, 0.1);
}

/* Searchable dropdown */
.proposal-select {
  position: relative;
}

.proposal-select-list {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 10;
  max-height: 240px;
  overflow-y: auto;
  background: #141210;
  border: 1px solid rgba(214, 180, 106, 0.35);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
}

.proposal-select-list[hidden] {
  display: none;
}

.proposal-select-option {
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.proposal-select-option small {
  color: var(--text-secondary);
}

.proposal-select-option:hover,
.proposal-select-option.is-active {
  background: rgba(214, 180, 106, 0.15);
}

.proposal-select-empty {
  padding: 0.6rem 0.7rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-align: center;
}

.proposal-helper {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
}

.proposal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(214, 180, 106, 0.2);
}

.proposal-modal-total {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.proposal-modal-total span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.proposal-modal-total strong {
  color: var(--champagne);
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .proposal-modal-card {
    padding: 1rem;
  }

  .proposal-line {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "product product"
      "qty category"
      "remove remove";
  }

  .proposal-line .proposal-line-product { grid-area: product; }
  .proposal-line .proposal-line-qty { grid-area: qty; }
  .proposal-line .proposal-line-category { grid-area: category; padding-bottom: 0; }
  .proposal-line-remove { grid-area: remove; justify-self: end; }
}

/* ========== UX polish (scoped to .page-calculator-ish elements) ========== */

/* ---------- Premium empty-state preview card ---------- */
.calc-preview-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.25rem 1.45rem;
  border: 1px solid rgba(214, 180, 106, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(214, 180, 106, 0.09), transparent 70%),
    linear-gradient(180deg, rgba(28, 22, 16, 0.92), rgba(10, 9, 8, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(214, 180, 106, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.4);
  text-align: right;
  position: relative;
  overflow: hidden;
}
.calc-preview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.55), transparent);
  pointer-events: none;
}
.calc-preview-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.calc-preview-eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.calc-preview-title {
  margin: 0;
  color: var(--champagne);
  font-size: 1.1rem;
  line-height: 1.35;
}
.calc-preview-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}
.calc-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.calc-preview-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(214, 180, 106, 0.18);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.04), rgba(0, 0, 0, 0));
}
.calc-preview-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(214, 180, 106, 0.4);
  background:
    radial-gradient(circle at 35% 30%, rgba(214, 180, 106, 0.22), transparent 65%),
    linear-gradient(160deg, rgba(20, 15, 8, 0.85), rgba(8, 6, 4, 0.9));
  color: var(--gold);
}
.calc-preview-text {
  color: rgba(245, 234, 210, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}
.calc-preview-foot {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1.55;
  border-top: 1px solid rgba(214, 180, 106, 0.12);
  padding-top: 0.7rem;
}

/* ---------- Step counter line above the form ---------- */
.calc-step-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(214, 180, 106, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.05), rgba(0, 0, 0, 0));
  width: max-content;
  max-width: 100%;
}
.calc-step-counter {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc-step-sep {
  color: rgba(214, 180, 106, 0.45);
  font-weight: 700;
}
.calc-step-title {
  color: var(--champagne);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Wizard nav button hierarchy ---------- */
.wizard-nav .calc-primary-btn {
  order: 2;
  flex: 1 1 200px;
  min-width: 0;
}
.wizard-nav .calc-back-btn {
  order: 1;
  flex: 0 0 auto;
  min-width: 100px;
}
.wizard-nav .calc-reset-link {
  order: 3;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0.45rem 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(214, 180, 106, 0.35);
  text-underline-offset: 4px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.wizard-nav .calc-reset-link:hover {
  color: rgba(245, 234, 210, 0.85);
  text-decoration-color: rgba(214, 180, 106, 0.7);
}
.wizard-nav {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
}
@media (max-width: 600px) {
  .wizard-nav .calc-primary-btn,
  .wizard-nav .calc-back-btn {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
  }
  .wizard-nav .calc-reset-link {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Tighten vertical rhythm in the calculator shell ---------- */
.calculator-shell {
  padding-top: 2rem;
  padding-bottom: 2.4rem;
}

/* ---------- "השלב הבא" - section transition block (post-calculator) ---------- */
.calc-howto-section {
  /* Generous vertical breathing room above and below - reads as a real
     section transition rather than a small inline card. */
  padding: 2.2rem 0 3rem;
}
.calc-howto-card {
  position: relative;
  /* Wider container - feels comparable to the main calculator content width. */
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 1.9rem;
  border: 1px solid rgba(214, 180, 106, 0.34);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(214, 180, 106, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 85% 100%, rgba(214, 180, 106, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(28, 22, 16, 0.94), rgba(10, 9, 8, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(214, 180, 106, 0.2),
    0 0 0 1px rgba(214, 180, 106, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.45);
  text-align: center;
  overflow: hidden;
}
.calc-howto-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.6), transparent);
  pointer-events: none;
}
@media (min-width: 720px) {
  .calc-howto-card {
    padding: 2.4rem 2.6rem 2.5rem;
  }
}
@media (min-width: 1000px) {
  .calc-howto-card {
    padding: 2.6rem 3rem 2.7rem;
  }
}
.calc-howto-eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.calc-howto-card h2 {
  margin: 0 0 0.7rem;
  color: var(--champagne);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.3;
  max-width: 32ch;
  margin-inline: auto;
}
.calc-howto-card p {
  margin: 0 auto;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- "השלב הבא" block - bullets + WhatsApp CTA inside calc-howto-card ---------- */
.calc-next-card {
  text-align: right; /* RTL: list bullets and copy left-anchored to the right */
}
.calc-next-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: right;
}
.calc-next-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(214, 180, 106, 0.18);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.04), rgba(0, 0, 0, 0));
  color: rgba(245, 234, 210, 0.88);
  font-size: 0.93rem;
  line-height: 1.55;
}
.calc-next-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.55rem;
  box-shadow: 0 0 8px rgba(214, 180, 106, 0.55);
}
.calc-next-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}
@media (max-width: 600px) {
  .calc-next-actions .btn {
    width: 100%;
    text-align: center;
  }
  .calc-next-list li {
    font-size: 0.9rem;
  }
}

/* ========== Post-calc focus, button hierarchy, choice-card refresh ========== */

/* Subtle pulse on the result summary right after calc - draws the eye. */
.calc-result-focus.is-fresh .result-summary--focused {
  animation: calcResultPulse 1.6s ease-out 1;
}
.result-summary--focused {
  border-color: rgba(214, 180, 106, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(214, 180, 106, 0.2),
    0 0 0 1px rgba(214, 180, 106, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.45);
}
.result-summary--focused h2 {
  color: var(--champagne);
  margin-bottom: 0.85rem;
}
@keyframes calcResultPulse {
  0% { box-shadow: inset 0 1px 0 rgba(214, 180, 106, 0.2), 0 0 0 1px rgba(214, 180, 106, 0.08), 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(214, 180, 106, 0.5); }
  50% { box-shadow: inset 0 1px 0 rgba(214, 180, 106, 0.25), 0 0 0 1px rgba(214, 180, 106, 0.18), 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 32px 8px rgba(214, 180, 106, 0.2); }
  100% { box-shadow: inset 0 1px 0 rgba(214, 180, 106, 0.2), 0 0 0 1px rgba(214, 180, 106, 0.08), 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(214, 180, 106, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .calc-result-focus.is-fresh .result-summary--focused { animation: none; }
}

/* Result action row: primary bigger, outline buttons smaller, neat wrap. */
.calc-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
}
.calc-result-actions .btn {
  min-height: 44px;
}
.calc-result-actions .calc-result-cta-primary {
  flex: 0 0 auto;
  min-width: 220px;
  font-size: 1rem;
  font-weight: 700;
  padding-inline: 1.4rem;
  order: 0;
}
.calc-result-actions .btn-outline {
  flex: 0 0 auto;
  font-size: 0.92rem;
  padding-inline: 1rem;
  opacity: 0.92;
}
.calc-result-actions .btn-outline:hover {
  opacity: 1;
}
@media (max-width: 600px) {
  .calc-result-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .calc-result-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* "רגע לפני שממשיכים…" block - wider mini-cards row + spacious CTA. */
.calc-next-card { text-align: center; }
.calc-next-list--cards {
  list-style: none;
  margin: 1.6rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  text-align: right;
  max-width: 960px;
  align-items: stretch;
}
@media (min-width: 760px) {
  .calc-next-list--cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.calc-next-list--cards li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(214, 180, 106, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(214, 180, 106, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(34, 26, 18, 0.88), rgba(12, 10, 8, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(214, 180, 106, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.35);
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(245, 234, 210, 0.92);
  /* Uniform mini-card height across the 3-up row. */
  min-height: 96px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.calc-next-list--cards li:hover {
  border-color: rgba(214, 180, 106, 0.55);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(214, 180, 106, 0.18),
    0 0 16px rgba(214, 180, 106, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.42);
}
.calc-next-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(214, 180, 106, 0.5);
  background:
    radial-gradient(circle at 35% 30%, rgba(214, 180, 106, 0.24), transparent 65%),
    linear-gradient(160deg, rgba(20, 15, 8, 0.85), rgba(8, 6, 4, 0.9));
  color: var(--gold);
  margin-top: 0.1rem;
}
.calc-next-text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}
.calc-next-actions {
  margin-top: 1.6rem !important;
}
.calc-next-actions .btn {
  min-width: 240px;
  padding: 0.85rem 1.6rem;
  font-size: 1.02rem;
  font-weight: 700;
}

/* Refreshed choice cards - premium gold selected state, no native radio circles. */
.choice-cards { gap: 0.55rem; }
.calc-panel .choice-card {
  position: relative;
  padding: 0.7rem 1rem 0.75rem 2.5rem; /* extra inline-end space reserved for the indicator */
  padding-inline-start: 0.95rem;
  padding-inline-end: 2.5rem;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.calc-panel .choice-card:hover {
  border-color: rgba(214, 180, 106, 0.5);
  background: rgba(214, 180, 106, 0.05);
}
/* Hide native radio/checkbox - the card itself + the gold indicator below
   communicates selection. Keep accessible via keyboard (focus styles on
   .choice-card:has(input:focus-visible) already in base rules). */
.calc-panel .choice-card input[type="radio"],
.calc-panel .choice-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  width: 1px;
  height: 1px;
}
/* Indicator ring - sits at the card's inline-end (right side in RTL). */
.calc-panel .choice-card::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 0.9rem;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(214, 180, 106, 0.45);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}
/* Selected state - gold border + gold-filled indicator + check glyph. */
.calc-panel .choice-card:has(input:checked) {
  border-color: rgba(214, 180, 106, 0.85);
  background:
    radial-gradient(ellipse 80% 70% at 30% 0%, rgba(214, 180, 106, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(214, 180, 106, 0.12), rgba(214, 180, 106, 0.05));
  box-shadow:
    inset 0 0 0 1px rgba(214, 180, 106, 0.55),
    0 0 16px rgba(214, 180, 106, 0.2);
}
.calc-panel .choice-card:has(input:checked)::before {
  border-color: var(--gold);
  background: linear-gradient(180deg, #e8c98a 0%, #c9a763 100%);
  box-shadow: 0 0 12px rgba(214, 180, 106, 0.55);
}
.calc-panel .choice-card:has(input:checked)::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 1.36rem;
  transform: translate(0, -68%) rotate(45deg);
  width: 5px;
  height: 9px;
  border-right: 2px solid #1a1208;
  border-bottom: 2px solid #1a1208;
  pointer-events: none;
}
.calc-panel .choice-card-body { gap: 0.18rem; }
.calc-panel .choice-card-body strong { font-size: 0.94rem; font-weight: 700; }
.calc-panel .choice-card-body small { font-size: 0.8rem; line-height: 1.45; opacity: 0.88; }

/* Binary / segmented (כן/לא etc.) - no indicator dot; the whole pill
   styles up when selected. */
.calc-panel .choice-cards.tri-state { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.calc-panel .choice-cards.tri-state .choice-card,
.calc-panel .choice-cards--dense .choice-card {
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  padding-inline-start: 0.85rem;
  padding-inline-end: 0.85rem;
  border-radius: 999px;
  min-height: 44px;
}
.calc-panel .choice-cards.tri-state .choice-card::before,
.calc-panel .choice-cards.tri-state .choice-card::after,
.calc-panel .choice-cards--dense .choice-card::before,
.calc-panel .choice-cards--dense .choice-card::after {
  content: none;
}
.calc-panel .choice-cards.tri-state .choice-card .choice-card-body,
.calc-panel .choice-cards--dense .choice-card .choice-card-body {
  text-align: center;
}

/* "הדגשת אלכוהול" - fixed 3-column grid at every breakpoint. With 7
   options the layout is 3+3+1; the lone trailing item is centered with
   the EXACT same width as the other pills (track width is `(100% - 2 ×
   col-gap) / 3`). No item is ever wider or narrower than its siblings. */
.calc-panel .choice-cards--dense {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.6rem;
  align-items: stretch;
}
.calc-panel .choice-cards--dense .choice-card {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  padding-inline-start: 0.9rem;
  padding-inline-end: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.92rem;
}
/* Center a single trailing item (e.g. the 7th of 7) across all 3 tracks
   while keeping its pixel width identical to one track. */
.calc-panel .choice-cards--dense .choice-card:last-child:nth-child(3n+1) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 2 * 0.6rem) / 3);
}
.calc-panel .choice-cards--dense .choice-card .choice-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.calc-panel .choice-cards--dense .choice-card .choice-card-body strong {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Wine + Beer (tri-state כן/לא/לא בטוח) - same 3-column rhythm. */
.calc-panel .choice-cards.tri-state {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.6rem;
  align-items: stretch;
}
.calc-panel .choice-cards.tri-state .choice-card {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  padding-inline-start: 0.9rem;
  padding-inline-end: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}
.calc-panel .choice-cards.tri-state .choice-card .choice-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.calc-panel .choice-cards.tri-state .choice-card .choice-card-body strong {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Remove the gold check-dot indicator from Step 3 groups. The selected
   state uses only border / glow / background tint / text - no extra icon.
   Higher specificity than the global `:has(input:checked)::before/::after`
   rule above so it overrides cleanly. */
.calc-panel .choice-cards--dense .choice-card:has(input:checked)::before,
.calc-panel .choice-cards--dense .choice-card:has(input:checked)::after,
.calc-panel .choice-cards.tri-state .choice-card:has(input:checked)::before,
.calc-panel .choice-cards.tri-state .choice-card:has(input:checked)::after {
  content: none;
  display: none;
}

/* Step 2 (רמת שתייה / רמת חבילה): light, rounded option buttons that match the
   Step 3 design system — clean 3-up grid, thin border, gold hover/selected glow
   (reused from the base .choice-card rules), NO side ring/check indicator — but
   still showing a compact title + short description. CSS-only; no logic change. */
.calc-panel .choice-cards--compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.6rem;
  align-items: stretch;
}
.calc-panel .choice-cards--compact .choice-card {
  padding: 0.6rem 0.85rem;
  padding-inline-start: 0.85rem;   /* no reserved space for an indicator */
  padding-inline-end: 0.85rem;
  border-radius: 14px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* Drop the gold ring / check glyph — selection is shown by border + glow only. */
.calc-panel .choice-cards--compact .choice-card::before,
.calc-panel .choice-cards--compact .choice-card::after,
.calc-panel .choice-cards--compact .choice-card:has(input:checked)::before,
.calc-panel .choice-cards--compact .choice-card:has(input:checked)::after {
  content: none;
  display: none;
}
.calc-panel .choice-cards--compact .choice-card-body {
  gap: 0.1rem;
  text-align: center;
  align-items: center;
  justify-items: center;
}
.calc-panel .choice-cards--compact .choice-card-body strong { font-size: 0.92rem; font-weight: 700; }
.calc-panel .choice-cards--compact .choice-card-body small { font-size: 0.76rem; line-height: 1.35; opacity: 0.82; }
/* Mobile: stack to one clean full-width pill per row (no cramped 3-up). */
@media (max-width: 560px) {
  .calc-panel .choice-cards--compact { grid-template-columns: 1fr; }
}

/* Mobile overflow safety on the whole calculator main area. */
@media (max-width: 600px) {
  .calc-next-list--cards li { font-size: 0.9rem; }
}

/* ---------- Calculator FAQ section (uses global #faq-dynamic styling) ---------- */
.calc-faq-section {
  padding: 0.4rem 0 2.6rem;
}
.calc-faq-section .section-title {
  text-align: center;
  display: block;
  margin: 0 auto 0.55rem;
  position: relative;
}
.calc-faq-section .section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 106, 0.6), transparent);
}
.calc-faq-sub {
  margin: 0 auto 1.3rem;
  text-align: center;
  max-width: 56ch;
  color: rgba(245, 234, 210, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Live "הבחירות שלך עד עכשיו" sidebar ---------- */
.calc-preview-list .calc-preview-empty {
  border: 1px dashed rgba(214, 180, 106, 0.22);
  background: rgba(214, 180, 106, 0.03);
  color: rgba(255, 255, 255, 0.62);
  font-style: italic;
}
.calc-preview-list .calc-preview-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(214, 180, 106, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(214, 180, 106, 0.05), rgba(0, 0, 0, 0));
  min-width: 0;
}
.calc-preview-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calc-preview-value {
  color: var(--champagne);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* When sidebar is hidden via [hidden] attribute (step 4), main column should
   still center-fit. The existing grid handles this since `display: none` on
   a grid item collapses its track when using auto-fit/auto-fill - but the
   calculator layout uses fixed columns, so make sure layout doesn't shift. */
.calculator-layout > .result-sidebar[hidden] {
  display: none;
}
