/* Модалка корзины */
.fresha-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.fresha-cart-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.fresha-cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.fresha-cart-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  max-height: min(90vh, 720px);
  background: #fff;
  border-radius: var(--fresha-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: var(--fresha-font-body);
  color: var(--fresha-text);
}

.fresha-cart-modal__dialog--time {
  max-width: min(92vw, 640px);
}

.fresha-cart-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--fresha-accent);
}

.fresha-cart-modal__title {
  flex: 1;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--fresha-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.fresha-cart-modal__back,
.fresha-cart-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--fresha-radius);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.fresha-cart-modal__clear {
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--fresha-radius);
  background: transparent;
  color: #fff;
  font-family: var(--fresha-font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.fresha-cart-modal__clear-icon {
  display: none;
}

.fresha-cart-modal__clear:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.fresha-cart-modal__clear:disabled {
  opacity: 0.55;
  cursor: default;
}

.fresha-cart-modal__back:hover,
.fresha-cart-modal__close:hover {
  background: rgba(255, 255, 255, 0.38);
}

.fresha-cart-modal__steps {
  padding: 0;
  background: var(--fresha-bg);
  border-bottom: 1px solid var(--fresha-border);
}

.fresha-cart-modal__steps[hidden] {
  display: none !important;
}

.fresha-cart-modal__steps-inner {
  display: flex;
  flex-wrap: nowrap;
}

.fresha-cart-modal__step {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 12px 8px;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--fresha-border);
  background: var(--fresha-bg);
  color: #a8a8a8;
  font-family: var(--fresha-font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.fresha-cart-modal__step:last-child {
  border-right: none;
}

.fresha-cart-modal__step:hover:not(:disabled):not(.is-current) {
  color: var(--fresha-heading);
  background: var(--fresha-bg-soft);
}

.fresha-cart-modal__step.is-current {
  position: relative;
  z-index: 1;
  border: 1px solid var(--fresha-accent);
  background: var(--fresha-accent-soft);
  color: var(--fresha-heading);
}

.fresha-cart-modal__step.is-disabled,
.fresha-cart-modal__step:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fresha-cart-modal__body {
  flex: 1;
  overflow: auto;
  padding: 20px 20px 12px;
}

.fresha-cart-modal__body .fresha-modal__auth {
  max-width: 420px;
  margin: 12px auto 0;
}

.fresha-cart-modal__body .fresha-modal__auth-meta {
  text-transform: none;
}

.fresha-cart-modal__desc {
  margin: 0 0 16px;
  color: var(--fresha-text);
  font-size: 14px;
  line-height: 1.5;
}

.fresha-cart-modal__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fresha-cart-modal__more-services {
  margin: 16px 0 0;
  text-align: center;
}

.fresha-cart-modal__more-services .theme-btn {
  width: 100%;
}

.fresha-cart-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fresha-border);
}

.fresha-cart-modal__item:first-child {
  padding-top: 0;
}

.fresha-cart-modal__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.fresha-cart-modal__item-info {
  flex: 1 1 auto;
  min-width: 0;
}

.fresha-cart-modal__item strong {
  display: block;
  margin: 0 0 2px;
  font-family: var(--fresha-font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fresha-heading);
}

.fresha-cart-modal__item small {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: var(--fresha-text);
}

.fresha-cart-modal__item-aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fresha-cart-modal__item .price {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--fresha-heading);
}

.fresha-cart-modal__item-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--fresha-border);
  border-radius: 50%;
  background: #fff;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.fresha-cart-modal__item-remove:hover:not(:disabled) {
  border-color: #d9b3b3;
  color: #b3261e;
  background: #fdf4f4;
}

.fresha-cart-modal__item-remove:disabled {
  opacity: 0.5;
  cursor: default;
}

.fresha-cart-modal__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--fresha-border);
  background: var(--fresha-bg);
}

.fresha-cart-modal__foot.is-hidden {
  display: none;
}

