*,
*::before,
*::after {
    box-sizing: border-box;
}

[x-cloak] {
    display: none !important;
}

.mage-error {
    color: #e02b27;
    font-size: 12px;
    margin-top: 5px;
}

/* ======================================
   PAGE WIZARD
====================================== */

.register-service {
    --wizard-offset-top: 98px; /* hauteur header Magento desktop */
    min-height: calc(100vh - var(--wizard-offset-top));
    height: calc(100vh - var(--wizard-offset-top));
    overflow: hidden;

    padding: 18px 42px;
    background: url('../images/wizard/borne-maison.jpg') center center / cover no-repeat;

    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

/* ======================================
   HEADER INTERNE
====================================== */

.wizard-header {
    padding: 0;
    position: relative;
    z-index: 5;
}

.wizard-header-inner {
    width: 100%;
    min-height: 58px;
    padding: 10px 38px;
    border-radius: 999px;
    background: #073f38;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.wizard-header-left img {
    height: 30px;
    display: block;
}

.wizard-header-right img {
    height: 60px;
    display: block;
}

/* ======================================
   FORM STRUCTURE
====================================== */

.form-register-service {
    min-height: 0;
    height: 100%;

    display: grid;
    grid-template-rows: auto 1fr;
    align-items: stretch;
}

#wizard-container {
    min-height: 0;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================
   STEPS
====================================== */

.wizard-steps {
    display: flex;
    justify-content: center;
    margin: 8px 0 6px;
}

.wizard-steps-inner {
    display: flex;
    gap: 8px;
}

.wizard-step-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    background: rgba(255,255,255,.78);
    color: #10201d;

    border: 0;
    font-size: 12px;
    font-weight: 800;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: .82;
}

.wizard-step-dot.active {
    background: #7cff00;
    color: #073f38;
    opacity: 1;
}

.wizard-step-dot.done {
    background: #fff;
    opacity: 1;
}

/* ======================================
   PANEL QUESTION
====================================== */

.wizard-panel {
    width: min(100%, 1180px);
    max-height: 100%;

    margin: 0 auto;
    padding: 24px 42px 22px;

    border-radius: 26px;
    background: rgba(255,255,255,.58);
    box-shadow: 0 22px 50px rgba(0,0,0,.22);

    overflow: hidden;
}

.wizard-question-title {
    margin: 0 0 18px;
    padding: 14px 32px;

    border-radius: 999px;
    background: #fff;
    color: #073f38;

    font-size: clamp(17px, 1.25vw, 22px);
    line-height: 1.18;
    font-weight: 900;
    text-align: center;
}

/* ======================================
   RÉPONSES
====================================== */

.wizard-field,
.wizard-choices-row {
    width: 100%;
}

.wizard-choices-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 250px));
    justify-content: center;
    gap: 18px;
    width: 100%;
}

.wizard-choice {
    width: auto;
    min-height: 132px;
    flex: unset;
}

.wizard-choice-text {
    font-size: 1.2rem;
}

.wizard-choice input[type="radio"],
.wizard-choice input[type="checkbox"],
.wizard-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-choice-label {
    width: 100%;
    min-height: 132px;
    height: 100%;

    padding: 16px;
    border-radius: 18px;

    background: #075f54;
    color: #fff;
    border: 2px solid transparent;

    box-shadow: 0 9px 20px rgba(0,0,0,.18);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-align: center;
    cursor: pointer;
    transition: .18s ease;
}

.wizard-choice-label:hover {
    transform: translateY(-2px);
}

.wizard-choice input:checked + .wizard-choice-label {
    border-color: #7cff00;
    background: #064f47;
    box-shadow: 0 0 0 4px rgba(124,255,0,.22);
}

.wizard-choice-icon {
    width: 78px;
    height: 78px;

    min-width: 78px;
    min-height: 78px;

    padding: 14px;

    border-radius: 50%;
    background: rgba(255,255,255,.14);

    object-fit: contain;
}

.wizard-choice-title {
    color: #fff;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
}

.wizard-choice-subtitle {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.2;
}

/* ======================================
   SELECT / TEXT
====================================== */

.wizard-select-wrap,
.wizard-field > input[type="text"] {
    width: min(100%, 500px);
    margin: 0 auto;
}

