/* =========================================================
   BADGE ORDER
========================================================= */
#badge-locality-status, #vignette-availability { white-space: pre-line; overflow-wrap: anywhere; }
#badge-locality-status > p, #vignette-availability > p { margin: 0 0 10px; }
#badge-locality-status > p:last-child, #vignette-availability > p:last-child { margin-bottom: 0; }

/* Keep navigation touchable even when five steps share a narrow screen. */
@media (max-width: 600px) {
    #badge-order .badge-progress, #vignette-order .badge-progress {
        /*display: grid;*/
        /*grid-template-columns: repeat(5, minmax(0, 1fr));*/
        gap: 3px;
        display: flex;
    }
    #vignette-order .badge-progress { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #badge-order .badge-progress__item, #vignette-order .badge-progress__item {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        font-size: 9px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #badge-order .badge-progress__item:first-of-type,
    #badge-order .badge-progress__item:last-of-type{
        width: 220px;

    }
    #badge-order .badge-progress__item:focus-visible {
        outline: 2px solid var(--vertfonce);
        outline-offset: 3px;
        border-radius: 4px;
    }
    #vignette-order .vignette-quantity button { min-width: 44px; min-height: 44px; }
    #badge-order input, #vignette-order input { max-width: 100%; min-width: 0; }
}
#badge-order input[type="radio"], #vignette-order input[type="radio"]{
    padding: 0;
}

.badge-page {
    padding: 160px var(--mdside) 150px var(--mdside);
}

.badge-page__intro {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.badge-page__intro p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: .7;
}


/* =========================================================
   WRAPPER
========================================================= */

.badge-order {
    max-width: 800px;
    margin: 0 auto;
}


/* =========================================================
   PROGRESS
========================================================= */

.badge-progress {
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    width: 100%;
    margin-bottom: 55px;
}


/*
 * Ligne complète :
 * du premier point au dernier point.
 */
.badge-progress::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 0;
    right: 0;

    height: 1px;

    background: rgba(0, 38, 39, .25);

    pointer-events: none;
}


/* ITEM */

.badge-progress__item {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 0;

    color: var(--vertfonce);

    font-size: 13px;
    line-height: 1.2;

    text-align: center;

    white-space: nowrap;
    user-select: none;
}


/* PREMIER */

.badge-progress__item:first-child {
    align-items: flex-start;
    text-align: left;
}


/* DERNIER */

.badge-progress__item:last-child {
    align-items: flex-end;
    text-align: right;
}


/* POINT */

.badge-progress__item span {
    display: block;
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin-bottom: 10px;

    border: 1px solid var(--vertfonce);
    border-radius: 50%;

    background: var(--fond);

    box-sizing: border-box;

    transition: background .25s ease,
    transform .25s ease;
}


/* ACTUEL + TERMINÉ */

.badge-progress__item.is-current span,
.badge-progress__item.is-complete span {
    background: var(--vertfonce);
}


/* RETOUR CLIQUABLE */

.badge-progress__item.is-clickable {
    cursor: pointer;
}

.badge-progress__item.is-clickable:hover span {
    transform: scale(1.15);
}

/* =========================================================
   FORM
========================================================= */

.badge-step {
    position: relative;

    padding: 50px 60px;

    border-radius: 22px;

    background: var(--bleu);
}

.badge-step[hidden] {
    display: none;
}


/* =========================================================
   FIELDS
========================================================= */

.badge-field {
    margin-bottom: 20px;
}

.badge-field label {
    display: block;

    margin-bottom: 8px;

    font-weight: 500;

    color: var(--vertfonce);
    font-size: 18px;
}

.badge-field input[type="text"],
.badge-field input[type="email"],
.badge-field input[type="number"],
.badge-field input[type="tel"] {
    box-sizing: border-box;

    width: 100%;
    height: 58px;

    padding: 0 25px;

    border: 1px solid #CBCDC8;
    border-radius: 100px;

    outline: none;

    background: var(--Blanc);

    color: var(--vertfonce);

    font-size: 16px;
    margin-top: 8px;
    transition: 0.4s ease-in-out all;
    margin-top: 0;
}

