/* Scoped styles for WordPress / Elementor — all rules under .psych-booking */
.psych-booking,
.psych-booking.psych-booking-widget {
  --pb-width: 640px;
  --pb-bg: #f4f7fb;
  --pb-card: #fff;
  --pb-primary: #2b6cb0;
  --pb-primary-dark: #1e4e8c;
  --pb-accent: #38a169;
  --pb-text: #1a202c;
  --pb-muted: #4a5568;
  --pb-border: #e2e8f0;
  --pb-radius: 12px;
  --pb-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --pb-touch: 48px;
  box-sizing: border-box;
  color: var(--pb-text);
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  width: var(--pb-width);
  max-width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  isolation: isolate;
}

/* ——— Изоляция от темы WordPress / Elementor ——— */
.psych-booking *,
.psych-booking *::before,
.psych-booking *::after {
  box-sizing: border-box;
}

.psych-booking :is(button, input, textarea, select) {
  margin: 0;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  text-underline-offset: unset;
  font-family: inherit;
  line-height: inherit;
  white-space: normal !important;
  text-overflow: clip !important;
}

.psych-booking label {
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psych-booking button {
  cursor: pointer;
  border: none;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.elementor-widget-shortcode .psych-booking,
.elementor-element .psych-booking {
  box-sizing: border-box;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.elementor-widget-shortcode .psych-booking :is(button, input, textarea),
.elementor-element .psych-booking :is(button, input, textarea) {
  border-bottom: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: inherit;
}

.psych-booking a {
  text-decoration: none !important;
  color: inherit;
}

.psych-booking__title {
  font-size: 1.5rem;
  margin: 0 0 4px;
  font-weight: 700;
  max-width: 100%;
  color: var(--pb-text) !important;
}

.psych-booking__subtitle {
  color: var(--pb-text) !important;
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 600;
  max-width: 100%;
  opacity: 0.88;
}

.psych-booking .psych-booking__call {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pb-border);
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psych-booking .psych-booking__call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--pb-primary) !important;
  border-bottom: 2px solid var(--pb-primary) !important;
  border-radius: var(--pb-radius);
  background: #fff !important;
  background-color: #fff !important;
  color: var(--pb-primary) !important;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: 0 1px 2px rgba(43, 108, 176, 0.08) !important;
  background-image: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  touch-action: manipulation;
  min-height: var(--pb-touch);
  cursor: pointer;
}

.psych-booking .psych-booking__call-btn:hover,
.psych-booking .psych-booking__call-btn:focus {
  background: var(--pb-primary) !important;
  background-color: var(--pb-primary) !important;
  color: #fff !important;
  border-color: var(--pb-primary) !important;
  box-shadow: 0 6px 18px rgba(43, 108, 176, 0.28) !important;
  transform: translateY(-1px);
  outline: none;
}

.psych-booking .psych-booking__call-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(43, 108, 176, 0.2) !important;
}

.psych-booking .psych-booking__call-feedback {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  color: var(--pb-text) !important;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
}

.psych-booking .psych-booking__max-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none !important;
  border-radius: var(--pb-radius);
  background: linear-gradient(135deg, #6d5df6 0%, #4f46e5 100%) !important;
  background-color: #5b4fe8 !important;
  color: #fff !important;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  transition: filter 0.2s, transform 0.15s;
  touch-action: manipulation;
  min-height: var(--pb-touch);
  cursor: pointer;
}

.psych-booking .psych-booking__max-btn:hover,
.psych-booking .psych-booking__max-btn:focus {
  filter: brightness(1.06);
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}

