/* PW Booking Pro – class schedule */
.pwbp-schedule { max-width: 1100px; }
.pwbp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pwbp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.pwbp-day h4 { margin: 0 0 8px; font-size: .95em; text-transform: capitalize; }
.pwbp-day h4 small { display: block; font-weight: 400; color: var(--pwb-muted); }
.pwbp-day.is-today h4 { color: var(--pwb-accent); }
.pwbp-class { border: 1px solid var(--pwb-line); border-radius: var(--pwb-radius); padding: 10px 12px; margin-bottom: 8px; font-size: .92em; }
.pwbp-class strong { display: block; }
.pwbp-class .pwbp-meta { color: var(--pwb-muted); font-size: .9em; }
.pwbp-class .pwbp-left { display: inline-block; margin: 6px 0; font-size: .85em; }
.pwbp-class.is-full { opacity: .6; }
.pwb .pwbp-class button.pwb-btn { width: 100%; padding: 7px 10px; font-size: .9em; }
.pwbp-empty { color: var(--pwb-muted); font-size: .85em; }
.pwbp-modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 99999; }
.pwbp-dialog { background: #fff; color: #222; border-radius: 12px; padding: 22px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; }
@media (max-width: 900px) {
  .pwbp-days { grid-template-columns: 1fr; }
  .pwbp-day { border-bottom: 1px solid var(--pwb-line); padding-bottom: 8px; }
}
.pwbp-tag { display: inline-block; font-size: .72em; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 99px; background: var(--pwb-line); margin-bottom: 4px; }
.pwbp-class.is-mine { border-color: var(--pwb-accent); }
.pwbp-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; }
.pwbp-dialog { position: relative; }
.pwbp-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.pwbp-inline input { flex: 1 1 200px; min-width: 0; padding: 10px 12px; border: 1px solid var(--pwb-line); border-radius: var(--pwb-radius); font: inherit; }
.pwbp-or { text-align: center; color: var(--pwb-muted); margin: 14px 0 6px; }
.pwbp-small { font-size: .82em; margin-top: 14px; }
.pwbp-me { font-size: .9em; margin: -6px 0 14px; }
.pwb-note { padding: 10px 14px; border-radius: var(--pwb-radius); background: #f3f1ee; margin: 0 0 14px; }
.pwbp-account { max-width: 720px; }
.pwbp-account h4 { margin: 24px 0 8px; }
.pwbp-box { border: 1px solid var(--pwb-line); border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.pwbp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pwb-line); }
.pwbp-row.is-picked { background: #f7f5f2; }
.pwbp-row form { margin: 0; flex: 0 0 auto; }
.pwbp-past { padding-left: 18px; color: var(--pwb-muted); }
/* Price list */
.pwbp-prices { max-width: 820px; }
.pwbp-prices h3 { margin: 28px 0 8px; }
.pwbp-price { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pwb-line); }
.pwbp-price p { margin: 2px 0 0; color: var(--pwb-muted); font-size: .92em; }
.pwbp-price .pwbp-amount { white-space: nowrap; font-weight: 600; text-align: right; }
.pwbp-price .pwb-btn { margin-top: 6px; padding: 6px 12px; font-size: .88em; }
/* Layout follows the width of the content area, not the screen. */
.pwbp-schedule { container-type: inline-size; }
.pwbp-class { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.pwbp-class strong { font-size: 15px; margin: 2px 0; }
.pwbp-tag { white-space: nowrap; font-size: 10px; }
.pwb .pwbp-class button.pwb-btn { white-space: normal; line-height: 1.2; border-radius: 99px; margin-top: 4px; }
.pwbp-info > * { display: block; }
.pwbp-info > .pwbp-tag { display: inline-block; }
.pwbp-info .pwbp-meta + .pwbp-meta { display: inline; }
@container (max-width: 820px) {
  .pwbp-days { grid-template-columns: 1fr; gap: 0; }
  .pwbp-day { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pwb-line); }
  .pwbp-day:has(.pwbp-empty) { display: none; }
  .pwbp-day h4 { margin: 0; }
  .pwbp-class { display: flex; align-items: center; gap: 12px; }
  .pwbp-info { flex: 1 1 auto; min-width: 0; }
  .pwb .pwbp-class button.pwb-btn { flex: 0 0 auto; width: auto; margin: 0; white-space: nowrap; }
}
@container (max-width: 480px) {
  .pwbp-day { grid-template-columns: 1fr; gap: 6px; }
  .pwb .pwbp-class button.pwb-btn { white-space: normal; max-width: 45%; }
}
.pwbp-noweek { color: var(--pwb-muted); }
/* Close button: reset theme/Elementor button styles. */
.pwbp-dialog .pwbp-x, .pwbp-dialog .pwbp-x:hover, .pwbp-dialog .pwbp-x:focus {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; min-width: 0; min-height: 0;
  padding: 0; margin: 0; display: flex; align-items: center; justify-content: center;
  background: transparent !important; border: 0 !important; border-radius: 50%; box-shadow: none !important;
  color: #222 !important; font-size: 26px; line-height: 1; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.pwbp-dialog .pwbp-x:hover { background: rgba(0, 0, 0, .06) !important; }
.pwbp-dialog .pwbp-x:focus-visible { outline: 2px solid var(--pwb-accent); outline-offset: 2px; }
.pwbp-dialog .pwb-h { padding-right: 40px; }

.pwbp-info .pwbp-left { display: block; margin: 4px 0 0; }
.pwbp-day h4 small { text-transform: none; }
