/* ============================================================
   B•Chemistry — Service Page Styles
   (Navbar + Footer live in style.css)
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  text-align: center;
  padding: 42px 24px 54px;
}

.hero-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 5.2vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2E2E2E;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.8rem);
  font-weight: 400;
  color: #2E2E2E;
  letter-spacing: 0.09em;
}

/* ============================================================
   FILTERS BAR
   ============================================================ */
.filters-bar {
  padding: 0 75px 24px;
}

.filters-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: none;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.68rem, 0.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #606060;
  text-transform: uppercase;
}

/* Search */
.filter-search-group {
  flex: 1;
  min-width: 0;
  padding-right: 48px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #c8c0b8;
  padding: 10px 32px 10px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.3rem);
  font-weight: 400;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
}

.search-input::placeholder {
  color: #b0a89e;
}

.search-input:focus {
  border-bottom-color: #5c1a1a;
}

.search-clear {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 0.85rem;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.search-clear:hover {
  color: #1a1a1a;
}

/* ── Custom Gender Dropdown ── */
.filter-select-group {
  flex-shrink: 0;
  padding-right: 48px;
  min-width: 220px;
}

/* Gender body-floating panel — same styling as .custom-select__panel */
.gender-body-panel {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.custom-select {
  position: relative;
}

/* Trigger button — matches search underline style */
.custom-select__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #c8c0b8;
  padding: 10px 4px 10px 0;
  width: 100%;
  cursor: pointer;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.4rem);
  font-weight: 400;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  justify-content: space-between;
}

.custom-select__trigger:focus,
.custom-select[data-open] .custom-select__trigger {
  border-bottom-color: #5c1a1a;
}

.select-chevron {
  color: #888;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.custom-select[data-open] .select-chevron {
  transform: rotate(180deg);
}

/* Floating card panel — like the image */
.custom-select__panel {
  display: block;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Hidden by default — use visibility so pointer events still work */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

.custom-select[data-open] .custom-select__panel {
  z-index:1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
}

/* Each option row */
.custom-select__option {
  padding: 14px 20px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.15rem);
  font-weight: 400;
  color: #1a1a1a;
  text-transform: capitalize;
  cursor: pointer;
  transition: background 0.15s;
}

/* Divider between options (like the image) */
.custom-select__option + .custom-select__option {
  border-top: 1px solid #e8e4e0;
}

.custom-select__option:hover {
  background: #f5f3f1;
}

.custom-select__option[aria-selected="true"] {
  color: #5c1a1a;
  font-weight: 500;
}

/* Toggle group */
.filter-toggle-group {
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: flex-end;
}

.toggle-switch {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding-top: 14px;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: relative;
  width: 46px;
  height: 26px;
  background-color: #d4cdc6;
  border-radius: 999px;
  transition: background-color 0.25s ease;
  display: block;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}

.toggle-switch input:checked + .toggle-track {
  background-color: #5c1a1a;
}

.toggle-switch input:checked + .toggle-track .toggle-thumb {
  transform: translateX(20px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .filters-bar {
    padding: 0 24px 40px;
  }

  .filters-inner {
    flex-wrap: wrap;
    gap: 24px 0;
  }

  .filter-search-group {
    width: 100%;
    padding-right: 0;
    flex: none;
  }

  .filter-select-group {
    flex: 1;
    min-width: 130px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 16px 40px;
  }

  .filters-bar {
    padding: 0 16px 32px;
  }

  .filters-inner {
    gap: 20px 0;
  }

  .filter-select-group {
    padding-right: 16px;
    min-width: 120px;
  }
}

/* ============================================================
   CATEGORY DOT-NAV PILL
   ============================================================ */

/* services-wrap = just a passthrough — pill is fixed, positioned via JS right value */
.services-wrap {
  position: relative;
}

.cat-nav-pill {
  position: fixed;
  top: 75%;
  transform: translateY(-50%);
  z-index: 100;
  background: #ffffff;
  border-radius: 10px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;   /* always centered — dots never move */
  gap: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  overflow: hidden;
  width: 28px;
  opacity: 0;            /* hidden until JS shows it */
  transform: translateY(-50%) scaleX(1);
  transform-origin: right center;
  transition:
    width      0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity    0.4s ease,
    box-shadow 0.6s ease;
}

.cat-nav-pill:hover {
  width: 150px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.14);
}

