/* WP EasyCart PRO: the booking picker ( 6.0.8 ). Colours follow the store's ( --wpec-main-color ), sizes are px so a theme's root size
   leaves them alone; every target is at least 40px. */
.wpec-bk{ --wpec-bk-accent:var( --wpec-main-color, #222222 ); --wpec-bk-line:var( --wpec-border-color, #d9d9d9 ); --wpec-bk-radius:var( --wpec-radius-control, 8px ); margin:0 0 16px; font-size:15px; line-height:1.4; color:inherit; }
.wpec-bk-body{ display:flex; flex-direction:column; gap:18px; }
.wpec-bk-part{ margin:0; padding:0; border:0; min-width:0; }
.wpec-bk-title, .wpec-bk legend.wpec-bk-title{ display:block; margin:0 0 8px; padding:0; font-size:15px; font-weight:600; }
.wpec-bk-length select, .wpec-bk-resource select{ min-height:44px; width:100%; max-width:320px; padding:8px 12px; font-size:15px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fff; color:#222; }

.wpec-bk-month{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 8px; }
.wpec-bk-month-name{ font-weight:600; }
.wpec-bk button.wpec-bk-nav{ width:40px; height:40px; padding:0; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fff; color:#222; font-size:20px; line-height:1; cursor:pointer; }
.wpec-bk button.wpec-bk-nav:disabled{ opacity:.35; cursor:default; }
.wpec-bk-grid{ display:flex; flex-direction:column; gap:4px; }
.wpec-bk-row{ display:grid; grid-template-columns:repeat( 7, minmax( 0, 1fr ) ); gap:4px; }
.wpec-bk-head{ text-align:center; font-size:12px; font-weight:600; color:#666; text-transform:none; padding:4px 0; }
.wpec-bk-cell{ display:block; min-width:0; }
.wpec-bk button.wpec-bk-day{ display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; min-height:44px; padding:4px 2px; margin:0; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fff; color:#222; font-size:15px; font-weight:500; line-height:1.15; cursor:pointer; text-transform:none; letter-spacing:0; }
.wpec-bk button.wpec-bk-day:hover{ border-color:var( --wpec-bk-accent ); background:#fff; color:#222; }
.wpec-bk-day-p{ font-size:11px; color:#555; margin-top:2px; }
.wpec-bk button.wpec-bk-day.is-few::after{ content:""; display:block; width:5px; height:5px; margin-top:3px; border-radius:50%; background:#b45309; }
.wpec-bk button.wpec-bk-day[aria-disabled="true"]{ background:#f4f4f4; color:#9a9a9a; border-color:transparent; cursor:default; }
.wpec-bk button.wpec-bk-day.is-full[aria-disabled="true"] .wpec-bk-day-n{ text-decoration:line-through; }
.wpec-bk button.wpec-bk-day.is-range{ background:color-mix( in srgb, var( --wpec-bk-accent ) 12%, #fff ); border-color:transparent; color:#222; }
.wpec-bk button.wpec-bk-day.is-chosen, .wpec-bk button.wpec-bk-day.is-chosen:hover{ background:var( --wpec-bk-accent ); border-color:var( --wpec-bk-accent ); color:#fff; }
.wpec-bk button.wpec-bk-day.is-chosen .wpec-bk-day-p{ color:#fff; }
.wpec-bk button.wpec-bk-day:focus-visible, .wpec-bk button.wpec-bk-slot:focus-visible, .wpec-bk button.wpec-bk-nav:focus-visible, .wpec-bk-stepper button:focus-visible{ outline:2px solid var( --wpec-bk-accent ); outline-offset:2px; }

.wpec-bk-slot-list{ display:flex; flex-wrap:wrap; gap:8px; }
.wpec-bk button.wpec-bk-slot{ display:inline-flex; flex-direction:column; align-items:flex-start; justify-content:center; min-height:44px; min-width:96px; padding:6px 14px; margin:0; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fff; color:#222; font-size:15px; font-weight:500; line-height:1.2; cursor:pointer; text-align:left; text-transform:none; letter-spacing:0; }
.wpec-bk button.wpec-bk-slot:hover{ border-color:var( --wpec-bk-accent ); background:#fff; color:#222; }
.wpec-bk-slot-note{ font-size:12px; color:#555; font-weight:400; }
.wpec-bk button.wpec-bk-slot[aria-checked="true"], .wpec-bk button.wpec-bk-slot[aria-checked="true"]:hover{ background:var( --wpec-bk-accent ); border-color:var( --wpec-bk-accent ); color:#fff; }
.wpec-bk button.wpec-bk-slot[aria-checked="true"] .wpec-bk-slot-note{ color:#fff; }
.wpec-bk button.wpec-bk-slot[aria-disabled="true"]{ background:#f4f4f4; color:#9a9a9a; border-color:transparent; cursor:default; }
.wpec-bk-empty, .wpec-bk-loading{ margin:0; color:#555; }

.wpec-bk-count{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; padding:8px 0; border-top:1px solid var( --wpec-bk-line ); }
.wpec-bk-count:first-of-type{ border-top:0; }
.wpec-bk-count-name{ font-weight:500; }
.wpec-bk-people.is-single .wpec-bk-count-name{ font-size:15px; font-weight:600; } /* places or units alone: the stepper's label is the part's title */
.wpec-bk-count-price{ color:#555; font-weight:400; }
.wpec-bk-count-note{ flex-basis:100%; order:3; font-size:13px; color:#555; }
.wpec-bk-stepper{ display:inline-flex; align-items:center; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); overflow:hidden; }
.wpec-bk .wpec-bk-stepper button{ width:40px; height:40px; padding:0; margin:0; border:0; border-radius:0; background:#fff; color:#222; font-size:18px; line-height:1; cursor:pointer; }
.wpec-bk .wpec-bk-stepper button:disabled{ color:#bbb; cursor:default; }
.wpec-bk .wpec-bk-stepper input[type="number"]{ width:52px; height:40px; min-height:40px; padding:0; margin:0; border:0; border-left:1px solid var( --wpec-bk-line ); border-right:1px solid var( --wpec-bk-line ); border-radius:0; text-align:center; font-size:15px; background:#fff; color:#222; -moz-appearance:textfield; appearance:textfield; }
.wpec-bk .wpec-bk-stepper input::-webkit-outer-spin-button, .wpec-bk .wpec-bk-stepper input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

.wpec-bk-names{ display:flex; flex-direction:column; gap:12px; }
.wpec-bk-guest{ margin:0; padding:12px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); display:grid; gap:6px; }
.wpec-bk-guest legend{ padding:0 4px; font-weight:600; font-size:14px; }
.wpec-bk-guest label{ font-size:14px; }
.wpec-bk .wpec-bk-guest input{ min-height:44px; padding:8px 12px; font-size:15px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); width:100%; box-sizing:border-box; }
/* PR 6a: questions and the waiver, for each guest */
.wpec-bk .wpec-bk-guest select, .wpec-bk .wpec-bk-guest textarea{ min-height:44px; padding:8px 12px; font-size:15px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); width:100%; box-sizing:border-box; background:#fff; color:#222; font-family:inherit; }
.wpec-bk .wpec-bk-guest textarea{ min-height:80px; resize:vertical; }
.wpec-bk-q{ display:grid; gap:4px; margin-top:4px; }
.wpec-bk-q-required{ font-size:12px; font-weight:400; color:#666; }
.wpec-bk-q-help{ margin:0; font-size:13px; color:#555; }
.wpec-bk-q-choices{ margin:0; padding:0; border:0; display:grid; gap:2px; min-width:0; }
.wpec-bk-q-choices legend{ padding:0; margin:0 0 4px; font-size:14px; font-weight:400; }
.wpec-bk .wpec-bk-guest .wpec-bk-q-choice{ display:flex; align-items:center; gap:8px; min-height:40px; font-size:15px; cursor:pointer; }
.wpec-bk .wpec-bk-guest .wpec-bk-q-choice input{ width:20px; height:20px; min-height:0; padding:0; margin:0; flex:none; accent-color:var( --wpec-bk-accent ); }
.wpec-bk-waiver-text{ max-height:220px; overflow:auto; padding:10px 14px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fafafa; font-size:14px; line-height:1.55; }
.wpec-bk-waiver-text p{ margin:0 0 8px; }
.wpec-bk-waiver-text:focus-visible{ outline:2px solid var( --wpec-bk-accent ); outline-offset:2px; }

.wpec-bk-note{ margin:0; font-size:13px; color:#555; }
.wpec-bk-summary:empty{ display:none; }
.wpec-bk-summary{ padding:12px 14px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fafafa; }
.wpec-bk-summary.is-loading{ opacity:.6; transition:opacity .15s; }
.wpec-bk-summary-when{ margin:0 0 6px; font-weight:600; }
.wpec-bk-summary-error{ margin:0; color:#b91c1c; font-weight:600; }
.wpec-bk-lines{ display:grid; grid-template-columns:1fr auto; gap:4px 16px; margin:0; }
.wpec-bk-lines dt, .wpec-bk-lines dd{ margin:0; }
.wpec-bk-lines dd{ text-align:right; }
.wpec-bk-lines .wpec-bk-total{ padding-top:6px; border-top:1px solid var( --wpec-bk-line ); font-weight:700; }
.wpec-bk-error:empty, .wpec-bk-error[hidden]{ display:none; }
.wpec-bk-error{ margin-top:12px; padding:10px 12px; border-radius:var( --wpec-bk-radius ); background:#fef2f2; color:#b91c1c; font-weight:600; }
.wpec-bk-actions{ clear:both; }
/* 6.0.8: Book is the picker's own button: the picker's width and font, the store's colour ( the chosen day's ), so it lines up with the
   calendar, the places and the price above it. The classic Add to cart button's rules ( a 10px left margin for the quantity box beside
   it, #333, 13px Lato, all !important ) are put back here; the Elementor Add to Cart widget's button colours still apply. */
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart{ position:relative; float:none; width:100%; margin:0; overflow:visible; border-radius:0; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > input.wpec-bk-book{ display:block; float:none !important; box-sizing:border-box; width:100% !important; min-height:48px !important; margin:0 !important; padding:12px 20px !important; border:0 !important; border-radius:var( --wpec-radius-control, 8px ) !important; background:var( --wpec-atc-button-bg, var( --wpec-main-color, #222222 ) ) !important; color:var( --wpec-atc-button-color, var( --wpec-button-color, #ffffff ) ) !important; font-family:inherit !important; font-size:16px !important; font-weight:600 !important; line-height:1.25 !important; letter-spacing:0 !important; text-align:center; text-transform:none !important; text-shadow:none !important; text-decoration:none; box-shadow:none !important; background-image:none !important; cursor:pointer; -webkit-appearance:none; appearance:none; transition:background-color .15s; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > input.wpec-bk-book:is(:hover, :focus, :active){ background:var( --wpec-atc-button-hover-bg, var( --wpec-atc-button-bg, var( --wpec-main-color, #222222 ) ) ) !important; color:var( --wpec-atc-button-hover-color, var( --wpec-atc-button-color, var( --wpec-button-color, #ffffff ) ) ) !important; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > input.wpec-bk-book:is(:hover, :focus-visible){ background:var( --wpec-atc-button-hover-bg, var( --wpec-atc-button-bg, var( --wpec-second-color, var( --wpec-main-color, #222222 ) ) ) ) !important; filter:var( --wpec-atc-button-hover-filter, none ); } /* the store's Add to cart hover colour */
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > input.wpec-bk-book:focus-visible{ outline:2px solid var( --wpec-atc-button-bg, var( --wpec-main-color, #222222 ) ); outline-offset:2px; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > input.wpec-bk-book.added{ background:#2e7d32 !important; filter:none; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart > .dashicons{ display:none !important; } /* ec-store.js's own spinner and tick: the busy state below */
/* While Book goes: a spinner in place of its words, same size ( nothing moves ); "Loading…" read out from .wpec-bk-busy. */
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart.is-busy > input.wpec-bk-book[aria-busy]{ background:var( --wpec-atc-button-bg, var( --wpec-main-color, #222222 ) ) !important; color:transparent !important; filter:none; cursor:progress; }
.wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart.is-busy::after{ content:""; position:absolute; top:50%; left:50%; box-sizing:border-box; width:20px; height:20px; margin:-10px 0 0 -10px; border:2px solid var( --wpec-atc-button-color, var( --wpec-button-color, #ffffff ) ); border-right-color:transparent; border-radius:50%; animation:wpec-bk-spin .7s linear infinite; pointer-events:none; }
.wpec-bk-busy{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect( 0 0 0 0 ); white-space:nowrap; border:0; }
@keyframes wpec-bk-spin{ to{ transform:rotate( 360deg ); } }
@media ( prefers-reduced-motion: reduce ){ .wpec-booking-area .wpec-bk-actions.ec_details_add_to_cart.is-busy::after{ animation-duration:1.8s; } }

.wpec-bk-schedule-day{ margin:20px 0 8px; font-size:17px; }
.wpec-bk-schedule-list{ list-style:none; margin:0; padding:0; }
.wpec-bk-schedule-item{ display:flex; flex-wrap:wrap; gap:4px 12px; padding:10px 0; border-top:1px solid var( --wpec-border-color, #e1e1e1 ); }
.wpec-bk-schedule-time{ font-weight:600; min-width:150px; }
.wpec-bk-schedule-left{ margin-left:auto; color:#555; font-size:14px; }
.wpec-bk-schedule-item.is-full{ color:#888; }
/* 6.0.8 PR 8: pay with a class pass, a member's note */
.wpec-bk-pass{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:10px 0 0; padding-top:10px; border-top:1px solid var( --wpec-bk-line ); font-weight:600; cursor:pointer; }
.wpec-bk-pass input{ width:18px; height:18px; margin:0; accent-color:var( --wpec-main-color, #2e6556 ); }
.wpec-bk-pass-left{ flex-basis:100%; padding-left:26px; font-weight:400; font-size:13px; color:#5f6368; }
.wpec-bk-pass-note{ margin:8px 0 0; font-size:13px; color:#5f6368; }
/* 6.0.8 PR 8b: repeat every week or every few weeks */
.wpec-bk-repeat{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 14px; border:0; margin:0; padding:0; }
.wpec-bk-repeat legend{ flex-basis:100%; }
.wpec-bk .wpec-bk-repeat select, .wpec-bk .wpec-bk-repeat input{ min-height:44px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); padding:8px 12px; font-size:15px; background:#fff; color:#222; }
.wpec-bk-repeat-times{ display:flex; align-items:center; gap:8px; }
.wpec-bk-repeat-times[hidden]{ display:none; }
.wpec-bk-repeat-times input{ width:80px; }
/* 6.0.8 PR 9a: the picker's menus draw their own arrow ( themes take the browser's away, and a menu then reads as a text box ) */
.wpec-bk .wpec-bk-length select, .wpec-bk .wpec-bk-resource select, .wpec-bk .wpec-bk-repeat select{ -webkit-appearance:none; appearance:none; padding-right:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23444' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:12px 8px; }

/* PR 6b: waitlists. A full time a waitlist takes stays choosable ( dashed ); choosing it opens the panel under the times. */
.wpec-bk button.wpec-bk-slot.is-waitlist{ background:#fff; color:#3c3c3c; border-style:dashed; cursor:pointer; }
.wpec-bk button.wpec-bk-slot.is-waitlist:hover{ border-color:var( --wpec-bk-accent ); background:#fff; color:#222; }
.wpec-bk button.wpec-bk-slot.is-waitlist .wpec-bk-slot-note{ color:#5f6368; }
.wpec-bk button.wpec-bk-slot.is-waitlist[aria-checked="true"], .wpec-bk button.wpec-bk-slot.is-waitlist[aria-checked="true"]:hover{ background:color-mix( in srgb, var( --wpec-bk-accent ) 10%, #fff ); border-color:var( --wpec-bk-accent ); border-style:solid; color:#222; }
.wpec-bk button.wpec-bk-slot.is-waitlist[aria-checked="true"] .wpec-bk-slot-note{ color:#3c3c3c; }
.wpec-bk-wl{ margin:12px 0 0; padding:14px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); display:grid; gap:10px; }
.wpec-bk-wl[hidden], .wpec-bk-wl-fields[hidden], .wpec-bk-wl-buttons[hidden]{ display:none; }
.wpec-bk-wl .wpec-bk-title{ margin:0; }
.wpec-bk-wl-text{ margin:0; font-size:14px; color:#4a4a4a; }
.wpec-bk-wl-fields{ display:grid; grid-template-columns:repeat( auto-fit, minmax( 200px, 1fr ) ); gap:10px; }
.wpec-bk-wl-field{ display:grid; gap:4px; }
.wpec-bk-wl-field label{ font-size:14px; font-weight:600; }
.wpec-bk .wpec-bk-wl-field input{ min-height:44px; padding:8px 12px; font-size:15px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); width:100%; box-sizing:border-box; background:#fff; color:#222; }
.wpec-bk .wpec-bk-wl-field input[aria-invalid="true"]{ border-color:#b91c1c; }
.wpec-bk-wl-buttons{ display:flex; flex-wrap:wrap; gap:8px; }
.wpec-bk button.wpec-bk-wl-join{ min-height:44px; padding:8px 18px; border:1px solid var( --wpec-bk-accent ); border-radius:var( --wpec-bk-radius ); background:var( --wpec-bk-accent ); color:#fff; font-size:15px; font-weight:600; cursor:pointer; text-transform:none; letter-spacing:0; }
.wpec-bk button.wpec-bk-wl-join[aria-busy="true"]{ opacity:.7; cursor:progress; }
.wpec-bk button.wpec-bk-wl-later{ min-height:44px; padding:8px 18px; border:1px solid var( --wpec-bk-line ); border-radius:var( --wpec-bk-radius ); background:#fff; color:#222; font-size:15px; cursor:pointer; text-transform:none; letter-spacing:0; }
.wpec-bk button.wpec-bk-wl-join:focus-visible, .wpec-bk button.wpec-bk-wl-later:focus-visible{ outline:2px solid var( --wpec-bk-accent ); outline-offset:2px; }
.wpec-bk-wl-status{ margin:0; font-size:14px; }
.wpec-bk-wl-status:empty{ display:none; }
.wpec-bk-wl-status.is-error{ color:#b91c1c; }
.wpec-bk-wl-status.is-done{ color:#14532d; font-weight:600; }
.wpec-bk-wl-note{ margin:0 0 12px; padding:10px 12px; border-radius:var( --wpec-bk-radius ); background:#f4f6f9; color:#222; font-size:14px; }
