.ce-booking { color: var(--ce-text, #163247); font-family: var(--ce-font-family, system-ui); line-height: var(--ce-leading-body, 1.5); }
.ce-booking *, .ce-booking *::before, .ce-booking *::after { box-sizing: border-box; }
.ce-booking [hidden] { display: none !important; }
.ce-booking button, .ce-booking input, .ce-inquiry { min-height: 44px; font: inherit; }
.ce-booking button, .ce-inquiry { padding: var(--ce-space-3) var(--ce-space-4); border: 1px solid var(--ce-border); border-radius: var(--ce-radius-md); background: var(--ce-primary); color: var(--ce-on-primary); cursor: pointer; }
.ce-booking input { color: var(--ce-text); background: var(--ce-surface); border: 1px solid var(--ce-border); border-radius: var(--ce-radius-sm); padding: var(--ce-space-2); max-width: 100%; }
.ce-booking :focus-visible, .ce-inquiry:focus-visible { outline: 3px solid var(--ce-focus-color); outline-offset: 3px; box-shadow: var(--ce-focus-ring); }
.ce-booking label { display: flex; flex-direction: column; gap: var(--ce-space-2); margin-block: var(--ce-space-2); }
.ce-booking input[type=number] { width: 6rem; display: block; }
.ce-booking input[type=radio], .ce-booking input[type=checkbox] { width: 24px; margin: 0; flex-shrink: 0; }
.ce-booking label:has(input[type=radio]), .ce-booking label:has(input[type=checkbox]) { flex-direction: row; align-items: center; min-height: 44px; }
.ce-booking fieldset { border: 0; padding: 0; margin: 0 0 var(--ce-space-6); min-width: 0; }
.ce-booking legend { font-weight: var(--ce-weight-medium); margin-bottom: var(--ce-space-3); }
.ce-option { padding: var(--ce-space-3) 0; border-bottom: 1px solid var(--ce-border); }
.ce-stepper { display: flex; align-items: end; gap: var(--ce-space-2); flex-wrap: wrap; }
.ce-stepper label { margin: 0; }
.ce-stepper button { min-width: 44px; }
.ce-booking p { margin: var(--ce-space-2) 0; }
.ce-booking .ce-error { color: var(--ce-error); margin-top: var(--ce-space-3); }
.ce-time-rows { display: flex; flex-wrap: wrap; gap: var(--ce-space-2); }
.ce-time { border: 1px solid var(--ce-border); border-radius: var(--ce-radius-md); padding: var(--ce-space-1) var(--ce-space-2); }
.ce-time:has(input:checked) { background: var(--ce-surface-soft); outline: 2px solid var(--ce-primary); }
.ce-total { padding: var(--ce-space-4); background: var(--ce-surface-soft); border-radius: var(--ce-radius-md); margin-block: var(--ce-space-6); }
.ce-booking button:disabled, .ce-inquiry:disabled { cursor: default; background: var(--ce-muted); color: var(--ce-surface); }
.ce-mobile-bar { position: fixed; inset: auto 0 0; width: 100%; z-index: var(--ce-booking-layer, 50); padding-bottom: max(var(--ce-space-3), env(safe-area-inset-bottom)) !important; }
.ce-sheet { padding: var(--ce-space-4); background: var(--ce-surface); border: 1px solid var(--ce-border); border-radius: var(--ce-radius-lg) var(--ce-radius-lg) 0 0; }
.ce-sheet h2 { margin-block: var(--ce-space-4) var(--ce-space-6); }
.ce-open .ce-sheet { position: fixed; inset: auto 0 0; z-index: var(--ce-sheet-layer, 51); max-height: 90dvh; overflow-y: auto; padding-bottom: max(var(--ce-space-4), env(safe-area-inset-bottom)); box-shadow: var(--ce-shadow-md); }
.ce-open .ce-mobile-bar { visibility: hidden; }
.ce-booking button[type=submit] { width: 100%; margin-top: var(--ce-space-4); }
.ce-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: var(--ce-space-2); margin-bottom: var(--ce-space-3); }
.ce-calendar-header span { text-align: center; font-weight: var(--ce-weight-medium); }
.ce-calendar-grid [role=row] { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); }
.ce-calendar-grid [role=columnheader] { text-align: center; font-size: var(--ce-font-sm); padding-block: var(--ce-space-2); }
.ce-calendar-grid button { width: 100%; min-width: 44px; padding: var(--ce-space-1); border: 1px solid transparent; background: var(--ce-surface); color: var(--ce-text); border-radius: var(--ce-radius-sm); }
.ce-calendar-grid button[aria-disabled=false] { outline: 1px solid var(--ce-primary, #075985); outline-offset: -3px; color: var(--ce-primary, #075985); font-weight: 600; }
.ce-calendar-grid button[aria-disabled=true] { color: var(--ce-muted); background: var(--ce-surface-soft); cursor: default; text-decoration: line-through; }
.ce-calendar-grid button[aria-current=date] { border: 2px solid var(--ce-primary); font-weight: var(--ce-weight-bold); }
.ce-calendar-grid [aria-selected=true] button[aria-disabled=false] { background: var(--ce-primary); color: var(--ce-on-primary); }
.ce-calendar-grid button:focus-visible { outline: 3px solid var(--ce-focus-color, #075985); outline-offset: 2px; position: relative; z-index: 1; }
@media (max-width: 360px) { .ce-sheet { padding-inline: var(--ce-space-1); } }
@media (min-width: 768px) {
  .ce-booking { position: sticky; top: var(--ce-booking-top, 1.5rem); }
  .ce-mobile-bar, .ce-close { display: none; }
  .ce-sheet, .ce-open .ce-sheet { position: static; max-height: none; border-radius: var(--ce-radius-lg); box-shadow: var(--ce-shadow-md); }
  .ce-booking button[type=submit] { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .ce-booking * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.ce-booking .ce-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Token pair #475569 on #f1f5f9 exceeds AA; override Elementor interaction styles. */
.ce-booking .ce-stepper button:disabled,
.ce-booking .ce-stepper button:disabled:is(:hover, :focus, :active) {
  background: var(--ce-surface-soft, #f1f5f9) !important;
  color: var(--ce-muted, #475569) !important;
  border-color: var(--ce-border, #64748b) !important;
  box-shadow: none !important; opacity: 1; cursor: default;
}
.ce-quantity-limit, .ce-price-status { color: var(--ce-muted, #526572); }
.ce-total[data-current="false"] [data-money] { opacity: .65; text-decoration: underline dotted; }
.ce-total[data-current="false"]::before { content: "Previous estimate — not current"; display: block; font-size: .875em; }

/* Native booking selectors: compact, keyboard and mobile accessible. */
.ce-booking .ce-date select, .ce-booking .ce-times select { display:block; width:100%; min-height:44px; padding:10px 12px; background:var(--ce-surface, #fff); color:var(--ce-text, #163247); border:1px solid var(--ce-border, #64748b); border-radius:6px; font:inherit; }
.ce-booking .ce-time-rows { display:block; }
.ce-booking .ce-calendar label, .ce-booking .ce-native-date label { display:block; margin:8px 0; }

/* One date field opens a calendar; month navigation stays inside the popup. */
.ce-date-picker { position:relative; }
.ce-booking .ce-date-trigger { width:100%; text-align:left; display:flex; justify-content:space-between; min-height:48px; background:#fff; color:var(--ce-text, #163247); border:1px solid var(--ce-border, #64748b); border-radius:8px; padding:12px; }
.ce-date-panel { position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:30; background:#fff; padding:14px; border:1px solid #d8dee5; border-radius:10px; box-shadow:0 10px 28px #16324726; }
.ce-popup-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
.ce-popup-days > span { text-align:center; font-size:12px; padding:6px 0; }
.ce-booking .ce-popup-days button { min-width:0; min-height:40px; padding:4px 0; border:1px solid #e2e8f0; background:#fff; color:var(--ce-text, #163247); border-radius:4px; }
.ce-booking .ce-popup-days button:disabled { color:#a0a8b2; background:#f7f8fa; cursor:not-allowed; }
.ce-booking .ce-popup-days button[aria-pressed=true] { background:var(--ce-primary, #075985); color:#fff; }
.ce-booking .ce-popup-days button[aria-current=date] { border-color:var(--ce-primary, #075985); }
.ce-booking .ce-popup-days button:focus-visible { outline:2px solid var(--ce-primary, #075985); outline-offset:1px; }

/* Compact booking card: use row width before adding vertical space. */
.ce-booking-column.ce-booking-ready { padding:16px; background:#fff; border:1px solid #dce3e9; }
.ce-booking-ready > h2 { display:none; }
.ce-booking-ready > p { margin:0 0 12px; }
.ce-booking .ce-sheet { padding:0; border:0; border-radius:0; box-shadow:none; }
.ce-booking form > fieldset, .ce-booking .ce-date-time fieldset { margin:0 0 12px; }
.ce-booking legend { margin-bottom:6px; font-size:14px; }
.ce-booking .ce-option { padding:10px 0; }
.ce-booking .ce-option > p { margin:2px 0; font-size:13px; line-height:1.4; }
.ce-booking .ce-stepper { display:grid; grid-template-columns:minmax(0,1fr) 44px 48px 44px; align-items:center; gap:4px; }
.ce-booking .ce-stepper label { display:contents; }
.ce-booking .ce-stepper-name { grid-column:1; grid-row:1; font-weight:600; padding-right:6px; }
.ce-booking .ce-stepper > button:first-child { grid-column:2; grid-row:1; }
.ce-booking .ce-stepper input[type=number] { grid-column:3; grid-row:1; width:48px; min-width:0; height:44px; text-align:center; padding:4px; margin:0; }
.ce-booking .ce-stepper > button { width:44px; height:44px; min-width:44px; padding:0; margin:0; }
.ce-booking .ce-stepper > button:nth-of-type(2) { grid-column:4; grid-row:1; }
.ce-booking .ce-stepper .ce-quantity-limit { grid-column:1 / -1; font-size:12px; }
.ce-booking .ce-date-time { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; position:relative; }
.ce-booking .ce-date-picker { position:static; }
.ce-booking .ce-date-panel { top:calc(100% - 6px); left:0; right:0; }
.ce-booking .ce-date-trigger, .ce-booking .ce-times select { min-height:44px; padding:8px 10px; font-size:14px; }
.ce-booking .ce-total { margin:4px 0 10px; padding:10px 12px; }
.ce-booking .ce-total p { display:flex; justify-content:space-between; gap:12px; margin:3px 0; font-size:14px; }
.ce-booking .ce-total p:first-child { font-size:16px; }
.ce-booking .ce-balance p, .ce-booking .ce-fixed-price { font-size:13px; line-height:1.4; margin:4px 0; }
.ce-booking .ce-result:empty, .ce-booking .ce-balance:empty { display:none; }
.ce-booking button[type=submit] { width:100%; margin-top:10px; }
@media (min-width:768px) {
  .ce-booking .ce-close, .ce-booking .ce-mobile-bar { display:none !important; }
  .ce-booking .ce-sheet, .ce-booking.ce-open .ce-sheet { box-shadow:none; }
}
@media (max-width:767px) {
  .ce-booking.ce-open .ce-sheet { padding:16px; border-radius:14px 14px 0 0; }
  .ce-booking .ce-close { margin-bottom:12px; }
}
@media (max-width:359px) { .ce-booking .ce-date-time { grid-template-columns:1fr; } }

.ce-booking .ce-remaining { margin:4px 0 0; font-size:12px; line-height:1.4; color:var(--ce-muted, #475569); }
