/* ═══════════════════════════════════════════════════════════════════════════
   2 pour 1 - Pizza Selection Page
   Uses design system from premium-bambo.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Bootstrap Modal Base (not loaded globally in this project) ───────────── */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal.fade {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal.fade.show {
    opacity: 1;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal.show .modal-dialog {
    pointer-events: auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.modal-header .close {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    color: white;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-title {
    margin: 0;
    font-size: 1rem;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.modal-body.p-0 {
    padding: 0 !important;
}

.modal-backdrop {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

.modal-xl {
    max-width: 1100px;
}

/* Override premium-bambo.css .modal-content that conflicts */
.modal .modal-content {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* ─── Page Layout ─────────────────────────────────────────────────────────── */
.builder-page {
    background: var(--bg-light-gray, #F8F8F8);
    min-height: 100vh;
    padding-bottom: 80px;
}

.builder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px 0;
}

/* ─── Size Tabs ───────────────────────────────────────────────────────────── */
.size-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-tab {
    padding: 12px 28px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    color: var(--text-dark);
}

.size-tab:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.size-tab.active {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 12px rgba(206, 33, 1, 0.3);
}

/* ─── Main Grid Layout ────────────────────────────────────────────────────── */
.pizza-selection-area {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

.left-column h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* ─── Pizza Grid ──────────────────────────────────────────────────────────── */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* ─── Pizza Card ──────────────────────────────────────────────────────────── */
.pizza-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pizza-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pizza-card.selected {
    border-color: var(--primary-red);
    box-shadow: 0 4px 16px rgba(206, 33, 1, 0.2);
}

.pizza-card.selected::after {
    content: attr(data-count);
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(206, 33, 1, 0.4);
}

.pizza-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.pizza-card-image-box {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.pizza-card-body {
    padding: 14px 16px;
}

.pizza-card-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-dark);
}

.pizza-card-price {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.95rem;
}

.pizza-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    justify-content: center;
}

/* ─── Quantity Controls ───────────────────────────────────────────────────── */
.pizza-qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.pizza-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.pizza-qty-btn:hover:not(:disabled) {
    background: var(--primary-red);
    color: white;
}

.pizza-qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pizza-qty-minus {
    border-right: 1px solid #e8e8e8;
}

.pizza-qty-plus {
    border-left: 1px solid #e8e8e8;
}

.pizza-qty-value {
    min-width: 34px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
}

.pizza-card.selected .pizza-qty-control {
    border-color: var(--primary-red);
}

.pizza-card.selected .pizza-qty-value {
    color: var(--primary-red);
}

/* ─── Order Summary (Desktop Sticky Sidebar) ──────────────────────────────── */
.order-summary {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
    border: 1px solid #f0f0f0;
}

.order-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
    color: var(--text-dark);
}

.order-summary h3 span {
    font-size: 0.82rem;
    color: #999;
    font-weight: 600;
}

.selected-pizza-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    gap: 6px;
}

.selected-pizza-item:last-child {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 12px;
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
}

.summary-total span:first-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-dark);
}

.summary-total span:last-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-red);
}

.pricing-info {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fffde6;
    border-radius: 8px;
    border: 1px dashed var(--primary-yellow);
}

/* ─── Add to Cart Button ──────────────────────────────────────────────────── */
.btn-add-cart {
    width: 100%;
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 33, 1, 0.35);
    background: #b80000;
}

.btn-add-cart:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Selection Toast ─────────────────────────────────────────────────────── */
.selection-toast {
    padding: 12px 16px;
    background: #fff8e1;
    border: 1px solid var(--primary-yellow);
    border-radius: 10px;
    font-size: 0.83rem;
    color: #7a5d00;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── Mobile Floating Button ──────────────────────────────────────────────── */
.btn-view-selection {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(206, 33, 1, 0.4);
    z-index: 998;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

.btn-view-selection:active {
    transform: translateX(-50%) scale(0.95);
}

@media (max-width: 991px) {
    .btn-view-selection.visible {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}

/* ─── Selection Modal ─────────────────────────────────────────────────────── */
#selectionModal .modal-dialog {
    max-width: 440px;
    margin: auto;
    width: 100%;
    padding: 0 15px;
}

#selectionModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#selectionModal .modal-header {
    background: var(--primary-red);
    color: white;
    padding: 18px 24px;
    border: none;
}

#selectionModal .modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

#selectionModal .modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    font-size: 1.5rem;
}

