/* Yatoon UI refinement layer: shared frontend/admin polish. */
:root {
  --yatoon-ui-bg: #f6f7f9;
  --yatoon-ui-card: #ffffff;
  --yatoon-ui-ink: #16181d;
  --yatoon-ui-muted: #677083;
  --yatoon-ui-line: #e4e7ec;
  --yatoon-ui-primary: var(--sbs-primary, var(--yatoon-skin-primary-btn-bg, #db2777));
  --yatoon-ui-primary-soft: color-mix(in srgb, var(--yatoon-ui-primary) 11%, #fff);
  --yatoon-ui-radius: 14px;
  --yatoon-ui-radius-sm: 10px;
  --yatoon-ui-shadow: 0 10px 30px rgba(20, 24, 33, .08);
}

.sbs-booking-container,
#yatoon-dashboard-wrap,
.sbs-admin-page,
.yatoon-admin-page {
  color: var(--yatoon-ui-ink);
  letter-spacing: 0;
}

.sbs-booking-container {
  max-width: min(1700px, calc(100vw - 28px)) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.4)),
    var(--yatoon-ui-bg) !important;
  border: 1px solid rgba(228, 231, 236, .86);
  border-radius: 22px !important;
}

.sbs-booking-main,
.sbs-booking-sidebar,
.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-time-slot,
.sbs-checkout-card,
.sbs-mobile-flow-header,
.sbs-text-modal-content,
#sbs-waitlist-modal .sbs-text-modal-content {
  border-color: var(--yatoon-ui-line) !important;
  box-shadow: 0 1px 2px rgba(20, 24, 33, .04) !important;
}

.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-time-slot {
  isolation: isolate;
}

.sbs-service-item:hover,
.sbs-option-item:hover,
.sbs-staff-card:hover,
.sbs-time-slot:hover {
  box-shadow: var(--yatoon-ui-shadow) !important;
}

.sbs-service-item.selected,
.sbs-option-item.selected,
.sbs-staff-card.selected,
.sbs-time-slot.selected {
  background: var(--yatoon-ui-primary-soft) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatoon-ui-primary) 16%, transparent) !important;
}

.ybs-svc-hero,
.sbs-service-thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--yatoon-ui-primary) 10%, #fff), #f3f4f6);
}

.ybs-svc-hero img,
.sbs-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sbs-book-btn,
.sbs-btn,
.sbs-btn-next,
.sbs-btn-back,
.sbs-btn-submit,
#sbs-cart-next-btn,
#sbs-cart-back-btn,
.sbs-text-submit-btn,
.sbs-gift-card-btn,
.sbs-recurring-confirm-btn,
.yatoon-admin-toast-action {
  min-height: 42px;
  border-radius: 999px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

.sbs-book-btn:hover,
.sbs-btn:hover,
.sbs-btn-next:hover,
.sbs-btn-back:hover,
.sbs-btn-submit:hover,
#sbs-cart-next-btn:hover,
#sbs-cart-back-btn:hover {
  transform: translateY(-1px);
}

.sbs-category-tabs,
.sbs-category-tabs-wrap {
  scrollbar-width: none;
}

.sbs-category-tabs::-webkit-scrollbar,
.sbs-category-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.sbs-category-tab,
.sbs-cat-tab {
  white-space: nowrap;
}

.yatoon-ai-helper {
  border: 1px solid color-mix(in srgb, var(--yatoon-ui-primary) 18%, var(--yatoon-ui-line)) !important;
  box-shadow: 0 8px 22px rgba(20, 24, 33, .06) !important;
}

.yatoon-ai-result,
.sbs-next-openings,
.sbs-empty-actions,
.sbs-availability-empty {
  border-radius: var(--yatoon-ui-radius-sm);
}

.sbs-form-group label,
.sbs-summary-item strong,
.sbs-summary-item [style*="uppercase"] {
  letter-spacing: .02em !important;
}

.sbs-summary-item {
  gap: 10px;
}

.sbs-success-card,
.sbs-recurring-setup,
.sbs-rebooking-nudge,
.sbs-success-cal-row {
  border: 1px solid var(--yatoon-ui-line);
  border-radius: var(--yatoon-ui-radius);
  background: var(--yatoon-ui-card);
}

#sbs-mobile-cart-bar {
  box-shadow: 0 -14px 34px rgba(20, 24, 33, .14) !important;
}

#sbs-mobile-drawer {
  border-radius: 20px 20px 0 0 !important;
}

/* Premium booking flow polish. */
.sbs-booking-container {
  overflow: visible;
}

.sbs-booking-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px) !important;
  gap: 24px !important;
  align-items: start !important;
}

.sbs-booking-main {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 30px) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    var(--yatoon-ui-card) !important;
}

.sbs-booking-sidebar {
  position: sticky !important;
  top: 22px !important;
  overflow: hidden;
  border-radius: 22px !important;
  background: var(--yatoon-ui-card) !important;
}

.sbs-venue-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin: 0 0 22px;
  padding: clamp(22px, 3.2vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #15171d 0%, #273341 58%, color-mix(in srgb, var(--yatoon-ui-primary) 36%, #243240) 100%);
  color: #fff;
  box-shadow: 0 18px 44px rgba(18, 24, 34, .18);
}

.sbs-venue-hero-main,
.sbs-venue-proof {
  position: relative;
  z-index: 1;
}

.sbs-venue-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.sbs-venue-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0;
}

.sbs-venue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.sbs-venue-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 330px;
}

.sbs-venue-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.sbs-venue-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -10px 0 18px;
}

.sbs-venue-trust-strip > div {
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  padding: 12px 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.sbs-venue-trust-strip strong,
.sbs-venue-trust-strip span {
  display: block;
}

.sbs-venue-trust-strip strong {
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
}

.sbs-venue-trust-strip span {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.sbs-popular-picks {
  margin: 18px 0 14px;
}

.sbs-popular-picks-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.sbs-popular-picks-head span,
.sbs-popular-picks-head strong {
  display: block;
}

.sbs-popular-picks-head span {
  color: var(--sbs-accent, #ec4899);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sbs-popular-picks-head strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.2;
}

.sbs-popular-picks-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 2px 0 4px;
}

.sbs-popular-picks-rail::-webkit-scrollbar {
  display: none;
}

.sbs-popular-pick {
  width: 100%;
  min-height: 76px;
  text-align: left;
  border: 1px solid rgba(236, 72, 153, .28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 247, 251, .96), rgba(255, 255, 255, .96));
  padding: 13px 14px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
  cursor: pointer;
}

.sbs-popular-pick-name,
.sbs-popular-pick-meta {
  display: block;
}

.sbs-popular-pick-name {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.sbs-popular-pick-meta {
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

.sbs-popular-pick:active {
  transform: scale(.98);
}

.sbs-attention-pulse {
  animation: yatoonAttentionPulse .85s ease both;
}

@keyframes yatoonAttentionPulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(15, 23, 42, .08); }
  45% { box-shadow: 0 0 0 5px rgba(236, 72, 153, .16), 0 20px 45px rgba(236, 72, 153, .18); }
}

.sbs-date-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.sbs-date-shortcut {
  min-height: 36px;
  border: 1px solid rgba(226, 232, 240, .96);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.sbs-date-shortcut.active,
.sbs-date-shortcut:active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.sbs-page-title,
#sbs-main-title {
  margin: 0 0 18px !important;
  color: var(--yatoon-ui-ink) !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.08 !important;
}

.sbs-location-banner {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  margin-bottom: 18px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--yatoon-ui-line) !important;
  border-radius: 16px !important;
  background: color-mix(in srgb, var(--yatoon-ui-primary) 5%, #fff) !important;
}

.sbs-location-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--yatoon-ui-primary);
  box-shadow: 0 1px 2px rgba(20, 24, 33, .08);
}

.sbs-location-title {
  display: block;
  margin-bottom: 2px;
  color: var(--yatoon-ui-ink);
  font-size: 14px;
  font-weight: 800;
}

.sbs-location-desc,
.sbs-location-address {
  margin: 2px 0 0 !important;
  color: var(--yatoon-ui-muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.sbs-location-address {
  color: #8b95a6 !important;
  font-size: 12px !important;
}

.sbs-appt-type-wrap {
  margin-bottom: 22px !important;
}

.sbs-appt-type-card {
  border-radius: 16px !important;
  border-color: transparent !important;
  background: #fff !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sbs-appt-type-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 24, 33, .08) !important;
}

.sbs-appt-type-card.active,
.sbs-appt-type-card.selected {
  border-color: transparent !important;
  background: var(--yatoon-ui-primary-soft) !important;
  box-shadow: none !important;
}

.yatoon-ai-helper {
  overflow: hidden;
  margin: 0 0 14px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--yatoon-ui-primary) 7%, #fff), #fff) !important;
}

.yatoon-ai-helper.is-collapsed {
  margin-bottom: 14px !important;
}

.yatoon-ai-helper.is-collapsed .yatoon-ai-helper-header {
  min-height: 0 !important;
  padding-block: 10px !important;
}

.yatoon-ai-toggle {
  border-radius: 999px !important;
  font-weight: 800 !important;
}

.sbs-category-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 -6px 18px !important;
  padding: 8px 6px 10px !important;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
}

.sbs-category-tabs {
  gap: 8px !important;
  align-items: center !important;
  overflow: visible !important;
}

