/* —— 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-light:        #FCFBF6;
  --text-muted:      #666666;
  --border-line:     #D8C4B0;
  --radius-card:     8px;
  --radius-btn:      4px;
  --max-width:       1200px;
  --spacing:         16px;
}

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

/* —— PAYMENT-PAGE LAYOUT —— */
.payment-page {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: var(--spacing);
  margin-bottom: var(--spacing);
}
@media (max-width: 768px) {
  .payment-page { display: block; }
}

/* —— BOOKING INFO —— */
.booking-info {
  background: #fff;
  padding: var(--spacing);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.booking-info h1 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing);
  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);
  color: var(--color-secondary);
}
.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;
}

/* —— QUANTITY PICKER —— */
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-btn);
  overflow: hidden;
  width: max-content;
  margin-bottom: var(--spacing);
}
.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;
}

/* —— DISCOUNTS & SUBTOTAL —— */
.discount-code {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin: var(--spacing) 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);
  height: fit-content;
}
.payment-details h1 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing);
  color: var(--color-secondary);
}

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


.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 .methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: var(--spacing);
}
.method-btn {
  display: flex; align-items: center; justify-content: 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 i { font-size: 1.25rem; }

.method-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}


.btn.pay-now {
  display: block;
  width: 100%;
  margin-top: var(--spacing);
  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; }