/* ==========================================================================
   JoyZone booking form — the brand layer applied to the school-trip plugin
   --------------------------------------------------------------------------
   The booking plugin ships its own stylesheet (jz-styles.css, 2691 lines) and
   it is deployed separately, so nothing here edits it. Everything is scoped
   under `.jz-brand`, which gives every rule one more class of specificity than
   the plugin's own and lets it win a tie without a single !important.

   The reference is the party portal: the school form and a party booking are
   the same kind of task, so they must feel like the same product.

   Colour rules obeyed throughout, and measured rather than eyeballed:
     ink on yellow   12.10:1
     white on red     4.69:1
     ink on cyan      8.11:1
     white on cyan    2.01:1  <- never used, anywhere
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. The form is a stack of panels on the ground
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container {
  max-width: 1120px;
  margin-inline: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-inline: 16px;
}

.jz-brand .jz-form-step {
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  padding: 26px 22px;
  margin-block-end: 34px;                    /* the kit's gutter */
}

/* Panel titles take the display face and the ink. */
.jz-brand .jz-form-step > h3,
.jz-brand .jz-trip-form-title,
.jz-brand .jz-review-title,
.jz-brand .jz-cart-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--jz-ink);
}
[dir="rtl"] .jz-brand .jz-form-step > h3,
[dir="rtl"] .jz-brand .jz-trip-form-title,
[dir="rtl"] .jz-brand .jz-review-title,
[dir="rtl"] .jz-brand .jz-cart-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.32;
}

/* An image inside a panel is 15px: the panel's 18 minus its 3px keyline, so
   the two curves stay concentric. */
.jz-brand .jz-form-step img,
.jz-brand .jz-map-container {
  border-radius: 15px;
}

/* --------------------------------------------------------------------------
   2. The step markers — cyan medallions, ink numerals
   -------------------------------------------------------------------------- */

.jz-brand .jz-progress-bar {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 6vw, 64px);
  background: transparent;
  border: 0;
  margin-block-end: 26px;
}
.jz-brand .jz-progress-bar::before,
.jz-brand .jz-progress-bar::after {
  display: none;                             /* the plugin's connector line */
}

.jz-brand .jz-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--jz-muted);
}

.jz-brand .jz-progress-step .step-number,
.jz-brand .jz-progress-step > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2.5px solid var(--jz-line);
  border-radius: 22px;                       /* the kit's medallion radius */
  background: var(--jz-panel);
  color: var(--jz-ink);
  box-shadow: 0 3.5px 0 var(--jz-line);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.05rem;
  transition: background-color .18s var(--jz-ease),
              transform .18s var(--jz-ease),
              box-shadow .18s var(--jz-ease);
}

/* Where you are is chrome, so it is cyan — with ink on it, never white. */
.jz-brand .jz-progress-step.active .step-number,
.jz-brand .jz-progress-step.active > span:first-child {
  background: var(--jz-cyan);
  color: var(--jz-ink);
  transform: translateY(-3px);
  box-shadow: 0 6.5px 0 var(--jz-line);
}

/* A finished step is yellow: it is a value you already have. */
.jz-brand .jz-progress-step.completed .step-number,
.jz-brand .jz-progress-step.completed > span:first-child {
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
}

.jz-brand .jz-progress-step.active { color: var(--jz-ink); }

/* --------------------------------------------------------------------------
   3. Fields
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container .form-group input[type="text"],
.jz-brand .jz-booking-container .form-group input[type="tel"],
.jz-brand .jz-booking-container .form-group input[type="email"],
.jz-brand .jz-booking-container .form-group input[type="number"],
.jz-brand .jz-booking-container .form-group input[type="search"],
.jz-brand .jz-booking-container .form-group select,
.jz-brand .jz-booking-container .form-group textarea,
.jz-brand .jz-booking-form input[type="text"],
.jz-brand .jz-booking-form input[type="tel"],
.jz-brand .jz-booking-form input[type="email"],
.jz-brand .jz-booking-form input[type="number"],
.jz-brand .jz-booking-form input[type="search"],
.jz-brand .jz-booking-form select,
.jz-brand .jz-booking-form textarea {
  width: 100%;
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  border-radius: 12px;
  padding: .7rem .9rem;
  color: var(--jz-ink);
  box-shadow: 0 3.5px 0 var(--jz-hairline);
  /* The plugin already carries 1.36rem here, set deliberately after the form
     was found hard to read on a phone. This rule had "1rem" in it and quietly
     shrank every field back to 16px - a regression, not a decision. The size is
     restated rather than dropped so the number lives with the rest of the
     design, and it is above the 16px floor that stops iOS zooming on focus. */
  font-size: 1.35rem;
  line-height: 1.4;
  min-height: 52px;                          /* comfortably past the 44px floor */
  transition: box-shadow .18s var(--jz-ease);
}

/* A label is quieter than the answer it introduces. */
.jz-brand .jz-booking-form label,
.jz-brand .jz-booking-container .form-group label {
  font-size: 1.12rem;
  line-height: 1.5;
}

.jz-brand .jz-booking-form input:focus-visible,
.jz-brand .jz-booking-form select:focus-visible,
.jz-brand .jz-booking-form textarea:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2.5px var(--jz-cyan), 0 3.5px 0 var(--jz-line);
}

.jz-brand .jz-booking-form label {
  display: block;
  margin-block-end: 7px;
  font-weight: 600;
  color: var(--jz-ink);
}

/* A field the form is complaining about states it in the keyline, not with a
   coloured halo — the halo is the effect this design replaced. */
.jz-brand .jz-booking-form .jz-needs-attention,
.jz-brand .jz-booking-form input:invalid:not(:placeholder-shown) {
  border-color: var(--jz-red-deep);
  box-shadow: 0 3.5px 0 var(--jz-red-deep);
}

/* Digits in a number field come from Komika, in both locales. */
.jz-brand .jz-booking-form input[type="number"],
.jz-brand .jz-booking-form input[type="tel"] {
  font-family: "JZ Numerals", "Geist", system-ui, sans-serif;
}
[dir="rtl"] .jz-brand .jz-booking-form input[type="number"],
[dir="rtl"] .jz-brand .jz-booking-form input[type="tel"] {
  font-family: "JZ Numerals", "Cairo", system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   4. Buttons

   The plugin owns `.jz-btn` too. The brand layer loads after it, so the base
   is already the kit's; these rules only map the plugin's own modifiers onto
   the kit's three fills.
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container .jz-btn {
  min-height: 44px;
  padding-inline: 1.4rem;
}

/* Each of these also restates the cast. The plugin gives its buttons a blurred
   coloured glow (0 8px 18px rgba(60,189,205,.28)) from a three-class selector,
   and a glow is not a cast - it is the generic look this design replaced. So
   the fill and the cast are set together, or the fill changes and the glow
   stays. */
.jz-brand .jz-booking-container .jz-btn-primary,
.jz-brand .jz-booking-container .jz-btn-success {
  background: var(--jz-cyan);
  background-image: none;                    /* the plugin ships a gradient */
  color: var(--jz-ink);                      /* 8.11:1 — never white */
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}
.jz-brand .jz-booking-container .jz-btn-ghost {
  background: var(--jz-panel);
  background-image: none;
  color: var(--jz-ink);
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}
.jz-brand .jz-booking-container .jz-btn-danger,
.jz-brand .jz-booking-container .jz-btn-remove {
  background: var(--jz-red);
  background-image: none;
  color: var(--jz-red-ink);                  /* 4.69:1 */
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}

/* Hover: rise and let the cast grow with it. Same rule for all of them. */
@media (hover: hover) {
  .jz-brand .jz-booking-container .jz-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6.5px 0 var(--jz-line);
  }
}
.jz-brand .jz-booking-container .jz-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1.5px 0 var(--jz-line);
}

