/* ============================================================
   FIXES PIXEL-PERFECT — d'après design Adobe XD confirmation
   ============================================================ */

/* -------- Barre de progression -------- */
.ac-checkout-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px var(--ac-space-lg) 20px;
  gap: 0;
  position: relative;
  background: var(--ac-white);
  border-bottom: 1px solid var(--ac-border-light);
  margin-bottom: var(--ac-space-xl);
}
/* Ligne horizontale entre les dots */
.ac-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  max-width: 120px;
}
.ac-progress-step + .ac-progress-step::before {
  content: '';
  position: absolute;
  top: 14px;
  right: calc(50% + 14px);
  left: calc(-50% + 14px);
  height: 2px;
  background: var(--ac-border);
  z-index: 0;
}
/* Ligne verte pour les étapes complétées */
.ac-progress-step--done + .ac-progress-step::before,
.ac-progress-step--done + .ac-progress-step--done::before,
.ac-progress-step--done + .ac-progress-step--active::before {
  background: var(--ac-green);
}

.ac-progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ac-border);
  background: var(--ac-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--ac-fw-semi);
  color: var(--ac-text-muted);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background var(--ac-transition), border-color var(--ac-transition);
}
.ac-progress-step--done .ac-progress-dot {
  background: var(--ac-green);
  border-color: var(--ac-green);
  color: #fff;
}
.ac-progress-step--active .ac-progress-dot {
  background: var(--ac-green);
  border-color: var(--ac-green);
  color: #fff;
  font-weight: var(--ac-fw-bold);
}
.ac-progress-label {
  font-size: 11px;
  color: var(--ac-text-muted);
  white-space: nowrap;
  text-align: center;
}
.ac-progress-step--done .ac-progress-label,
.ac-progress-step--active .ac-progress-label {
  color: var(--ac-text);
  font-weight: var(--ac-fw-medium);
}

/* -------- Confirmation header -------- */
.ac-confirmation-title {
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ac-confirmation-subtitle {
  font-size: var(--ac-fs-lg);
  font-weight: var(--ac-fw-bold);
  color: var(--ac-text);
}
.ac-confirmation-email-note {
  color: var(--ac-text-muted);
  font-size: var(--ac-fs-sm);
  margin-top: 4px;
}

/* -------- Meta grid -------- */
.ac-confirmation-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ac-space-md) var(--ac-space-xl);
  background: var(--ac-bg-grey);
  border-radius: var(--ac-radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.ac-confirmation-meta-item .label {
  font-size: 12px;
  color: var(--ac-text-muted);
  margin-bottom: 2px;
}
.ac-confirmation-meta-item .value {
  font-size: var(--ac-fs-sm);
  font-weight: var(--ac-fw-medium);
  color: var(--ac-text);
}

/* -------- Item produit -------- */
.ac-confirmation-item {
  display: grid;
  grid-template-columns: 145px 1fr auto;
  gap: var(--ac-space-md);
  align-items: start;
  padding: var(--ac-space-lg) 0;
  border-bottom: 1px solid var(--ac-border-light);
}
.ac-confirmation-item-img {
  width: 145px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--ac-radius-sm);
}
.ac-confirmation-item-name {
  font-size: var(--ac-fs-base);
  font-weight: var(--ac-fw-medium);
  color: var(--ac-text);
  margin: 0 0 10px;
  line-height: 1.4;
}
.ac-confirmation-item-price {
  font-size: var(--ac-fs-lg);
  font-weight: var(--ac-fw-bold);
  color: var(--ac-text);
  white-space: nowrap;
  margin: 0;
  padding-top: 2px;
}

/* Options list */
.ac-cart-item-options { margin-top: 6px; }
.ac-cart-item-options-label {
  font-size: var(--ac-fs-xs);
  font-weight: var(--ac-fw-semi);
  color: var(--ac-text);
  margin: 0 0 4px;
}
.ac-cart-item-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-cart-item-options li {
  font-size: var(--ac-fs-xs);
  color: var(--ac-text-light);
  line-height: 1.7;
}

/* -------- Livraison row -------- */
.ac-confirmation-shipping {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--ac-space-md);
  padding: 20px 0;
  border-bottom: 1px solid var(--ac-border-light);
}
.ac-confirmation-shipping-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}
.ac-confirmation-shipping-left > svg {
  color: var(--ac-text-light);
  flex-shrink: 0;
  margin-top: 3px;
  width: 22px;
  height: 22px;
}
.ac-confirmation-shipping-name {
  font-size: var(--ac-fs-sm);
  font-weight: var(--ac-fw-medium);
  color: var(--ac-text);
  margin: 0 0 3px;
}
.ac-confirmation-shipping-delay {
  font-size: var(--ac-fs-xs);
  color: var(--ac-text-muted);
  margin: 0 0 8px;
}
.ac-confirmation-shipping-note {
  font-size: var(--ac-fs-xs);
  color: var(--ac-text-muted);
  background: #f5f5f0;
  border-radius: 4px;
  padding: 7px 12px;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.ac-confirmation-shipping-note::before {
  content: 'ⓘ';
  color: var(--ac-green);
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1.4;
}
.ac-confirmation-shipping-price {
  font-size: var(--ac-fs-sm);
  font-weight: var(--ac-fw-semi);
  white-space: nowrap;
  margin: 0;
}
/* "Offert" en vert */
.ac-shipping-free {
  color: var(--ac-green);
  font-weight: var(--ac-fw-bold);
}

/* -------- Adresse livraison -------- */
.ac-confirmation-address {
  padding: 18px 0;
  border-bottom: 1px solid var(--ac-border-light);
  margin-bottom: 0;
}
.ac-confirmation-address-label {
  font-size: var(--ac-fs-sm);
  font-weight: var(--ac-fw-semi);
  color: var(--ac-text);
  margin: 0 0 8px;
}
.ac-confirmation-address address {
  font-size: var(--ac-fs-sm);
  color: var(--ac-text);
  font-style: normal;
  line-height: 1.7;
}

/* -------- Paiement row -------- */
.ac-confirmation-payment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ac-border-light);
  margin-bottom: 40px;
}
.ac-confirmation-payment-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ac-confirmation-payment-icon img {
  height: 22px;
  width: auto;
  display: block;
}
.ac-confirmation-payment-label {
  font-size: var(--ac-fs-sm);
  color: var(--ac-text);
}
.ac-confirmation-payment-total {
  font-size: var(--ac-fs-base);
  font-weight: var(--ac-fw-bold);
  color: var(--ac-text);
}