.fresha-cart-modal__total {
  margin: 0 0 14px;
  font-family: var(--fresha-font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fresha-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fresha-cart-modal__continue {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fresha-cart-modal__done {
  margin: 0;
  padding: 24px 8px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.fresha-employees__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fresha-booking button.fresha-employee-card,
.fresha-cart-modal button.fresha-employee-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 10px 14px;
  border: 1px solid var(--fresha-border, #e8e8e8);
  border-radius: var(--fresha-radius, 5px);
  background: var(--fresha-bg, #fff);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: left;
  font: inherit;
  color: inherit;
}

.fresha-booking button.fresha-employee-card:hover:not(:disabled),
.fresha-cart-modal button.fresha-employee-card:hover:not(:disabled) {
  border-color: var(--fresha-accent, #d6a354);
  background: var(--fresha-accent-soft, rgba(214, 163, 84, 0.1));
}

.fresha-booking button.fresha-employee-card.is-selected,
.fresha-cart-modal button.fresha-employee-card.is-selected {
  border-color: var(--fresha-accent, #d6a354);
  background: var(--fresha-accent-soft, rgba(214, 163, 84, 0.1));
  box-shadow:
    inset 0 0 0 2px var(--fresha-accent, #d6a354),
    0 0 0 1px var(--fresha-accent-border, rgba(214, 163, 84, 0.35));
}

.fresha-employee-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fresha-employee-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0ebe3 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--fresha-accent, #d6a354);
}

.fresha-employee-card__info {
  flex: 1;
  min-width: 0;
}

.fresha-employee-card__name {
  display: block;
  font-family: var(--fresha-font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fresha-heading, #252525);
}

.fresha-employee-card__caption {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--fresha-text, #707070);
}

.fresha-employee-card__aside {
  flex-shrink: 0;
  align-self: center;
  margin-left: auto;
  padding-left: 8px;
}

.fresha-employee-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--fresha-accent, #d6a354);
}

.fresha-employee-card__rating .fa-star {
  font-size: 12px;
  opacity: 0.9;
}

.fresha-multi-employee__group {
  margin-bottom: 32px;
}

.fresha-multi-employee__group-head {
  margin-bottom: 16px;
}

.fresha-multi-employee__group-head strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.fresha-multi-employee__caption {
  font-size: 13px;
  color: #888;
}

.fresha-multi-employee__services {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fresha-service-employee-card {
  padding: 20px;
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.fresha-service-employee-card__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #252525;
}

.fresha-service-employee-card__caption {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.fresha-service-employee-picker-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
}

.fresha-service-employee-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e0dbd4;
  border-radius: var(--fresha-radius);
  background: #faf8f5;
  color: #252525;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.fresha-service-employee-picker:hover:not(:disabled) {
  border-color: var(--fresha-accent);
  background: #fff;
}

.fresha-service-employee-picker:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fresha-service-employee-picker__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0ebe3 center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b7bcc;
  font-size: 16px;
}

.fresha-service-employee-picker__icon.has-avatar {
  background-color: #f0ebe3;
}

.fresha-service-employee-picker__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fresha-service-employee-picker__chevron {
  flex-shrink: 0;
  color: #888;
  font-size: 12px;
}

.fresha-service-employee-clear {
  flex-shrink: 0;
  width: 48px;
  border: 1px solid #e0dbd4;
  border-radius: var(--fresha-radius);
  background: #fff;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.fresha-service-employee-clear:hover:not(:disabled) {
  border-color: #c4a0a0;
  color: #8b2e2e;
  background: #fff5f5;
}

.fresha-service-employee-clear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fresha-booking button.fresha-employee-card.is-any,
.fresha-cart-modal button.fresha-employee-card.is-any {
  border-style: dashed;
}

.fresha-booking button.fresha-employee-card.is-any.is-selected,
.fresha-cart-modal button.fresha-employee-card.is-any.is-selected {
  border-style: solid;
}

.fresha-multi-employee__exit-row {
  margin-bottom: 16px;
}

.fresha-multi-employee__exit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fresha-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.fresha-multi-employee__exit:hover {
  color: #252525;
}

.fresha-booking button.fresha-employee-card.is-multi-mode,
.fresha-cart-modal button.fresha-employee-card.is-multi-mode {
  border-style: dashed;
  border-color: #9b7bcc;
}

.fresha-time {
  margin-bottom: 8px;
}

.fresha-time__layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.fresha-time__dates-col,
.fresha-time__calendar-col {
  min-width: 0;
}

.fresha-time__slots-col {
  min-width: 0;
}

.fresha-time__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.fresha-time__calendar-nav-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #fff;
  color: #252525;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.fresha-time__calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--fresha-accent);
  background: var(--fresha-accent-soft);
}

.fresha-time__calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.fresha-time__calendar-month {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #252525;
  flex: 1;
}

.fresha-time__calendar {
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  padding: 12px;
  background: #fff;
}

.fresha-time__calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.fresha-time__calendar-weekday {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: #888;
  text-transform: uppercase;
}

.fresha-time__calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.fresha-time__calendar-day {
  aspect-ratio: 1;
  min-height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--fresha-radius);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #bbb;
  cursor: default;
}

.fresha-time__calendar-day.is-outside-month {
  color: #d8d4ce;
}

.fresha-time__calendar-day.is-available {
  color: var(--fresha-accent);
  background: var(--fresha-accent-soft);
  border-color: var(--fresha-accent-border);
  cursor: pointer;
}

.fresha-time__calendar-day.is-available:hover {
  border-color: var(--fresha-accent);
  background: rgba(214, 163, 84, 0.22);
}

.fresha-time__calendar-day.is-unavailable {
  color: #c4beb6;
  text-decoration: line-through;
  cursor: not-allowed;
}

.fresha-time__calendar-day.is-selected {
  border-color: var(--fresha-accent);
  background: var(--fresha-accent);
  color: #fff;
  text-decoration: none;
}

.fresha-time__calendar-day.is-selected.is-available {
  background: var(--fresha-accent);
  border-color: var(--fresha-accent);
  color: #fff;
}

.fresha-time__calendar-day.is-selected.is-unavailable {
  background: #e8e4de;
  border-color: #e8e4de;
  color: #999;
  text-decoration: line-through;
}

.fresha-time__calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 11px;
  color: #888;
}

.fresha-time__calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fresha-time__calendar-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  font-style: normal;
}

.fresha-time__calendar-legend i.is-available {
  background: var(--fresha-accent-soft);
  border: 1px solid var(--fresha-accent-border);
}

.fresha-time__calendar-legend i.is-unavailable {
  background: #e8e4de;
  position: relative;
}

.fresha-time__calendar-legend i.is-unavailable::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #b8b2aa;
  transform: rotate(-18deg);
}

.fresha-time__summary {
  margin-bottom: 12px;
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #faf8f5;
}

.fresha-time__summary-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #555;
}

