/* The price list and legal pages share the site's desktop grid and typeface. */
.price-main,
.legal-main {
  color: var(--ink);
  background: var(--canvas);
  padding: 32px 0 48px;
}

.legal-main {
  padding-bottom: 64px;
}

.inner-crumbs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--muted);
}

.inner-crumbs a,
.legal-content a,
.privacy-cookie-choice {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-cookie-choice {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.inner-crumbs a {
  font-weight: 700;
}

.inner-title {
  margin: 10px 0 0;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 64px;
  color: var(--ink);
}

.legal-content {
  max-width: 930px;
  margin-top: 36px;
  display: grid;
  gap: 32px;
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2,
.price-category h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: normal;
  color: var(--ink);
}

.legal-section h2 {
  font-size: 27px;
  line-height: 36px;
}

.legal-section p {
  margin: 0;
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  overflow-wrap: break-word;
}

.price-main .inner-title {
  font-size: 58px;
  line-height: 68px;
}

.price-nav {
  position: sticky;
  z-index: 2;
  inset-block-start: var(--sticky-header-height, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-block: 8px;
  background: var(--canvas);
}

.price-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
}

.price-nav a:hover {
  border-color: var(--gold-dark);
}

.price-catalog {
  display: grid;
  gap: 34px;
  margin-top: 34px;
}

.price-category {
  scroll-margin-block-start: calc(var(--sticky-price-nav-height, 59px) + 16px);
}

#prices-top {
  scroll-margin-block-start: 16px;
}

.price-category h2 {
  margin: 0 26px 14px;
  font-size: 30px;
  line-height: 38px;
}

.price-table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--ink);
}

.price-time-col { width: 184px; }
.price-cost-col { width: 229px; }
.price-table th,
.price-table td {
  padding: 11px 12px;
  line-height: 24px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  padding-left: 25px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  overflow-wrap: break-word;
}

.price-table .price-time {
  color: var(--muted);
  text-align: right;
  font-size: 15px;
  font-weight: 500;
}

.price-table .price-cost {
  padding-right: 25px;
  color: var(--gold-dark);
  text-align: right;
  font-size: 16px;
  font-weight: 800;
}

.price-table tr:last-child > * {
  border-bottom: 0;
}

.price-back {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.price-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 19px 10px 21px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.inner-crumbs a:focus-visible,
.legal-content a:focus-visible,
.price-nav a:focus-visible,
.price-back a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.price-nav-row {
  display: contents;
}

@media (max-width: 767px) {
  .price-main,
  .legal-main {
    --gutter: 16px;
    padding-block: 24px 32px;
  }

  .legal-main {
    padding-bottom: 40px;
  }

  .inner-crumbs {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 7px;
    font-size: 12px;
    line-height: 18px;
  }

  .inner-crumbs a {
    flex: none;
  }

  .inner-crumbs [aria-current] {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .inner-title,
  .price-main .inner-title {
    font-size: 30px;
    line-height: 36px;
    overflow-wrap: anywhere;
  }

  .legal-main .inner-title {
    margin-top: 12px;
  }

  .price-main .inner-title {
    margin-top: 8px;
  }

  .legal-content {
    margin-top: 26px;
    gap: 26px;
  }

  .legal-section {
    min-width: 0;
    gap: 10px;
  }

  .legal-section h2 {
    font-size: 20px;
    line-height: 27px;
  }

  .legal-section p {
    font-size: 15px;
    line-height: 23px;
  }

  .legal-content a,
  .privacy-cookie-choice {
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .price-nav {
    top: var(--sticky-header-height, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
    align-content: start;
    gap: 6px;
    margin-top: 18px;
    padding-block: 6px;
  }

  .price-nav-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .price-nav a {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
  }

  .price-nav a[aria-current="location"] {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
  }

  .price-nav a:focus-visible {
    outline-offset: -3px;
  }

  .price-catalog {
    gap: 26px;
    margin-top: 18px;
  }

  /* The document's scroll-padding already reserves the sticky header. */
  .price-category {
    scroll-margin-block-start: calc(var(--sticky-price-nav-height, 144px) + 8px);
  }

  .price-category h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 28px;
  }

  .price-table-wrap {
    border-radius: 14px;
  }

  .price-table,
  .price-table tbody {
    display: block;
    width: 100%;
  }

  .price-table colgroup {
    display: none;
  }

  .price-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 8px;
    padding: 10px 11px;
  }

  .price-table tr + tr {
    border-top: 1px solid var(--line);
  }

  .price-table th,
  .price-table td,
  .price-table .price-cost {
    padding: 0;
    border: 0;
  }

  .price-table th {
    grid-column: 1 / -1;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
  }

  .price-table .price-time {
    font-size: 12px;
    line-height: 18px;
    text-align: start;
  }

  .price-table .price-cost {
    font-size: 14px;
    line-height: 20px;
  }

  .price-back {
    margin-top: 18px;
  }

  .price-back a {
    padding-inline: 16px 14px;
    font-size: 13px;
    line-height: 18px;
  }
}

@media (max-width: 360px) {
  .price-nav a {
    font-size: 12px;
    padding-inline: 6px;
  }
}

@media (max-width: 767px) and (max-height: 420px) {
  .price-nav {
    max-height: max(70px, calc(100dvh - var(--sticky-header-height, 64px) - 120px));
    overflow-y: auto;
  }
}