.sbs-cat-tab,
.sbs-category-tab {
  min-height: 38px;
  padding: 9px 14px !important;
  border: 1px solid var(--yatoon-ui-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #4b5565 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 2px rgba(20, 24, 33, .04);
}

.sbs-cat-tab.active,
.sbs-category-tab.active {
  border-color: transparent !important;
  background: var(--yatoon-ui-ink) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(20, 24, 33, .14);
}

@media (min-width: 783px) {
  .sbs-category-tabs-wrap,
  body.sbs-booking-immersive .sbs-category-tabs-wrap {
    margin: 0 0 18px !important;
    padding: 8px 0 10px !important;
    overflow: visible !important;
  }

  .sbs-category-tabs,
  body.sbs-booking-immersive .sbs-category-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .sbs-cat-tab,
  .sbs-category-tab,
  body.sbs-booking-immersive .sbs-cat-tab {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }

  .sbs-cat-overflow,
  body.sbs-booking-immersive .sbs-cat-overflow {
    display: none !important;
  }

  #sbs-cat-more-btn,
  .sbs-cat-more-btn,
  body.sbs-booking-immersive #sbs-cat-more-btn {
    display: none;
  }
}

#sbs-cat-more-btn.sbs-more-needed,
.sbs-cat-more-btn.sbs-more-needed,
body.sbs-booking-immersive #sbs-cat-more-btn.sbs-more-needed {
  display: inline-flex !important;
}

.sbs-category-title {
  margin: 28px 0 12px !important;
  color: var(--sbs-heading-color, var(--yatoon-ui-ink)) !important;
  font-family: var(--sbs-hfont, inherit) !important;
  font-size: var(--sbs-heading-size, 18px) !important;
  line-height: 1.2 !important;
}

.sbs-service-list {
  display: grid;
  gap: 12px;
}

.sbs-service-item {
  position: relative;
  display: grid !important;
  gap: 12px !important;
  padding: clamp(14px, 2vw, 18px) !important;
  border-radius: 18px !important;
  background: #fff !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.sbs-service-item::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 4px;
  border-radius: 999px;
  background: transparent;
  transition: background .16s ease;
}

.sbs-service-item:hover {
  transform: translateY(-1px);
}

.sbs-service-item.selected::before {
  background: var(--yatoon-ui-primary);
}

.sbs-service-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
}

.sbs-service-name,
.ybs-svc-name {
  margin: 0 0 6px !important;
  color: var(--yatoon-ui-ink) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.sbs-service-desc,
.ybs-svc-desc {
  color: var(--yatoon-ui-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.sbs-service-price,
.ybs-svc-price {
  color: var(--yatoon-ui-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ybs-svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ybs-pill,
.sbs-service-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #5b6474;
  font-size: 12px;
  font-weight: 700;
}

.ybs-next-opening,
.sbs-next-opening {
  margin-top: 10px !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  background: #f7faf9 !important;
  color: #2f6956 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.sbs-book-btn {
  min-width: 84px;
  padding-inline: 17px !important;
  font-weight: 900 !important;
}

.sbs-booking-summary {
  padding: 20px !important;
}

.sbs-booking-summary h3,
.sbs-sidebar-title {
  margin: 0 0 14px !important;
  color: var(--yatoon-ui-ink) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.sbs-summary-item {
  align-items: flex-start !important;
  padding: 13px 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
}

.sbs-summary-item:last-child {
  border-bottom: 0 !important;
}

.sbs-summary-item [style*="uppercase"] {
  color: #8b95a6 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.sbs-summary-item strong,
#sbs-summary-service,
#sbs-summary-datetime,
#sbs-summary-staff {
  color: var(--yatoon-ui-ink) !important;
  font-weight: 800 !important;
}

.sbs-summary-edit-btn,
.sbs-summary-remove-btn {
  display: inline-grid !important;
  place-items: center;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 1px solid var(--yatoon-ui-line) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #667085 !important;
}

.sbs-mobile-cart-remove,
.sbs-drawer-pending-remove,
.sbs-drawer-del-service,
.sbs-drawer-del-options,
.sbs-cart-remove {
  min-width: 58px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(220, 38, 38, .14);
}

.sbs-mobile-cart-remove:active,
.sbs-drawer-pending-remove:active,
.sbs-drawer-del-service:active,
.sbs-drawer-del-options:active,
.sbs-cart-remove:active {
  transform: translateY(1px);
}

.sbs-sidebar-empty-guide {
  margin-top: 12px !important;
  padding: 14px !important;
  border: 1px dashed #d7dce5 !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  color: var(--yatoon-ui-muted) !important;
}

#sbs-sidebar-next-btn,
#sbs-cart-next-btn,
.sbs-btn-submit {
  width: 100%;
  min-height: 48px;
  border: 0 !important;
  background: var(--yatoon-ui-ink) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(20, 24, 33, .18) !important;
}

#sbs-sidebar-next-btn:hover,
#sbs-cart-next-btn:hover,
.sbs-btn-submit:hover {
  background: color-mix(in srgb, var(--yatoon-ui-ink) 86%, var(--yatoon-ui-primary)) !important;
}

.sbs-form-group {
  margin-bottom: 16px !important;
}

.sbs-form-group input,
.sbs-form-group select,
.sbs-form-group textarea {
  min-height: 46px;
  border-color: #d9dee7 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: var(--yatoon-ui-ink) !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.sbs-form-group input:focus,
.sbs-form-group select:focus,
.sbs-form-group textarea:focus {
  border-color: color-mix(in srgb, var(--yatoon-ui-primary) 62%, #fff) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--yatoon-ui-primary) 14%, transparent) !important;
  outline: 0 !important;
}

.sbs-policy-box,
.sbs-consent-box,
.sbs-tip-group,
.sbs-gift-card-group {
  border-radius: 16px !important;
}

.sbs-policy-box {
  border-color: #f4d87b !important;
  background: #fff9e7 !important;
}

.sbs-consent-box {
  border-color: var(--yatoon-ui-line) !important;
  background: #f8fafc !important;
}

.sbs-success-message {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid var(--yatoon-ui-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 24, 33, .1);
}

.sbs-success-icon {
  display: grid !important;
  place-items: center;
  width: 58px !important;
  height: 58px !important;
  margin: 0 auto 14px !important;
  border-radius: 50% !important;
  background: #e8f7ef !important;
  color: #13844b !important;
}

.sbs-success-next-card,
.sbs-success-actions,
.sbs-success-direction-link {
  border-radius: 16px !important;
}

#sbs-mobile-cart-bar {
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  width: auto !important;
  min-height: 68px;
  padding: 10px 12px !important;
  border: 1px solid rgba(228, 231, 236, .9) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.94) !important;
  backdrop-filter: blur(16px);
}

#sbs-mobile-drawer {
  overflow: hidden;
  border: 1px solid var(--yatoon-ui-line) !important;
  background: #fff !important;
  box-shadow: 0 -20px 50px rgba(20, 24, 33, .2) !important;
}

#yatoon-dashboard-wrap .yd-kpi,
#yatoon-dashboard-wrap .yd-panel,
#yatoon-dashboard-wrap .yd-readiness,
#yatoon-dashboard-wrap .yd-official,
.sbs-card {
  border-color: var(--yatoon-ui-line) !important;
  border-radius: var(--yatoon-ui-radius) !important;
  box-shadow: 0 1px 2px rgba(20, 24, 33, .04) !important;
}

#yatoon-dashboard-wrap .yd-kpi-value {
  letter-spacing: 0;
}

.yatoon-toast-region {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.yatoon-toast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid var(--yatoon-ui-line);
  border-left: 4px solid var(--yatoon-ui-primary);
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  color: var(--yatoon-ui-ink);
  box-shadow: var(--yatoon-ui-shadow);
  pointer-events: auto;
}

.yatoon-toast.is-error { border-left-color: #dc2626; }
.yatoon-toast.is-success { border-left-color: #16a34a; }
.yatoon-toast.is-warning { border-left-color: #d97706; }

.yatoon-toast-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 2px;
}

.yatoon-toast-message {
  color: var(--yatoon-ui-muted);
  font-size: 13px;
  line-height: 1.45;
}

.yatoon-toast-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #8a93a3;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
}

/* 3.3.0 completion layer: front-end utilities, mobile flow, admin SaaS system. */
.sbs-portal-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(20, 24, 33, .08);
  border-radius: 16px;
  background: var(--sbs-banner-bg, #fdf2f8);
}

.sbs-portal-banner-text {
  color: var(--sbs-banner-text, #9d174d);
  font-size: 14px;
  font-weight: 700;
}

.sbs-portal-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sbs-banner-btn, var(--yatoon-ui-primary));
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.sbs-step-section-title {
  margin: 0 0 14px !important;
  color: var(--sbs-heading-color, var(--yatoon-ui-ink)) !important;
  font-family: var(--sbs-hfont, inherit) !important;
  font-size: var(--sbs-heading-size, 18px) !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

.sbs-step-helper {
  margin: 0 0 20px !important;
  color: var(--yatoon-ui-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.sbs-step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sbs-step-header-row h3 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.sbs-appointments-review {
  margin-bottom: 30px;
}

.sbs-compact-action {
  padding: 8px 16px !important;
}

.sbs-navigation-buttons-wrap {
  flex-wrap: wrap;
  gap: 10px;
}

.sbs-times-hint,
.sbs-no-services,
.sbs-availability-empty,
.sbs-empty-actions {
  padding: 18px;
  border: 1px dashed #d8dee8;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--yatoon-ui-muted) !important;
  text-align: center;
}

.sbs-week-navigation,
.sbs-calendar-header {
  gap: 8px;
}

.sbs-week-prev,
.sbs-week-next,
.sbs-view-toggle,
.sbs-day-button,
.sbs-time-slot {
  border-radius: 14px !important;
}

.sbs-view-toggle.active,
.sbs-day-button.selected,
.sbs-time-slot.selected {
  background: var(--yatoon-ui-ink) !important;
  color: #fff !important;
  border-color: var(--yatoon-ui-ink) !important;
}

.sbs-time-slot:not(.sbs-time-slot-unavail):hover,
.sbs-day-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(20, 24, 33, .1) !important;
}

.sbs-coupon-row,
.sbs-gift-card-row,
#sbs-tip-custom-wrap > div {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#sbs-tip-display,
#sbs-coupon-result,
#sbs-gift-card-result,
.yatoon-privacy-note {
  margin-top: 8px !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
  background: #f8fafc;
  color: var(--yatoon-ui-muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.sbs-policy-box h3,
.sbs-consent-box h3 {
  margin: 0 0 8px !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.sbs-policy-box > div,
.sbs-consent-box > div {
  border-radius: 12px !important;
}

.sbs-policy-box label,
.sbs-consent-box label,
.waitlist-service-label,
.waitlist-time-label {
  border-radius: 12px !important;
}

.sbs-text-modal {
  backdrop-filter: blur(4px);
}

.sbs-text-modal-content {
  border-radius: 22px !important;
  border: 1px solid var(--yatoon-ui-line) !important;
  box-shadow: 0 24px 70px rgba(20, 24, 33, .22) !important;
}

.sbs-text-modal-close {
  border-radius: 50% !important;
}

.sbs-form-group input[type="checkbox"],
.sbs-form-group input[type="radio"],
.waitlist-svc-chk,
#sbs-policy-acknowledged,
#sbs-consent-accepted {
  accent-color: var(--yatoon-ui-primary);
}

.sbs-booking-container :focus-visible,
.yatoon-admin-page :focus-visible,
.sbs-admin-page :focus-visible,
#yatoon-dashboard-wrap :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--yatoon-ui-primary) 35%, transparent) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

.yatoon-admin-page,
.sbs-admin-page,
#yatoon-dashboard-wrap {
  --yatoon-admin-surface: #f6f7f9;
  --yatoon-admin-panel: #fff;
  --yatoon-admin-ink: #151923;
  --yatoon-admin-muted: #667085;
  --yatoon-admin-line: #e4e7ec;
  color: var(--yatoon-admin-ink);
}

.yatoon-admin-page h1,
.sbs-admin-page h1,
#yatoon-dashboard-wrap h1 {
  margin-bottom: 6px !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: 0;
}

.yatoon-admin-subtitle,
.sbs-admin-page-description,
.sbs-admin-page > .description,
#yatoon-dashboard-wrap > p {
  margin: 0 0 18px !important;
  color: var(--yatoon-admin-muted) !important;
  font-size: 13px !important;
}

.sbs-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid var(--yatoon-admin-line);
  border-radius: 14px;
  background: #fff;
}

.sbs-table-search,
.sbs-table-actions,
.yd-actions-row,
.yd-readiness-actions,
.yd-official-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sbs-table-toolbar input,
.sbs-table-toolbar select,
.sbs-admin-page input[type="text"],
.sbs-admin-page input[type="search"],
.sbs-admin-page input[type="number"],
.sbs-admin-page input[type="email"],
.sbs-admin-page input[type="tel"],
.sbs-admin-page select,
.sbs-admin-page textarea {
  border-color: #d8dee8 !important;
  border-radius: 10px !important;
}

.sbs-admin-table-wrap {
  border: 1px solid var(--yatoon-admin-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 24, 33, .04);
}

.sbs-admin-table-wrap .wp-list-table {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

.sbs-admin-table-wrap .wp-list-table th,
.sbs-admin-table-wrap .wp-list-table td,
#yatoon-dashboard-wrap th,
#yatoon-dashboard-wrap td {
  border-color: #eef1f5 !important;
  vertical-align: middle !important;
}

.sbs-admin-table-wrap .wp-list-table thead th,
#yatoon-dashboard-wrap th {
  background: #f8fafc !important;
  color: #667085 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.sbs-row-muted,
.yd-sub,
.sbs-admin-page small {
  color: #8b95a6 !important;
}

.sbs-col-check {
  width: 36px !important;
}

.sbs-col-drag {
  width: 52px !important;
}

.sbs-drag-handle {
  color: #98a2b3 !important;
  cursor: grab !important;
  text-align: center !important;
  font-size: 18px !important;
  letter-spacing: -3px;
}

.sbs-toggle-options {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin-top: 8px !important;
}

.sbs-toggle-options .dashicons {
  width: 14px !important;
  height: 14px !important;
  font-size: 14px !important;
}

.sbs-rule-pill,
.sbs-payment-badge,
[class^="sbs-status-"],
[class*=" sbs-status-"] {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #5b6474;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.sbs-status-confirmed,
.sbs-payment-deposit_paid,
.sbs-payment-paid_square_pos {
  background: #e8f7ef;
  color: #147a49;
}

.sbs-status-pending,
.sbs-payment-unpaid {
  background: #fff5dc;
  color: #946200;
}

.sbs-status-noshow,
.sbs-status-cancelled {
  background: #feeceb;
  color: #b42318;
}

#sbs-category-modal,
#sbs-copy-addon-modal,
#sbs-service-modal {
  backdrop-filter: blur(4px);
}

#sbs-category-modal > div,
#sbs-copy-addon-modal > div,
#sbs-service-modal > div {
  border: 1px solid var(--yatoon-admin-line) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 70px rgba(20, 24, 33, .22) !important;
}

#yatoon-dashboard-wrap .yd-section-grid {
  gap: 18px !important;
}

#yatoon-dashboard-wrap .yd-panel,
#yatoon-dashboard-wrap .yd-kpi,
#yatoon-dashboard-wrap .yd-readiness,
#yatoon-dashboard-wrap .yd-official {
  border-radius: 16px !important;
  border-color: var(--yatoon-admin-line) !important;
}

#yatoon-dashboard-wrap .yd-panel-spaced {
  margin-top: 16px !important;
}