.fresha-time__summary-compact {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #6b6b6b;
}

.fresha-time__summary-chevron {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  color: #999;
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.fresha-time__summary-toggle[aria-expanded="true"] .fresha-time__summary-chevron {
  transform: rotate(-90deg);
}

.fresha-time__summary-body {
  padding: 0 12px 10px;
}

.fresha-time__summary-body[hidden] {
  display: none;
}

.fresha-time__summary-employee {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.fresha-time__summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fresha-time__summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid #ebe7e1;
}

.fresha-time__summary-item:last-child {
  border-bottom: none;
}

.fresha-time__summary-item strong {
  font-weight: 600;
  color: #252525;
}

.fresha-time__summary-price {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--fresha-accent);
}

.fresha-time__summary-more {
  margin: 8px 0 0;
  font-size: 12px;
  color: #888;
}

.fresha-time__dates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.fresha-time__dates-head .fresha-time__section-title {
  margin: 0;
}

.fresha-time__calendar-toggle {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.fresha-time__calendar-toggle:hover {
  border-color: var(--fresha-accent);
  color: var(--fresha-accent);
}

.fresha-time__date-strip-wrap {
  position: relative;
  margin: 0 -4px;
  padding: 0 4px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fresha-time__date-strip-wrap::-webkit-scrollbar {
  display: none;
  height: 0;
}

.fresha-time__date-strip {
  display: flex;
  gap: 6px;
  min-width: min-content;
  padding-bottom: 4px;
}

.fresha-time__date-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 44px;
  padding: 4px 8px;
  border: 1px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #fff;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.fresha-time__date-card-weekday {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;
  color: #888;
}

.fresha-time__date-card-day {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  color: #252525;
}

.fresha-time__date-card-month {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: lowercase;
  color: #666;
}

.fresha-time__date-card.is-available:not(.is-selected):not(:disabled) {
  border-color: var(--fresha-accent-border);
  background: var(--fresha-accent-soft);
}

.fresha-time__date-card.is-available:not(.is-selected):not(:disabled):hover {
  border-color: var(--fresha-accent);
}

.fresha-time__date-card.is-selected {
  border-color: var(--fresha-accent);
  background: var(--fresha-accent);
  color: #fff;
}

.fresha-time__date-card.is-selected .fresha-time__date-card-weekday,
.fresha-time__date-card.is-selected .fresha-time__date-card-day,
.fresha-time__date-card.is-selected .fresha-time__date-card-month {
  color: #fff;
}

.fresha-time__date-card.is-unavailable,
.fresha-time__date-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.fresha-time__calendar-panel {
  margin-top: 12px;
}

.fresha-time__calendar-panel[hidden] {
  display: none;
}

.fresha-time__hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--fresha-radius);
  background: var(--fresha-accent-soft);
  border: 1px solid var(--fresha-accent-border);
  font-size: 13px;
  font-weight: 600;
  color: #5a4a2e;
  line-height: 1.4;
}