.wizard-select-wrap select,
.wizard-field > input[type="text"] {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;

    border-radius: 14px;
    border: 1px solid #d7d7d7;
    background: #fff;

    font-size: 15px;
    transition: .18s ease;
    cursor: pointer;
}

.wizard-select-wrap select:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.2);
}

.wizard-error {
    margin: 5px auto 0;
    padding: 6px 10px;

    width: fit-content;
    max-width: 520px;

    border-radius: 14px;
    background: rgba(224, 43, 39, 0.10);
    border: 1px solid rgba(224, 43, 39, 0.25);

    color: #b42318;
    font-size: 14px;
    font-weight: 700;
    text-align: center;

    box-shadow: 0 8px 18px rgba(224, 43, 39, 0.08);

    animation: wizardErrorPop .25s ease;
}

.wizard-error::before {
    content: "⚠";
    margin-right: 8px;
    font-size: 15px;
}

@keyframes wizardErrorPop {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ======================================
   AIDE
====================================== */

.wizard-help-block {
    margin-top: 16px;
    padding: 12px 16px;

    border-radius: 18px;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.wizard-help-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.wizard-help-icon {
    font-size: 18px;
}

.wizard-help-title {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
}

.wizard-help-desc {
    font-size: 1.1rem;
    line-height: 1.3;
}

.wizard-help-visual {
    flex: 0 0 auto;
    width: auto;
    max-width: 220px;
}

.wizard-help-visual img {
    border: 2px solid #7cff00;

    width: auto;
    max-width: 220px;
    max-height: 92px;
    height: auto;

    object-fit: contain;
    border-radius: 0;
    border: 0;

    display: block;
}

.wizard-help-block.no-text {
    justify-content: center;
    padding: 36px 18px;
}

.wizard-help-block.no-text .wizard-help-visual {
    width: 100%;
    max-width: none;
}

.wizard-help-block.no-text .wizard-help-visual img {
    max-width: 220px;
    max-height: 92px;
}

/* ======================================
   NAVIGATION
====================================== */

.wizard-navigation {
    margin-top: 18px;
    display: flex;
    gap: 14px;
}

.wizard-navigation.has-prev {
    justify-content: space-between;
}

.wizard-navigation.no-prev {
    justify-content: flex-end;
}

.wizard-nav-btn {
    min-width: 118px;
    padding: 12px 24px;

    border: 0;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;
    transition: .18s ease;
}

.wizard-nav-btn.prev {
    background: #fff;
    color: #073f38;
}

.wizard-nav-btn.next {
    background: linear-gradient(135deg, #7cff5e, #5ee23f);
    color: #073f38;
}

.wizard-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.2);
}

/* ======================================
   FORMULAIRE IDENTITÉ
====================================== */

.wizard-panel-form {
    width: min(100%, 980px);
    max-height: 100%;
    overflow: auto;

    padding: 28px 42px;
    border-radius: 26px;

    background: #fff;
    box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.wizard-form-title {
    margin: 0 0 18px;
    text-align: center;
    color: #65df00;
    font-size: 24px;
    font-weight: 900;
}

.wizard-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
}

.wizard-panel-form .field {
    margin-bottom: 12px;
}

.wizard-panel-form label {
    display: block;
    margin-bottom: 5px;
    color: #143b37;
    font-weight: 800;
}

.wizard-panel-form input,
.wizard-panel-form textarea {
    width: 100%;
    min-height: 36px;
    padding: 8px 13px;

    border-radius: 12px;
    border: 1px solid #ddd;
    background: #f7f7f7;

    font-size: 14px;
}

.callback-availability-table {
    width: 100%;
    border-collapse: collapse;
}

.callback-availability-table th,
.callback-availability-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-size: 12px;
}

.callback-availability-table th[scope="row"] {
    text-align: left;
}

.register-service .callback-availability-table input[type="checkbox"],
.register-service .rgpd-control input[type="checkbox"] {
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;

    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: initial !important;
    background: initial !important;
    box-shadow: none !important;
}

.rgpd-block {
    padding: 11px 13px;
    border-radius: 13px;
    background: #f7f7f7;
}

