
  .steps-header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 2rem 0;
      margin-bottom: 2rem;
  }

.step2-fixed-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;  /* higher z-index */
    background: white;
    padding: 12px 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    border-top: 1px solid #e0e0e0;
    text-align: center;
    /* Add these for mobile */
    width: 100%;
    -webkit-transform: translateZ(0);  /* force hardware acceleration on iOS */
    transform: translateZ(0);
}

/* Make buttons smaller on mobile so they fit */
@media (max-width: 576px) {
    .step2-fixed-nav {
        padding: 10px;
        display: none; /* still controlled by JS, just setting default */
    }
    
    .step2-fixed-nav .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .step2-fixed-nav .btn-lg {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}
  
  .step-indicator {
      position: relative;
      margin-bottom: 3rem;
  }
  
  .step-indicator::before {
      content: '';
      position: absolute;
      top: 30px;
      left: 16.666%;
      right: 16.666%;
      height: 2px;
      background: #e5e7eb;
      z-index: 1;
  }
  
  .step {
      position: relative;
      text-align: center;
  }
  
  .step-number {
      width: 60px;
      height: 60px;
      margin: 0 auto 1rem;
      background: #fff;
      border: 3px solid #e5e7eb;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1.5rem;
      position: relative;
      z-index: 2;
      transition: all 0.3s ease;
  }
  
  .step.active .step-number {
      background: #667eea;
      color: white;
      border-color: #667eea;
      transform: scale(1.1);
  }
  
  .step.completed .step-number {
      background: #10b981;
      color: white;
      border-color: #10b981;
  }
  
  .step-title {
      font-weight: 600;
      color: #374151;
  }
  
  .step.active .step-title {
      color: #667eea;
  }
  
  .step-content {
      display: none;
      animation: fadeIn 0.5s ease-in-out;
  }
  
  .step-content.active {
      display: block;
  }
  
  .custom-card {
      border-radius: 12px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
      transition: all 0.3s ease;
  }
  
  .custom-card:hover {
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .date-time-picker {
      background: #f9fafb;
      border-radius: 8px;
      padding: 2rem;
  }
  
  .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
  }
  
  .product-card {
      border: 3px solid #e5e7eb;
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
  }
  
  .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Style for selected product cards */
  .product-card.selected {
      border: 3px solid #667eea !important;
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(102, 126, 234, 0.15) !important;
  }
  
  .product-image-container {
      height: 200px;
      overflow: hidden;
      position: relative;
  }
  
  .product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }
  
  .product-card:hover .product-image {
      transform: scale(1.05);
  }
  
  .product-info {
      padding: 1rem;
  }
  
  .product-name {
      font-weight: 600;
      margin-bottom: 0.5rem;
      line-height: 1.4;
  }
  
  .product-prices {
      display: flex;
      align-items: center;
      gap: 1rem;
  }
  
  .price-original {
      text-decoration: line-through;
      color: #9ca3af;
  }
  
  .price-offer {
      color: #ef4444;
      font-weight: bold;
      font-size: 1.1rem;
  }
  
  .discount-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #ef4444;
      color: white;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: bold;
  }
  
  .selected-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(102, 126, 234, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 3rem;
  }
  
  .product-card.selected .selected-overlay {
      display: flex;
  }

  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.select-button {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-button:hover {
    background-color: #556cd6;
}

  
  .checkout-summary {
      background: #f9fafb;
      border-radius: 12px;
      padding: 1.5rem;
      position: sticky;
      top: 20px;
  }
  
  .summary-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.75rem;
      padding: 0.5rem 0;
  }
  
  .summary-item.total {
      border-top: 2px solid #e5e7eb;
      font-weight: bold;
      font-size: 1.1rem;
      color: #111827;
      margin-top: 1rem;
      padding-top: 1rem;
  }
  
  .btn-primary {
      background: #667eea;
      border-color: #667eea;
      transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
      background: #5a67d8;
      border-color: #5a67d8;
  }
  
  .cart-item {
      display: flex;
      align-items: center;
      padding: 1rem;
      border-bottom: 1px solid #e5e7eb;
  }
  
  .cart-item-image {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      margin-right: 1rem;
  }
  
  .quantity-controls {
      display: inline-flex;
      align-items: center;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      overflow: hidden;
  }
  
  .quantity-btn {
      padding: 0.5rem 1rem;
      background: #f9fafb;
      border: none;
      cursor: pointer;
      transition: background-color 0.2s;
  }
  
  .quantity-btn:hover {
      background: #e5e7eb;
  }
  
  .quantity-input {
      border: none;
      width: 60px;
      text-align: center;
      padding: 0.5rem;
  }
  
  .empty-state {
      text-align: center;
      padding: 4rem 2rem;
      color: #6b7280;
  }
  
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 768px) {
      .product-grid {
          grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
          gap: 1rem;
      }
      
      .steps-header {
          padding: 1rem 0;
      }
      
      .step-number {
          width: 50px;
          height: 50px;
          font-size: 1.25rem;
      }
  }