.psych-booking__card {
  background: var(--pb-card);
  border-radius: var(--pb-radius);
  box-shadow: var(--pb-shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.psych-booking [data-pb="content"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.psych-booking__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.psych-booking__progress span {
  flex: 1;
  height: 4px;
  background: var(--pb-border);
  border-radius: 2px;
  transition: background 0.3s;
}

.psych-booking__progress span.is-active {
  background: var(--pb-primary);
}

.psych-booking__progress span.is-done {
  background: var(--pb-accent);
}

.psych-booking__step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pb-muted) !important;
  margin-bottom: 8px;
}

.psych-booking__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.psych-booking .psych-booking__option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap !important;
  gap: 8px 12px;
  padding: 14px 16px;
  border: 2px solid var(--pb-border) !important;
  border-bottom: 2px solid var(--pb-border) !important;
  border-radius: var(--pb-radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
  background: #fff !important;
  background-color: #fff !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto !important;
  font: inherit;
  color: var(--pb-text) !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  touch-action: manipulation;
  min-height: var(--pb-touch);
  box-shadow: none !important;
  background-image: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.psych-booking__option > div:first-child {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.psych-booking .psych-booking__option-title {
  display: block;
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  font-size: 0.95rem;
  min-width: 0;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-transform: none !important;
  color: var(--pb-text) !important;
}

.psych-booking .psych-booking__option-price {
  font-weight: 700;
  color: var(--pb-primary-dark) !important;
  font-size: 0.92rem;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  text-align: right;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  text-transform: none;
}

.psych-booking button,
.psych-booking .psych-booking__link-btn {
  text-decoration: none !important;
}

.psych-booking__option:hover {
  border-color: #cbd5e0 !important;
  background: #fafbfc;
}

.psych-booking__option.is-selected {
  border-color: var(--pb-primary) !important;
  background: #ebf4ff;
}

.psych-booking__option-note {
  font-size: 0.8rem;
  color: var(--pb-muted);
  margin-top: 2px;
}

.psych-booking__cart {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-radius);
}

.psych-booking__cart-head {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.psych-booking__cart-list {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--pb-text);
}

.psych-booking__cart-list li {
  margin-bottom: 4px;
}

.psych-booking .psych-booking__link-btn {
  display: inline-block;
  margin-right: 12px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 0 !important;
  border-bottom: none !important;
  border-radius: 8px;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--pb-primary) !important;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psych-booking__link-btn:hover,
.psych-booking__link-btn:focus {
  background: #ebf4ff;
  color: var(--pb-primary-dark) !important;
  text-decoration: none !important;
  outline: none;
}

.psych-booking__link-btn--primary {
  font-weight: 600;
}

.psych-booking__link-btn--strong {
  font-weight: 700;
  padding: 10px 14px;
  background: #ebf4ff;
  border: 1px solid #bee3f8;
}

.psych-booking__link-btn--strong:hover,
.psych-booking__link-btn--strong:focus {
  background: #dbeafe;
  border-color: #90cdf4;
}

.psych-booking__multi-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.psych-booking__multi-hint {
  margin: 0;
  flex: 1;
}

.psych-booking__link-btn--reset {
  flex-shrink: 0;
  margin: 0;
  white-space: nowrap;
  color: var(--pb-muted) !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 6px 10px;
}

.psych-booking__link-btn--reset:hover,
.psych-booking__link-btn--reset:focus {
  color: var(--pb-text) !important;
  background: #f7fafc;
}

.psych-booking__multi-footer {
  display: flex;
  justify-content: flex-end;
  margin: 4px 0 12px;
}

.psych-booking__confirm-services {
  margin: 0;
  padding-left: 18px;
}

.psych-booking__confirm-services li {
  margin-bottom: 4px;
}

.psych-booking__options--multi .psych-booking__option.is-selected::after {
  content: '✓';
  font-weight: 700;
  color: var(--pb-primary);
  margin-left: 8px;
}

.psych-booking__summary {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  border-radius: var(--pb-radius);
  padding: 16px;
  margin-bottom: 20px;
}

.psych-booking__summary-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pb-accent);
}

.psych-booking__field {
  margin-bottom: 16px;
}

.psych-booking .psych-booking__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pb-text) !important;
  margin-bottom: 6px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.psych-booking .psych-booking__field input:not([type="checkbox"]):not([type="radio"]),
.psych-booking .psych-booking__field textarea,
.psych-booking .psych-booking__field select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pb-border) !important;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 400 !important;
  max-width: 100%;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--pb-text) !important;
  box-shadow: none !important;
  background-image: none !important;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.psych-booking .psych-booking__field input:not([type="checkbox"]):not([type="radio"]):focus,
.psych-booking .psych-booking__field textarea:focus,
.psych-booking .psych-booking__field select:focus {
  border-color: var(--pb-primary) !important;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15) !important;
}

.psych-booking .psych-booking__field input::placeholder,
.psych-booking .psych-booking__field textarea::placeholder {
  color: #a0aec0 !important;
  opacity: 1;
  text-transform: none !important;
}

.psych-booking .psych-booking__field textarea {
  min-height: 80px;
  resize: vertical;
}

.psych-booking__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.psych-booking__slot {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--pb-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  background: #fff;
  touch-action: manipulation;
  min-height: var(--pb-touch);
  display: flex;
  align-items: center;
  justify-content: center;
}

.psych-booking__slot:hover {
  border-color: var(--pb-primary);
}

.psych-booking__slot.is-selected {
  background: var(--pb-primary);
  color: #fff;
  border-color: var(--pb-primary);
}