.badge-field input:focus {
    border-color: var(--vertfonce);
}

.badge-field p {
    margin-top: 10px;
    opacity: .7;
}

.badge-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* =========================================================
   TAILLE MENAGE
========================================================= */

.badge-household {
    display: flex;
    gap: 12px;
}

.badge-household input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.badge-household span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border: 1px solid transparent;
    border-radius: 50%;

    background: var(--Blanc);

    cursor: pointer;

    color: var(--vertfonce);
    font-weight: 600;
    transition: 0.4s ease-in-out all;
}

.badge-household input:checked + span {
    border-color: var(--vertfonce);

    background: var(--vert);
}


/* =========================================================
   CHECK / RADIO
========================================================= */

.badge-check {
    display: flex;

    align-items: center;
    gap: 10px;

    margin: 10px 0;

    color: var(--vertfonce);

    cursor: pointer;
}

.badge-check input {
    width: 20px;
    height: 20px;

    margin: 0;
}


/* =========================================================
   ACCESS TYPE
========================================================= */

.badge-access {
    display: block;

    margin-bottom: 15px;

    padding: 25px;

    border: 1px solid transparent;
    border-radius: 18px;

    background: rgba(255, 255, 255, .7);

    cursor: pointer;

    transition: 0.4s ease-in-out all;
}

.badge-access input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.badge-access.is-selected {
    border-color: var(--vertfonce);

    background: var(--vert);
}

.badge-access__content {
    display: flex;
    flex-direction: column;
    gap: 5px;

    color: var(--vertfonce);
    position: relative;
}

.badge-access__content strong {
    font-weight: 600;
}


/* =========================================================
   SUMMARY
========================================================= */

.badge-summary {
    margin: 30px 0;
}

.badge-summary > div {
    display: grid;
    grid-template-columns: 130px 1fr;

    margin-bottom: 15px;
}

.badge-summary dt {
    font-weight: 600;

    color: var(--vertfonce);
}

.badge-summary dd {
    margin: 0;

    color: var(--vertfonce);

    opacity: .7;
}


/* =========================================================
   ACTIONS
========================================================= */

.badge-step__actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 120px;
}

.badge-prev {
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--vertfonce);

    cursor: pointer;
    opacity: 0.6;
    display: flex;
    align-items: center;
    font-size: 15px;
    transition: 0.4s ease-in-out all;
    line-height: 0;

}

.badge-prev:hover {
    opacity: 1;
}

.badge-prev > svg {
    margin-right: 5px;
}

.badge-next {
    border: 0;
    cursor: pointer;
    display: flex;
    margin-left: auto;
    font-weight: 500;
    height: 196px;
    width: 196px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* margin-bottom: -195px; */
    position: absolute;
    right: 60px;
    font-size: 18px;
    background: var(--vert);
    color: var(--vertfonce);
}

.badge-next__circle {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    transform: rotate(-90deg);
}

/* La ligne */
.badge-next__circle circle {
    fill: none;

    stroke: var(--vertfonce);
    stroke-width: 1;

    /*
     * r = 97
     * circonférence ≈ 609.5
     */
    stroke-dasharray: 610;
    stroke-dashoffset: 610;

    transition: stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1);
}

/* On dessine tout le cercle */
.badge-next:hover .badge-next__circle circle {
    stroke-dashoffset: 0;
}

.custom-select {
    position: relative;
    z-index: 1;
}

.custom-select.is-open {
    z-index: 1000;
    outline: 0;
    border: 0;
    box-shadow: 0 0 black;
}