/* The three step buttons are addressed by id in the plugin, and an id outweighs
   any number of classes, so these have to answer with an id of their own. It is
   the alternative to !important, not a shortcut past specificity. */
.jz-brand .jz-booking-container #next-step,
.jz-brand .jz-booking-container #submit-booking {
  background: var(--jz-cyan);
  color: var(--jz-ink);                      /* 8.11:1 */
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}
.jz-brand .jz-booking-container #prev-step {
  background: var(--jz-panel);
  color: var(--jz-ink);
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}

/* "Add another trip" is a value action, so it is yellow. */
.jz-brand .jz-booking-container #jz-add-another,
.jz-brand .jz-booking-container #jz-step2-add-another {
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);               /* 12.10:1 */
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
}

.jz-brand .jz-booking-container .jz-btn:disabled,
.jz-brand .jz-booking-container .jz-btn[disabled] {
  background: #e8eced;
  color: #6b6465;                            /* 5.09:1 — dimmed, still read */
  box-shadow: 0 3.5px 0 var(--jz-hairline);
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   5. The calendar

   A yellow band for the month with a 3px rule beneath it, a quiet grid whose
   cells carry no border at all, and exactly one loud day: the one chosen.
   -------------------------------------------------------------------------- */

.jz-brand .jz-calendar-wrapper,
.jz-brand .jz-calendar-container {
  background: var(--jz-panel);
  border: 2px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 3px 0 var(--jz-line);         /* was 3px + 6px: read as a slab under the grid */
  overflow: hidden;                          /* keeps the band inside the radius */
  padding: 0;
}

.jz-brand .jz-month-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
  border-block-end: 2px solid var(--jz-line);
  margin: 0;
}

.jz-brand .month-year-display {
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--jz-yellow-ink);
}
[dir="rtl"] .jz-brand .month-year-display {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}

/* Three classes, because the plugin pins these to 38px from a three-class
   selector of its own and 38 is below the touch floor. */
.jz-brand .jz-month-navigation .month-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  box-shadow: 0 3.5px 0 var(--jz-line);
  cursor: pointer;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
.jz-brand .jz-month-navigation .month-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5.5px 0 var(--jz-line);
}

.jz-brand .jz-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 10px 10px 0;
}
.jz-brand .jz-weekday {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--jz-muted);                    /* 9.64:1 on white */
  text-transform: none;
}

.jz-brand .jz-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 6px 10px 12px;
}

/* The quiet grid: no cell border, no cast, nothing competing with the choice.
   40px, not 44px — seven columns cannot each be 44px wide at 320px. */
.jz-brand .jz-day {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  color: var(--jz-ink);
  font-family: "JZ Numerals", "Geist", system-ui, sans-serif;
  font-size: .95rem;
  transition: background-color .15s var(--jz-ease),
              transform .18s var(--jz-ease),
              box-shadow .18s var(--jz-ease);
}
[dir="rtl"] .jz-brand .jz-day {
  font-family: "JZ Numerals", "Cairo", system-ui, sans-serif;
}

.jz-brand .jz-day.empty { background: transparent; }

/* The whole cell carries its state, not a dot in the corner of it.

   The kit's quiet grid was tried first and it was wrong for this screen: a
   school scanning a month has to see what is open at a glance, and a 5px dot
   is not readable at arm's length. So the fill answers the question and the
   dot is gone. Each colour still does exactly one job:

     available   cyan   ink   8.11:1   what you may press
     limited     yellow ink  12.10:1   the number that matters - few places left
     unavailable grey        5.09:1    readable, but plainly not a choice
     selected    red    white 4.69:1   the one you chose

   Selected stays red and unavailable stays grey; making "unavailable" red as
   well would put the same colour on the day you picked and the days you
   cannot pick. */

.jz-brand .jz-day.selectable,
.jz-brand .jz-day.available {
  cursor: pointer;
  background: var(--jz-cyan);
  color: var(--jz-ink);
}

.jz-brand .jz-day.limited {
  cursor: pointer;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
}

@media (hover: hover) {
  .jz-brand .jz-day.selectable:hover,
  .jz-brand .jz-day.available:hover,
  .jz-brand .jz-day.limited:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 0 var(--jz-line);
    border-color: transparent;
  }
}

/* The plugin draws a small state dot on every cell. With the fill saying the
   same thing it is one signal too many. */
.jz-brand .jz-day.available::after,
.jz-brand .jz-day.limited::after,
.jz-brand .jz-day.unavailable::after { display: none; }

/* Unavailable is muted but READABLE. The plugin's own pairing was #cbd5e1 on
   #f1f5f9 — 1.36:1, which is a day you cannot read at all. This is 5.09:1. */
.jz-brand .jz-day.disabled,
.jz-brand .jz-day.unavailable,
.jz-brand .jz-day.category-restricted {
  background: #eef1f2;
  color: #6b6465;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

/* Today is a hint, not a choice: an inset keyline, no fill. */
.jz-brand .jz-day.today {
  box-shadow: inset 0 0 0 2.5px var(--jz-line);
}

/* The one loud day. Red is choice; white on red is 4.69:1. */
.jz-brand .jz-day.selected,
.jz-brand .jz-day.selectable.selected,
.jz-brand .jz-day.available.selected,
.jz-brand .jz-day.limited.selected {
  background: var(--jz-red);
  color: var(--jz-red-ink);
  border: 2.5px solid var(--jz-line);
  box-shadow: 0 3.5px 0 var(--jz-line);
  transform: translateY(-2px);
  font-weight: 700;
}
.jz-brand .jz-day.selected::after { background: var(--jz-red-ink); }

.jz-brand .jz-day:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2.5px var(--jz-cyan);
}

/* The legend shows the same four fills, as small squares rather than dots -
   a square reads as "this is the colour of the cell", which is now what it
   means. */