#yatoon-dashboard-wrap .yd-kpi-value.yd-risk-high { color: #dc2626 !important; }
#yatoon-dashboard-wrap .yd-kpi-value.yd-risk-mid { color: #d97706 !important; }
#yatoon-dashboard-wrap .yd-kpi-value.yd-risk-low { color: #111827 !important; }

#yatoon-dashboard-wrap .yd-chart-note {
  margin: 8px 0 0 !important;
}

#yatoon-dashboard-wrap .yd-table-empty {
  padding: 24px 18px !important;
  text-align: center !important;
}

#yatoon-dashboard-wrap .yd-attention-unpaid { color: #d97706 !important; }
#yatoon-dashboard-wrap .yd-attention-recall { color: #7c3aed !important; }

#yatoon-dashboard-wrap .yd-noshow-warn a {
  color: #991b1b !important;
  font-weight: 800;
}

#yatoon-dashboard-wrap .yd-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#yatoon-dashboard-wrap .yd-pro-gate {
  border-radius: 16px !important;
}

@media (max-width: 782px) {
  .sbs-venue-trust-strip {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: -6px 0 14px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sbs-venue-trust-strip::-webkit-scrollbar {
    display: none;
  }

  .sbs-venue-trust-strip > div {
    flex: 0 0 210px;
    padding: 10px 12px;
  }

  .sbs-popular-picks {
    margin-top: 14px;
  }

  .sbs-popular-picks-head strong {
    font-size: 15px;
  }

  .sbs-popular-picks-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 2px;
  }

  .sbs-popular-pick {
    min-height: 72px;
    padding: 12px 13px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .05);
  }

  .sbs-popular-pick:only-child {
    grid-column: 1 / -1;
  }

  .sbs-popular-pick-name {
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .sbs-popular-pick-meta {
    font-size: 11px;
    line-height: 1.25;
  }

  .sbs-date-shortcuts {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .sbs-date-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .sbs-booking-container {
    max-width: calc(100vw - 32px) !important;
    padding: 18px 10px 96px !important;
    border-radius: 18px !important;
  }

  .sbs-booking-steps {
    margin-bottom: 22px !important;
    padding: 0 4px !important;
  }

  .sbs-step-title {
    font-size: 10px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .sbs-step-bubble {
    width: 30px !important;
    height: 30px !important;
  }

  .sbs-form-step h3,
  .sbs-page-title,
  #sbs-main-title {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.12 !important;
  }

  .sbs-service-item,
  .sbs-option-item,
  .sbs-staff-card {
    border-radius: 13px !important;
    padding: 14px !important;
  }

  .sbs-service-header {
    gap: 10px;
  }

  .sbs-booking-layout {
    display: block !important;
  }

  .sbs-booking-main {
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .sbs-booking-sidebar {
    position: static !important;
    margin-top: 18px !important;
  }

  .sbs-venue-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
  }

  .sbs-venue-proof {
    justify-content: flex-start;
    max-width: none;
  }

  .sbs-category-tabs-wrap {
    top: 0;
    margin-inline: -16px !important;
    padding-inline: 16px !important;
  }

  .sbs-service-header {
    grid-template-columns: 1fr !important;
  }

  .sbs-book-btn {
    min-width: 74px;
    justify-self: start;
  }

  .yatoon-toast-region {
    right: 12px;
    bottom: 88px;
    width: calc(100vw - 24px);
  }

  .sbs-portal-banner,
  .sbs-step-header-row,
  .sbs-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sbs-table-search,
  .sbs-table-actions,
  .yd-actions-row,
  .yd-readiness-actions {
    width: 100%;
  }

  .sbs-table-toolbar input,
  .sbs-table-toolbar select,
  .sbs-table-toolbar .button,
  .yd-actions-row .button {
    width: 100%;
    max-width: none;
  }

  #sbs-mobile-cart-bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  #sbs-cart-next-btn {
    width: auto;
    min-width: 92px;
  }

  #yatoon-dashboard-wrap .yd-pro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .sbs-popular-picks-rail {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-service-item,
  .sbs-option-item,
  .sbs-staff-card,
  .sbs-time-slot,
  .sbs-book-btn,
  .sbs-btn,
  .yatoon-toast {
    transition: none !important;
    animation: none !important;
  }
}