.custom-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-select__trigger {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    width: 100%;
    height: 58px;

    padding: 0 25px;

    border: 1px solid transparent;
    border-radius: 100px;

    background: var(--Blanc);
    color: var(--vertfonce);

    cursor: pointer;
}

.custom-select__value {
    flex: 1;
    text-align: left;
}

.custom-select__arrow {
    margin-left: 20px;

    transition: transform .2s ease;
    line-height: 0;
}

.custom-select__lock {
    line-height: 0;
}

.custom-select.is-locked .custom-select__lock {
    display: flex;
}

.custom-select.is-locked .custom-select__arrow {
    display: none;
}

.custom-select.is-locked .custom-select__trigger {
    cursor: default;
}

.custom-select.is-locked .custom-select__dropdown {
    display: none !important;
}

.custom-select.is-open .custom-select__arrow {
    transform: rotate(180deg);
}

.custom-select__dropdown {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    z-index: 9999;

    display: none;

    width: 100%;
    max-height: 260px;

    overflow-y: auto;

    padding: 8px;

    border-radius: 20px;

    background: var(--Blanc);

    box-shadow: 0 10px 30px rgba(0, 38, 39, .12);
}

.custom-select.is-open .custom-select__dropdown {
    display: block;
}

.custom-select__option {
    display: block;

    width: 100%;

    padding: 12px 18px;

    border: 0;
    border-radius: 12px;

    background: transparent;

    color: var(--vertfonce);

    text-align: left;

    cursor: pointer;
}

.custom-select__option:hover {
    background: rgba(199, 245, 161, .4);
}

.custom-select__option.is-selected {
    background: var(--vert);
}

/*
 * On réutilise visuellement btn_base.
 *
 * Si tu veux, mets aussi class="btn_base"
 * directement dans le HTML du bouton.
 */


/* =========================================================
   MESSAGE
========================================================= */

.badge-order__message {
    display: none;

    margin-bottom: 20px;
    padding: 15px 20px;

    border-radius: 12px;

    background: #f5dada;

    color: #a62929;
}

.badge-order__message.is-visible {
    display: block;
}


/* =========================================================
   PAYMENT TEMP
========================================================= */

.badge-payment-placeholder {
    margin-top: 25px;
    padding: 20px;

    border: 1px dashed rgba(0, 38, 39, .3);
    border-radius: 15px;

    color: var(--vertfonce);
}


/* =========================================================
   ACCESS TYPE
========================================================= */


.badge-access {
    position: relative;
    display: grid;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 22px;
    background: rgba(255, 255, 255, .7);
    cursor: pointer;
    transition: .25s ease;
    grid-template-columns: 0.7fr 1fr;
    padding: 10px;
}

.badge-access:hover {
    background: var(--Blanc);
}

.badge-access.is-selected {
    border-color: var(--vertfonce);
    background: var(--vert);
}

.badge-access input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


/* IMAGE */

.badge-access__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 190px;

}

.badge-access__image img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}


/* CONTENU */

.badge-access__content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 20px 40px 20px 20px;

    color: var(--vertfonce);
}