.fresha-time__section-title {
  margin: 24px 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.fresha-time__section-title:first-child {
  margin-top: 0;
}

.fresha-time__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.fresha-time__slot {
  padding: 10px 8px;
  border: 2px solid #e8e4de;
  border-radius: var(--fresha-radius);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #252525;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.fresha-time__slot:hover:not(:disabled) {
  border-color: var(--fresha-accent);
}

.fresha-time__slot.is-selected {
  border-color: var(--fresha-accent);
  background: var(--fresha-accent);
  color: #fff;
  box-shadow: 0 0 0 2px var(--fresha-accent-soft);
}

.fresha-time__slot:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.fresha-time__empty {
  margin: 0;
  padding: 16px;
  border-radius: var(--fresha-radius);
  background: #faf8f5;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.fresha-confirm__venue {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--fresha-radius);
  background: #faf8f5;
}

.fresha-confirm__venue strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.fresha-confirm__venue span {
  display: block;
  font-size: 13px;
  color: #666;
}

.fresha-confirm__when {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fresha-accent);
}

.fresha-confirm__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.fresha-confirm__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.fresha-confirm__item-name {
  font-weight: 600;
  color: #252525;
}

.fresha-confirm__item-caption {
  grid-column: 1;
  font-size: 13px;
  color: #888;
}

.fresha-confirm__item-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-weight: 700;
  color: var(--fresha-accent);
  white-space: nowrap;
}