/* Each row: dot is fixed-position anchor, label sits to its left */
.cat-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 14px;
}

/* Dot — shrinks away on hover */
.cat-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8c0b8;
  flex-shrink: 0;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity    0.5s ease,
    transform  0.5s ease,
    background 0.4s ease;
  z-index: 1;
}

.cat-nav-pill:hover .cat-nav-dot {
  opacity: 0;
  transform: scale(0.3);
}

.cat-nav-item:hover .cat-nav-dot {
  background: #5c1a1a;
}

/* Label — blurs in from right */
.cat-nav-label {
  position: absolute;
  left:10px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #b1aaaa;
  white-space: nowrap;
  opacity: 0;
  filter: blur(4px);
  transform: translateX(10px);
  transition:
    opacity   0.6s ease 0.35s,
    filter    0.6s ease 0.35s,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s;
  text-transform: uppercase;
}

.cat-nav-pill:hover .cat-nav-label {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0);
}

.cat-nav-item:hover .cat-nav-label {
  color: #5c1a1a;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .cat-nav-pill { display: none; }
}

/* ============================================================
   SERVICES LISTING
   ============================================================ */
.services-main {
  padding: 0 75px 80px;
}

.svc-category {
  max-width: 100%;
  margin: 0 auto;
  padding: 25px 0 0;
}

.svc-category:first-child {
  border-top: none;
}

.svc-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(2rem, 1.3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2E2E2E;
  text-align: center;
  margin-bottom: 32px;
}

.svc-list {
  list-style: none;
  width: 100%;
}

.svc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  gap: 16px;
}

/* Left side — name + eta */
.svc-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.svc-name {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.8rem, 0.9vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #2E2E2E;
}

.svc-eta {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.65rem, 0.75vw, 0.85rem);
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}

/* Right side — prices */
.svc-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.svc-price {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.78rem, 0.9vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2E2E2E;
  white-space: nowrap;
}

.svc-price--strike {
  text-decoration: line-through;
  color: #aaa;
  font-weight: 400;
}

.svc-price--offer {
  color: #5c1a1a;
  font-weight: 700;
}

/* ── Add button ── */
.svc-add-btn {
  white-space: nowrap;
  border: none;
  background: #4B1413;
  color: #ffffff;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.75rem, 0.85vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 8px 18px;   /* visible by default (mobile/touch) */
}

/* Desktop only (≥1024px + hover) — hide button, slide in on row hover */
@media (hover: hover) and (min-width: 1024px) {
  .svc-add-btn {
    max-width: 0;
    overflow: hidden;
    padding: 0;
    transition: max-width 0.3s ease, padding 0.3s ease;
  }

  .svc-item:hover .svc-add-btn {
    max-width: 90px;
    padding: 6px 16px;
  }
}

/* Selected row — light rose background */
.svc-item--selected {
  background: #EFF0F7;
  border-radius: 8px;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
  transition: background 0.3s ease;
}

/* Minus icon button state */
.svc-add-btn--added {
  background: transparent !important;
  color: #e05252;
  padding: 0 !important;
  max-width: 28px !important;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-add-btn--added:hover {
  color: #c0392b;
}

/* ── Floating Booking Bar ── */
.booking-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 200;
  background: #0f0404;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: min(860px, calc(100vw - 48px));
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  opacity: 0;
}

.booking-bar--visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.booking-bar__count {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.booking-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.booking-bar__label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.booking-bar__total {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.booking-bar__cta {
  background: #ffffff;
  color: #5c1a1a;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.booking-bar__cta:hover {
  background: #f0e8e8;
}

@media (max-width: 600px) {
  .booking-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }
}

.svc-offer-badge {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.6rem, 0.7vw, 0.78rem);
  font-weight: 500;
  color: #ffffff;
  background: #5c1a1a;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.svc-subheader {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.65rem, 0.75vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #999;
  text-transform: uppercase;
  padding: 20px 0 8px;
  list-style: none;
}

.svc-note {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.7rem, 0.8vw, 1rem);
  font-style: italic;
  color: #aaa;
  padding: 4px 0 12px;
  list-style: none;
}

