/* The training studio page (training-studio.html), in the homepage's language (31 Oct 2026). Linked after site.css.
   Plural voice. Built like the Pilates page, from the shared inner-page kit (.ih, .ih-stage, .st-card, .win with the homepage's .pd-nav,
   .logos-row) and the homepage's own pieces (.gh-rate, .gh-title and .gh-logo in the hero; the calendar's .cl-* parts, the trainee
   app's .ta-* and .pt-note-*, .price-card, .faq3, .closing2). There's no photo for this kind of studio, so the hero is product-led:
   the studio wall with the product's window on today's classes. Nothing here is driven by site.js: the calendar sits in .ts-calw,
   not .cl, and every mockup holds its finished state. */

/* ---------- Hero: the homepage's copy (crumbs, rating line, the title with the logo inline, two buttons, a note) ---------- */
.ts-hero .crumbs { margin-bottom: 14px; }
.ts-hero .ih-sub { margin-top: 20px; text-wrap: balance; }
.ts-hero .ih-note { margin-top: 18px; }
@media (max-width: 760px) {
  .ts-hero .ih-sub { margin-top: 16px; font-size: 18px; }
  .ts-hero .actions { width: 100%; flex-direction: column; margin-top: 22px; }
  .ts-hero .btn { width: 100%; min-height: 56px; font-size: 17.5px; }
  .ts-hero .ih-note { text-wrap: balance; }
}

/* The stage: the studio wall, the product's window on today's classes (each with its fill, in the product's status colours, and who's
   waiting), and two frosted cards on the other side: the class now (the homepage's card) and the waiting list at work */
