﻿/* ============================================================
   design-umrah Page
   ============================================================ */

/* ── Page-level color overrides ── */
:root {
  --primary:       var(--gold-3);
  --primary-hover: var(--gold-3);
  --primary-light: var(--gold-line);
}

/* ═══════════════════════════════════════
     HERO
  ═══════════════════════════════════════ */
  .umrah-hero {
    background: linear-gradient(150deg, #0a1f35 0%, var(--gold-3) 48%, var(--gold-3) 100%);
    padding: 44px 0 0;
    position: relative; overflow: hidden;
  }
  .umrah-hero::before {
    content: '';
    position: absolute; top: -90px; right: -90px;
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .umrah-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 44px; background: var(--bg-gray);
    border-radius: 24px 24px 0 0;
  }
  .umrah-hero-inner {
    position: relative; z-index: 1;
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; padding-bottom: 70px;
  }
  .umrah-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
    font-size: 12.5px; font-weight: 700;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22);
    color: rgba(255,255,255,.9);
  }
  .umrah-hero h1 { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1.2; }
  .umrah-hero h1 span { color: var(--gold-2); }
  .umrah-hero p  { font-size: 14px; color: rgba(255,255,255,.65); max-width: 420px; line-height: 1.75; }
  .umrah-hero-features {
    display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap;
  }
  .uhf {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 30px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
  }
  .uhf svg { width: 13px; height: 13px; color: var(--gold-2); }
  .umrah-hero-img {
    flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
  }
  .umrah-step-counter {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px; padding: 14px 22px; text-align: center;
    backdrop-filter: blur(4px);
  }
  .umrah-step-counter strong { display: block; font-size: 28px; font-weight: 900; color: #fff; }
  .umrah-step-counter span   { font-size: 11px; color: rgba(255,255,255,.6); }

  /* ═══════════════════════════════════════
     LAYOUT
  ═══════════════════════════════════════ */
  .wizard-page { background: var(--bg-gray); padding: 32px 0 72px; min-height: 60vh; }
  .wizard-layout {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 24px; align-items: start;
  }

  /* ═══════════════════════════════════════
     PROGRESS BAR
  ═══════════════════════════════════════ */
  .progress-wrap {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 24px;
    margin-bottom: 20px; overflow: hidden;
  }
  .progress-meta {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
  }
  .progress-step-name {
    font-size: 15px; font-weight: 800; color: var(--text);
  }
  .progress-fraction {
    font-size: 12.5px; font-weight: 700;
    color: var(--text-muted);
  }
  .progress-fraction span { color: var(--primary); }
  .progress-bar-track {
    height: 6px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin-bottom: 16px;
  }
  .progress-bar-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold-3) 100%);
    transition: width .45s cubic-bezier(.4,0,.2,1);
  }
  .progress-dots {
    display: flex; gap: 5px; align-items: center; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .progress-dots::-webkit-scrollbar { display: none; }
  .p-dot {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; flex-shrink: 0;
    cursor: pointer; transition: all .2s;
    border: 2px solid var(--border); background: #fff; color: var(--text-muted);
  }
  .p-dot.done { background: var(--green); border-color: var(--green); color: #fff; }
  .p-dot.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-3) 15%, transparent); }
  .p-connector { flex: 1; height: 2px; background: var(--border); border-radius: 2px; min-width: 8px; flex-shrink: 0; }
  .p-connector.done { background: var(--green); }

  /* ═══════════════════════════════════════
     STEP PANELS
  ═══════════════════════════════════════ */
  .step-panel { display: none; }
  .step-panel.active {
    display: block;
    animation: stepFadeIn .35s cubic-bezier(.4,0,.2,1);
  }
  @keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  .step-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    box-shadow: var(--shadow-sm); margin-bottom: 16px;
  }
  .step-hdr {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1.5px solid var(--border-light);
  }
  .step-hdr-num {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold-3) 100%);
    color: #fff; font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .step-hdr-text { flex: 1; }
  .step-hdr-title { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
  .step-hdr-sub   { font-size: 13px; color: var(--text-muted); }

  /* ═══════════════════════════════════════
     CHOICE CARDS (Large icon cards)
  ═══════════════════════════════════════ */
  .choice-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
  }
  .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .choice-card {
    border: 2px solid var(--border); border-radius: var(--radius-lg);
    padding: 22px 16px; text-align: center; cursor: pointer;
    transition: all .22s; background: #fff; position: relative;
    touch-action: manipulation;
  }
  .choice-card:hover {
    border-color: var(--primary); background: var(--primary-light);
    transform: translateY(-2px); box-shadow: 0 6px 20px color-mix(in srgb, var(--gold-3) 10%, transparent);
  }
  .choice-card.selected {
    border-color: var(--primary); background: var(--primary-light);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-3) 12%, transparent);
  }
  .choice-card.selected-green {
    border-color: var(--green); background: var(--green-light);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 12%, transparent);
  }
  .choice-card.selected .choice-check { opacity: 1; }
  .choice-check {
    position: absolute; top: 10px; left: 10px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
  }
  .choice-check svg { width: 12px; height: 12px; }
  .choice-icon { font-size: 36px; margin-bottom: 10px; line-height: 1; }
  .choice-icon-svg {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; background: var(--primary-light);
  }
  .choice-icon-svg svg { width: 24px; height: 24px; color: var(--primary); }
  .choice-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
  .choice-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

  /* ═══════════════════════════════════════
     COUNTER COMPONENT
  ═══════════════════════════════════════ */
  .counter-rows { display: flex; flex-direction: column; gap: 0; }
  .counter-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px solid var(--border-light);
  }
  .counter-row:last-child { border-bottom: none; }
  .counter-info { flex: 1; }
  .counter-label { font-size: 14px; font-weight: 700; color: var(--text); }
  .counter-sub   { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .counter-ctrl { display: flex; align-items: center; gap: 0; }
  .counter-btn {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1.5px solid var(--border); background: #fff;
    font-size: 20px; font-weight: 300; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s; line-height: 1;
    touch-action: manipulation; flex-shrink: 0;
  }
  .counter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .counter-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
  .counter-val {
    min-width: 44px; text-align: center;
    font-size: 18px; font-weight: 800; color: var(--text);
  }

  /* ═══════════════════════════════════════
     CHECKBOX CARDS
  ═══════════════════════════════════════ */
  .check-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }
  .check-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: var(--radius);
    border: 1.5px solid var(--border); background: #fff;
    cursor: pointer; transition: all .2s;
    touch-action: manipulation;
  }
  .check-card:hover { border-color: var(--primary); background: var(--primary-light); }
  .check-card.checked { border-color: var(--primary); background: var(--primary-light); }
  .check-card.checked-green { border-color: var(--green); background: var(--green-light); }
  .check-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--bg-gray); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 18px; transition: background .2s;
  }
  .check-card.checked .check-icon-wrap { background: color-mix(in srgb, var(--gold-3) 12%, transparent); }
  .check-card.checked-green .check-icon-wrap { background: color-mix(in srgb, var(--gold) 12%, transparent); }
  .check-card-text { flex: 1; min-width: 0; }
  .check-card-label { font-size: 13.5px; font-weight: 700; color: var(--text); }
  .check-card-sub   { font-size: 11.5px; color: var(--text-muted); }
  .check-indicator {
    width: 20px; height: 20px; border-radius: 6px;
    border: 2px solid var(--border); background: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all .2s;
  }
  .check-card.checked .check-indicator,
  .check-card.checked-green .check-indicator {
    background: var(--primary); border-color: var(--primary);
  }
  .check-card.checked-green .check-indicator { background: var(--green); border-color: var(--green); }
  .check-indicator svg { width: 11px; height: 11px; color: #fff; opacity: 0; transition: opacity .15s; }
  .check-card.checked .check-indicator svg,
  .check-card.checked-green .check-indicator svg { opacity: 1; }

  /* Stars selector */
  .star-group {
    display: flex; gap: 10px;
  }
  .star-card {
    flex: 1; border: 2px solid var(--border); border-radius: var(--radius);
    padding: 14px 10px; text-align: center; cursor: pointer; transition: all .2s;
  }
  .star-card:hover { border-color: var(--vip); background: #fffbeb; }
  .star-card.selected { border-color: var(--vip); background: #fffbeb; box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
  .star-card-stars { font-size: 16px; margin-bottom: 4px; }
  .star-card-label { font-size: 12.5px; font-weight: 700; color: var(--text); }

  /* Section label */
  .section-label {
    font-size: 13px; font-weight: 700; color: var(--text-muted);
    letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 10px; display: flex; align-items: center; gap: 7px;
  }
  .section-label::before { content: ''; flex: 1; height: 1px; background: var(--border); }
  .section-label::after  { content: ''; flex: 1; height: 1px; background: var(--border); }

  /* Toggle switch */
  .toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid var(--border-light);
  }
  .toggle-row:last-child { border-bottom: none; }
  .toggle-info { flex: 1; }
  .toggle-label { font-size: 14px; font-weight: 700; color: var(--text); }
  .toggle-desc  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .toggle-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
  .toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
  .toggle-track {
    position: absolute; inset: 0; background: #d1d5db;
    border-radius: 13px; cursor: pointer; transition: background .2s;
  }
  .toggle-track::after {
    content: ''; position: absolute; top: 3px; right: 3px;
    width: 20px; height: 20px; border-radius: 50%; background: #fff;
    transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2);
  }
  .toggle-switch input:checked + .toggle-track { background: var(--primary); }
  .toggle-switch input:checked + .toggle-track::after { transform: translateX(-20px); }

  /* Form fields */
  .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group.full { grid-column: 1 / -1; }
  .form-group label { font-size: 13px; font-weight: 700; color: var(--text); }
  .form-input, .form-select, .form-textarea {
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 11px 14px; font-size: 14px; color: var(--text);
    font-family: inherit; background: #fff;
    width: 100%; box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
  }
  .form-textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); outline: none;
  }
  .char-counter { font-size: 11.5px; color: var(--text-muted); text-align: left; margin-top: 4px; }

  /* Quick-add tags for requests */
  .quick-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
  .quick-tag {
    padding: 5px 13px; border-radius: 20px; border: 1.5px solid var(--border);
    font-size: 12.5px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: all .15s; background: #fff;
  }
  .quick-tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

  /* Pill selector */
  .pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill-opt {
    padding: 8px 18px; border-radius: 24px;
    border: 1.5px solid var(--border); background: #fff;
    font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    cursor: pointer; transition: all .18s;
  }
  .pill-opt:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
  .pill-opt.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-light); font-weight: 700; }
  .pill-opt.selected-green { border-color: var(--green); color: var(--green); background: var(--green-light); font-weight: 700; }

  /* ═══════════════════════════════════════
     WIZARD NAV BUTTONS
  ═══════════════════════════════════════ */
  .wizard-nav {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 18px 24px;
    gap: 12px; margin-top: 4px;
  }
  .wizard-nav-left, .wizard-nav-right { display: flex; gap: 10px; align-items: center; }
  .btn-wiz {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 22px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700; font-family: inherit;
    border: none; cursor: pointer; transition: all .18s;
  }
  .btn-wiz svg { width: 15px; height: 15px; }
  .btn-wiz-prev { background: #f1f5f9; color: var(--text-muted); }
  .btn-wiz-prev:hover { background: #e2e8f0; color: var(--text); }
  .btn-wiz-next { background: var(--primary); color: #fff; }
  .btn-wiz-next:hover { background: var(--primary-hover); }
  .btn-wiz-submit { background: var(--green); color: #fff; padding: 11px 28px; }
  .btn-wiz-submit:hover { background: var(--green-hover); }
  .btn-wiz-skip { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); font-size: 13px; padding: 9px 16px; }
  .btn-wiz-skip:hover { color: var(--text); }

  /* ═══════════════════════════════════════
     SUMMARY SIDEBAR
  ═══════════════════════════════════════ */
  .summary-widget {
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 20px;
  }
  .summary-widget-hdr {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold-3) 100%);
    padding: 16px 20px; display: flex; align-items: center; gap: 10px;
  }
  .summary-widget-hdr h3 { font-size: 15px; font-weight: 800; color: #fff; }
  .summary-widget-hdr svg { width: 18px; height: 18px; color: rgba(255,255,255,.8); }
  .summary-body { padding: 16px; }
  .summary-empty-state {
    text-align: center; padding: 28px 16px;
    color: var(--text-muted); font-size: 13px;
  }
  .summary-empty-state .s-emoji { font-size: 36px; margin-bottom: 10px; }
  .summary-section { margin-bottom: 12px; }
  .summary-section-title {
    font-size: 10.5px; font-weight: 800; color: #94a3b8;
    letter-spacing: .7px; text-transform: uppercase;
    margin-bottom: 6px;
  }
  .summary-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid var(--border-light);
    font-size: 12.5px;
  }
  .summary-row:last-child { border-bottom: none; }
  .summary-row-label { color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
  .summary-row-val   { font-weight: 700; color: var(--text); text-align: end; }
  .summary-price-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0fdf4 100%);
    border: 1px solid var(--gold-2); border-radius: var(--radius);
    padding: 14px 16px; margin-top: 12px; text-align: center;
  }
  .summary-price-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
  .summary-price-val   { font-size: 22px; font-weight: 900; color: var(--primary); }
  .summary-price-note  { font-size: 10.5px; color: var(--text-muted); margin-top: 3px; }
  .summary-tag {
    display: inline-block; padding: 2px 9px; border-radius: 10px;
    font-size: 11px; font-weight: 700;
    background: var(--primary-light); color: var(--primary);
    margin: 2px 2px 0 0;
  }

  /* ═══════════════════════════════════════
     FINAL SUMMARY (Step 12)
  ═══════════════════════════════════════ */
  .final-summary { display: flex; flex-direction: column; gap: 16px; }
  .final-section {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
  }
  .final-section-hdr {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
    font-size: 14px; font-weight: 800; color: var(--text);
  }
  .final-section-hdr svg { width: 16px; height: 16px; color: var(--primary); }
  .final-section-body { padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .final-item { display: flex; flex-direction: column; gap: 3px; }
  .final-item-label { font-size: 11px; color: var(--text-muted); font-weight: 600; }
  .final-item-val   { font-size: 14px; font-weight: 700; color: var(--text); }
  .final-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  .final-tag {
    padding: 3px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
    background: var(--primary-light); color: var(--primary);
  }
  .final-tag.green { background: var(--green-light); color: var(--green); }
  .final-cta {
    background: linear-gradient(135deg, #0a1f35 0%, var(--gold-3) 50%, var(--gold-3) 100%);
    border-radius: var(--radius-lg); padding: 28px; text-align: center;
    color: #fff;
  }
  .final-cta h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
  .final-cta p  { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
  .final-cta-price { font-size: 28px; font-weight: 900; color: var(--gold-2); margin-bottom: 20px; }
  .btn-final-submit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px; border-radius: var(--radius);
    background: #fff; color: var(--primary);
    font-size: 15px; font-weight: 800; font-family: inherit;
    border: none; cursor: pointer; transition: all .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
  }
  .btn-final-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .btn-final-submit svg { width: 16px; height: 16px; }

  /* ═══════════════════════════════════════
     SUCCESS STATE
  ═══════════════════════════════════════ */
  .success-screen {
    display: none; text-align: center; padding: 48px 24px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }
  .success-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--green-light); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
  }
  .success-icon svg { width: 36px; height: 36px; color: var(--green); }
  .success-screen h2 { font-size: 24px; font-weight: 900; color: var(--text); margin-bottom: 8px; }
  .success-screen p  { font-size: 14px; color: var(--text-muted); max-width: 380px; margin: 0 auto 24px; line-height: 1.75; }
  .success-ref { display: inline-block; padding: 8px 20px; border-radius: 8px; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 14px; margin-bottom: 24px; }

  /* Back to top */
  #backToTop {
    position: fixed; bottom: 28px; left: 28px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 20px; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); cursor: pointer;
    opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
  }
  #backToTop.show { opacity: 1; pointer-events: auto; }

  /* ═══════════════════════════════════════
     RESPONSIVE
  ═══════════════════════════════════════ */

  /* Summary expand toggle — hidden on desktop, shown on tablet/mobile */
  .summary-toggle {
    display: none;
    align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 10px 16px;
    border: none; border-top: 1px solid var(--border-light);
    background: var(--bg-gray);
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--primary);
    cursor: pointer;
  }
  .summary-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
  .summary-toggle.expanded svg { transform: rotate(180deg); }

  /* ── Tablet (960px) ── */
  @media (max-width: 960px) {
    .wizard-layout { grid-template-columns: 1fr; }
    .summary-widget { position: static; margin-bottom: 0; }
    .sidebar-col { order: -1; }
    .summary-body { max-height: 180px; overflow: hidden; transition: max-height .3s ease; }
    .summary-body.expanded { max-height: 600px; }
    .summary-toggle { display: flex; }
  }

  /* ── Mobile (768px) ── */
  @media (max-width: 768px) {
    /* Hero */
    .umrah-hero { padding: 20px 0 0; }
    .umrah-hero-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 24px; }
    .umrah-hero h1 { font-size: 22px; line-height: 1.25; }
    .umrah-hero p { font-size: 13px; max-width: 100%; }
    .umrah-hero-badge { font-size: 11px; padding: 4px 12px; margin-bottom: 10px; }
    .umrah-hero-features { gap: 6px; margin-top: 12px; }
    .uhf { font-size: 11px; padding: 5px 10px; }
    .uhf svg { width: 11px; height: 11px; }
    .umrah-hero-img { display: none; }
    .umrah-hero::after { height: 28px; border-radius: 16px 16px 0 0; }

    /* Wizard page */
    .wizard-page { padding: 14px 0 28px; }

    /* Sidebar goes BELOW wizard steps on mobile (not above) */
    .sidebar-col { order: 1; }
    .summary-widget { margin-top: 8px; }
    .summary-body { max-height: 0; overflow: hidden; }
    .summary-body.expanded { max-height: 500px; }
    .summary-toggle { display: flex; }

    /* Progress bar */
    .progress-wrap { padding: 14px 16px; margin-bottom: 12px; border-radius: var(--radius); }
    .progress-step-name { font-size: 13px; }
    .progress-fraction { font-size: 11px; }
    .p-dot { width: 16px; height: 18px; font-size: 7px; }
    .p-connector { min-width: 6px; }

    /* Step panels */
    .step-card { padding: 18px 16px; margin-bottom: 12px; border-radius: var(--radius); }
    .step-hdr { gap: 10px; margin-bottom: 18px; padding-bottom: 12px; }
    .step-hdr-num { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
    .step-hdr-title { font-size: 15px; }
    .step-hdr-sub { font-size: 12px; }

    /* Choice cards — 3 cols stay 3, looks neater than 2+1 */
    .choice-grid { gap: 8px; }
    .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .choice-card { padding: 14px 8px; }
    .choice-icon { font-size: 26px; margin-bottom: 7px; }
    .choice-icon-svg { width: 38px; height: 38px; margin-bottom: 8px; }
    .choice-label { font-size: 12px; }
    .choice-desc { font-size: 10.5px; }
    .choice-check { width: 18px; height: 18px; top: 8px; left: 8px; }
    .choice-check svg { width: 10px; height: 10px; }

    /* Star selector */
    .star-group { gap: 6px; }
    .star-card { padding: 10px 6px; }
    .star-card-stars { font-size: 13px; margin-bottom: 2px; }
    .star-card-label { font-size: 11px; }

    /* Counter */
    .counter-row { padding: 13px 0; }
    .counter-label { font-size: 13px; }
    .counter-sub { font-size: 11px; }
    .counter-btn { width: 34px; height: 34px; font-size: 18px; border-radius: 8px; }
    .counter-val { font-size: 16px; min-width: 36px; }

    /* Check cards */
    .check-grid { grid-template-columns: 1fr; gap: 8px; }
    .check-card { padding: 12px 14px; }
    .check-icon-wrap { width: 32px; height: 32px; font-size: 16px; border-radius: 8px; }
    .check-card-label { font-size: 13px; }
    .check-card-sub { font-size: 11px; }

    /* Pills / quick tags */
    .pill-opt { padding: 6px 14px; font-size: 12.5px; }
    .quick-tag { font-size: 11.5px; padding: 5px 11px; }

    /* Forms */
    .form-grid-2 { grid-template-columns: 1fr; gap: 12px; }
    .form-input, .form-select, .form-textarea { font-size: 15px; padding: 11px 14px; }
    .form-group label { font-size: 13px; }

    /* Toggle */
    .toggle-label { font-size: 13px; }
    .toggle-desc { font-size: 11.5px; }

    /* Wizard nav — sticky above bottom nav */
    .wizard-nav {
      padding: 12px 14px; gap: 8px;
      position: sticky;
      bottom: calc(64px + env(safe-area-inset-bottom, 0));
      z-index: 50;
      box-shadow: 0 -4px 16px rgba(0,0,0,.07);
    }
    .btn-wiz { padding: 10px 18px; font-size: 13px; }
    .btn-wiz svg { width: 13px; height: 13px; }

    /* Final summary */
    .final-section-hdr { padding: 12px 16px; font-size: 13px; }
    .final-section-body { grid-template-columns: 1fr; padding: 12px 16px; }
    .final-item-val { font-size: 13px; }
    .final-cta { padding: 22px 18px; }
    .final-cta h3 { font-size: 17px; }
    .final-cta-price { font-size: 24px; }
    .btn-final-submit { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }

    /* Success screen */
    .success-screen { padding: 32px 16px; }
    .success-screen h2 { font-size: 20px; }
    .success-icon { width: 64px; height: 64px; }
    .success-icon svg { width: 28px; height: 28px; }

    /* Back to top — clear the bottom nav */
    #backToTop { bottom: 84px; left: 16px; width: 38px; height: 38px; font-size: 16px; }

    /* Override inline padding on step 10 room type cards */
    #step-10 .choice-card { padding: 14px 10px !important; }
    #step-10 .choice-card > div[style] { gap: 8px !important; margin-bottom: 6px !important; }
  }

  /* ── Extra small (480px) ── */
  @media (max-width: 480px) {
    .umrah-hero h1 { font-size: 19px; }
    /* cols-3: 2 columns at very small screens */
    .choice-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .choice-card { padding: 12px 8px; }
    .choice-label { font-size: 11.5px; }
    .star-group { gap: 5px; }
    .wizard-nav { flex-wrap: wrap; }
    .wizard-nav-left, .wizard-nav-right { width: 100%; }
    .wizard-nav-right { justify-content: flex-start; gap: 6px; }
    .btn-wiz-skip { display: none; }
    .btn-wiz-next, .btn-wiz-prev { flex: 1; justify-content: center; }
  }