.svc-loading {
  text-align: center;
  padding: 80px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.3rem);
  color: #b0a89e;
  letter-spacing: 0.08em;
}

.svc-no-results {
  text-align: center;
  padding: 60px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.3rem);
  color: #999;
}

@media (max-width: 900px) {
  .services-main {
    padding: 0 24px 60px;
  }
}

@media (max-width: 600px) {
  .services-main {
    padding: 0 16px 48px;
  }

  .svc-name {
    font-size: 0.68rem;
  }
}

/* ============================================================
   BOOKING FRAME
   ============================================================ */
.booking-frame {
  width: 100%;
  line-height: 0;
}

.booking-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   DATE & TIME VIEW
   ============================================================ */

@keyframes dtSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dt-view {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 60px 80px;
  flex-direction: column;
  gap: 32px;
  animation: dtSlideUp 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Only show when not hidden — overrides display:flex so hidden works */
.dt-view:not([hidden]) {
  display: flex;
}

/* ── Stepper ── */
.dt-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
}

.dt-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid #d0cac4;
  border-radius: 25px;
  padding: 6px 14px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #2E2E2E;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s;
  position: absolute;
  left: 0;
}

.dt-back:hover { border-color: #5c1a1a; color: #5c1a1a; }

.dt-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.dt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dt-step__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F1F1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2E2E2E;
}

.dt-step--done .dt-step__circle {
  background: #5c1a1a;
  border-color: #5c1a1a;
  color: #ffffff;
}

.dt-step--active .dt-step__circle {
  background: #F1F1F1;
    border-color: #f1f1f1;
    color: #2E2E2E;
}

.dt-step__label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.dt-step--active .dt-step__label,
.dt-step--done .dt-step__label {
  color: #2E2E2E;
}

.dt-step__line {
  width: 80px;
  height: 0;
  border-top: 1.5px dashed #d0cac4;
  margin: 0 4px;
  margin-bottom: 22px;
}

/* ── Heading ── */
.dt-heading {
  text-align: center;
}

.dt-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #2E2E2E;
  margin-bottom: 10px;
}

.dt-subtitle {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 300;
  color: #2E2E2E;
  letter-spacing: 0.04em;
}

/* ── Body: date + time columns ── */
.dt-body {
  display: grid;
  grid-template-columns: 320px auto 1fr;
  gap: 0 24px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.dt-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, #F6F6F6 0%, #B7B7B7 44.71%, #F7F7F7 100%);
}

.dt-col__label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #2E2E2E;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

.dt-col__label small {
  font-weight: 300;
  color: #aaa;
  margin-left: 6px;
}