.rgpd-control {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.rgpd-block .label {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.wizard-panel-form .actions {
    margin-top: 20px;
    text-align: center;
}

.wizard-panel-form .actions .action.primary {
    padding: 13px 32px;
    border: 0;
    border-radius: 999px;

    background: linear-gradient(135deg, #7cff5e, #5ee23f);
    color: #073f38;

    font-weight: 900;
    cursor: pointer;
}

/* ======================================
   TERMINAL
====================================== */

.wizard-terminal-panel {
    width: min(100%, 900px);
    margin: auto;
    padding: 30px 42px;

    border-radius: 24px;
    background: #073f38;
    color: #fff;
}

.wizard-terminal-content {
    display: flex;
    align-items: center;
    gap: 22px;
}

.wizard-terminal-icon {
    width: 84px;
    height: 84px;

    border-radius: 50%;
    background: #fff;

    display: grid;
    place-items: center;
}

.wizard-terminal-icon img {
    width: 42px;
}

.wizard-terminal-line1 {
    font-size: 20px;
    line-height: 1.35;
}

.wizard-terminal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

/* ======================================
   ANIMATION
====================================== */

.wizard-step {
    animation: fadeSlide .3s ease both;
}

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

/* ======================================
   DESKTOP PETITE HAUTEUR
====================================== */

@media (max-height: 760px) and (min-width: 769px) {
    .register-service {
        padding: 12px 36px;
        gap: 7px;
    }

    .wizard-header-inner {
        min-height: 48px;
        padding: 8px 32px;
    }

    .wizard-header-left img {
        height: 25px;
    }

    .wizard-header-right img {
        height: 60px;
    }

    .wizard-steps {
        margin: 5px 0 4px;
    }

    .wizard-step-dot {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .wizard-panel {
        padding: 18px 36px;
    }

    .wizard-question-title {
        margin-bottom: 13px;
        padding: 15px 23px;
        font-size: 17px;
    }

    .wizard-choices-list {
        gap: 14px;
    }

    .wizard-choice,
    .wizard-choice-label {
        min-height: 112px;
    }

    .wizard-choice-label {
        padding: 13px;
    }

    .wizard-choice-title {
        font-size: 15px;
    }

    .wizard-choice-icon {
        width: 42px;
        height: 42px;
    }

    .wizard-help-block {
        margin-top: 12px;
        padding: 9px 13px;
    }

    .wizard-help-visual,
    .wizard-help-visual img {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .wizard-navigation {
        margin-top: 13px;
    }

    .wizard-nav-btn {
        min-width: 106px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

.wizard-panel-form select {
    width: 100%;
    min-height: 36px;
    padding: 8px 38px 8px 13px;

    border-radius: 12px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;

    color: #111;
    font-size: 14px;
    line-height: 1.4;

    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 21px) 50%,
        calc(100% - 14px) 50%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}

.wizard-panel-form select:focus {
    outline: none;
    border-color: #073f38;
    box-shadow: 0 0 0 2px rgba(7, 63, 56, .12);
}

.wizard-panel-form select[aria-invalid="true"] {
    border-color: #e02b27;
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 768px) {
    .register-service {
        --wizard-offset-top: 72px;

        min-height: calc(100vh - var(--wizard-offset-top));
        height: auto;
        overflow: visible;

        padding: 10px 12px;
        display: block;
    }

    .wizard-header-inner {
        min-height: 48px;
        padding: 9px 18px;
    }

    .wizard-header-left img {
        height: 24px;
    }

    .wizard-header-right img {
        height: 60px;
    }

    .form-register-service {
        display: block;
    }

    .wizard-steps {
        margin: 10px 0 8px;
    }

    .wizard-steps-inner {
        gap: 6px;
    }

    .wizard-step-dot {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .wizard-panel,
    .wizard-panel-form,
    .wizard-terminal-panel {
        max-height: none;
        overflow: visible;
        padding: 16px 14px;
        border-radius: 20px;
    }

    .wizard-question-title {
        margin-bottom: 14px;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 1.2;
    }

    .wizard-choices-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wizard-choice,
    .wizard-choice-label {
        min-height: 72px;
    }

    .wizard-choice-label {
        padding: 12px 14px;
        border-radius: 15px;
        gap: 6px;
    }

    .wizard-choice-title {
        font-size: 16px;
    }

    .wizard-choice-subtitle {
        font-size: 12px;
    }

    .wizard-choice-icon {
        width: 38px;
        height: 38px;
        padding: 5px;
    }

    .wizard-help-block {
        margin-top: 12px;
        padding: 10px 12px;
        gap: 12px;
    }

    .wizard-help-content {
        gap: 8px;
    }

    .wizard-help-title {
        font-size: 11px;
    }


    .wizard-help-visual,
    .wizard-help-visual img {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .wizard-navigation {
        margin-top: 14px;
    }

    .wizard-nav-btn {
        min-width: 96px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .wizard-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   IDENTITY : BLOCS DU HAUT
====================================== */

#wizard-back-container {
    margin-bottom: 18px;
}

#wizard-back-button {
    border: 1px solid #073f38;
    background: #fff;
    color: #073f38;
    border-radius: 999px;
    padding: 13px 28px;
    font-weight: 900;
    box-shadow: none;
}

#identity-price-info.wizard-result-panel {
    width: 100%;
    max-width: none;

    margin: 0 0 28px;
    padding: 34px 54px;

    border-radius: 28px;
    background: #073f38;
    color: #fff;

    box-shadow: none;
}

#identity-price-info .wizard-result-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
}

#identity-price-info .wizard-result-icon {
    flex: 0 0 108px;
    width: 108px;
    height: 108px;

    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}

#identity-price-info .wizard-result-icon img {
    width: 92px;
    height: auto;
    display: block;
}

#identity-price-info .wizard-result-text {
    flex: 1;
    min-width: 0;
}

#identity-price-info .wizard-result-title {
    margin-bottom: 8px;
    color: #7cff00;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
}

#identity-price-info .wizard-result-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;

    color: #fff;
    line-height: 1.1;
}

#identity-price-info .wizard-result-price-prefix,
#identity-price-info .wizard-result-price-value,
#identity-price-info .wizard-result-price-suffix {
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

/* ======================================
   IDENTITY : PANEL PLUS PROPRE
====================================== */

#identity-container.wizard-panel-form {
    padding: 28px 42px 36px;
}

