/* ==========================================================================
   Hinnakiri – pricelist.php, inc/pricelist.php, js/pricelist.js
   Kategooriad akordionina (details): nimi + "10 teenust · 5–126 €" + "Vaata hindu".
   Avatud kategoorias tabel: teenus = rea päis, hind paremal, märkeruut (JS).
   Valitud teenuste kokkuvõte kleepub ploomililla ribana ekraani alla.
   ========================================================================== */

.pl {
  --pl-main: var(--color-main, #4D1C46); --pl-theme: var(--color-theme, #E00B50);
  --pl-line: #EBDAD5; --pl-muted: #7E6278; --pl-soft: #6E5068; --pl-sel: #FCEEF3;
  max-width: 1000px; margin: 8px 0 56px;
}
.pl-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pl-label { margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-muted); }

/* --- Akordion --- */
.pl-cat { border-bottom: 1px solid var(--pl-line); scroll-margin-top: 120px; transition: border-color .35s ease; }
.pl-cat:first-of-type { border-top: 1px solid var(--pl-line); }
.pl-acc-head { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 0; list-style: none; cursor: pointer; }
.pl-acc-head::-webkit-details-marker { display: none; }
.pl-acc-head::marker { content: ""; }
.pl-acc-head:focus-visible { outline: 2px solid var(--pl-main); outline-offset: 2px; }
.pl-acc-titles { flex: 1 1 auto; min-width: 0; }
.pl-cat-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 400; color: var(--pl-main); }
.pl-acc-meta { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--pl-soft); }
.pl-acc-hint { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--pl-theme); }
.pl-acc-hint svg { width: 18px; height: 18px; transition: transform .2s ease; }
.pl-acc-close { display: none; }
.pl-acc[open] .pl-acc-open { display: none; }
.pl-acc[open] .pl-acc-close { display: inline; }
.pl-acc[open] .pl-acc-hint svg { transform: rotate(180deg); }
/* Suletud kategooria pealkiri hoveril ei muutu (roosaks muutub ainult avatud kategooria pealkiri) */
/* Avatud kategooria: hele paneel ja aktsentjoon sisust vasakul. Geomeetria (margin/padding) on sama ka suletult,
   nii et avamisel muutub ainult värv – joon ja sisu ei liigu. Taust ja joon ilmuvad sujuvalt, sisu avaneb kõrguse animatsiooniga
   (::details-content, toetavad uuemad brauserid; teistes avaneb kohe). */