#selectionModal .modal-body {
    padding: 24px;
}

.selection-modal-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 12px;
    background: #fafafa;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
}

.selection-modal-item:last-child {
    margin-bottom: 0;
}

.selection-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 10px;
    border-top: 2px solid #f0f0f0;
    margin-top: 16px;
}

.selection-modal-total span:first-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.selection-modal-total span:last-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-red);
}

/* ─── Preselect Highlight ─────────────────────────────────────────────────── */
.pizza-card.preselect-highlight {
    animation: preselectPulse 0.6s ease-in-out 3;
}

@keyframes preselectPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(206, 33, 1, 0.2); }
    50% { box-shadow: 0 4px 28px rgba(206, 33, 1, 0.45); }
}

/* ─── Custom Builder Modal ────────────────────────────────────────────────── */
#customBuilderModal .modal-dialog {
    max-width: 1100px;
    margin: 1.75rem auto;
    width: 100%;
    padding: 0 15px;
}

#customBuilderModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
}

#customBuilderModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--text-dark, #232223);
    color: white;
    padding: 20px 30px;
    border: none;
}

#customBuilderModal .modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

#customBuilderModal .modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    font-size: 1.5rem;
}

#customBuilderModal .modal-body {
    padding: 0;
    overflow-y: auto;
}

.custom-builder-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    min-height: 500px;
}

.custom-builder-left {
    padding: 36px;
    max-height: 70vh;
    overflow-y: auto;
    background: white;
}

.custom-builder-right {
    padding: 36px;
    background: #fafafa;
    border-left: 1px solid #f0f0f0;
}

/* Section title with step badge */
.modal-section {
    margin-bottom: 32px;
}

.section-title-wrapper.mini {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.section-title-wrapper.mini h5 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.step-badge {
    background: var(--primary-yellow);
    color: var(--text-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}

/* Pill options (crust/size) */
.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-card {
    background: white;
    border: 2px solid #eee;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    gap: 8px;
    align-items: center;
}

.pill-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

.pill-card.active {
    border-color: var(--primary-red);
    background: rgba(206, 33, 1, 0.04);
    color: var(--primary-red);
}

.pill-price {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 800;
}

/* Ingredient info box */
.ingredient-info-box {
    background: #f0f7ff;
    color: #0056b3;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 22px;
    border: 1px dashed #0056b3;
}

.ingredient-info-box i {
    font-size: 18px;
}

/* Ingredient categories & pills */
.modal-ingredient-category {
    margin-bottom: 24px;
}

.modal-ingredient-category h6 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.modal-ingredient-category h6 i {
    color: var(--primary-red);
    font-size: 16px;
}

.limit-badge {
    background: #ffeeba;
    color: #856404;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 800;
}

.ingredient-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.ingredient-pill {
    background: white;
    border: 1.5px solid #eee;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ingredient-pill:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-1px);
}

.ingredient-pill.selected {
    border-color: var(--primary-red);
    background: rgba(206, 33, 1, 0.02);
}

.ingredient-pill.extra-pill .ing-status {
    color: #e6a800;
}

.ing-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-dark);
}

.ing-status {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    min-height: 14px;
    color: #28a745;
}

/* Modal summary card (right panel) */
.modal-summary-card {
    position: sticky;
    top: 0;
}

.modal-summary-card h5 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 14px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-body);
}

.summary-line strong {
    color: var(--primary-red);
}

.semibold {
    font-weight: 700;
}