.psych-booking__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-shrink: 0;
}

.psych-booking .psych-booking__btn {
  padding: 12px 24px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none !important;
  border-bottom: none !important;
  transition: background 0.2s, background-color 0.2s;
  touch-action: manipulation;
  min-height: var(--pb-touch);
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  background-image: none !important;
}

.psych-booking .psych-booking__btn--back {
  background: #edf2f7 !important;
  background-color: #edf2f7 !important;
  color: var(--pb-text) !important;
  font-weight: 600;
}

.psych-booking .psych-booking__btn--back:hover {
  background: #e2e8f0 !important;
  background-color: #e2e8f0 !important;
}

.psych-booking .psych-booking__btn--next {
  background: var(--pb-primary) !important;
  background-color: var(--pb-primary) !important;
  color: #fff !important;
  flex: 1;
  font-weight: 700;
}

.psych-booking .psych-booking__btn--next:hover {
  background: var(--pb-primary-dark) !important;
  background-color: var(--pb-primary-dark) !important;
}

.psych-booking .psych-booking__btn--next:disabled {
  background: #cbd5e0 !important;
  background-color: #cbd5e0 !important;
  color: #2d3748 !important;
  opacity: 1;
  cursor: not-allowed;
}

.psych-booking__hidden {
  display: none !important;
}

.psych-booking__success {
  text-align: center;
  padding: 20px 0;
}

.psych-booking__success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.psych-booking__success-ref {
  margin: 16px 0 8px;
  padding: 14px 18px;
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  border-radius: var(--pb-radius);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pb-text) !important;
  line-height: 1.4;
}

.psych-booking__success-ref-num {
  display: block;
  margin-top: 4px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pb-accent) !important;
  letter-spacing: 0.03em;
}

.psych-booking__success-restart {
  margin-top: 24px;
  width: 100%;
  max-width: 280px;
}

.psych-booking__disclaimer {
  font-size: 0.8rem;
  color: var(--pb-muted);
  margin-top: 16px;
  line-height: 1.4;
}

.psych-booking__confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pb-border);
  font-size: 0.9rem;
}

.psych-booking__confirm-row:last-child {
  border: none;
}

.psych-booking__confirm-label {
  color: var(--pb-muted) !important;
  flex-shrink: 0;
  font-weight: 600;
}

.psych-booking .psych-booking__consent {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pb-text) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
  margin-top: 8px;
  padding: 14px 16px;
  border: 2px solid var(--pb-border);
  border-radius: var(--pb-radius);
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s;
}

.psych-booking .psych-booking__consent:hover {
  border-color: #cbd5e0;
  background: #fff;
}

.psych-booking .psych-booking__consent span {
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--pb-text) !important;
  font-weight: 500;
  line-height: 1.45;
}

.psych-booking .psych-booking__consent input[type="checkbox"] {
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: #fff !important;
  background-color: #fff !important;
  border: 2px solid var(--pb-primary) !important;
  border-radius: 6px;
  box-shadow: none !important;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.psych-booking .psych-booking__consent input[type="checkbox"]:checked {
  background-color: #fff !important;
  border-color: var(--pb-accent) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%2338a169' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px !important;
}

.psych-booking .psych-booking__consent:has(input[type="checkbox"]:checked) {
  border-color: #9ae6b4;
  background: #f0fff4;
}

.psych-booking .psych-booking__consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.25) !important;
}

.psych-booking__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.psych-booking__captcha {
  margin: 16px 0 8px;
  min-height: 78px;
}

.psych-booking__captcha.psych-booking__hidden {
  display: none !important;
}

.psych-booking__confirm-row span:last-child {
  text-align: right;
  word-break: break-word;
  color: var(--pb-text) !important;
  font-weight: 500;
}

/* Elementor: фиксированная ширина виджета shortcode */
.elementor-widget-shortcode .psych-booking,
.elementor-element .psych-booking {
  width: var(--pb-width, 640px);
  max-width: 100%;
}

