.spc-checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "SolaimanLipi", Arial, sans-serif;
}

.spc-product-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.spc-product-section h3 {
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

.spc-product-select {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 20px;
}

.spc-selected-product {
  margin-bottom: 20px;
}

.spc-selected-product h4 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #333;
}

.spc-selected-product .price {
  font-size: 18px;
  font-weight: bold;
  color: #0073aa;
  margin: 0;
}

.spc-cart-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.spc-qty-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #ee4738;
  background: #ee4738;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.spc-qty-btn:hover {
  background: #005a87;
  border-color: #005a87;
}

.spc-quantity {
  width: 80px;
  height: 40px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
}

.spc-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .spc-checkout-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.spc-customer-info,
.spc-order-summary {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.spc-customer-info h3,
.spc-order-summary h3 {
  margin-bottom: 25px;
  color: #333;
  font-size: 22px;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
}

.spc-form-group {
  margin-bottom: 20px;
}

.spc-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
  font-size: 16px;
}

.spc-form-group input,
.spc-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.spc-form-group input:focus,
.spc-form-group textarea:focus {
  outline: none;
  border-color: #0073aa;
}

/* Added error state styling for form validation */
.spc-form-group input.error,
.spc-form-group textarea.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.spc-order-details {
  margin-bottom: 25px;
}

.spc-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.spc-order-item.subtotal {
  border-bottom: 2px solid #0073aa;
  font-weight: bold;
  font-size: 18px;
}

.spc-shipping-section {
  margin: 25px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
}

.spc-shipping-section h4 {
  margin-bottom: 15px;
  color: #333;
  font-size: 18px;
}

.spc-shipping-options label {
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.spc-shipping-options label:hover {
  background: #e8f4f8;
}

.spc-shipping-options input[type="radio"] {
  margin-right: 10px;
}

.spc-total {
  padding: 20px 0;
  border-top: 2px solid #0073aa;
  margin-bottom: 25px;
}

.spc-total strong {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  color: #333;
}

.spc-place-order-btn {
  width: 100%;
  padding: 15px;
  background: #ee4738;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.spc-place-order-btn:hover {
  background: #c5281a;
}

.spc-place-order-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Loading state */
.spc-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success/Error messages */
.spc-message {
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: bold;
}

.spc-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.spc-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Added responsive improvements and better mobile experience */
@media (max-width: 480px) {
  .spc-checkout-container {
    padding: 15px;
  }

  .spc-customer-info,
  .spc-order-summary {
    padding: 20px;
  }

  .spc-cart-controls {
    flex-wrap: wrap;
    gap: 15px;
  }

  .spc-quantity {
    width: 100px;
  }
}

/* Added print styles for order confirmation */
@media print {
  .spc-checkout-container {
    box-shadow: none;
  }

  .spc-place-order-btn,
  .spc-cart-controls {
    display: none;
  }
}
