/* Services page styles — extracted from services.html inline <style> blocks. */
/* Shared (gradient, tap-highlight, touch-action, hidden, base vars)
   come from /assets/css/mf-background.css + /assets/css/common/site-base.css. */

/* ========== Page-local theme variables (not in common) ========== */
:root {
  --ink: #f5f7fa;
  --muted: #c7c9cc;
  --card: rgba(15, 18, 24, 0.6);
  --card2: rgba(22, 26, 34, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Spacer used by the header layout. */
.spacer {
  width: 44px;
}

/* Main wrapper. */
.wrap {
  margin-top: 76px; /* under the fixed header */
  margin-bottom: 8px;
  max-width: 960px;
  padding: 16px;
  margin-inline: auto;
  background: transparent !important;
}

/* Page title + intro paragraph. */
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 4px 0 12px;
  color: var(--ink);
}

.intro {
  margin: 10px 0 22px;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

/* Two-column layout (Heren / Dames). */
.cols {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}
.col {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  width: 90%;
  margin: 0 auto;
}
.col-title {
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 2px 0 12px;
  letter-spacing: 0.5px;
  color: var(--brand2);
  text-align: center;
}

/* Services grid. */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 1024px) {
  .grid {
    gap: 12px;
  }
}

/* Service card. */
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 8px;
  min-height: 70px;
  border-radius: 12px;
  background: var(--card2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.service:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  border-color: rgba(240, 200, 122, 0.35);
}

.service-label {
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: #f3f5f8;
}

/* Price row. */
.price-row {
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-size: 19px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.old-price {
  text-decoration: line-through;
  opacity: 0.6;
}
.new-price {
  font-weight: 600;
}
.price-arrow {
  opacity: 0.7;
  font-size: 16px;
}
.badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  border-radius: 999px;
  padding: 2px 10px;
  border: 1px solid rgba(240, 200, 122, 0.6);
  background: rgba(0, 0, 0, 0.35);
}
.note {
  margin-top: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.9;
}

/* Empty-section placeholder (when Firestore has no rows in that category). */
.empty-section {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: #c7c9cc;
}

/* Extra note. */
.extra {
  margin: 16px 0 12px;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

/* Book button. */
.book-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 18px;
}
.book {
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0.9rem 2rem;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #121212;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 20px rgba(148, 98, 28, 0.35);
  transition:
    filter 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}
.book:hover {
  filter: saturate(1.05) brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(148, 98, 28, 0.45);
}
.book:active {
  transform: translateY(1px);
}
.book:visited {
  color: #121212;
}

/* Loading bars (used by the MFLoader fallback). */
.loader {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 0 4px;
}
.bar {
  width: 7px;
  height: 18px;
  margin: 0 2px;
  border-radius: 10px;
  animation: loading_5192 1s ease-in-out infinite;
  background-color: var(--brand);
}
.bar:nth-child(1) {
  animation-delay: 0.01s;
}
.bar:nth-child(2) {
  animation-delay: 0.09s;
}
.bar:nth-child(3) {
  animation-delay: 0.19s;
}
.bar:nth-child(4) {
  animation-delay: 0.29s;
}
@keyframes loading_5192 {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1, 2.5);
  }
  40% {
    transform: scale(1);
  }
}

/* Mobile tweaks. */
@media (max-width: 520px) {
  .page-title {
    font-size: 26px !important;
    text-align: center;
    margin-bottom: 12px;
  }
  .intro {
    font-size: 13px;
    line-height: 1.6;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
  }
  .cols {
    flex-direction: column;
    gap: 12px;
  }
  .col {
    padding: 8px 10px;
    border-radius: 12px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .service {
    min-height: 70px;
    padding: 10px 6px;
    border-radius: 8px;
  }
  .service-label {
    font-size: 16px;
    font-weight: 600;
  }
  .price-row {
    font-size: 15px;
  }
  .extra {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 14px 0 16px;
    padding: 10px 12px;
  }
  .book {
    padding: 0.6rem 1.6rem;
    font-size: 14px;
    border-radius: 999px;
  }
}

/* Mobile one-finger scroll (FB/IG/Chrome WebView). */
html,
body {
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: auto !important;
}