/* ——— Планшеты ——— */
@media (max-width: 768px) {
  .psych-booking__card {
    padding: 22px 18px;
  }

  .psych-booking__slots {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ——— Телефоны ——— */
@media (max-width: 680px) {
  .psych-booking {
    width: 100%;
    max-width: 100%;
    padding: 0 2px;
  }

  .psych-booking__title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .psych-booking__subtitle {
    margin-bottom: 16px;
    font-size: 0.9rem;
  }

  .psych-booking__card {
    padding: 18px 14px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  }

  .psych-booking__progress {
    margin-bottom: 18px;
    gap: 4px;
  }

  .psych-booking [data-pb="content"] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .psych-booking__multi-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .psych-booking__multi-hint {
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .psych-booking__link-btn--reset {
    margin-left: auto;
    min-height: 44px;
    padding: 10px 0;
  }

  .psych-booking__multi-footer {
    justify-content: flex-end;
    margin: 8px 0 12px;
  }

  .psych-booking__multi-footer .psych-booking__link-btn--reset {
    margin-left: 0;
  }

  .psych-booking__cart .psych-booking__link-btn {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 14px;
    min-height: 44px;
    text-align: left;
    text-decoration: none !important;
    border: 1px solid #bee3f8;
    border-radius: 8px;
    background: #ebf4ff;
  }

  .psych-booking__cart .psych-booking__link-btn:hover,
  .psych-booking__cart .psych-booking__link-btn:focus {
    background: #dbeafe;
    text-decoration: none !important;
  }

  .psych-booking__cart .psych-booking__link-btn--primary {
    text-align: center;
    background: var(--pb-primary);
    color: #fff !important;
    text-decoration: none !important;
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
  }

  .psych-booking__option {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
  }

  .psych-booking__option-price {
    align-self: flex-end;
    font-size: 0.95rem;
  }

  .psych-booking__options--multi .psych-booking__option.is-selected {
    position: relative;
    padding-right: 36px;
  }

  .psych-booking__options--multi .psych-booking__option.is-selected::after {
    position: absolute;
    top: 14px;
    right: 14px;
    margin-left: 0;
  }

  .psych-booking__confirm-services {
    padding-left: 16px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .psych-booking__summary {
    padding: 14px;
    margin-bottom: 16px;
  }

  .psych-booking__summary-price {
    font-size: 1.1rem;
    margin-top: 4px;
  }

  .psych-booking__slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .psych-booking__confirm-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 0;
  }

  .psych-booking__confirm-row span:last-child {
    text-align: left;
    width: 100%;
  }

  .psych-booking__success {
    padding: 12px 0 4px;
  }

  .psych-booking__success-icon {
    font-size: 2.5rem;
  }

  /* Кнопки «Назад / Далее» всегда под пальцем */
  .psych-booking__captcha {
    margin: 12px 0 4px;
    transform-origin: left top;
  }

  .psych-booking__nav {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 16px -14px 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--pb-card) 24%);
    border-top: 1px solid var(--pb-border);
  }

  .psych-booking__btn {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .psych-booking__btn--back {
    flex: 0 0 auto;
    min-width: 96px;
  }

  .psych-booking__btn--next {
    flex: 1 1 auto;
  }
}

/* ——— Узкие экраны ——— */
@media (max-width: 380px) {
  .psych-booking__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .psych-booking__multi-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .psych-booking__link-btn--reset {
    align-self: flex-end;
    margin-left: 0;
  }

  .psych-booking__captcha {
    transform: scale(0.92);
  }

  .psych-booking__btn--back {
    min-width: 84px;
    padding-inline: 12px;
  }
}

/* ——— Перебивка типовых стилей тем WordPress / Elementor ——— */
.elementor-widget-shortcode .psych-booking button.psych-booking__btn--next,
.elementor-element .psych-booking button.psych-booking__btn--next,
.psych-booking-widget button.psych-booking__btn--next {
  background: var(--pb-primary) !important;
  background-color: var(--pb-primary) !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
}

.elementor-widget-shortcode .psych-booking button.psych-booking__btn--next:disabled,
.elementor-element .psych-booking button.psych-booking__btn--next:disabled,
.psych-booking-widget button.psych-booking__btn--next:disabled {
  background: #cbd5e0 !important;
  background-color: #cbd5e0 !important;
  color: #2d3748 !important;
}

.elementor-widget-shortcode .psych-booking button.psych-booking__btn--back,
.elementor-element .psych-booking button.psych-booking__btn--back,
.psych-booking-widget button.psych-booking__btn--back {
  background: #edf2f7 !important;
  background-color: #edf2f7 !important;
  border: none !important;
  border-bottom: none !important;
  color: var(--pb-text) !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.elementor-widget-shortcode .psych-booking button.psych-booking__option,
.elementor-element .psych-booking button.psych-booking__option,
.psych-booking-widget button.psych-booking__option {
  border: 2px solid var(--pb-border) !important;
  border-bottom: 2px solid var(--pb-border) !important;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--pb-text) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  flex-wrap: wrap !important;
  height: auto !important;
}

.elementor-widget-shortcode .psych-booking .psych-booking__option-title,
.elementor-element .psych-booking .psych-booking__option-title,
.psych-booking-widget .psych-booking__option-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.elementor-widget-shortcode .psych-booking button.psych-booking__option.is-selected,
.elementor-element .psych-booking button.psych-booking__option.is-selected,
.psych-booking-widget button.psych-booking__option.is-selected {
  border-color: var(--pb-primary) !important;
  background: #ebf4ff !important;
  background-color: #ebf4ff !important;
}

.elementor-widget-shortcode .psych-booking .psych-booking__field label,
.elementor-element .psych-booking .psych-booking__field label,
.psych-booking-widget .psych-booking__field label,
.elementor-widget-shortcode .psych-booking label.psych-booking__consent,
.elementor-element .psych-booking label.psych-booking__consent,
.psych-booking-widget label.psych-booking__consent {
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--pb-text) !important;
}

.elementor-widget-shortcode .psych-booking label.psych-booking__consent,
.elementor-element .psych-booking label.psych-booking__consent,
.psych-booking-widget label.psych-booking__consent,
.elementor-widget-shortcode .psych-booking label.psych-booking__consent span,
.elementor-element .psych-booking label.psych-booking__consent span,
.psych-booking-widget label.psych-booking__consent span {
  color: var(--pb-text) !important;
  font-weight: 500 !important;
}

.elementor-widget-shortcode .psych-booking .psych-booking__consent input[type="checkbox"],
.elementor-element .psych-booking .psych-booking__consent input[type="checkbox"],
.psych-booking-widget .psych-booking__consent input[type="checkbox"] {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  background-image: none !important;
  border: 2px solid var(--pb-primary) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.elementor-widget-shortcode .psych-booking .psych-booking__consent input[type="checkbox"]:checked,
.elementor-element .psych-booking .psych-booking__consent input[type="checkbox"]:checked,
.psych-booking-widget .psych-booking__consent input[type="checkbox"]:checked {
  background-color: #fff !important;
  border-color: #38a169 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%2338a169' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px !important;
}

.elementor-widget-shortcode .psych-booking .psych-booking__field input:not([type="checkbox"]):not([type="radio"]),
.elementor-widget-shortcode .psych-booking .psych-booking__field textarea,
.elementor-element .psych-booking .psych-booking__field input:not([type="checkbox"]):not([type="radio"]),
.elementor-element .psych-booking .psych-booking__field textarea,
.psych-booking-widget .psych-booking__field input:not([type="checkbox"]):not([type="radio"]),
.psych-booking-widget .psych-booking__field textarea {
  background: #fff !important;
  background-color: #fff !important;
  color: var(--pb-text) !important;
  border: 1px solid var(--pb-border) !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.elementor-widget-shortcode .psych-booking a.psych-booking__call-btn,
.elementor-element .psych-booking a.psych-booking__call-btn,
.psych-booking-widget a.psych-booking__call-btn,
.elementor-widget-shortcode .psych-booking button.psych-booking__call-btn,
.elementor-element .psych-booking button.psych-booking__call-btn,
.psych-booking-widget button.psych-booking__call-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  border: 2px solid var(--pb-primary) !important;
  border-bottom: 2px solid var(--pb-primary) !important;
  color: var(--pb-primary) !important;
  background: #fff !important;
  background-color: #fff !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.elementor-widget-shortcode .psych-booking a.psych-booking__call-btn:hover,
.elementor-element .psych-booking a.psych-booking__call-btn:hover,
.psych-booking-widget a.psych-booking__call-btn:hover,
.elementor-widget-shortcode .psych-booking button.psych-booking__call-btn:hover,
.elementor-element .psych-booking button.psych-booking__call-btn:hover,
.psych-booking-widget button.psych-booking__call-btn:hover,
.elementor-widget-shortcode .psych-booking button.psych-booking__call-btn:focus,
.elementor-element .psych-booking button.psych-booking__call-btn:focus,
.psych-booking-widget button.psych-booking__call-btn:focus {
  color: #fff !important;
  background: var(--pb-primary) !important;
  background-color: var(--pb-primary) !important;
  border-color: var(--pb-primary) !important;
  box-shadow: 0 6px 18px rgba(43, 108, 176, 0.28) !important;
  transform: translateY(-1px);
  outline: none;
}

.elementor-widget-shortcode .psych-booking a.psych-booking__max-btn,
.elementor-element .psych-booking a.psych-booking__max-btn,
.psych-booking-widget a.psych-booking__max-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: none !important;
  background: #5b4fe8 !important;
  border: none !important;
}
