/* =========================================================
   Treatments page (page-templates/treatments.php)
   1. Hero (menu card)
   2. Full menu (photo cards)
   ========================================================= */

/* =========================================================
   1. HERO: the menu card
   ========================================================= */
/* the paper menu card sits on ink, lit by a soft gold glow behind it */
.tx-hero { position: relative; overflow: hidden; background: radial-gradient(60% 55% at 50% 40%, rgba(192, 142, 47, .22), rgba(192, 142, 47, 0) 70%), var(--ink); padding: calc(var(--header-h) + clamp(32px, 6vh, 70px)) var(--gutter) clamp(64px, 10vh, 120px); }
.tx-hero__sheet {
  position: relative; z-index: 1; max-width: 820px; margin-inline: auto; text-align: center;
  padding: clamp(48px, 7vw, 84px) clamp(22px, 6vw, 80px) clamp(40px, 6vw, 70px);
  background: var(--paper); border: 1px solid var(--line-gold); outline: 1px solid var(--line-gold); outline-offset: -12px;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7);
}
.tx-hero__lotus { display: block; width: 120px; aspect-ratio: 4 / 3; margin: 0 auto 10px; fill: none; stroke: var(--gold-d); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tx-hero__title { margin: 14px 0 10px; }
.tx-hero__intro { font-size: var(--fs-small); letter-spacing: .04em; color: var(--muted); }
.tx-hero__list { list-style: none; margin: 40px auto 0; padding: 0; max-width: 620px; text-align: left; }
.tx-hero__list a {
  display: grid; grid-template-columns: 30px minmax(0, max-content) minmax(18px, 1fr) auto; align-items: baseline; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.tx-hero__n { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-d); }
.tx-hero__name { font-family: var(--serif); font-weight: var(--fw-display); font-size: 22px; line-height: 1.2; transition: color var(--dur-1); }
.tx-hero__dots { border-bottom: 1px dotted rgba(140, 90, 5, .5); transform: translateY(-5px); transform-origin: left; }
.tx-hero__price { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tx-hero__price b { font-family: var(--serif); font-weight: var(--fw-display); font-size: 22px; color: var(--gold-d); font-variant-numeric: lining-nums; }
.tx-hero__list a:hover .tx-hero__name { color: var(--gold-d); }
.tx-hero__foot { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
.tx-hero__foot p { max-width: 520px; color: var(--muted); }
.tx-hero__foot strong { color: var(--ink); font-weight: var(--fw-label); }

.tx-hero__side { position: absolute; z-index: 0; width: clamp(160px, 16vw, 250px); margin: 0; border: 1px solid var(--line-gold-l); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.tx-hero__side--l { left: 5vw; top: 22%; }
.tx-hero__side--r { right: 5vw; top: 48%; }

@media (max-width: 1199px) {
  .tx-hero__side { display: none; }
}

@media (max-width: 899px) {
  .tx-hero__list a { grid-template-columns: 26px minmax(0, 1fr); gap: 2px 10px; }
  .tx-hero__price { grid-column: 2; font-weight: 400; color: var(--muted); }
  .tx-hero__dots { display: none; }
  .tx-hero__name { font-size: 20px; }
}

/* =========================================================
   2. FULL MENU: photo cards, two per row
   ========================================================= */
.tx-menu { position: relative; z-index: 1; padding: var(--space-6) var(--gutter); background: var(--ivory); scroll-margin-top: var(--header-h); }
.tx-menu > * { max-width: 1180px; margin-inline: auto; }
.tx-menu [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.tx-menu__head { text-align: center; margin-bottom: var(--space-4); }
.tx-menu__head .heading { margin-top: var(--space-2); }
.tx-menu__head em { font-style: italic; color: var(--gold-d); }

.tx-menu__grid { list-style: none; margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.tx-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start;
  padding: 18px; border-radius: var(--radius-card); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-gold), 0 24px 50px -36px rgba(20, 16, 11, .45);
  transition: box-shadow var(--dur-2) var(--ease);
}
.tx-card:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 34px 70px -36px rgba(20, 16, 11, .55); }
.tx-card__media { display: grid; }
.tx-card__photo { margin: 0; }
.tx-card__photo img { transition: transform 1.2s var(--ease); }
.tx-card:hover .tx-card__photo img { transform: scale(1.05); }
.tx-card__body { display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 6px 4px 4px 0; }
.tx-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tx-card__n { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-d); }
.tx-card__name { font-family: var(--serif); font-weight: var(--fw-display); font-size: clamp(25px, 2.1vw, 32px); line-height: 1.1; }
.tx-card__about { font-size: var(--fs-small); color: var(--muted); }
.tx-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; padding: 0; }
.tx-card__tags li { padding: 5px 11px; border-radius: var(--radius-pill); background: var(--sand); font-size: 12px; font-weight: var(--fw-label); }
.tx-card__ask { align-self: flex-start; margin-top: auto; color: var(--gold-d); }

/* "New to Bloom?" box (template-parts/treatments/consult-cta.php) closing the menu */
.tx-consult {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  margin-top: var(--space-5); padding: var(--space-4); border-radius: var(--radius-card); background: var(--ink); color: var(--text-dark-2);
}
.tx-consult p { max-width: 620px; }
.tx-consult strong { font-family: var(--serif); font-weight: var(--fw-display); font-size: 26px; margin-right: 8px; color: var(--cream); }
.tx-consult .pill--dark { background: var(--gold-grad); color: var(--ink); }
.tx-consult .pill--dark::before { background: var(--cream); }

@media (max-width: 1080px) {
  .tx-menu__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}

@media (max-width: 899px) {
  .tx-card { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 16px; padding: 14px; }
  .tx-card__name { font-size: 22px; }
  .tx-card__tags li { padding: 4px 9px; font-size: 11px; }
  .tx-consult { padding: var(--space-3); }
}