.pl-acc {
  interpolate-size: allow-keywords;
  margin: 0 -20px 0 -23px; padding: 0 20px 0 23px;
  background-color: rgba(254, 249, 251, 0); box-shadow: inset 3px 0 0 rgba(224, 11, 80, 0);
  transition: background-color .35s ease, box-shadow .35s ease, padding-bottom .35s ease;
}
.pl-acc[open] {
  --pl-sel: #F8E3EB;
  padding-bottom: 4px; background-color: #FEF9FB; box-shadow: inset 3px 0 0 var(--pl-theme);
}
.pl-acc::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.pl-acc[open]::details-content { block-size: auto; }
.pl-acc > .pl-acc-head { border-bottom: 1px solid transparent; transition: border-color .35s ease, margin-bottom .35s ease; }
.pl-acc[open] > .pl-acc-head { margin-bottom: 8px; border-bottom-color: var(--pl-line); }
.pl-acc[open] .pl-cat-title { color: var(--pl-main); }
.pl-acc[open] .pl-table tbody th, .pl-acc[open] .pl-table tbody td { border-bottom-color: #EEDFDA; }
/* Avatud paneeli ümber ei jää kitsamaid eraldusjooni (oma alumine, eelmise kategooria alumine, esimese ülemine) */
.pl-cat:has(> .pl-acc[open]),
.pl-cat:has(+ .pl-cat > .pl-acc[open]) { border-bottom-color: transparent; }
.pl-cat:first-of-type:has(> .pl-acc[open]) { border-top-color: transparent; }
.pl-acc[open] .pl-table tbody tr:last-child th, .pl-acc[open] .pl-table tbody tr:last-child td { border-bottom-color: transparent; }
@media (max-width: 767px) {
  .pl-acc { margin: 0 -12px 0 -15px; padding: 0 12px 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-acc, .pl-acc > .pl-acc-head, .pl-acc::details-content { transition: none; }
}

/* --- Tabel --- */
.pl-table { width: 100%; margin: 0 0 8px; border-collapse: collapse; }
.pl-table thead th {
  padding: 8px 12px 10px; border-bottom: 2px solid var(--pl-main);
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-main); text-align: left;
}
.pl-table thead th:first-child { padding-left: 0; }
.pl-table thead th.pl-col-price { text-align: right; }
.pl-table thead th.pl-col-select { width: 56px; padding-right: 0; text-align: right; }
.pl-table tbody th, .pl-table tbody td {
  padding: 13px 12px; border-bottom: 1px solid #F3E7E3;
  font-size: 17px; line-height: 24px; font-weight: 400; color: var(--color-text, #231F20); text-align: left; vertical-align: middle;
}
.pl-table tbody th { padding-left: 0; }
.pl-table tbody td.pl-price { text-align: right; white-space: nowrap; }
.pl-table tbody td.pl-select { width: 56px; padding-right: 0; text-align: right; }
.pl-table tbody tr.is-selected th, .pl-table tbody tr.is-selected td { background: var(--pl-sel); }
.pl-cat details > table:last-child { margin-bottom: 24px; }

/* Märkeruut (lisatakse JS-iga) */
.pl-check { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; margin-right: -10px; cursor: pointer; }
.pl-check input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pl-box { pointer-events: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; box-sizing: border-box; border: 2px solid var(--pl-main); border-radius: 2px; background: #fff; color: #fff; transition: background-color .15s ease, border-color .15s ease; }
.pl-box svg { width: 13px; height: 10px; opacity: 0; transition: opacity .15s ease; }
.pl-check input:checked + .pl-box { background: var(--pl-theme); border-color: var(--pl-theme); }
.pl-check input:checked + .pl-box svg { opacity: 1; }
.pl-check input:focus-visible + .pl-box { outline: 2px solid var(--pl-main); outline-offset: 3px; }

/* --- Kokkuvõtte riba --- */
@keyframes pl-up { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.pl-total {
  position: sticky; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-top: 24px; padding: 14px 24px; border-radius: 4px 4px 0 0; background: var(--pl-main); color: #FFF4EE;
  box-shadow: 0 -8px 24px rgba(77, 28, 70, .18); animation: pl-up .22s ease-out;
}
.pl-total[hidden] { display: none; }
.pl-total-info { display: flex; flex-direction: column; min-width: 0; }
.pl-total-count { font-size: 13px; line-height: 18px; color: rgba(255, 244, 238, .75); }
.pl-total-sum { font-size: 26px; line-height: 32px; font-weight: 500; color: #FFF4EE; white-space: nowrap; }
.pl-total-actions { display: flex; align-items: center; gap: 12px; }
.pl-total-reset {
  min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 244, 238, .5); border-radius: 4px; background: transparent;
  font: 500 15px/20px Montserrat, sans-serif; color: #FFF4EE; cursor: pointer; transition: border-color .15s ease;
}
.pl-total-reset:hover { border-color: #FFF4EE; }
.pl-total .btn.pl-total-book { width: auto; min-width: 0; margin: 0; text-decoration: none; }

@media (max-width: 899px) {
  .pl-acc-head { min-height: 68px; gap: 12px; }
  .pl-cat-title { font-size: 20px; line-height: 26px; }
  .pl-acc-meta { font-size: 13px; line-height: 18px; }
  .pl-acc-hint .pl-acc-open, .pl-acc[open] .pl-acc-hint .pl-acc-close { display: none; } /* mobiilis ainult nool */
  .pl-table tbody th, .pl-table tbody td { padding: 11px 8px; font-size: 15px; line-height: 21px; }
  .pl-table tbody th { padding-left: 0; }
  .pl-table thead th { padding: 8px 8px 10px; }
  .pl-table thead th:first-child { padding-left: 0; }
  .pl-table thead th.pl-col-select, .pl-table tbody td.pl-select { width: 44px; }
  .pl-total { margin-left: -15px; margin-right: -15px; padding: 12px 15px; border-radius: 0; }
  .pl-total-sum { font-size: 22px; line-height: 28px; }
  .pl-total-actions { flex: 1 1 100%; }
  .pl-total-reset { flex: 0 0 auto; }
  .pl-total .btn.pl-total-book { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-total { animation: none; }
  .pl-acc-hint svg, .pl-box, .pl-box svg { transition: none; }
}

/* ==========================================================================
   Eestikeelse lehe tekst (inc/pricelist-et.php): sissejuhatus, levinumad teenused, info
   ========================================================================== */
.pricelist { --pl-main: var(--color-main, #4D1C46); --pl-theme: var(--color-theme, #E00B50); --pl-line: #EBDAD5; --pl-soft: #6E5068; }
.pricelist a { text-decoration: none; }
.pl-intro { max-width: 820px; padding: 24px 0 8px; }
.pl-h1 { margin: 0; font-size: 56px; line-height: 64px; font-weight: 400; color: var(--pl-main); }
.pl-lead { margin: 24px 0 0; font-size: 18px; line-height: 30px; color: var(--color-text, #231F20); }
.pl-note { margin: 16px 0 0; font-size: 15px; line-height: 24px; color: var(--pl-soft); }
.pl-note a, .pl-info a { color: var(--pl-theme); }
.pl-note a:hover, .pl-info a:hover { color: var(--pl-main); text-decoration: underline; text-underline-offset: 3px; }
.pl-intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.pricelist .btn.pl-intro-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: auto; min-width: 0; padding-left: 32px; padding-right: 32px; }
.pricelist .btn.pl-intro-btn svg, .pricelist .btn.pl-intro-btn span { margin: 0; }
.pricelist .btn.pl-intro-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.pl-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--pl-main); }
.pl-badge::before { content: ""; width: 8px; height: 8px; background: var(--pl-theme); -webkit-mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat; mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat; }

.pl-h2 { margin: 0 0 20px; font-size: 32px; line-height: 40px; font-weight: 400; color: var(--pl-main); }
.pl-popular { margin: 64px 0 72px; }
/* Levinumad teenused slaiderina: 3 kaarti sisu laiuses + järgmise serv. Rida jookseb mõlemal pool lehe servani –
   algab sisu joonelt, kerides läheb vasakult ekraanist välja (nagu arstilehe meeskonna slaider). */
body:has(.pricelist) { overflow-x: clip; }
/* Sujuv kerimine ankrulinkidel (hüpped, "Kõik hinnad", hüvitise link); vähendatud liikumise soovil välja */
@media (prefers-reduced-motion: no-preference) {
  html:has(.pricelist) { scroll-behavior: smooth; }
}
.pricelist [id] { scroll-margin-top: 120px; }
.pl-popular { container-type: inline-size; }
.pl-popular-grid {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  --pl-gutter: calc((100vw - 100cqw) / 2); /* sisu joone ja lehe serva vahe */
  margin: 0 calc(-1 * var(--pl-gutter)); padding: 2px var(--pl-gutter) 8px; scroll-padding: 0 var(--pl-gutter);
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.pl-popular-grid::-webkit-scrollbar { display: none; }
.pl-popular-grid:focus-visible { outline: 2px solid var(--pl-main); outline-offset: 4px; }
.pl-popular-grid .pl-pop { flex: 0 0 320px; flex-basis: calc((100cqw - 2 * 16px) / 3.2); scroll-snap-align: start; box-sizing: border-box; }
.pl-slider-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.pl-slider-nav[hidden] { display: none; }
.pl-slider-btn {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--pl-line); border-radius: 4px; background: rgba(255, 255, 255, .7); color: var(--color-arrow, #E02020); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, opacity .15s ease;
}
.pl-slider-btn .icon-arrow { width: 16px; height: 16px; fill: currentColor; }
.pl-slider-btn--prev .icon-arrow { transform: rotate(180deg); }
.pl-slider-btn:hover { border-color: var(--pl-main); background: #fff; }
.pl-slider-btn:disabled { opacity: .35; cursor: default; }
.pl-slider-btn:disabled:hover { border-color: var(--pl-line); background: rgba(255, 255, 255, .7); }
.pl-all-title { margin-bottom: 12px; }

.pl-info { max-width: 1000px; margin: 72px 0 80px; }
.pl-info-sec + .pl-info-sec, .pl-info-sec + .pl-info-cols, .pl-info-cols + .pl-more-link { margin-top: 56px; }
.pl-info p { margin: 0 0 14px; font-size: 16px; line-height: 26px; }
.pl-list { margin: 0 0 16px; padding: 0; list-style: none; }
.pl-list li { position: relative; margin: 0 0 8px; padding-left: 22px; font-size: 16px; line-height: 26px; }
.pl-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--pl-theme); -webkit-mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat; mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat; }
.pl-callout { padding: 14px 18px; border-left: 2px solid var(--pl-theme); background: #FDF4F1; border-radius: 0 4px 4px 0; }
.pl-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.pl-benefit { padding: 24px; border: 1px solid var(--pl-line); border-radius: 4px; background: #fff; }
.pl-benefit-title { margin: 0 0 12px; font-size: 19px; line-height: 26px; font-weight: 500; color: var(--pl-main); }
.pl-benefit-title span { display: block; font-size: 26px; line-height: 34px; font-weight: 400; color: var(--pl-theme); }
.pl-benefit-ex { margin-bottom: 8px !important; font-weight: 600; color: var(--pl-main); }
.pl-benefit .pl-list li { font-size: 15px; line-height: 23px; }
.pl-more { border-top: 1px solid var(--pl-line); border-bottom: 1px solid var(--pl-line); }
.pl-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; list-style: none; cursor: pointer; }
.pl-more summary::-webkit-details-marker { display: none; }
.pl-more summary::marker { content: ""; }
.pl-more-title { margin: 0; font-size: 19px; line-height: 26px; font-weight: 500; color: var(--pl-main); }
.pl-more summary svg { width: 18px; height: 18px; color: var(--pl-theme); transition: transform .2s ease; }
.pl-more[open] summary svg { transform: rotate(180deg); }
.pl-more[open] { padding-bottom: 12px; }
.pl-info-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.pl-info-cols .pl-info-sec + .pl-info-sec { margin-top: 0; }
/* Tavaline tekstilink lauses, nagu teised sisulingid */
.pl-more-link { font-size: 17px; line-height: 28px; }
.pl-info-sec + .pl-more-link { margin-top: 40px; }

@media (max-width: 1199px) {
  .pl-h1 { font-size: 44px; line-height: 52px; }
}
@media (max-width: 899px) {
  .pl-h1 { font-size: 34px; line-height: 40px; }
  .pl-lead { font-size: 16px; line-height: 26px; }
  .pl-h2 { font-size: 26px; line-height: 32px; }
  .pl-popular { margin: 48px 0; }
  .pl-benefits, .pl-info-cols { grid-template-columns: 1fr; }
  .pl-popular-grid .pl-pop { flex-basis: calc(100cqw - 48px); }
  .pl-slider-nav { display: none; }
  .pl-info-cols { gap: 0; }
  .pl-info-cols .pl-info-sec + .pl-info-sec { margin-top: 40px; }
  .pl-pop, .pl-benefit { padding: 20px; }
  .pricelist .btn.pl-intro-btn { width: 100%; box-sizing: border-box; }
}

/* Levinumate teenuste kaart: nimi → hind suurelt → visiiditasu → variandid → kirjeldus → link */
.pl-pop { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--pl-line); border-radius: 4px; background: #fff; transition: border-color .15s ease; }
.pl-pop:hover { border-color: #D9C3BD; }
.pl-pop-title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--pl-main); }
.pl-pop-price { margin: 14px 0 0; font-size: 38px; line-height: 44px; font-weight: 300; letter-spacing: -.01em; color: var(--pl-main); white-space: nowrap; }
.pl-pop-from { font-size: 16px; line-height: 20px; font-weight: 400; letter-spacing: 0; color: var(--pl-soft); }
.pl-pop-sub { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--pl-soft); }
.pl-pop-rows { width: 100%; margin: 18px 0 0; border-collapse: collapse; border-top: 1px solid #F3E7E3; }
.pl-pop-rows caption { caption-side: bottom; padding-top: 6px; text-align: right; font-size: 12px; line-height: 16px; color: var(--pl-muted, #7E6278); }
.pl-pop-rows th, .pl-pop-rows td { padding: 8px 0; border-bottom: 1px solid #F3E7E3; font-size: 14px; line-height: 20px; vertical-align: top; }
.pl-pop-rows th { padding-right: 12px; font-weight: 400; text-align: left; color: var(--color-text, #231F20); }
.pl-pop-rows td { font-weight: 500; text-align: right; color: var(--pl-main); white-space: nowrap; }
.pl-pop-desc { margin: 18px 0 0; font-size: 14px; line-height: 22px; color: var(--pl-soft); }
.pl-pop-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--pl-main) !important; }
.pl-pop-link:hover { color: var(--pl-theme) !important; }
.pl-pop-link .icon-arrow { width: 16px; height: 16px; fill: var(--color-arrow, #E02020); }
@media (max-width: 899px) {
  .pl-popular-grid { align-items: flex-start; } /* mobiilis kaart oma kõrgusega – lühikestel kaartidel ei jää tühja kohta */
  .pl-pop { padding: 22px; }
  .pl-pop-price { font-size: 32px; line-height: 38px; }
  .pl-pop-link { margin-top: 0; }
}

/* ==========================================================================
   Tabeli read: sisemine vahe mõlemal pool (valitud rea roosa taust ei ole teksti vastas)
   ========================================================================== */
.pl-table thead th:first-child, .pl-table tbody th { padding-left: 12px; }
.pl-table thead th.pl-col-select, .pl-table tbody td.pl-select { padding-right: 12px; }
.pl-check { margin-right: -8px; }
.pl-check input:focus-visible + .pl-box { outline: 2px solid rgba(77, 28, 70, .35); outline-offset: 2px; }
@media (max-width: 899px) {
  .pl-table thead th:first-child, .pl-table tbody th { padding-left: 8px; }
  .pl-table thead th.pl-col-select, .pl-table tbody td.pl-select { padding-right: 8px; }
}

/* ==========================================================================
   Tööriistad: otsing + kategooriate otselingid rühmade kaupa
   ========================================================================== */
.pl-tools { margin: 0 0 32px; }
.pl-search { margin-bottom: 20px; }
.pl-search-field { position: relative; display: block; max-width: 560px; }
.pl-search-field svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--pl-muted, #7E6278); pointer-events: none; }
.pl-search-field input {
  width: 100%; height: 52px; box-sizing: border-box; margin: 0; padding: 0 16px 0 48px;
  border: 1px solid var(--pl-line); border-radius: 4px; background: #fff;
  font: 400 16px/24px Montserrat, sans-serif; color: var(--pl-main); -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pl-search-field input::placeholder { color: var(--pl-muted, #7E6278); opacity: 1; }
.pl-search-field input:focus { outline: none; border-color: var(--pl-main); box-shadow: 0 0 0 3px rgba(77, 28, 70, .08); }
.pl-search-result { min-height: 20px; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--pl-soft); }
.pl-jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; align-items: start; }
.pl-jump-group { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 6px 8px; }
.pl-jump-title { flex-basis: 100%; margin-bottom: 2px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-muted, #7E6278) !important; }
.pl-jump-link { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--pl-line); border-radius: 2px; background: #fff; font-size: 14px; line-height: 20px; color: var(--pl-main) !important; transition: border-color .15s ease; }
.pl-jump-link:hover { border-color: var(--pl-main); }
.pl.is-searching .pl-jump { display: none; }

/* Rühmad */
.pl-group + .pl-group { margin-top: 40px; }
.pl-group-title { margin: 0 0 4px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-muted, #7E6278); scroll-margin-top: 120px; }
.pl-group[hidden], .pl-cat[hidden] { display: none; }

/* Kaardi lingid: "Kõik hinnad" (tabelisse) + "Teenusest" */
.pl-pop-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 20px; }
.pl-pop-links .pl-pop-link { margin-top: 0; padding-top: 0; }
/* "Kõik hinnad": sama teema nool kui "Teenusest", pööratud alla – ühesugused proportsioonid */
.pl-pop-link--prices .icon-arrow { transform: rotate(90deg); }
.pl-updated { margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--pl-muted, #7E6278); }
.pl-badge img { display: block; height: 28px; width: auto; }
.pl-badge span { white-space: nowrap; }
.pl-badge:has(img)::before { content: none; }

/* ==========================================================================
   Tervisekassa "saar": ploomililla täislaiuses plokk, suured numbrid
   ========================================================================== */
.pl-island {
  --pl-plum: var(--color-main, #4D1C46);
  position: relative; margin: 72px 0 80px; padding: 64px 0;
  background: var(--pl-plum); box-shadow: 0 0 0 100vmax var(--pl-plum); clip-path: inset(0 -100vmax);
  color: #FFF4EE;
}
.pl-island a { color: #FFF4EE; }
.pl-island-head { max-width: 720px; }
.pl-island-brand { display: flex; align-items: center; gap: 14px; }
.pl-island-logo { display: inline-flex; align-items: center; padding: 5px 16px 5px 0; border-right: 1px solid rgba(255, 244, 238, .3); }
/* Tervisekassa logofailis (1670×542) on logo ümber igal küljel ~180 px läbipaistvat ruumi (33% kõrgusest).
   Pilt on suurem ja negatiivne margin (= 0,332 × kõrgus) lõikab tühja ääre välja: nähtav logo 22 px (mobiilis 18 px) kõrge. */
.pl-island .pl-island-logo img { display: block; width: auto !important; height: 66px !important; max-width: none !important; max-height: none !important; margin: -22px; }
@media (max-width: 767px) { .pl-island .pl-island-logo img { height: 54px !important; margin: -18px; } }
.pl-island-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #FABA92; }
.pl-island-title { margin: 20px 0 0; font-size: 36px; line-height: 44px; font-weight: 400; color: #FFF4EE; }
.pl-island-lead { margin: 12px 0 0; font-size: 17px; line-height: 27px; color: rgba(255, 244, 238, .82); }
.pl-island-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 244, 238, .18); }
.pl-stat { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px 4px 0; }
.pl-stat + .pl-stat { padding-left: 24px; border-left: 1px solid rgba(255, 244, 238, .18); }
.pl-stat::before { content: none !important; }
.pl-stat-num { font-size: 56px; line-height: 60px; font-weight: 300; letter-spacing: -.02em; color: #FABA92; white-space: nowrap; }
.pl-stat-label { margin-top: 6px; font-size: 16px; line-height: 22px; font-weight: 500; color: #FFF4EE; }
.pl-stat-sub { font-size: 14px; line-height: 20px; color: rgba(255, 244, 238, .7); }
.pl-island-extra { max-width: 820px; margin: 28px 0 0; font-size: 15px; line-height: 24px; color: rgba(255, 244, 238, .72); }
.pl-island-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 244, 238, .18); }
.pl-island-note { flex: 1 1 480px; margin: 0; font-size: 15px; line-height: 24px; color: rgba(255, 244, 238, .88); }
.pl-island-note strong { color: #FFF4EE; }
.pl-island-link { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.pl-island-link:hover { color: #FABA92 !important; }
.pl-island-link .icon-arrow { width: 18px; height: 18px; fill: #FABA92; }

@media (max-width: 1099px) {
  .pl-island-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .pl-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 244, 238, .18); }
}
@media (max-width: 899px) {
  /* Mobiil: rühma pealkiri eraldi real, kategooriad selle all ja murduvad järgmisele reale */
  .pl-jump { display: flex; flex-direction: column; gap: 20px; }
  .pl-jump-group { flex-wrap: wrap; gap: 8px; }
  .pl-jump-title { flex-basis: 100%; margin: 0 0 2px; }
  .pl-island { margin: 48px 0 56px; padding: 44px 0; }
  .pl-island-title { font-size: 28px; line-height: 34px; }
  .pl-stat-num { font-size: 40px; line-height: 44px; }
  .pl-stat { padding: 20px 12px 4px 0; }
  .pl-stat + .pl-stat { padding-left: 12px; }
}
@media (max-width: 339px) {
  .pl-island-stats { grid-template-columns: 1fr; }
  .pl-stat, .pl-stat + .pl-stat { padding: 18px 0 4px; border-left: 0; }
  .pl-stat + .pl-stat { border-top: 1px solid rgba(255, 244, 238, .18); }
}


/* Rühmade ikoonid (sama sprite kui teenuste külgmenüüs) pealkirja ees */
.pl-group-title, .pl-jump-title { display: inline-flex; align-items: center; gap: 10px; }
.pl-group-title { display: flex; }
.pl-group-icon { flex-shrink: 0; width: 22px; height: 22px; fill: var(--pl-main, #4D1C46); color: var(--pl-main, #4D1C46); }
.pl-jump-title .pl-group-icon { width: 18px; height: 18px; }

/* Tervisekassa märk pealkirja all. Logo on valge PNG (1670×542, ~180 px tühja ääre igal küljel);
   mask värvib selle lillaks ja mask-size/position lõikab tühja ääre välja (nähtav logo 1310×181 → 145×20 px). */
.pl-intro-tk { margin: 20px 0 0; }
.pl-intro-tk a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid var(--pl-line, #EBDAD5); border-radius: 4px; background: #fff; color: var(--pl-main, #4D1C46); text-decoration: none; transition: border-color .2s ease; }
.pl-intro-tk a:hover { border-color: var(--pl-main, #4D1C46); color: var(--pl-main, #4D1C46); text-decoration: none; }
.pl-intro-tk-logo {
  flex-shrink: 0; width: 145px; height: 20px; background: var(--pl-main, #4D1C46);
  -webkit-mask: var(--tk-logo) -20px -20px / 185px 60px no-repeat; mask: var(--tk-logo) -20px -20px / 185px 60px no-repeat;
}
.pl-intro-tk-sep { flex-shrink: 0; width: 1px; height: 28px; background: var(--pl-line, #EBDAD5); }
.pl-intro-tk-text { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; color: var(--pl-soft, #6E5068); }
.pl-intro-tk-text strong { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-main, #4D1C46); }
.pl-intro-tk .icon-arrow { flex-shrink: 0; width: 16px; height: 16px; fill: var(--color-arrow, #E02020); transform: rotate(90deg); }
@media (max-width: 767px) {
  .pl-intro-tk a { gap: 12px; padding: 12px 14px; }
  .pl-intro-tk-logo { width: 116px; height: 16px; -webkit-mask-position: -16px -16px; mask-position: -16px -16px; -webkit-mask-size: 148px 48px; mask-size: 148px 48px; }
}

/* Raviplaan + järelmaksu kaart kõrvuti; kaart samas stiilis nagu menüü järelmaksu kaart */
.pl-info-cols--jm { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.pl-info-cols + .pl-info-sec { margin-top: 56px; }
.pl-jm {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; overflow: hidden;
  border-radius: 6px; background: var(--color-main, #4D1C46); color: #FFF4EE !important; text-decoration: none !important; isolation: isolate;
}
.pl-jm-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pl-jm::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(77, 28, 70, .05) 0%, rgba(77, 28, 70, .55) 38%, rgba(77, 28, 70, .94) 62%, #4D1C46 100%);
}
.pl-jm-body { display: flex; flex-direction: column; padding: 28px; }
.pl-jm-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 244, 238, .88); }
.pl-jm-title { margin-top: 10px; font-size: 26px; line-height: 32px; font-weight: 400; color: #FFF4EE; }
.pl-jm-title em { font-style: normal; color: #FABA92; }
.pl-jm-logos { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.pl-jm-logos img { display: block; width: auto; height: 26px; max-width: 96px; object-fit: contain; filter: grayscale(1) contrast(6) invert(1); mix-blend-mode: screen; opacity: .9; }
.pl-jm-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 16px; line-height: 20px; font-weight: 600; color: #FABA92; }
.pl-jm-link .icon-arrow { width: 18px; height: 18px; fill: #FABA92; }
.pl-jm:hover .pl-jm-link { color: #FABA92; }
.pl-jm:focus-visible { outline: 2px solid var(--color-main, #4D1C46); outline-offset: 3px; }
@media (max-width: 991px) {
  .pl-info-cols--jm { grid-template-columns: 1fr; gap: 32px; }
  .pl-jm { min-height: 320px; max-width: 520px; }
}

/* Sakala romb rühmade pealkirjade ees (kui teenuste menüüst ikooni ei leitud) */
.pl-group-title::before, .pl-jump-title::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; background: var(--pl-main, #4D1C46);
  -webkit-mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat; mask: url("../img/layout/sakala-romb.svg") center / contain no-repeat;
}
.pl-group-title:has(.pl-group-icon)::before, .pl-jump-title:has(.pl-group-icon)::before { content: none; }
/* Järelmaksu kaart hoveris: foto suureneb aeglaselt, nool liigub paremale */
.pl-jm-photo { transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.pl-jm-link .icon-arrow { transition: transform .25s ease; }
.pl-jm:hover .pl-jm-photo, .pl-jm:focus-visible .pl-jm-photo { transform: scale(1.06); }
.pl-jm:hover .pl-jm-link .icon-arrow, .pl-jm:focus-visible .pl-jm-link .icon-arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  .pl-jm-photo, .pl-jm-link .icon-arrow { transition: none; }
}

/* ==========================================================================
   Uus liigendus (2026-09-30): hero kahes veerus, tingimused tabeli all,
   Tervisekassa saar koos hüvitise üksikasjadega, raviplaan + järelmaks heledal alal.
   ========================================================================== */

/* --- Hero --- */
.pl-intro { max-width: none; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.pl-intro-main .pl-lead { max-width: 600px; margin-top: 20px; font-size: 19px; line-height: 31px; }
.pl-intro-main .pl-updated { margin-top: 24px; }
/* "Vaata kõiki hindu" kasutab teema linki (.link .link-dark); siin ainult nool alla */
.pl-intro-all .icon-arrow { transform: rotate(90deg); }

/* Kaart "Mis mõjutab sinu arvet" */
.pl-bill { border: 1px solid var(--pl-line); border-radius: 6px; background: #fff; overflow: hidden; }
.pl-bill-title { margin: 0; padding: 18px 24px; border-bottom: 1px solid var(--pl-line); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-muted); }
.pl-bill-row { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #F3E7E3; color: var(--color-text, #231F20) !important; text-decoration: none !important; transition: background-color .2s ease; }
.pl-bill-row:last-child { border-bottom: 0; }
a.pl-bill-row:hover { background: #FDF5F8; }
.pl-bill-mark { flex: 0 0 140px; display: flex; align-items: center; gap: 10px; }
/* Tervisekassa valge logo värvitakse maskiga lillaks; mask lõikab faili tühja ääre (1670×542, sisu 1310×181) → nähtav 130×18 px */
.pl-bill-tk { width: 130px; height: 18px; background: var(--pl-main);
  -webkit-mask: var(--tk-logo) -18px -18px / 166px 54px no-repeat; mask: var(--tk-logo) -18px -18px / 166px 54px no-repeat; }
.pl-bill-name { font-size: 15px; font-weight: 600; color: var(--pl-main); }
.pl-bill-num { font-size: 24px; line-height: 30px; color: var(--pl-main); white-space: nowrap; }
.pl-bill-logos img { display: block; width: auto; height: 22px; max-width: 56px; object-fit: contain; }
.pl-bill-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 20px; font-weight: 400; color: #4F3A4B; }
.pl-bill-text strong { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--pl-main); }
.pl-bill-text a { color: var(--pl-theme) !important; }
.pl-bill-text a:hover { color: var(--pl-main) !important; text-decoration: underline; text-underline-offset: 3px; }
.pl-bill-arrow { flex-shrink: 0; width: 16px; height: 16px; fill: var(--color-arrow, #E02020); transform: rotate(90deg); transition: transform .25s ease; }
a.pl-bill-row:hover .pl-bill-arrow { transform: rotate(90deg) translateX(4px); }

/* --- Levinumad: peamine link "Broneeri aeg", teisene "Teenusest" --- */
.pl-pop-link .icon-arrow { transition: transform .25s ease; }
.pl-pop-link:not(.pl-pop-link--prices):hover .icon-arrow { transform: translateX(6px); }
.pl-pop-link--sec { font-weight: 400; color: var(--pl-soft) !important; }
.pl-pop-link--sec:hover { color: var(--pl-theme) !important; }

/* --- Hinnakirja tingimused tabeli all --- */
.pl-terms { max-width: 1000px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--pl-line, #EBDAD5); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; }
.pl-terms-title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pl-muted, #7E6278); }
.pl-terms p { margin: 0; font-size: 14px; line-height: 22px; color: var(--pl-soft, #6E5068); }
.pl-terms a { color: var(--pl-theme, #E00B50); }
.pl-terms a:hover { color: var(--pl-main, #4D1C46); text-decoration: underline; text-underline-offset: 3px; }

/* --- Tervisekassa saar koos hüvitise üksikasjadega (tume variant) --- */
.pl-island-sub { margin: 56px 0 20px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 244, 238, .7); }
.pl-island .pl-benefits { margin: 0; gap: 24px; }
.pl-island .pl-benefit { padding: 32px; border-color: rgba(255, 244, 238, .14); background: rgba(255, 244, 238, .06); }
.pl-island .pl-benefit-title { color: #FFF4EE; }
.pl-island .pl-benefit-title span { color: #FABA92; }
.pl-island .pl-benefit p, .pl-island .pl-list li, .pl-island .pl-more p { color: rgba(255, 244, 238, .85); }
.pl-island .pl-benefit p { margin: 0 0 12px; font-size: 15px; line-height: 24px; }
.pl-island .pl-benefit-ex { color: #FFF4EE !important; }
.pl-island .pl-list li::before { background: #FABA92; }
.pl-island .pl-benefit a, .pl-island .pl-more a { color: #FABA92 !important; text-decoration: underline; text-underline-offset: 3px; }
.pl-island .pl-benefit a:hover, .pl-island .pl-more a:hover { color: #FFF4EE !important; }
.pl-island .pl-more { margin-top: 24px; border-color: rgba(255, 244, 238, .18); }
.pl-island .pl-more-title { color: #FFF4EE; }
.pl-island .pl-more summary svg { color: #FABA92; }
.pl-island .pl-more p { font-size: 15px; line-height: 24px; }
.pl-island-note { max-width: 900px; margin: 24px 0 0; }
.pl-island:has(+ .pl-plan) { margin-bottom: 0; }

/* --- Raviplaan ja järelmaks: hele täislaiuses ala --- */
.pl-plan {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center;
  margin: 0; padding: 88px 0; background: #FBF7F6; box-shadow: 0 0 0 100vmax #FBF7F6; clip-path: inset(0 -100vmax);
}
.pl-plan-text p { margin: 0 0 14px; font-size: 17px; line-height: 28px; }
.pl-plan-text a { color: var(--pl-theme, #E00B50); }
.pl-plan-text a:hover { color: var(--pl-main, #4D1C46); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991px) {
  .pl-intro { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .pl-terms { grid-template-columns: 1fr; }
  .pl-plan { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .pl-island-sub { margin-top: 40px; }
  .pl-island .pl-benefit { padding: 20px; }
}
@media (max-width: 767px) {
  .pl-intro-main .pl-lead { font-size: 17px; line-height: 27px; }
  .pl-intro-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .pl-intro-all { align-self: center; }
  .pl-bill-title { padding: 14px 16px; }
  .pl-bill-row { gap: 12px; padding: 14px 16px; }
  .pl-bill-mark { flex-basis: 108px; }
  .pl-bill-tk { width: 104px; height: 14px; -webkit-mask-position: -14px -14px; mask-position: -14px -14px; -webkit-mask-size: 129px 42px; mask-size: 129px 42px; }
  .pl-bill-num { font-size: 20px; }
  .pl-bill-logos img { height: 18px; max-width: 44px; }
}
/* Hinnatabel ja tingimused sama laiad kui ülejäänud lehe osad (hero, saar, raviplaan) */
.pl, .pl-terms { max-width: none; }

/* ==========================================================================
   Tervisekassa saar: hele variant (helelilla-roosakas taust, lilla tekst, roosad numbrid).
   Tumelilla jääb lõpu-CTA-le ja jalusele. Raviplaani ala on selle järel valge.
   ========================================================================== */
.pl-island { --pl-plum: #F6ECEF; --pl-isl-line: rgba(77, 28, 70, .14); color: var(--pl-main, #4D1C46); }
.pl-island a { color: var(--pl-theme, #E00B50); }
.pl-island-logo { border-right-color: var(--pl-isl-line); }
/* Valge logofail värvitakse maskiga lillaks; mask lõikab tühja ääre (1670×542, sisu 1310×181) → nähtav 159×22 px */
.pl-island-tk { display: block; width: 159px; height: 22px; background: var(--pl-main, #4D1C46);
  -webkit-mask: var(--tk-logo) -22px -22px / 203px 66px no-repeat; mask: var(--tk-logo) -22px -22px / 203px 66px no-repeat; }
.pl-island-eyebrow { color: var(--pl-theme, #E00B50); }
.pl-island-title { color: var(--pl-main, #4D1C46); }
.pl-island-lead { color: var(--pl-soft, #6E5068); }
.pl-island-stats { border-top-color: var(--pl-isl-line); }
.pl-stat + .pl-stat { border-left-color: var(--pl-isl-line); }
.pl-stat-num { color: var(--pl-theme, #E00B50); font-weight: 400; }
.pl-stat-label { color: var(--pl-main, #4D1C46); }
.pl-stat-sub { color: var(--pl-soft, #6E5068); }
.pl-island-sub { color: var(--pl-muted, #7E6278); }
.pl-island .pl-benefit { border-color: var(--pl-line, #EBDAD5); background: #fff; }
.pl-island .pl-benefit-title { color: var(--pl-main, #4D1C46); }
.pl-island .pl-benefit-title span { color: var(--pl-theme, #E00B50); }
.pl-island .pl-benefit p, .pl-island .pl-list li, .pl-island .pl-more p { color: var(--color-text, #231F20); }
.pl-island .pl-benefit-ex { color: var(--pl-main, #4D1C46) !important; }
.pl-island .pl-list li::before { background: var(--pl-theme, #E00B50); }
.pl-island .pl-benefit a, .pl-island .pl-more a { color: var(--pl-theme, #E00B50) !important; }
.pl-island .pl-benefit a:hover, .pl-island .pl-more a:hover { color: var(--pl-main, #4D1C46) !important; }
.pl-island .pl-more { border-color: var(--pl-isl-line); }
.pl-island .pl-more-title { color: var(--pl-main, #4D1C46); }
.pl-island .pl-more summary svg { color: var(--pl-theme, #E00B50); }
.pl-island-extra { color: var(--pl-soft, #6E5068); }
.pl-island-note { color: var(--color-text, #231F20); }
.pl-island-note strong { color: var(--pl-main, #4D1C46); }
.pl-plan { background: #fff; box-shadow: none; clip-path: none; }
@media (max-width: 991px) {
  .pl-stat:nth-child(n+3) { border-top-color: var(--pl-isl-line); }
}
@media (max-width: 767px) {
  .pl-island-tk { width: 130px; height: 18px; -webkit-mask-position: -18px -18px; mask-position: -18px -18px; -webkit-mask-size: 166px 54px; mask-size: 166px 54px; }
  .pl-stat + .pl-stat { border-top-color: var(--pl-isl-line); }
}

/* Kontrast (WCAG AA): väike roosa tekst heledal saarel tumedam; otsinguvälja piir ≥ 3:1; järelmaksu kaardi üleminek tugevam, et tekst foto peal loetav oleks */
.pl-island-eyebrow { color: #C4093F; }
.pl-search-field input { border-color: #9A8093; }
.pl-jm::before { background: linear-gradient(180deg, rgba(77, 28, 70, .1) 0%, rgba(77, 28, 70, .65) 34%, rgba(77, 28, 70, .95) 56%, #4D1C46 100%); }
.pl-slider-btn:not(:disabled) { border-color: #9A8093; }
.pl-slider-btn:not(:disabled):hover { border-color: var(--pl-main); }
/* Loetavus heledal saarel: teema õhuke kiri (300) + hall toon mõjus kahvatult → tavaline paksus ja tumedam toon */
.pl-island-lead, .pl-island-extra, .pl-island .pl-benefit p, .pl-island .pl-list li, .pl-island .pl-more p, .pl-island-note, .pl-stat-sub { font-weight: 400; }
.pl-island-lead, .pl-island-extra, .pl-stat-sub { color: #4F3A4B; }
.pl-bill-text span, .pl-terms p, .pl-plan-text p { font-weight: 400; }
.pl-terms { padding-top: 0; border-top: 0; }

/* Järelmaksu partnerite logod monokroomsena. SVG → mask (värv = currentColor); varupilt → hallskaala */
.pl-plogo { display: block; flex-shrink: 0; height: 20px; background: currentColor;
  -webkit-mask: var(--plogo) left center / contain no-repeat; mask: var(--plogo) left center / contain no-repeat; }
.pl-plogo--inbank { width: 60px; }
.pl-plogo--liisi { width: 46px; height: 22px; }
.pl-bill-logos { color: var(--pl-main, #4D1C46); gap: 14px; }
.pl-jm-logos { color: #FFF4EE; }
.pl-bill-logos .pl-plogo-img { filter: grayscale(1) contrast(1.4); mix-blend-mode: multiply; opacity: .85; }
@media (max-width: 767px) {
  .pl-plogo { height: 16px; }
  .pl-plogo--inbank { width: 48px; }
  .pl-plogo--liisi { width: 38px; height: 18px; }
}

/* Avatud kategooria Sakala roosa tooniga (sama varjund kui saar ja nupud, hue ~340): kogu paneel #FEF9FB, eraldusjooned #F1E4E9. Päisel eraldi tausta pole. */
.pl-acc[open] { --pl-sel: #F6D9E4; }
.pl-acc[open] > .pl-acc-head { border-bottom-color: #F1E4E9; }
.pl-acc[open] .pl-table tbody th, .pl-acc[open] .pl-table tbody td { border-bottom-color: #F1E4E9; }
.pl-acc > .pl-acc-head { transition: border-color .35s ease, margin-bottom .35s ease, background-color .35s ease; }
/* Suletud kategooria hoveris: kogu rida (ka paneeli laius sisust väljas) saab heleroosa tausta */
.pl-acc:not([open]):has(> .pl-acc-head:hover) { background-color: #FDF5F8; }

/* Eraldusjooned sama laiad kui avatud paneel ja hover-taust (sisust 23 px vasakule, 20 px paremale),
   et taust ja jooned algaksid ja lõppeksid samas kohas. Tekst ei nihku. */
.pl-cat, .pl-cat:first-of-type { border-top: 0; border-bottom: 0; }
.pl-acc { border-bottom: 1px solid var(--pl-line, #EBDAD5); }
.pl-cat:first-of-type > .pl-acc { border-top: 1px solid var(--pl-line, #EBDAD5); }
.pl-group-title { margin-left: -23px; margin-right: -20px; padding-left: 23px; padding-right: 20px; }
@media (max-width: 767px) {
  .pl-group-title { margin-left: -15px; margin-right: -12px; padding-left: 15px; padding-right: 12px; }
}
/* Hoveris ja avatud olekus kaovad rea ümber olevad eraldusjooned (oma alumine, eelmise kategooria alumine, esimese ülemine) */
.pl-acc { transition: background-color .35s ease, box-shadow .35s ease, padding-bottom .35s ease, border-color .35s ease; }
.pl-acc:not([open]):has(> .pl-acc-head:hover), .pl-acc[open] { border-bottom-color: transparent; }
.pl-cat:has(+ .pl-cat > .pl-acc:not([open]) > .pl-acc-head:hover) > .pl-acc,
.pl-cat:has(+ .pl-cat > .pl-acc[open]) > .pl-acc { border-bottom-color: transparent; }
.pl-cat:first-of-type > .pl-acc:not([open]):has(> .pl-acc-head:hover), .pl-cat:first-of-type > .pl-acc[open] { border-top-color: transparent; }

/* Kõik kategooriad tavalise sisulaiuse sees (ei ulatu servast välja): taust, jooned ja punane joon on sisukasti laiused,
   tekst on reas 23 px (mobiilis 15 px) sissepoole. Rühmade pealkirjad jäävad sisukasti vasakusse serva. */
.pl-acc { margin-left: 0; margin-right: 0; }
.pl-group-title { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
@media (max-width: 767px) {
  .pl-acc { margin-left: 0; margin-right: 0; }
  .pl-group-title { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

/* Rühmad kahes veerus (arvutis): vasakul rühma nimi suurelt ja kategooriate arv (kleepub kerimisel), paremal kategooriad.
   Mobiilis ja tahvlis jääb pealkiri kategooriate kohale väikese sildina. */
.pl-group-count { display: none; margin: 0; }
@media (min-width: 992px) {
  .pl-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 40px; align-items: start; }
  .pl-group + .pl-group { margin-top: 64px; }
  .pl-group-head { position: sticky; top: 120px; padding-top: 18px; }
  .pl-group-title { margin: 0; gap: 12px; font-size: 28px; line-height: 34px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--pl-main, #4D1C46); }
  .pl-group-title::before { width: 12px; height: 12px; }
  .pl-group-title .pl-group-icon { width: 28px; height: 28px; }
  .pl-group-count { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--pl-soft, #6E5068); }
}
@media (min-width: 992px) {
  /* Kategooriate arv joondub pealkirja tekstiga (romb 12 px + vahe 12 px; ikoon 28 px + vahe 12 px) */
  .pl-group-count { padding-left: 24px; }
  .pl-group-head:has(.pl-group-icon) .pl-group-count { padding-left: 40px; }
}

/* Hiirega lohistatav slaider */
.pl-popular-grid { cursor: grab; }
.pl-popular-grid.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; user-select: none; }
.pl-popular-grid.is-dragging * { pointer-events: none; }

/* "Hüvitise tingimused": sisu avaneb ja sulgub sujuvalt (sama nagu kategooriatel), nool pöörleb */
.pl-more { interpolate-size: allow-keywords; transition: padding-bottom .35s ease; }
.pl-more::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.pl-more[open]::details-content { block-size: auto; }
.pl-more summary svg { transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) {
  .pl-more, .pl-more::details-content, .pl-more summary svg { transition: none; }
}

/* Akordionid nagu avalehe kliinikukaardid: "Vaata hindu" sama stiiliga nagu "Vaata kontakte", suurem õhem nool */
.pl-acc-hint { gap: 12px; font-size: 16px; line-height: 22px; font-weight: 600; }
.pl-acc-hint svg { width: 22px; height: 22px; transition: transform .35s ease; }
.pl-more summary svg { width: 22px; height: 22px; }
/* Hoveril jooned jäävad (taust mahub kahe joone vahele); ainult avatud kategooria ümbert kaovad */
.pl-acc:not([open]):has(> .pl-acc-head:hover) { border-bottom-color: var(--pl-line, #EBDAD5); }
.pl-cat:has(+ .pl-cat > .pl-acc:not([open]) > .pl-acc-head:hover) > .pl-acc:not([open]) { border-bottom-color: var(--pl-line, #EBDAD5); }
.pl-cat:first-of-type > .pl-acc:not([open]):has(> .pl-acc-head:hover) { border-top-color: var(--pl-line, #EBDAD5); }
@media (max-width: 767px) {
  .pl-acc-hint svg { width: 24px; height: 24px; }
}

/* Kalkulaatori / broneerimisriba: märkus summa all; mobiilis püsiv riba ekraani all (ka ilma valikuteta) */
.pl-total-note { margin-top: 2px; font-size: 12px; line-height: 16px; color: rgba(255, 244, 238, .78); }
.pl-total.is-compact .pl-total-info, .pl-total.is-compact .pl-total-reset { display: none; }
.pl-total.is-compact { justify-content: flex-end; }
@media (max-width: 767px) {
  .pl-total.is-fixed { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; }
  .pl-total.is-compact .pl-total-actions { flex: 1 1 100%; }
  body.pl-has-bar { padding-bottom: 84px; }
}
/* Kaks järjestikust avatud kategooriat: nende vahel on valge vahe, et paneelid kokku ei sulaks */
.pl-cat:has(> .pl-acc[open]) + .pl-cat > .pl-acc[open] { margin-top: 16px; }

/* Arvutis: püsiv "Broneeri aeg" ujuva nupuna paremas alanurgas (ilma ribata) */
@media (min-width: 768px) {
  .pl-total.is-fixed.is-compact { position: fixed; left: auto; right: 32px; bottom: 32px; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; flex-wrap: nowrap; }
  .pl-total.is-fixed.is-compact .btn.pl-total-book { box-shadow: 0 10px 28px rgba(77, 28, 70, .28); }
}
/* Hinnatabeli rida hoveril: roosakas taust, et teenus ja hind seostuksid silmale */
/* Ilma üleminekuta: ridade vahel liikudes ei vilgu (kaks rida ei hajuks samal ajal sisse ja välja) */
.pl-table tbody tr th, .pl-table tbody tr td { transition: none; }
.pl-table tbody tr:hover th, .pl-table tbody tr:hover td { background-color: #F9E6ED; }

/* "Hüvitise tingimused" käitub nagu hinnakirja kategooriad: hoveril hele taust, avatult hele paneel + punane joon vasakul */
.pl-island .pl-more { transition: background-color .35s ease, box-shadow .35s ease, padding-bottom .35s ease; box-shadow: inset 3px 0 0 rgba(224, 11, 80, 0); }
.pl-island .pl-more > summary { padding: 0 20px 0 23px; transition: background-color .2s ease; }
.pl-island .pl-more > :not(summary) { padding-left: 23px; padding-right: 20px; }
.pl-island .pl-more:not([open]) > summary:hover { background-color: #FDF5F8; }
.pl-island .pl-more[open] { background-color: #FEF9FB; box-shadow: inset 3px 0 0 var(--pl-theme, #E00B50); border-color: transparent; }
@media (max-width: 767px) {
  .pl-island .pl-more > summary { padding: 0 12px 0 15px; }
  .pl-island .pl-more > :not(summary) { padding-left: 15px; padding-right: 12px; }
}

/* Kaardi pealkiri on link teenuse lehele: lilla, hoveril roosa, ilma alljooneta */
.pl-pop-title a { color: inherit !important; text-decoration: none !important; transition: color .2s ease; }
.pl-pop-title a:hover { color: var(--pl-theme, #E00B50) !important; }
/* Slaideri nupud hoveril: sama heleroosa taust nagu teistel hover-kohtadel, raam lillaks */
.pl-slider-btn { transition: background-color .2s ease, border-color .2s ease; }
.pl-slider-btn:not(:disabled):hover { background: #FDF5F8; border-color: var(--pl-main, #4D1C46); }

/* Avatud kategooria ja "Hüvitise tingimused": vasak joon 2 px (rahulikum) */
.pl-acc[open], .pl-island .pl-more[open] { box-shadow: inset 2px 0 0 var(--pl-theme, #E00B50); }
/* "Vaata kõiki hindu" (teema .link): paksus 400 ja hoveril roosaks + nool liigub alla */
.pl-intro-all { font-weight: 400; transition: color .2s ease; }
.pl-intro-all .icon-arrow { transition: transform .25s ease; }
.pl-intro-all:hover { color: var(--pl-theme, #E00B50) !important; }
.pl-intro-all:hover .icon-arrow { transform: rotate(90deg) translateX(4px); }

/* "Vaata kõiki hindu": noole ja teksti proportsioon, mobiilis rohkem õhku nupu all */
.pl-intro-all span ~ svg { margin-left: 10px; }
.pl-intro-all .icon.icon-arrow { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .pl-intro-actions { gap: 20px; }
  .pl-intro-all { font-size: 17px; line-height: 24px; padding: 4px 0; }
}
.pricelist .link.pl-intro-all, .pricelist .link.pl-intro-all:hover, .pricelist .link.pl-intro-all:focus-visible { text-decoration: none; }

/* ==========================================================================
   Tervisekassa hüvitis v2 (Claude Design "Tervisekassa hüvitis"):
   pealkiri + 3 sammu, 4 rühmakaarti (hüvitis, sinu osa, kellele, näide), "Hea teada", tingimuste akordion
   ========================================================================== */
.tk { padding: 88px 0; }
.tk-steps li::before, .tk-card-list li::before, .tk-good-list li::before { content: none !important; display: none !important; }
.tk-steps, .tk-card-list, .tk-good-list { margin: 0; padding: 0; list-style: none; }
.tk-top p, .tk-card p, .tk-good p { margin: 0; }
.tk-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.tk .tk-head { max-width: 600px; }
.tk .pl-island-title { font-size: 40px; line-height: 48px; }
.tk .pl-island-lead { margin-top: 16px; font-size: 17px; line-height: 28px; color: #4F3A4B; }

.tk-steps { border-top: 1px solid #E6D3DC; }
.tk-step { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #E6D3DC; }
.tk-step-n { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--pl-main, #4D1C46); color: #fff; font-size: 14px; line-height: 32px; font-weight: 600; text-align: center; }
.tk-step-t { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--pl-main, #4D1C46); }
.tk-step-d { margin-top: 2px !important; font-size: 14px; line-height: 22px; color: #4F3A4B; }

.tk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.tk-card { display: flex; flex-direction: column; gap: 22px; padding: 36px 40px; background: #fff; border: 1px solid #EBDAE2; border-radius: 6px; }
.tk-card-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-muted, #7E6278); }
.tk-card-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px !important; }
.tk-num { font-size: 56px; line-height: 60px; font-weight: 400; letter-spacing: -.01em; color: #C4093F; white-space: nowrap; }
.tk-unit { font-size: 16px; line-height: 24px; color: var(--pl-main, #4D1C46); }
.tk-card-pay { margin-top: 12px !important; font-size: 16px; line-height: 24px; color: var(--pl-main, #4D1C46); }
.tk-card-pay strong { font-weight: 600; }
.tk-card-text { margin-top: 10px !important; font-size: 14px; line-height: 22px; color: #4F3A4B; }
.tk-card-foot .tk-card-text { margin-top: 0 !important; }
.tk-card-list { display: grid; gap: 6px; margin-top: 12px !important; }
.tk-card-list li { display: flex; gap: 10px; font-size: 14px; line-height: 22px; color: #4F3A4B; }
.tk-check { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: #C4093F; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tk a { color: #C4093F; text-decoration: underline; text-underline-offset: 3px; }
.tk a:hover { color: var(--pl-main, #4D1C46); }
.tk-card-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid #F1E4E9; }
.tk-ex-label { margin-bottom: 10px !important; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--pl-muted, #7E6278); }
.tk-bar { display: flex; height: 40px; border-radius: 4px; overflow: hidden; font-size: 13px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.tk-bar > span { flex-basis: 0; min-width: 0; display: flex; align-items: center; padding: 0 14px; overflow: hidden; }
.tk-bar-tk { background: var(--pl-main, #4D1C46); color: #fff; }
.tk-bar-you { background: #F6D9E4; color: var(--pl-main, #4D1C46); }
.tk-ex-cap { margin-top: 10px !important; font-size: 13px; line-height: 20px; color: #4F3A4B; }
.tk .tk-card-link { display: inline-block; padding: 11px 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--pl-main, #4D1C46); text-decoration: none; }
.tk .tk-card-link svg { width: 18px; height: 18px; fill: none; stroke: var(--pl-theme, #E00B50); stroke-width: 2; transition: transform .25s ease; }
.tk .tk-card-link:hover { color: var(--pl-theme, #E00B50); }
.tk .tk-card-link:hover svg { transform: translate(2px, -2px); }

.tk-good { margin-top: 56px; }
.tk-good-title { margin: 0 0 20px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-muted, #7E6278); }
.tk-good-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tk-good-list li { display: flex; flex-direction: column; gap: 10px; }
.tk-good-icon { width: 28px; height: 28px; fill: none; stroke: var(--pl-main, #4D1C46); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tk-good-t { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--pl-main, #4D1C46); }
.tk-good-d { font-size: 14px; line-height: 22px; color: #4F3A4B; }
.tk .pl-more { margin-top: 40px; }

@media (max-width: 1099px) {
  .tk-top { gap: 48px; }
  .tk-good-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .tk-top { grid-template-columns: 1fr; gap: 28px; }
  .tk .tk-head { max-width: none; }
}
@media (max-width: 767px) {
  .tk { padding: 56px 0; }
  .tk .pl-island-title { font-size: 30px; line-height: 38px; }
  .tk .pl-island-lead { font-size: 16px; line-height: 26px; }
  .tk-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .tk-card { padding: 28px 22px; }
  .tk-num { font-size: 44px; line-height: 50px; }
  .tk-good { margin-top: 40px; }
  .tk-good-list { grid-template-columns: 1fr; gap: 24px; }
  .tk-bar > span { padding: 0 10px; }
}
/* Väike osa (nt 12,5%) jääb loetavaks */
.tk-bar > .tk-bar-you { min-width: 56px; justify-content: center; }
.tk-bar > .tk-bar-you:not(:only-child) { padding: 0 10px; }

/* "Broneeri aeg" riba / ujuv nupp: sujuv ilmumine ja kadumine (JS lisab .is-shown) */
.pl-total { animation: none; --pl-total-shift: 18px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(var(--pl-total-shift));
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s; }
.pl-total.is-shown { opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
@media (max-width: 767px) { .pl-total.is-fixed { --pl-total-shift: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .pl-total, .pl-total.is-shown { transform: none; transition: opacity .2s linear, visibility 0s linear .2s; }
  .pl-total.is-shown { transition: opacity .2s linear, visibility 0s; }
}