/* 3.2.0 mobile rollback: preserve the original storefront card rhythm. */
@media (max-width: 782px) {
  .sbs-service-item .sbs-service-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(86px, 26vw, 124px) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  .sbs-service-item .sbs-service-content,
  .sbs-service-item .sbs-service-header > div:first-child {
    min-width: 0 !important;
  }

  .sbs-service-right-col {
    display: grid !important;
    justify-items: end !important;
    align-content: start !important;
    gap: 12px !important;
    width: clamp(86px, 26vw, 124px) !important;
  }

  .sbs-service-img-wrap {
    width: clamp(78px, 24vw, 112px) !important;
    height: clamp(78px, 24vw, 112px) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .sbs-service-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .sbs-service-right-col .sbs-book-btn,
  .sbs-service-item .sbs-book-btn {
    justify-self: end !important;
    min-width: 86px !important;
    width: clamp(86px, 26vw, 112px) !important;
    max-width: 124px !important;
    padding: 9px 14px !important;
    text-align: center !important;
  }

  .sbs-service-detail-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: start !important;
    padding: 16px !important;
  }

  .sbs-service-detail-image {
    order: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #f3f4f6 !important;
  }

  .sbs-service-detail-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .sbs-service-detail-copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .sbs-service-detail-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
  }

  #sbs-mobile-cart-bar,
  body.sbs-booking-immersive #sbs-mobile-cart-bar {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    min-height: 76px !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    border-width: 1px 0 0 !important;
    border-radius: 14px 14px 0 0 !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 -10px 26px rgba(20, 24, 33, .12) !important;
  }

  #sbs-mobile-drawer,
  body.sbs-booking-immersive #sbs-mobile-drawer {
    left: 0 !important;
    right: 0 !important;
    bottom: var(--sbs-mobile-bar-height, 76px) !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .sbs-mobile-flow-header,
  body.sbs-booking-immersive .sbs-mobile-flow-header {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 0 18px !important;
  }

  .sbs-option-item,
  body.sbs-booking-immersive .sbs-option-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 28px !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 16px !important;
  }

  .sbs-option-info {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  .sbs-option-price {
    grid-column: 2 !important;
    justify-self: end !important;
    min-width: max-content !important;
    margin-right: 2px !important;
    white-space: nowrap !important;
  }

  .sbs-option-check {
    position: static !important;
    grid-column: 3 !important;
    justify-self: end !important;
    transform: none !important;
    flex: 0 0 24px !important;
  }

  .sbs-related-options-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .sbs-related-options-head > span {
    justify-self: center !important;
  }

  .sbs-category-tabs-wrap,
  body.sbs-booking-immersive .sbs-category-tabs-wrap {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 -6px 16px !important;
    padding: 0 2px 8px !important;
    overflow: visible !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .sbs-category-tabs,
  body.sbs-booking-immersive .sbs-category-tabs {
    display: flex !important;
    gap: 5px !important;
    max-width: 100% !important;
    padding: 0 2px 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-padding-left: 2px !important;
    -webkit-overflow-scrolling: touch;
  }

  .sbs-cat-tab,
  .sbs-category-tab,
  body.sbs-booking-immersive .sbs-cat-tab {
    flex: 0 0 auto !important;
    min-height: 36px !important;
    max-width: 132px !important;
    padding: 7px 8px !important;
    font-size: clamp(8px, var(--sbs-cat-tab-sz, 12px), 12px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sbs-cat-tab.active,
  .sbs-category-tab.active,
  body.sbs-booking-immersive .sbs-cat-tab.active {
    max-width: 138px !important;
  }

  .sbs-cat-more-btn,
  #sbs-cat-more-btn,
  body.sbs-booking-immersive #sbs-cat-more-btn {
    min-width: 54px !important;
    max-width: 70px !important;
    padding-inline: 6px !important;
  }

  .sbs-cat-more-dropdown,
  body.sbs-booking-immersive .sbs-cat-more-dropdown {
    position: absolute !important;
    z-index: 999999 !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(55vh, 360px) !important;
    overflow-y: auto !important;
  }

  .sbs-cat-dropdown-item {
    min-height: 44px !important;
    white-space: normal !important;
  }
}

/* 3.3.1 Experience Polish: customer booking, merchant admin, and launch surfaces. */
:root {
  --yatoon-331-bg: #f7f8fb;
  --yatoon-331-card: #ffffff;
  --yatoon-331-ink: #10131a;
  --yatoon-331-muted: #737b8c;
  --yatoon-331-line: #e6e9ef;
  --yatoon-331-soft-pink: color-mix(in srgb, var(--yatoon-ui-primary) 8%, #fff);
  --yatoon-331-pink-line: color-mix(in srgb, var(--yatoon-ui-primary) 22%, #e6e9ef);
  --yatoon-331-radius: 18px;
  --yatoon-331-shadow: 0 16px 42px rgba(16,19,26,.08);
}

.sbs-booking-container {
  box-shadow: 0 22px 70px rgba(16,19,26,.08) !important;
}

.sbs-booking-main > h2,
.sbs-step-title,
.sbs-section-title,
.sbs-related-options-title,
.sbs-time-section-title {
  color: var(--sbs-heading-color, var(--yatoon-331-ink)) !important;
  font-family: var(--sbs-hfont, inherit) !important;
  letter-spacing: 0 !important;
}

.sbs-service-list,
.sbs-options-list,
.sbs-staff-grid,
.sbs-time-slots,
.sbs-checkout-form {
  gap: 14px !important;
}

.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-time-slot,
.sbs-form-group input,
.sbs-form-group textarea,
.sbs-form-group select {
  border-radius: var(--yatoon-331-radius) !important;
}

.sbs-service-item {
  background: linear-gradient(180deg, #fff 0%, #fffafd 100%) !important;
  border-color: var(--yatoon-331-pink-line) !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease !important;
}

.sbs-service-item:hover {
  transform: translateY(-1px);
}

.sbs-service-item .sbs-service-title,
.sbs-service-name,
.sbs-service-header h3 {
  color: var(--yatoon-331-ink) !important;
  font-weight: 750 !important;
}

.sbs-service-description,
.sbs-service-desc,
.sbs-option-desc,
.sbs-staff-bio {
  color: var(--yatoon-331-muted) !important;
  line-height: 1.55 !important;
}

.sbs-service-price,
.sbs-service-duration,
.sbs-option-price {
  font-weight: 650 !important;
}

.sbs-service-price,
.sbs-option-price {
  color: var(--yatoon-ui-primary) !important;
}

.sbs-service-img-wrap,
.sbs-service-thumb,
.ybs-svc-hero {
  border: 1px solid rgba(230,233,239,.92);
  box-shadow: 0 10px 24px rgba(16,19,26,.06);
}

.sbs-book-btn,
.sbs-btn-next,
.sbs-btn-submit,
#sbs-cart-next-btn,
.sbs-text-submit-btn {
  background: linear-gradient(135deg, var(--yatoon-ui-primary), color-mix(in srgb, var(--yatoon-ui-primary) 78%, #7c2d63)) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--yatoon-ui-primary) 26%, transparent) !important;
  font-weight: 800 !important;
}

.sbs-btn-back,
#sbs-cart-back-btn,
.sbs-text-cancel-btn {
  border: 1px solid var(--yatoon-331-line) !important;
  background: #fff !important;
  color: #202635 !important;
  box-shadow: 0 8px 18px rgba(16,19,26,.04) !important;
}

.sbs-category-tabs-wrap {
  border-radius: 0 !important;
}

.sbs-category-tabs {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.sbs-cat-tab,
.sbs-category-tab,
.sbs-cat-more-btn,
#sbs-cat-more-btn {
  border: 1px solid var(--yatoon-331-line) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(16,19,26,.04) !important;
}

.sbs-cat-tab.active,
.sbs-category-tab.active {
  border-color: #111827 !important;
  background: #111827 !important;
  color: #fff !important;
}

.sbs-cat-more-dropdown {
  border: 1px solid var(--yatoon-331-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(16,19,26,.16) !important;
}

.sbs-option-item {
  background: #fff !important;
}

.sbs-option-item.selected {
  border-color: color-mix(in srgb, var(--yatoon-ui-primary) 45%, #fff) !important;
}

.sbs-option-check,
.sbs-radio-dot,
.sbs-checkbox-dot {
  border-width: 2px !important;
}

.sbs-time-slot {
  background: #fff !important;
  min-height: 46px !important;
  font-weight: 800 !important;
}

.sbs-time-slot.selected,
.sbs-time-slot:active {
  background: #111827 !important;
  color: #fff !important;
}

.sbs-booking-summary,
.sbs-booking-sidebar,
.sbs-checkout-card {
  border-radius: 24px !important;
  border-color: var(--yatoon-331-pink-line) !important;
  box-shadow: 0 18px 52px rgba(16,19,26,.08) !important;
}

.sbs-summary-item,
.sbs-checkout-appt-card,
.sbs-cart-line,
.sbs-drawer-item {
  border-radius: 14px !important;
}

.sbs-form-group input:focus,
.sbs-form-group textarea:focus,
.sbs-form-group select:focus {
  border-color: var(--yatoon-ui-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatoon-ui-primary) 14%, transparent) !important;
}

.sbs-success-card {
  box-shadow: var(--yatoon-331-shadow);
}

#sbs-mobile-cart-bar {
  min-height: 82px !important;
}

#sbs-mobile-cart-bar .sbs-mobile-cart-title,
#sbs-mobile-cart-bar strong {
  color: var(--yatoon-331-ink) !important;
}

/* Merchant admin polish for the daily-use surfaces. */
.yatoon-admin-page,
#yatoon-dashboard-wrap,
#yatoon-setup-wizard,
.wrap:has(.sbs-services-toolbar),
.wrap:has(#sbs-bookings-table),
.wrap:has(#sbs-services-table) {
  color: var(--yatoon-331-ink);
}

#yatoon-dashboard-wrap h1,
.yatoon-admin-page h1,
#yatoon-setup-wizard h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.yatoon-admin-subtitle,
#yatoon-dashboard-wrap .yd-sub,
#yatoon-dashboard-wrap .yd-check-meta {
  color: var(--yatoon-331-muted) !important;
}

#yatoon-dashboard-wrap .yd-kpi,
#yatoon-dashboard-wrap .yd-panel,
#yatoon-dashboard-wrap .yd-readiness,
#yatoon-dashboard-wrap .yd-official,
.sbs-admin-page .postbox,
.yatoon-admin-page .postbox,
.sbs-card,
.yatoon-card {
  border: 1px solid var(--yatoon-331-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(16,19,26,.06) !important;
}

#yatoon-dashboard-wrap .yd-kpi {
  position: relative;
  overflow: hidden;
}

#yatoon-dashboard-wrap .yd-kpi::after {
  content: "";
  position: absolute;
  inset: auto -24px -42px auto;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: var(--yatoon-331-soft-pink);
}

#yatoon-dashboard-wrap .yd-kpi-value {
  position: relative;
  z-index: 1;
  font-weight: 850 !important;
}

#yatoon-dashboard-wrap .yd-panel-head,
#yatoon-dashboard-wrap .yd-readiness-head {
  background: linear-gradient(180deg, #fff, #fbfcfe) !important;
}

#yatoon-dashboard-wrap table,
.wp-list-table {
  border-radius: 16px;
  overflow: hidden;
}

#yatoon-dashboard-wrap th,
.wp-list-table thead th {
  background: #f8fafc !important;
  color: #697386 !important;
  font-weight: 800 !important;
}

#yatoon-dashboard-wrap td,
.wp-list-table td {
  vertical-align: middle;
}

.wp-core-ui .button,
.wp-core-ui .button-primary {
  border-radius: 999px;
  font-weight: 700;
}

.wp-core-ui .button-primary {
  background: var(--yatoon-ui-primary) !important;
  border-color: var(--yatoon-ui-primary) !important;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--yatoon-ui-primary) 22%, transparent) !important;
}

.sbs-services-toolbar,
.sbs-bookings-toolbar,
.yatoon-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px !important;
  margin: 16px 0 !important;
  border: 1px solid var(--yatoon-331-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,19,26,.05);
}

.sbs-services-toolbar input,
.sbs-services-toolbar select,
.sbs-bookings-toolbar input,
.sbs-bookings-toolbar select,
.yatoon-admin-toolbar input,
.yatoon-admin-toolbar select {
  min-height: 38px;
  border-radius: 12px !important;
  border-color: var(--yatoon-331-line) !important;
}

#yatoon-setup-wizard .yw-card,
#yatoon-setup-wizard form,
#yatoon-setup-wizard .yw-complete {
  border-radius: 22px !important;
  box-shadow: 0 18px 52px rgba(16,19,26,.08) !important;
}