.jz-brand .jz-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 14px;
  font-size: .82rem;
  color: var(--jz-ink);
}
.jz-brand .jz-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.jz-brand .jz-legend-dot {
  width: 15px;
  height: 15px;
  border: 2px solid var(--jz-line);
  border-radius: 5px;
  flex-shrink: 0;
}
.jz-brand .jz-legend-dot.available   { background: var(--jz-cyan); }
.jz-brand .jz-legend-dot.limited     { background: var(--jz-yellow); }
.jz-brand .jz-legend-dot.unavailable { background: #eef1f2; }
.jz-brand .jz-legend-dot.selected    { background: var(--jz-red); }

/* --------------------------------------------------------------------------
   6. Choosing something — a branch, a category, a payment method

   The keyline thickens, the cast deepens, the card lifts. No coloured glow and
   no ring: that is the generic look this design replaced.
   -------------------------------------------------------------------------- */

.jz-brand .jz-choice,
.jz-brand .jz-pay-option,
.jz-brand .jz-branch-option {
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  background: var(--jz-panel);
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 14px;
  min-height: 44px;
  cursor: pointer;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease),
              border-width .18s var(--jz-ease);
}

.jz-brand .jz-choice.is-selected,
.jz-brand .jz-pay-option.is-selected,
.jz-brand .jz-branch-option.is-selected,
.jz-brand .jz-choice:has(input:checked),
.jz-brand .jz-pay-option:has(input:checked) {
  border-width: 4px;
  box-shadow: 0 8px 0 var(--jz-line);
  transform: translateY(-4px);
}

/* When a badge is wanted as well, it is a red disc with a white tick. Never a
   cyan disc — white on cyan is 2.01:1. */
.jz-brand .jz-choice.is-selected::before,
.jz-brand .jz-pay-option.is-selected::before {
  content: "✓";
  position: absolute;
  inset-block-start: -10px;
  inset-inline-end: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-red);
  color: var(--jz-red-ink);
  font-size: .8rem;
  line-height: 1;
}
.jz-brand .jz-choice,
.jz-brand .jz-pay-option { position: relative; }

/* --------------------------------------------------------------------------
   7. The cart, the trip list and the totals
   -------------------------------------------------------------------------- */

.jz-brand .jz-cart,
.jz-brand .jz-review-trip,
.jz-brand .jz-trip-form,
.jz-brand .jz-code-box {
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 16px;
  margin-block-end: 14px;
}

.jz-brand .jz-cart-count,
.jz-brand .jz-review-trip-num,
.jz-brand .jz-rt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 8px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-cyan);
  color: var(--jz-ink);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: .82rem;
}
[dir="rtl"] .jz-brand .jz-cart-count,
[dir="rtl"] .jz-brand .jz-review-trip-num,
[dir="rtl"] .jz-brand .jz-rt-badge {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}

/* Money is a number, so it takes the display face and Komika's digits. */
.jz-brand .jz-cart-row,
.jz-brand .jz-review-subtotal-row,
.jz-brand .jz-review-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  border-block-end: 1px solid var(--jz-hairline);
}
.jz-brand .jz-cart-row:last-child,
.jz-brand .jz-review-discount-row:last-child { border-block-end: 0; }

/* The grand total sits in a yellow keyline pill — value, 12.10:1. */
.jz-brand .jz-cart-row--grand,
.jz-brand .jz-review-grand {
  border-block-end: 0;
  margin-block-start: 10px;
}
.jz-brand .jz-cart-row--grand > :last-child,
.jz-brand .jz-review-grand > :last-child,
.jz-brand .jz-step2-totals .jz-grand-value {
  display: inline-flex;
  align-items: center;
  padding: .34rem .9rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
  box-shadow: 0 3.5px 0 var(--jz-line);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.05rem;
}
[dir="rtl"] .jz-brand .jz-cart-row--grand > :last-child,
[dir="rtl"] .jz-brand .jz-review-grand > :last-child,
[dir="rtl"] .jz-brand .jz-step2-totals .jz-grand-value {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}

/* A discount is money coming off, so it reads in the deep red — 6.31:1 on
   white, where the brand red would be 4.69:1 and marginal at this size. */
.jz-brand .jz-cart-row--discount,
.jz-brand .jz-review-discount,
.jz-brand .jz-review-discount-label { color: var(--jz-red-deep); }

/* --------------------------------------------------------------------------
   8. Messages and the OTP dialogue
   -------------------------------------------------------------------------- */

.jz-brand .jz-message {
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 12px 16px;
  background: var(--jz-panel);
  color: var(--jz-ink);
}
.jz-brand .jz-message.error,
.jz-brand .jz-message.jz-error { background: #fdecec; color: var(--jz-red-deep); }
.jz-brand .jz-message.success  { background: var(--jz-tint); color: var(--jz-ink); }

.jz-brand .jz-otp-modal__panel,
.jz-brand .jz-otp-modal > div {
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
}

.jz-brand .jz-otp-code {
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: .35em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Navigation between steps

   In Arabic the forward button sits on the LEFT and "previous" on the right,
   which is what `order` does here: the lowest order takes the start of the
   row, and the start is the right-hand side in RTL.
   -------------------------------------------------------------------------- */

.jz-brand .jz-form-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 22px;
}
.jz-brand .jz-form-navigation .jz-btn { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   10. Motion, stilled on request
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .jz-brand .jz-day,
  .jz-brand .jz-choice,
  .jz-brand .jz-pay-option,
  .jz-brand .month-nav-btn,
  .jz-brand .jz-progress-step .step-number {
    transition: none;
  }
  .jz-brand .jz-day.selectable:hover,
  .jz-brand .jz-day.available:hover,
  .jz-brand .jz-day.limited:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   11. Narrow screens — the real condition
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .jz-brand .jz-form-step { padding: 18px 14px; margin-block-end: 22px; }
  .jz-brand .jz-days-grid { gap: 3px; padding: 6px 6px 10px; }
  .jz-brand .jz-day { min-height: 40px; font-size: .88rem; border-radius: 9px; }
  .jz-brand .jz-progress-bar { gap: 14px; }
  .jz-brand .jz-progress-step .step-number,
  .jz-brand .jz-progress-step > span:first-child { width: 40px; height: 40px; }
  .jz-brand .jz-form-navigation { flex-wrap: wrap; }
  .jz-brand .jz-form-navigation .jz-btn { flex: 1 1 46%; }
}

/* --------------------------------------------------------------------------
   12. Payment method cards — stickers, not ringed boxes

   The plugin draws these as plain boxes and marks the chosen one with a cyan
   ring, which is the generic look this design replaced. Here each is a sticker:
   white, keylined, cast; the icon sits in a coloured disc; and choosing one
   thickens its keyline, deepens its cast and lifts it.
   -------------------------------------------------------------------------- */

.jz-brand .jz-pm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-block: 12px 8px;
}

.jz-brand .jz-pm-card {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

/* The radio is behind the card; :has lets the card answer to it without a line
   of JavaScript. */
.jz-brand .jz-pm-card > input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.jz-brand .jz-pm-card .jz-pm-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 96px;
  padding: 18px 18px 20px;
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line);
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease),
              border-width .18s var(--jz-ease);
}

@media (hover: hover) {
  .jz-brand .jz-pm-card:hover .jz-pm-card-inner {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--jz-line);
  }
}

/* Chosen: heavier edge, deeper cast, four pixels up. No glow and no ring. */
.jz-brand .jz-pm-card:has(input:checked) .jz-pm-card-inner {
  border-width: 4px;
  box-shadow: 0 10px 0 var(--jz-line);
  transform: translateY(-4px);
}

