/* ============================================================
   Center detail — page-specific styles
   ============================================================ */

.detail-main { padding: 24px 0 80px; display: grid; grid-template-columns: 1fr; gap: 0; }

/* breadcrumb */
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.crumbs a { color: var(--text-muted); }
.crumbs a:hover { color: var(--text); }
.crumbs .sep { color: var(--text-faint); }
.crumbs .now { color: var(--text); font-weight: 500; }

/* ===== gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 28px;
}
.gallery .tile {
  background: var(--surface-3);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.gallery .tile .ms {
  color: rgba(15,17,21,0.18);
  font-size: 60px;
  font-variation-settings: 'opsz' 48, 'wght' 300, 'FILL' 1, 'GRAD' 0;
}
.gallery .tile:nth-child(1) { grid-row: 1 / span 2; }
.gallery .tile-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(15,17,21,0.10), transparent 60%),
    linear-gradient(135deg, #2a2c32 0%, #1c1e23 100%);
}
.gallery .tile-1 .ms { color: rgba(242, 198, 0, 0.5); font-size: 110px; }
.gallery .tile-2 { background: linear-gradient(135deg, #e6e2d5 0%, #d2cdba 100%); }
.gallery .tile-3 { background: linear-gradient(135deg, #d8dbe2 0%, #b9bdc8 100%); }
.gallery .tile-4 { background: linear-gradient(135deg, #efe9d6 0%, #ddd5b8 100%); }
.gallery .tile-5 {
  background: linear-gradient(135deg, #1c1e23 0%, #2a2c32 100%);
  cursor: pointer;
}
.gallery .more-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.gallery .tile-5 .ms { color: rgba(247, 246, 242, 0.4); }

/* ===== center head ===== */
.center-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.center-head h1 {
  font-size: 44px;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 12px;
}
.center-head .badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.center-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.center-summary .row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.center-summary .row .ms { color: var(--text-muted); font-size: 18px; }
.center-summary .row strong { font-weight: 600; color: var(--text); }
.center-summary .row .sub { color: var(--text-muted); margin-left: 4px; }

.head-stats {
  display: flex;
  gap: 24px;
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
}
.head-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.head-stat .v {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.head-stat .v .star { color: var(--signal); font-family: var(--font); font-size: 22px; vertical-align: -2px; }
.head-stat .l {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.head-stat-sep {
  width: 1px;
  background: var(--line);
}

/* ===== content layout ===== */
.detail-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* ===== section ===== */
.section {
  margin-bottom: 48px;
}
.section .section-head {
  margin-bottom: 18px;
}
.section .section-head h2 {
  font-size: 22px;
  font-family: var(--font);
  font-weight: 600;
}

/* ===== services list ===== */
.services-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  padding: 16px 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 120ms ease;
}
.service-row:last-child { border-bottom: 0; }
.service-row:hover { background: var(--surface-2); }
.service-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-name .n {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service-name .d {
  font-size: 13px;
  color: var(--text-muted);
}
.service-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.service-time .ms { color: var(--text-muted); font-size: 14px; }
.service-price {
  text-align: right;
}
.service-price .v {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service-price .u {
  font-size: 11px;
  color: var(--text-muted);
}
.service-row .secondary-btn { padding: 8px 14px; font-size: 13px; }

.service-row.featured {
  background: linear-gradient(90deg, rgba(242, 198, 0, 0.08) 0%, transparent 60%);
}
.service-row.featured .service-name::before {
  content: '★';
  color: var(--signal);
  margin-right: 6px;
  font-size: 12px;
  vertical-align: middle;
}

/* ===== schedule ===== */
.schedule {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.schedule-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.day-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: inherit;
  min-width: 64px;
}
.day-tab:hover { background: var(--surface-3); }
.day-tab.active { background: var(--dark); color: var(--text-on-dark); }
.day-tab .dn {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
}
.day-tab .dd {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.slot:hover { border-color: var(--text); }
.slot.busy {
  background: var(--surface-3);
  color: var(--text-faint);
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: transparent;
}
.slot.selected {
  background: var(--dark);
  color: var(--text-on-dark);
  border-color: var(--dark);
}
.slot.signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-on);
  font-weight: 600;
}

.schedule-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== reviews ===== */
.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 18px;
}
.rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
}
.rating-big .v {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rating-big .stars {
  color: var(--signal);
  letter-spacing: 2px;
  font-size: 14px;
}
.rating-big .l {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-bar {
  display: grid;
  grid-template-columns: 24px 1fr 36px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.rating-bar .n { font-family: var(--font-mono); color: var(--text-2); }
.rating-bar .b {
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.rating-bar .b > span {
  display: block;
  height: 100%;
  background: var(--dark);
  border-radius: var(--r-pill);
}
.rating-bar .c { font-family: var(--font-mono); color: var(--text-muted); text-align: right; font-size: 12px; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.review-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-name .n {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.review-name .meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}
.review-name .meta .stars { color: var(--signal); letter-spacing: 1px; }
.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.review-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ===== about ===== */
.about-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.about-block p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin-bottom: 14px; }
.about-block p:last-child { margin-bottom: 0; }
.about-block strong { color: var(--text); }
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.fact .v {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fact .l {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* ===== booking sidebar ===== */
.booking-rail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--sh-2);
}
.book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.book-head h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  font-weight: 600;
}
.book-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 120ms ease;
}
.book-row:hover { border-color: var(--text); }
.book-row .l {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}
.book-row .v {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.book-row .v .ms { color: var(--text-muted); }

.book-times {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.time-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 6px;
}
.time-pill {
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease;
}
.time-pill.selected { background: var(--dark); color: var(--text-on-dark); border-color: var(--dark); }
.time-pill:hover:not(.selected):not(.busy) { border-color: var(--text); }
.time-pill.busy { color: var(--text-faint); text-decoration: line-through; cursor: not-allowed; }

.book-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 16px 0 14px;
  padding: 14px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.book-total .l {
  font-size: 13px;
  color: var(--text-muted);
}
.book-total .l .sub {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--text-faint);
}
.book-total .v {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.book-cta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.book-cta-row .primary-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 0;
  font-size: 15px;
}
.book-cta-row .ghost-btn {
  justify-content: center;
}

.book-fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.book-fineprint .ms { color: var(--go); font-size: 14px; vertical-align: -2px; margin-right: 2px; }

/* small "contact center" card */
.contact-card {
  background: var(--dark);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: 18px 20px;
}
.contact-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-card .row + .row { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-card .label {
  font-size: 12px;
  color: rgba(247, 246, 242, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-card .val { font-size: 14px; font-weight: 500; }
.contact-card .ico {
  width: 32px; height: 32px;
  border-radius: var(--r-pill);
  background: rgba(247, 246, 242, 0.08);
  display: grid; place-items: center;
  color: var(--signal);
}

/* similar centers */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.similar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 120ms ease;
}
.similar-card:hover { border-color: var(--text); }
.similar-card .ph {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--surface-3);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.similar-card .ph .ms { color: var(--text-muted); font-size: 26px; }
.similar-card .meta { flex: 1; min-width: 0; }
.similar-card .n { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.similar-card .sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.similar-card .sub .star { color: var(--signal); font-weight: 600; }