@media (max-width: 782px) {
  .sbs-booking-container {
    max-width: calc(100vw - 18px) !important;
    border-radius: 20px !important;
  }

  .sbs-booking-main {
    padding: 16px !important;
  }

  .sbs-service-item {
    border-radius: 20px !important;
  }

  .sbs-service-description,
  .sbs-service-desc {
    font-size: clamp(14px, 3.8vw, 16px) !important;
  }

  .sbs-book-btn {
    min-height: 44px !important;
  }

  #yatoon-dashboard-wrap .yd-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .wp-core-ui .button,
  .wp-core-ui .button-primary {
    min-height: 38px;
  }
}

@media (max-width: 430px) {
  #yatoon-dashboard-wrap .yd-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .sbs-service-price,
  .sbs-option-price {
    font-weight: 600 !important;
  }
}

/* 3.3.1 Admin workbench details. */
.wrap h1 + .page-title-action,
.yatoon-admin-page h1 + .page-title-action {
  border-radius: 999px !important;
  border-color: var(--yatoon-331-line) !important;
}

.sbs-stat-card,
.sbs-metric-card,
.yatoon-stat-card,
.yatoon-metric-card {
  border: 1px solid var(--yatoon-331-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(16,19,26,.06) !important;
}

.sbs-status,
.sbs-status-badge,
.yatoon-status,
.yatoon-badge,
.sbs-payment-status,
.sbs-category-count,
.yd-pro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.sbs-status-confirmed,
.sbs-status-completed,
.yatoon-status-confirmed,
.yatoon-status-completed {
  background: #dcfce7 !important;
  color: #166534 !important;
}

.sbs-status-pending,
.yatoon-status-pending {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.sbs-status-cancelled,
.sbs-status-no_show,
.yatoon-status-cancelled,
.yatoon-status-no_show {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

.sbs-modal-content,
.yatoon-modal-content,
#sbs-service-modal > div,
#sbs-category-modal > div,
#sbs-booking-modal > div {
  border-radius: 24px !important;
  border: 1px solid rgba(229,231,235,.92) !important;
  box-shadow: 0 28px 80px rgba(16,19,26,.24) !important;
}

.sbs-modal-content h2,
.yatoon-modal-content h2,
#sbs-service-modal h2,
#sbs-category-modal h2,
#sbs-booking-modal h2 {
  letter-spacing: 0 !important;
  font-weight: 800 !important;
}

.sbs-modal-content input,
.sbs-modal-content textarea,
.sbs-modal-content select,
.yatoon-modal-content input,
.yatoon-modal-content textarea,
.yatoon-modal-content select,
#sbs-service-modal input,
#sbs-service-modal textarea,
#sbs-service-modal select,
#sbs-category-modal input,
#sbs-category-modal select,
#sbs-booking-modal input,
#sbs-booking-modal textarea,
#sbs-booking-modal select {
  border-radius: 12px !important;
  border-color: var(--yatoon-331-line) !important;
}

.sbs-modal-content input:focus,
.sbs-modal-content textarea:focus,
.sbs-modal-content select:focus,
.yatoon-modal-content input:focus,
.yatoon-modal-content textarea:focus,
.yatoon-modal-content select:focus,
#sbs-service-modal input:focus,
#sbs-service-modal textarea:focus,
#sbs-service-modal select:focus,
#sbs-category-modal input:focus,
#sbs-category-modal select:focus,
#sbs-booking-modal input:focus,
#sbs-booking-modal textarea:focus,
#sbs-booking-modal select:focus {
  border-color: var(--yatoon-ui-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatoon-ui-primary) 14%, transparent) !important;
}

.form-table th {
  color: #202635;
  font-weight: 750;
}

.form-table td p.description,
.description {
  color: var(--yatoon-331-muted);
  line-height: 1.45;
}

.sbs-card h2,
.yatoon-card h2,
.postbox h2,
.postbox .hndle {
  letter-spacing: 0 !important;
}

#yatoon-setup-wizard {
  color: var(--yatoon-331-ink);
}

#yatoon-setup-wizard .yw-step,
#yatoon-setup-wizard .yw-progress,
#yatoon-setup-wizard .yw-option,
#yatoon-setup-wizard .yw-field {
  border-radius: 16px !important;
}

#yatoon-setup-wizard .yw-btn,
#yatoon-setup-wizard button,
#yatoon-setup-wizard .button {
  border-radius: 999px !important;
}

/* 3.3.2 LocalWP QA polish: immersive page, time picker, and mobile action bar. */
body.sbs-booking-immersive .wp-block-post-title,
body.sbs-booking-immersive .entry-title,
body.sbs-booking-immersive main > h1:first-child,
body.sbs-booking-immersive .wp-site-blocks > main > .wp-block-group:first-child:has(h1:only-child) {
  display: none !important;
}

body.sbs-booking-immersive .wp-site-blocks,
body.sbs-booking-immersive main,
body.sbs-booking-immersive .entry-content,
body.sbs-booking-immersive .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.sbs-booking-immersive .sbs-booking-container {
  margin-top: clamp(10px, 2.4vw, 24px) !important;
}

body.sbs-booking-immersive #sbs-progress-bar.sbs-progress-bar {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  padding: 8px 2px 12px !important;
  scrollbar-width: thin !important;
}

body.sbs-booking-immersive #sbs-progress-bar.sbs-progress-bar[style*="display: block"] {
  display: flex !important;
}