.summary-list-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.list-title {
    font-size: 11px;
    color: #999;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.summary-list-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list-section li {
    font-size: 12px;
    padding: 3px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-list-section li::before {
    content: '\2713';
    font-size: 11px;
    color: #28a745;
    font-weight: bold;
}

.modal-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    background: #fffde6;
    border-radius: 12px;
    border: 1px dashed var(--primary-yellow);
}

.modal-total-line span:first-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
}

.modal-total-line span:last-child {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 22px;
    color: var(--primary-red);
}

/* ─── Responsive: Tablet ──────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .pizza-selection-area {
        grid-template-columns: 1fr;
    }

    .order-summary {
        display: none;
    }

    .pizza-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .custom-builder-inner {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .custom-builder-left {
        max-height: none;
        overflow-y: visible;
        padding: 24px;
    }

    .custom-builder-right {
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding: 24px;
    }

    .ingredient-chips-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    /* Selection Modal: bottom-sheet on mobile/tablet */
    #selectionModal.show {
        align-items: flex-end;
    }

    #selectionModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 0;
    }

    #selectionModal .modal-content {
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    }

    #selectionModal .modal-header {
        padding: 20px 24px;
        border-radius: 24px 24px 0 0;
    }

    #selectionModal .modal-body {
        padding: 20px 24px 30px;
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/* ─── Responsive: Mobile ──────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .builder-container {
        padding: 20px 12px 0;
    }

    .size-tabs {
        gap: 8px;
    }

    .size-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .pizza-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pizza-card-image,
    .pizza-card-image-box {
        height: 110px;
    }

    .pizza-card-body {
        padding: 10px 12px;
    }

    .pizza-card-name {
        font-size: 0.82rem;
    }

    .pizza-card-price {
        font-size: 0.85rem;
    }

    #customBuilderModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
    }

    #customBuilderModal .modal-content {
        border-radius: 0;
        height: 100%;
    }

    .custom-builder-left {
        padding: 20px 16px;
    }

    .custom-builder-right {
        padding: 20px 16px;
    }

    .ingredient-chips-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Step Progress Indicator ──────────────────────────────────────────── */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s;
}

.step-item.active {
    background: rgba(206, 33, 1, 0.05);
}

.step-item.done {
    background: rgba(22, 163, 74, 0.06);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    background: #f0f0f0;
    color: #999;
    transition: all 0.3s;
    flex-shrink: 0;
}

.step-item.active .step-number {
    background: #ce2101;
    color: #fff;
}

.step-item.done .step-number {
    background: #16a34a;
    color: #fff;
}

.step-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.step-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #333;
}

.step-detail {
    font-size: 0.75rem;
    color: #999;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-item.done .step-detail {
    color: #16a34a;
    font-weight: 600;
}

.step-divider {
    width: 40px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.3s;
}

.step-divider.active {
    background: #ce2101;
}

/* ─── Preselect Banner ─────────────────────────────────────────────────── */
.preselect-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    animation: bannerSlideIn 0.4s ease;
}

.preselect-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.preselect-banner-text {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}

.preselect-banner-text strong {
    color: #16a34a;
}

.preselect-banner-text span {
    display: block;
    font-size: 0.82rem;
    color: #666;
    margin-top: 2px;
}

.preselect-banner-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s;
}

.preselect-banner-close:hover {
    background: rgba(0,0,0,0.05);
    color: #333;
}

@keyframes bannerSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Mobile responsive for steps ─────────────────────────────────────── */
@media (max-width: 576px) {
    .step-progress {
        padding: 12px 14px;
        gap: 0;
    }

    .step-item {
        padding: 6px 10px;
        gap: 8px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    .step-title {
        font-size: 0.78rem;
    }

    .step-detail {
        font-size: 0.7rem;
        max-width: 100px;
    }

    .step-divider {
        width: 20px;
        margin: 0 4px;
    }

    .preselect-banner {
        padding: 12px 14px;
        gap: 10px;
    }

    .preselect-banner-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .preselect-banner-text {
        font-size: 0.82rem;
    }
}
