/* Keep every offer-editor step visible without horizontal scrolling. */
.aceit-topbar-create-offer {
    flex-shrink: 0;
}

.fi-sc-wizard-header {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    overflow-x: visible !important;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step,
.fi-sc-wizard-header .fi-sc-wizard-header-step:not(.fi-active) {
    display: flex !important;
    min-width: 0;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step-btn {
    width: 100%;
    min-width: 0;
    gap: 0.625rem;
    padding: 0.875rem 0.75rem;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step-icon-ctn {
    width: 2rem;
    height: 2rem;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step-text {
    width: auto !important;
    min-width: 0;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step-label {
    white-space: normal;
}

.fi-sc-wizard-header .fi-sc-wizard-header-step-description,
.fi-sc-wizard-header .fi-sc-wizard-header-step-separator {
    display: none !important;
}

@media (min-width: 40rem) {
    .fi-sc-wizard-header {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 64rem) {
    .fi-sc-wizard-header {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}