/* ── Date grid ── */
.dt-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dt-date-btn {
  /* Gradient border via background-clip trick */
  background:
    linear-gradient(#F6EFEF, #F6EFEF) padding-box,
    linear-gradient(135deg, #D1D0D0, #FCF2F2) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  transition: background 0.2s, box-shadow 0.2s;
}


.dt-date-btn--active {
  background: #5c1a1a;
  border-color: #5c1a1a;
}

.dt-date-num {
  display: block;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  font-weight: 500;
  color: #2E2E2E;
  line-height: 1;
}

.dt-date-btn--active .dt-date-num,
.dt-date-btn--active .dt-date-day {
  color: #ffffff;
}

.dt-date-day {
  display: block;
  font-size: 0.78rem;
  font-weight: 300;
  color: #888;
  margin-top: 4px;
}

/* ── Time slots ── */
.dt-time-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dt-slots-count {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #888;
}

.dt-slots-count span {
  color: #5c1a1a;
  font-weight: 600;
}

.dt-slots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.dt-slot-btn {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(291.97deg, #FDEEEE 36.98%, rgba(185, 138, 137, 0.3) 101.8%) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #2E2E2E;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.dt-slot-btn:hover:not(.dt-slot-btn--disabled) {
  box-shadow: 0 0 0 1.5px #5c1a1a;
}

.dt-slot-btn--active {
  background: #5c1a1a;
  border-color: #5c1a1a;
  color: #ffffff;
}

.dt-slot-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Footer Continue ── */
.dt-footer {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.dt-continue {
  background: #5c1a1a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 40px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.dt-continue:hover { background: #7a2020; }

@media (max-width: 768px) {
  .dt-view { padding: 24px 20px 60px; }
  .dt-body { grid-template-columns: 1fr; gap: 28px; }
  .dt-step__line { width: 40px; }

  /* Stack back button above steps so they don't overlap */
  .dt-stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: unset;
  }

  .dt-back {
    position: static;
  }

  .dt-steps {
    align-self: center;
  }

  /* Date grid: reduce padding so cards don't break on narrow screens */
  .dt-date-btn {
    padding: 10px 10px;
  }

  /* Time slots: 4 columns so AM/PM text fits without clipping */
  .dt-slots {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Slightly larger font so AM/PM is readable at 4-col width */
  .dt-slot-btn {
    font-size: 0.82rem;
    padding: 9px 4px;
  }
}

/* ============================================================
   DETAILS VIEW (step 3)
   ============================================================ */
.details-body {
  max-width: 75%;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.details-count {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 400;
  color: #888;
  letter-spacing: 0.04em;
}

.details-count span {
  color: #5c1a1a;
  font-weight: 600;
}

/* Name + Mobile row */
.details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.details-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.details-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.8rem, 0.95vw, 1rem);
  font-weight: 500;
  color: #2E2E2E;
  letter-spacing: 0.04em;
}

.details-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #2E2E2E;
  padding: 10px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 300;
  color: #2E2E2E;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.details-input:focus {
  border-bottom-color: #5c1a1a;
}

/* Per-service rows */
.details-service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.details-svc-row {
  padding: 20px 0;
}

.details-svc-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.details-svc-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #d0cac4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  flex-shrink: 0;
}

.details-svc-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 600;
  color: #2E2E2E;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

/* Professional custom dropdown — inherits .custom-select panel styles,
   trigger overridden to underline style */
.details-pro-dropdown {
  width: 100%;
}

.details-pro-dropdown .custom-select__trigger {
  border-bottom: 1.5px solid #c8c0b8;
  border-radius: 0;
  background: transparent;
  padding: 10px 4px 10px 0;
  width: 100%;
}

.details-pro-dropdown .custom-select__value {
  color: #000000;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 1rem);
  font-weight: 300;
}

.details-pro-dropdown[data-open] .custom-select__trigger,
.details-pro-dropdown .custom-select__trigger:focus {
  border-bottom-color: #5c1a1a;
}

.details-pro-dropdown .custom-select__panel {
  min-width: 100%;
  top: calc(100% + 6px);
}

@media (max-width: 600px) {
  .details-row { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   FINAL CONFIRMATION CARD
   ============================================================ */
.confirm-card {
  background: #240909;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 88%;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.confirm-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.confirm-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.confirm-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.confirm-meta-key {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.75rem, 0.88vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  min-width: 44px;
}

.confirm-meta-val {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 1rem);
  font-weight: 400;
  color: #ffffff;
}

.confirm-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 16px 0;
}

.confirm-booked-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.75rem, 0.85vw, 0.9rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.confirm-svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.confirm-svc-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.confirm-svc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.confirm-svc-name {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  font-weight: 500;
  text-transform: capitalize;
  color: #ffffff;
}

.confirm-svc-pro {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.72rem, 0.82vw, 0.88rem);
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.confirm-svc-price {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1vw, 1.05rem);
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.confirm-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gst-text{
  font-size: x-small; 
  color:white; 
  margin-bottom: 24px;
}

.confirm-total-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.1rem);
  font-weight: 500;
  color: #ffffff;
}

.confirm-total-val {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  font-weight: 700;
  color: #ffffff;
}

.confirm-btn {
  background: #4A1413;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.confirm-btn:hover {
  background: #6b1e1d;
}

/* ============================================================
   FLASH TOAST
   ============================================================ */
.flash-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 9999;
  background: #f4a4a4;
  color: #000000;
  border: 1px solid rgba(224, 82, 82, 0.35);
  border-radius: 10px;
  padding: 13px 24px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 0.95vw, 0.96rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flash-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.flash-toast--success {
  background: #071e0f;
  color: #6fcf97;
  border-color: rgba(111, 207, 151, 0.35);
}

/* ============================================================
   BOOKING SUCCESS POPUP
   ============================================================ */
