/* —— RESET & BASE —— */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #FCFBF6;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* —— VARIABLES —— */
:root {
  --color-primary:   #FF7A00;
  --color-secondary: #7A301E;
  --bg-1:            #FCFBF6;
  --text-2:          #666666;
  --border-line:     #D8C4B0;
  --radius-card:     12px;
  --radius-btn:      4px;
  --max-width:       1200px;
  --spacing:         16px;
}

/* —— LAYOUT —— */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing) 0;
}

.payment-page {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: var(--spacing);
  margin-bottom: var(--spacing);
}

/* —— BOOKING INFO —— */
.booking-info {
  background: #fff;
  padding: var(--spacing);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.booking-info h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}
.booking-info img {
  border-radius: var(--radius-card);
  margin-bottom: var(--spacing);
}
.booking-info h2 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing);
}

/* Price row */
.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing);
}
.price-item span {
  display: inline-block;
}
.price-item .price {
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 0.25rem;
}
.separator {
  border-top: 1px solid var(--border-line);
  margin: var(--spacing) 0;
}

/* Booking form */
.booking-form .form-group {
  margin-bottom: var(--spacing);
}
.booking-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
  color: #333;
}
.booking-form input[type="date"] {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-btn);
}

/* Quantity picker */
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-btn);
  overflow: hidden;
  width: max-content;
}
.qty-btn {
  background: transparent;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-secondary);
}
.quantity input {
  width: 2.5rem;
  text-align: center;
  border: none;
}

/* Discount & subtotal */
.discount-code {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin: 0 0 8px;
}
.price-list {
  list-style: none;
  margin-bottom: var(--spacing);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
}

/* —— PAYMENT DETAILS —— */
.payment-details {
  background: #fff;
  padding: var(--spacing);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
}
.payment-details h1 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing);
  color: var(--color-secondary);
}

/* Form rows & columns */
.payment-details form .form-group {
  margin-bottom: var(--spacing);
}
.payment-details label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
  color: #333;
}
.payment-details input,
.payment-details textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-btn);
}

/* Phone with flag */
.phone-field {
  position: relative;
}
.flag-emoji {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}
.phone-field input {
  padding-left: 2.5rem;
}

/* Payment method toggles */
.payment-method .methods {
  display: flex;
  gap: 1rem;
}
.method-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-btn);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}
.method-btn.active {
  border-color: var(--color-primary);
  background: rgba(255, 122, 0, 0.1);
  color: var(--color-primary);
}

/* Two-column rows */
.form-row {
  display: flex;
  gap: var(--spacing);
}

/* Pay Now button */
.btn.pay-now {
  display: block;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 0;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.btn.pay-now:hover {
  opacity: 0.9;
}

/* —— RESPONSIVE —— */
@media (max-width: 768px) {
  .payment-page {
    display: block;
  }
  .form-row {
    flex-direction: column;
  }
}