/* -------- Ressources utiles -------- */
.ac-resources-title {
  font-family: var(--ac-font-title);
  font-size: var(--ac-fs-xl);
  font-weight: var(--ac-fw-bold);
  margin-bottom: var(--ac-space-md);
}
.ac-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ac-resource-card {
  position: relative;
  border-radius: var(--ac-radius-md);
  min-height: 175px;
  overflow: hidden;
  background-color: var(--ac-expert-bg);
  /* Fallback gradient (photos à remplacer plus tard) */
  background-image: linear-gradient(160deg, #2d3a1e 0%, #1a2210 100%);
  display: flex;
  align-items: flex-end;
}
.ac-resource-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  pointer-events: none;
}
.ac-resource-card-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}
.ac-resource-card h3 {
  font-family: var(--ac-font-title);
  font-size: var(--ac-fs-base);
  font-weight: var(--ac-fw-bold);
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.3;
}
.ac-resource-card p {
  font-size: var(--ac-fs-xs);
  color: rgba(255,255,255,0.75);
  margin: 0 0 10px;
  line-height: 1.5;
}
.ac-resource-link {
  font-size: var(--ac-fs-xs);
  color: var(--ac-green);
  font-weight: var(--ac-fw-semi);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ac-resource-link::after {
  content: '→';
  font-size: 13px;
}
.ac-resource-link:hover { text-decoration: underline; }

/* -------- Sidebar Besoin d'aide -------- */
.ac-checkout-summary {
  background: var(--ac-white);
  border: 1px solid var(--ac-border);
  border-radius: var(--ac-radius-lg);
  padding: var(--ac-space-xl);
}
.ac-checkout-summary-title {
  font-family: var(--ac-font-title);
  font-size: var(--ac-fs-xl);
  font-weight: var(--ac-fw-bold);
  color: var(--ac-text);
  margin: 0 0 var(--ac-space-lg);
}
.ac-help-links { display: flex; flex-direction: column; }
.ac-help-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ac-border-light);
  text-decoration: none;
  transition: opacity .15s;
}
.ac-help-link:first-child { padding-top: 0; }
.ac-help-link:last-child { border-bottom: none; padding-bottom: 0; }
.ac-help-link:hover { opacity: 0.7; }
.ac-help-link > svg {
  color: var(--ac-text-light);
  flex-shrink: 0;
  margin-top: 1px;
  width: 20px;
  height: 20px;
}
.ac-help-link-title {
  display: block;
  font-size: var(--ac-fs-sm);
  font-weight: var(--ac-fw-semi);
  color: var(--ac-text);
  margin-bottom: 2px;
}
.ac-help-link-sub {
  display: block;
  font-size: var(--ac-fs-xs);
  color: var(--ac-text-muted);
  line-height: 1.4;
}
.ac-checkout-summary .ac-btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--ac-space-lg);
  padding: 14px;
}

/* -------- Responsive confirmation -------- */
@media (max-width: 768px) {
  .ac-confirmation-item { grid-template-columns: 90px 1fr; }
  .ac-confirmation-item-price { grid-column: 2; }
  .ac-confirmation-item-img { width: 90px; height: 72px; }
  .ac-resources-grid { grid-template-columns: 1fr; }
  .ac-confirmation-meta { grid-template-columns: 1fr; }
}


/* Checkout: the custom flow already owns the page heading. */
body.woocommerce-checkout .entry-header, body.woocommerce-checkout .page-header { display:none !important; }
body.woocommerce-checkout .entry-content { margin-top:0 !important; }
body.woocommerce-checkout .site-main > article { margin:0 !important; padding:0 !important; }

/* Checkout — alignement final selon la maquette */
body.woocommerce-checkout .woocommerce > .ac-trust-badges { display:none !important; }
body.woocommerce-checkout .woocommerce { max-width:1280px; padding-left:32px; padding-right:32px; }
body.woocommerce-checkout .ac-checkout-header,
body.woocommerce-checkout .ac-checkout-progress,
body.woocommerce-checkout .ac-checkout-layout { width:100%; max-width:none; box-sizing:border-box; }
body.woocommerce-checkout .ac-checkout-progress { padding:26px 0 22px; margin-bottom:48px; }
body.woocommerce-checkout .ac-checkout-layout { grid-template-columns:minmax(0,1fr) 400px; column-gap:56px; }
body.woocommerce-checkout .ac-progress-step { max-width:132px; }
@media (max-width:768px) {
  body.woocommerce-checkout .woocommerce { padding-left:18px; padding-right:18px; }
  body.woocommerce-checkout .ac-checkout-layout { grid-template-columns:1fr; row-gap:28px; }
  body.woocommerce-checkout .ac-checkout-summary { order:-1; }
}

body.woocommerce-checkout .ac-checkout-back-link::before { content:none !important; }