.badge-access__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-access__text strong {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.badge-access__text span {
    font-size: 18px;
    opacity: .7;
}


/* BAS CARTE */

.badge-access__bottom {
    display: flex;

    align-items: center;

    margin-top: 35px;
}

.badge-access__price {
    font-size: 18px;
    font-weight: 400;
    line-height: 146%; /* 26.28px */
    letter-spacing: -0.36px;
}

.free {
    color: #05892B;

}

.badge-access__check {
    position: absolute;
    right: 20px;
    top: 20px;

    height: 42px;
    width: 42px;

    border-radius: 40px;
    border: 1px solid #CBCDC8;
    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    transition: 0.4s ease-in-out all;
}


.badge-access.is-selected .badge-access__check {
    background: var(--vertfonce);
    border: 1px solid var(--vertfonce);
}

.badge-access__check > svg {
    position: relative;
    z-index: 10;
}

.badge-check {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 40px 0 12px 0;

    color: var(--vertfonce);

    cursor: pointer;
}

.badge-check.no-big-mg {
    margin-top: 12px;
}

.badge-summary-message p:not(:first-of-type) {
    opacity: 0.7;
}

.badge-check input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.badge-check::before {
    content: "";

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border: 1px solid #CBCDC8;
    border-radius: 50%;

    background: var(--Blanc);

    box-sizing: border-box;

    transition: 0.4s ease-in-out all;
}

.badge-check:has(input:checked)::before {
    border-color: var(--vertfonce);

    background: radial-gradient(
            circle at center,
            var(--vertfonce) 0 5px,
            var(--vert) 6px 100%
    );
}

/* Searchable locality controls, shared by badge and green-waste forms. */
.seod-locality-native {
    width: 100%;
    padding: 16px 20px;
    border-radius: 30px;
    background: #fff;
    font: inherit;
}

.seod-locality-select {
    position: relative;
}

.seod-locality-select .seod-locality-select__input {
    box-sizing: border-box;
    width: 100%;
    height: 58px;
    padding: 0 46px 0 22px;
    border: 1px solid #cbcdc8;
    border-radius: 30px;
    background: #fff;
    color: var(--vertfonce);
    font: inherit;
    outline: none;
    appearance: none;
}

.seod-locality-select .seod-locality-select__input {
    outline: 0;
}

/*.seod-locality-select .seod-locality-select__input:focus { border-color: var(--vertfonce); box-shadow: 0 0 0 3px rgba(0,38,39,.08); }*/
.seod-locality-select .seod-locality-select__input[readonly] {
    background: rgba(255, 255, 255, .6);
    cursor: default;
}

.seod-locality-select .custom-select__dropdown {
    box-sizing: border-box;
    max-height: 240px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 8px;
    border: 1px solid rgba(0, 38, 39, .1);
    border-radius: 18px;
    scrollbar-width: thin;
    scrollbar-color: #94b6b5 transparent;
    scrollbar-gutter: stable;
    box-shadow: 0 8px 22px rgba(0, 38, 39, .1);
}

.seod-locality-select .custom-select__dropdown::-webkit-scrollbar {
    width: 8px;
}

.seod-locality-select .custom-select__dropdown::-webkit-scrollbar-thumb {
    border: 2px solid #fff;
    border-radius: 8px;
    background: #94b6b5;
}

.seod-locality-select .custom-select__dropdown::-webkit-scrollbar-track {
    margin-block: 12px;
    background: transparent;
}

.seod-locality-select .custom-select__option {
    font: inherit;
    border-radius: 10px;
    line-height: 1.4;
}

.seod-locality-select .custom-select__option.is-active {
    background: rgba(199, 245, 161, .4);
}

.seod-locality-select .custom-select__dropdown:empty {
    display: none;
}

.seod-locality-select__empty {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 9999;
    box-sizing: border-box;
    margin: 0;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 38, 39, .12);
    font-size: 14px;
}

.seod-locality-select [hidden], .seod-locality-message[hidden], .seod-locality-info[hidden] {
    display: none !important;
}

.seod-locality-message {
    margin: 14px 0 0;
    color: var(--vertfonce);
    font-size: 15px;
    line-height: 1.5;
}

.seod-locality-message.is-unavailable {
    color: #8a302b;
}

.badge-field #badge-household-message, .badge-field #badge-email-message {
    opacity: 1;
}

.seod-locality-info {
    display: inline-block;
    margin-top: 8px;
    color: var(--vertfonce);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Quantity layout from the supplied SEOD vignette mockup. */
#vignette-order .vignette-product {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    margin-top: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.vignette-product__preview {
    display: grid;
    place-items: center;
    aspect-ratio: 1.5;
    border: 1px solid #cbcdc8;
    border-radius: 16px;
    background: #fff;
}