body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-step {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-dot,
body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-label {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-line {
  flex: 1 1 24px !important;
  min-width: 18px !important;
  max-width: 54px !important;
}

.sbs-form-step.sbs-step-4 .sbs-calendar-container,
.sbs-calendar-container {
  border-color: var(--yatoon-331-pink-line) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%) !important;
  box-shadow: 0 16px 44px rgba(16,19,26,.07) !important;
}

.sbs-calendar-header {
  border-radius: 18px !important;
  background: #fff !important;
}

.sbs-calendar-days {
  gap: 10px !important;
  padding-bottom: 4px !important;
}

.sbs-calendar-day,
.sbs-date-pill,
.sbs-day-card {
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(16,19,26,.05) !important;
}

.sbs-time-slots {
  border-radius: 22px !important;
  background: #fff !important;
}

.sbs-availability-empty,
.sbs-empty-state,
.sbs-no-availability {
  border: 1px dashed color-mix(in srgb, var(--yatoon-ui-primary) 28%, #e5e7eb) !important;
  border-radius: 22px !important;
  background: var(--yatoon-331-soft-pink) !important;
}

@media (max-width: 782px) {
  body.sbs-booking-immersive {
    background: #fff !important;
  }

  body.sbs-booking-immersive .sbs-booking-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.sbs-booking-immersive .sbs-venue-hero {
    margin-top: 0 !important;
    border-radius: 22px !important;
  }

  body.sbs-booking-immersive .sbs-calendar-container {
    border-radius: 22px !important;
  }

  body.sbs-booking-immersive #sbs-progress-bar.sbs-progress-bar {
    display: none !important;
  }

  body.sbs-booking-immersive #sbs-mobile-cart-bar {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 74px !important;
    border: 1px solid rgba(229,231,235,.94) !important;
    border-bottom: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    box-shadow: 0 -8px 28px rgba(16,19,26,.14) !important;
    overflow: hidden !important;
  }

  body.sbs-booking-immersive #sbs-cart-next-btn[aria-disabled="true"],
  body.sbs-booking-immersive #sbs-cart-next-btn.is-disabled {
    opacity: .78 !important;
    cursor: pointer !important;
  }

  body.sbs-booking-immersive #sbs-cart-back-btn,
  body.sbs-booking-immersive #sbs-cart-next-btn {
    min-width: 76px !important;
  }

  body.sbs-booking-immersive #sbs-cart-next-btn {
    min-width: 116px !important;
  }
}

/* Keep the 5-step booking progress fully inside narrow iPhone viewports. */
.sbs-progress-bar,
body.sbs-booking-immersive #sbs-progress-bar.sbs-progress-bar {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: max(10px, env(safe-area-inset-left)) !important;
  padding-right: max(10px, env(safe-area-inset-right)) !important;
  overflow: visible !important;
}

.sbs-progress-bar .sbs-prog-step,
body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-step {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.sbs-progress-bar .sbs-prog-dot,
body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-dot {
  box-sizing: border-box !important;
  width: clamp(24px, 7vw, 30px) !important;
  height: clamp(24px, 7vw, 30px) !important;
  min-width: clamp(24px, 7vw, 30px) !important;
  font-size: clamp(11px, 3vw, 12px) !important;
}

.sbs-progress-bar .sbs-prog-line,
body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-line {
  flex: 1 1 clamp(8px, 6vw, 44px) !important;
  min-width: 8px !important;
  max-width: 48px !important;
  align-self: center !important;
  margin: 0 !important;
  top: auto !important;
  transform: none !important;
}

@media (max-width: 390px) {
  .sbs-progress-bar,
  body.sbs-booking-immersive #sbs-progress-bar.sbs-progress-bar {
    gap: 2px !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
  }

  .sbs-progress-bar .sbs-prog-line,
  body.sbs-booking-immersive #sbs-progress-bar .sbs-prog-line {
    flex-basis: clamp(7px, 4.8vw, 24px) !important;
    min-width: 7px !important;
  }
}

@media (max-width: 390px) {
  body.sbs-booking-immersive #sbs-mobile-cart-bar {
    grid-template-columns: 70px minmax(0, 1fr) 108px !important;
    gap: 6px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.sbs-booking-immersive #sbs-cart-back-btn,
  body.sbs-booking-immersive #sbs-cart-next-btn {
    padding-inline: 10px !important;
    font-size: 12px !important;
  }
}

/* 3.3.4 Customer booking app polish */
.sbs-date-shortcuts {
  gap: 8px !important;
  padding: 4px 0 10px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.sbs-date-shortcuts::-webkit-scrollbar {
  display: none !important;
}

.sbs-date-shortcut {
  min-height: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(229,231,235,.9) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.04) !important;
  font-weight: 800 !important;
}

.sbs-date-shortcut:hover,
.sbs-date-shortcut:focus,
.sbs-date-shortcut.active {
  border-color: color-mix(in srgb, var(--yatoon-ui-primary) 34%, #e5e7eb) !important;
  background: var(--yatoon-331-soft-pink) !important;
  color: #9d174d !important;
}

.sbs-availability-empty,
.sbs-empty-state,
.sbs-no-availability {
  padding: clamp(18px, 4vw, 30px) !important;
  text-align: center !important;
}

.sbs-empty-actions,
.sbs-availability-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.sbs-empty-actions button,
.sbs-availability-actions button,
.sbs-empty-actions a,
.sbs-availability-actions a {
  min-height: 42px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
  font-weight: 900 !important;
}

#sbs-mobile-cart-bar {
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
}

#sbs-cart-avatar {
  border-radius: 18px !important;
  box-shadow: 0 10px 22px rgba(236,72,153,.18) !important;
}

#sbs-cart-name,
#sbs-cart-meta {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#sbs-cart-next-btn,
#sbs-cart-expand-btn {
  border-radius: 999px !important;
  font-weight: 900 !important;
}

.sbs-success-message {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid color-mix(in srgb, var(--yatoon-ui-primary) 18%, #e5e7eb) !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #fff 0%, var(--yatoon-331-soft-pink) 100%) !important;
  box-shadow: 0 18px 50px rgba(15,23,42,.08) !important;
}

.sbs-success-actions a,
.sbs-success-actions button,
.sbs-success-cal-btns a,
.sbs-rebooking-btn {
  min-height: 42px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
}

.sbs-sidebar-empty-guide {
  border-style: dashed !important;
  border-color: color-mix(in srgb, var(--yatoon-ui-primary) 22%, #e5e7eb) !important;
  border-radius: 22px !important;
  background: #fff !important;
}

/* 3.3.5 SaaS polish: cleaner booking flow and easier mobile scanning. */
.sbs-booking-container,
.sbs-booking-main,
.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-calendar-container,
.sbs-time-slots,
.sbs-summary-card,
.sbs-success-message {
  color: #111827;
}

.sbs-form-step h3,
.sbs-step-section-title,
.sbs-category-title,
.sbs-service-name,
.sbs-option-name {
  letter-spacing: 0 !important;
}

.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-day-button,
.sbs-time-slot {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease !important;
}

.sbs-service-item:hover,
.sbs-option-item:hover,
.sbs-staff-card:hover,
.sbs-day-button:hover,
.sbs-time-slot:hover {
  box-shadow: 0 12px 30px rgba(15,23,42,.07) !important;
}

.sbs-service-item.selected,
.sbs-option-item.selected,
.sbs-staff-card.selected,
.sbs-day-button.selected,
.sbs-time-slot.selected {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yatoon-ui-primary) 18%, transparent), 0 14px 34px rgba(15,23,42,.08) !important;
}

.sbs-service-description,
.sbs-service-desc,
.sbs-option-description,
.sbs-staff-bio {
  color: #4b5563 !important;
  line-height: 1.55 !important;
}

