* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d1321 !important;
  color: #f0ebd8 !important;
  font-family: 'Outfit', sans-serif !important;
}

.checkout-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1d2d44 0%, #0d1321 100%);
}

.checkout-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

/* Section Titles */
.billing-info h2, .order-summary h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #c5a059;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Billing Form */
.billing-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.1);
  backdrop-filter: blur(10px);
}

.billing-info form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full-width {
  grid-column: span 2;
}

.billing-info label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c5a059;
  font-weight: 600;
}

.billing-info input,
.billing-info select {
  width: 100%;
  padding: 14px;
  background: rgba(25, 34, 53, 0.8) !important;
  border: 1px solid rgba(197, 160, 89, 0.3) !important;
  color: #f0ebd8 !important;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.billing-info select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.billing-info option {
  background-color: #0d1321;
  color: #f0ebd8;
  padding: 10px;
}

.billing-info input:focus,
.billing-info select:focus {
  border-color: #c5a059 !important;
  background: rgba(30, 45, 70, 0.9) !important;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.15) !important;
  outline: none;
}

.checkout-btn {
  grid-column: span 2;
  margin-top: 20px;
  padding: 18px;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: #c5a059 !important;
  color: #0d1321 !important;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkout-btn:hover {
  background: #f0ebd8 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Order Summary */
.order-summary {
  background: rgba(13, 19, 33, 0.8);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  height: fit-content;
  position: sticky;
  top: 140px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  margin-bottom: 0;
}

.summary-item p:first-child {
  font-weight: 400;
  color: #f0ebd8;
}

.summary-item p:last-child {
  font-family: 'Bodoni Moda', serif;
  color: #c5a059;
}

#summaryItems {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1rem;
  color: rgba(240, 235, 216, 0.7);
}

.summary-row.total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #c5a059;
  font-size: 1.4rem;
  color: #c5a059;
  font-family: 'Bodoni Moda', serif;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .checkout-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .checkout-page {
    padding-top: 100px;
  }
  
  .billing-info form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .checkout-container {
    padding: 0 20px;
  }
  
  .billing-info, .order-summary {
    padding: 25px;
  }
}

/* Modal styling for alert */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0d1321;
}
::-webkit-scrollbar-thumb {
  background: #c5a059;
  border-radius: 10px;
}

/* --- Standard Footer (Consistent with theme) --- */
.fog-footer {
  background: #080c16 !important;
  padding: 40px 20px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  font-family: 'Bodoni Moda', serif;
  font-size: 14px;
  margin-top: auto;
  color: #f0ebd8;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