.fresha-confirm__total {
  font-size: 18px;
  font-weight: 700;
  color: var(--fresha-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fresha-services-row {
  --fc-card-h: 112px;
  gap: 30px;
  margin-top: 30px;
  margin-right: 0;
  margin-left: 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: var(--fc-card-h);
}

.price-tab-content {
  padding: 0px;
}

.col-lg-6 {
  padding: 0;
  max-width: 100%;
  height: 100%;
}

.price-item {
  margin-top: 0;
  height: 100%;

  display: flex;
  flex-direction: row;
  align-items: flex-start;

  gap: 24px;
}

.fresha-booking .price-item {
  height: var(--fc-card-h);
  max-height: var(--fc-card-h);
}

.price-item__pricing {
  padding-right: 0 !important;
}


.price-item .content:after,
.price-item .content:before {
  width: 15%;
  height: 150%;
  content: '';
  right: 0;
  z-index: -1;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  background: rgba(214, 163, 84, 0.05);
}


.price-item .content:before {
  top: 50%;
  -webkit-transform: translate(10%, -30%) rotate(30deg);
  -ms-transform: translate(10%, -30%) rotate(30deg);
  transform: translate(10%, -30%) rotate(30deg);
}

.price-item .content:after {
  top: 0;
  -webkit-transform: translate(50%, -35%) rotate(-35deg);
  -ms-transform: translate(50%, -35%) rotate(-35deg);
  transform: translate(50%, -35%) rotate(-35deg);
}

.price-item .price {
  width: 100%;
  line-height: 1;
}

@media only screen and (max-width: 767px) {
  .fresha-cart-modal {
    padding: 0;
    align-items: flex-end;
  }

  .fresha-cart-modal__dialog {
    max-width: 100%;
    max-height: min(94vh, 100%);
    border-radius: 16px 16px 0 0;
  }

  .fresha-cart-modal__dialog--time {
    max-width: 100%;
  }

  .fresha-cart-modal__head {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px;
  }

  .fresha-cart-modal__back,
  .fresha-cart-modal__close {
    width: 40px;
    height: 40px;
  }

  .fresha-cart-modal__title {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .fresha-cart-modal__clear {
    width: 40px;
    height: 40px;
    margin-left: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .fresha-cart-modal__clear-label {
    display: none;
  }

  .fresha-cart-modal__clear-icon {
    display: inline-block;
  }

  .fresha-cart-modal__steps-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .fresha-cart-modal__steps-inner::-webkit-scrollbar {
    display: none;
  }

  .fresha-cart-modal__step {
    flex: 1 0 auto;
    min-width: 72px;
    padding: 10px 6px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .fresha-cart-modal__body {
    padding: 14px 14px 10px;
  }

  .fresha-cart-modal__foot {
    flex-shrink: 0;
    padding: 12px 14px max(16px, env(safe-area-inset-bottom, 16px));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  .fresha-cart-modal__total {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .fresha-cart-modal__continue {
    width: 100%;
  }

  .fresha-time__dates-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .fresha-time__calendar-toggle {
    padding: 8px 10px;
  }

  .fresha-time__section-title {
    margin: 18px 0 10px;
    font-size: 13px;
  }

  .fresha-time__date-card {
    min-width: 48px;
    padding: 6px 10px;
  }
}

/* Admin staff-create form */
.fresha-staff-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Booking summary above the form */
.fresha-staff-summary {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--fresha-border);
  border-radius: var(--fresha-radius);
  background: var(--fresha-bg-soft);
}

.fresha-staff-summary__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fresha-staff-summary__svc {
  font-family: var(--fresha-font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fresha-heading);
}

.fresha-staff-summary__meta {
  font-size: 12px;
  color: var(--fresha-text);
  opacity: 0.85;
}

.fresha-staff-summary__dot {
  opacity: 0.5;
}

.fresha-staff-form__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fresha-heading);
}

.fresha-staff-form__label-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fresha-staff-req {
  color: var(--fresha-accent);
  font-weight: 700;
  line-height: 1;
}

.fresha-staff-form__input {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--fresha-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fresha-text);
  background: var(--fresha-bg);
}

.fresha-staff-form__input::placeholder {
  color: var(--fresha-text);
  opacity: 0.4;
}

.fresha-staff-form__input:focus {
  outline: none;
  border-color: var(--fresha-accent);
  box-shadow: 0 0 0 3px var(--fresha-accent-soft);
}

.fresha-staff-form__input.is-invalid {
  border-color: #d9b3b3;
  background: #fdf4f4;
}

/* grouped phone/email contact block */
.fresha-staff-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--fresha-border);
  border-radius: var(--fresha-radius);
}

.fresha-staff-contacts.is-invalid {
  border-color: #d9b3b3;
  background: #fdf4f4;
}

.fresha-staff-contacts__head {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fresha-staff-contacts__title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fresha-font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fresha-heading);
}

.fresha-staff-contacts__hint {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--fresha-text);
  opacity: 0.75;
}

/* "or" divider between phone and email */
.fresha-staff-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0;
  color: var(--fresha-text);
  opacity: 0.55;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fresha-staff-or::before,
.fresha-staff-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fresha-border);
}

.fresha-staff-form__error {
  margin: 0;
  color: #b3261e;
  font-size: 12.5px;
  font-weight: 500;
}

.fresha-staff-form__error--contact {
  margin-top: 2px;
}

.fresha-staff-form__submit {
  width: 100%;
}

/* On-site booking success */
.fresha-staff-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
  text-align: center;
}

.fresha-staff-success__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fresha-accent-soft, rgba(214, 163, 84, 0.18));
  border: 1px solid var(--fresha-accent, #d6a354);
  box-shadow: 0 0 0 6px rgba(214, 163, 84, 0.08);
}

.fresha-staff-success__check {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--fresha-accent, #d6a354);
}

.fresha-staff-success__title {
  margin: 0;
  font-family: var(--fresha-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fresha-heading);
}

.fresha-staff-success__hint {
  margin: 0;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.45;
  color: var(--fresha-text);
  opacity: 0.8;
}

.fresha-staff-summary--success {
  width: 100%;
  text-align: left;
  margin-top: 4px;
}

.fresha-staff-success__close {
  width: 100%;
  margin-top: 4px;
}
