/* =============================================================================
   NWGA.CO.UK — Sitewide Stylesheet
   =============================================================================
   Sections:
   1.  CSS Variables & Reset
   2.  Global Styles
   3.  Header & Navigation
   4.  Footer
   5.  Filter Bar (Find a Class / Find a Camp)
   6.  Venue & Class Listing
   7.  Booking Steps Breadcrumb
   8.  Layout Utilities
   9.  Panels & Cards
  10.  Forms
  11.  Buttons
  12.  Type Badges
  13.  Booking Summary Sidebar
  14.  Child Panel (Book Class / Camp Details)
  15.  Camp Session Grid
  16.  Basket
  17.  Confirmation Page
  18.  Map
  19.  Responsive
   ============================================================================= */


/* 1. CSS Variables & Reset
   ============================================================================= */
:root {
  --orange:  #F78006;
  --blue:    #2c5a9a;
  --grey:    #76839a;
  --green:   #2e7d32;
  --amber:   #e65100;
  --red:     #c62828;
  --border:  #e9edf4;
  --dark:    #4a4a4a;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #f0f0f0;
  font-family: 'Lato', sans-serif;
  color: #333;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; }

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=date],
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 8px 12px;
  min-height: 2.6em;
  color: #575757;
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  border-radius: 8px;
}

input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; }


/* 2. Global Styles
   ============================================================================= */
.container { max-width: 1380px; margin: 0 auto; padding: 0 30px; }
.content-pad { padding: 2em 0 3em; }

.page-title {
  color: var(--orange);
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.page-subtitle { color: var(--grey); font-size: 0.9rem; margin-bottom: 1.75em; }

.success-alert,
.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 0.9em 1.1em;
  font-size: 0.88rem;
  color: #155724;
  margin-bottom: 1.25em;
}