.vignette-product__year {
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #d9d9d9;
    color: #a7b0af;
    font-size: 18px;
}

.vignette-product__details label {
    display: block;
    font-weight: 500;
    font-size: 18px;
}

#vignette-order .vignette-product__price {
    margin: 10px 0 12px;
    font-size: 16px;
}

.vignette-quantity {
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
}

#vignette-order .vignette-quantity button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--vertfonce);
    cursor: pointer;
    font: inherit;
    font-size: 20px;
}

#vignette-order .vignette-quantity input {
    box-sizing: border-box;
    width: 56px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--vertfonce);
    text-align: center;
    font: inherit;
    margin-top: 0;
}

#vignette-order .vignette-quantity button:hover:not(:disabled) {
    background: rgba(199, 245, 161, .4);
}

#vignette-order .vignette-quantity button:disabled {
    opacity: .4;
    cursor: default;
}

#vignette-order .vignette-quantity button:focus-visible, #vignette-order .vignette-quantity input:focus-visible {
    outline: 2px solid var(--vertfonce);
    outline-offset: -4px;
}

#vignette-order .vignette-product__total {
    margin: 28px 0 0;
    font-size: 16px;
}

@media (max-width: 480px) {
    #vignette-order .vignette-product {
        gap: 20px;
    }

    .vignette-product__year {
        width: 76px;
        height: 76px;
        font-size: 14px;
    }

    .vignette-product__details label {
        font-size: 16px;
    }

    #vignette-order .vignette-quantity button {
        width: 30px;
        height: 34px;
    }

    #vignette-order .vignette-quantity input {
        width: 38px;
        height: 34px;
    }

    #vignette-order .vignette-product__total {
        margin-top: 20px;
        font-size: 14px;
    }
}

/* Vignette screens reuse the badge form with the mockup's compact payment layout. */
#vignette-order .badge-step > h2 {
    margin: 10px 0 38px;
}

#vignette-order .badge-step > p {
    font-size: 16px;
    line-height: 1.5;
    opacity: .7;
}

#vignette-order .badge-step[data-step="1"] > h2 {
    max-width: 420px;
}

#vignette-order .badge-field {
    margin-bottom: 30px;
}

#vignette-order .badge-summary {
    margin: 24px 0 32px;
    font-size: 18px;
    line-height: 1.5;
}

#vignette-order .badge-summary > div {
    grid-template-columns: 180px minmax(0, 1fr);
    margin-bottom: 0;
}

#vignette-order .badge-summary dt {
    font-weight: 500;
}

#vignette-order .badge-summary dd {
    overflow-wrap: anywhere;
}

#vignette-order .badge-summary > div:last-child dd {
    font-weight: 600;
}

.vignette-payment-methods {
    border: 0;
    padding: 0;
    margin: 0 0 28px;
    min-width: 0;
}

.vignette-payment-methods, #vignette-order .vignette-product__details label {
    color: var(--vertfonce);
}

.vignette-payment-methods legend {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    padding: 0;
}

.vignette-payment-methods label {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 8px 0;
    cursor: pointer;
    font-size: 16px;
}

.vignette-payment-methods input {
    appearance: none;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border: 1px solid #cbcdc8;
    border-radius: 50%;
    background: #fff;
    margin: 0;
    cursor: pointer;
}

.vignette-payment-methods input:checked {
    border-color: var(--vertfonce);
    background: radial-gradient(circle, var(--vertfonce) 0 6px, var(--vert) 6px);
}

.vignette-payment-methods input:focus-visible, #vignette-order .badge-check:has(input:focus-visible) {
    outline: 2px solid var(--vertfonce);
    outline-offset: 4px;
}

#vignette-order .vignette-card {
    box-sizing: border-box;
    min-height: 58px;
    padding: 19px 24px;
    background: #fff;
    border: 1px solid #cbcdc8;
    border-radius: 100px;
}