.sbs-book-btn,
.sbs-continue-btn,
.sbs-back-btn,
.sbs-add-more-btn,
.sbs-confirm-btn,
.sbs-submit-btn {
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.sbs-price,
.sbs-service-price,
.sbs-option-price {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 782px) {
  .sbs-form-step {
    scroll-margin-top: 14px;
  }

  .sbs-step-section-title {
    font-size: clamp(22px, 7vw, 30px) !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
  }

  .sbs-step-helper,
  .sbs-section-helper,
  .sbs-service-description,
  .sbs-service-desc {
    font-size: 14px !important;
  }

  .sbs-service-item,
  .sbs-option-item,
  .sbs-staff-card {
    border-radius: 18px !important;
  }

  .sbs-service-item {
    padding: 16px !important;
  }

  .sbs-service-name,
  .sbs-option-name {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .sbs-book-btn,
  .sbs-continue-btn,
  .sbs-back-btn,
  .sbs-add-more-btn,
  .sbs-confirm-btn,
  .sbs-submit-btn {
    min-height: 46px !important;
  }
}

@media (max-width: 390px) {
  .sbs-booking-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .sbs-service-item,
  .sbs-option-item,
  .sbs-staff-card {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  .sbs-service-name,
  .sbs-option-name {
    overflow-wrap: anywhere;
  }
}

/* 3.3.10 storefront spacing and configurable Popular Picks counts */
.sbs-category-tabs-wrap,
body.sbs-booking-immersive .sbs-category-tabs-wrap {
  margin-bottom: clamp(22px, 5vw, 38px) !important;
  padding-bottom: 0 !important;
}

.sbs-category-tabs-wrap + .sbs-category-title,
.sbs-category-tabs-wrap + [class*="sbs-category-title"],
body.sbs-booking-immersive .sbs-category-tabs-wrap + .sbs-category-title {
  margin-top: clamp(18px, 4.5vw, 34px) !important;
}

@media (max-width: 782px) {
  .sbs-category-tabs-wrap,
  body.sbs-booking-immersive .sbs-category-tabs-wrap {
    margin-bottom: 18px !important;
  }

  .sbs-category-tabs-wrap + .sbs-category-title,
  .sbs-category-tabs-wrap + [class*="sbs-category-title"],
  body.sbs-booking-immersive .sbs-category-tabs-wrap + .sbs-category-title {
    margin-top: 16px !important;
  }

  .sbs-popular-picks .sbs-popular-pick {
    display: block !important;
  }

}

/* v3.3.12 final override anchor. */
.sbs-booking-container,
.sbs-booking-main,
.sbs-booking-sidebar,
.sbs-service-item,
.sbs-option-item,
.sbs-staff-card,
.sbs-checkout-card,
.sbs-time-slot,
.sbs-popular-pick {
  box-shadow: none !important;
}

.sbs-popular-picks-rail {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  gap: 8px !important;
}

.sbs-popular-pick {
  min-height: 62px !important;
  padding: 10px 12px !important;
  border: 1px solid #e7e9ee !important;
  border-radius: 10px !important;
  background: #fff !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

.sbs-popular-pick:hover,
.sbs-popular-pick:focus-visible {
  border-color: #0a0a0a !important;
  background: #f6f7f8 !important;
  box-shadow: 0 0 0 2px #0a0a0a inset, 0 8px 18px rgba(15,23,42,.08) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
}

.sbs-popular-pick-name {
  font-size: 13px !important;
  line-height: 1.18 !important;
}

.sbs-popular-pick-meta {
  margin-top: 4px !important;
  font-size: 11px !important;
}

#sbs-mobile-cart-bar {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  border-top: 1px solid #e7e9ee !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 -6px 18px rgba(15,23,42,.08) !important;
}

#sbs-cart-next-btn {
  background: #0a0a0a !important;
  color: #fff !important;
}

@media (max-width: 760px) {
  .sbs-booking-container {
    max-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .sbs-booking-layout {
    display: block !important;
  }

  .sbs-booking-main {
    padding: 16px 14px calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .sbs-booking-sidebar,
  .sbs-venue-hero,
  .sbs-venue-trust-strip,
  .sbs-location-banner {
    display: none !important;
  }

  .sbs-service-name,
  .sbs-staff-name {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .sbs-popular-picks-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .sbs-popular-picks .sbs-popular-pick {
    display: block !important;
  }

  .sbs-popular-pick {
    min-height: 72px !important;
    padding: 10px !important;
  }

  .sbs-popular-pick-name {
    font-size: 12px !important;
  }

  .sbs-popular-pick-meta {
    font-size: 10.5px !important;
    line-height: 1.18 !important;
  }

  .sbs-popular-pick-mobile-hidden {
    display: none !important;
  }
}

/* 3.3.15 final clarity polish: tighter mobile flow, cleaner cards, clearer actions. */
.sbs-booking-container {
  --yatoon-ui-focus: color-mix(in srgb, var(--yatoon-ui-primary) 26%, transparent);
}

.sbs-booking-steps {
  gap: 8px !important;
}

.sbs-step-bubble,
.sbs-category-tab,
.sbs-book-btn,
.sbs-time-slot,
.sbs-staff-card,
.sbs-option-item,
.sbs-service-item {
  -webkit-tap-highlight-color: transparent;
}

.sbs-service-item {
  border-radius: 16px !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.sbs-service-header {
  align-items: flex-start !important;
  gap: 12px !important;
}

.sbs-service-name {
  margin-right: auto !important;
  overflow-wrap: anywhere !important;
}

.sbs-book-btn.ybs-pill-btn,
.sbs-book-btn {
  min-width: 82px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

.sbs-category-tabs,
.sbs-category-tabs-wrap {
  overflow-y: visible !important;
}

.sbs-category-tab {
  min-height: 38px !important;
  white-space: nowrap !important;
}

.yatoon-ai-helper {
  border-radius: 16px !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.05) !important;
}

.yatoon-ai-helper.is-collapsed {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.yatoon-ai-helper.is-collapsed .yatoon-ai-toggle {
  min-height: 44px !important;
  width: 100% !important;
  justify-content: space-between !important;
}

.sbs-time-slot:focus-visible,
.sbs-book-btn:focus-visible,
.sbs-category-tab:focus-visible,
.sbs-staff-card:focus-visible,
.sbs-option-item:focus-visible,
.sbs-service-item:focus-visible {
  outline: 3px solid var(--yatoon-ui-focus) !important;
  outline-offset: 2px !important;
}

@media (max-width: 760px) {
  .sbs-booking-steps {
    margin: 0 0 18px !important;
    padding: 0 4px 12px !important;
    align-items: flex-start !important;
  }

  .sbs-step-track,
  .sbs-step-progress {
    top: 14px !important;
    left: 18px !important;
    right: 18px !important;
  }

  .sbs-step-bubble {
    width: 30px !important;
    height: 30px !important;
    border-width: 1.5px !important;
  }

  .sbs-step-number {
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .sbs-step-title {
    display: none !important;
    max-width: 72px !important;
    white-space: normal !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .sbs-step.active .sbs-step-title {
    display: block !important;
  }

  .sbs-form-step h3 {
    font-size: 22px !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
  }

  .sbs-category-tabs {
    gap: 8px !important;
    padding: 2px 2px 10px !important;
    scroll-padding-left: 2px !important;
  }

  .sbs-category-tab {
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }

  .sbs-service-item {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .sbs-service-header {
    align-items: flex-start !important;
  }

  .sbs-book-btn.ybs-pill-btn,
  .sbs-book-btn {
    min-width: 76px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
  }

  .ybs-svc-pills {
    gap: 6px !important;
  }

  .ybs-pill {
    min-height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .sbs-service-desc-wrap,
  .sbs-service-description,
  .sbs-service-desc {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .yatoon-ai-helper {
    margin: 0 0 14px !important;
  }

  .yatoon-ai-helper textarea {
    font-size: 16px !important;
    min-height: 82px !important;
  }
}

@media (max-width: 390px) {
  .sbs-service-header {
    gap: 8px !important;
  }

  .sbs-book-btn.ybs-pill-btn,
  .sbs-book-btn {
    min-width: 68px !important;
    padding: 0 12px !important;
  }
}

/* 3.3.16 release polish: cleaner touch rhythm, calmer admin gates, stronger fallbacks. */
:root {
  --yatoon-ui-focus: rgba(15, 23, 42, .18);
}

@supports (color: color-mix(in srgb, #000, #fff)) {
  :root {
    --yatoon-ui-focus: color-mix(in srgb, var(--yatoon-brand, #111827) 22%, transparent);
  }
}

.sbs-booking-wrapper,
.sbs-booking-container {
  text-rendering: optimizeLegibility;
}

.sbs-service-item,
.sbs-staff-card,
.sbs-option-item,
.sbs-time-slot,
.sbs-category-tab {
  backface-visibility: hidden;
}

.sbs-service-item:hover,
.sbs-staff-card:hover,
.sbs-option-item:hover {
  transform: translateY(-1px);
}

.sbs-book-btn,
.sbs-time-slot,
.sbs-category-tab,
.yatoon-ai-toggle,
.ybs-pill-btn {
  touch-action: manipulation;
}

.sbs-category-tabs-wrap {
  scrollbar-width: none;
}

.sbs-category-tabs-wrap::-webkit-scrollbar,
.sbs-category-tabs::-webkit-scrollbar {
  display: none;
}

.sbs-category-tab.active,
.sbs-category-tab.is-active,
.sbs-category-tab[aria-selected="true"] {
  color: #fff !important;
  text-shadow: none !important;
}

.yatoon-ai-helper .yatoon-ai-actions,
.yatoon-ai-helper .yatoon-ai-footer {
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.yatoon-ai-helper button,
.yatoon-ai-helper .button,
.sbs-book-btn,
.ybs-pill-btn {
  min-height: 42px !important;
}

.sbs-form-step input[type="text"],
.sbs-form-step input[type="email"],
.sbs-form-step input[type="tel"],
.sbs-form-step input[type="number"],
.sbs-form-step textarea,
.sbs-form-step select {
  min-height: 44px !important;
}

.sbs-pro-gate,
.yrr-pro-gate,
.yr-pro-banner,
.yatoon-admin-card,
.yatoon-card {
  border-radius: 14px !important;
  border-color: rgba(15, 23, 42, .09) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06) !important;
}

.sbs-pro-gate a,
.yrr-pro-gate a,
.yr-pro-banner a,
.yatoon-admin-card .button-primary,
.yatoon-card .button-primary {
  border-radius: 999px !important;
  min-height: 38px !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .sbs-booking-wrapper,
  .sbs-booking-container {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
  }

  .sbs-service-item {
    margin-bottom: 12px !important;
  }

  .sbs-service-header {
    min-height: 42px !important;
  }

  .sbs-service-name {
    line-height: 1.25 !important;
  }

  .sbs-category-tabs-wrap {
    margin-top: 2px !important;
    margin-bottom: 12px !important;
  }

  .sbs-category-tabs {
    align-items: center !important;
  }

  .sbs-category-tab {
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(15,23,42,.06) !important;
  }

  .sbs-book-btn,
  .ybs-pill-btn {
    min-height: 44px !important;
  }

  .sbs-form-actions,
  .sbs-step-actions {
    gap: 10px !important;
  }

  .sbs-form-actions .button,
  .sbs-step-actions .button,
  .sbs-form-actions button,
  .sbs-step-actions button {
    min-height: 46px !important;
  }
}

.sbs-day-button {
  position: relative;
  overflow: hidden;
}

.sbs-date-availability-meter {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .22);
  opacity: 0;
  pointer-events: none;
}

.sbs-date-availability-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #22c55e;
  transition: width .18s ease, background .18s ease;
}

.sbs-availability-checking .sbs-date-availability-meter,
.sbs-availability-none .sbs-date-availability-meter,
.sbs-availability-low .sbs-date-availability-meter,
.sbs-availability-medium .sbs-date-availability-meter,
.sbs-availability-high .sbs-date-availability-meter {
  opacity: 1;
}

.sbs-availability-checking .sbs-date-availability-meter span {
  width: 35%;
  background: #94a3b8;
}

.sbs-availability-none .sbs-date-availability-meter span {
  width: 100%;
  background: #ef4444;
}

.sbs-availability-low .sbs-date-availability-meter span {
  width: 34%;
  background: #84cc16;
}

.sbs-availability-medium .sbs-date-availability-meter span {
  width: 66%;
  background: #22c55e;
}

.sbs-availability-high .sbs-date-availability-meter span {
  width: 100%;
  background: #16a34a;
}

/* 4.1.2 mobile booking density polish. Keep this last so it wins over legacy layers. */
@media (max-width: 768px) {
  body:not(.sbs-booking-immersive) .sbs-booking-container {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: auto !important;
    padding: 6px 16px 18px !important;
    background: var(--sbs-plugin-bg, #f5f5f7) !important;
    border-radius: 0 !important;
  }

  body.sbs-booking-immersive .sbs-booking-container {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: auto !important;
    padding: 6px 16px max(18px, env(safe-area-inset-bottom)) !important;
    background: var(--sbs-plugin-bg, #f5f5f7) !important;
    border-radius: 0 !important;
  }

  .sbs-booking-main,
  body.sbs-booking-immersive .sbs-booking-main {
    padding: 8px 10px 18px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: var(--sbs-plugin-card-bg, #ffffff) !important;
    border-radius: 12px !important;
  }

  .sbs-mobile-flow-header,
  body.sbs-booking-immersive .sbs-mobile-flow-header {
    min-height: 0 !important;
    margin: -2px -10px 10px !important;
    padding: 9px 10px 10px !important;
    gap: 8px !important;
  }

  .sbs-mobile-flow-header strong,
  body.sbs-booking-immersive .sbs-mobile-flow-header strong {
    font-size: 16px !important;
    line-height: 1.14 !important;
  }

  .sbs-mobile-flow-step,
  body.sbs-booking-immersive .sbs-mobile-flow-step {
    margin-bottom: 1px !important;
    font-size: 11px !important;
  }

  .sbs-mobile-flow-count,
  body.sbs-booking-immersive .sbs-mobile-flow-count {
    padding: 6px 9px !important;
    font-size: 12px !important;
  }

  .sbs-appt-type-wrap {
    margin-bottom: 14px !important;
    padding: 2px 0 8px !important;
  }

  .sbs-appt-type-label {
    margin-bottom: 6px !important;
  }

  .sbs-appt-type-cards {
    gap: 7px !important;
  }

  .sbs-appt-type-card {
    min-height: 64px !important;
    padding: 9px 12px !important;
    border-radius: 14px !important;
  }

  .sbs-appt-type-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    font-size: 18px !important;
  }

  .yatoon-ai-helper.is-collapsed .yatoon-ai-toggle {
    margin-bottom: 12px !important;
    padding: 10px 12px !important;
  }

  .sbs-category-tabs-wrap {
    margin-left: -2px !important;
    margin-right: -2px !important;
    margin-bottom: 8px !important;
    padding: 0 2px 10px !important;
  }

  .sbs-category-tabs {
    width: max-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }

  .sbs-service-search-wrap {
    margin: 0 0 12px !important;
  }

  .sbs-category-title {
    margin: 12px 0 8px !important;
  }
}

/* 4.1.3 conversion polish: keep the 5-step flow, make each step feel lighter. */
.yatoon-instant-target {
  animation: yatoonInstantPulse 1.2s ease;
}

@keyframes yatoonInstantPulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, .28); }
  100% { box-shadow: 0 0 0 12px rgba(236, 72, 153, 0); }
}

.sbs-checkout-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: -2px 0 18px;
}

.sbs-checkout-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.sbs-checkout-trust-strip span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 999px;
  background: #16a34a;
  flex-shrink: 0;
}

.sbs-booking-main {
  padding-top: 12px !important;
}

.sbs-page-title,
#sbs-main-title,
#sbs-add-more-title {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .sbs-booking-main,
  body.sbs-booking-immersive .sbs-booking-main {
    padding-top: 4px !important;
  }

  .sbs-page-title,
  #sbs-main-title,
  #sbs-add-more-title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .sbs-service-desc-wrap {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #6b7280 !important;
    line-height: 1.35 !important;
  }

  .sbs-service-badges {
    margin-top: 6px !important;
    gap: 5px !important;
  }

  .sbs-service-badges span:not(:first-child) {
    display: none !important;
  }

  .sbs-service-img-wrap {
    width: 68px !important;
    height: 68px !important;
  }

  .sbs-service-right-col .sbs-book-btn {
    width: 68px !important;
    min-height: 34px !important;
    padding: 6px 4px !important;
    font-size: 11px !important;
  }

  .sbs-option-section-main,
  .sbs-option-section-addon,
  .sbs-design-upload-card,
  .yatoon-design-upload-card {
    margin-top: 10px !important;
  }

  .sbs-option-section-head {
    margin-bottom: 8px !important;
  }

  .sbs-checkout-trust-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: -2px 0 14px;
  }

  .sbs-checkout-trust-strip span {
    min-height: 0;
  }

  .sbs-category-tabs-wrap {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  .sbs-category-tabs-wrap::-webkit-scrollbar {
    display: none !important;
  }

  .sbs-staff-card-any {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
  }
}

/* YATOON 4.1.6 mobile booking card refresh */
.sbs-booking-container .ybs-svc-card-placeholder .ybs-svc-hero {
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.92) 0 10%, transparent 11%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.7) 0 7%, transparent 8%),
    linear-gradient(135deg, #ffe4ef 0%, #f9a8d4 46%, #fb7185 100%);
}

.sbs-booking-container .ybs-svc-hero-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.sbs-booking-container .ybs-svc-hero-fallback span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  color: #be185d;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(190,24,93,.18);
}

.sbs-booking-container .sbs-form-step.sbs-step-4 .sbs-calendar-header {
  width: fit-content;
}

.sbs-booking-container .sbs-form-step.sbs-step-4 .sbs-month-opener::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-sizing: border-box;
  background: linear-gradient(currentColor 0 0) 2px 3px / 8px 2px no-repeat;
}

@media (max-width: 640px) {
  .sbs-booking-container .sbs-form-step.sbs-step-1 > h3,
  .sbs-booking-container .sbs-form-step.sbs-step-3 > h3,
  .sbs-booking-container .sbs-form-step.sbs-step-4 > h3 {
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: 0;
    margin: 0 0 16px;
    color: #111827;
  }

  .sbs-booking-container .sbs-services-list {
    display: grid;
    gap: 14px;
  }

  .sbs-booking-container .sbs-service-item.ybs-svc-card {
    border-radius: 18px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.08) !important;
    background: #fff !important;
    overflow: hidden;
  }

  .sbs-booking-container .sbs-service-item.ybs-svc-card.selected {
    border-color: var(--primary-color, #ec4899) !important;
    box-shadow: 0 0 0 3px rgba(236,72,153,.16), 0 14px 34px rgba(15,23,42,.12) !important;
  }

  .sbs-booking-container .ybs-svc-hero {
    aspect-ratio: 1.9 / 1;
    min-height: 132px;
  }

  .sbs-booking-container .sbs-service-item.ybs-svc-card .sbs-service-layout {
    padding: 14px 16px 16px !important;
  }

  .sbs-booking-container .sbs-service-item.ybs-svc-card .sbs-service-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
  }

  .sbs-booking-container .sbs-service-item.ybs-svc-card .sbs-service-name {
    font-size: 18px !important;
    line-height: 1.22 !important;
  }

  .sbs-booking-container .sbs-book-btn.ybs-pill-btn {
    min-height: 36px;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .sbs-booking-container .sbs-form-step.sbs-step-4 .sbs-calendar-container {
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.07) !important;
    overflow: hidden !important;
  }

  .sbs-booking-container .sbs-form-step.sbs-step-4 .sbs-calendar-header {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 999px !important;
    padding: 4px !important;
    background: #f1f5f9 !important;
  }

  .sbs-booking-container .sbs-form-step.sbs-step-4 .sbs-view-toggle {
    min-height: 40px;
    border-radius: 999px !important;
    font-weight: 900 !important;
  }

  .sbs-booking-container .sbs-week-days {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(44px, 1fr)) !important;
    gap: 7px !important;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sbs-booking-container .sbs-day-button {
    min-width: 44px !important;
    min-height: 76px !important;
    border-radius: 16px !important;
  }

  .sbs-booking-container .sbs-month-view {
    width: 100% !important;
    padding: 8px 0 0 !important;
    overflow: hidden !important;
  }

  .sbs-booking-container .sbs-month-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .sbs-booking-container .sbs-month-dayname {
    min-width: 0 !important;
    padding: 2px 0 5px !important;
    font-size: 11px !important;
    overflow: hidden;
    text-overflow: clip;
  }

  .sbs-booking-container .sbs-month-cell.sbs-day-button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    font-size: 14px !important;
  }

  .sbs-booking-container .sbs-month-cell.empty {
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }

  .sbs-booking-container .sbs-service-right-col {
    justify-items: center !important;
    align-content: start !important;
  }

  .sbs-booking-container .sbs-service-right-col .sbs-book-btn,
  .sbs-booking-container .sbs-service-right-col .ybs-pill-btn {
    justify-self: center !important;
    margin-top: 22px !important;
    transform: none !important;
  }
}
