/* Checkout addresses redesign v2 (dev only, user 2830 toggle) */
#checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-redesign__title em {
  font-style: italic;
}

@media (min-width: 992px) {
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-mobile-tun,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m {
    text-align: center;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m .checkout-auth-redesign__title em {
    font-style: italic;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-form__sticky-hint-m {
    display: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 {
    margin: 0 auto;
    max-width: 1180px;
    text-align: center;
  }

  #checkout #checkout-addresses-step.checkout-step .content {
    box-shadow: none;
    border: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 64px !important;
    align-items: flex-start;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout__main {
    min-width: 0;
    width: 100%;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout__aside {
    width: 100%;
    max-width: 380px;
    justify-self: end;
    position: sticky;
    top: 120px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary {
    background: #f2e9e0;
    border: 1px solid rgba(35, 35, 35, 0.08);
    padding: 28px 28px 26px;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary h4 {
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(35, 35, 35, 0.12);
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #232323;
    opacity: 0.55;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__line--plan {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__plan-name {
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-size: 1rem;
    line-height: 1.3;
    color: #232323;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__label {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: rgba(35, 35, 35, 0.55);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__value {
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-size: 1.05rem;
    color: #232323;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__line--meta .checkout-auth-summary__value {
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 400;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__edit {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #232323;
    opacity: 0.55;
    transition: opacity 0.2s ease;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__edit:hover {
    opacity: 1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary__edit span {
    border-bottom: 1px solid rgba(35, 35, 35, 0.3);
    padding-bottom: 2px;
  }

  /* Récap « Votre formule » type .summary-d : pas de double marge au-dessus du lien (cf. checkout-auth-redesign-dev) */
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary-d .checkout-auth-summary__edit {
    margin-top: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper--addresses-v2 {
    max-width: 760px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper--addresses-v2::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(35, 35, 35, 0.12);
    z-index: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper--addresses-v2::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 12.5%;
    height: 1px;
    width: 50%;
    background: #232323;
    z-index: 1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(35, 35, 35, 0.2);
    background: #fdf9f3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-size: 0.78rem;
    color: rgba(35, 35, 35, 0.45);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__label {
    font-family: "Oswald", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.4);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item--done .checkout-auth-stepper__circle,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item--active .checkout-auth-stepper__circle {
    background: #232323;
    border-color: #232323;
    color: #f2e9e0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item--done .checkout-auth-stepper__label {
    color: rgba(35, 35, 35, 0.6);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item--active .checkout-auth-stepper__label {
    color: #232323;
    font-weight: 500;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper__item--done .checkout-auth-stepper__circle svg {
    display: block;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout__main {
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-redesign__kicker {
    margin: 0 0 18px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.45);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-redesign__title {
    margin: 0 0 18px;
    font-family: "Libre Baskerville", Georgia, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #111;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-redesign__subtitle {
    margin: 0 auto 48px;
    max-width: 560px;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(35, 35, 35, 0.58);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-group {
    margin-bottom: 26px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-control {
    border: 0;
    border-bottom: 1px solid rgba(35, 35, 35, 0.18);
    border-radius: 0;
    background: transparent;
    padding: 10px 32px 10px 0;
    min-height: 44px;
    height: auto;
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-size: 1rem;
    color: #232323;
    box-shadow: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-control:focus {
    border-bottom-color: #121212;
    outline: none;
    box-shadow: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-control::placeholder {
    color: rgba(35, 35, 35, 0.28);
    font-style: italic;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .container-form-inscritpion {
    width: 100%;
    margin: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .row-form-inscription {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .col-form-inscription,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .col-full-form-inscription {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .col-full-form-inscription {
    grid-column: 1 / -1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-group.row {
    display: block;
    margin: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-group > .col-md-6,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-group > .col-md-9 {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-control-label {
    display: block;
    margin: 0 0 8px;
    text-align: left;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.55);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-control-comment {
    display: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-fields {
    margin-bottom: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .same-adress-deliver {
    margin: 0 0 0 8px;
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(35, 35, 35, 0.7);
    text-transform: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-selector {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: stretch;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item {
    width: 100%;
    max-width: 100%;
    flex: none;
    box-sizing: border-box;
    border: 1px solid rgba(35, 35, 35, 0.1);
    background: #fdf9f3;
    padding: 18px;
    margin-bottom: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item.selected {
    border-color: #232323;
    background: #f2e9e0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address .material-icons,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address .material-icons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: middle;
    margin-right: 4px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content #use_same_address {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    vertical-align: top;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__footer .checkout-auth-form__back-link {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__footer .checkout-auth-form__back-link:hover {
    color: rgba(35, 35, 35, 0.75);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-footer .cancel-address {
    display: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-footer .btn-primary,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .form-footer .continue.btn-primary {
    width: auto;
    min-width: 340px;
    border: 1px solid #121212;
    background: #121212;
    color: #f2e9e0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.78rem !important;
    min-height: 60px;
    padding: 20px 40px !important;
    border-radius: 0;
    line-height: 1;
    float: none !important;
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__fields {
    margin: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 26px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--single {
    grid-template-columns: 1fr;
  }

  /* Adresse pleine largeur, puis CP | Ville (desktop inchangé visuellement vs ancienne maquette) */
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 26px;
    align-items: start;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city .checkout-auth-address-form__field--address1 {
    grid-column: 1 / -1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field label {
    display: block;
    margin: 0 0 8px;
    text-align: left;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.58rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.55);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__hint {
    margin: 8px 0 0;
    text-align: left;
    font-family: "Libre Baskerville", "Libre Bodoni", serif;
    font-style: italic;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(35, 35, 35, 0.5);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__errors {
    margin-bottom: 20px;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__errors .alert {
    margin: 0 0 8px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field--error .form-control {
    border-color: #c0392b;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field-errors {
    margin-top: 6px;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field-errors .alert {
    margin: 0;
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__inline-error {
    margin: 6px 0 0;
    font-family: "Oswald", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c0392b;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--country-specific:empty {
    display: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form--loading {
    opacity: 0.55;
    pointer-events: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__same-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
  }

  /* Existing addresses footer block (selector mode) */
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress.checkout-auth-form__actions {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    clear: both;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress.checkout-auth-form__actions .checkout-auth-form__back-link {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress.checkout-auth-form__actions .btn-primary.continue {
    width: auto;
    min-width: 340px;
    min-height: 60px;
    padding: 20px 40px !important;
    margin-left: auto;
    float: none !important;
    border: 1px solid #121212;
    border-radius: 0;
    background: #121212;
    color: #f2e9e0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.78rem !important;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

}

/* Mobile — Parcours Mobile.html tunnel 3 (adresse) : récap fixe, stepper segmenté, tun-m, sticky CTA */
@media (max-width: 991px) {
  #checkout #checkout-addresses-step .step-title {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 {
    margin: 0 auto;
    max-width: 100%;
    text-align: left;
    padding-top: 0;
  }

  #checkout #checkout-addresses-step.checkout-step .content {
    box-shadow: none;
    border: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-summary--addresses-desktop {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper--desktop-circles {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-mobile-tun {
    padding: 20px 24px 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper-m {
    display: flex;
    gap: 5px;
    margin-bottom: 22px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper-m__seg {
    flex: 1;
    height: 2.5px;
    background: rgba(35, 35, 35, 0.1);
    position: relative;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper-m__seg--done {
    background: #232323;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper-m__seg--active {
    background: rgba(35, 35, 35, 0.1);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-stepper-m__seg--active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #232323;
    animation: checkout-auth-stepper-m-fill 1s ease forwards;
    transform-origin: left;
  }

  @keyframes checkout-auth-stepper-m-fill {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-step-labels-m {
    display: flex;
    gap: 5px;
    align-items: center;
    font-family: "Oswald", sans-serif;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: -14px 0 22px;
    color: rgba(35, 35, 35, 0.35);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-step-labels-m__item {
    flex: 1;
    text-align: left;
    white-space: nowrap;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-step-labels-m__item--done {
    color: rgba(35, 35, 35, 0.55);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-step-labels-m__item--active {
    color: #232323;
    font-weight: 500;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m {
    text-align: left;
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m .checkout-auth-redesign__kicker {
    margin: 0 0 12px;
    padding: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.5;
    color: #232323;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m .checkout-auth-redesign__title {
    margin: 0 0 10px;
    padding: 0;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 400;
    color: #232323;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m .checkout-auth-redesign__title em {
    font-style: italic;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-hero-m .checkout-auth-redesign__subtitle {
    margin: 0 0 32px;
    padding: 0;
    max-width: none;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 0.78rem;
    line-height: 1.65;
    font-weight: 400;
    font-style: normal;
    color: rgba(35, 35, 35, 0.55);
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m {
    display: block;
    position: fixed;
    top: var(--possible-checkout-recap-under-nav-top);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 90;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__bar {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 11px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid rgba(35, 35, 35, 0.06);
    border-radius: 0;
    background: var(--possible-mobile-plan-bar-bg, #f2e9e0) !important;
    color: #232323;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: padding 0.25s ease;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__bar.is-open .checkout-auth-plan-recap-m__chev {
    transform: rotate(180deg);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__chev {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    opacity: 0.5;
    transition: transform 0.3s ease;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__lhs {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__label {
    font-family: "Oswald", sans-serif;
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.55;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__formule {
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: -0.005em;
    line-height: 1.25;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__price {
    font-family: "Libre Baskerville", Georgia, serif;
    font-weight: 400;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__details {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--possible-mobile-plan-panel-bg, #fdf9f3) !important;
    color: #232323;
    width: 100%;
    z-index: 1;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__details.is-open {
    max-height: 280px;
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__inner {
    padding: 14px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Oswald", sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__row-lbl {
    opacity: 0.55;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__row-val {
    font-family: "Libre Baskerville", Georgia, serif;
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 400;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__next {
    font-family: "Oswald", sans-serif;
    font-size: 0.56rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-plan-recap-m__edit {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(35, 35, 35, 0.25);
    padding-bottom: 2px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    align-items: stretch;
    padding: 0 0 calc(120px + env(safe-area-inset-bottom, 0px));
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout__aside {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-layout__main {
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Formulaire adresse : grille 1 col ; mobile : CP à gauche | Adresse à droite, Ville dessous pleine largeur */
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 20px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city {
    display: grid;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 0;
    margin-bottom: 20px;
    align-items: end;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city .checkout-auth-address-form__field--postcode {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city .checkout-auth-address-form__field--address1 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--addr-cp-city .checkout-auth-address-form__field--city {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 14px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__row--single {
    margin-bottom: 20px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field label {
    display: block;
    margin: 8px 0 4px;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.54rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.55;
    color: #232323;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field .form-control {
    border: 0;
    border-bottom: 1px solid rgba(35, 35, 35, 0.15);
    border-radius: 0;
    background: transparent;
    padding: 10px 28px 10px 0;
    min-height: 0;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 0.9rem;
    color: #232323;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field .form-control:focus {
    border-bottom-color: #232323;
    outline: none;
    box-shadow: none;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field .form-control::placeholder {
    color: rgba(35, 35, 35, 0.3);
    font-style: italic;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__hint {
    margin: 6px 0 0;
    font-size: 0.68rem;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__errors {
    margin-bottom: 16px;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__field--error .form-control {
    border-bottom-color: #c0392b;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__same-address {
    margin-bottom: 18px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item {
    width: 100%;
    max-width: 100%;
    flex: none;
    border: 1px solid rgba(35, 35, 35, 0.1);
    background: #fdf9f3;
    padding: 18px;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item.selected {
    border-color: #232323;
    background: #f2e9e0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item hr {
    border: 0;
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    margin: 14px 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .radio-block {
    padding: 0;
    margin: 0;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .address-alias {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.65);
    margin-bottom: 8px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .address {
    margin-left: 0;
    font-family: "Libre Baskerville", "Libre Bodoni", Georgia, serif;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(35, 35, 35, 0.85);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address {
    font-family: "Oswald", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.5);
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address .material-icons,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address .material-icons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: middle;
    margin-right: 4px;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .add-address {
    margin: 18px 0 8px;
    text-align: left;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .add-address a {
    font-family: "Oswald", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(35, 35, 35, 0.55);
  }

  /* Sticky CTA (tunnel 3 maquette) */
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-address-form__footer.checkout-auth-form__actions,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress.checkout-auth-form__actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 100;
    margin-top: 0;
    margin-bottom: 0;
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: rgba(253, 249, 243, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(35, 35, 35, 0.08);
    justify-content: stretch;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    border-radius: 0;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-form__actions--address-m .checkout-auth-form__back-link {
    display: none !important;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-form__sticky-hint-m {
    display: block;
    margin: 0;
    padding-top: 2px;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 0.5rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.35;
  }

  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-form__actions .btn-primary.continue,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress .btn-primary.continue {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 15px 24px;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    border: 0;
    background: #232323;
    color: #fff;
    animation: checkout-auth-sticky-cta-pulse 1.8s ease-out 2;
    float: none !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) and (prefers-reduced-motion: reduce) {
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-form__actions .btn-primary.continue,
  #checkout #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .button-continue-adress .btn-primary.continue {
    animation: none;
  }
}

/*
 * Parcours CMS (pages 34–36) : pas de body#checkout, donc pas des styles theme.css du tunnel.
 * Cartes adresses + typo alignées sur la maquette, toutes largeurs.
 */
#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-selector {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  padding: 0;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item {
  width: 100%;
  max-width: 100%;
  flex: none;
  box-sizing: border-box;
  border: 1px solid rgba(35, 35, 35, 0.1);
  background: #fdf9f3;
  padding: 18px;
  margin-bottom: 0;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item.selected {
  border-color: #232323;
  background: #f2e9e0;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item hr {
  border: 0;
  border-top: 1px solid rgba(35, 35, 35, 0.08);
  margin: 14px 0;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .radio-block {
  display: block;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .custom-radio {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .address-alias {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(35, 35, 35, 0.65);
  margin-bottom: 8px;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .address {
  margin: 10px 0 0;
  margin-left: 0;
  padding-top: 4px;
  font-family: "Libre Baskerville", "Libre Bodoni", Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(35, 35, 35, 0.85);
  font-weight: 400;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .address-footer {
  margin-top: 4px;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address,
#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address {
  font-family: "Oswald", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(35, 35, 35, 0.5);
  text-decoration: none;
  margin-right: 12px;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address:hover,
#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address:hover {
  color: #232323;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .edit-address .material-icons,
#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item .delete-address .material-icons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}

#checkout.cms-checkout-auth #checkout-addresses-step .checkout-auth-redesign--addresses-v2 .checkout-auth-addresses__content .address-item header.h4 {
  margin: 0;
}
