.page-hero.pricing-hero {
  min-height: 0;
  padding-block: clamp(2.1rem, 5vw, 4.65rem);
}
.pricing-hero .breadcrumb { margin-bottom: 1rem; }
.pricing-hero h1 {
  max-width: 24ch;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  text-wrap: balance;
}
.price-list-section { padding-block: clamp(1.7rem, 4vw, 3.75rem); }
[data-price-list] [hidden] { display: none !important; }
[data-price-list] .price-controls {
  gap: .6rem 1rem;
  align-items: end;
  margin-bottom: .75rem;
}
.price-controls label { min-width: 0; }
.price-controls input, .price-controls select {
  max-width: 100%;
  font-size: 1rem;
}
.price-category-field { position: relative; }
.price-category-field select {
  appearance: none;
  min-height: 48px;
  padding-inline-end: 2rem;
}
.price-category-field::after {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1.25rem;
  width: .44rem;
  height: .44rem;
  border-inline-end: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  pointer-events: none;
  content: '';
}
.price-clear {
  justify-self: start;
  min-height: 44px;
  border: 0;
  padding: .2rem .25rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.price-status {
  min-height: 1.4em;
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .9rem;
}
.price-status:empty { min-height: 0; margin: 0; }
[data-price-list] .price-layout {
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: clamp(1.3rem, 4vw, 3.25rem);
}
[data-price-list] .price-nav {
  max-height: calc(100vh - 135px);
  gap: 0;
  overflow: auto;
  scrollbar-width: thin;
  padding: .2rem .4rem;
}
[data-price-list] .price-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .26rem .15rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.price-family + .price-family { margin-top: clamp(1.25rem, 3vw, 2.45rem); }
.price-family > h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.5rem, 2.55vw, 2.25rem);
  line-height: 1.16;
}
[data-price-list] .price-group {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  scroll-margin-top: 114px;
}
.price-group + .price-group { border-top: 0; }
.price-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .45rem 1rem;
  align-items: center;
  min-height: 50px;
  padding: .56rem clamp(.8rem, 2vw, 1.4rem);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.price-group > summary::-webkit-details-marker { display: none; }
.price-group > summary::marker { content: ''; }
.price-group > summary:hover, .price-group[open] > summary { background: var(--sand, #e9ddce); }
.price-group > summary:focus-visible { outline-offset: -3px; }
.price-summary-title {
  font-size: clamp(.98rem, 1.35vw, 1.13rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.price-summary-amount { white-space: nowrap; font-size: .92rem; font-weight: 650; }
.price-summary-mark {
  grid-column: 3;
  position: relative;
  width: 18px;
  height: 18px;
}
.price-summary-mark::before, .price-summary-mark::after {
  position: absolute;
  left: 3px;
  top: 8px;
  display: block;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: '';
}
.price-summary-mark::after { transform: rotate(90deg); }
.price-group[open] .price-summary-mark::after { display: none; }
.price-panel { padding: .45rem clamp(.75rem, 2vw, 1.4rem) 1rem; }
.price-panel > .pricing-note { margin: .35rem 0 .9rem; }
.price-panel a {
  min-height: 44px;
  overflow-wrap: anywhere;
}
.price-panel a:not(.device-book-inline) {
  display: inline-flex;
  align-items: center;
}
.price-panel .device-book-inline {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 0;
}
.price-panel .supplement-note { margin: 0; }
.price-panel .price-category-link, .price-panel .price-context-link {
  text-decoration-thickness: 1px;
}
.price-panel .price-table th,
.price-panel .price-table td { overflow-wrap: anywhere; }
.price-panel .price-table :is(th, td):last-child { overflow-wrap: normal; }
.price-panel .price-table td:last-child .device-book-inline { justify-content: flex-end; margin-left: auto; }
.price-panel .price-table td { padding-block: .45rem; }
.price-panel .price-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 820px) {
  [data-price-list] .price-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  [data-price-list] .price-nav { display: none; }
  .page-hero.pricing-hero { padding-block: 1.35rem 1.85rem; }
  .pricing-hero::after {
    background: linear-gradient(90deg, rgba(243, 234, 225, .98), rgba(243, 234, 225, .83));
  }
  .price-panel .price-table { table-layout: fixed; }
  .price-panel .price-table th:nth-child(2):not(:last-child) { width: 22%; }
  .price-panel .price-table th:last-child { width: max(23%, 5.25rem); }
  .price-panel .price-table th:nth-child(2):last-child { width: 31%; }
  .price-panel .price-table td:last-child .device-book-inline {
    white-space: normal;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .price-panel .price-table,
  .price-panel .price-table tbody { display: block; }
  .price-panel .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .price-panel .price-table tr[data-price-row] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(5.2rem, 32%, 7.5rem);
    grid-template-areas: 'service price' 'service duration';
    grid-template-rows: max-content 1fr;
    align-items: start;
    column-gap: .6rem;
    border-bottom: 1px solid var(--line);
    padding-block: .62rem;
  }
  .price-panel .price-table tr[data-price-row]:last-child { border-bottom: 0; }
  .price-panel .price-table tr[data-price-row] td { padding: 0; border: 0; }
  .price-panel .price-table td:first-child { grid-area: service; min-width: 0; hyphens: auto; }
  .price-panel .price-table td:last-child { grid-area: price; }
  .price-panel .price-table td:nth-child(2):not(:last-child) {
    grid-area: duration;
    color: var(--muted);
    font-size: .79rem;
    line-height: 1.35;
    text-align: end;
  }
}