/* The icon disc. Cyan by default and yellow once chosen — chrome becoming
   value. Ink on both: 8.11:1 and 12.10:1. */
.jz-brand .jz-pm-card .jz-pm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-cyan);
  color: var(--jz-ink);
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color .18s var(--jz-ease);
}
.jz-brand .jz-pm-card:has(input:checked) .jz-pm-icon {
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
}

.jz-brand .jz-pm-card .jz-pm-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.jz-brand .jz-pm-card .jz-pm-text strong {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--jz-ink);
}
.jz-brand .jz-pm-card .jz-pm-text small {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--jz-muted);                    /* 9.64:1 on white */
}

/* The plugin's own tick. A red disc with a white check is 4.69:1; a cyan one
   with white would be 2.01:1, which is why it is never cyan. */
.jz-brand .jz-pm-card .jz-pm-check {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-end: -8px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-red);
  color: var(--jz-red-ink);
  box-shadow: 0 3px 0 var(--jz-line);
}
.jz-brand .jz-pm-card .jz-pm-check { display: none; }
.jz-brand .jz-pm-card .jz-pm-check::before {
  content: "✓";
  font-size: .86rem;
  line-height: 1;
}

.jz-brand .jz-pm-card > input:focus-visible + .jz-pm-card-inner {
  outline: 3px solid var(--jz-cyan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   13. The review step — school details

   The plugin lays these out as rows separated by hairlines with a lot of air
   between them, which on a phone reads as a list of orphaned words. Each pair
   becomes a labelled line inside one panel instead.
   -------------------------------------------------------------------------- */

.jz-brand .booking-summary,
.jz-brand .jz-review-section {
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 6px 16px;
  margin-block: 12px 18px;
}

.jz-brand .booking-summary > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  padding-block: 12px;
  border-block-end: 1px solid var(--jz-hairline);
  font-size: 1.02rem;
  line-height: 1.5;
}
.jz-brand .booking-summary > div:last-child { border-block-end: 0; }

/* Long values - an email, a school name - wrap instead of pushing the row
   sideways and forcing the page to scroll. */
.jz-brand .booking-summary > div { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   14. The confirmation page

   This page builds its own document with its own vocabulary (.jzps-*), so it
   is addressed by those names rather than the form's. The brand classes are on
   its <body> now, which is what puts the tokens in scope here at all.

   The plugin's own version leans on gradients and soft shadows: a teal
   gradient hero carrying white text at 2.36:1, a 50px blur under the card, a
   black totals bar. Each of those is the generic look the design replaced.
   -------------------------------------------------------------------------- */

.jz-brand .jzps-wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding: 24px 16px 40px;
}

.jz-brand .jzps-card {
  background: var(--jz-panel);
  border: 3px solid var(--jz-line);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  overflow: hidden;
}

/* A flat brand fill with a keyline under it, not a gradient. Cyan takes ink at
   8.11:1; white on it would be 2.01:1. */
.jz-brand .jzps-hero {
  background: var(--jz-cyan);
  background-image: none;
  color: var(--jz-ink);
  border-block-end: 3px solid var(--jz-line);
  padding: 34px 24px 28px;
  text-align: center;
}
.jz-brand .jzps-hero--pending { background: var(--jz-yellow); color: var(--jz-yellow-ink); }
.jz-brand .jzps-hero--failed  { background: var(--jz-red);    color: var(--jz-red-ink); }

.jz-brand .jzps-hero h1 {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.28;
  letter-spacing: .5px;
  color: inherit;
  margin: 8px 0;
}
[dir="rtl"] .jz-brand .jzps-hero h1 {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.32;
}
.jz-brand .jzps-hero p { color: inherit; opacity: .9; font-size: 1.02rem; }

/* The tick in the hero: a white disc with an edge, so it reads on any of the
   three fills. */
.jz-brand .jzps-check,
.jz-brand .jzps-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  box-shadow: 0 3.5px 0 var(--jz-line);
}
.jz-brand .jzps-badge { padding: 6px 14px; font-size: .88rem; }

/* The reference is the number that matters, so it gets the yellow pill every
   other total uses - 12.10:1, and no dashed border. */
.jz-brand .jzps-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  margin-block-end: 22px;
}
.jz-brand .jzps-ref-label { color: var(--jz-muted); font-weight: 600; font-size: .95rem; }
.jz-brand .jzps-ref-value {
  display: inline-flex;
  align-items: center;
  padding: .34rem .9rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
  box-shadow: 0 3.5px 0 var(--jz-line);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.15rem;
}
[dir="rtl"] .jz-brand .jzps-ref-value {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}

.jz-brand .jzps-section-title {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 1.28;
  color: var(--jz-ink);
}
[dir="rtl"] .jz-brand .jzps-section-title {
  font-family: "FF Hekaya", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.32;
}

.jz-brand .jzps-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-block: 11px;
  border-block-end: 1px solid var(--jz-hairline);
  overflow-wrap: anywhere;
}
.jz-brand .jzps-row:last-child { border-block-end: 0; }

.jz-brand .jzps-order-trip {
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 14px 16px;
  margin-block-end: 14px;
}
.jz-brand .jzps-order-trip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding-inline: 8px;
  border: 2.5px solid var(--jz-line);
  border-radius: 999px;
  background: var(--jz-cyan);
  color: var(--jz-ink);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: .85rem;
}

/* The total was a black bar with white text. It is the number that matters, so
   it is yellow with ink on it, like every other total in the system. */
.jz-brand .jzps-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
  border: 3px solid var(--jz-line);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--jz-line);
  padding: 16px 20px;
  margin-block-start: 24px;
}
.jz-brand .jzps-total span { color: inherit; opacity: .85; font-size: .95rem; }
.jz-brand .jzps-total strong {
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: 1.6rem;
}
[dir="rtl"] .jz-brand .jzps-total strong {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}

.jz-brand .jzps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 22px;
}
.jz-brand .jzps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  text-decoration: none;
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease);
}
[dir="rtl"] .jz-brand .jzps-btn {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}
.jz-brand .jzps-btn-primary {
  background: var(--jz-cyan);
  background-image: none;
  color: var(--jz-ink);
}
.jz-brand .jzps-btn-ghost,
.jz-brand .jzps-btn-support {
  background: var(--jz-panel);
  background-image: none;
  color: var(--jz-ink);
}
@media (hover: hover) {
  .jz-brand .jzps-btn:hover { transform: translateY(-3px); box-shadow: 0 6.5px 0 var(--jz-line); }
}
.jz-brand .jzps-btn:active { transform: translateY(2px); box-shadow: 0 1.5px 0 var(--jz-line); }