.loading-state,
.empty-state { text-align: center; padding: 3em 1em; color: var(--grey); }
.empty-state h3 { font-family: 'Poppins', sans-serif; margin-bottom: 0.5em; color: #aaa; }


/* 3. Header & Navigation
   ============================================================================= */
.ga-header-main {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 30px;
  gap: 1.5em;
  flex-wrap: wrap;
  min-height: 80px;
}

.site-logo a { display: block; }

.header-centre {
  display: flex;
  align-items: center;
  gap: 0.75em;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.social-btn svg { width: 14px; height: 14px; fill: currentColor; }
.social-btn:hover { opacity: 0.85; text-decoration: none; }

.ga-nav {
  display: flex;
  align-items: center;
  gap: 1.25em;
  flex-wrap: wrap;
}
.ga-nav a {
  color: var(--grey);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.15s;
  text-decoration: none;
}
.ga-nav a:hover,
.ga-nav a.active { color: var(--orange); }

.ga-header-bar-bottom { height: 4px; background: var(--orange); }


/* 4. Footer
   ============================================================================= */
/* Footer styles live in the footer blade — add here if extracted */


/* 5. Filter Bar (Find a Class / Find a Camp)
   ============================================================================= */
.filter-bar {
  background: #4a4a4a;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.filter-bar-inner { max-width: 1380px; margin: 0 auto; padding: 0 30px; }
.filter-bar-title {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 0.75em;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.65em; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label {
  color: #bbb;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}
.filter-select {
  background: #5a5a5a;
  border: 1px solid #666;
  color: #fff;
  padding: 6px 28px 6px 10px;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  min-width: 110px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F78006' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  border-radius: 6px;
}
.filter-select:focus { outline: none; border-color: var(--orange); }

.filter-day-pills { display: flex; gap: 4px; }
.day-pill {
  background: #5a5a5a;
  border: 1px solid #666;
  color: #bbb;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
  border-radius: 999px;
}
.day-pill:hover { border-color: var(--orange); color: #fff; }
.day-pill.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.filter-postcode-wrap { display: flex; gap: 0; align-items: stretch; }
.filter-postcode-input {
  background: #5a5a5a !important;
  border: 1px solid #666 !important;
  border-right: none;
  color: #fff;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  width: 110px !important;
  outline: none;
  border-radius: 999px 0 0 999px !important;
}
.filter-postcode-input::placeholder { color: #999; }
.filter-postcode-input:focus { border-color: var(--orange); }
.filter-postcode-btn {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: 6px 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background .15s;
  border-radius: 0 999px 999px 0;
}
.filter-postcode-btn:hover { background: #d06a00; }

.filter-clear {
  background: none;
  border: 1px solid #666;
  color: #999;
  padding: 7px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  align-self: flex-end;
  transition: all 0.15s;
  border-radius: 999px;
}
.filter-clear:hover { border-color: #999; color: #ccc; }

.btn-map-view {
  background: none;
  border: 1px solid #666;
  color: #ccc;
  padding: 7px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  white-space: nowrap;
}
.btn-map-view:hover { border-color: var(--orange); color: var(--orange); }
.btn-map-view.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.postcode-active-pill {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  border: 1px solid var(--orange);
  color: #d06a00;
  font-size: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-end;
}
.postcode-active-pill.visible { display: flex; }
.postcode-active-pill button { background: none; border: none; color: #d06a00; cursor: pointer; font-size: 0.9rem; padding: 0; line-height: 1; }

.filter-results-count { color: #aaa; font-size: 0.8rem; align-self: flex-end; padding-bottom: 2px; }


/* 6. Venue & Class Listing
   ============================================================================= */
.results-wrapper { max-width: 1380px; margin: 0 auto; padding: 1.5em 30px 3em; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25em; flex-wrap: wrap; gap: 0.5em; }
.results-title { font-size: 1rem; color: var(--grey); font-family: 'Poppins', sans-serif; }

.venue-card { background: #fff; margin-bottom: 1em; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.venue-card.map-highlight { outline: 3px solid var(--orange); outline-offset: -1px; border-radius: 12px; box-shadow: 0 0 0 6px rgba(247,128,6,0.15); transition: box-shadow 0.2s, outline 0.2s; }
.venue-card.map-highlight .venue-header { background: var(--orange); }

.venue-header { display: flex; align-items: center; padding: 0.75em 1.1em; background: #4a4a4a; gap: 0.75em; flex-wrap: wrap; }
.venue-name-address { flex: 1; min-width: 0; }
.venue-name { font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 700; color: #fff; display: inline; }
.venue-address { font-size: 0.78rem; color: #fff; display: inline; }
.venue-address::before { content: ' — '; color: #fff; }
.venue-class-count,
.venue-camp-count {
  background: #5a5a5a;
  border: 1px solid #777;
  color: #bbb;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  white-space: nowrap;
  border-radius: 999px;
}

/* Class rows */
.class-row { display: flex; align-items: stretch; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; }
.class-row:last-child { border-bottom: none; }
.class-row:nth-child(odd) { background: #fafafa; }
.class-row:nth-child(even) { background: #fff; }
.class-row:hover { background: #fff8f0; }
.class-info { flex: 0 0 33%; min-width: 0; padding: 0.65em 1em; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.class-name { font-size: 0.85rem; font-weight: 700; color: #333; line-height: 1.3; }
.class-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.class-schedule { flex: 0 0 auto; width: 185px; padding: 0.65em 0.9em; display: flex; flex-direction: column; justify-content: center; gap: 3px; border-left: 1px solid #f0f0f0; }
.schedule-day-time { font-size: 0.83rem; font-weight: 700; color: #333; white-space: nowrap; }
.schedule-dates { font-size: 0.73rem; color: var(--grey); white-space: nowrap; }
.class-spaces { flex: 0 0 100px; padding: 0.65em 0.4em; display: flex; align-items: center; justify-content: center; border-left: 1px solid #f0f0f0; }
.spaces-pill { font-size: 0.7rem; font-family: 'Poppins', sans-serif; font-weight: 700; padding: 4px 9px; text-align: center; white-space: nowrap; border-radius: 999px; }
.spaces-good { background: #e8f5e9; color: var(--green); }
.spaces-low  { background: #fff8e1; color: var(--amber); }
.spaces-full { background: #ffebee; color: var(--red); }
.class-actions { flex: 1; padding: 0.6em 0.85em; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; border-left: 1px solid #f0f0f0; }

/* Camp rows */
.camp-row { display: flex; align-items: stretch; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; }
.camp-row:last-child { border-bottom: none; }
.camp-row:nth-child(odd) { background: #fafafa; }
.camp-row:nth-child(even) { background: #fff; }
.camp-row:hover { background: #fff8f0; }
.camp-info { flex: 0 0 30%; min-width: 0; padding: 0.75em 1em; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.camp-name { font-size: 0.9rem; font-weight: 700; color: #333; line-height: 1.3; }
.camp-dates { font-size: 0.78rem; color: var(--grey); margin-top: 3px; }
.camp-days-pill { display: inline-block; background: #f5f5f5; border: 1px solid #ddd; color: #555; font-size: 0.65rem; font-family: 'Poppins', sans-serif; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-top: 4px; }
.camp-sessions { flex: 1; padding: 0.75em 1em; display: flex; align-items: center; gap: 0.5em; flex-wrap: wrap; border-left: 1px solid #f0f0f0; }
.session-tag { display: flex; flex-direction: column; align-items: center; background: #f8f9fc; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; min-width: 90px; }
.session-tag-label { font-size: 0.7rem; font-weight: 700; font-family: 'Poppins', sans-serif; color: #555; text-transform: uppercase; }
.session-tag-time { font-size: 0.68rem; color: #aaa; margin-top: 1px; }
.session-tag-price { font-size: 0.85rem; font-weight: 700; color: var(--orange); font-family: 'Poppins', sans-serif; margin-top: 2px; }
.camp-actions { flex: 0 0 160px; padding: 0.75em 1em; display: flex; align-items: center; justify-content: flex-end; border-left: 1px solid #f0f0f0; }


/* 7. Booking Steps Breadcrumb
   ============================================================================= */
.booking-steps { background: #4a4a4a; padding: 0.75em 0; }
.booking-steps-inner { max-width: 1380px; margin: auto; display: flex; align-items: center; padding: 0 30px; }
.step { font-size: 0.78rem; font-family: 'Poppins', sans-serif; font-weight: 600; text-transform: uppercase; color: #888; padding: 0 1em; letter-spacing: 0.3px; }
.step.active { color: var(--orange); }
.step.done   { color: #aaa; }
.step-arrow  { color: #666; font-size: 0.75rem; }


/* 8. Layout Utilities
   ============================================================================= */
.form-row { display: flex; flex-wrap: wrap; gap: 2em; align-items: flex-start; }
.form-main { flex: 1 1 500px; }
.form-sidebar { flex: 0 0 300px; }
.form-inline-row { display: flex; gap: 1em; flex-wrap: wrap; }
.form-inline-row .form-group { flex: 1 1 140px; }


/* 9. Panels & Cards
   ============================================================================= */
.form-primary,
.panel,
.auth-gate,
.child-panel,
.confirm-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25em;
  border: 1px solid var(--border);
}
.form-primary h2,
.panel h2,
.auth-gate h2,
.child-panel-header,
.confirm-card h2 {
  background: #4a4a4a;
  padding: 0.7em 1.1em;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.panel-body,
.auth-gate-body,
.child-panel-body,
.confirm-body { padding: 1.1em; }


/* 10. Forms
   ============================================================================= */
.form-group { margin-bottom: 1em; }
.form-label { display: block; color: var(--orange); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.3em; }
.hint { font-size: 0.78rem; color: var(--grey); margin-top: 0.2em; }

.select-wrapper { position: relative; display: block; }
.select-wrapper::after {
  content: "▼";
  color: var(--orange);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.7rem;
}
.select-wrapper select { appearance: none; -webkit-appearance: none; padding-right: 2.2em; }

.toggle-row { display: flex; align-items: center; gap: 0.75em; margin-bottom: 0.5em; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #d0d0d0; border-radius: 999px; transition: 0.2s; }
.toggle-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.2s; }
.toggle input:checked + .toggle-slider { background: var(--orange); }
.toggle input:checked + .toggle-slider:before { transform: translateX(20px); }
.toggle-label { font-size: 0.88rem; color: #434343; }

.consent-box { background: #f8f9fa; border: 1px solid var(--border); border-radius: 8px; padding: 1em; margin-top: 0.5em; }
.consent-required { border-color: #f5c6cb; background: #fff5f5; }
.conditional-field { display: none; margin-top: 0.5em; }

.field-section { border-top: 1px solid #f0f0f0; margin-top: 0.5em; padding-top: 1em; }
.field-section-title { font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.85em; }


/* 11. Buttons
   ============================================================================= */
.btn {
  display: inline-block;
  padding: 9px 22px;
  color: #fff;
  background: var(--orange);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.4px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover:not(:disabled) { background: #d06a00; color: #fff; text-decoration: none; }
.btn:disabled { background: #ccc; cursor: not-allowed; }
.btn-continue,
.btn-checkout { display: block; width: 100%; text-align: center; padding: 12px; font-size: 0.9rem; margin-top: 1.25em; }
.btn-outline { background: #fff; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-ghost { background: none; color: var(--grey); border: 1px solid #ccc; padding: 9px 20px; }
.btn-ghost:hover { border-color: #aaa; color: #444; }
.btn-book { font-size: 0.78rem; }

.action-btn { font-size: 0.72rem; font-family: 'Poppins', sans-serif; font-weight: 600; padding: 6px 12px; border: none; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; transition: all 0.15s; border-radius: 999px; flex-shrink: 0; }
.action-btn-taster { background: #e3f2fd; color: #1565c0; }
.action-btn-taster:hover { background: #1565c0; color: #fff; }
.action-btn-trial  { background: #fff3e0; color: #bf360c; }
.action-btn-trial:hover  { background: #bf360c; color: #fff; }
.action-btn-term   { background: var(--orange); color: #fff; }
.action-btn-term:hover   { background: #d06a00; }
.action-btn-term-right { margin-left: auto; }
.action-btn-wait   { background: #f5f5f5; color: #777; border: 1px solid #ddd; }
.action-btn-wait:hover   { background: #555; color: #fff; border-color: #555; }

.auth-btns { display: flex; gap: 0.75em; flex-wrap: wrap; }
.auth-btn-primary  { background: var(--orange); color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.82rem; padding: 9px 20px; border-radius: 999px; text-transform: uppercase; }
.auth-btn-primary:hover  { background: #d06a00; }
.auth-btn-secondary { background: #fff; color: var(--orange); border: 2px solid var(--orange); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.82rem; padding: 7px 18px; border-radius: 999px; text-transform: uppercase; }
.auth-btn-secondary:hover { background: var(--orange); color: #fff; }

.remove-btn { background: none; border: none; color: var(--orange); font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; cursor: pointer; padding: 0; letter-spacing: 0.3px; display: flex; align-items: center; gap: 4px; margin-top: 0.4em; }
.remove-btn:hover { color: #d06a00; }


/* 12. Type & Status Badges
   ============================================================================= */
.badge { font-size: 0.62rem; font-family: 'Poppins', sans-serif; font-weight: 700; padding: 2px 7px; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; border-radius: 12px; }
.badge-term       { background: #e3f2fd; color: #1565c0; }
.badge-year       { background: #f3e5f5; color: #6a1b9a; }
.badge-school     { background: #fce4ec; color: #880e4f; }
.badge-open       { background: #e8f5e9; color: #1b5e20; }
.badge-invitation { background: #fff3cd; color: #664d03; }
.badge-category   { background: #f5f5f5; color: #555; border: 1px solid #ddd; }

.class-badge { display: inline-block; background: #4a4a4a; color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 0.75em; letter-spacing: 0.3px; vertical-align: middle; }

.type-badge { display: inline-block; font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 0.75em; margin-left: 6px; letter-spacing: 0.3px; vertical-align: middle; }
.type-taster   { background: #e3f2fd; color: #1565c0; }
.type-trial    { background: #fff3e0; color: #bf360c; }
.type-term     { background: #e8f5e9; color: #1b5e20; }
.type-waitlist { background: #f5f5f5; color: #666; border: 1px solid #ddd; }
.type-camp     { background: #fff3e0; color: #e65100; }


/* 13. Booking Summary Sidebar
   ============================================================================= */
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 1px solid #f0f0f0; }
.summary-row:last-child { border-bottom: none; margin-bottom: 0; }
.summary-label { color: var(--grey); }
.summary-value { font-weight: 700; color: #333; }
.summary-value.orange { color: var(--orange); }
.session-summary-item { font-size: 0.82rem; color: var(--grey); margin-bottom: 3px; }
.session-summary-item strong { color: #333; font-size: 0.82rem; }

.price-total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.75em; margin-top: 0.5em; border-top: 2px solid var(--orange); }
.price-total-label { font-weight: 700; color: var(--blue); font-family: 'Poppins', sans-serif; }
.price-total-value { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--orange); }


/* 14. Child Panel (Book Class / Camp Details)
   ============================================================================= */
.auth-user-note { background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px; padding: 0.75em 1em; font-size: 0.85rem; color: #2e7d32; margin-bottom: 1em; }
.auth-gate-body p { font-size: 0.9rem; color: var(--grey); margin-bottom: 1em; }

.existing-child-option { display: flex; align-items: center; gap: 0.75em; background: #f8f9fa; border: 2px solid var(--border); border-radius: 8px; padding: 0.75em 1em; margin-bottom: 0.5em; cursor: pointer; transition: all 0.15s; }
.existing-child-option:hover,
.existing-child-option.selected { border-color: var(--orange); background: #fff8f0; }
.existing-child-option.out-of-range { opacity: 0.6; border-style: dashed; }
.existing-child-option input[type=radio] { accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.existing-child-name { font-weight: 700; font-size: 0.9rem; color: #333; }
.existing-child-dob  { font-size: 0.78rem; color: var(--grey); }

.new-child-btn { display: block; width: 100%; text-align: left; background: none; border: 2px dashed #d0d0d0; border-radius: 8px; padding: 0.75em 1em; font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--orange); cursor: pointer; transition: all 0.15s; margin-top: 0.5em; }
.new-child-btn:hover { border-color: var(--orange); background: #fff8f0; }

.child-form-section { margin-top: 1em; border-top: 1px solid #f0f0f0; padding-top: 1em; }

.age-warning { background: #fff3cd; border: 1px solid #ffc107; padding: 0.55em 0.8em; font-size: 0.8rem; color: #856404; margin-top: 0.5em; border-radius: 6px; display: none; }
.age-warning.show { display: block; }


/* 15. Camp Session Grid
   ============================================================================= */
.grid-scroll { overflow-x: auto; padding: 1.1em 1.1em 0; }
.camp-grid { border-collapse: collapse; border: 1px solid #333; border-radius: 12px; overflow: hidden; }
.camp-grid td,
.camp-grid th { border: 1px solid #333; text-align: center; padding: 0; }

th.row-label { background: #4a4a4a; color: #fff; text-align: left; padding: 0 12px; min-width: 160px; width: 160px; height: 52px; font-family: 'Poppins', sans-serif; font-size: 0.82rem; }
th.row-label .label-sub { display: block; font-size: 0.63rem; font-weight: 400; opacity: 0.7; margin-top: 2px; font-family: 'Lato', sans-serif; }
th.date-hd { background: #f5f5f5; min-width: 56px; width: 56px; font-family: 'Poppins', sans-serif; font-size: 0.72rem; padding: 5px 4px; }
th.date-hd .day-name { display: block; color: var(--orange); font-size: 0.88rem; font-weight: 700; }
th.date-hd .day-date { display: block; color: var(--grey); font-size: 0.7rem; font-weight: 400; }
th.date-hd.day-closed { background: #e8e8e8; }
th.date-hd.day-closed .day-name { color: #aaa; }
.closed-label { display: block; font-size: 0.6rem; color: #e57373; font-weight: 700; text-transform: uppercase; margin-top: 2px; }
th.all-col-head { background: #8a8a8a; color: #fff; font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700; min-width: 52px; width: 52px; }

.cb-wrap { display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; height: 46px; width: 100%; user-select: none; margin: 0; }
.cb-wrap input { position: absolute; opacity: 0; cursor: pointer; width: 100%; height: 100%; top: 0; left: 0; margin: 0; }
.cb-mark { position: absolute; inset: 0; background: transparent; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--green); transition: background 0.12s; }
.cb-mark::after { content: '✓'; display: none; }
.cb-wrap:hover input:not(:disabled) ~ .cb-mark { background: rgba(176,196,222,0.35); }
.cb-wrap input:checked ~ .cb-mark { background: #e8f5e9; }
.cb-wrap input:checked ~ .cb-mark::after { display: block; }
.cb-wrap input:disabled ~ .cb-mark { background: rgba(0,0,0,0.05); cursor: not-allowed; }
.cb-wrap.cb-orange .cb-mark { color: var(--orange); }
.cb-wrap.cb-orange input:checked ~ .cb-mark { background: rgba(247,128,6,0.15); }

.cell-label { font-size: 0.58rem; font-weight: 700; color: #bbb; font-family: 'Poppins', sans-serif; text-transform: uppercase; }
.cell-label.is-full { color: #e57373; }
.cell-na { height: 46px; background: rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; color: #ccc; font-family: 'Poppins', sans-serif; text-transform: uppercase; }
.cell-day-closed { background: #f0f0f0; pointer-events: none; height: 46px; }

tr.row-all td,
tr.row-all th { background: #8a8a8a; padding: 0; height: 46px; }
tr.row-all th.row-label { font-size: 0.72rem; color: #ddd; font-weight: 600; }

.key-note { font-size: 0.78rem; color: var(--grey); padding: 0.6em 1.1em 1em; }


/* 16. Basket
   ============================================================================= */
.basket-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.basket-table th { text-align: right; padding: 0.85em 1.25em; font-family: 'Poppins', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.4px; border-bottom: 2px solid #f0f0f0; }
.basket-table th:first-child { text-align: left; }
.basket-table td { padding: 1em 1.25em; vertical-align: top; border-bottom: 1px solid #f0f0f0; font-size: 0.92rem; }
.basket-table td:not(:first-child) { text-align: right; }
.basket-table tr:last-child td { border-bottom: none; }

.item-name  { font-weight: 700; color: #333; font-size: 0.95rem; margin-bottom: 0.2em; }
.item-meta  { font-size: 0.78rem; color: var(--grey); }
.item-children { font-size: 0.78rem; color: #555; margin-top: 0.25em; }
.item-price { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--orange); font-size: 1rem; white-space: nowrap; }

.basket-totals { text-align: right; margin-top: 1.25em; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.75em; margin-top: 0.5em; border-top: 2px solid var(--orange); }
.total-label { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--blue); font-size: 1rem; }
.total-value { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--orange); font-size: 1.4rem; }

.basket-actions { display: flex; align-items: center; gap: 0.75em; margin-top: 2em; flex-wrap: wrap; }
.btn-separator { color: var(--grey); font-size: 0.88rem; }

.empty-basket { background: #fff; border-radius: 12px; padding: 3em; text-align: center; }
.empty-basket h3 { font-family: 'Poppins', sans-serif; color: #aaa; margin-bottom: 0.5em; }
.empty-basket p { color: var(--grey); margin-bottom: 1.5em; }


/* 17. Confirmation Page
   ============================================================================= */
.confirm-header { text-align: center; margin-bottom: 2.5em; }
.confirm-icon { width: 72px; height: 72px; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1em; font-size: 2rem; }
.confirm-title { font-family: 'Poppins', sans-serif; color: var(--orange); font-size: 1.8rem; font-weight: 700; margin-bottom: 0.25em; }
.confirm-ref { font-size: 0.88rem; color: var(--grey); }
.confirm-ref strong { color: #333; font-family: 'Poppins', sans-serif; }

.order-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 0.75em 0; border-bottom: 1px solid #f0f0f0; }
.order-item:last-child { border-bottom: none; }
.order-item-name { font-weight: 700; color: #333; font-size: 0.92rem; }
.order-item-meta { font-size: 0.78rem; color: var(--grey); margin-top: 3px; }
.order-item-price { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--orange); white-space: nowrap; }

.payment-notice { border-radius: 10px; padding: 1.1em 1.25em; font-size: 0.88rem; line-height: 1.7; }
.notice-vouchers { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }
.notice-bacs { background: #f8f9fa; border: 1px solid #dee2e6; color: #333; }
.notice-paid { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.bacs-detail { display: flex; justify-content: space-between; padding: 0.2em 0; }
.bacs-label { color: var(--grey); }
.bacs-value { font-weight: 700; }

.what-next { list-style: none; padding: 0; margin: 0; }
.what-next li { display: flex; gap: 0.75em; padding: 0.6em 0; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; }
.what-next li:last-child { border-bottom: none; }
.what-next .step-num { width: 24px; height: 24px; background: var(--orange); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem; flex-shrink: 0; }

.actions { display: flex; gap: 1em; justify-content: center; margin-top: 2em; flex-wrap: wrap; }


/* 18. Map
   ============================================================================= */
#mapView { display: none; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5em; position: relative; z-index: 0; }
#mapView.visible { display: block; }
#map { width: 100%; height: 480px; z-index: 0; }
.map-header { background: #4a4a4a; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; }
.map-header-title { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; }
.map-header-hint { color: #aaa; font-size: 0.78rem; }


/* 19. Responsive
   ============================================================================= */
@media (max-width: 900px) {
  .class-info { flex: 1 1 100%; }
  .class-schedule,
  .class-spaces { border-left: none; border-top: 1px solid #f0f0f0; }
  .class-actions { border-left: none; border-top: 1px solid #f0f0f0; flex: 1 1 100%; }
}
@media (max-width: 800px) {
  .form-sidebar { flex: 1 1 100%; order: -1; }
  .ga-header-main { padding: 0 15px; }
  .container { padding: 0 15px; }
  .booking-steps-inner { padding: 0 15px; }
  .filter-bar-inner { padding: 0 15px; }
  .results-wrapper { padding: 1em 15px 2em; }
}
@media (max-width: 700px) {
  .filter-row { flex-direction: column; align-items: flex-start; }
}


/* 20. Checkout
   ============================================================================= */
.checkout-grid { display:flex; gap:2em; flex-wrap:wrap; align-items:flex-start; }
.checkout-main { flex:1 1 560px; }
.checkout-sidebar { flex:0 0 300px; }

.section-card { background:#fff; border-radius:12px; overflow:hidden; margin-bottom:1.25em; }
.section-card h2 { background:#4a4a4a; padding:0.7em 1.1em; font-family:'Poppins',sans-serif; font-size:0.95rem; font-weight:700; color:#fff; margin:0; display:flex; justify-content:space-between; align-items:center; }
.section-card h2 label { font-size:0.78rem; font-weight:400; display:flex; align-items:center; gap:0.5em; cursor:pointer; color:#ccc; }
.section-card h2 label input[type=checkbox] { accent-color:var(--orange); width:14px; height:14px; }
.section-body { padding:1.25em; }

.form-label .req { color:var(--orange); }
.form-row-2 { display:flex; gap:1em; flex-wrap:wrap; }
.form-row-2 .form-group { flex:1 1 160px; }

.collector-fields { margin-top:1em; padding-top:1em; border-top:1px solid #f0f0f0; display:none; }
.collector-fields.visible { display:block; }

.declaration-box { background:#f8f9fa; border:2px solid var(--border); border-radius:8px; padding:0.9em 1.1em; margin-bottom:0.75em; display:flex; gap:0.75em; align-items:flex-start; cursor:pointer; }
.declaration-box:has(input:checked),
.declaration-box.checked { border-color:var(--orange); background:#fff8f0; }
.declaration-box input[type=checkbox] { accent-color:var(--orange); width:18px; height:18px; flex-shrink:0; margin-top:2px; }
.declaration-text { font-size:0.88rem; color:#333; line-height:1.5; }

/* Payment methods */
.payment-methods { display:flex; flex-direction:column; gap:0.75em; }
.payment-option { border:2px solid var(--border); border-radius:10px; overflow:hidden; transition:border-color 0.15s; }
.payment-option.selected { border-color:var(--orange); }
.payment-option-header { display:flex; align-items:center; gap:0.75em; padding:0.9em 1.1em; cursor:pointer; }
.payment-option-header input[type=radio] { accent-color:var(--orange); width:18px; height:18px; flex-shrink:0; }
.payment-option-title { font-family:'Poppins',sans-serif; font-weight:600; font-size:0.9rem; color:#333; }
.payment-option-sub { font-size:0.78rem; color:var(--grey); }
.payment-option-body { padding:0 1.1em 1.1em; display:none; border-top:1px solid #f0f0f0; }
.payment-option.selected .payment-option-body { display:block; }
#opayo-card-form { margin-top:0.75em; min-height:200px; }
.card-error { background:#fff5f5; border:1px solid #f5c6cb; border-radius:8px; padding:0.6em 0.9em; font-size:0.83rem; color:#c62828; display:none; margin-top:0.5em; }
.voucher-info { background:#e3f2fd; border:1px solid #90caf9; border-radius:8px; padding:0.9em; margin-top:0.75em; font-size:0.85rem; color:#1565c0; }
.bacs-info { background:#f8f9fa; border:1px solid #dee2e6; border-radius:8px; padding:1em; margin-top:0.75em; font-size:0.85rem; }
.bacs-info strong { color:#333; }
.bacs-detail { display:flex; justify-content:space-between; padding:0.25em 0; border-bottom:1px solid #f0f0f0; }
.bacs-detail:last-child { border-bottom:none; }

/* Checkout sidebar */
.summary-card { position:sticky; top:1.5em; }
.summary-card-inner { background:#fff; border-radius:12px; overflow:hidden; border:1px solid var(--border); }
.summary-card h3 { background:#4a4a4a; padding:0.7em 1.1em; font-family:'Poppins',sans-serif; font-size:0.9rem; font-weight:700; color:#fff; margin:0; }
.summary-body { padding:1.1em; }
.summary-item { margin-bottom:0.9em; padding-bottom:0.9em; border-bottom:1px solid #f0f0f0; }
.summary-item:last-child { border-bottom:none; margin-bottom:0; }
.summary-item-name { font-weight:700; font-size:0.88rem; color:#333; }
.summary-item-meta { font-size:0.75rem; color:var(--grey); margin-top:2px; }
.summary-item-price { font-family:'Poppins',sans-serif; font-weight:700; color:var(--orange); font-size:0.9rem; margin-top:4px; }
.summary-total { display:flex; justify-content:space-between; align-items:baseline; padding-top:0.75em; margin-top:0.5em; border-top:2px solid var(--orange); }
.summary-total-label { font-weight:700; color:var(--blue); font-size:0.95rem; }
.summary-total-value { font-family:'Poppins',sans-serif; font-weight:700; color:var(--orange); font-size:1.35rem; }

.btn-pay { display:block; width:100%; padding:13px; background:var(--orange); color:#fff; font-family:'Poppins',sans-serif; font-weight:700; font-size:1rem; border:none; cursor:pointer; border-radius:999px; transition:background 0.15s; margin-top:1.1em; }
.btn-pay:hover { background:#d06a00; }
.btn-pay:disabled { background:#ccc; cursor:not-allowed; }
.secure-note { text-align:center; font-size:0.72rem; color:var(--grey); margin-top:0.6em; }
.error-msg { background:#fff5f5; border:1px solid #f5c6cb; border-radius:8px; padding:0.75em 1em; font-size:0.85rem; color:#c62828; margin-bottom:1em; }

@media (max-width:800px) {
  .checkout-sidebar { flex:1 1 100%; order:-1; }
  .summary-card { position:static; }
}


/* Footer (from global-styles)
   ============================================================================= */
.ga-footer { background:#666;
  list-style:none; color:#fff; padding:50px 20px 20px; text-align:center; font-size:0.95rem; }
.ga-footer a { color:#fff; }
.ga-footer a:hover { color:var(--orange); }
.ga-row { display:flex; flex-wrap:wrap; max-width:1100px; margin:1.5em auto; }
.ga-row ul, .ga-footer ul { list-style:none; padding:0; margin:0; }
.ga-column { flex:25%; padding:10px 20px; }
.ga-column h4 { color:var(--orange); font-size:1rem; font-weight:400; margin-bottom:0.5em; }
.ga-column li { padding-bottom:6px; font-size:0.88rem; list-style:none; }
.ga-footer-full { font-size:0.8rem; color:#aaa; padding-top:2em; }
.ga-footer-logos { display:flex; justify-content:center; align-items:center; gap:40px; padding:20px 0; flex-wrap:wrap; }

@media (max-width:800px) { .ga-column { flex:50%; } }
@media (max-width:500px) { .ga-column { flex:100%; } .header-centre { display:none; } }


/* Auth (Login / Register)
   ============================================================================= */
.auth-wrap { max-width:460px; margin:3em auto; padding:0 1.5em 3em; }
.auth-card { background:#fff; border-radius:12px; padding:2em; }
.auth-card h1 { font-family:'Poppins',sans-serif; color:var(--orange); font-size:1.4rem; margin-bottom:0.25em; }
.auth-card p.sub { color:var(--grey); font-size:0.9rem; margin-bottom:1.5em; }
.auth-card label { display:block; font-weight:700; font-size:0.85rem; color:#444; margin-bottom:0.3em; }
.auth-card .form-group { margin-bottom:1.1em; }
.auth-card input[type=email],
.auth-card input[type=password],
.auth-card input[type=text],
.auth-card input[type=tel] { display:block; width:100%; border:1px solid #d0d0d0; background:#fff; padding:9px 12px; color:#575757; font-family:'Lato',sans-serif; font-size:0.92rem; border-radius:8px; box-sizing:border-box; }
.auth-card input:focus { border-color:var(--orange); outline:none; }
.auth-card .btn { display:block; width:100%; padding:11px; text-align:center; margin-top:1.5em; font-size:0.9rem; }
.error { background:#fff3cd; border:1px solid #ffc107; padding:0.6em 0.9em; border-radius:6px; font-size:0.83rem; color:#856404; margin-bottom:1em; }
.success { background:#d4edda; border:1px solid #c3e6cb; padding:0.6em 0.9em; border-radius:6px; font-size:0.83rem; color:#155724; margin-bottom:1em; }
.alt-link { text-align:center; margin-top:1.25em; font-size:0.85rem; color:var(--grey); }
.alt-link a { color:var(--orange); font-weight:700; }
