/* =========================================================
   Skinthetics – collapsible price lists (v1.1)
   Two looks:  green (default)  and  minimal  (look="minimal")
   Pure CSS: uses <details>/<summary>, no JavaScript needed.
   All classes are prefixed sk-pl to avoid theme clashes.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;600&display=swap");

.sk-pl {
  /* ---- Settings (green look) ---- */
  --sk-ink: #36302c;            /* text colour */
  --sk-muted: #6a615b;
  --sk-green: #c9e3dd;          /* accordion + button colour */
  --sk-line: #e2eeea;           /* lines inside the white panel */
  --sk-max: none;               /* no maximum width; set e.g. 880px if you ever want to narrow it */
  --sk-gap: 120px;              /* space below each list */

  max-width: var(--sk-max); margin: 0 auto var(--sk-gap);
  color: var(--sk-ink);
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sk-pl, .sk-pl *, .sk-pl *::before, .sk-pl *::after { box-sizing: border-box; }

/* ---------- Heading ---------- */
.sk-pl .sk-pl__hd { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0 0 28px; }
.sk-pl .sk-pl__title { margin: 0; color: var(--sk-ink); font-family: inherit; font-weight: 300; font-size: clamp(34px, 4vw, 44px); line-height: 1; letter-spacing: -0.03em; text-transform: none; }
.sk-pl .sk-pl__intro { margin: 0; color: var(--sk-muted); font-size: 16px; font-weight: 300; line-height: 1.4; text-transform: none; }

/* ---------- Accordion ---------- */
.sk-pl .sk-pl__list { display: flex; flex-direction: column; gap: 12px; }
.sk-pl .sk-pl__sec { margin: 0; background: var(--sk-green); border-radius: 4px; overflow: hidden; }
.sk-pl .sk-pl__sum { display: flex; align-items: center; gap: 24px; margin: 0; padding: 28px 32px; cursor: pointer; list-style: none; color: var(--sk-ink); }
.sk-pl .sk-pl__sum::-webkit-details-marker { display: none; }
.sk-pl .sk-pl__sum::marker { content: ""; }
.sk-pl .sk-pl__sum:focus-visible { outline: 2px solid var(--sk-ink); outline-offset: -4px; }
.sk-pl .sk-pl__sum-text { flex: 1; color: var(--sk-ink); font-size: clamp(26px, 3vw, 34px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; text-transform: none; }
.sk-pl .sk-pl__meta { color: rgba(54,48,44,.74); font-size: 16px; font-weight: 300; white-space: nowrap; text-transform: none; }
.sk-pl .sk-pl__dot { color: inherit; text-transform: none; }
.sk-pl .sk-pl__from { color: var(--sk-ink); font-weight: 400; text-transform: none; }

/* plus / minus button (drawn with backgrounds so theme styles can't make it disappear) */
.sk-pl .sk-pl__icon {
  flex: none; display: block; position: relative; width: 46px; height: 46px; border-radius: 50%;
  background-color: #ffffff !important;
  background-image: linear-gradient(var(--sk-ink), var(--sk-ink)), linear-gradient(var(--sk-ink), var(--sk-ink)) !important;
  background-repeat: no-repeat !important; background-position: center !important;
  background-size: 15px 1.5px, 1.5px 15px !important;
  transition: background-color .25s, background-size .3s ease;
}
.sk-pl .sk-pl__sum:hover .sk-pl__icon, .sk-pl .sk-pl__sec[open] .sk-pl__icon {
  background-color: var(--sk-ink) !important;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff) !important;
}
.sk-pl .sk-pl__sec[open] .sk-pl__icon { background-size: 15px 1.5px, 0 0 !important; }
.sk-pl .sk-pl__icon::before, .sk-pl .sk-pl__icon::after { content: none !important; }