.jz-brand .jzps-note,
.jz-brand .jzps-fail-box {
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  padding: 14px 16px;
  background: var(--jz-tint);
  color: var(--jz-ink);
}
.jz-brand .jzps-fail-box { background: #fdecec; color: var(--jz-red-deep); }

/* Printing: the casts and fills are screen furniture and waste ink. */
@media print {
  .jz-brand .jzps-card,
  .jz-brand .jzps-ref,
  .jz-brand .jzps-total,
  .jz-brand .jzps-order-trip { box-shadow: none; }
  .jz-brand .jzps-hero { background: #fff; color: #000; }
}

@media (max-width: 480px) {
  .jz-brand .jz-pm-cards { grid-template-columns: 1fr; gap: 14px; }
  .jz-brand .jz-pm-card .jz-pm-card-inner { min-height: 84px; padding: 15px; }
}

/* --------------------------------------------------------------------------
   15. The confirmation page, at a readable size

   The plugin sets these in px against a 14-16px scale, which is fine on a
   desktop mock-up and small in the hand - and this is the page a school reads
   on a phone to check the date of its trip.
   -------------------------------------------------------------------------- */

.jz-brand .jzps-wrap { font-size: 1.06rem; line-height: 1.7; }

.jz-brand .jzps-row,
.jz-brand .jzps-row span,
.jz-brand .jzps-row strong,
.jz-brand .jzps-row b { font-size: 1.06rem; }

.jz-brand .jzps-section-title { font-size: 1.28rem; }
.jz-brand .jzps-ref-label     { font-size: 1.02rem; }
.jz-brand .jzps-ref-value     { font-size: 1.3rem; }
.jz-brand .jzps-total span    { font-size: 1.06rem; }
.jz-brand .jzps-total strong  { font-size: 1.75rem; }
.jz-brand .jzps-btn           { font-size: 1.06rem; }
.jz-brand .jzps-note,
.jz-brand .jzps-fail-box      { font-size: 1.02rem; }
.jz-brand .jzps-badge         { font-size: 1rem; }
.jz-brand .jzps-order-trip-meta { font-size: 1.02rem; }

/* The label half of each row is the quieter half, but still readable: muted on
   white is 9.64:1. */
.jz-brand .jzps-row > :first-child { color: var(--jz-muted); }
.jz-brand .jzps-row > :last-child  { font-weight: 600; }

@media (max-width: 480px) {
  .jz-brand .jzps-wrap { font-size: 1.02rem; }
  .jz-brand .jzps-total strong { font-size: 1.5rem; }
}

/* --------------------------------------------------------------------------
   16. The select's chevron

   The field rule in section 3 paints the panel colour with the `background`
   shorthand, and a shorthand resets background-image - so the plugin's
   chevron vanished and a select looked like a text box. With appearance:none
   still in force from the plugin, there was nothing left to say "this opens".
   The chevron is put back in the keyline colour, on the END side, and the
   list itself is set explicitly so no browser theme can make it unreadable.
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container .form-group select,
.jz-brand .jz-booking-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: right 14px center;
  padding-inline-end: 46px;
  cursor: pointer;
}
[dir="rtl"] .jz-brand .jz-booking-container .form-group select,
[dir="rtl"] .jz-brand .jz-booking-form select {
  background-position: left 14px center;
}
.jz-brand .jz-booking-form select option,
.jz-brand .jz-booking-container select option {
  color: var(--jz-ink);
  background: #fff;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   17. The cart and the review, one size up

   The plugin sets the trip rows at 12-13.5px, which is caption size next to
   fields set at 21px; on the review step the same person is asked to check a
   date and a price they can barely read. Everything in the cart, the review
   trips and the school-details panel moves up to body size or above, and the
   two small buttons reach the 44px touch floor.
   -------------------------------------------------------------------------- */

.jz-brand .jz-step2-trips__title { font-size: 1.22rem; }
.jz-brand .jz-step2-trips__count { font-size: .9rem; }
.jz-brand .jz-step2-add,
.jz-brand .jz-booking-container #jz-step2-add-another { font-size: 1.08rem; }

.jz-brand .jz-step2-trip { font-size: 1.06rem; padding-block: 14px; }
.jz-brand .jz-step2-trip__num { font-size: .9rem; }
.jz-brand .jz-step2-trip__branch { font-size: 1.22rem; line-height: 1.3; }
.jz-brand .jz-step2-trip__meta { font-size: 1.02rem; line-height: 1.6; }
.jz-brand .jz-step2-trip__price { font-size: 1.18rem; }
.jz-brand .jz-step2-trip__price .jz-cur { font-size: .85em; }
.jz-brand .jz-step2-trips__hint { font-size: .98rem; }

.jz-brand .jz-step2-mini,
.jz-brand .jz-booking-container .jz-mini,
.jz-brand .jz-review-trip-edit .jz-mini {
  min-height: 44px;
  padding: .5rem 1rem;
  font-size: 1.02rem;
}

.jz-brand .jz-step2-totals__row { font-size: 1.08rem; }
.jz-brand .jz-step2-totals__row--grand { font-size: 1.28rem; }

/* The review step: trip cards and the school-details rows. */
.jz-brand .jz-review-trip-branch { font-size: 1.22rem; }
.jz-brand .jz-rt-label { font-size: 1rem; }
.jz-brand .jz-rt-value { font-size: 1.14rem; }
.jz-brand .jz-rt-price-label { font-size: 1.02rem; }
.jz-brand .jz-rt-price strong { font-size: 1.2rem; }
.jz-brand .booking-summary > div { font-size: 1.16rem; line-height: 1.6; padding-block: 13px; }

/* --------------------------------------------------------------------------
   18. The confirmation page, set as a receipt

   The plugin lays the details out as a two-column grid of stacked pairs - a
   small grey label with the value under it - which in Arabic reads as two
   loose columns of orphaned words. A receipt is one column of lines: the
   label at the START edge, the value at the END edge, a hairline between
   lines. The whole thing mirrors on `dir`, so the English page gets the same
   shape the other way round.

   The tick in the hero was drawn in white on the white disc - invisible. It
   is drawn in ink now.
   -------------------------------------------------------------------------- */

.jz-brand .jzps-check svg { stroke: var(--jz-ink); }

.jz-brand .jzps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-block-end: 6px;
}

.jz-brand .jzps-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
  padding-block: 12px;
  border-block-end: 1px solid var(--jz-hairline);
}
.jz-brand .jzps-row > span:first-child {
  flex: 0 1 auto;
  margin: 0;
  color: var(--jz-muted);
  font-size: 1.18rem;
  text-align: start;
}
.jz-brand .jzps-row > strong {
  flex: 1 1 auto;
  margin: 0;
  color: var(--jz-ink);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: end;
  overflow-wrap: anywhere;
}
.jz-brand .jzps-row > strong .jzps-badge { margin: 0; }

/* Section names carry the yellow rule under them, like the cards on the home
   page, so the eye finds the four blocks at a glance. */
.jz-brand .jzps-section-title {
  margin-block: 26px 4px;
  padding-block-end: 8px;
  border-block-end: 3px solid var(--jz-yellow);
  text-align: start;
}
.jz-brand .jzps-section-title:first-of-type { margin-block-start: 18px; }

/* The reference line: label at the start, the pill at the end. */
.jz-brand .jzps-ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: start;
}