#vignette-order .vignette-card.StripeElement--focus {
    border-color: var(--vertfonce);
}

#vignette-order .vignette-card.StripeElement--invalid {
    border-color: #a62929;
}

#vignette-order [hidden] {
    display: none !important;
}

#vignette-order .badge-check {
    align-items: flex-start;
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.5;
}
#vignette-order .badge-check *{
    font-size: 16px;

}
#vignette-order .badge-check a {
    text-decoration: underline;
    transition: 0.4s ease-in-out all;
}
#vignette-order .badge-check a:hover{
    opacity: 0.6;
}
#vignette-order #vignette-message {
    margin: 20px 0 0;
    color: #a62929;
    font-size: 15px;
    line-height: 1.5;
    opacity: 1;
}

#vignette-pay-label {
    white-space: pre-wrap;
    line-height: 1.4;
}

.vignette-pay-amount {
    display: block;
}

#vignette-order .badge-step[data-step="5"] > h2 {
    margin-bottom: 14px;
}

#vignette-order .badge-step[data-step="5"] > p {
    margin: 0 0 25px;
}

#vignette-order .badge-step[data-step="5"] br {
    display: block;
    content: "";
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    #vignette-order .badge-step {
        padding: 28px 24px;
    }

    #vignette-order .badge-step > h2 {
        margin: 0 0 24px;
    }

    #vignette-order .badge-field {
        margin-bottom: 22px;
    }

    #vignette-order .badge-fields-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
    }

    #vignette-order .badge-field input {
        padding: 0 16px;
        font-size: 14px;
    }

    #vignette-order .badge-next {
        right: 24px;
        width: 140px;
        height: 140px;
    }

    #vignette-order .badge-summary {
        font-size: 14px;
    }

    #vignette-order .badge-summary > div {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
    }

    #vignette-order .vignette-card {
        padding: 19px 14px;
    }

    #vignette-order .badge-check {
        font-size: 14px;
    }

    #vignette-order .badge-step__actions {
        margin-top: 100px;
    }
}

/* E-mail branches reuse the existing form layout and tiles. */
.badge-page--email-paths [hidden] {
    display: none !important;
}

.badge-page--email-paths [data-account-email] {
    overflow-wrap: anywhere;
}

/* Same Stripe card field as green-waste checkout. */
#badge-order .vignette-card {
    box-sizing: border-box;
    min-height: 58px;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid #cbcdc8;
    border-radius: 100px;
}

#badge-order .vignette-card.StripeElement--focus {
    border-color: var(--vertfonce);
}

#badge-order .vignette-card.StripeElement--invalid {
    border-color: #a62929;
}

#badge-order .vignette-payment-methods input:disabled {
    opacity: .5;
    cursor: default;
}

#badge-order .badge-next:disabled {
    opacity: .55;
    cursor: default;
}

@media (max-width: 600px) {
    .badge-page--email-paths .badge-progress__item {
        font-size: 10px;
        white-space: normal;
    }

    .badge-page--email-paths .badge-progress__item:not(:first-child):not(:last-child) {
        width: 50px;
    }
}

#badge-order .badge-payment-summary {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0 40px;
    font-size: 18px;
    color: var(--vertfonce);
}

#badge-order .badge-payment-summary th, #badge-order .badge-payment-summary strong {
    font-weight: 600;
}

#badge-order .badge-payment-summary [data-payment-unit], #badge-order .badge-payment-summary [data-payment-qr] td:last-child {
    opacity: .7;
}

#badge-order .badge-payment-summary td, #badge-order .badge-payment-summary th {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 38, 39, .18);
    text-align: left;
}

#badge-order .badge-payment-summary td:last-child {
    text-align: right;
    white-space: nowrap;
}

#badge-order .badge-payment-summary td:nth-child(2) {
    text-align: right;
    padding-right: 24px;
}

#badge-order .vignette-payment-methods [data-counter-option] {
    align-items: flex-start;
}