.bsuccess-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: bsOverlayIn 0.25s ease both;
}

.bsuccess-overlay[hidden] {
  display: none;
}

@keyframes bsOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.bsuccess-modal {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAE9E9 100%);
  border-radius: 20px;
  width: 50%;
  height:88vh;
  padding: 36px 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bsModalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes bsModalIn {
  from { opacity: 0; transform: scale(0.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* Close button */
.bsuccess-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s;
}
.bsuccess-close:hover { color: #5c1a1a; }

/* ── Visual area ── */
.bsuccess-visual {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

/* Center image circle — large, centered */
.bsuccess-center-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.bsuccess-center-img img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: top center;
}

/* Floating icons — scattered around, overflow the visual box */
.bsuccess-icon {
  position: absolute;
  border-radius: 50%;
  object-fit: contain;
  z-index: 1;
}

/*
  Scattered positions matching reference image:
  Left side: spray bottle (top-left-ish), trimmer (mid-left far), comb (lower-left close)
  Right side: hair dryer (top-right), scissors (mid-right far), bottle (lower-right close)
  Far edges: small trimmer bottom-left, small icon bottom-right
*/
.bsuccess-icon--2 {
    width: 48px;
    height: 70px;
    top: 8px;
    right: 19%;
}


.bsuccess-icon--4 {
    width: 65px;
    height: 61px;
    bottom: 12px;
    right: 15%;
}

.bsuccess-icon--3 {
    width: 50px;
    height: 56px;
    top: 40%;
    right: 4%;
    transform: translateY(-50%);
}

.bsuccess-icon--5 {
    width: 27px;
    height: 40px;
    bottom: 4px;
    right: 4%;
}

.bsuccess-icon--1
 {
    width: 41px;
    height: 68px;
    top: 18px;
    left: 21%;
}

.bsuccess-icon--6 {
    width: 76px;
    height: 76px;
    bottom: -2px;
    left: 15%;
}


.bsuccess-icon--7 {
    width: 48px;
    height: 48px;
    top: 44%;
    left: 6%;
    transform: translateY(-50%);
}


.bsuccess-icon--8 {
    width: 30px;
    height: 36px;
    bottom: 8px;
    left: 2%;
}     /* small icon — far bottom left */

/* ── Text ── */
.bsuccess-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 2.1rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.bsuccess-subtitle {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.bsuccess-divider {
  width: 60%;
  border: none;
  border-top: 1px solid #e0d4d4;
  margin: 0 0 16px;
}

.bsuccess-msg {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 400;
  color: #7c7b7b;
  text-align: center;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 430px;
}

.bsuccess-msg strong {
  color: #1a1a1a;
}

.email-msg{
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #949494;
}

/* Okay button */
.bsuccess-okay {
  width: 100%;
  background: #5c1a1a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

.bsuccess-okay:hover { background: #7a2020; }

/* ── Booking Success Modal — Tablet & Mobile ── */
@media (max-width: 900px) {
  .bsuccess-modal {
    width: 80%;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 24px 24px;
  }

  .bsuccess-visual {
    height: 240px;
  }

  .bsuccess-center-img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .bsuccess-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .bsuccess-modal {
    width: 100%;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px 20px 16px 16px;
    padding: 24px 20px 20px;
  }

  .bsuccess-visual {
    height: 200px;
  }

  .bsuccess-center-img {
    width: 150px;
    height: 150px;
  }

  /* Scale down scattered icons on small screens */
  .bsuccess-icon--1 { width: 32px; height: 52px; }
  .bsuccess-icon--2 { width: 36px; height: 54px; }
  .bsuccess-icon--3 { width: 38px; height: 42px; }
  .bsuccess-icon--4 { width: 50px; height: 46px; }
  .bsuccess-icon--5 { width: 20px; height: 30px; }
  .bsuccess-icon--6 { width: 56px; height: 56px; }
  .bsuccess-icon--7 { width: 36px; height: 36px; }
  .bsuccess-icon--8 { width: 22px; height: 28px; }

  .bsuccess-title  { font-size: 1.6rem; }
  .bsuccess-subtitle { font-size: 0.95rem; }
  .bsuccess-msg    { font-size: 0.85rem; }
}
