        .member-list { max-height: 260px; overflow-y: auto; }
        .member-card {
            display: flex; align-items: center; gap: 12px;
            padding: 12px 14px; border: 2px solid #e8e8e8; border-radius: 10px;
            margin-bottom: 8px; cursor: pointer; transition: all .2s;
        }
        .member-card:hover  { border-color: #4caf50; background: #f9fff9; }
        .member-card.selected { border-color: #4caf50; background: #f0faf0; }
        .member-card-icon {
            width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
            background: #e8f5e9; display: flex; align-items: center;
            justify-content: center; color: #4caf50; font-size: 15px;
        }
        .member-card.selected .member-card-icon { background: #4caf50; color: #fff; }
        .member-card-info { flex: 1; }
        .member-card-info strong { display: block; font-size: 14px; }
        .member-card-info span  { font-size: 12px; color: #888; }
        .member-card-check { color: #4caf50; font-size: 17px; opacity: 0; transition: opacity .2s; }
        .member-card.selected .member-card-check { opacity: 1; }
        .slot-icon i { font-size: 22px; color: #0aa437; line-height: 1; }
        .address-card { align-items: flex-start; }
        .family-config-card {
            border: 1px solid #e8e8e8; border-radius: 10px;
            padding: 12px; margin-bottom: 12px; background: #fff;
        }
        .family-config-card h6 { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
        .family-config-grid {
            display: grid; gap: 10px;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        }
        .family-config-grid label { font-size: 12px; color: #666; margin-bottom: 4px; }
        .family-config-empty {
            border: 1px dashed #cfd8cf; border-radius: 10px;
            padding: 12px; color: #777; font-size: 13px; text-align: center;
        }
        .family-address-actions { margin-top: 8px; }
        .family-address-actions button { font-size: 12px; }
        .subscription-address-form .form-label { font-size: 12px; margin-bottom: 4px; color: #555; }

        /* ── Family Pack plan card ──────────────────────────────────────────── */
        .family-pack-card {
            background: linear-gradient(135deg, #fffdf8 0%, #fff7ed 100%) !important;
            border: 2px solid #fbbf65 !important;
            box-shadow: 0 8px 28px rgba(242, 135, 41, 0.14) !important;
        }
        .family-pack-card .basic { color: #e05800 !important; }
        .family-pack-card .features li::before { background: #f5a623 !important; }
        .family-pack-badge {
            display: inline-flex; align-items: center;
            background: linear-gradient(135deg, #ff8f2a, #ea4d1d);
            color: #fff; font-size: 11px; font-weight: 700;
            letter-spacing: .06em; padding: 4px 12px;
            border-radius: 20px; margin-bottom: 10px;
            text-transform: uppercase;
        }
        .btn-fp-cta {
            background: linear-gradient(180deg, #ff8f2a 0%, #ea4d1d 100%);
            color: #fff !important; border: none !important;
            border-radius: 8px !important; padding: 10px 16px !important;
            font-weight: 700 !important; font-size: 14px !important;
            transition: opacity .2s !important;
        }
        .btn-fp-cta:hover { opacity: .9; color: #fff !important; }

        /* ── Member drawer: true sticky footer ──────────────────────────────── */
        .member-drawer {
            display: flex !important;
            flex-direction: column !important;
            overflow: hidden !important;
        }
        .member-drawer .drawer-body {
            flex: 1 !important;
            overflow-y: auto !important;
            padding-bottom: 16px !important;
        }
        .member-drawer .drawer-footer {
            flex-shrink: 0;
            border-top: 1px solid #ededed;
            background: #fff;
            box-shadow: 0 -4px 16px rgba(0,0,0,.06);
            padding: 14px 16px;
        }

        /* ── Family Pack intro card ──────────────────────────────────────────── */
        .fp-intro-card {
            background: linear-gradient(135deg, #fff8f0, #fff3e0);
            border: 1px solid #ffd6a0;
            border-radius: 12px;
            padding: 12px 14px;
            margin-bottom: 4px;
        }

        /* ── Family Pack Group Builder ─────────────────────────────────────── */
        .fp-group-list { display: flex; flex-direction: column; gap: 14px; }
        .fp-group-card {
            border: 1.5px solid #ffd6b0; border-radius: 14px;
            background: #fff; overflow: hidden;
            box-shadow: 0 4px 16px rgba(0,0,0,.07);
        }
        .fp-group-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 14px;
            background: linear-gradient(135deg, #ff8f2a 0%, #ea4d1d 100%);
        }
        .fp-group-title { font-size: 13px; font-weight: 700; color: #fff; }
        .fp-remove-btn {
            background: none; border: none; color: rgba(255,255,255,.85); cursor: pointer;
            padding: 2px 7px; border-radius: 6px; font-size: 13px; line-height: 1;
        }
        .fp-remove-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
        .fp-group-body { padding: 12px 14px; }
        .fp-group-selects {
            display: grid; gap: 10px;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            margin-bottom: 10px;
        }
        .fp-field-label {
            font-size: 11px; font-weight: 600; color: #666;
            margin-bottom: 3px; display: block;
            text-transform: uppercase; letter-spacing: .04em;
        }
        .fp-member-chips { display: flex; flex-wrap: wrap; gap: 7px; }
        .fp-member-chip {
            display: inline-flex; align-items: center; gap: 5px;
            padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
            border: 1.5px solid #ddd; background: #f8f8f8; cursor: pointer;
            transition: all .15s; color: #444; user-select: none;
        }
        .fp-member-chip i { font-size: 11px; }
        .fp-member-chip:not(.disabled):hover { border-color: #4caf50; background: #f0faf0; color: #1a7a2e; }
        .fp-member-chip.selected {
            border-color: #2e7d32; background: #e8f5e9; color: #1b5e20;
            font-weight: 600; box-shadow: 0 0 0 1px #4caf5033;
        }
        .fp-member-chip.disabled { opacity: .4; cursor: not-allowed; }
        .fp-chip-rel { color: #999; font-size: 11px; }
        .fp-chip-check { color: #2e7d32; }
        .fp-group-error { font-size: 12px; }
        .fp-empty-hint {
            border: 1px dashed #ffd6a0; border-radius: 14px;
            padding: 22px 16px; color: #a04000; font-size: 13px;
            text-align: center; background: #fff8f4;
        }

        /* ── Delivery Slot card redesign ────────────────────────────────────── */
        .time-slot {
            background: #fff !important; border: 1.5px solid #e8e8e8 !important;
            border-radius: 14px !important; height: auto !important;
            padding: 16px !important; margin-bottom: 10px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,.05); color: #111 !important;
        }
        .time-slot:hover { border-color: #ea4d1d !important; }
        .time-slot.active {
            background: #fff8f5 !important; border: 2px solid #ea4d1d !important; color: #111 !important;
        }
        .time-slot.active .slot-content span { color: #888 !important; }
        .slot-icon {
            width: 48px !important; height: 48px !important;
            border-radius: 50% !important; font-size: 22px !important;
        }
        .slot-icon-sunrise { color: #f59e0b !important; background: #fefce8 !important; }
        .slot-icon-sun     { color: #ef4444 !important; background: #fff0f0 !important; }
        .slot-icon-moon    { color: #4b5563 !important; background: #f1f5f9 !important; }
        .slot-icon-default { color: #888    !important; background: #f5f5f5 !important; }
        .time-slot.active .slot-icon { background: inherit !important; color: inherit !important; }
        .slot-content h5 { font-size: 16px !important; font-weight: 700 !important; }
        .slot-content span { font-size: 13px !important; color: #888 !important; margin-top: 3px !important; }
        .slot-check {
            width: 22px !important; height: 22px !important;
            border-radius: 50% !important; border: 2px solid #d0d0d0 !important;
            background: #fff !important; font-size: 0 !important; flex-shrink: 0;
        }
        .time-slot.active .slot-check {
            border: 6px solid #ea4d1d !important; background: #fff !important; font-size: 0 !important;
        }

        /* ── Address card redesign ───────────────────────────────────────────── */
        #addressList { max-height: none !important; }
        .addr-card {
            display: flex; align-items: flex-start; gap: 12px;
            padding: 14px 16px; border: 1.5px solid #e8e8e8; border-radius: 14px;
            margin-bottom: 10px; cursor: pointer; transition: all .15s; background: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,.04);
        }
        .addr-card:hover { border-color: #aad4aa; }
        .addr-card-selected { border-color: #2e7d32 !important; background: #f0fdf4 !important; }
        .addr-card-icon {
            width: 44px; height: 44px; border-radius: 12px;
            background: #f5f5f5; display: flex; align-items: center;
            justify-content: center; font-size: 20px; color: #777; flex-shrink: 0;
        }
        .addr-card-selected .addr-card-icon { background: #e8f5e9; color: #2e7d32; }
        .addr-card-body { flex: 1; min-width: 0; }
        .addr-card-label { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 3px; }
        .addr-card-mobile { font-size: 12px; color: #888; margin-bottom: 2px; }
        .addr-card-text { font-size: 12px; color: #888; line-height: 1.55; }
        .addr-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; padding-top: 2px; }
        .addr-card-badge {
            font-size: 11px; font-weight: 600; color: #2e7d32;
            background: #dcfce7; border: 1px solid #bbf7d0;
            border-radius: 50px; padding: 2px 10px; white-space: nowrap;
        }
        .addr-card-radio {
            width: 20px; height: 20px; border-radius: 50%;
            border: 2px solid #ccc; background: #fff; flex-shrink: 0;
            transition: border .15s;
        }
        .addr-radio-active { border: 6px solid #2e7d32 !important; }

        /* Add New Address button in address drawer */
        .addr-add-btn {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            width: 100%; padding: 13px; margin-bottom: 14px;
            border: 1.5px dashed #ea4d1d; border-radius: 12px;
            background: transparent; color: #ea4d1d;
            font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
        }
        .addr-add-btn:hover { background: #fff5f3; }

        /* ── Food Preference cards ──────────────────────────────────────────── */
        .food-pref-card {
            display: flex; align-items: center; gap: 14px;
            background: #fff !important; border: 1.5px solid #e8e8e8 !important; border-radius: 14px !important;
            padding: 14px 16px !important; margin-bottom: 10px !important; cursor: pointer;
            transition: all .15s; box-shadow: 0 2px 8px rgba(0,0,0,.05);
        }
        .food-pref-card:hover { border-color: #ea4d1d !important; }
        .food-pref-card.active {
            border: 2px solid #ea4d1d !important; background: #fff8f5 !important;
        }
        .food-pref-thumb {
            width: 60px; height: 60px; border-radius: 12px; flex-shrink: 0;
            object-fit: cover; background: #f5f5f5;
        }
        .food-pref-body { flex: 1; min-width: 0; }
        .food-pref-title { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 3px; }
        .food-pref-subtitle { font-size: 13px; color: #888; }
        .food-pref-check {
            width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
            border: 2px solid #d0d0d0; background: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 12px; color: transparent; transition: all .15s;
        }
        .food-pref-card.active .food-pref-check {
            border-color: #ea4d1d; background: #ea4d1d; color: #fff;
        }
        .fp-sel-icon-food { background: #fff0ec; color: #ea4d1d; }

        /* ── Stepper progress ──────────────────────────────────────────────── */
        .fp-step-chip {
            font-size: 11px; font-weight: 600; color: #e05800;
            background: #fff5ea; border: 1px solid #fbbf65;
            border-radius: 20px; padding: 3px 10px;
        }
        .fp-progress-wrap { margin-bottom: 20px; }
        .fp-progress-track {
            height: 6px; background: #f0f0f0; border-radius: 10px; overflow: hidden; margin-bottom: 6px;
        }
        .fp-progress-fill {
            height: 100%; background: linear-gradient(90deg, #ff8f2a, #ea4d1d);
            border-radius: 10px; transition: width .4s ease;
        }
        .fp-progress-labels {
            display: flex; justify-content: space-between;
            font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: .04em;
        }

        /* ── Step panels ────────────────────────────────────────────────────── */
        .fp-panel { animation: fpFadeIn .2s ease; }
        @keyframes fpFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
        .fp-panel-title { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
        .fp-panel-sub { font-size: 13px; color: #666; margin-bottom: 14px; }
        .fp-count-text { font-size: 12px; color: #888; }
        .fp-info-note { font-size: 12px; color: #555; background: #f4f9ff; border-radius: 8px; padding: 10px 12px; border: 1px solid #d0e4ff; }

        /* ── Add member form ────────────────────────────────────────────────── */
        .fp-add-member-form { background: #f9f9f9; border: 1px solid #e8e8e8; }

        /* ── Step 1 header ─────────────────────────────────────────────────── */
        .fp-step1-header {
            display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
        }
        .fp-select-all-wrap {
            display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-top: 2px;
        }
        .fp-select-all-label {
            font-size: 14px; font-weight: 500; color: #333; white-space: nowrap;
        }
        .fp-select-all-input { cursor: pointer; }
        .fp-list-divider { border: none; border-top: 1px solid #ebebeb; }

        /* ── Member list (Step 1) ───────────────────────────────────────────── */
        .fp-member-list { display: flex; flex-direction: column; }
        .fp-member-card {
            display: flex; align-items: center; gap: 14px;
            padding: 14px 0; cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
            background: transparent;
            user-select: none; -webkit-tap-highlight-color: transparent;
            transition: background .12s;
        }
        .fp-member-card:last-child { border-bottom: none; }
        .fp-member-card:active { background: #fafafa; }
        .fp-member-avatar {
            width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
            background: linear-gradient(135deg, #ff8f2a, #ea4d1d);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 20px; font-weight: 700;
        }
        .fp-member-info { flex: 1; min-width: 0; }
        .fp-member-info strong { display: block; font-size: 15px; font-weight: 600; color: #111; line-height: 1.3; }
        .fp-member-info span { font-size: 13px; color: #aaa; display: block; margin-top: 3px; }
        .fp-sel-indicator {
            width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
            border: 2px solid #d8d8d8; background: #f3f3f3;
            display: flex; align-items: center; justify-content: center;
            font-size: 16px; color: transparent;
            transition: background .18s ease, border-color .18s ease,
                        color .18s ease, transform .18s ease;
        }
        .fp-card-selected .fp-sel-indicator {
            background: #2e7d32; border-color: #2e7d32; color: #fff; transform: scale(1.06);
        }
        .fp-card-disabled { cursor: not-allowed; opacity: .55; }
        .fp-card-disabled .fp-member-info span { color: #c0392b; font-weight: 600; }

        .fp-member-edit-btn {
            width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
            border: 1px solid #fbbf65; background: #fff; color: #f5a623;
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; cursor: pointer; transition: background .15s;
        }
        .fp-member-edit-btn:hover { background: #fffaf4; }

        /* ── Add member link (Step 1 below list) ───────────────────────────── */
        .fp-add-member-link {
            display: inline-flex; align-items: center; gap: 7px;
            background: none; border: none; padding: 12px 0 4px;
            color: #ea4d1d; font-size: 14px; font-weight: 600; cursor: pointer;
        }
        .fp-add-member-link:hover { color: #c0390f; }

        /* ── Selected chips row (Step 1 bottom) ───────────────────────────── */
        .fp-selected-row { background: #fffaf4; border: 1px solid #ffd6a0; border-radius: 10px; padding: 10px 12px; }
        .fp-selected-label { font-size: 13px; color: #7d4a00; font-weight: 500; }
        .fp-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
        .fp-chip-tag {
            display: inline-flex; align-items: center; gap: 5px;
            background: #fff3e0; border: 1px solid #fbbf65; border-radius: 20px;
            padding: 3px 10px; font-size: 12px; font-weight: 500; color: #7d3a00;
        }
        .fp-chip-tag button {
            background: none; border: none; color: #a05000; font-size: 13px;
            line-height: 1; padding: 0; cursor: pointer;
        }

        /* ── Assignment type cards (Step 2) ────────────────────────────────── */
        .fp-assign-opt {
            display: flex; align-items: flex-start; gap: 12px;
            border: 2px solid #e8e8e8; border-radius: 14px;
            padding: 14px; cursor: pointer; transition: all .2s; background: #fff;
        }
        .fp-assign-opt:hover { border-color: #f5a623; }
        .fp-assign-active { border-color: #f5a623; background: #fffaf4; }
        .fp-assign-icon-box {
            width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center; font-size: 22px;
        }
        .fp-icon-orange { background: #fff5ea; color: #f5a623; }
        .fp-icon-green  { background: #f0faf0; color: #4caf50; }
        .fp-assign-text { flex: 1; }
        .fp-recommended-badge {
            font-size: 10px; font-weight: 700; color: #4caf50;
            background: #e8f5e9; border-radius: 20px; padding: 2px 8px;
        }
        .fp-assign-tag { font-size: 12px; color: #e05800; font-weight: 500; }
        .fp-tag-green  { color: #2e7d32; }
        .fp-radio-col { display: flex; align-items: center; padding-left: 6px; }
        .fp-radio-dot {
            width: 18px; height: 18px; border-radius: 50%; border: 2px solid #ccc;
            flex-shrink: 0; transition: all .15s;
        }
        .fp-radio-active { border-color: #f5a623; border-width: 5px; background: #fff; }

        /* ── Bulk Assignment layout (Step 3A) ─────────────────────────────── */
        .fp-bulk-members-top {
            background: #fff; border-radius: 14px;
            border: 1px solid #ebebeb;
            box-shadow: 0 2px 10px rgba(0,0,0,.06);
            padding: 14px 16px;
        }
        .fp-bulk-members-label { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 12px; }
        .fp-bulk-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
        .fp-bulk-chip {
            display: flex; align-items: center; gap: 7px;
            background: #f5f5f5; border-radius: 50px;
            padding: 5px 8px 5px 5px;
            font-size: 13px; font-weight: 500; color: #222;
        }
        .fp-bulk-chip-remove {
            background: none; border: none; padding: 0; margin: 0;
            font-size: 12px; color: #aaa; cursor: pointer; line-height: 1;
            display: flex; align-items: center; justify-content: center;
            width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
            transition: background .15s, color .15s;
        }
        .fp-bulk-chip-remove:hover { background: #e0e0e0; color: #ea4d1d; }
        .fp-bulk-chip-avatar {
            width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
            background: linear-gradient(135deg, #ff8f2a, #ea4d1d);
            display: flex; align-items: center; justify-content: center;
            font-size: 12px; font-weight: 700; color: #fff;
        }
        .fp-selector-card {
            background: #fff; border-radius: 16px;
            border: 1px solid #e8e8e8;
            box-shadow: 0 3px 14px rgba(0,0,0,.08); overflow: hidden;
        }
        .fp-sel-row {
            position: relative; display: flex; align-items: center; gap: 14px;
            padding: 16px 16px; border-bottom: 1px solid #f2f2f2;
            cursor: pointer; transition: background .12s;
        }
        .fp-sel-row:hover  { background: #fafafa; }
        .fp-sel-row:active { background: #f4f4f4; }
        .fp-sel-row-last   { border-bottom: none; }
        .fp-sel-icon {
            width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center; font-size: 20px;
        }
        .fp-sel-icon-plan { background: #fff3e8; color: #ea4d1d; }
        .fp-sel-icon-slot { background: #e8f5fe; color: #1a7bbf; }
        .fp-sel-icon-addr { background: #fff8ec; color: #c06000; }
        .fp-sel-body      { flex: 1; min-width: 0; }
        .fp-sel-label     { display: block; font-size: 11px; color: #b0b0b0; font-weight: 500; margin-bottom: 4px; letter-spacing: .02em; text-transform: uppercase; }
        .fp-sel-value     { display: block; font-size: 15px; font-weight: 700; color: #111; line-height: 1.3; }
        .fp-sel-addr-detail { display: block; font-size: 12px; color: #888; margin-top: 3px; line-height: 1.5; }
        .fp-sel-price     { font-size: 13px; font-weight: 700; color: #ea4d1d; flex-shrink: 0; white-space: nowrap; }
        .fp-sel-chevron   { font-size: 13px; color: #c8c8c8; flex-shrink: 0; margin-left: 4px; }
        .fp-sel-overlay   {
            position: absolute; inset: 0; width: 100%; height: 100%;
            opacity: 0; cursor: pointer; z-index: 2;
        }
        /* The overlay <select> is invisible (opacity:0) but spans the full
           row, so its own focus ring — previously suppressed entirely —
           already outlines the whole row correctly for keyboard users. */
        .fp-sel-overlay:focus-visible {
            opacity: 0;
            outline: 2px solid #ea4d1d;
            outline-offset: -2px;
            border-radius: 8px;
        }
        .fp-sel-row-invalid {
            background: #fff5f5;
            outline: 1.5px solid #dc3545;
            outline-offset: -1.5px;
            border-radius: 8px;
        }
        .fp-sel-error-text {
            display: block; font-size: 12px; font-weight: 600;
            color: #dc3545; margin-top: 3px;
        }
        .fp-bulk-note {
            display: flex; align-items: flex-start; gap: 8px;
            background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
            padding: 10px 12px; font-size: 12px; color: #166534;
            margin-top: 12px; line-height: 1.5;
        }
        .fp-bulk-note i { color: #22c55e; font-size: 14px; flex-shrink: 0; margin-top: 1px; }

        /* ── Individual rows (Step 3B) ─────────────────────────────────────── */
        .fp-individual-rows { display: flex; flex-direction: column; gap: 16px; }
        .fp-ind-card {
            border: 1.5px solid #e8e8e8; border-radius: 16px;
            background: #fff; overflow: hidden;
            box-shadow: 0 3px 12px rgba(0,0,0,.07);
        }
        .fp-ind-header {
            display: flex; align-items: center; gap: 12px;
            padding: 14px 16px; background: #fff;
            border-bottom: 1px solid #f0f0f0;
        }
        .fp-ind-avatar {
            width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
            background: linear-gradient(135deg, #ff8f2a, #ea4d1d);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 16px; font-weight: 700;
        }
        .fp-ind-name { font-size: 15px; font-weight: 700; color: #111; flex: 1; }
        .fp-ind-remove-btn {
            display: flex; align-items: center; gap: 5px;
            background: none; border: none; padding: 0;
            font-size: 13px; font-weight: 600; color: #ea4d1d;
            cursor: pointer; flex-shrink: 0;
        }
        .fp-ind-remove-btn i { font-size: 13px; }
        .fp-ind-selectors { display: flex; flex-direction: column; }
        .fp-ind-add-addr-btn {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            margin: 12px 16px; padding: 11px;
            border: 1.5px dashed #ea4d1d; border-radius: 10px;
            background: transparent; color: #ea4d1d;
            font-size: 13px; font-weight: 600; cursor: pointer;
            transition: background .15s;
        }
        .fp-ind-add-addr-btn:hover { background: #fff5f3; }
        .fp-ind-add-member-btn {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            width: 100%; padding: 14px;
            border: 1.5px dashed #ea4d1d; border-radius: 14px;
            background: transparent; color: #ea4d1d;
            font-size: 14px; font-weight: 600; cursor: pointer;
            transition: background .15s;
        }
        .fp-ind-add-member-btn:hover { background: #fff5f3; }

        /* ── Review cards (Step 4) ─────────────────────────────────────────── */
        .fp-review-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
        .fp-review-card {
            border: 1.5px solid #e8e8e8; border-radius: 12px; background: #fff;
            padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.05);
        }
        .fp-review-member-row {
            display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
        }
        .fp-review-avatar {
            width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
            background: linear-gradient(135deg, #ff8f2a, #ea4d1d);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 15px; font-weight: 700;
        }
        .fp-review-name  { font-size: 14px; font-weight: 600; color: #1a1a1a; }
        .fp-review-plan  { font-size: 12px; color: #888; }
        .fp-review-detail-row {
            display: flex; align-items: flex-start; gap: 8px;
            font-size: 12px; color: #555; margin-bottom: 5px;
        }
        .fp-review-detail-row i { color: #f5a623; flex-shrink: 0; margin-top: 2px; }
        .fp-review-price {
            display: flex; justify-content: flex-end; align-items: center;
            margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0;
        }
        .fp-review-price-label { font-size: 12px; color: #888; }
        .fp-review-price-value { font-size: 15px; font-weight: 700; color: #2d8a41; }
        .fp-review-actions { display: flex; gap: 8px; margin-top: 10px; }
        .fp-btn-edit {
            flex: 1; font-size: 12px; font-weight: 600; color: #f5a623;
            border: 1px solid #fbbf65; background: #fff; border-radius: 8px;
            padding: 6px; cursor: pointer; transition: all .15s;
        }
        .fp-btn-edit:hover { background: #fffaf4; }
        .fp-btn-delete {
            flex: 1; font-size: 12px; font-weight: 600; color: #ea4d1d;
            border: 1px solid #ffc0b0; background: #fff; border-radius: 8px;
            padding: 6px; cursor: pointer; transition: all .15s;
        }
        .fp-btn-delete:hover { background: #fff5f3; }
        .fp-price-summary {
            border: 1.5px solid #e8e8e8; border-radius: 12px;
            padding: 14px; background: #fff; margin-top: 4px;
        }
        .fp-price-row {
            display: flex; justify-content: space-between;
            font-size: 13px; color: #555; margin-bottom: 8px;
        }
        .fp-price-row.fp-price-total {
            font-size: 16px; font-weight: 700; color: #1a1a1a;
            border-top: 1px solid #eee; padding-top: 10px; margin-top: 4px;
        }
        .fp-price-row .fp-discount-val { color: #2d8a41; font-weight: 600; }
        .fp-save-badge {
            background: #e8f5e9; color: #2d8a41; font-size: 11px;
            font-weight: 600; border-radius: 20px; padding: 3px 10px; margin-left: 8px;
        }

        /* ── Inner overlays (edit / delete on Step 4) ──────────────────────── */
        .fp-inner-overlay {
            position: absolute; inset: 0; background: rgba(0,0,0,.45);
            z-index: 10; display: flex; align-items: flex-end;
        }
        #fpPanel4 { position: relative; }
        .fp-inner-modal {
            background: #fff; border-radius: 16px 16px 0 0;
            padding: 20px; width: 100%;
            box-shadow: 0 -4px 24px rgba(0,0,0,.12);
        }
        .fp-delete-modal { text-align: left; }
        .fp-delete-title {
            font-size: 22px; font-weight: 700; color: #111; margin-bottom: 12px;
        }
        .fp-delete-msg {
            font-size: 15px; color: #888; line-height: 1.6; margin: 0;
        }
        .fp-delete-btn-no {
            padding: 14px 0; border-radius: 12px; border: none; cursor: pointer;
            background: #fce9e2; color: #ea4d1d;
            font-size: 16px; font-weight: 600;
            transition: background .15s;
        }
        .fp-delete-btn-no:hover { background: #f8d5c9; }
        .fp-delete-btn-yes {
            padding: 14px 0; border-radius: 12px; border: none; cursor: pointer;
            background: linear-gradient(180deg, #ff8f2a 0%, #ea4d1d 100%);
            color: #fff; font-size: 16px; font-weight: 700;
            transition: opacity .15s;
        }
        .fp-delete-btn-yes:hover { opacity: .9; }

        /* ── FP Add-Address Bottom Sheet ───────────────────────────────────── */
        /* Matches the drawer footprint exactly (right:0, width:500px) */
        .fp-addr-sheet {
            position: fixed; top: 0; right: 0; bottom: 0;
            width: 500px; max-width: 100%;
            z-index: 100000;
            pointer-events: none; visibility: hidden;
        }
        .fp-addr-sheet.fp-sheet-open {
            pointer-events: all; visibility: visible;
        }
        .fp-addr-sheet-backdrop {
            position: absolute; inset: 0;
            background: rgba(0,0,0,.45);
            opacity: 0; transition: opacity .3s;
        }
        .fp-sheet-open .fp-addr-sheet-backdrop { opacity: 1; }
        .fp-addr-sheet-panel {
            position: absolute; bottom: 0; left: 0; right: 0;
            background: #fff; border-radius: 20px 20px 0 0;
            max-height: 92%; display: flex; flex-direction: column;
            transform: translateY(100%);
            transition: transform .35s cubic-bezier(.32,0,.15,1);
        }
        .fp-sheet-open .fp-addr-sheet-panel { transform: translateY(0); }
        .fp-addr-sheet-handle {
            width: 40px; height: 4px; border-radius: 2px;
            background: #ddd; margin: 12px auto 0; flex-shrink: 0;
        }
        .fp-addr-sheet-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 14px 20px 12px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
        }
        .fp-addr-sheet-title { font-size: 17px; font-weight: 700; color: #111; }
        .fp-addr-sheet-close {
            background: none; border: none; font-size: 20px; color: #999;
            cursor: pointer; padding: 2px 4px; line-height: 1;
        }
        .fp-addr-sheet-close:hover { color: #555; }
        .fp-addr-sheet-body {
            flex: 1; overflow-y: auto; padding: 18px 20px 8px;
            -webkit-overflow-scrolling: touch;
        }
        .fp-addr-sheet-footer {
            padding: 12px 20px 22px; border-top: 1px solid #f0f0f0; flex-shrink: 0;
        }

        /* Form elements */
        .fp-as-group { margin-bottom: 16px; }
        .fp-as-label {
            display: block; font-size: 13px; font-weight: 500;
            color: #333; margin-bottom: 7px;
        }
        .fp-as-optional { font-size: 12px; color: #aaa; font-weight: 400; }
        .fp-as-input {
            width: 100%; padding: 11px 14px;
            border: 1.5px solid #e0e0e0; border-radius: 10px;
            font-size: 14px; color: #111; outline: none;
            transition: border-color .15s; box-sizing: border-box;
            background: #fff;
        }
        .fp-as-input:focus { border-color: #ea4d1d; }
        .fp-as-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        @media (max-width: 380px) { .fp-as-row2 { grid-template-columns: 1fr; } }

        /* Address type pills */
        .fp-as-type-row { display: flex; gap: 8px; }
        .fp-as-type-btn {
            flex: 1; padding: 10px 0; border: 1.5px solid #e0e0e0;
            border-radius: 10px; background: #fff; color: #555;
            font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s;
        }
        .fp-as-type-active, .self-as-type-active {
            border-color: #ea4d1d; background: #fff5f0;
            color: #ea4d1d; font-weight: 600;
        }

        /* Save button */
        .fp-as-save-btn {
            width: 100%; padding: 15px 0; border: none; border-radius: 12px;
            background: linear-gradient(180deg, #ff8f2a 0%, #ea4d1d 100%);
            color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;
            transition: opacity .15s;
        }
        .fp-as-save-btn:disabled { opacity: .65; cursor: not-allowed; }
        .fp-as-save-btn:not(:disabled):hover { opacity: .92; }

        /* ── FP Toast ───────────────────────────────────────────────────────── */
        .fp-toast {
            position: fixed; bottom: 90px; right: 20px;
            background: #1a7a2e; color: #fff;
            font-size: 14px; font-weight: 600;
            padding: 11px 18px; border-radius: 10px;
            box-shadow: 0 4px 16px rgba(0,0,0,.18);
            z-index: 110000;
            display: flex; align-items: center; gap: 8px;
            opacity: 0; transform: translateY(10px);
            transition: opacity .25s, transform .25s;
            pointer-events: none;
        }
        .fp-toast.fp-toast-show { opacity: 1; transform: translateY(0); }