/* Checkout — correction de la colonne Storefront et de la barre d'étapes */
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-right: 0 !important;
}
body.woocommerce-checkout .woocommerce {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}
body.woocommerce-checkout .ac-checkout-header,
body.woocommerce-checkout .ac-checkout-progress,
body.woocommerce-checkout .ac-checkout-layout,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  width: 100%;
  box-sizing: border-box;
}
body.woocommerce-checkout .ac-checkout-header-right { gap: 48px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin: 0; padding: 0; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  background: transparent;
  color: #524235;
  font-size: 15px;
  line-height: 1.5;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  color: #8fbd46;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.woocommerce-checkout .ac-checkout-progress::before,
body.woocommerce-checkout .ac-progress-step::after {
  display: none !important;
}
body.woocommerce-checkout .ac-progress-step + .ac-progress-step::before {
  top: 14px;
  left: calc(-50% + 14px);
  right: calc(50% + 14px);
  height: 2px;
  background: #e0e0e0;
}
body.woocommerce-checkout .ac-progress-step--done + .ac-progress-step::before,
body.woocommerce-checkout .ac-progress-step--done + .ac-progress-step--done::before,
body.woocommerce-checkout .ac-progress-step--done + .ac-progress-step--active::before {
  background: #8fbd46;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce { padding-left: 18px !important; padding-right: 18px !important; }
  body.woocommerce-checkout .ac-checkout-header-right { gap: 18px; }
}

/* Checkout — formulaire de code promo ouvert */
body.woocommerce-checkout form.checkout_coupon {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border: 0;
  background: transparent;
}
body.woocommerce-checkout form.checkout_coupon .form-row {
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout form.checkout_coupon .form-row-first {
  flex: 0 1 280px;
}
body.woocommerce-checkout form.checkout_coupon .form-row-last {
  flex: 0 0 auto;
}
body.woocommerce-checkout form.checkout_coupon input.input-text {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dcd9d2;
  border-radius: 2px;
  background: #fff;
  color: #524235;
  box-sizing: border-box;
}
body.woocommerce-checkout form.checkout_coupon button.button {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: #8fbd46;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
body.woocommerce-checkout form.checkout_coupon button.button:hover {
  background: #52710c;
}
@media (max-width: 640px) {
  body.woocommerce-checkout form.checkout_coupon { flex-wrap: wrap; }
  body.woocommerce-checkout form.checkout_coupon .form-row-first,
  body.woocommerce-checkout form.checkout_coupon .form-row-last { flex: 1 1 100%; }
}


/* Checkout Livraison — header compact de la maquette */
body.woocommerce-checkout #masthead:not(.ac-checkout-header),
body.woocommerce-checkout .acox-mega-nav,
body.woocommerce-checkout .promo-bar {
  display: none !important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  display: none !important;
}
body.woocommerce-checkout .woocommerce {
  max-width: 1400px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
body.woocommerce-checkout .ac-checkout-header {
  position: relative;
  min-height: 72px;
  height: 72px;
  border-bottom: 1px solid #e6e4df;
  box-sizing: border-box;
}
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] svg,
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] img {
  width: 140px;
  height: auto;
  display: block;
}
body.woocommerce-checkout .ac-checkout-back-link,
body.woocommerce-checkout .ac-checkout-user-link,
body.woocommerce-checkout .ac-checkout-help-link {
  font-size: 12px;
  line-height: 1.2;
}
body.woocommerce-checkout .ac-checkout-header-right {
  gap: 40px;
}
body.woocommerce-checkout .ac-checkout-progress {
  padding: 26px 0 28px;
  margin-bottom: 42px;
}
body.woocommerce-checkout .ac-checkout-layout {
  grid-template-columns: minmax(0, 1fr) 440px;
  column-gap: 56px;
}
body.woocommerce-checkout .ac-checkout-main {
  min-width: 0;
}
body.woocommerce-checkout .ac-checkout-summary {
  min-width: 0;
}

/* Étapes terminées : cercle blanc, contour vert et coche */
body.woocommerce-checkout .ac-checkout-progress .ac-progress-step .ac-progress-dot::after {
  content: none;
}
body.woocommerce-checkout .ac-checkout-progress[data-current-step="2"] .ac-progress-step[data-step="1"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="1"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="2"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="1"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="2"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="3"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="1"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="2"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="3"] .ac-progress-dot::after,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="4"] .ac-progress-dot::after {
  content: '✓';
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  color: #8fbd46;
}
body.woocommerce-checkout .ac-checkout-progress[data-current-step="2"] .ac-progress-step[data-step="1"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="1"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="2"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="1"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="2"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="3"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="1"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="2"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="3"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="4"] .ac-progress-dot {
  background: #fff;
  border-color: #8fbd46;
  color: transparent;
  font-size: 0;
}
/* Connecteurs verts jusqu'à l'étape courante */
body.woocommerce-checkout .ac-checkout-progress[data-current-step="2"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="4"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="4"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="5"]::before {
  background: #8fbd46;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  body.woocommerce-checkout .ac-checkout-header-right {
    gap: 16px;
  }
  body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] {
    width: 110px;
  }
  body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] svg,
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] img {
    width: 110px;
  }
  body.woocommerce-checkout .ac-checkout-layout {
    grid-template-columns: 1fr;
  }
}


/* Checkout Livraison — passe de finition fidèle à la maquette */
body.woocommerce-checkout .ac-checkout-header {
  border-bottom: 0 !important;
}
body.woocommerce-checkout .ac-checkout-header::after {
  content: '';
  position: absolute;
  left: calc((100% - 100vw) / 2);
  right: calc((100% - 100vw) / 2);
  bottom: 0;
  border-bottom: 1px solid #e4e0d8;
  pointer-events: none;
}
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] {
  width: 216px;
  height: 57px;
}
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] svg,
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] img {
  width: 216px;
  height: 57px;
}
body.woocommerce-checkout .ac-checkout-header-right {
  gap: 44px;
}
body.woocommerce-checkout .ac-checkout-user-link,
body.woocommerce-checkout .ac-checkout-help-link,
body.woocommerce-checkout .ac-checkout-back-link {
  font-family: 'niveau-grotesk', Arial, sans-serif !important;
  color: #524235 !important;
}
body.woocommerce-checkout .ac-checkout-header-right svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
body.woocommerce-checkout .ac-checkout-progress {
  border-bottom: 0 !important;
  padding: 30px 0 34px;
  margin-bottom: 42px;
}
body.woocommerce-checkout .ac-progress-step {
  flex: 0 0 208px;
  max-width: 208px;
}
body.woocommerce-checkout .ac-progress-step + .ac-progress-step::before {
  top: 14px;
  height: 1px;
  background: #d9d5cc;
}
body.woocommerce-checkout .ac-progress-dot {
  background: #fff;
  border-color: #d9d5cc;
  color: #524235;
}
body.woocommerce-checkout .ac-progress-label {
  font-family: 'niveau-grotesk', Arial, sans-serif !important;
  color: #8b857c;
}
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="1"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="2"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="3"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="1"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="2"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="3"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="4"] .ac-progress-label,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step .ac-progress-label {
  color: #524235;
  font-weight: 500;
}
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="3"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="4"] .ac-progress-dot,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="5"] .ac-progress-dot {
  background: #8fbd46;
  border-color: #8fbd46;
  color: #fff;
}
body.woocommerce-checkout .ac-checkout-progress[data-current-step="2"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step[data-step="4"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="2"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="3"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="4"]::before,
body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step[data-step="5"]::before {
  background: #8fbd46;
}
body.woocommerce-checkout .ac-checkout-title,
body.woocommerce-checkout .ac-checkout-summary-title {
  font-family: 'Syne', Arial, sans-serif !important;
  color: #524235 !important;
}
body.woocommerce-checkout .ac-section-title,
body.woocommerce-checkout .ac-recap-count,
body.woocommerce-checkout .ac-recap-item-name,
body.woocommerce-checkout .ac-checkout-summary,
body.woocommerce-checkout .ac-checkout-summary .label,
body.woocommerce-checkout .ac-checkout-summary .value {
  font-family: 'niveau-grotesk', Arial, sans-serif !important;
  color: #524235;
}
body.woocommerce-checkout .ac-btn-primary,
body.woocommerce-checkout .ac-checkout-summary .ac-btn-primary {
  background: #8fbd46 !important;
  border-radius: 0 !important;
  font-family: 'niveau-grotesk', Arial, sans-serif !important;
}
body.woocommerce-checkout .ac-btn-primary:hover {
  background: #78a63b !important;
}
body.woocommerce-checkout .ac-checkout-summary {
  border-radius: 2px;
}
@media (max-width: 768px) {
  body.woocommerce-checkout .ac-progress-step {
    flex-basis: 20%;
    max-width: none;
  }
  body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"],
  body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] svg,
body.woocommerce-checkout .ac-checkout-header a[aria-label="AtelierCox"] img {
    width: 150px;
    height: auto;
  }
}

