/* Obscura booking flow overrides. Shared booking structure lives in editorial_booking.css. */
body.template-obscura {
  --premium-body-font: "Outfit", sans-serif;
  --premium-heading-font: "Cormorant Garamond", serif;
  --obscura-bg: #050505;
  --obscura-panel: #101010;
  --obscura-soft: #171717;
  --obscura-line: rgba(255, 255, 255, 0.14);
  --obscura-text: #ffffff;
  --obscura-muted: rgba(255, 255, 255, 0.64);
  min-height: 100vh;
  background: var(--obscura-bg) !important;
  color: var(--obscura-text);
  font-family: var(--premium-body-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.template-obscura a:focus-visible,
body.template-obscura button:focus-visible,
body.template-obscura input:focus-visible,
body.template-obscura textarea:focus-visible,
body.template-obscura select:focus-visible {
  outline: 2px solid var(--premium-primary) !important;
  outline-offset: 3px;
}

body.template-obscura .premium-nav {
  border-bottom: 1px solid var(--obscura-line);
  background: color-mix(in srgb, var(--obscura-bg) 90%, transparent) !important;
  color: var(--obscura-text);
}

body.template-obscura .premium-nav-brand,
body.template-obscura .premium-booking-hero h1,
body.template-obscura .premium-booking-subtitle,
body.template-obscura .section-title,
body.template-obscura .premium-details-panel h1,
body.template-obscura .premium-details-panel h2,
body.template-obscura .premium-details-panel h3,
body.template-obscura .schedule-time-panel h3,
body.template-obscura .available-time,
body.template-obscura .service-name {
  font-family: var(--premium-heading-font);
}

body.template-obscura .premium-nav-brand {
  color: var(--obscura-text);
  font-style: italic;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

body.template-obscura .premium-nav-links a {
  color: var(--obscura-muted);
}

body.template-obscura .premium-nav-links a:hover {
  color: var(--obscura-text);
}

body.template-obscura .premium-nav-cta,
body.template-obscura .book-btn,
body.template-obscura .submit-button,
body.template-obscura button[type="submit"] {
  border-color: transparent !important;
  background: var(--obscura-text) !important;
  color: var(--obscura-bg) !important;
}

body.template-obscura .premium-booking-hero {
  border-bottom: 1px solid var(--obscura-line);
  background: var(--obscura-bg) !important;
  padding-top: clamp(64px, 8vw, 104px);
  text-align: center;
}

body.template-obscura .premium-back-home {
  color: var(--obscura-muted);
}

body.template-obscura.premium-booking .premium-booking-subtitle {
  color: var(--obscura-text);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

body.template-obscura .premium-booking-subtitle::before {
  content: none;
  display: none;
}

body.template-obscura .premium-flow-steps {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.template-obscura .premium-flow-step .num {
  border-color: var(--obscura-line);
  background: transparent;
  color: var(--obscura-muted);
}

body.template-obscura .premium-flow-step.active .num {
  border-color: var(--premium-primary);
  background: var(--premium-primary);
  color: var(--premium-on-primary, #17110d);
}

body.template-obscura .premium-flow-step .label {
  color: var(--obscura-muted);
}

body.template-obscura .premium-flow-step.active .label {
  color: var(--obscura-text);
}

body.template-obscura .flow-line {
  background: var(--obscura-line);
}

body.template-obscura .flow-line.active {
  background: var(--premium-primary);
}

body.template-obscura .top-card,
body.template-obscura .premium-schedule-body,
body.template-obscura .premium-booking-body {
  background: var(--obscura-bg) !important;
}

body.template-obscura .services-container,
body.template-obscura .premium-details-panel,
body.template-obscura .premium-schedule-grid,
body.template-obscura .schedule-calendar-card,
body.template-obscura .schedule-time-panel {
  border: 1px solid var(--obscura-line) !important;
  border-radius: 28px !important;
  background: var(--obscura-panel) !important;
  box-shadow: none !important;
}

body.template-obscura .service-card,
body.template-obscura .category-header,
body.template-obscura .premium-context-card,
body.template-obscura .policy-card,
body.template-obscura .summary-card,
body.template-obscura .form-summary-card {
  border-color: var(--obscura-line) !important;
  background: var(--obscura-soft) !important;
  color: var(--obscura-text) !important;
  box-shadow: none !important;
}

body.template-obscura .service-card:hover,
body.template-obscura .service-card.selected,
body.template-obscura .time-slot.selected,
body.template-obscura .times a.selected {
  border-color: var(--premium-primary) !important;
}

body.template-obscura .service-name,
body.template-obscura .price,
body.template-obscura .month-name,
body.template-obscura .available-time,
body.template-obscura label,
body.template-obscura .premium-context-label {
  color: var(--obscura-text) !important;
}

body.template-obscura .service-description,
body.template-obscura .duration,
body.template-obscura .premium-details-panel p,
body.template-obscura .premium-details-panel small,
body.template-obscura .schedule-time-kicker,
body.template-obscura .schedule-time-empty,
body.template-obscura .schedule-back-link {
  color: var(--obscura-muted) !important;
}

body.template-obscura input,
body.template-obscura textarea,
body.template-obscura select {
  border: 1px solid var(--obscura-line) !important;
  background: var(--obscura-bg) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura input::placeholder,
body.template-obscura textarea::placeholder {
  color: var(--obscura-muted) !important;
}

body.template-obscura .calendar,
body.template-obscura .month,
body.template-obscura .days,
body.template-obscura .times a,
body.template-obscura .time-button {
  background: var(--obscura-bg) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura .day,
body.template-obscura .days div {
  color: var(--obscura-text);
}

body.template-obscura .day.active,
body.template-obscura .selected-date,
body.template-obscura .calendar .active,
body.template-obscura .times a:hover,
body.template-obscura .time-button:hover {
  background: var(--premium-primary) !important;
  color: var(--premium-on-primary, #17110d) !important;
}

body.template-obscura .day.today,
body.template-obscura .calendar .today {
  background: var(--obscura-text) !important;
  color: var(--obscura-bg) !important;
}

body.template-obscura .prev-month-btn,
body.template-obscura .next-month-btn {
  color: var(--obscura-text) !important;
}

@media (max-width: 768px) {
  body.template-obscura .premium-booking-subtitle {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  body.template-obscura .services-container,
  body.template-obscura .premium-details-panel,
  body.template-obscura .premium-schedule-grid {
    border-radius: 18px !important;
  }
}

/* Obscura reserve flow */
body.template-obscura .premium-booking-hero {
  padding: clamp(42px, 5vw, 64px) 0 clamp(40px, 5vw, 60px) !important;
  border-bottom: 0;
}

body.template-obscura .premium-booking-hero .container {
  max-width: 1320px;
}

body.template-obscura .premium-booking-subtitle {
  margin: 0 !important;
  font-size: clamp(3.4rem, 5vw, 5rem) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center;
  color: var(--obscura-text) !important;
}

body.template-obscura .obscura-booking-shell,
body.template-obscura.userform-v2 form#user-form {
  width: 100%;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 28px !important;
  background: var(--obscura-panel) !important;
  box-shadow: none !important;
}

body.template-obscura .obscura-booking-shell {
  padding: clamp(54px, 5vw, 80px) clamp(42px, 5vw, 82px);
}

body.template-obscura .obscura-step-heading {
  margin: clamp(64px, 7vw, 96px) 0 52px;
}

body.template-obscura .obscura-step-heading h2 {
  margin: 0;
  color: var(--obscura-text);
  font-family: var(--premium-heading-font);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  text-align: left !important;
}

body.template-obscura .obscura-step-heading p {
  margin: 18px 0 0;
  color: var(--obscura-muted) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.4;
}

body.template-obscura .obscura-step-actions,
body.template-obscura .premium-schedule-actions,
body.template-obscura.userform-v2 .premium-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
}

body.template-obscura .obscura-back-link,
body.template-obscura .schedule-back-link {
  color: var(--obscura-muted) !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none;
}

body.template-obscura .obscura-continue {
  display: inline-flex;
  min-width: 174px;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--obscura-text);
  color: var(--obscura-bg);
  padding: 0 30px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

body.template-obscura button.obscura-continue:disabled,
body.template-obscura .obscura-continue.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Step 1 */
body.template-obscura.appointment-v2 .premium-appointment-body {
  padding: 0 clamp(22px, 3.5vw, 60px) 80px;
}

body.template-obscura.appointment-v2 .premium-appointment-body .container {
  max-width: 1540px;
  padding: 0;
}

body.template-obscura.appointment-v2 .premium-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

body.template-obscura.appointment-v2 .premium-service-card {
  position: relative;
  display: block;
  min-height: 150px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 22px;
  background: transparent !important;
  padding: 38px 34px;
  color: var(--obscura-text) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease !important;
}

body.template-obscura.appointment-v2 .premium-service-card-content {
  min-width: 0;
}

body.template-obscura.appointment-v2 .obscura-service-media {
  display: none;
  min-width: 0;
  overflow: hidden;
  background: var(--obscura-soft);
}

body.template-obscura.appointment-v2 .obscura-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.template-obscura.appointment-v2 .premium-service-card:hover,
body.template-obscura.appointment-v2 .premium-service-card.is-selected {
  border-color: var(--premium-primary) !important;
  background: color-mix(in srgb, var(--premium-primary) 10%, var(--obscura-panel)) !important;
}

body.template-obscura.appointment-v2 .premium-service-card:focus,
body.template-obscura.appointment-v2 .premium-service-card:focus-visible {
  outline: none;
}

body.template-obscura.appointment-v2 .premium-service-card-head {
  margin: 0 0 14px;
}

body.template-obscura.appointment-v2 .premium-service-card h3 {
  color: var(--obscura-text) !important;
  font-family: var(--premium-heading-font) !important;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
}

body.template-obscura.appointment-v2 .premium-service-card .sparkle,
body.template-obscura.appointment-v2 .premium-service-card .duration i {
  display: none;
}

body.template-obscura.appointment-v2 .premium-service-card-meta {
  display: block;
  color: var(--obscura-muted);
  font-size: 1.1rem;
}

body.template-obscura.appointment-v2 .premium-service-card .duration {
  color: var(--obscura-muted) !important;
}

body.template-obscura.appointment-v2 .premium-service-card .price {
  position: absolute;
  top: 50%;
  right: 34px;
  color: var(--obscura-text) !important;
  font-family: var(--premium-heading-font);
  font-size: 2rem !important;
  font-weight: 600;
  transform: translateY(-50%);
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Obscura service layout variants */
body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-categories {
  display: grid;
  gap: clamp(34px, 4vw, 54px);
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--obscura-line);
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-category-head h3 {
  margin: 0;
  color: var(--obscura-text);
  font-family: var(--premium-heading-font);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  font-weight: 600;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-category-head span {
  color: var(--obscura-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-editorial-service-card {
  min-height: 220px;
  border-radius: 14px;
  padding: clamp(26px, 3vw, 38px);
}

body.template-obscura.appointment-v2.obscura-layout-service-card .premium-service-card-content {
  display: flex;
  height: 100%;
  flex-direction: column;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .premium-service-card-head {
  margin-bottom: 16px;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--obscura-line);
}

body.template-obscura.appointment-v2.obscura-layout-service-card .premium-service-card-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .premium-service-card .price {
  position: static;
  font-size: 1.35rem !important;
  line-height: 1;
  transform: none;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-book-service {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--obscura-text);
  color: var(--obscura-bg);
  padding: 0 18px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-details {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--obscura-line);
  border-radius: 8px;
  background: transparent;
  color: var(--obscura-text);
  padding: 0 18px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-details:hover,
body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-details:focus-visible,
body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-book-service:hover,
body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-book-service:focus-visible {
  background: var(--premium-primary);
  color: var(--premium-on-primary);
  text-decoration: none;
}

body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-details:focus-visible,
body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-book-service:focus-visible {
  outline: 2px solid var(--premium-primary);
  outline-offset: 3px;
}

body.template-obscura .obscura-service-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border: 1px solid var(--obscura-line);
  border-radius: 14px;
  background: var(--obscura-surface);
  color: var(--obscura-text);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

body.template-obscura .obscura-service-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(3px);
}

body.template-obscura .obscura-service-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

body.template-obscura .obscura-service-dialog-head p {
  margin: 0;
  color: var(--premium-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.template-obscura .obscura-service-dialog-close {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--obscura-line);
  border-radius: 50%;
  background: transparent;
  color: var(--obscura-text);
  font-size: 1.55rem;
  line-height: 1;
}

body.template-obscura .obscura-service-dialog h2 {
  margin: 0 0 18px;
  color: var(--obscura-text);
  font-family: var(--premium-heading-font);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
}

body.template-obscura .obscura-service-dialog-description {
  margin: 0;
  color: var(--obscura-muted);
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre-line;
}

body.template-obscura .obscura-service-dialog-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--obscura-line);
}

body.template-obscura .obscura-service-dialog-price {
  color: var(--premium-primary);
  font-family: var(--premium-heading-font);
  font-size: 1.55rem;
}

body.template-obscura .obscura-service-dialog-book {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  border-radius: 8px;
  background: var(--obscura-text);
  color: var(--obscura-bg);
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

body.template-obscura .obscura-service-dialog-book:hover,
body.template-obscura .obscura-service-dialog-book:focus-visible {
  background: var(--premium-primary);
  color: var(--premium-on-primary);
  text-decoration: none;
}

body.template-obscura.appointment-v2.obscura-layout-service-card #obscuraServiceContinue {
  display: none;
}

body.template-obscura.appointment-v2.obscura-layout-list .premium-service-grid {
  gap: 0;
  border-top: 1px solid var(--obscura-line);
}

body.template-obscura.appointment-v2.obscura-layout-list .premium-service-card {
  min-height: 138px;
  border-width: 0 0 1px !important;
  border-radius: 0;
  padding: 34px 12px;
}

body.template-obscura.appointment-v2.obscura-layout-list .premium-service-card:hover,
body.template-obscura.appointment-v2.obscura-layout-list .premium-service-card.is-selected {
  background: color-mix(in srgb, var(--premium-primary) 7%, transparent) !important;
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-appointment-body .container {
  max-width: 1160px;
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card {
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  padding: 0;
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .obscura-service-media {
  display: block;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--obscura-line);
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card-content {
  padding: 24px;
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card .price,
body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card .price {
  position: static;
  font-size: 1.45rem !important;
  line-height: 1;
  transform: none;
}

body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card-meta,
body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card {
  display: grid;
  grid-template-columns: minmax(150px, 36%) minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  border-radius: 14px;
  padding: 0;
}

body.template-obscura.appointment-v2.obscura-layout-card-image .obscura-service-media {
  display: block;
  border-right: 1px solid var(--obscura-line);
}

body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card-content {
  align-self: center;
  padding: 26px;
}

/* Step 2 */
body.template-obscura.schedule-v2 .premium-schedule-body {
  min-height: 0;
  padding: 0 clamp(22px, 6vw, 170px) 80px;
}

body.template-obscura.schedule-v2 .obscura-schedule-title {
  font-size: clamp(3rem, 4.5vw, 4.6rem);
  line-height: 1;
}

body.template-obscura.schedule-v2 .premium-schedule-body .container {
  max-width: 1230px;
  padding: 0;
}

body.template-obscura.schedule-v2 .premium-schedule-grid {
  display: grid;
  grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card,
body.template-obscura.schedule-v2 .schedule-time-panel {
  min-width: 0;
}

body.template-obscura.schedule-v2 .schedule-calendar-card {
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .calendar {
  width: 100%;
  height: 100%;
  max-width: 410px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--obscura-panel) 86%, var(--obscura-bg)) !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .month,
body.template-obscura.schedule-v2 .schedule-calendar-card .days,
body.template-obscura.schedule-v2 .schedule-calendar-card .month-header {
  background: transparent !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .month-header {
  min-height: 78px;
  border-bottom: 1px solid var(--obscura-line) !important;
  padding: 16px 20px !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .month-header::before {
  display: none;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .month-name {
  color: var(--obscura-text) !important;
  font-family: var(--premium-body-font) !important;
  font-size: 1.05rem !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: none;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .prev-month-btn,
body.template-obscura.schedule-v2 .schedule-calendar-card .next-month-btn {
  width: 38px;
  height: 38px;
  border: 1px solid transparent !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--obscura-muted) !important;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .prev-month-btn:not(:disabled):hover,
body.template-obscura.schedule-v2 .schedule-calendar-card .next-month-btn:not(:disabled):hover {
  border-color: var(--obscura-line) !important;
  background: var(--obscura-soft) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .days {
  gap: 6px !important;
  padding: 18px !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day-header {
  color: var(--obscura-muted) !important;
  padding: 8px 0 10px;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day,
body.template-obscura.schedule-v2 .schedule-calendar-card .day.available {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--obscura-text) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transform: none !important;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day.available {
  border-color: var(--premium-primary-soft-border) !important;
  background: var(--premium-primary-soft) !important;
  cursor: pointer;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day.available:hover {
  border-color: var(--premium-primary) !important;
  background: color-mix(in srgb, var(--premium-primary) 22%, transparent) !important;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day:not(.available) {
  color: var(--obscura-muted) !important;
  opacity: 0.34;
  cursor: default;
}

body.template-obscura.schedule-v2 .schedule-calendar-card .day.selected {
  border-color: var(--premium-primary) !important;
  background: var(--premium-primary) !important;
  color: var(--premium-on-primary) !important;
}

body.template-obscura.schedule-v2 .schedule-time-panel {
  min-height: 100%;
  margin: 0;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--obscura-panel) 86%, var(--obscura-bg)) !important;
  padding: 30px;
}

body.template-obscura.schedule-v2 .time-header {
  display: flex !important;
}

body.template-obscura.schedule-v2 .schedule-time-kicker {
  margin: 0 0 12px;
  color: var(--premium-primary) !important;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.template-obscura.schedule-v2 .available-time {
  display: block !important;
  margin: 0 0 30px;
  color: var(--obscura-text) !important;
  font-family: var(--premium-heading-font) !important;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem) !important;
  font-weight: 500;
  line-height: 1.15;
  text-align: left;
}

body.template-obscura.schedule-v2 .available-time.available-time-default {
  color: var(--obscura-muted) !important;
}

body.template-obscura.schedule-v2 .schedule-time-empty {
  min-height: 220px;
  border: 1px dashed var(--obscura-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--obscura-soft) 55%, transparent);
  color: var(--obscura-muted);
  font-size: 0.95rem;
}

body.template-obscura.schedule-v2 .time-slot-container {
  display: grid;
  gap: 14px;
}

body.template-obscura.schedule-v2 .morning,
body.template-obscura.schedule-v2 .afternoon {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.template-obscura.schedule-v2 .time.time-choice {
  min-height: 60px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--obscura-text) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 180ms ease, background-color 180ms ease !important;
}

body.template-obscura.schedule-v2 .time-header {
  margin: 4px 0 10px;
  color: var(--obscura-muted) !important;
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.template-obscura.schedule-v2 .time-header::after {
  background: var(--obscura-line);
}

body.template-obscura.schedule-v2 .time.time-choice:hover,
body.template-obscura.schedule-v2 .time.time-choice.selected {
  border-color: var(--premium-primary) !important;
  background: color-mix(in srgb, var(--premium-primary) 10%, var(--obscura-panel)) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.schedule-v2 .premium-schedule-actions {
  gap: 20px;
}

body.template-obscura.schedule-v2 .schedule-waitlist-link {
  margin-left: auto;
}

body.template-obscura.appointment-v2 .obscura-service-actions .obscura-continue,
body.template-obscura.schedule-v2 #obscuraScheduleContinue {
  display: none;
}

body.template-obscura.appointment-v2 .obscura-service-actions,
body.template-obscura.schedule-v2 .premium-schedule-actions {
  justify-content: flex-start;
}

/* Step 3 */
body.template-obscura.userform-v2 .premium-booking-body {
  padding: 0 clamp(22px, 4.5vw, 48px) 80px;
}

body.template-obscura.userform-v2 .premium-booking-body .container {
  max-width: 1026px;
  padding: 0;
}

body.template-obscura.userform-v2 form#user-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(48px, 5vw, 54px) !important;
}

body.template-obscura.userform-v2 form#user-form > * {
  grid-column: 1 !important;
  grid-row: auto !important;
}

body.template-obscura.userform-v2 .obscura-step-heading {
  margin: 58px 0 40px;
}

body.template-obscura.userform-v2 .premium-details-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body.template-obscura.userform-v2 .premium-details-panel > * {
  order: 5;
}

body.template-obscura.userform-v2 .premium-form-context {
  display: grid;
  order: -1;
  width: 100%;
  min-width: 0;
  gap: 22px;
  margin: 0 0 42px;
  padding: 0 0 38px;
  border-bottom: 1px solid var(--obscura-line);
  overflow: hidden;
}

body.template-obscura.userform-v2 .premium-form-context > *,
body.template-obscura.userform-v2 .premium-form-context .form-group,
body.template-obscura.userform-v2 .premium-context-copy {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body.template-obscura.userform-v2 .premium-form-context .form-group {
  margin: 0 !important;
}

body.template-obscura.userform-v2 .obscura-selected-service {
  display: grid;
  gap: 5px;
}

body.template-obscura.userform-v2 .obscura-selected-service span {
  color: var(--premium-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.template-obscura.userform-v2 .obscura-selected-service h2 {
  margin: 0;
  color: var(--obscura-text);
  font-family: var(--premium-heading-font);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
}

body.template-obscura.userform-v2 .premium-form-context .premium-context-label {
  display: block;
  margin: 0 0 12px !important;
  color: var(--premium-primary) !important;
  font-family: var(--premium-heading-font);
  font-size: clamp(1.35rem, 2vw, 1.7rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.15;
  text-transform: none !important;
}

body.template-obscura.userform-v2 .premium-form-context .design-images,
body.template-obscura.userform-v2 .premium-form-context .description-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body.template-obscura.userform-v2 .obscura-reference-gallery {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 12px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--obscura-line) transparent;
}

body.template-obscura.userform-v2 .obscura-reference-image {
  position: relative;
  flex: 0 0 132px;
  width: 132px;
  height: 132px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 8px !important;
  background: var(--obscura-soft) !important;
  padding: 0 !important;
  cursor: zoom-in;
}

body.template-obscura.userform-v2 .obscura-reference-image .post-pictures,
body.template-obscura.userform-v2 .obscura-reference-image .images_url {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  object-fit: cover;
}

body.template-obscura.userform-v2 .obscura-reference-image .plus-icon {
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  background: color-mix(in srgb, var(--obscura-bg) 78%, transparent);
  color: var(--obscura-text);
  font-family: var(--premium-body-font);
  font-size: 1.2rem;
}

body.template-obscura.userform-v2 .obscura-enlarged-reference {
  margin-top: 14px;
}

body.template-obscura.userform-v2 .obscura-enlarged-reference img {
  display: block;
  width: min(100%, 560px);
  max-height: 560px;
  border: 1px solid var(--obscura-line);
  border-radius: 8px;
  object-fit: contain;
}

body.template-obscura.userform-v2 form#user-form .premium-form-context .description-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--obscura-soft) 72%, transparent) !important;
  padding: 18px 20px !important;
  color: var(--obscura-muted) !important;
  font-family: var(--premium-body-font);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

body.template-obscura.userform-v2 .obscura-context-toggle {
  display: none;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--premium-primary);
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (max-width: 767px) {
  body.template-obscura.userform-v2 .premium-form-context {
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 30px;
  }

  body.template-obscura.userform-v2 .obscura-reference-image {
    flex-basis: 108px;
    width: 108px;
    height: 108px;
  }

  body.template-obscura.userform-v2 form#user-form .premium-form-context .description-card.is-collapsed:not(.is-expanded) {
    max-height: 9.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }

  body.template-obscura.userform-v2 form#user-form .premium-form-context .description-card.is-expanded {
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  body.template-obscura.userform-v2 .obscura-context-toggle:not([hidden]) {
    display: inline-flex;
  }
}

body.template-obscura.userform-v2 .premium-details-panel .form-group:has(.client-type-toggle) {
  display: block !important;
  order: 0;
}

body.template-obscura.userform-v2 .client-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--obscura-line);
  border-radius: 8px;
  background: var(--obscura-bg);
}

body.template-obscura.userform-v2 .client-type-button {
  min-width: 0;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--obscura-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

body.template-obscura.userform-v2 .client-type-button.active {
  border-color: var(--premium-primary);
  background: var(--premium-primary);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #ffffff 18%, transparent);
}

body.template-obscura.userform-v2 .returning-client-banner {
  order: 1;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid var(--obscura-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--obscura-soft) 82%, transparent);
  color: var(--obscura-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

body.template-obscura.userform-v2 .returning-client-banner[data-state="warning"] {
  border-color: color-mix(in srgb, #d79a57 58%, transparent);
  color: #e5b77f;
}

body.template-obscura.userform-v2 .returning-client-banner[data-state="success"] {
  border-color: color-mix(in srgb, var(--premium-primary) 65%, transparent);
  color: var(--obscura-text);
}

body.template-obscura.userform-v2 .obscura-name-group { order: 2; }
body.template-obscura.userform-v2 .obscura-email-group { order: 3; }
body.template-obscura.userform-v2 .obscura-phone-group { order: 4; }
body.template-obscura.userform-v2 .obscura-notes-field { order: 5; }

body.template-obscura.userform-v2 form#user-form .form-group {
  margin-bottom: 26px !important;
}

body.template-obscura.userform-v2 form#user-form label {
  margin-bottom: 12px !important;
  color: var(--obscura-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
}

body.template-obscura.userform-v2 form#user-form input,
body.template-obscura.userform-v2 form#user-form textarea,
body.template-obscura.userform-v2 form#user-form select {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px !important;
  background: var(--obscura-bg) !important;
  padding: 14px 16px !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.userform-v2 form#user-form textarea {
  min-height: 112px;
  resize: vertical;
}

body.template-obscura.userform-v2 form#user-form .obscura-referral-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 52px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9a9a9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-position: right 18px center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  color-scheme: dark;
  line-height: 1.35;
}

body.template-obscura.userform-v2 form#user-form .obscura-referral-field select option {
  background: var(--obscura-panel);
  color: var(--obscura-text);
}

body.template-obscura.userform-v2 .phone-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.template-obscura.userform-v2 form#user-form .phone-input-group .phone-segment {
  width: auto;
  max-width: 92px;
  text-align: center;
}

body.template-obscura.userform-v2 .phone-segment-divider {
  color: var(--obscura-muted);
}

body.template-obscura.userform-v2 .custom-align,
body.template-obscura.userform-v2 .checkbox-group {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px;
  background: color-mix(in srgb, var(--obscura-soft) 72%, transparent) !important;
  padding: 14px 16px !important;
}

body.template-obscura.userform-v2 .custom-align .price-option,
body.template-obscura.userform-v2 form#user-form .checkbox-group .checkbox-label {
  color: var(--obscura-text) !important;
  font-family: var(--premium-body-font);
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.4;
  text-transform: none !important;
}

body.template-obscura.userform-v2 form#user-form .custom-align .price-option {
  align-self: stretch;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

body.template-obscura.userform-v2 .price-option-display-set {
  align-self: center;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

body.template-obscura.userform-v2 form#user-form .price-option-display-value {
  width: 52px !important;
  min-height: 42px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 9px !important;
  background: var(--obscura-bg) !important;
  padding: 6px !important;
  color: var(--obscura-text) !important;
  text-align: center;
}

body.template-obscura.userform-v2 .price-option-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 8px !important;
  background: var(--obscura-soft) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.userform-v2 .price-option-btn i {
  color: var(--obscura-text) !important;
  opacity: 1;
}

body.template-obscura.userform-v2 .price-option-btn:hover {
  border-color: var(--premium-primary) !important;
  background: var(--premium-primary) !important;
  color: var(--premium-on-primary, #17110d) !important;
}

body.template-obscura.userform-v2 .price-option-btn:hover i {
  color: var(--premium-on-primary, #17110d) !important;
}

body.template-obscura.userform-v2 .checkbox-label::before {
  border-color: var(--obscura-muted) !important;
  background: var(--obscura-bg) !important;
}

body.template-obscura.userform-v2 .custom-checkbox:checked + .checkbox-label::before,
body.template-obscura.userform-v2 .custom-checkbox-chunk:checked + .checkbox-label::before {
  border-color: var(--premium-primary) !important;
  background: var(--premium-primary) !important;
}

@media (min-width: 768px) {
  body.template-obscura.userform-v2 form#user-form .checkbox-group {
    align-items: stretch;
  }

  body.template-obscura.userform-v2 form#user-form .checkbox-group .checkbox-label {
    display: flex;
    width: 100%;
    min-height: 34px;
    align-items: center;
    align-self: stretch;
  }

  body.template-obscura.userform-v2 form#user-form .checkbox-group .checkbox-label::before {
    top: 50%;
    transform: translateY(-50%);
  }

  body.template-obscura.userform-v2 form#user-form .checkbox-group .custom-checkbox:checked + .checkbox-label::after,
  body.template-obscura.userform-v2 form#user-form .checkbox-group .custom-checkbox-chunk:checked + .checkbox-label::after {
    top: calc(50% - 6px);
  }
}

body.template-obscura.userform-v2 form#user-form .obscura-upload-field > label {
  margin-bottom: 10px !important;
}

body.template-obscura.userform-v2 form#user-form .custom-file-upload .file-upload-label {
  width: 100%;
  min-height: 68px;
  justify-content: flex-start;
  gap: 12px;
  border: 1px dashed var(--obscura-line) !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--obscura-soft) 58%, transparent) !important;
  padding: 0 20px !important;
  color: var(--obscura-text) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  transition: border-color 180ms ease, background-color 180ms ease;
}

body.template-obscura.userform-v2 form#user-form .custom-file-upload .file-upload-label:hover {
  border-color: var(--premium-primary) !important;
  background: color-mix(in srgb, var(--premium-primary) 9%, var(--obscura-soft)) !important;
}

body.template-obscura.userform-v2 form#user-form .custom-file-upload .file-upload-label i {
  color: var(--premium-primary) !important;
  font-size: 1rem;
}

body.template-obscura.userform-v2 .custom-file-upload .selected-files {
  margin-top: 10px;
}

body.template-obscura.userform-v2 .custom-file-upload .file-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

body.template-obscura.userform-v2 .custom-file-upload .file-list li {
  margin: 0;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 10px;
  background: var(--obscura-soft) !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.userform-v2 .policy-card,
body.template-obscura.userform-v2 .note .card.policy-card,
body.template-obscura.userform-v2 form#user-form .form-group:not(.checkbox-group) > .custom-checkbox + .checkbox-label {
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px !important;
  background: var(--obscura-soft) !important;
  box-shadow: none !important;
}

body.template-obscura.userform-v2 .policy-card,
body.template-obscura.userform-v2 .policy-card p,
body.template-obscura.userform-v2 .policy-card span,
body.template-obscura.userform-v2 .policy-card div,
body.template-obscura.userform-v2 .policy-card .checkbox-label,
body.template-obscura.userform-v2 form#user-form .form-group:not(.checkbox-group) > .custom-checkbox + .checkbox-label {
  color: var(--obscura-text) !important;
}

body.template-obscura.userform-v2 .checkbox-disclosure,
body.template-obscura.userform-v2 .checkbox-disclosure.text-muted {
  color: var(--obscura-muted) !important;
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .policy-card {
  display: block;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--obscura-soft) 72%, transparent) !important;
  padding: 18px 20px !important;
  color: var(--obscura-text) !important;
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .policy-card:has(> .custom-checkbox) {
  display: flex !important;
  min-height: 76px !important;
  height: auto !important;
  align-items: center;
  padding: 0 !important;
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .policy-checkbox-label {
  color: var(--obscura-muted) !important;
  font-family: var(--premium-body-font);
  font-size: 0.9rem;
  line-height: 1.55;
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .custom-checkbox + .policy-checkbox-label {
  display: flex;
  width: 100%;
  min-height: 76px;
  margin: 0 !important;
  padding: 20px 24px 20px 58px !important;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  column-gap: 0.3em;
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .custom-checkbox + .policy-checkbox-label::before {
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .custom-checkbox:checked + .policy-checkbox-label::after {
  left: 27px !important;
  top: 50% !important;
  transform: translateY(-60%) rotate(45deg);
}

body.template-obscura.userform-v2 form#user-form .obscura-policy-field .policy-link-button {
  color: var(--premium-primary) !important;
  font-family: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

body.template-obscura.userform-v2 form#user-form .obscura-sms-field > .checkbox-label {
  min-height: 0;
  margin: 0 !important;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--obscura-soft) 72%, transparent) !important;
  padding: 18px 20px 18px 52px !important;
  color: var(--obscura-text) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.template-obscura.userform-v2 form#user-form .obscura-sms-field > .checkbox-label::before {
  left: 18px !important;
  top: 20px !important;
}

body.template-obscura.userform-v2 form#user-form .obscura-sms-field > .custom-checkbox:checked + .checkbox-label::after {
  left: 25px !important;
  top: 24px !important;
}

body.template-obscura.userform-v2 .obscura-sms-field .checkbox-title {
  color: var(--obscura-text) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: none;
}

body.template-obscura.userform-v2 .obscura-sms-field .checkbox-disclosure {
  margin-top: 8px !important;
  color: var(--obscura-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.55;
  text-transform: none;
}

body.template-obscura.userform-v2 .obscura-sms-field .checkbox-disclosure a {
  color: var(--premium-primary) !important;
}

body.template-obscura.userform-v2 .premium-booking-summary {
  position: static;
  margin-top: 34px;
  border: 1px solid var(--obscura-line) !important;
  border-radius: 18px !important;
  background: color-mix(in srgb, var(--obscura-soft) 55%, transparent) !important;
  padding: 26px 28px !important;
}

body.template-obscura.userform-v2 .summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 !important;
}

body.template-obscura.userform-v2 .summary-breakdown {
  margin: 2px 0 10px !important;
}

body.template-obscura.userform-v2 .summary-breakdown ul {
  display: grid;
  gap: 7px;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--obscura-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 2px 0 14px !important;
  box-shadow: none !important;
  list-style: none;
}

body.template-obscura.userform-v2 .summary-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--obscura-muted);
  font-family: var(--premium-body-font);
  font-size: 0.88rem;
  line-height: 1.45;
}

body.template-obscura.userform-v2 .summary-addon-name::before {
  content: "+";
  margin-right: 9px;
  color: var(--premium-primary);
  font-weight: 600;
}

body.template-obscura.userform-v2 .summary-addon-price {
  flex: 0 0 auto;
  color: var(--obscura-text);
  font-weight: 500;
  white-space: nowrap;
}

body.template-obscura.userform-v2 .summary-label {
  color: var(--obscura-muted) !important;
  font-size: 0.95rem !important;
}

body.template-obscura.userform-v2 .summary-value {
  color: var(--obscura-text) !important;
  font-family: var(--premium-body-font);
  font-size: 0.98rem !important;
  text-align: right;
}

body.template-obscura.userform-v2 .summary-line-total {
  margin-top: 10px;
  border-top: 1px solid var(--obscura-line) !important;
  padding-top: 16px !important;
}

body.template-obscura.userform-v2 .summary-line-total .summary-value {
  color: var(--premium-primary) !important;
  font-family: var(--premium-heading-font);
  font-size: clamp(1.9rem, 3vw, 2.4rem) !important;
  font-weight: 600 !important;
  line-height: 1;
}

body.template-obscura.userform-v2 #totalPrice {
  color: var(--premium-primary) !important;
  font-size: clamp(2.35rem, 4vw, 3.1rem) !important;
  font-weight: 600 !important;
  line-height: 0.95 !important;
  opacity: 1 !important;
}

body.template-obscura.userform-v2 .summary-line-total .summary-label {
  align-self: center;
  color: var(--obscura-text) !important;
  font-weight: 600 !important;
}

body.template-obscura.userform-v2 .premium-form-actions {
  margin-top: 52px;
}

body.template-obscura.userform-v2 #submit-button {
  min-width: 210px;
  min-height: 60px;
  border-radius: 12px !important;
  background: var(--obscura-text) !important;
  color: var(--obscura-bg) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none;
}

body.template-obscura.obscura-step-loading {
  cursor: progress;
}

.obscura-booking-frame {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--obscura-bg);
}

body.template-obscura.obscura-flow-open {
  overflow: hidden;
}

body.template-obscura.obscura-step-loading .obscura-booking-frame {
  opacity: 0.72;
}

@media (max-width: 767px) {
  body.template-obscura.schedule-v2 .premium-booking-hero {
    padding: 20px 16px 24px !important;
  }

  body.template-obscura.schedule-v2 .obscura-schedule-title {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    line-height: 1;
    white-space: nowrap;
  }

  body.template-obscura .premium-booking-hero {
    padding: 22px 16px 26px !important;
  }

  body.template-obscura .premium-booking-subtitle {
    font-size: clamp(2.25rem, 9vw, 2.8rem) !important;
  }

  body.template-obscura .premium-back-home {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  body.template-obscura .premium-flow-steps {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    justify-content: center;
    overflow-x: visible;
  }

  body.template-obscura .obscura-booking-shell,
  body.template-obscura.userform-v2 form#user-form {
    border-radius: 20px !important;
    padding: 34px 20px !important;
  }

  body.template-obscura.appointment-v2 .premium-service-card {
    min-height: 0;
    border-radius: 14px;
    padding: 22px 20px;
    text-align: left;
  }

  body.template-obscura.appointment-v2 .premium-service-grid {
    gap: 12px;
  }

  body.template-obscura.appointment-v2 .premium-service-card-head {
    margin-bottom: 16px;
  }

  body.template-obscura.appointment-v2 .premium-service-card h3 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.15;
  }

  body.template-obscura.appointment-v2 .premium-service-card .price {
    position: static;
    font-size: 1.4rem !important;
    line-height: 1;
    transform: none;
  }

  body.template-obscura.appointment-v2 .premium-service-card-meta {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
    font-size: 0.92rem;
  }

  body.template-obscura.appointment-v2 .premium-service-card .duration {
    line-height: 1.3;
  }

  body.template-obscura.appointment-v2.obscura-layout-list .premium-service-grid {
    gap: 0;
  }

  body.template-obscura.appointment-v2.obscura-layout-list .premium-service-card {
    border-width: 0 0 1px !important;
    border-radius: 0;
    padding: 24px 4px;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-categories {
    gap: 34px;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-editorial-service-card {
    min-height: 0;
    padding: 24px 20px;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-book-service {
    width: 100%;
  }

  body.template-obscura.appointment-v2.obscura-layout-service-card .obscura-service-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-grid,
  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card {
    padding: 0;
  }

  body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card-content {
    padding: 20px;
  }

  body.template-obscura.appointment-v2.obscura-layout-thumbnail .premium-service-card .price,
  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card .price {
    font-size: 1.35rem !important;
  }

  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card {
    display: grid;
    grid-template-columns: minmax(108px, 32%) minmax(0, 1fr);
    min-height: 150px;
    padding: 0;
  }

  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card-content {
    padding: 18px;
  }

  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card-head {
    margin-bottom: 12px;
  }

  body.template-obscura.appointment-v2.obscura-layout-card-image .premium-service-card h3 {
    font-size: 1.25rem;
  }

  body.template-obscura.schedule-v2 .morning,
  body.template-obscura.schedule-v2 .afternoon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.template-obscura .obscura-step-actions,
  body.template-obscura .premium-schedule-actions,
  body.template-obscura.userform-v2 .premium-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 20px;
  }

  body.template-obscura .obscura-continue,
  body.template-obscura.userform-v2 #submit-button {
    width: 100%;
  }

  body.template-obscura.userform-v2 form#user-form .form-group {
    margin-bottom: 20px !important;
  }

  body.template-obscura.userform-v2 form#user-form label {
    margin-bottom: 9px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.4;
  }

  body.template-obscura.userform-v2 .phone-input-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr) 10px minmax(0, 1.2fr);
    gap: 7px;
    width: 100%;
    align-items: center;
  }

  body.template-obscura.userform-v2 form#user-form .phone-input-group .phone-segment {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    min-height: 56px;
    padding-inline: 8px !important;
    font-size: 1rem;
  }

  body.template-obscura.userform-v2 .phone-segment-divider {
    min-width: 0;
    text-align: center;
  }

  body.template-obscura.userform-v2 form#user-form .obscura-referral-field select {
    height: 56px;
    min-height: 56px;
    padding: 0 46px 0 14px !important;
    background-position: right 15px center !important;
    font-size: 1rem;
    line-height: normal;
  }

  body.template-obscura.userform-v2 .custom-align {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px !important;
  }

  body.template-obscura.userform-v2 form#user-form .custom-align .price-option {
    width: 100%;
    min-height: 0;
    line-height: 1.45;
  }

  body.template-obscura.userform-v2 .price-option-display-set {
    align-self: flex-end;
  }

  body.template-obscura.userform-v2 .checkbox-group {
    min-height: 0;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px !important;
  }

  body.template-obscura.userform-v2 form#user-form .checkbox-group .checkbox-label {
    margin: 0 !important;
    line-height: 1.45;
  }
}

@media (max-width: 380px) {
  body.template-obscura.schedule-v2 .obscura-schedule-title {
    font-size: clamp(1.75rem, 8vw, 2rem) !important;
  }

  body.template-obscura .premium-flow-steps {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 991px) {
  body.template-obscura.schedule-v2 .premium-schedule-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.template-obscura.schedule-v2 .schedule-calendar-card {
    width: 100%;
    max-width: 410px;
    margin-inline: auto;
  }

  body.template-obscura.schedule-v2 .schedule-time-panel {
    min-height: 0;
    scroll-margin-top: 20px;
    border: 1px solid var(--obscura-line) !important;
    padding: 26px;
  }

  body.template-obscura.schedule-v2 .schedule-time-empty {
    min-height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.template-obscura *,
  body.template-obscura *::before,
  body.template-obscura *::after {
    transition-duration: 0.01ms !important;
  }
}
