/* PupVibes 8.9.35 — delivery stage: Contact + Shipping Address stacked like reference. */

/* Treat checkout personal/address/shipping as one visual "Livraison" phase. */
body#checkout .checkout-steps__step:first-child button{color:#8b8580!important;font-weight:400!important;}
body#checkout .checkout-steps__step:nth-child(2) button{color:#cb6203!important;font-weight:500!important;}

/* Address step: remove parent card so the two internal cards become the visible layout. */
body#checkout #checkout-addresses-step{
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
}
body#checkout #checkout-addresses-step>.step__title{display:none!important;}
body#checkout #checkout-addresses-step>.step__content{padding:0!important;}
body#checkout .pv-delivery-stage>form{display:flex!important;flex-direction:column!important;gap:16px!important;}
body#checkout .pv-delivery-contact-card,
body#checkout .pv-delivery-address-card{
  background:#fff!important;
  border:1px solid #dfd5c7!important;
  border-radius:16px!important;
  padding:18px 22px!important;
  box-shadow:none!important;
}
body#checkout .pv-delivery-card-head{margin-bottom:14px!important;}
body#checkout .pv-delivery-card-head h2{margin:0!important;color:#cb6203!important;font:500 20px/1.15 'DM Sans',sans-serif!important;}
body#checkout .pv-delivery-card-head p{margin:5px 0 0!important;color:#948c85!important;font:400 11px/1.3 'DM Sans',sans-serif!important;}
body#checkout .pv-delivery-login-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:10px 12px!important;margin-bottom:14px!important;border-radius:7px!important;background:#fffaed!important;color:#241608!important;font:400 11px/1.3 'DM Sans',sans-serif!important;}
body#checkout .pv-delivery-login-row a{color:#cb6203!important;text-decoration:underline!important;text-underline-offset:2px!important;white-space:nowrap!important;}
body#checkout .pv-delivery-contact-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;}
body#checkout .pv-delivery-contact-field label{display:block!important;margin:0 0 5px!important;color:#241608!important;font:400 11px/1.2 'DM Sans',sans-serif!important;}
body#checkout .pv-delivery-contact-field .form-control{height:38px!important;min-height:38px!important;border-radius:6px!important;font-size:11px!important;}
body#checkout .pv-phone-placeholder{background:#fff!important;opacity:1!important;}

/* Native address form compact and 2-col where appropriate. */
body#checkout #delivery-address form>section,
body#checkout #invoice-address form>section{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px 14px!important;}
body#checkout #delivery-address form>section>.mb-3,
body#checkout #invoice-address form>section>.mb-3{margin:0!important;min-width:0!important;}
body#checkout #delivery-address form>section>.mb-3:has(input[name='address1']),
body#checkout #delivery-address form>section>.mb-3:has(input[name='address2']),
body#checkout #delivery-address form>section>.mb-3:has(select[name='id_country']),
body#checkout #delivery-address form>section>.mb-3:has(select[name='id_state']),
body#checkout #invoice-address form>section>.mb-3:has(input[name='address1']),
body#checkout #invoice-address form>section>.mb-3:has(input[name='address2']),
body#checkout #invoice-address form>section>.mb-3:has(select[name='id_country']),
body#checkout #invoice-address form>section>.mb-3:has(select[name='id_state']){grid-column:1/-1!important;}
body#checkout #delivery-address .form-label,
body#checkout #invoice-address .form-label{font-size:11px!important;margin-bottom:5px!important;}
body#checkout #delivery-address .form-control,
body#checkout #delivery-address .form-select,
body#checkout #invoice-address .form-control,
body#checkout #invoice-address .form-select{height:38px!important;min-height:38px!important;font-size:11px!important;border-radius:6px!important;}
body#checkout .pv-native-address-actions{display:none!important;}
body#checkout .pv-invoice-block{margin-top:16px!important;padding-top:16px!important;border-top:1px solid rgba(36,22,8,.12)!important;}
body#checkout .pv-invoice-block h3{font-size:15px!important;color:#cb6203!important;}

/* Right column proportions closer to expected reference. */
body#checkout .pv-co-summary__mascot{top:-66px!important;left:50%!important;width:178px!important;}
body#checkout .pv-co-summary__shell{padding-top:26px!important;}
body#checkout .pv-co-summary__products{max-height:230px!important;}
body#checkout .pv-co-summary__continue{height:42px!important;}

@media(max-width:640px){
  body#checkout .pv-delivery-contact-grid,
  body#checkout #delivery-address form>section,
  body#checkout #invoice-address form>section{grid-template-columns:1fr!important;}
  body#checkout #delivery-address form>section>.mb-3,
  body#checkout #invoice-address form>section>.mb-3{grid-column:1!important;}
}