/* Two buttons, the primary at the START. On a phone they stack. */
.jz-brand .jzps-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 22px;
}
.jz-brand .jzps-cta .jzps-btn { flex: 1 1 220px; }
.jz-brand .jzps-cta .jzps-btn-primary { order: -1; }

/* The note reads in the writing direction, not centred. */
.jz-brand .jzps-note { text-align: start; }

@media (max-width: 560px) {
  .jz-brand .jzps-row { padding-block: 11px; }
  .jz-brand .jzps-row > strong { font-size: 1.18rem; }
  .jz-brand .jzps-row > span:first-child { font-size: 1.08rem; }
  .jz-brand .jzps-section-title { margin-block-start: 22px; }
}

/* One size up across the page - the whole thing was set at body size, and a
   school reads this on a phone in a car park. */
.jz-brand .jzps-wrap          { font-size: 1.16rem; }
.jz-brand .jzps-hero p        { font-size: 1.2rem; }
.jz-brand .jzps-section-title { font-size: 1.55rem; }
.jz-brand .jzps-ref-label     { font-size: 1.2rem; }
.jz-brand .jzps-ref-value     { font-size: 1.6rem; }
.jz-brand .jzps-badge         { font-size: 1.1rem; padding: 8px 18px; }
.jz-brand .jzps-note          { font-size: 1.16rem; line-height: 1.7; }
.jz-brand .jzps-btn           { font-size: 1.18rem; min-height: 56px; }
.jz-brand .jzps-total span    { font-size: 1.2rem; }
.jz-brand .jzps-total strong  { font-size: 2rem; }

@media print {
  .jz-brand .jzps-row { break-inside: avoid; }
}

/* The grid while the month's availability is still loading: dimmed and not
   clickable, so nobody picks a day the server is about to rule out. */
.jz-brand .jz-calendar-wrapper.is-loading .jz-day { opacity: .45; cursor: progress; }

/* --------------------------------------------------------------------------
   19. The chosen date — a proper header over the calendar

   "Select Date: / Sunday, September 20, 2026" was a flat tinted strip with
   the label and the value running into each other. It is now a panel of its
   own: a quiet label on the first line, the date in the display face on the
   second, the same keyline and cast as every other panel, and room around
   it so the calendar below starts on a clean edge.
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container .form-group > label[for="booking_date"] {
  margin-block-end: 10px;
}

.jz-brand .jz-booking-container .selected-date-display {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 15px;
  margin-block: 0 14px;
  background: var(--jz-tint);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 3.5px 0 var(--jz-line);
  color: var(--jz-ink);
  font-size: 1.32rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  opacity: 1;
}
[dir="rtl"] .jz-brand .jz-booking-container .selected-date-display {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
}
.jz-brand .jz-booking-container .selected-date-display::before {
  font-family: var(--jz-font);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--jz-muted);
  opacity: 1;
}
[dir="rtl"] .jz-brand .jz-booking-container .selected-date-display::before {
  font-family: var(--jz-font);
  text-transform: none;
  letter-spacing: 0;
}
/* Nothing chosen yet: the strip stays white and the text is the muted hint. */
.jz-brand .jz-booking-container .selected-date-display:not(.has-date) {
  background: var(--jz-panel);
  color: var(--jz-muted);
  font-family: var(--jz-font);
  font-size: 1.08rem;
  font-weight: 500;
}
[dir="rtl"] .jz-brand .jz-booking-container .selected-date-display:not(.has-date) {
  font-family: var(--jz-font);
}
/* Chosen: yellow, like every value the customer already holds. */
.jz-brand .jz-booking-container .selected-date-display.has-date {
  background: var(--jz-yellow);
  color: var(--jz-yellow-ink);
}
.jz-brand .jz-booking-container .selected-date-display.has-date::before { color: var(--jz-yellow-ink); opacity: .78; }

/* The calendar's frame then starts after a clear gap, and the legend sits
   in its own row under it rather than against the last week. */
.jz-brand .jz-calendar-wrapper { padding: 0; }
.jz-brand .jz-calendar-wrapper .jz-calendar-container { margin-block-start: 0; }
.jz-brand .jz-calendar-legend { margin-block-start: 14px; padding: 10px 14px; gap: 14px 18px; }
.jz-brand .jz-month-navigation { padding: 14px 16px; }

/* --------------------------------------------------------------------------
   20. Contact information — one family of fields

   School, supervisor, mobile and email were four inputs with four slightly
   different heights and no placeholders. They share one height, one radius,
   one keyline, one placeholder colour, one focus state, and one error state.
   -------------------------------------------------------------------------- */

.jz-brand #step-2 .form-group { margin-block-end: 18px; }
.jz-brand #step-2 .form-group label {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  margin-block-end: 8px;
}
.jz-brand #step-2 .form-group input[type="text"],
.jz-brand #step-2 .form-group input[type="tel"],
.jz-brand #step-2 .form-group input[type="email"] {
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  font-size: 1.22rem;
  border-radius: 14px;
  background: var(--jz-panel);
  border: 2.5px solid var(--jz-line);
  box-shadow: 0 3.5px 0 var(--jz-hairline);
  transition: box-shadow .18s var(--jz-ease), border-color .18s var(--jz-ease), background .18s var(--jz-ease);
}
.jz-brand #step-2 .form-group input::placeholder { color: var(--jz-muted); opacity: .55; font-weight: 400; }
.jz-brand #step-2 .form-group input:hover { box-shadow: 0 3.5px 0 var(--jz-line); }
.jz-brand #step-2 .form-group input:focus-visible {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--jz-cyan), 0 3.5px 0 var(--jz-line);
}
/* The mobile number and the email read left-to-right in both locales; the
   hint under the number is the format, set small and muted. */
.jz-brand #step-2 .form-group input[type="tel"],
.jz-brand #step-2 .form-group input[type="email"] { direction: ltr; text-align: left; }
.jz-brand #step-2 .form-group > small:not(.jz-field-error) {
  display: block;
  margin-block-start: 6px;
  font-size: .95rem;
  color: var(--jz-muted);
}

/* Errors, in the brand red on the field and under it. */
.jz-brand .jz-booking-container .jz-field-error {
  color: var(--jz-red-deep);
  font-family: var(--jz-font);
  font-weight: 600;
  font-size: 1rem;
}
[dir="rtl"] .jz-brand .jz-booking-container .jz-field-error { font-family: var(--jz-font); }
.jz-brand .jz-booking-container .form-group input.is-invalid,
.jz-brand .jz-booking-container .form-group select.is-invalid,
.jz-brand #step-2 .form-group input.is-invalid {
  border-color: var(--jz-red-deep);
  box-shadow: 0 3.5px 0 var(--jz-red-deep);
  background-color: #fff6f6;
}
.jz-brand .jz-booking-container .form-group.has-error label { color: var(--jz-red-deep); }
.jz-brand .jz-calendar-wrapper.has-error .jz-calendar-container {
  border-color: var(--jz-red-deep);
  box-shadow: 0 3px 0 var(--jz-red-deep);
}