#identity-container .wizard-form-title {
    margin-top: 4px;
    margin-bottom: 24px;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-height: 760px) and (min-width: 769px) {
    .wizard-help-block {
        min-height: 86px;
    }

    .wizard-help-visual img,
    .wizard-help-block.no-text .wizard-help-visual img {
        max-width: 180px;
        max-height: 72px;
    }

    #identity-price-info.wizard-result-panel {
        padding: 24px 42px;
        margin-bottom: 22px;
    }

    #identity-price-info .wizard-result-icon {
        flex-basis: 86px;
        width: 86px;
        height: 86px;
    }

    #identity-price-info .wizard-result-icon img {
        width: 74px;
    }

    #identity-price-info .wizard-result-title {
        font-size: 18px;
    }

    #identity-price-info .wizard-result-price-prefix,
    #identity-price-info .wizard-result-price-value,
    #identity-price-info .wizard-result-price-suffix {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .wizard-help-block {
        min-height: auto;
    }

    .wizard-help-visual {
        max-width: 100%;
    }

    .wizard-help-visual img,
    .wizard-help-block.no-text .wizard-help-visual img {
        max-width: 180px;
        max-height: 90px;
        margin: 0 auto;
    }

    #identity-price-info.wizard-result-panel {
        padding: 22px 18px;
        border-radius: 22px;
    }

    #identity-price-info .wizard-result-content {
        gap: 16px;
    }

    #identity-price-info .wizard-result-icon {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }

    #identity-price-info .wizard-result-icon img {
        width: 62px;
    }

    #identity-price-info .wizard-result-title {
        font-size: 15px;
    }

    #identity-price-info .wizard-result-price {
        gap: 6px;
    }

    #identity-price-info .wizard-result-price-prefix,
    #identity-price-info .wizard-result-price-value,
    #identity-price-info .wizard-result-price-suffix {
        font-size: 22px;
    }
}

/* ======================================
   HELP IMAGE BIGGER
====================================== */

.wizard-help-block {
    align-items: center;
}

