 :root {
  --olive: #303321;
  --olive-dark: #202316;
  --gold: #b5a16a;
  --ivory: #eee6d1;
  --cream: #f7f3e9;
  --ink: #24251c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #e9e4d8;
  font-family: "DM Sans", sans-serif;
}
.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    linear-gradient(135deg, rgba(32,35,22,.88), rgba(48,51,33,.76)),
    url("assets/event-poster.png") center/cover fixed;
}
.event-card {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  background: var(--olive);
  border: 1px solid rgba(181,161,106,.75);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.poster-wrap { min-height: 560px; background: #222518; }
.poster-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.event-copy {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--ivory); padding: 48px 42px;
}
.eyebrow { color: var(--gold); font-size: .68rem; letter-spacing: .19em; line-height: 1.6; }
h1, h2, .subtitle, .price-block strong { font-family: "Cormorant Garamond", Georgia, serif; }
h1 { margin: 12px 0 0; font-size: clamp(3.3rem, 8vw, 5.2rem); font-weight: 500; line-height: .9; }
h1 span { color: var(--gold); font-style: italic; }
.subtitle { margin: 10px 0 18px; color: var(--gold); font-size: 1.8rem; font-style: italic; }
.intro { max-width: 340px; color: #e2dbc8; line-height: 1.7; font-size: .92rem; }
.event-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 16px; margin: 25px 0; color: var(--ivory); font-size: .65rem; letter-spacing: .09em; }
.price-block { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price-block strong { color: var(--ivory); font-size: 3rem; font-weight: 500; }
.price-block span { color: var(--gold); font-size: .7rem; letter-spacing: .14em; }
.limited { color: var(--gold); font-size: .78rem; margin: 6px 0 24px; }
.primary-button {
  width: 100%; border: 1px solid var(--gold); border-radius: 3px; padding: 15px 20px;
  background: var(--gold); color: #252719; cursor: pointer; text-transform: uppercase;
  letter-spacing: .12em; font-size: .72rem; font-weight: 600; transition: .2s ease;
}
.primary-button:hover { background: #c8b783; transform: translateY(-1px); }
.event-copy .primary-button { max-width: 290px; }
.small-note { color: #c9c1ab; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.1rem; font-style: italic; margin-bottom: 0; }
.booking-dialog {
  width: min(92vw, 540px); max-height: 90vh; overflow: auto; border: 1px solid var(--gold);
  border-radius: 14px; padding: 0; background: var(--cream); color: var(--ink);
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}
.booking-dialog::backdrop { background: rgba(18,20,13,.72); backdrop-filter: blur(4px); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 26px 12px; }
.dialog-header .eyebrow { margin: 0; }
h2 { margin: 5px 0 0; color: var(--olive); font-size: 2.2rem; font-weight: 500; }
.close-button { border: 0; background: transparent; color: var(--olive); font-size: 2rem; cursor: pointer; line-height: 1; }
#booking-form { padding: 8px 26px 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: #4a4b3d; font-size: .78rem; }
.full-width { grid-column: 1 / -1; }
input, select { width: 100%; border: 1px solid #d3cbb7; border-radius: 5px; padding: 12px; background: white; color: var(--ink); font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(181,161,106,.45); border-color: var(--gold); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; padding: 15px 0; border-top: 1px solid #d8d0bd; border-bottom: 1px solid #d8d0bd; font-size: .85rem; }
.total-row strong { color: var(--olive); font-size: 1.35rem; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { margin-bottom: 10px; color: var(--olive); font-weight: 600; font-size: .85rem; }
.payment-option { display: flex; align-items: flex-start; gap: 10px; margin: 9px 0; padding: 13px; border: 1px solid #d3cbb7; border-radius: 6px; cursor: pointer; }
.payment-option input { width: auto; margin-top: 3px; accent-color: var(--olive); }
.payment-option span { display: grid; gap: 4px; font-size: .83rem; }
.payment-option small { color: #747466; line-height: 1.4; }
.form-error { min-height: 1em; color: #a33125; font-size: .8rem; }
.privacy-note { color: #777667; text-align: center; font-size: .7rem; line-height: 1.5; }
@media (max-width: 700px) {
  .page-shell { padding: 14px; }
  .event-card { grid-template-columns: 1fr; }
  .poster-wrap { min-height: 0; max-height: 430px; }
  .poster-wrap img { max-height: 430px; object-fit: contain; }
  .event-copy { padding: 30px 24px; }
  .event-meta { flex-direction: column; gap: 8px; }
}
@media (max-width: 420px) {
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .dialog-header, #booking-form { padding-left: 19px; padding-right: 19px; }
}


.payment-section { margin: 8px 0 18px; }
.payment-section h3 { margin: 0 0 12px; color: var(--olive); font-size: .95rem; }
.payment-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-choice {
  min-height: 82px; padding: 13px 11px; border: 1px solid #c9bea2; border-radius: 7px;
  background: #fffdf7; color: var(--olive); text-align: left; cursor: pointer;
}
.payment-choice:hover, .payment-choice.active { border: 2px solid var(--olive); background: #efecdf; }
.choice-title, .choice-subtitle { display: block; }
.choice-title { font-weight: 700; font-size: .86rem; }
.choice-subtitle { margin-top: 5px; color: #737363; font-size: .69rem; line-height: 1.4; }
.eft-panel { margin-top: 14px; padding: 15px; border: 1px solid #d3cbb7; border-radius: 7px; background: #fffdf7; }
.eft-panel h4 { margin: 0 0 5px; color: var(--olive); }
.panel-help { margin: 0 0 12px; color: #747466; font-size: .75rem; line-height: 1.5; }
.bank-details { padding: 10px 12px; background: #f1eee4; border-radius: 5px; }
.bank-details p { display: flex; justify-content: space-between; gap: 12px; margin: 7px 0; font-size: .72rem; }
.bank-details span { color: #777667; }
.bank-details strong { text-align: right; color: var(--olive); overflow-wrap: anywhere; }
.upload-label { display: block; margin: 14px 0 7px; color: var(--olive); font-size: .78rem; font-weight: 600; }
#proof-file { padding: 10px; font-size: .75rem; background: white; }
.file-hint, .selected-file { display: block; margin-top: 6px; color: #777667; font-size: .68rem; }
.selected-file { color: var(--olive); overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .payment-buttons { grid-template-columns: 1fr; }
  .bank-details p { flex-direction: column; gap: 3px; }
  .bank-details strong { text-align: left; }
}


/* Refined compact booking form and elegant account-copy control */
.booking-dialog {
  width: min(90vw, 490px);
  max-height: 88vh;
}
.dialog-header {
  padding: 19px 22px 8px;
}
.dialog-header .eyebrow { font-size: .58rem; letter-spacing: .15em; }
.dialog-header h2 { font-size: 1.8rem; }
#booking-form { padding: 6px 22px 20px; }
.form-grid { gap: 10px 12px; }
.form-grid label { font-size: .70rem; gap: 5px; }
.form-grid input,
.form-grid select {
  padding: 9px 10px;
  font-size: .78rem;
  border-radius: 4px;
}
.total-row {
  margin: 14px 0;
  padding: 11px 0;
  font-size: .75rem;
}
.total-row strong { font-size: 1.12rem; }
.payment-section h3,
.eft-panel h3 { font-size: .82rem; margin-bottom: 9px; }
.payment-buttons { gap: 8px; }
.payment-choice { min-height: 68px; padding: 10px; }
.choice-title { font-size: .76rem; }
.choice-subtitle { font-size: .63rem; }
.eft-panel { padding: 12px; margin-top: 10px; }
.eft-panel h4 { font-size: .83rem; }
.panel-help { font-size: .68rem; margin-bottom: 9px; }
.bank-details { padding: 8px 10px; }
.bank-details p, .bank-row {
  font-size: .66rem;
  margin: 6px 0;
}
.upload-label { font-size: .70rem; }
.file-hint, .selected-file { font-size: .62rem; }
.submit-button { padding: 12px 16px; font-size: .66rem; }
.privacy-note { font-size: .62rem; }
.form-error { font-size: .70rem; }

.account-copy {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.copy-button {
  border: 1px solid #b5a16a;
  border-radius: 999px;
  padding: 5px 11px;
  background: #303321;
  color: #eee6d1;
  font-family: "DM Sans", sans-serif;
  font-size: .61rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.copy-button:hover {
  background: #4a4d35;
  transform: translateY(-1px);
}
.copy-button.copied {
  background: #b5a16a;
  color: #252719;
}
@media (max-width: 420px) {
  .booking-dialog { width: 94vw; }
  .dialog-header { padding: 16px 17px 6px; }
  #booking-form { padding: 6px 17px 17px; }
  .bank-row { gap: 8px; }
}
