/* Booking section shared by every event page: a heading and the booking calendar
   inside a ticket (pink stub, perforated line, notches cut out of both sides).

   Markup:
   <section class="evb" id="tickets">
     <div class="container">
       <div class="evb-head"><h2>Book your table</h2><p>One line of intro.</p></div>
       <div class="evb-ticket">
         <div class="evb-ticket-top"><span>Event name</span><span class="evb-from">from <b>€49.99</b></span></div>
         <div class="evb-ticket-body"><div class="gm-booking" data-event="slug"></div></div>
       </div>
     </div>
   </section>

   This section looks exactly the same on every event: Go Magaluf navy background, pink
   stub, site fonts. Event stylesheets must not override it. */

.evb {
  --evb-bg-1: #2e3570;          /* section background, top */
  --evb-bg-2: #161a3a;          /* section background, bottom */
  --evb-ink: var(--navy, #242a56);      /* calendar text and month buttons */
  --evb-step-bg: #e3edfb;       /* step number circles: a soft blue, so pink stays for buttons */
  --evb-step-ink: #2f6db5;
  --evb-notch: 64px;            /* height of the stub, where the notches sit */
  padding: clamp(64px, 9vw, 120px) 0;
  color: #fff;
  background: linear-gradient(180deg, var(--evb-bg-1) 0%, var(--evb-bg-2) 100%);
  scroll-margin-top: 70px;      /* clear of the sticky event menu */
}
.evb-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.evb-head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.06; color: #fff; margin: 0 0 10px; }
.evb-head p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .85); margin: 0; }