#badge-order [data-counter-option] small {
    display: block;
    margin-top: 4px;
    font-size: 15px;
}
#badge-order [data-counter-option] small *{
    font-size: 15px;

}

@media (max-width: 600px) {
    #badge-order .badge-payment-summary {
        font-size: 14px;
    }

    #badge-order .badge-payment-summary td:nth-child(2) {
        padding-right: 12px;
    }
}

/* Badge finalization follows the supplied mockup's plain table and radio list. */
#badge-order .badge-step[data-step="4"] > h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    margin-top: 36px;
    margin-bottom: 12px;
}

#badge-order .badge-payment-summary {
    margin-top: 8px;
    margin-bottom: 38px;
}

#badge-order .badge-payment-summary td, #badge-order .badge-payment-summary th {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
}

#badge-order .badge-payment-summary td:first-child, #badge-order .badge-payment-summary th:first-child {
    width: 44%;
}

#badge-order .badge-payment-summary td:nth-child(2) {
    width: 32%;
}

#badge-order .badge-payment-summary td:last-child {
    width: 24%;
}

#badge-order .vignette-payment-methods legend {
    font-size: 20px;
    margin-bottom: 14px;
}

#badge-order .vignette-payment-methods label {
    font-size: 18px;
    line-height: 1.4;
    margin: 10px 0;
}

#badge-order .badge-payment-terms{
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.5;
}
#badge-order .badge-payment-terms *{
    font-size: 18px;
}
#badge-order .badge-payment-terms span {
    min-width: 0;
}



#vignette-order button.badge-progress__item {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: inherit;
    overflow: visible;
    width: auto;
    min-width: 44px;
    min-height: 44px;
}

#vignette-order button.badge-progress__item:disabled {
    opacity: 1;
    cursor: default;
}

#vignette-order button.badge-progress__item.is-clickable {
    cursor: pointer;
}

#vignette-order button.badge-progress__item:focus-visible {
    outline: 2px solid var(--vertfonce);
    outline-offset: 8px;
    border-radius: 4px;
}

#badge-order input[readonly] {
    cursor: default;
}


#vignette-commune-search::-webkit-search-cancel-button,
#vignette-commune-search::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}
.badge-next:disabled{
    opacity: 0.6;
    cursor: not-allowed;

}

@media (max-width: 600px) {
    #badge-order .badge-step[data-step="4"] > h3 {
        font-size: 18px;
    }

    #badge-order .vignette-payment-methods legend {
        font-size: 18px;
    }

    #badge-order .vignette-payment-methods label, #badge-order .badge-payment-terms {
        font-size: 16px;
    }
    .seod-locality-select .seod-locality-select__input{
        height: 45px;
    }
    .seod-locality-select .custom-select__option{
        font-size: 14px;
    }
    .custom-select__option{
        padding: 6px 12px;
    }
    #vignette-order .vignette-product{
        display: block;
    }
    .vignette-product__preview{
        display: none;
    }
    #vignette-order .badge-fields-row{
        display: block;
    }
    #vignette-order .badge-field {
        margin-bottom: 15px;
    }
    .badge-field input[type="text"], .badge-field input[type="email"], .badge-field input[type="number"], .badge-field input[type="tel"]{
        height: 45px;

    }
    .badge-field label {
        font-size: 14px;
    }
    .vignette-payment-methods label{
       font-size: 14px;
    }
    .vignette-payment-methods input{
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }
    .vignette-payment-methods input:checked{
        background: radial-gradient(circle at center, var(--vertfonce) 0 3px, var(--vert) 4px 100%);

    }
    #vignette-order .badge-check * {
        font-size: 14px;
    }
    #vignette-order .vignette-card {
        padding: 12px 14px;
        height: 45px;
        min-height: 45px;
    }
    .vignette-payment-methods legend{
        margin-bottom: 6px;
    }
}