.ts-stage { height: clamp(560px, 52vw, 660px); }
.ts-win { top: 40px; bottom: 40px; inset-inline-start: clamp(24px, 4cqw, 48px); width: min(740px, calc(100% - 340px)); }
.ts-win .win-main { gap: 12px; }
.ts-win .win-main > * { flex-shrink: 0; } /* the list is cut by the window's bottom; nothing above it gives way */
/* site.css hides .pd-nav in any container under 760px (the homepage's rule) while .win keeps its sidebar column until 700px: collapse it here too */
@container ihs (max-width: 759px) { .ts-win { grid-template-columns: minmax(0, 1fr); } .ts-win .pd-nav { display: none; } }
.ts-tools { display: flex; gap: 14px; }
.ts-kpis { display: flex; gap: 6px; }
.ts-kpis > span { display: grid; justify-items: center; min-width: 64px; padding: 6px 10px; border-radius: 12px; background: var(--paper-2); }
.ts-kpis b { font-size: 17px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ts-kpis .ts-g { color: var(--pd-green-ink); }
.ts-kpis small { font-size: 10.5px; color: var(--ink-2); }
/* today's classes: time, class and coach, the fill as a bar in the product's colours, the waiting list */
.ts-list { display: grid; }
.ts-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px 64px; gap: 14px; align-items: center; min-height: 50px; border-top: 1px solid var(--paper-2); }
.ts-list li.ts-lh { min-height: 0; padding-bottom: 6px; border-top: 0; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.ts-list time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ts-list li p { display: grid; min-width: 0; }
.ts-list li p b { font-size: 13px; font-weight: 700; }
.ts-list li p small { overflow: hidden; font-size: 11px; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.ts-cap { display: grid; gap: 4px; justify-items: end; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ts-cap i { --c: var(--pd-green); width: 100%; height: 5px; border-radius: 3px; background: var(--panel) linear-gradient(var(--c), var(--c)) no-repeat right / var(--w) 100%; }
.ts-cap i.mid { --c: var(--pd-amber); }
.ts-cap i.lo { --c: var(--pd-red); }
.ts-wl { display: flex; justify-content: center; }
.ts-wl em { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 700; font-style: normal; }
.ts-wl em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pd-amber); }
/* the class now, lit as on the homepage's dashboard */
.ts-list li.ts-live { margin-inline: -10px; padding-inline: 10px; border-radius: 10px; border-color: transparent; background: #E9FBF1; box-shadow: inset 0 0 0 1.5px var(--pd-green); }
.ts-list li.ts-live + li { border-color: transparent; }

.ts-now { left: clamp(14px, 2cqw, 28px); top: 56px; width: 286px; }
.ts-now-t { display: block; margin-top: 7px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.ts-mats { direction: ltr; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.ts-mats i { aspect-ratio: 1; border-radius: 5px; background: #000; }
.ts-now-f { margin-top: 11px; font-size: 14.5px; color: var(--ink-2); }
.ts-now-f b { color: #000; font-weight: 700; }
.ts-now-f span::before { content: " · "; }
.ts-wait { left: clamp(28px, 5cqw, 64px); bottom: 52px; width: 296px; }
.ts-card-t { display: block; margin-top: 7px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ts-who { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ts-who > i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff; font-size: 14px; font-weight: 700; font-style: normal; }
.ts-who > span { display: grid; min-width: 0; line-height: 1.3; }
.ts-who b { font-size: 15px; font-weight: 700; }
.ts-who small { font-size: 13px; }
.ts-who em { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-inline-start: auto; font-size: 14px; font-weight: 700; font-style: normal; }
.ts-who em::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #000 var(--tick-white) center / 10px no-repeat; }

/* narrower stages: the window across the top, the two cards side by side over its bottom edge */
@container ihs (max-width: 979px) {
  .ts-win { top: 24px; bottom: 200px; inset-inline: 24px; width: auto; }
  .ts-now { top: auto; bottom: 24px; left: 24px; width: calc(50% - 36px); }
  .ts-wait { bottom: 24px; left: auto; right: 24px; width: calc(50% - 36px); }
}
@media (max-width: 1060px) { .ts-stage { height: 720px; } }
/* phones: the window loses the sidebar (site.css) and the coach line; the class now stays, the waiting list goes */
@container ihs (max-width: 599px) {
  .ts-win { top: 14px; bottom: auto; height: 452px; inset-inline: 12px; }
  .ts-win .win-main { padding: 0 14px 14px; }
  .ts-win .win-top { margin: 0 -14px; padding: 0 14px; }
  .ts-win .win-h { flex-wrap: wrap; align-items: flex-start; }
  .ts-kpis > span { min-width: 0; padding: 5px 8px; }
  .ts-kpis > span:first-child { display: none; }
  .ts-list li { grid-template-columns: 40px minmax(0, 1fr) 70px 30px; gap: 8px; min-height: 46px; }
  .ts-list li.ts-lh span:last-child { display: none; }
  .ts-wl em { padding: 0 6px; }
  .ts-wl em::before { display: none; }
  .ts-now { left: 12px; right: 12px; bottom: 14px; width: auto; }
  .ts-mats { grid-template-columns: repeat(12, 1fr); gap: 4px; }
  .ts-wait { display: none; }
}
@media (max-width: 599px) { .ts-stage { height: 680px; } }
@media (max-width: 999px) {
  .ts-stage .st-card { padding: 12px 14px 13px; }
  .ts-stage .st-card-h { font-size: 14px; }
  .ts-now-t { font-size: 19px; }
  .ts-card-t { font-size: 17px; }
  .ts-now-f, .ts-who em { font-size: 13px; }
  .ts-who small { font-size: 12px; }
}

/* ---------- Copy beside the product ---------- */
.ts-lead { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.ts-cal .feat { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ts-app .feat { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.ts-cal .ticks li, .ts-app .ticks li { text-wrap: pretty; } /* no one-word last lines */
@media (max-width: 899px) { .ts-cal .feat, .ts-app .feat { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The calendar: the product's יומן, tonight's HIIT open over it (the homepage's calendar, end state) ----------
   The window is cut by the stage's start edge and bottom; it dims behind the class's list, and the class stays lit.
   Gold is HIIT's own colour in the product's calendar, so the class's list wears it too */
.ts-cal-stage { position: relative; height: 680px; overflow: hidden; isolation: isolate; container: tscal / inline-size; border-radius: 26px;
  background: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(165deg, #FCFCFD 0%, #E3E3E8 100%); }
.ts-calw { position: absolute; inset: 0; --cl-end: 40px; --ok: #16A34A; --gd: #8A5A08; --gd-soft: #FCF5E6; --gd-ring: #D9A23A; }
.ts-calw .ic { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ts-calw p { margin: 0; }
.ts-cal-win { top: 36px; }
.ts-calw .cl-win::after { opacity: 1; }
/* site.css hides .pd-nav inside any container under 760px (the products tabs' unnamed @container rules); keep it here */
.ts-calw .pd-nav { display: flex; }
.ts-cal-main { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 22px 22px 0; }
.ts-cal-head { display: flex; align-items: center; gap: 8px; }
.ts-cal-title { margin-inline-end: auto; }
.ts-cal-title small { display: block; font-size: 11.5px; color: var(--ink-2); }
.ts-cal-title b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.ts-cal-cols { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -6px -8px 0; }
.ts-cal-sel { z-index: 2; box-shadow: inset 0 0 0 1.5px var(--gd-ring), 0 10px 24px -10px rgba(138, 90, 8, .45); }

.ts-pop { position: absolute; z-index: 2; top: 44px; left: 18px; width: 356px; overflow: hidden; border-radius: 20px; background: #fff; color: #0B0B0C;
  font-size: 12.5px; line-height: 1.35; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 60px -20px rgba(0, 0, 0, .45); }
.ts-pop-top { display: grid; gap: 9px; padding: 16px 18px 14px; background: var(--gd-soft); }
.ts-pop .cl-d-h b { font-size: 17px; }
.ts-pop .cl-d-h em { background: var(--gd); color: #fff; }
.ts-pop .cl-meta { gap: 5px 14px; font-size: 11.5px; color: #6B4A12; }
.ts-pop-body { padding: 12px 16px 14px; }
.ts-calw .cl-th, .ts-calw .cl-r { grid-template-columns: minmax(0, 1fr) 66px 60px; gap: 8px; }
.ts-calw .cl-th { margin-top: 12px; }
.ts-calw .cl-r { min-height: 42px; padding-block: 4px; }
.ts-calw .cl-who { column-gap: 8px; grid-template-columns: 28px minmax(0, 1fr); }
.ts-calw .cl-who > i { width: 28px; height: 28px; font-size: 11.5px; }
.ts-calw .cl-who b { font-size: 12.5px; }
.ts-calw .cl-bal { font-size: 11.5px; }
.ts-calw .cl-att i { width: 25px; height: 25px; }
.ts-calw .cl-att .ic { width: 13px; height: 13px; }
.ts-more { padding: 9px 4px 0; border-top: 1px solid #F0F0F3; font-size: 11.5px; color: var(--ink-2); }
.ts-calw .cl-sum { margin-top: 8px; }
/* the finished state: everyone in the list, the marks on, the attendance taken */
.ts-calw .cl-r, .ts-calw .cl-sum, .ts-calw .cl-r em { opacity: 1; transform: none; }
.ts-calw .cl-att i:first-child { background: var(--ok); color: #fff; box-shadow: 0 4px 10px -4px rgba(22, 163, 74, .6); }
.ts-calw .cl-att i:last-child { opacity: .3; }

@container tscal (max-width: 599px) {
  /* phones: no menu strip, two days (today and tomorrow), and the class's list over their lower part, without the balance */
  .ts-calw { --cl-end: 12px; }
  .ts-cal-win { top: 12px; inset-inline-start: 12px; grid-template-columns: minmax(0, 1fr); }
  .ts-cal-win .pd-nav, .ts-calw .cl-nav { display: none; }
  .ts-cal-main { gap: 12px; padding: 16px 14px 0; }
  .ts-cal-title b { font-size: 19px; }
  .ts-cal-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: -6px; }
  .ts-cal-cols .cl-col:nth-child(3) { display: none; }
  .ts-pop { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; }
  .ts-pop .cl-meta span:not(:nth-child(2)), .ts-calw .cl-seg span:last-child, .ts-calw .cl-th span:nth-child(2), .ts-calw .cl-bal { display: none; }
  .ts-calw .cl-th, .ts-calw .cl-r { grid-template-columns: minmax(0, 1fr) 60px; }
  .ts-list2 .cl-r:nth-child(n+6) { display: none; }
  .ts-more { display: none; }
}

/* ---------- The trainee app, in its own colours, on the studio-wall photo (the homepage's app tab, without the cart) ---------- */
.ts-app-stage { position: relative; height: 620px; overflow: hidden; isolation: isolate; container: tsapp / inline-size; border-radius: 26px; background: #E6DCCD; }
.ts-app-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.ts-app-phone { position: absolute; z-index: 2; top: 40px; inset-inline-start: 48px; }
.ts-app-phone .phone { width: 262px; box-shadow: 0 50px 80px -40px rgba(40, 30, 10, .55); }
.ts-app-offer { display: grid; top: 96px; inset-inline-end: 24px; width: 284px; } /* display: site.css hides .pt-note in any container under 580px */
.ts-app-rate { position: absolute; z-index: 3; bottom: 24px; inset-inline-end: 24px; display: grid; gap: 1px; width: 230px; padding: 14px 16px 15px; border-radius: 16px;
  background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 40px -20px rgba(0, 0, 0, .5); }
.ts-app-rate p { margin: 0; }
.ts-app-rate-n { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.ts-app-rate-n b { font-family: "Wix Madefor Display", var(--display); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.ts-app-rate-n .stars svg { width: 13px; height: 13px; }
.ts-app-rate small { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 599px) { .ts-app-stage { height: 690px; } } /* a container query can't size the container itself */
@container tsapp (max-width: 559px) {
  /* narrower: the waiting list's notice on top, the phone under it (its next class and its month in view, cut by the stage's
     bottom edge), no rating card */
  .ts-app-offer { top: 16px; inset-inline: 16px; width: auto; }
  .ts-app-phone { inset-inline: 0; display: flex; justify-content: center; top: 150px; }
  .ts-app-rate { display: none; }
}

/* ---------- The training studios' logos, under the app (ten, without links) ---------- */
.ts-logos { margin-top: clamp(64px, 8vw, 104px); }
/* five a row on desktop, three on phones: every logo file is the same 5:3 canvas, so each cell gets that width
   (left to the image, the cell takes the image's max-width and only four fit) */
.ts-logos ul { max-width: 960px; margin-inline: auto; gap: 18px clamp(28px, 6vw, 72px); }
.ts-logos li { width: 126px; height: 76px; }
.ts-logos img { max-width: 100%; transition: filter .2s; }
.ts-logos li:hover img { filter: none; }
@media (max-width: 599px) {
  .ts-logos ul { gap: 14px 22px; }
  .ts-logos li { width: 96px; height: 58px; }
}

/* ---------- Price: the two plans for a training studio, and the homepage's black "בכל מסלול" side ---------- */
.ts-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ts-plan { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ts-plan.on { background: #000; color: #fff; box-shadow: none; }
.ts-plan h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.ts-plan.on h3 { color: #A9A9AE; }
.ts-p { display: grid; font-family: "Wix Madefor Display", var(--display); font-size: clamp(46px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.ts-p small { margin-top: 8px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.ts-plan.on .ts-p small { color: #A9A9AE; }
.ts-for { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ts-plan.on .ts-for { color: #D4D4D8; }
.ts-more-p { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.ts-price .actions { margin-top: 24px; }
.ts-price .side > b { font-size: 20px; font-weight: 700; }
.ts-price .side .ticks { font-size: 17px; }
@media (max-width: 459px) {
  .ts-plans { grid-template-columns: minmax(0, 1fr); }
  .ts-price .actions .btn { flex: 1 1 100%; }
}