/* drop-shadow on a wrapper, because the mask on the ticket would clip a box-shadow */
.evb-ticket-wrap { max-width: 620px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(5, 0, 15, .45)); }
.evb-ticket {
  background: #fff; color: var(--evb-ink); border-radius: 20px;
  -webkit-mask: radial-gradient(circle 14px at 0 var(--evb-notch), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 14px at 100% var(--evb-notch), transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 var(--evb-notch), transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 14px at 100% var(--evb-notch), transparent 98%, #000) right / 51% 100% no-repeat;
}
.evb-ticket-top {
  position: relative; height: var(--evb-notch); padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-radius: 20px 20px 0 0; background: var(--pink, #e52665); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1;
}
.evb-ticket-top::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1.5px; border-bottom: 3px dashed #e7e2ef; }
.evb-from { font-family: var(--font-body); font-size: 14px; font-weight: 500; white-space: nowrap; }
.evb-from b { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-left: 4px; vertical-align: -2px; }
.evb-ticket-body { padding: 24px 26px 26px; min-height: 380px; }

/* The booking widget inside the ticket */
.evb .gmb { --gmb-navy: var(--evb-ink); --gmb-scroll-offset: 84px; }  /* clear of the sticky event menu */
/* Steps: each heading gets a number (counted automatically, so an extra "choose a time"
   step slots in), and a divider line separates one step from the next. */
.evb .gmb { counter-reset: evb-step; }
.evb .gmb-title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--evb-ink);
  counter-increment: evb-step;
}
.evb .gmb-title::before {
  content: counter(evb-step); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--evb-step-bg); color: var(--evb-step-ink); font-size: 14px; font-weight: 700;
}
.evb .gmb-date { text-align: center; font-size: 15px; color: var(--evb-ink); background: var(--gmb-soft, #f5f6fa); border-radius: 999px; padding: 8px 14px; margin: 0 auto 4px; width: fit-content; max-width: 100%; }
.evb .gmb-step + .gmb-step { margin-top: 26px; padding-top: 26px; border-top: 1px solid #e9e4f0; }
.evb .gmb-step-options, .evb .gmb-step-guests, .evb .gmb-step-pay { margin-top: 26px; padding-top: 26px; border-top: 1px solid #e9e4f0; }
/* The chosen date sits on the divider above the tickets, so the tickets don't need a second line. */
.evb .gmb-step-day > .gmb-step-options { margin-top: 18px; padding-top: 0; border-top: 0; }
.evb .gmb-month small { display: none; }          /* the price is on the stub instead */
.evb .gmb-month b { font-size: 18px; }
.evb .gmb-cal-head { margin-bottom: 12px; }
.evb .gmb-nav {
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--evb-ink); color: #fff; font-size: 26px; line-height: 1; padding-bottom: 3px;
  box-shadow: 0 4px 12px rgba(20, 10, 40, .2); transition: background .15s ease, transform .15s ease;
}
.evb .gmb-nav:hover:not(:disabled) { background: var(--pink, #e52665); transform: scale(1.06); }
.evb .gmb-nav:disabled { background: #eceef4; color: #b9bccb; box-shadow: none; opacity: 1; cursor: default; }

@media (max-width: 760px) {
  .evb-ticket-top { padding: 0 18px; font-size: 16px; }
  .evb-from b { font-size: 21px; }
  .evb-ticket-body { padding: 18px 16px 20px; }
}

/* ---------- Side-by-side layout (Option A, chosen 2026-11-15) ----------
   Light background. "What's included" in a white card on the left, the calendar in a
   white card with the pink "<Event> Tickets · from €X" bar on the right. On phones the
   calendar comes first.

   <section class="evb evb-light" id="tickets">
     <div class="container">
       <div class="evb-head"><h2>Book your tickets</h2><p>…</p></div>
       <div class="evb-grid">
         <div class="evb-side"><div class="evb-inc"><h3>What's included</h3><ul><li><b>Title</b><span>One line</span></li>…</ul></div>
         <div class="evb-card">
           <div class="evb-card-top"><span>Event Tickets</span><span class="evb-from">from <b>€X</b></span></div>
           <div class="evb-card-body"><div class="gm-booking" data-event="slug"></div></div>
         </div>
       </div>
     </div>
   </section> */
.evb.evb-light { background: #f4f5fa; color: var(--navy, #242a56); }
.evb-light .evb-head h2 { color: var(--navy, #242a56); }
.evb-light .evb-head p { color: #5b6078; }
.evb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 36px; align-items: start; max-width: 1080px; margin: 0 auto; }
.evb-inc { background: #fff; border-radius: 20px; padding: 30px 30px 26px; box-shadow: 0 14px 34px rgba(20, 24, 60, .07); }
.evb-inc h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin: 0 0 18px; color: var(--navy, #242a56); }
.evb-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.evb-inc li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; font-size: 15.5px; line-height: 1.45; }
.evb-inc li::before { content: "✓"; grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green, #5cb815); color: #fff; font-weight: 700; font-size: 12px; }
.evb-inc li b { font-weight: 700; }
.evb-inc li span { color: #646a85; font-size: 14.5px; }
.evb-inc li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Left column: what's included, then the GroupPay card */
.evb-side { display: grid; gap: 20px; }
.evb-gp { background: #fff; border-radius: 20px; padding: 28px 30px 30px; box-shadow: 0 14px 34px rgba(20, 24, 60, .07); }
.evb-gp img { display: block; width: auto; height: 54px; margin: 0 0 18px; }
.evb-gp h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.25; margin: 0 0 8px; color: var(--navy, #242a56); }
.evb-gp p { font-size: 15px; line-height: 1.6; color: #5b6078; margin: 0 0 20px; }
.evb-card { background: #fff; color: var(--evb-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px rgba(20, 24, 60, .14); }
.evb-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 64px; padding: 0 26px; background: var(--pink, #e52665); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1; }
.evb-card-body { padding: 24px 26px 26px; min-height: 380px; }
@media (max-width: 960px) {
  .evb-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .evb-side { order: 2; }
}
@media (max-width: 760px) {
  .evb-card-top { padding: 0 18px; font-size: 16px; }
  .evb-card-body { padding: 18px 16px 20px; }
  .evb-inc { padding: 24px 20px 20px; }
  .evb-gp { padding: 24px 20px; }
}

/* ---------- Widget spacing (2026-11-16) ----------
   One rhythm through the steps: a clear gap and divider between steps, the time chips as an
   even row of buttons, roomier ticket and guest rows, and padding inside the total. */
.evb .gmb-step + .gmb-step,
.evb .gmb-step-options, .evb .gmb-step-guests, .evb .gmb-step-pay { margin-top: 34px; padding-top: 32px; }
.evb .gmb-title { margin-bottom: 20px; }
.evb .gmb-date { margin: 8px auto 0; }
.evb .gmb-step-day > .gmb-step-options { margin-top: 32px; }
.evb .gmb-date + .gmb-title { margin-top: 30px; }  /* "Choose a time" right under the chosen date */
.evb .gmb-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; }
.evb .gmb-chip { padding: 13px 8px; border-radius: 12px; text-align: center; font-size: 15px; font-weight: 600; }
.evb .gmb-options { gap: 12px; }
.evb .gmb-option { align-items: flex-start; padding: 18px 20px; border-radius: 14px; }
.evb .gmb-opt-main small { margin-top: 6px; font-size: 14px; line-height: 1.55; }
.evb .gmb-opt-side { padding-top: 1px; }
.evb .gmb-guests { gap: 10px; }
.evb .gmb-guest { padding: 14px 14px 14px 18px; border: 1px solid #e3e5ee; border-radius: 14px; }
.evb .gmb-stepper { gap: 8px; }
.evb .gmb-stepper button { width: 40px; height: 40px; }
.evb .gmb-summary { margin-top: 20px; padding: 20px 20px 18px; border-radius: 14px; }
.evb .gmb-recap { gap: 8px; padding-bottom: 14px; margin-bottom: 14px; }
.evb .gmb-actions { gap: 10px; margin-top: 16px; }
.evb .gmb-btn { padding: 13px 14px; border-radius: 12px; }
@media (max-width: 760px) {
  .evb .gmb-step + .gmb-step,
  .evb .gmb-step-options, .evb .gmb-step-guests, .evb .gmb-step-pay { margin-top: 28px; padding-top: 26px; }
  .evb .gmb-option { padding: 16px; }
  .evb .gmb-summary { padding: 18px 16px 16px; }
}
@media (max-width: 560px) {
  /* tickets: name, description, then the price underneath, so the description gets the full width */
  .evb .gmb-option { flex-direction: column; gap: 8px; }
  .evb .gmb-opt-side { text-align: left; }
}