/* desktop */
.wizard-help-visual {
    flex: 0 0 260px;
    max-width: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-help-visual img {
    width: 100%;
    max-width: 260px;
    max-height: 150px;
    height: auto;

    object-fit: contain;
    display: block;
}

/* si image seule */
.wizard-help-block.no-text .wizard-help-visual {
    flex-basis: 320px;
    max-width: 320px;
}

.wizard-help-block.no-text .wizard-help-visual img {
    max-width: 320px;
    max-height: 180px;
}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 768px) {

    .wizard-help-block {
        padding: 12px;
    }

    .wizard-help-visual {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .wizard-help-visual img {
        width: 100%;
        max-width: 240px;
        max-height: 140px;

        margin: 0 auto;
    }

    .wizard-help-block.no-text .wizard-help-visual img {
        max-width: 260px;
        max-height: 150px;
    }
}

/* ======================================
   SMALL HEIGHT DESKTOP
====================================== */

@media (max-height: 760px) and (min-width: 769px) {

    .wizard-help-visual {
        flex-basis: 200px;
        max-width: 200px;
    }

    .wizard-help-visual img {
        max-width: 200px;
        max-height: 110px;
    }

    .wizard-help-block.no-text .wizard-help-visual {
        flex-basis: 240px;
        max-width: 240px;
    }

    .wizard-help-block.no-text .wizard-help-visual img {
        max-width: 240px;
        max-height: 120px;
    }
}
/* ======================================
   FIX HELP IMAGES / CTA VISIBILITY
====================================== */



.wizard-question-title,
.wizard-field,
.wizard-choices-row {
    flex: 0 0 auto;
}

.wizard-help-block {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;

    margin-top: 16px;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.wizard-help-content {
    flex: 1 1 0;
    min-width: 0;
}

.wizard-help-visual {
    flex: 0 1 58%;
    width: auto;
    max-width: 620px;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-help-visual img {
    width: 100%;
    max-width: 620px;
    max-height: clamp(120px, 22vh, 210px);
    height: auto;

    object-fit: contain;
    display: block;
}

.wizard-help-block.no-text {
    justify-content: center;
}

.wizard-help-block.no-text .wizard-help-visual {
    flex: 1 1 auto;
    width: 100%;
    max-width: 680px;
}

.wizard-help-block.no-text .wizard-help-visual img {
    width: 100%;
    max-width: 680px;
    max-height: clamp(130px, 24vh, 230px);
    object-fit: contain;
}

.wizard-navigation {
    flex: 0 0 auto;
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding-top: 14px;
}

@media (max-height: 760px) and (min-width: 769px) {
    .wizard-help-block {
        margin-top: 10px;
        padding: 10px 14px;
        gap: 14px;
    }

    .wizard-help-visual {
        max-width: 520px;
    }

    .wizard-help-visual img {
        max-width: 520px;
        max-height: clamp(95px, 18vh, 150px);
    }

    .wizard-help-block.no-text .wizard-help-visual {
        max-width: 560px;
    }

    .wizard-help-block.no-text .wizard-help-visual img {
        max-width: 560px;
        /* max-height: clamp(105px, 19vh, 160px); */
    }

    .wizard-navigation {
        margin-top: auto;
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .wizard-panel {
        overflow: visible;
    }

    .wizard-help-block {
        flex: none;
        overflow: visible;
        flex-direction: column;
        align-items: center;
    }

    .wizard-help-content {
        width: 100%;
    }

    .wizard-help-visual,
    .wizard-help-block.no-text .wizard-help-visual {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .wizard-help-visual img,
    .wizard-help-block.no-text .wizard-help-visual img {
        width: 100%;
        max-width: 100%;
        max-height: 220px;
        object-fit: contain;
        margin: 0 auto;
    }

    .wizard-navigation {
        margin-top: 14px;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .register-service {
        min-height: calc(100dvh - var(--wizard-offset-top));
        overflow-y: auto;
        padding-bottom: 90px;
    }

    #wizard-container {
        display: block;
        height: auto;
        min-height: 0;
    }

    .wizard-panel {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .wizard-help-block {
        flex: 0 0 auto;
    }

    .wizard-help-visual img,
    .wizard-help-block.no-text .wizard-help-visual img {
        max-height: 140px;
        object-fit: contain;
    }

    .wizard-navigation {
        position: sticky;
        bottom: 12px;
        z-index: 50;
        margin-top: 16px;
        padding: 10px 0 0;
        background: transparent;
    }

    .wizard-navigation.has-prev {
        justify-content: space-between;
    }

    .wizard-navigation.no-prev {
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .wizard-choice,
    .wizard-choice-label {
        min-height: 64px;
    }
}