/* ---- Checkout — overrides utilisateur (méthodes de paiement) ---- */
body.woocommerce-checkout ul#payment {
    margin: 0;
    border-radius: 0;
}
body.woocommerce-checkout .ac-payment-method.is-active {
    border-color: #8fbd46;
    border-radius: 0;
}
body.woocommerce-checkout .ac-payment-method.is-active .ac-radio-custom {
    border-color: #8fbd46;
}
body.woocommerce-checkout .ac-radio-custom::after {
    background: #8fbd46;
}
body.woocommerce-checkout .woocommerce {
    max-width: 100% !important;
}

/* ---- Checkout — overrides utilisateur (titres, header, liens) ---- */
body.woocommerce-checkout h1.ac-checkout-title {
    font-size: 50px;
}
body.woocommerce-checkout h2.ac-section-title {
    font-size: 30px;
    font-family: 'Syne', Arial, sans-serif !important;
    color: #524235 !important;
    letter-spacing: 0 !important;
}
body.woocommerce-checkout .ac-checkout-header {
    padding: 0;
}
body.woocommerce-checkout span#ac-back-label {
    font-size: 16px;
    color: #524235;
    font-weight: 600;
    text-decoration: none;
}
body.woocommerce-checkout a#ac-back-link {
    text-decoration: none;
}
body.woocommerce-checkout .ac-checkout-user-link,
body.woocommerce-checkout .ac-checkout-help-link {
    font-size: 15px;
    font-weight: 600;
    font-family: 'Syne' !important;
    text-decoration: none;
}

/* ---- Checkout — overrides utilisateur (progress) ---- */
body.woocommerce-checkout .ac-progress-dot::before {
    content: "";
    width: 68px;
    height: 68px;
    border: 20px solid white;
    position: absolute;
    z-index: 1;
}
body.woocommerce-checkout .ac-progress-label {
    font-family: 'Syne';
    font-size: 15px;
    font-weight: 600 !important;
    position: relative;
    z-index: 3;
}

/* ---- Confirmation — overrides utilisateur ---- */
.ac-confirmation-page {
    max-width: 100%;
    padding: 0;
}
.ac-confirmation-meta-item {
    display: block;
}
p.ac-confirmation-subtitle {
    font-size: 30px;
    font-family: 'Syne';
    color: #524235;
}
h1.ac-confirmation-title {
    font-size: 50px;
    color: #524235;
    margin-bottom: 30px;
}
p.ac-confirmation-email-note {
    font-size: 17px;
    font-family: 'niveau-grotesk';
    color: #524235;
    margin-top: 8px;
}
.ac-confirmation-header {
    margin-bottom: 15px;
}
.ac-confirmation-meta span {
    font-size: 17px !important;
    font-family: 'niveau-grotesk' !important;
    color: #524235 !important;
}
.ac-confirmation-meta {
    gap: 10px;
    background: #F5F5F4;
    border-radius: 0;
    margin-bottom: 50px;
}

/* ---- Checkout — étape 2 Identification : masquer livraison/paiement/récap ---- */
#ac-checkout-multistep[data-step="2"] .ac-checkout-layout {
    display: none;
}

/* ---- Checkout container 1440px (alignement maquette) ---- */
html body.woocommerce-checkout .woocommerce {
    max-width: 1440px !important;
}


/* AC MOBILE CART CHECKOUT XD V37
   Existing 5-step checkout remains authoritative. Only layout/typography affected. */