/* --------------------------------------------------------------------------
   21. Edit and Remove — two clear pills

   The step-2 recap had them as 12px grey chips that read as labels, not
   controls. They are the kit's small pill: keyline, hard cast, a colour each
   — cyan to edit (chrome), white with red ink to remove — and they lift on
   hover like every other button on the site.
   -------------------------------------------------------------------------- */

.jz-brand .jz-step2-trip__actions,
.jz-brand .jz-trip-card-actions,
.jz-brand .jz-review-trip-edit { display: flex; gap: 8px; flex-wrap: wrap; }

.jz-brand .jz-step2-mini,
.jz-brand .jz-booking-container .jz-mini,
.jz-brand .jz-review-trip-edit .jz-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 2.5px solid var(--jz-line);
  border-radius: 9999px;
  background: var(--jz-panel);
  color: var(--jz-ink);
  box-shadow: 0 3px 0 var(--jz-line);
  font-family: "JZ Numerals", "Komika Axis", system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--jz-ease), box-shadow .18s var(--jz-ease), background .18s var(--jz-ease);
}
[dir="rtl"] .jz-brand .jz-step2-mini,
[dir="rtl"] .jz-brand .jz-booking-container .jz-mini,
[dir="rtl"] .jz-brand .jz-review-trip-edit .jz-mini {
  font-family: "JZ Numerals", "FF Hekaya", system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}
.jz-brand .jz-step2-edit,
.jz-brand .jz-booking-container .jz-mini-edit { background: var(--jz-cyan); }
.jz-brand .jz-step2-del,
.jz-brand .jz-booking-container .jz-mini-del { background: var(--jz-panel); color: var(--jz-red-deep); }
@media (hover: hover) {
  .jz-brand .jz-step2-mini:hover,
  .jz-brand .jz-booking-container .jz-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--jz-line);
    color: inherit;
  }
  .jz-brand .jz-step2-edit:hover,
  .jz-brand .jz-booking-container .jz-mini-edit:hover { background: var(--jz-cyan); color: var(--jz-ink); border-color: var(--jz-line); }
  .jz-brand .jz-step2-del:hover,
  .jz-brand .jz-booking-container .jz-mini-del:hover { background: #fdecec; color: var(--jz-red-deep); border-color: var(--jz-line); }
}
.jz-brand .jz-step2-mini:active,
.jz-brand .jz-booking-container .jz-mini:active { transform: translateY(1px); box-shadow: 0 1.5px 0 var(--jz-line); }
.jz-brand .jz-step2-mini:focus-visible,
.jz-brand .jz-booking-container .jz-mini:focus-visible { outline: none; box-shadow: inset 0 0 0 2.5px var(--jz-cyan), 0 3px 0 var(--jz-line); }

/* The recap row breathes: number, text, price, then the two pills on their
   own line on a phone. */
