/* ==========================================================================
   Service detail page - price list ("Prices" section).
   One card per service; hair-length services get a row of price tiles inside the card.
   Colours come from luxe-theme.css only.
   ========================================================================== */
/* the page wrapper is a centred flex column: stretch to the full width instead of shrinking to the content */
.psc-section { align-self: stretch; flex: none; width: 100%; box-sizing: border-box; background: var(--lx-paper); padding: 40px 0 96px; }
.psc-inner { width: 100%; max-width: 1410px; margin: 0 auto; }

/* heading */
.psc-header { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 44px; max-width: 620px; text-align: center; }
.psc-title { position: relative; margin: 0; padding-bottom: 18px; font: 400 clamp(32px, 4.4vw, 48px)/1.1 var(--lx-serif); letter-spacing: -.01em; color: var(--lx-ink); }
.psc-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 2px; margin-left: -28px; background: var(--lx-gold); }
.psc-note { margin: 0; font: 400 15px/1.6 var(--lx-sans); color: var(--lx-muted); }

/* cards: wrapping row, every row (also a short last one) is centred; cards grow a little to fill a row */
.psc-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.psc-grid > .psc-card { flex: 1 1 250px; max-width: 340px; min-width: 0; }
.psc-grid--tiers > .psc-card { flex-basis: 320px; max-width: 400px; }

/* card */
.psc-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; margin: 0; padding: 26px 26px 24px;
  container-type: inline-size; overflow: hidden; background: var(--lx-white); border: 1px solid var(--lx-line); border-radius: 22px;
  box-shadow: 0 22px 48px -38px rgb(var(--lx-ink-rgb) / .35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.psc-card::before { content: ""; position: absolute; left: 26px; top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lx-gold);
  transition: width .4s ease; }
.psc-card:hover { transform: translateY(-4px); border-color: rgb(var(--lx-gold-rgb) / .55); box-shadow: 0 30px 56px -34px rgb(var(--lx-ink-rgb) / .38); }
.psc-card:hover::before { width: calc(100% - 52px); }

.psc-card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.psc-name { margin: 0; font: 400 21px/1.25 var(--lx-serif); letter-spacing: -.005em; color: var(--lx-ink); overflow-wrap: anywhere; }
.psc-duration { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--lx-cream);
  font: 500 12.5px/1 var(--lx-sans); color: var(--lx-muted); }
.psc-duration::before { content: ""; width: 13px; height: 13px; flex: none; background: var(--lx-gold);
  -webkit-mask: var(--psc-clock) center / contain no-repeat; mask: var(--psc-clock) center / contain no-repeat;
  --psc-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* single price */
.psc-price { display: flex; align-items: baseline; gap: 8px; margin: 0; padding-top: 18px; border-top: 1px dashed rgb(var(--lx-gold-rgb) / .6); }
.psc-price b { font: 400 32px/1 var(--lx-serif); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--lx-ink); }
.psc-price small, .psc-tier-price small { font: 600 10px/1 var(--lx-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lx-gold); }

/* price tiles (Short / Medium / Long) */
.psc-tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.psc-tier { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; margin: 0; padding: 14px 6px 13px;
  text-align: center; background: var(--lx-cream); border-radius: 14px; transition: background-color .25s ease; }
.psc-card:hover .psc-tier:not(.is-empty) { background: rgb(var(--lx-gold-rgb) / .14); }
.psc-tier-label { font: 600 10.5px/1.2 var(--lx-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lx-gold); overflow-wrap: anywhere; }
.psc-tier-price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.psc-tier-price b { font: 400 21px/1.1 var(--lx-serif); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--lx-ink); }
.psc-tier-price i { font: 400 18px/1.1 var(--lx-sans); font-style: normal; color: rgb(var(--lx-muted-rgb) / .6); }
.psc-tier.is-empty { background: transparent; border: 1px dashed var(--lx-line); }
.psc-tier.is-empty .psc-tier-label { color: var(--lx-muted); }

/* narrow cards (container query): tighter tiles */
@container (max-width: 300px) {
  .psc-tiers { gap: 6px; }
  .psc-tier { padding: 12px 2px; }
  .psc-tier-label { letter-spacing: .08em; font-size: 10px; }
  .psc-tier-price b { font-size: 18px; }
}

/* booking button */
.psc-cta { display: flex; justify-content: center; margin-top: 44px; }
.psc-book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 38px; border-radius: 999px;
  background: var(--lx-ink); color: var(--lx-white); font: 600 13px/1 var(--lx-sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.psc-book:hover, .psc-book:focus-visible { background: var(--lx-gold); color: var(--lx-ink); transform: translateY(-2px); }

@media (max-width: 809.98px) {
  .psc-section { padding: 24px 0 64px; }
  .psc-header { margin-bottom: 28px; }
  .psc-grid { gap: 12px; }
  .psc-grid > .psc-card { flex: 0 1 calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
  .psc-grid--tiers > .psc-card { flex-basis: calc((100% - 12px) / 2); max-width: calc((100% - 12px) / 2); }
  .psc-card { padding: 18px 14px 14px; gap: 14px; border-radius: 16px; }
  .psc-card::before { left: 14px; }
  .psc-card:hover::before { width: calc(100% - 28px); }
  .psc-name { font-size: 17px; }
  .psc-price { padding-top: 12px; }
  .psc-price b { font-size: 24px; }
  .psc-cta { margin-top: 32px; }
  .psc-book { width: 100%; }
}
/* small phones: tiered cards need the full width for their three tiles */
@media (max-width: 560px) {
  .psc-grid--tiers > .psc-card { flex-basis: 100%; max-width: 100%; }
}
@media (hover: none) { .psc-card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .psc-card, .psc-card::before, .psc-book { transition: none; } .psc-card:hover, .psc-book:hover { transform: none; } }
