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

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

.hero-title {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 7vw, 3.75rem);
  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: 1.1rem;
  font-weight: 400;
  color: #2E2E2E;
  letter-spacing: 0.09em;
}

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

.filters-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

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

.filter-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.68rem;
  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: 0.80rem;
  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;
}

/* Select groups */
.filter-select-group {
  flex-shrink: 0;
  padding-right: 48px;
  min-width: 180px;
}

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

.filter-select-el {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #c8c0b8;
  padding: 10px 28px 10px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.filter-select-el:focus {
  border-bottom-color: #5c1a1a;
}

.select-chevron {
  position: absolute;
  right: 2px;
  pointer-events: none;
  color: #888;
  display: flex;
  align-items: center;
}

/* 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;
  }
}

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

.svc-category {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 0 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}

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

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

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

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

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

.svc-name {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #2E2E2E;
}

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

.svc-subheader {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.65rem;
  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: 0.7rem;
  font-style: italic;
  color: #aaa;
  padding: 4px 0 12px;
  list-style: none;
}

.svc-no-results {
  text-align: center;
  padding: 60px 0;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.9rem;
  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;
}