.jz-brand .jz-step2-trip { align-items: center; gap: 12px; }
@media (max-width: 640px) {
  .jz-brand .jz-step2-trip__actions { width: 100%; justify-content: flex-start; margin-block-start: 8px; }
  .jz-brand .jz-step2-mini { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   22. The toast, in brand
   -------------------------------------------------------------------------- */

.jz-brand .jz-booking-container .jz-message.jz-toast {
  background: #fdecec;
  color: var(--jz-ink);
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--jz-line), 0 18px 34px rgba(16, 42, 47, .22);
  padding: 14px 18px;
  font-size: 1.08rem;
}
.jz-brand .jz-booking-container .jz-message.jz-toast h3 {
  font-family: "Komika Axis", system-ui, sans-serif;
  font-size: .9rem;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--jz-red-deep);
  margin-block-end: 4px;
}
[dir="rtl"] .jz-brand .jz-booking-container .jz-message.jz-toast h3 {
  font-family: "FF Hekaya", system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

/* The trip panel's action strip is empty until a trip is being edited (Next
   commits the first trip), yet it kept its 52px and left a blank band under
   the legend. Gone while every button in it is hidden. */
.jz-brand .jz-booking-container .jz-add-actions:not(:has(> button:not([style*="none"]))) {
  display: none;
  min-height: 0;
  margin: 0;
}

/* The step-2 recap ("Your trips"), one size up again at the client's request
   (2026-09-15): the branch, the date · category · count line, the price and
   the total were still the smallest text on the step. */
.jz-brand .jz-step2-trips__title { font-size: 1.32rem; }
.jz-brand .jz-step2-trip__branch { font-size: 1.34rem; font-weight: 700; }
.jz-brand .jz-step2-trip__meta   { font-size: 1.14rem; line-height: 1.65; }
.jz-brand .jz-step2-trip__price  { font-size: 1.3rem; }
.jz-brand .jz-step2-trip__num    { width: 26px; height: 26px; font-size: 1rem; }
.jz-brand .jz-step2-totals__row  { font-size: 1.16rem; }
.jz-brand .jz-step2-totals__row--grand { font-size: 1.46rem; }
.jz-brand .jz-step2-totals__row--grand strong { font-size: 1.1em; }

/* The confirmation page's details, one size up at the client's request
   (2026-09-15): labels, values, section names and the note. */
.jz-brand .jzps-wrap                    { font-size: 1.24rem; }
.jz-brand .jzps-section-title           { font-size: 1.7rem; }
.jz-brand .jzps-row > span:first-child  { font-size: 1.24rem; }
.jz-brand .jzps-row > strong            { font-size: 1.42rem; }
.jz-brand .jzps-row                     { padding-block: 13px; }
.jz-brand .jzps-ref-value               { font-size: 1.8rem; }
.jz-brand .jzps-total strong            { font-size: 2.2rem; }
@media (max-width: 560px) {
  .jz-brand .jzps-row > span:first-child { font-size: 1.14rem; }
  .jz-brand .jzps-row > strong           { font-size: 1.28rem; }
}

/* --------------------------------------------------------------------------
   23. One frame, not frames inside frames (client request, 2026-09-15)

   The form is a white panel with the keyline; inside it the trip panel, the
   trip list, the recap, the review sections, the totals and the code box
   each drew their own keyline and cast - boxes in a box. Everything inside
   the outer panel is now open: no border, no cast, no fill. Only the
   controls keep an edge - inputs, selects, the calendar frame, the payment
   cards and the buttons - so what can be touched is what is outlined.
   -------------------------------------------------------------------------- */
.jz-brand .jz-booking-container .jz-trip-form,
.jz-brand .jz-booking-container .jz-cart,
.jz-brand .jz-booking-container .jz-cart-totals,
.jz-brand .jz-booking-container .jz-trip-card,
.jz-brand .jz-booking-container .jz-trip-card.is-editing,
.jz-brand .jz-booking-container .jz-trip-card-body,
.jz-brand .jz-booking-container #jz-cart-items,
.jz-brand .jz-booking-container .jz-step2-trips,
.jz-brand .jz-booking-container .jz-step2-totals,
.jz-brand .jz-booking-container .jz-review-section,
.jz-brand .jz-booking-container .jz-review-trip,
.jz-brand .jz-booking-container .jz-review-totals,
.jz-brand .jz-booking-container .jz-code-box,
.jz-brand .jz-booking-container .booking-summary,
.jz-brand .jz-booking-container .price-calculator,
.jz-brand .jz-booking-container .jz-otp-group,
.jz-brand .jz-booking-container .jz-policy-group {
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
/* Padding that only made sense inside a frame goes with it; the vertical
   rhythm is kept by the gaps between blocks. */
.jz-brand .jz-booking-container .jz-trip-form,
.jz-brand .jz-booking-container .jz-cart,
.jz-brand .jz-booking-container .jz-step2-trips,
.jz-brand .jz-booking-container .jz-review-section,
.jz-brand .jz-booking-container .jz-code-box { padding-inline: 0; }

/* Trips are separated by a hairline, not boxed. */
.jz-brand .jz-booking-container .jz-trip-card,
.jz-brand .jz-booking-container .jz-review-trip,
.jz-brand .jz-booking-container .jz-step2-trip {
  border-block-end: 1px solid var(--jz-hairline);
  padding-block: 14px;
  margin-block-end: 0;
}
.jz-brand .jz-booking-container .jz-trip-card:last-child,
.jz-brand .jz-booking-container .jz-review-trip:last-child,
.jz-brand .jz-booking-container .jz-step2-trip:last-child { border-block-end: 0; }
.jz-brand .jz-booking-container .jz-trip-card-head { background: transparent; box-shadow: none; border: 0; }
.jz-brand .jz-booking-container .jz-trip-card.is-editing { background: var(--jz-tint); border-radius: 12px; }

/* Panel and section headings keep their rule so the sections still read. */
.jz-brand .jz-booking-container .jz-trip-form-head,
.jz-brand .jz-booking-container .jz-step2-trips__head {
  border-block-end: 2px solid var(--jz-line);
  padding-block-end: 8px;
  margin-block-end: 14px;
}
/* The totals close with a rule above them instead of a box around them. */
.jz-brand .jz-booking-container .jz-cart-totals,
.jz-brand .jz-booking-container .jz-step2-totals,
.jz-brand .jz-booking-container .jz-review-totals {
  border-block-start: 2px solid var(--jz-line);
  padding: 12px 0 0;
  margin-block-start: 8px;
}
/* The grand-total pill stays: it is the value, not a frame. */

/* The plugin strips the step-1/step-3 Edit and Remove buttons with
   !important rules of its own ("no red anywhere"), so the pill from section
   21 has to be restated with the same weight to reach them. Same look as
   the step-2 pair. */
.jz-brand .jz-booking-container .jz-mini,
.jz-brand .jz-booking-container .jz-mini:hover,
.jz-brand .jz-booking-container .jz-mini:focus {
  border: 2.5px solid var(--jz-line) !important;
  border-radius: 9999px !important;
  box-shadow: 0 3px 0 var(--jz-line) !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  font-family: var(--jz-font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  background: var(--jz-panel) !important;
  color: var(--jz-ink) !important;
}
.jz-brand .jz-booking-container .jz-mini-edit,
.jz-brand .jz-booking-container .jz-mini-edit:hover { background: var(--jz-cyan) !important; color: var(--jz-ink) !important; }
.jz-brand .jz-booking-container .jz-mini-del,
.jz-brand .jz-booking-container .jz-mini-del:hover { background: var(--jz-panel) !important; color: var(--jz-red-deep) !important; }
.jz-brand .jz-booking-container .jz-mini:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--jz-line) !important; }
.jz-brand .jz-booking-container .jz-mini:active { transform: translateY(1px); box-shadow: 0 1.5px 0 var(--jz-line) !important; }

/* Payment brand marks (Apple Pay, mada, Visa, Mastercard) under the online
   option and beside the paid method on the confirmation: small, unframed,
   never stretched to the panel width like a photograph. */
.jz-brand .jz-booking-container .jz-pay-mark,
.jz-brand .jzps-wrap .jz-pay-mark {
  height: 18px !important;
  width: auto !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.jz-brand .jz-booking-container .jz-pay-mark--applepay,
.jz-brand .jzps-wrap .jz-pay-mark--applepay { height: 20px !important; }
.jz-brand .jz-booking-container .jz-pay-marks { gap: 10px; margin-top: 8px; }
.jz-brand .jzps-wrap .jzps-instrument { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   The day's capacity, in the brand

   The plugin now returns how many students another school has already booked
   on the chosen day, how many places are left and the branch capacity. The
   plugin's own panel is a grey box; here it becomes a card that belongs to
   the rest of the form, and the remaining-places badge on a part-booked day
   is set against the yellow that day already carries.
   ========================================================================== */

.jz-brand .jz-booking-container .availability-indicator {
  margin-top: 12px;
  padding: 12px 14px;
  border: 2.5px solid var(--jz-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 0 var(--jz-line);
  font-weight: 500;
}
[dir="rtl"] .jz-brand .jz-booking-container .availability-indicator { text-align: right; }

/* The state reads from a band down the leading edge, not from a fill: the
   figures inside have to stay readable at every state. */
.jz-brand .jz-booking-container .availability-indicator.available   { border-inline-start: 8px solid var(--jz-cyan); }
.jz-brand .jz-booking-container .availability-indicator.limited     { border-inline-start: 8px solid var(--jz-yellow); }
.jz-brand .jz-booking-container .availability-indicator.unavailable { border-inline-start: 8px solid var(--jz-red); }

.jz-brand .jz-booking-container .jz-cap-line { gap: 10px 24px; }

.jz-brand .jz-booking-container .jz-cap-cell strong {
  font-family: "JZ Numerals", "Geist", system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--jz-ink);
}
.jz-brand .jz-booking-container .jz-cap-cell > span {
  font-family: "Cairo", system-ui, sans-serif;
  font-size: .8rem;
  opacity: .7;
}
.jz-brand .jz-booking-container .jz-cap-cell.is-booked strong { color: #a34700; }
.jz-brand .jz-booking-container .jz-cap-cell.is-left strong   { color: #1b7a3e; }
.jz-brand .jz-booking-container .jz-cap-cell.is-full strong   { color: var(--jz-red); }

.jz-brand .jz-booking-container .jz-cap-note {
  font-family: "Cairo", system-ui, sans-serif;
  font-size: .85rem;
  line-height: 1.55;
  opacity: .9;
}

/* The badge on the day square: the number of places still free. The skin
   hides the plugin's ::after state dot, so this corner is empty. */
.jz-brand .jz-booking-container .jz-day-left {
  background: rgba(0, 0, 0, .14);
  color: var(--jz-yellow-ink);
  font-family: "JZ Numerals", "Geist", system-ui, sans-serif;
  font-size: 9.5px;
  padding: 1px 4px;
  border-radius: 7px;
}
.jz-brand .jz-booking-container .jz-day.selected .jz-day-left {
  background: rgba(255, 255, 255, .3);
  color: #fff;
}

/* The school's own request, in the capacity card. */
.jz-brand .jz-booking-container .jz-cap-cell.is-mine strong { color: #0f5c8c; }
