/* ─────────────────────────────────────────────────────────────
   Treatment detail page styles
   ───────────────────────────────────────────────────────────── */

/* Breadcrumb */
.breadcrumb {
  border-bottom: 1px solid hsl(var(--border));
  padding-block: 0.6rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.breadcrumb .container { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb .sep { color: hsl(var(--muted-foreground) / 0.5); }
.breadcrumb a:hover { color: hsl(var(--foreground)); }
.breadcrumb .current { color: hsl(var(--foreground)); }

/* Treatment hero */
.treatment-hero {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid hsl(var(--border));
}
.treatment-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 1024px) { .treatment-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

.treatment-hero-info h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.treatment-hero-info .lede {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  max-width: 52ch;
}
.treatment-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}
.treatment-meta-strip .m-cell {
  padding: 0.75rem 1rem;
  border-right: 1px solid hsl(var(--border));
  display: grid;
  gap: 0.2rem;
}
.treatment-meta-strip .m-cell:last-child { border-right: none; }
.treatment-meta-strip .l { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--muted-foreground)); }
.treatment-meta-strip .v { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.95rem; }

.treatment-badges {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 1rem;
}
.treatment-desc {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.65;
  max-width: 58ch;
}
.treatment-list {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  display: grid; gap: 0.55rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.25rem;
}
.treatment-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.86);
  line-height: 1.55;
}
.treatment-list li::before {
  content: "✓";
  color: hsl(var(--primary));
  font-weight: 500;
  line-height: 1.55;
}

/* Hero side */
.treatment-hero-side { display: flex; flex-direction: column; gap: 1rem; }
.treatment-hero-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
  position: relative;
}
.treatment-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.treatment-hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 16, 28, 0.45) 100%);
  pointer-events: none;
}
.treatment-image-tag {
  position: absolute; left: 0.85rem; bottom: 0.85rem; z-index: 2;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.92);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.55rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
}
.treatment-quickfacts {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}
.qf-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
}
.qf-row:last-child { border-bottom: none; }
.qf-row .l { color: hsl(var(--muted-foreground)); }
.qf-row .v { font-variant-numeric: tabular-nums; font-weight: 500; }

/* Booking section on detail page */
.treatment-booking-section {
  background: hsl(var(--card) / 0.4);
  border-bottom: 1px solid hsl(var(--border));
}
.treatment-booking {
  max-width: 880px;
  margin-inline: auto;
  min-height: 540px;
  display: flex;
}
.treatment-booking .booking { width: 100%; }

/* Process */
.treatment-process { border-bottom: 1px solid hsl(var(--border)); }
.process-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
  padding: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}
.process-step .n {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.3);
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  font-weight: 600;
}
.process-step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.process-step p { font-size: 0.825rem; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.55; }

/* Education / FAQ */
.treatment-edu { border-bottom: 1px solid hsl(var(--border)); }
.treatment-edu-grid {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .treatment-edu-grid { grid-template-columns: 1fr 1.4fr; } }
.treatment-edu h2 { margin-top: 0.75rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.treatment-edu p.muted { margin-top: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.55; font-size: 0.9rem; }
.faq { display: grid; gap: 0.5rem; }
.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--ff-mono);
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  transition: transform 200ms;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: hsl(var(--primary)); }
.faq-item .answer {
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

/* Related treatments */
.treatment-related { border-bottom: 1px solid hsl(var(--border)); }
.related-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: border-color 160ms, transform 200ms;
}
.related-card:hover { border-color: hsl(var(--primary) / 0.5); }
.related-card .thumb {
  width: 96px; aspect-ratio: 1;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card .body { display: flex; flex-direction: column; justify-content: center; gap: 0.2rem; min-width: 0; }
.related-card .cat {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.related-card .name { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.related-card .price {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: hsl(var(--primary));
  font-weight: 500;
}
