.checkout-page {
  min-height: calc(100vh - 200px);
  padding: 90px 20px 40px;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.checkout-card {
  background-color: white;
  border-radius: 12px;
  padding: 24px 30px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkout-title {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 20px;
  margin-top: 0;
}

/* Order Card Styles */
.order-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.order-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.order-item-details {
  flex: 1;
}

.order-item-name {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1d;
  line-height: 1.4;
}

.order-item-meta {
  margin: 4px 0;
  font-size: 14px;
  color: #666;
}

.checkout-separator {
  height: 1px;
  background-color: #e5e5e5;
  margin: 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.summary-label {
  font-size: 14px;
  color: #666;
}

.summary-value {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1d;
}

.total-row {
  margin-top: 8px;
}

.total-row .summary-label {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1d;
}

.total-row .summary-value.total {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1d;
}

/* Customer Card Styles */
.customer-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.text-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.text-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.next-btn {
  margin-top: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.2s, transform 0.2s;
}

.next-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.next-btn:active {
  transform: translateY(0);
}

.info-box {
  margin-top: 16px;
  background-color: #fff7dd;
  border: 1px solid #ffd700;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* Ensure words are not auto-capitalized (override global styles) */
.info-box p {
  margin: 8px 0;
  text-transform: none;
}

.info-box p:first-child {
  margin-top: 0;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .checkout-page {
    padding: 80px 15px 30px;
  }

  .checkout-card {
    padding: 20px;
  }

  .order-item {
    flex-direction: column;
  }

  .order-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .checkout-title {
    font-size: 18px;
  }

  .order-item-name {
    font-size: 14px;
  }

  .order-item-meta {
    font-size: 12px;
  }

  .next-btn {
    width: 100%;
    align-self: stretch;
  }
}
