/* ============================================
   FINAL COMPLETE FIX - All issues resolved
   ============================================ */

/* 1. FIX: Proper spacing so recap doesn't overlap buttons */
.configurateur {
  padding-bottom: 200px !important;
}

.step-content {
  padding-bottom: 120px !important;
}

/* 2. FIX: Global recap positioned correctly without overlap */
.global-recap {
  position: fixed !important;
  bottom: 70px !important;
  left: 0 !important;
  right: 0 !important;
  background: #f8f9fa !important;
  border-top: 2px solid #e5e5e5 !important;
  padding: 14px 16px !important;
  z-index: 998 !important;
  max-height: 70px !important;
  overflow: hidden !important;
}

.global-recap-inner {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 20px !important;
  white-space: nowrap !important;
}

.global-recap-price {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #12262F !important;
  flex-shrink: 0 !important;
}

.global-recap-details {
  display: flex !important;
  gap: 16px !important;
  font-size: 13px !important;
  color: #666 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.global-recap-detail-item {
  display: inline-flex !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

/* 3. FIX: Nav buttons always on top */
.nav-buttons {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border-top: 2px solid #e5e5e5 !important;
  padding: 14px 16px !important;
  z-index: 1000 !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1) !important;
}

/* 4. FIX: Back button small circle */
.nav-buttons .btn-back {
  flex: 0 0 auto !important;
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 2px solid #12262F !important;
  color: #12262F !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.nav-buttons .btn-back::before {
  content: "←" !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* 5. FIX: Next button large and prominent */
.nav-buttons .btn-next,
.nav-buttons .btn-checkout {
  flex: 1 !important;
  height: 56px !important;
  padding: 0 24px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  background: #12262F !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 6. FIX: Stepper label compact - don't show full text */
.step-label {
  display: none !important;
}

/* 7. FIX: Stepper doesn't overflow on mobile */
@media (max-width: 480px) {
  .step-bar {
    gap: 3px !important;
    padding: 14px 8px !important;
  }
  
  .step-dot {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
  
  .step-line {
    width: 12px !important;
    height: 1px !important;
  }
  
  .configurateur {
    padding-bottom: 180px !important;
  }
}