@media screen and (max-width:768px){
  html body.woocommerce-checkout #page,
  html body.woocommerce-checkout #content,
  html body.woocommerce-checkout .site-content,
  html body.woocommerce-checkout .woocommerce,
  html body.woocommerce-checkout .ac-checkout-layout-wrap{
    max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-checkout-page,
  html body.woocommerce-checkout .ac-identification-page{
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding-left:16px!important;padding-right:16px!important;
    margin-left:auto!important;margin-right:auto!important;
    box-sizing:border-box!important;
    color:#524235!important;font-family:'niveau-grotesk',Arial,sans-serif!important;
  }
  html body.woocommerce-checkout .ac-checkout-layout{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:0!important;width:100%!important;max-width:100%!important;min-width:0!important;
    padding:0!important;margin:0!important;
  }
  html body.woocommerce-checkout .ac-checkout-main,
  html body.woocommerce-checkout .ac-checkout-sidebar,
  html body.woocommerce-checkout .ac-checkout-step,
  html body.woocommerce-checkout .ac-checkout-summary{
    float:none!important;position:relative!important;width:100%!important;
    max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
    margin-left:0!important;margin-right:0!important;
  }
  html body.woocommerce-checkout .ac-checkout-sidebar{order:2!important;margin:26px 0 0!important;}
  html body.woocommerce-checkout .ac-checkout-main{order:1!important;}
  html body.woocommerce-checkout .ac-checkout-progress{
    width:100%!important;max-width:100%!important;min-width:0!important;
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    justify-content:space-between!important;align-items:flex-start!important;
    gap:0!important;
    padding:15px 16px 20px!important;margin:0 auto 18px!important;
    box-sizing:border-box!important;overflow:visible!important;
  }
  html body.woocommerce-checkout .ac-progress-step{
    display:flex!important;flex:1 1 20%!important;min-width:0!important;
    flex-direction:column!important;align-items:center!important;
    justify-content:flex-start!important;
    font:700 13px/1.25 'Syne',Arial,sans-serif!important;
    color:#524235!important;white-space:normal!important;
    text-align:center!important;z-index:1!important;
  }
  html body.woocommerce-checkout .ac-progress-dot{
    display:flex!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;
    width:28px!important;height:28px!important;min-width:28px!important;
    border-radius:50%!important;
    font:700 13px/1 'Syne',Arial,sans-serif!important;
  }
  html body.woocommerce-checkout h1.ac-checkout-title,
  html body.woocommerce-checkout h1.ac-identification-title{
    margin:12px 0 28px!important;padding:0!important;
    color:#524235!important;
    font:700 40px/1.07 'Syne',Arial,sans-serif!important;
    letter-spacing:-.025em!important;
    overflow-wrap:normal!important;
  }
  html body.woocommerce-checkout .ac-section-title,
  html body.woocommerce-checkout .ac-id-card-title,
  html body.woocommerce-checkout h2.ac-checkout-summary-title{
    font:700 24px/1.17 'Syne',Arial,sans-serif!important;
    color:#524235!important;
    margin:0 0 20px!important;padding:0!important;letter-spacing:-.018em!important;
  }
  html body.woocommerce-checkout .ac-identification-cards{
    display:flex!important;flex-direction:column!important;
    gap:16px!important;width:100%!important;min-width:0!important;
  }
  html body.woocommerce-checkout .ac-id-card{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:20px 16px!important;
    border:1px solid #e4e1da!important;border-radius:0!important;
    box-sizing:border-box!important;box-shadow:none!important;
    background:#fff!important;
  }
  html body.woocommerce-checkout .ac-form-row,
  html body.woocommerce-checkout .ac-form-row--2col{
    display:flex!important;flex-direction:column!important;gap:14px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-form-group{
    display:flex!important;flex-direction:column!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0 0 14px!important;padding:0!important;box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-form-group label{
    margin:0 0 8px!important;
    font:700 15px/1.25 'niveau-grotesk',Arial,sans-serif!important;
    color:#524235!important;
  }
  html body.woocommerce-checkout .ac-form-group :is(input,select,textarea){
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:48px!important;padding:12px 14px!important;
    margin:0!important;box-sizing:border-box!important;
    border:1px solid #dfddd7!important;border-radius:0!important;
    box-shadow:none!important;background:#fff!important;
    color:#524235!important;font:400 16px/1.35 'niveau-grotesk',Arial,sans-serif!important;
  }
  html body.woocommerce-checkout .ac-form-group textarea{min-height:110px!important;resize:vertical!important;}
  html body.woocommerce-checkout .ac-saved-address,
  html body.woocommerce-checkout .ac-shipping-method-card,
  html body.woocommerce-checkout .ac-payment-method-card{
    max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
    padding:16px!important;margin:0 0 13px!important;
    border:1px solid #e5e1db!important;border-radius:0!important;
    box-shadow:none!important;background:#fff!important;
  }
  html body.woocommerce-checkout .ac-shipping-method-header,
  html body.woocommerce-checkout .ac-payment-method-header{
    display:flex!important;flex-direction:row!important;align-items:flex-start!important;
    gap:12px!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-shipping-method-info,
  html body.woocommerce-checkout .ac-payment-method-header-left{
    min-width:0!important;max-width:100%!important;overflow-wrap:break-word!important;
  }
  html body.woocommerce-checkout .ac-shipping-method-info :is(h3,strong),
  html body.woocommerce-checkout .ac-payment-method-header strong{
    font:700 17px/1.25 'Syne',Arial,sans-serif!important;color:#524235!important;
  }
  html body.woocommerce-checkout .ac-shipping-method-info p,
  html body.woocommerce-checkout .ac-payment-method-body p,
  html body.woocommerce-checkout .ac-billing-address,
  html body.woocommerce-checkout .ac-delivery-notes-section p{
    font:400 15px/1.45 'niveau-grotesk',Arial,sans-serif!important;color:#524235!important;
    overflow-wrap:break-word!important;
  }
  html body.woocommerce-checkout .ac-shipping-address-section,
  html body.woocommerce-checkout .ac-shipping-methods-section,
  html body.woocommerce-checkout .ac-delivery-notes-section,
  html body.woocommerce-checkout .ac-billing-section{
    width:100%!important;max-width:100%!important;
    min-width:0!important;margin:0 0 26px!important;box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-checkout-summary{
    background:#f5f5f3!important;padding:20px 16px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
  }
  html body.woocommerce-checkout .ac-recap-items,
  html body.woocommerce-checkout .ac-recap-item,
  html body.woocommerce-checkout .ac-summary-totals,
  html body.woocommerce-checkout .ac-checkout-totals,
  html body.woocommerce-checkout .ac-checkout-totals-row{
    max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-recap-item{display:flex!important;flex-direction:row!important;gap:10px!important;align-items:flex-start!important;}
  html body.woocommerce-checkout .ac-recap-item-details{flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important;}
  html body.woocommerce-checkout .ac-checkout-totals-row{
    display:flex!important;flex-direction:row!important;align-items:flex-start!important;
    justify-content:space-between!important;gap:12px!important;
  }
  html body.woocommerce-checkout .ac-checkout-totals-row .ac-totals-left{flex:1 1 auto!important;min-width:0!important;}
  html body.woocommerce-checkout .ac-checkout-totals-row .ac-totals-right{flex:0 1 auto!important;min-width:0!important;max-width:48%!important;text-align:right!important;}
  html body.woocommerce-checkout .ac-checkout-totals-row .label{
    font:700 17px/1.25 'Syne',Arial,sans-serif!important;color:#524235!important;
  }
  html body.woocommerce-checkout .ac-checkout-totals-row.total :is(.label,.value){
    font:700 20px/1.2 'Syne',Arial,sans-serif!important;color:#524235!important;
  }
  html body.woocommerce-checkout :is(.ac-btn-primary,.ac-next-step-btn,.ac-sidebar-cta,#place_order){
    box-sizing:border-box!important;display:flex!important;
    align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:100%!important;
    min-height:52px!important;padding:12px 18px!important;
    border:0!important;border-radius:0!important;
    background:#8fbd46!important;color:#fff!important;
    text-align:center!important;text-decoration:none!important;
    font:700 15px/1.2 'Syne',Arial,sans-serif!important;
  }
  html body.woocommerce-checkout .ac-checkout-header{
    width:100%!important;max-width:100%!important;
    box-sizing:border-box!important;min-width:0!important;
  }
  html body.woocommerce-checkout .ac-checkout-header-inner{
    width:100%!important;max-width:100%!important;
    min-width:0!important;display:flex!important;align-items:center!important;
    justify-content:space-between!important;gap:8px!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-checkout-header-logo{min-width:0!important;}
  html body.woocommerce-checkout .ac-checkout-header-logo img{max-width:100%!important;height:auto!important;}
  html body.woocommerce-checkout .ac-checkout-back-link{white-space:nowrap!important;font:700 13px/1.2 'niveau-grotesk',Arial,sans-serif!important;}
  html body.woocommerce-checkout .ac-confirmation-page{width:100%!important;max-width:100%!important;min-width:0!important;padding:0 16px!important;box-sizing:border-box!important;}
}


/* AC MOBILE CHECKOUT XD V40 PRECISE FIVE-STEP WINDOW
   Native XD displays only 3 of the 5 steps on narrow screens.
   Panier=>Identification=>Livraison=>Paiement=>Confirmation. */
@media(min-width:320px) and (max-width:560px){
 html body.woocommerce-checkout .ac-checkout-progress{
   overflow:hidden!important;overscroll-behavior:contain!important;
   padding:14px 0 20px!important;margin:0 auto 16px!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   justify-content:flex-start!important;gap:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress .ac-progress-step{
   position:relative!important;flex:0 0 33.333333vw!important;
   width:33.333333vw!important;max-width:33.333333vw!important;
   min-width:33.333333vw!important;min-height:58px!important;
   font:700 13px/1.25 'Syne',Arial,sans-serif!important;
   text-align:center!important;
   transition:none!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress .ac-progress-dot{
   width:32px!important;height:32px!important;min-width:32px!important;
   border-radius:50%!important;
   box-sizing:border-box!important;margin:0 auto 8px!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step:first-child{
   margin-left:-33.333333vw!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step:first-child,
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step:first-child{
   margin-left:-66.666666vw!important;
 }
 html body.woocommerce-checkout .ac-checkout-header{
   min-height:68px!important;max-width:100%!important;
   padding:12px 16px!important;
   display:flex!important;align-items:center!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner{
   align-items:center!important;min-height:44px!important;
 }
}


/* AC MOBILE XD V45 CHECKOUT FULL WIDTH WRAPPERS
   Stage 2-5 375px XD layouts; remove Storefront container 42px margins.
   Cart template unaffected, desktop untouched, never submit or alter WooCommerce. */
@media screen and (max-width:768px){
  html body.woocommerce-checkout #page,
  html body.woocommerce-checkout #page #content,
  html body.woocommerce-checkout #page .site-content,
  html body.woocommerce-checkout #page .site-content .col-full,
  html body.woocommerce-checkout #page #content .col-full,
  html body.woocommerce-checkout #page #primary,
  html body.woocommerce-checkout #page .content-area,
  html body.woocommerce-checkout #page .site-main,
  html body.woocommerce-checkout #page article.page,
  html body.woocommerce-checkout #page .entry-content,
  html body.woocommerce-checkout #page .entry-content>.woocommerce,
  html body.woocommerce-checkout #page .woocommerce,
  html body.woocommerce-checkout .ac-checkout-layout-wrap{
    display:block!important;position:relative!important;
    float:none!important;clear:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout #page .site-content .col-full:before,
  html body.woocommerce-checkout #page .site-content .col-full:after{
    content:none!important;
  }
  html body.woocommerce-checkout .ac-checkout-progress{
    position:relative!important;display:flex!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0 auto 16px!important;padding:14px 0 20px!important;
    box-sizing:border-box!important;overflow:hidden!important;
  }
  html body.woocommerce-checkout .ac-checkout-page{
    display:block!important;position:relative!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0 auto!important;padding:0 16px 30px!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-identification-page{
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-identification-page h1.ac-identification-title{
    color:#524235!important;
    font:700 40px/1.08 'Syne',Arial,sans-serif!important;
    letter-spacing:-.025em!important;
    margin:8px 0 24px!important;padding:0!important;
  }
  html body.woocommerce-checkout .ac-identification-page .ac-identification-cards{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;
  }
  html body.woocommerce-checkout .ac-identification-page .ac-id-card{
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-layout{
    display:flex!important;flex-flow:column nowrap!important;
    align-items:stretch!important;justify-content:flex-start!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;gap:0!important;
  }
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-main,
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-sidebar,
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-step{
    float:none!important;clear:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
  }
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-sidebar{
    order:2!important;margin:26px 0 0!important;
  }
  html body.woocommerce-checkout .ac-checkout-page .ac-checkout-main{
    order:1!important;
  }
}

/* AC MOBILE CHECKOUT XD V55 HEADER IDENTIFICATION AND SUMMARY */
@media screen and (max-width:768px){
 html body.woocommerce-checkout .ac-checkout-header{
   display:flex!important;align-items:center!important;justify-content:center!important;
   position:relative!important;top:0!important;left:0!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:69px!important;min-height:69px!important;max-height:69px!important;
   margin:0!important;padding:0 16px!important;box-sizing:border-box!important;
   border:0!important;border-bottom:1px solid #e3e0da!important;background:#fff!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner{
   display:grid!important;
   grid-template-columns:42px minmax(0,1fr) 42px!important;
   grid-template-rows:68px!important;
   align-items:center!important;justify-items:center!important;
   gap:0!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:68px!important;min-height:68px!important;
   margin:0!important;padding:0!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-checkout-back-link{
   display:flex!important;grid-column:1!important;grid-row:1!important;
   position:static!important;float:none!important;
   align-items:center!important;justify-content:center!important;
   width:42px!important;min-width:0!important;max-width:42px!important;
   height:44px!important;margin:0!important;padding:0!important;
   overflow:hidden!important;white-space:nowrap!important;text-overflow:clip!important;
   color:#524235!important;font:400 28px/1 'niveau-grotesk',Arial,sans-serif!important;
   background:transparent!important;border:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-back-link span,
 html body.woocommerce-checkout .ac-checkout-back-link::before{
   display:none!important;content:none!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-logo{
   display:flex!important;grid-column:2!important;grid-row:1!important;
   align-items:center!important;justify-content:center!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:48px!important;min-height:0!important;
   padding:0!important;margin:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-logo img,
 html body.woocommerce-checkout .ac-checkout-logo-img{
   display:block!important;object-fit:contain!important;
   width:140px!important;max-width:100%!important;
   height:auto!important;max-height:48px!important;
   margin:0 auto!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-right{
   display:flex!important;grid-column:3!important;grid-row:1!important;
   align-items:center!important;justify-content:center!important;
   width:42px!important;max-width:42px!important;min-width:0!important;
   gap:0!important;margin:0!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-user-link{display:none!important;}
 html body.woocommerce-checkout .ac-checkout-help-link{
   display:flex!important;align-items:center!important;justify-content:center!important;
   width:42px!important;max-width:42px!important;height:42px!important;
   margin:0!important;padding:0!important;overflow:hidden!important;
   color:#524235!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress{
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0 auto 16px!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-checkout-page,
 html body.woocommerce-checkout #ac-checkout-multistep{
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0 16px 30px!important;
   box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-identification-page{
   display:block!important;position:relative!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   margin:0!important;padding:0!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout h1.ac-identification-title {
   display:block!important;width:100%!important;max-width:100%!important;
   font:700 40px/1.08 'Syne',Arial,sans-serif!important;
   letter-spacing:-.02em!important;color:#524235!important;
   text-align:center!important;
   margin:7px 0 28px!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-identification-cards{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   gap:10px!important;margin:0!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-id-card{
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:20px 22px!important;
   border:1px solid #e7e3dc!important;border-radius:0!important;
   background:#fff!important;box-shadow:none!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout h2.ac-id-card-title{
   font:700 20px/1.25 'Syne',Arial,sans-serif!important;
   color:#524235!important;text-align:center!important;
   margin:0 0 18px!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-form-group{
   margin:0 0 14px!important;
 }
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-checkout-sidebar,
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-checkout-summary{
   display:none!important;
 }
 html body.woocommerce-checkout .ac-checkout-sidebar{
   order:2!important;position:relative!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   margin:22px 0 0!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-summary{
   width:100%!important;max-width:100%!important;min-width:0!important;
   padding:0!important;border:0!important;background:#fff!important;
   box-shadow:none!important;
 }
 html body.woocommerce-checkout .ac-recap-items,
 html body.woocommerce-checkout .ac-summary-totals{
   background:#fff!important;border:1px solid #e7e3dc!important;
   padding:16px!important;box-sizing:border-box!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0 0 12px!important;
 }
 html body.woocommerce-checkout h1.ac-checkout-title{
   font:700 40px/1.08 'Syne',Arial,sans-serif!important;
   color:#524235!important;letter-spacing:-.02em!important;
 }
}


/* AC MOBILE CHECKOUT XD V61 FORM HEIGHT AND HEADER
  Native XD 375px: identification heading 40px, cards 343px, compact fields.
  Preserve form names, validation, payment gateway scripts and dynamic values. */
@media screen and (max-width:768px){
 html body.woocommerce-checkout .ac-checkout-header-inner > a[aria-label="AtelierCox"]{
   display:flex!important;grid-column:2!important;grid-row:1!important;
   align-items:center!important;justify-content:center!important;
   position:static!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:48px!important;margin:0!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner > a[aria-label="AtelierCox"] img{
   display:block!important;width:140px!important;max-width:100%!important;
   height:auto!important;max-height:48px!important;object-fit:contain!important;
   margin:0 auto!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-help-link{
   font-size:0!important;line-height:0!important;white-space:nowrap!important;
 }
 html body.woocommerce-checkout .ac-checkout-help-link svg{
   display:block!important;flex:0 0 28px!important;
   width:28px!important;height:28px!important;max-width:28px!important;
   margin:0!important;padding:0!important;
 }
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-identification-title{
   margin-top:26px!important;
   margin-bottom:28px!important;
 }
 html body.woocommerce-checkout .ac-id-card form.ac-login-form,
 html body.woocommerce-checkout .ac-id-card form.ac-register-form{
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0!important;padding:0!important;gap:0!important;
   box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-id-card h2.ac-id-card-title{
   margin:0 0 16px!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-form-group{
   display:flex!important;flex-direction:column!important;
   min-width:0!important;max-width:100%!important;
   height:auto!important;min-height:0!important;
   margin:0 0 12px!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-form-group label{
   font:400 15px/1.28 'niveau-grotesk',Arial,sans-serif!important;
   margin:0 0 6px!important;padding:0!important;
   color:#524235!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-password-header{
   display:flex!important;align-items:center!important;
   justify-content:space-between!important;gap:8px!important;
   width:100%!important;max-width:100%!important;
   margin:0 0 6px!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-password-header label{
   margin:0!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-password-header .ac-forgot-link{
   font:400 15px/1.3 'niveau-grotesk',Arial,sans-serif!important;
   color:#524235!important;white-space:nowrap!important;
 }
 html body.woocommerce-checkout .ac-id-card :is(input[type="email"],input[type="password"],input[type="text"]){
   display:block!important;width:100%!important;max-width:100%!important;
   height:45px!important;min-height:45px!important;max-height:45px!important;
   box-sizing:border-box!important;padding:10px 12px!important;
   margin:0!important;border:1px solid #d8d3cb!important;border-radius:0!important;
   font:400 16px/1.3 'niveau-grotesk',Arial,sans-serif!important;
   color:#524235!important;background:#fff!important;box-shadow:none!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-password-wrapper{
   height:45px!important;min-height:45px!important;max-height:45px!important;
   padding:0!important;
 }
 html body.woocommerce-checkout .ac-id-card .show-password-input{
   display:none!important;
 }
 html body.woocommerce-checkout .ac-id-card button.ac-btn-primary{
   min-height:52px!important;height:52px!important;
   margin:9px 0 0!important;padding:12px 16px!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-id-advantages{
   margin:4px 0 12px!important;line-height:1.3!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-id-advantages li{
   margin:0 0 4px!important;
   font:400 14px/1.25 'niveau-grotesk',Arial,sans-serif!important;
 }
 html body.woocommerce-checkout .ac-id-card .ac-id-advantages strong{
   font:700 14px/1.25 'niveau-grotesk',Arial,sans-serif!important;
 }
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-billing-fields .form-row,
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-additional-fields .form-row,
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-shipping-fields .form-row{
   display:block!important;float:none!important;clear:both!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   margin:0 0 14px!important;padding:0!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-billing-fields input.input-text,
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-billing-fields select,
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-billing-fields textarea,
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-additional-fields input.input-text{
   display:block!important;float:none!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:auto!important;min-height:45px!important;
   box-sizing:border-box!important;margin:0!important;padding:10px 12px!important;
   border:1px solid #d8d3cb!important;border-radius:0!important;
   background:#fff!important;box-shadow:none!important;
   font:400 16px/1.35 'niveau-grotesk',Arial,sans-serif!important;
   color:#524235!important;
 }
 html body.woocommerce-checkout .ac-checkout-main .woocommerce-billing-fields label{
   display:block!important;
   font:400 15px/1.25 'niveau-grotesk',Arial,sans-serif!important;
   margin:0 0 6px!important;color:#524235!important;
 }
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="4"] .ac-sidebar-cta{
   display:none!important;
 }
}


/* AC MOBILE CHECKOUT XD V62 IDENTIFICATION HEADER COMPACT
   XD 375px first card ~320px, heading central, help icon only.
   Preserve input names, form handlers, payment gateway logic. */
@media screen and (max-width:768px){
 html body.woocommerce-checkout .ac-checkout-header-right .ac-checkout-help-link{
   display:flex!important;flex:0 0 42px!important;
   width:42px!important;min-width:42px!important;max-width:42px!important;
   height:42px!important;align-items:center!important;justify-content:center!important;
   color:#524235!important;font-size:0!important;line-height:0!important;
   letter-spacing:0!important;white-space:nowrap!important;
   overflow:hidden!important;text-indent:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-right .ac-checkout-help-link svg{
   display:block!important;flex:0 0 28px!important;
   width:28px!important;height:28px!important;max-width:28px!important;
   margin:0!important;padding:0!important;visibility:visible!important;
 }
 html body.woocommerce-checkout .ac-identification-page{
   padding:14px 0 0!important;
 }
 html body.woocommerce-checkout .ac-identification-page .ac-id-card{
   display:flex!important;flex-direction:column!important;gap:0!important;
   padding:20px 22px!important;margin:0!important;
   min-height:0!important;height:auto!important;
   align-items:stretch!important;justify-content:flex-start!important;
   box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-identification-page :is(.ac-login-form,.ac-register-form){
   display:flex!important;flex-direction:column!important;
   gap:8px!important;min-height:0!important;
   margin:0!important;padding:0!important;
   align-items:stretch!important;justify-content:flex-start!important;
 }
 html body.woocommerce-checkout .ac-identification-page .ac-id-card-title{
   margin:0 0 18px!important;padding:0!important;
   font:700 20px/1.25 'Syne',Arial,sans-serif!important;
 }
 html body.woocommerce-checkout .ac-identification-page .ac-form-group{
   margin:0 0 6px!important;
   gap:4px!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-identification-page .ac-id-card .ac-btn-primary{
   margin:8px 0 0!important;
   min-height:52px!important;height:52px!important;
 }
 html body.woocommerce-checkout .ac-identification-page .ac-id-advantages{
   margin:8px 0!important;padding:0!important;
 }
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="2"] .ac-progress-step[data-step="1"] .ac-progress-dot,
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="3"] .ac-progress-step:is([data-step="1"],[data-step="2"]) .ac-progress-dot,
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="4"] .ac-progress-step:is([data-step="1"],[data-step="2"],[data-step="3"]) .ac-progress-dot,
 html body.woocommerce-checkout .ac-checkout-progress[data-current-step="5"] .ac-progress-step:not([data-step="5"]) .ac-progress-dot{
   font-size:0!important;
 }
 html body.woocommerce-checkout .ac-shipping-method-card.is-active,
 html body.woocommerce-checkout .ac-shipping-method-card:has(input:checked),
 html body.woocommerce-checkout .ac-payment-method-card.is-active,
 html body.woocommerce-checkout .ac-payment-method-card:has(input:checked){
   border-color:#8fbd46!important;border-width:1px!important;
 }
}


/* AC MOBILE CHECKOUT XD V64 FIX CENTERED LOGO AND 2ND STEP BASELINE
   Force centered image in header irrespective of layout plugin grid placement. */
@media screen and (max-width:768px){
 html body.woocommerce-checkout .ac-checkout-header{
   position:relative!important;display:flex!important;
   align-items:center!important;justify-content:center!important;
   width:100%!important;max-width:100%!important;
   min-height:69px!important;height:69px!important;
   margin:0!important;padding:0 16px!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner{
   position:relative!important;display:flex!important;flex-direction:row!important;
   align-items:center!important;justify-content:space-between!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:68px!important;min-height:68px!important;
   margin:0!important;padding:0!important;box-sizing:border-box!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner > a[aria-label="AtelierCox"]{
   position:absolute!important;display:flex!important;
   top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
   transform:translate(-50%,-50%)!important;
   align-items:center!important;justify-content:center!important;
   width:140px!important;max-width:140px!important;min-width:140px!important;
   height:44px!important;min-height:44px!important;
   margin:0!important;padding:0!important;
   float:none!important;z-index:4!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner > a[aria-label="AtelierCox"] .ac-checkout-logo-img{
   display:block!important;width:140px!important;max-width:140px!important;
   height:auto!important;max-height:44px!important;
   margin:auto!important;padding:0!important;
   object-fit:contain!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner > .ac-checkout-back-link{
   position:relative!important;left:auto!important;right:auto!important;
   top:auto!important;transform:none!important;
   flex:0 0 42px!important;z-index:5!important;
 }
 html body.woocommerce-checkout .ac-checkout-header-inner > .ac-checkout-header-right{
   display:flex!important;position:relative!important;
   flex:0 0 42px!important;z-index:5!important;margin-left:auto!important;
 }
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-identification-page{
   padding-top:0!important;
 }
 html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] h1.ac-identification-title{
   margin-top:18px!important;
 }
}


/* AC CHECKOUT XD V69 STEP LABELS AND LEGAL FOOTER
   Mobile XD has visible 13px labels and a condensed legal-only footer.
   Isolated draft only, original WooCommerce DOM/checkout and normal cart footer untouched. */
@media screen and (max-width:768px){
  html body.woocommerce-checkout .ac-checkout-progress .ac-progress-step .ac-progress-label {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:16px!important;
    margin:10px auto 0!important;padding:0 1px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;text-overflow:clip!important;
    color:#524235!important;
    font:700 13px/1.2 'Syne',Arial,sans-serif!important;
    text-align:center!important;
  }
  html body.woocommerce-checkout .ac-checkout-progress .ac-progress-step {
    gap:0!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) .elementor-element-df543ec,
  html body.woocommerce-checkout footer#colophon:not(.site-footer) .footer_list:not([data-id="c051058"]) {
    display:none!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) .footer_list[data-id="c051058"] {
    display:block!important;width:100%!important;max-width:100%!important;
    padding:22px 0 8px!important;margin:0!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) .footer_list[data-id="c051058"] > h3{
    display:none!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) .footer_list[data-id="c051058"] #ac-mobile-footer-4 {
    display:block!important;
    visibility:visible!important;
    height:auto!important;max-height:none!important;
    overflow:visible!important;
    margin:0!important;padding:0!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) #ac-mobile-footer-4[hidden] {
    display:block!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) #ac-mobile-footer-4 ul {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:8px!important;list-style:none!important;
    width:100%!important;max-width:100%!important;
    padding:0!important;margin:0!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) #ac-mobile-footer-4 li {
    display:block!important;list-style:none!important;
    padding:0!important;margin:0!important;
    font:400 15px/1.3 'niveau-grotesk',Arial,sans-serif!important;
  }
  html body.woocommerce-checkout footer#colophon:not(.site-footer) #ac-mobile-footer-4 a {
    font:400 15px/1.3 'niveau-grotesk',Arial,sans-serif!important;
    text-decoration:none!important;
  }
}


/* AC CHECKOUT XD V71 IDENTIFICATION POSITION
   Reference XD 375px: title appears immediately under the 5-stage progress nav. */
@media screen and (max-width:768px){
  html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] h1.ac-identification-title{
    margin-top:-3px!important;
    margin-bottom:28px!important;
  }
  html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-id-card:last-child .ac-id-advantages{
    margin-bottom:2px!important;
  }
  html body.woocommerce-checkout #ac-checkout-multistep[data-step="2"] .ac-id-card:last-child .ac-btn-primary{
    margin-top:4px!important;
  }
}
