/* Maison Jadem — checkout en trois étapes */

.checkout-login-box a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:20px;
  padding:14px 26px;

  border:1px solid var(--color-champagne);
  color:var(--color-stone);

  font-family:var(--font-body);
  font-size:9px;
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  text-decoration:none;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.checkout-login-box a:hover{
  background:var(--color-champagne);
  color:#fff;
}

.checkout-main{
  padding-top:70px;
}

.checkout-heading{
  margin-bottom:42px;
}

.checkout-three-column{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.65fr);
  gap:48px;
  align-items:start;
}

.checkout-workspace{
  min-width:0;
}

.checkout-progress{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-bottom:22px;
  background:#fff;
  border:1px solid var(--line);
}

.checkout-progress li{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:74px;
  padding:16px 20px;
  color:rgba(95,91,85,.48);
}

.checkout-progress li + li{
  border-left:1px solid var(--line);
}

.checkout-progress li span{
  font-size:8px;
  letter-spacing:2px;
}

.checkout-progress li strong{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:400;
}

.checkout-progress li.active{
  background:var(--color-travertine);
  color:var(--color-stone);
}

.checkout-progress li.complete{
  color:var(--color-champagne);
}

.checkout-progress li.complete::after{
  content:"✓";
  position:absolute;
  top:10px;
  right:12px;
  font-size:10px;
}

.checkout-step-form{
  display:block;
}

.checkout-screen{
  padding:48px;
  background:var(--color-travertine);
}

.checkout-screen[hidden]{
  display:none!important;
}

.checkout-screen-heading{
  margin-bottom:34px;
}

.checkout-screen-heading h2{
  margin:10px 0 13px;
  font-size:clamp(44px,5vw,64px);
  line-height:.95;
}

.checkout-screen-heading p{
  max-width:650px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8;
}

.connected-customer-card{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:26px;
  background:#fff;
  border:1px solid rgba(199,164,106,.28);
}

.connected-customer-card span,
.saved-address-notice span,
.final-customer-summary span{
  display:block;
  margin-bottom:8px;
  color:var(--color-champagne);
  font-size:7px;
  letter-spacing:1.7px;
  text-transform:uppercase;
}

.connected-customer-card strong,
.saved-address-notice strong,
.final-customer-summary strong{
  display:block;
  font-family:var(--font-display);
  font-size:24px;
  font-weight:400;
}

.connected-customer-card p,
.saved-address-notice p,
.final-customer-summary p{
  margin-top:7px;
  color:var(--muted);
  font-size:10px;
  line-height:1.7;
}

.text-action{
  align-self:flex-start;
  padding-bottom:5px;
  border:0;
  border-bottom:1px solid currentColor;
  background:none;
  color:var(--color-stone);
  font-size:8px;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.customer-edit-fields{
  margin-top:18px;
  padding:22px;
  background:rgba(255,255,255,.52);
}

.customer-guest-fields{
  margin-top:22px;
}

.checkout-screen-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid var(--line);
}

.checkout-next{
  padding:17px 22px;
  border:0;
  background:var(--color-stone);
  color:#fff;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
}

.checkout-secondary-action{
  padding:0;
  border:0;
  background:none;
  color:var(--color-stone);
  font-size:8px;
  letter-spacing:1.6px;
  text-transform:uppercase;
}

.saved-address-notice{
  margin-bottom:18px;
  padding:18px;
  background:#fff;
}

.final-customer-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-bottom:26px;
}

.final-customer-summary article{
  padding:22px;
  background:#fff;
}

.checkout-order-panel{
  position:sticky;
  top:24px;
}

.checkout-order-panel-inner{
  padding:30px;
  background:#fff;
  box-shadow:0 20px 60px rgba(41,34,28,.08);
}

.checkout-order-panel h2{
  margin:8px 0 25px;
  font-size:44px;
}

.checkout-cart-item.compact{
  grid-template-columns:86px minmax(0,1fr);
  gap:16px;
  padding:18px 0;
}

.checkout-cart-item.compact:first-child{
  border-top:1px solid var(--line);
}

.checkout-cart-item.compact img{
  width:86px;
  height:112px;
}

.checkout-cart-item.compact h3{
  font-size:25px;
}

.checkout-cart-item.compact .checkout-cart-actions{
  margin-top:14px;
  align-items:flex-start;
  flex-direction:column;
}

.checkout-order-panel .cart-summary-total{
  padding:22px 0 0;
}

.checkout-secure-note{
  margin-top:20px;
  color:var(--muted);
  font-size:9px;
  line-height:1.8;
  text-align:center;
}

.checkout-payment-button{
  width:auto;
}

@media(max-width:1000px){
  .checkout-three-column{
    grid-template-columns:1fr;
  }

  .checkout-order-panel{
    position:static;
    order:-1;
  }

  .checkout-order-panel-inner{
    padding:24px;
  }
}

@media(max-width:700px){
  .checkout-main{
    padding-top:45px;
  }

  .checkout-progress li{
    min-height:62px;
    padding:12px 9px;
    justify-content:center;
  }

  .checkout-progress li strong{
    display:none;
  }

  .checkout-screen{
    padding:30px 20px;
  }

  .connected-customer-card{
    flex-direction:column;
  }

  .final-customer-summary{
    grid-template-columns:1fr;
  }

  .checkout-screen-actions{
    align-items:stretch;
    flex-direction:column-reverse;
  }

  .checkout-next,
  .checkout-payment-button{
    width:100%;
  }

  .checkout-secondary-action{
    text-align:center;
  }
}
