.evb-booking, .evb-cards { --evb-accent: #7f54b3; --evb-accent-soft: #f3eefa; --evb-free: #e7f6ec; --evb-partial: #fff4d6; --evb-full: #f3f3f3; --evb-border: #dcdcde; --evb-muted: #646970; --evb-radius: 10px; --evb-field-height: 46px; }
.evb-booking { max-width: 720px; display: grid; gap: 22px; font-size: 16px; line-height: 1.5; }
.evb-booking *, .evb-booking *::before, .evb-booking *::after { box-sizing: border-box; }
.evb-booking label { display: block; font-weight: 600; margin-bottom: 6px; }

/* Fields: inherit the theme's font so the form matches the page. */
.evb-booking select, .evb-booking input[type="text"], .evb-booking input[type="email"], .evb-booking input[type="tel"], .evb-booking input[type="number"], .evb-booking textarea { width: 100%; min-height: var(--evb-field-height); padding: 10px 12px; border: 1px solid var(--evb-border); border-radius: var(--evb-radius); background: #fff; color: inherit; font: inherit; font-size: 16px; line-height: 1.4; }
.evb-booking textarea { min-height: 96px; resize: vertical; }
.evb-booking select:focus-visible, .evb-booking input:focus-visible, .evb-booking textarea:focus-visible { outline: 2px solid var(--evb-accent); outline-offset: 1px; border-color: var(--evb-accent); }
.evb-booking fieldset { border: 1px solid var(--evb-border); border-radius: var(--evb-radius); padding: 14px 16px 16px; margin: 0; min-width: 0; }
.evb-booking legend { font-weight: 700; padding: 0 6px; }
.evb-field { margin-top: 14px; }
.evb-field small { color: var(--evb-muted); }

/* Calendar: compact day cells instead of large squares. */
.evb-calendar { border: 1px solid var(--evb-border); border-radius: var(--evb-radius); padding: 14px; background: #fff; }
.evb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.evb-cal-title { font-weight: 700; font-size: 17px; text-transform: capitalize; }
.evb-cal-nav { display: inline-grid; place-items: center; border: 1px solid var(--evb-border); background: #fff; color: inherit; border-radius: 8px; width: 38px; height: 38px; padding: 0; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.evb-cal-nav:hover:not([disabled]) { border-color: var(--evb-accent); color: var(--evb-accent); }
.evb-cal-nav[disabled] { opacity: .35; cursor: default; }
.evb-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.evb-cal-dow { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--evb-muted); padding: 2px 0 4px; }
.evb-day { position: relative; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: var(--evb-full); color: #8c8f94; font: inherit; font-size: 15px; font-weight: 600; cursor: default; transition: background-color .15s, border-color .15s, color .15s; }
.evb-day--free { background: var(--evb-free); color: #1d2327; cursor: pointer; }
.evb-day--partial { background: var(--evb-partial); color: #1d2327; cursor: pointer; }
.evb-day--free:hover, .evb-day--partial:hover { border-color: var(--evb-accent); }
.evb-day--full { text-decoration: line-through; font-weight: 400; }
.evb-day--unavailable { background: transparent; color: #c3c4c7; font-weight: 400; }
.evb-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.evb-day.is-selected { background: var(--evb-accent); border-color: var(--evb-accent); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.evb-day:focus-visible, .evb-cal-nav:focus-visible, .evb-button:focus-visible { outline: 2px solid var(--evb-accent); outline-offset: 2px; }
.evb-cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: #50575e; }
.evb-legend::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .08); }
.evb-legend--free::before { background: var(--evb-free); }
.evb-legend--partial::before { background: var(--evb-partial); }
.evb-legend--full::before { background: var(--evb-full); }

/* Sessions: selectable cards. */
.evb-sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.evb-sessions legend { grid-column: 1 / -1; }
.evb-choice { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 12px 14px; border: 1px solid var(--evb-border); border-radius: var(--evb-radius); font-weight: 500 !important; cursor: pointer; transition: border-color .15s, background-color .15s; }
.evb-choice:hover { border-color: var(--evb-accent); }
.evb-choice input { margin: 0; accent-color: var(--evb-accent); width: 18px; height: 18px; flex: none; }
.evb-choice:has(input:checked) { border-color: var(--evb-accent); background: var(--evb-accent-soft); box-shadow: inset 0 0 0 1px var(--evb-accent); }
.evb-choice:has(input:focus-visible) { outline: 2px solid var(--evb-accent); outline-offset: 2px; }
.evb-booking .evb-choice input:focus-visible { outline: none; } /* The card shows focus instead. */

/* Add-ons: tidy rows with the price aligned to the end. */
.evb-addon { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--evb-border); }
.evb-addon:last-child { border-bottom: 0; padding-bottom: 0; }
.evb-addon input[type="number"] { width: 76px; min-height: 40px; padding: 6px 8px; text-align: center; }
.evb-addon input[type="checkbox"] { width: 20px; height: 20px; margin: 0 28px; accent-color: var(--evb-accent); }
.evb-addon label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0; font-weight: 400; cursor: pointer; }
.evb-addon-desc { grid-column: 2; margin: 0; font-size: 14px; color: var(--evb-muted); }
.evb-price { color: #50575e; font-size: 14px; white-space: nowrap; }

/* Summary card. */
.evb-step--summary:not(:empty) { padding: 18px 20px; border-radius: var(--evb-radius); background: #f8f7fb; border: 1px solid #ebe6f3; }
.evb-step--summary h3 { margin: 0 0 8px; font-size: 18px; }
.evb-lines { width: 100%; border-collapse: collapse; }
.evb-lines td, .evb-lines th { padding: 8px 0; border-bottom: 1px solid #e4e0ec; text-align: left; font-weight: 400; }
.evb-amount { text-align: right !important; white-space: nowrap; padding-left: 12px !important; }
.evb-total th, .evb-total td { font-weight: 700; font-size: 18px; border-bottom: 0; padding-top: 12px; }
.evb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.evb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: var(--evb-radius); border: 1px solid var(--evb-accent); background: #fff; color: var(--evb-accent); font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.evb-button:hover { background: var(--evb-accent-soft); }
.evb-button--primary { background: var(--evb-accent); color: #fff; }
.evb-button--primary:hover { background: #6b4499; color: #fff; }
.evb-button[disabled] { opacity: .6; cursor: progress; }
.evb-note, .evb-hint { margin: 10px 0 0; font-size: 14px; color: #50575e; }
.evb-error:not(:empty) { padding: 10px 12px; border-left: 4px solid #d63638; border-radius: 6px; background: #fcf0f1; }
.evb-success { padding: 12px 14px; border-left: 4px solid #00a32a; border-radius: 6px; background: #edfaef; }
.evb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) {
	.evb-calendar { padding: 10px; }
	.evb-cal-grid { gap: 4px; }
	.evb-day { height: 38px; font-size: 14px; }
	.evb-addon input[type="checkbox"] { margin: 0 6px; }
	.evb-addon input[type="number"] { width: 64px; }
	.evb-actions .evb-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .evb-day, .evb-choice, .evb-button { transition: none; } }

/* Package cards. */
.evb-cards { display: grid; gap: 20px; grid-template-columns: repeat(var(--evb-cols, 3), minmax(0, 1fr)); }
.evb-cards--cols-1 { --evb-cols: 1; } .evb-cards--cols-2 { --evb-cols: 2; } .evb-cards--cols-3 { --evb-cols: 3; } .evb-cards--cols-4 { --evb-cols: 4; }
.evb-card { border: 1px solid #dcdcde; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.evb-card:hover { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.evb-card__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.evb-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.evb-card .evb-button { align-self: flex-start; margin-top: auto; text-decoration: none; }
.evb-card__title { margin: 0; font-size: 20px; }
.evb-card__from { margin: 0; font-weight: 700; }
.evb-card__meta { margin: 0 0 10px; color: var(--evb-muted); font-size: 14px; }
@media (max-width: 782px) { .evb-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .evb-card { transition: none; } .evb-card:hover { transform: none; } }