/* smooth open/close where supported (other browsers open instantly) */
@supports selector(::details-content) {
  .sk-pl .sk-pl__sec::details-content { block-size: 0; overflow: clip; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
  .sk-pl .sk-pl__sec[open]::details-content { block-size: auto; }
  :root { interpolate-size: allow-keywords; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-pl .sk-pl__sec::details-content, .sk-pl .sk-pl__icon { transition: none !important; }
}

/* ---------- Rows (white panel inside the green) ---------- */
.sk-pl .sk-pl__rows { list-style: none; margin: 0 12px 12px; padding: 10px 28px; background: #fff; border-radius: 2px; }
.sk-pl .sk-pl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 32px; margin: 0; padding: 22px 0; border-top: 1px solid var(--sk-line); list-style: none; }
.sk-pl .sk-pl__row:first-child { border-top: 0; }
.sk-pl .sk-pl__name { color: var(--sk-ink); font-size: 20px; font-weight: 300; line-height: 1.3; text-transform: none; }
.sk-pl .sk-pl__extra { max-width: 52ch; color: var(--sk-muted); font-size: 15px; font-weight: 300; line-height: 1.4; text-align: right; text-transform: none; }
.sk-pl .sk-pl__amt { min-width: 76px; color: var(--sk-ink); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; text-align: right; font-variant-numeric: tabular-nums; text-transform: none; }
.sk-pl .sk-pl__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sk-pl .sk-pl__note { margin: 20px 0 0; color: var(--sk-muted); font-size: 16px; line-height: 1.5; font-weight: 300; }

/* ---------- Minimal look: look="minimal" ---------- */
.sk-pl--minimal {
  --sk-ink: #000000;
  --sk-muted: #55595a;
  --sk-green: transparent;
  --sk-line: #dededa;
  --sk-brand: #55716b;
  --sk-max: none;
  --sk-gap: 96px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; padding-top: 40px; border-top: 1px solid var(--sk-ink);
}
.sk-pl--minimal .sk-pl__hd { display: block; margin: 0; }
.sk-pl--minimal .sk-pl__title { font-size: 40px; margin-bottom: 12px; }
.sk-pl--minimal .sk-pl__intro { max-width: 28ch; font-size: 17px; line-height: 1.5; }
.sk-pl--minimal .sk-pl__list { gap: 0; border-bottom: 1px solid var(--sk-line); }
.sk-pl--minimal .sk-pl__sec { background: transparent; border-radius: 0; overflow: visible; border-top: 1px solid var(--sk-line); }
.sk-pl--minimal .sk-pl__sec:first-child { border-top: 0; }
.sk-pl--minimal .sk-pl__sum { padding: 26px 0; }
.sk-pl--minimal .sk-pl__sum:hover .sk-pl__sum-text { color: var(--sk-brand); }
.sk-pl--minimal .sk-pl__meta { color: var(--sk-muted); }
.sk-pl--minimal .sk-pl__from { color: var(--sk-ink); }
.sk-pl--minimal .sk-pl__icon { width: 44px; height: 44px; border: 1px solid var(--sk-brand); background-color: transparent !important; background-image: linear-gradient(var(--sk-brand), var(--sk-brand)), linear-gradient(var(--sk-brand), var(--sk-brand)) !important; }
.sk-pl--minimal .sk-pl__sum:hover .sk-pl__icon { background-color: transparent !important; background-image: linear-gradient(var(--sk-brand), var(--sk-brand)), linear-gradient(var(--sk-brand), var(--sk-brand)) !important; }
.sk-pl--minimal .sk-pl__sec[open] .sk-pl__icon { background-color: var(--sk-brand) !important; background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff) !important; background-size: 15px 1.5px, 0 0 !important; }
.sk-pl--minimal .sk-pl__rows { margin: 0; padding: 0 0 30px; background: transparent; border-radius: 0; }
.sk-pl--minimal .sk-pl__row { padding: 18px 12px 18px 0; }
.sk-pl--minimal .sk-pl__row:first-child { border-top: 1px solid var(--sk-line); }
.sk-pl--minimal .sk-pl__row:hover { background: #f4f4f2; }
.sk-pl--minimal .sk-pl__extra { white-space: normal; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .sk-pl--minimal { grid-template-columns: minmax(0, 1fr); }
  .sk-pl .sk-pl__extra { white-space: normal; text-align: left; grid-column: 1 / -1; grid-row: 2; }
  .sk-pl .sk-pl__row { grid-template-columns: minmax(0, 1fr) auto; }
  .sk-pl .sk-pl__amt { grid-column: 2; grid-row: 1; align-self: baseline; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .sk-pl { --sk-gap: 64px; }
  .sk-pl .sk-pl__hd { flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .sk-pl .sk-pl__title { font-size: 36px; }
  .sk-pl .sk-pl__sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 20px; }
  .sk-pl--minimal .sk-pl__sum { padding: 22px 0; }
  .sk-pl .sk-pl__sum-text { grid-column: 1; font-size: 28px; }
  .sk-pl .sk-pl__meta { grid-column: 1; grid-row: 2; font-size: 15px; }
  .sk-pl .sk-pl__icon { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .sk-pl .sk-pl__rows { margin: 0 8px 8px; padding: 6px 18px; }
  .sk-pl--minimal .sk-pl__rows { margin: 0; padding: 0 0 24px; }
  .sk-pl .sk-pl__row { padding: 18px 0; }
  .sk-pl .sk-pl__name { font-size: 18px; }
  .sk-pl .sk-pl__amt { min-width: 0; font-size: 21px; }
  .sk-pl .sk-pl__extra { font-size: 14px; }
}

/* ---------- "?" button next to a name + pop-up description ---------- */
.sk-pl .sk-pl__q {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 26px; height: 26px; margin: -2px 0 0 12px; padding: 0; border: 1px solid var(--sk-ink); border-radius: 50%;
  background: transparent; color: var(--sk-ink); font: inherit; font-size: 14px; font-weight: 400; line-height: 1; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.sk-pl .sk-pl__q:hover, .sk-pl .sk-pl__q:focus-visible { background: var(--sk-ink); color: #fff; }
.sk-pl .sk-pl__q:focus-visible { outline: 2px solid var(--sk-ink); outline-offset: 3px; }

/* hide the ? until the script has loaded; without it the description simply shows under the row */
.sk-pl:not(.sk-pl--js) .sk-pl__q { display: none; }
.sk-pl:not(.sk-pl--js) .sk-pl__x { display: none; }
.sk-pl:not(.sk-pl--js) .sk-pl__modal { display: block; position: static; grid-column: 1 / -1; width: auto; max-width: none; margin: 4px 0 0; padding: 0; border: 0; background: transparent; color: inherit; }
.sk-pl:not(.sk-pl--js) .sk-pl__modal-in { padding: 0; }
.sk-pl:not(.sk-pl--js) .sk-pl__modal-title, .sk-pl:not(.sk-pl--js) .sk-pl__modal-meta { display: none; }
.sk-pl:not(.sk-pl--js) .sk-pl__modal-body { font-size: 15px; }

.sk-pl .sk-pl__modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 4px; background: #fff; color: var(--sk-ink); box-shadow: 0 24px 80px rgba(54,48,44,.28); overflow: auto; }
.sk-pl .sk-pl__modal::backdrop { background: rgba(54,48,44,.5); }
.sk-pl .sk-pl__modal-in { position: relative; padding: 44px 44px 40px; }
.sk-pl .sk-pl__modal-title { margin: 0 56px 8px 0; color: var(--sk-ink); font-family: inherit; font-size: clamp(26px, 3vw, 34px); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; text-transform: none; }
.sk-pl .sk-pl__modal-meta { margin: 0 0 24px; color: var(--sk-muted); font-size: 15px; font-weight: 300; text-transform: none; }
.sk-pl .sk-pl__modal-body p { margin: 0 0 1em; color: var(--sk-ink); font-size: 18px; line-height: 1.65; font-weight: 300; text-transform: none; }
.sk-pl .sk-pl__modal-body p:last-child { margin-bottom: 0; }
.sk-pl .sk-pl__x { position: absolute; top: 20px; right: 20px; display: block; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background-color: var(--sk-green) !important;
  background-image: linear-gradient(var(--sk-ink), var(--sk-ink)), linear-gradient(var(--sk-ink), var(--sk-ink)) !important;
  background-repeat: no-repeat !important; background-position: center !important; background-size: 16px 1.5px, 1.5px 16px !important;
  transform: rotate(45deg); transition: background-color .2s; }
.sk-pl .sk-pl__x:hover { background-color: var(--sk-ink) !important; background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff) !important; }
.sk-pl .sk-pl__x:focus-visible { outline: 2px solid var(--sk-ink); outline-offset: 3px; }
.sk-pl .sk-pl__x span { display: none; }
.sk-pl--minimal .sk-pl__x { --sk-green: #f4f4f2; }
html.sk-pl-lock { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .sk-pl .sk-pl__modal[open] { animation: sk-pl-pop .28s ease both; }
  .sk-pl .sk-pl__modal[open]::backdrop { animation: sk-pl-fade .28s ease both; }
}
@keyframes sk-pl-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sk-pl-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 640px) {
  .sk-pl .sk-pl__modal-in { padding: 32px 22px 28px; }
  .sk-pl .sk-pl__x { top: 12px; right: 12px; width: 40px; height: 40px; }
  .sk-pl .sk-pl__modal-body p { font-size: 17px; }
  .sk-pl .sk-pl__q { margin-left: 10px; }
}

/* Column headings in the small line under a name are bold; their values stay light */
.sk-pl .sk-pl__xh { color: var(--sk-ink); font-weight: 600; text-transform: none; }
.sk-pl .sk-pl__xv { font-weight: 300; text-transform: none; }
.sk-pl .sk-pl__xs { color: inherit; }

/* =========================================================
   Table layout (the default): column headings along the top
   ========================================================= */
.sk-pl .sk-pl__tablewrap { margin: 0 12px 12px; padding: 2px 28px 12px; background: #fff; border-radius: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sk-pl .sk-pl__table { width: 100%; margin: 0; border-collapse: collapse; border: 0; background: transparent; table-layout: auto; }
.sk-pl .sk-pl__table th, .sk-pl .sk-pl__table td { border: 0; background: transparent; color: var(--sk-ink); font-family: inherit; text-align: left; text-transform: none; vertical-align: middle; }
.sk-pl .sk-pl__table thead th { padding: 22px 18px 14px; border-bottom: 1px solid var(--sk-ink); font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: .005em; }
.sk-pl .sk-pl__table tbody th, .sk-pl .sk-pl__table tbody td { padding: 20px 18px; border-bottom: 1px solid var(--sk-line); font-size: 18px; font-weight: 300; line-height: 1.35; }
.sk-pl .sk-pl__table tbody th { font-size: 20px; }
.sk-pl .sk-pl__table th:first-child, .sk-pl .sk-pl__table td:first-child { padding-left: 0; }
.sk-pl .sk-pl__table th:last-child, .sk-pl .sk-pl__table td:last-child { padding-right: 0; }
.sk-pl .sk-pl__table thead th.sk-pl__c-name { width: 34%; }
.sk-pl .sk-pl__table .sk-pl__c-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sk-pl .sk-pl__table tbody td.sk-pl__c-price { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.sk-pl .sk-pl__table tbody tr:last-child th, .sk-pl .sk-pl__table tbody tr:last-child td { border-bottom: 0; }
.sk-pl .sk-pl__table tbody tr:hover th, .sk-pl .sk-pl__table tbody tr:hover td { background: #f4f6f5; }

/* if scripts are blocked, the descriptions list under the table with their treatment name */
.sk-pl:not(.sk-pl--js) .sk-pl__dialogs .sk-pl__modal { margin: 0 12px 12px; padding: 0 28px; }
.sk-pl:not(.sk-pl--js) .sk-pl__dialogs .sk-pl__modal-title { display: block; margin: 12px 0 4px; font-size: 18px; font-weight: 400; }
.sk-pl:not(.sk-pl--js) .sk-pl__dialogs .sk-pl__modal-in { padding: 0; }

/* Minimal look */
.sk-pl--minimal .sk-pl__tablewrap { margin: 0; padding: 0 0 30px; background: transparent; border-radius: 0; }
.sk-pl--minimal .sk-pl__table tbody tr:hover th, .sk-pl--minimal .sk-pl__table tbody tr:hover td { background: #f4f4f2; }

/* Tablet: a little tighter */
@media (max-width: 1023px) {
  .sk-pl .sk-pl__tablewrap { padding: 2px 20px 10px; }
  .sk-pl .sk-pl__table thead th, .sk-pl .sk-pl__table tbody th, .sk-pl .sk-pl__table tbody td { padding-left: 12px; padding-right: 12px; }
  .sk-pl .sk-pl__table th:first-child, .sk-pl .sk-pl__table td:first-child { padding-left: 0; }
  .sk-pl .sk-pl__table th:last-child, .sk-pl .sk-pl__table td:last-child { padding-right: 0; }
}

/* Phone: every row becomes a small card; the column headings sit beside their values */
@media (max-width: 640px) {
  .sk-pl .sk-pl__tablewrap { margin: 0 8px 8px; padding: 2px 18px 8px; overflow: visible; }
  .sk-pl--minimal .sk-pl__tablewrap { margin: 0; padding: 0 0 24px; }
  .sk-pl .sk-pl__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sk-pl .sk-pl__table, .sk-pl .sk-pl__table tbody, .sk-pl .sk-pl__table tr { display: block; width: 100%; }
  .sk-pl .sk-pl__table tbody tr { padding: 18px 0; border-bottom: 1px solid var(--sk-line); }
  .sk-pl .sk-pl__table tbody tr:last-child { border-bottom: 0; }
  .sk-pl .sk-pl__table tbody th { display: block; padding: 0 0 8px; border: 0; font-size: 20px; font-weight: 400; }
  .sk-pl .sk-pl__table tbody td { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border: 0; font-size: 17px; text-align: right; white-space: normal; }
  .sk-pl .sk-pl__table tbody td::before { content: attr(data-label); color: var(--sk-ink); font-size: 15px; font-weight: 600; text-align: left; }
  .sk-pl .sk-pl__table tbody td.sk-pl__c-price { font-size: 20px; }
  .sk-pl .sk-pl__table tbody tr:hover th, .sk-pl .sk-pl__table tbody tr:hover td { background: transparent; }
}
