/*
 * prices.css
 * Page-owned composition for the published price catalog.
 * Shared table, details, breadcrumb, card and token contracts stay in their
 * respective component layers.
 */

.prices-page {
    isolation: isolate;
}

.prices-page__hero-grid {
    align-items: start;
}

.prices-page__hero-copy {
    min-width: 0;
}

.prices-document__eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prices-page__summary {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.prices-page__summary-kicker,
.prices-page__summary-value,
.prices-page__summary-meta,
.prices-page__summary-release {
    margin: 0;
}

.prices-page__summary-kicker {
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.prices-page__summary-value {
    color: var(--color-text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.prices-page__summary-meta {
    color: var(--color-text-body);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.prices-page__summary-release {
    margin-top: 0.45rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.prices-page__audience-section {
    position: relative;
    z-index: 2;
    padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.prices-page__section-heading {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.prices-page__section-title,
.prices-page__result-title,
.prices-page__controls-title,
.prices-document__title,
.prices-state__title {
    margin: 0;
    color: var(--color-text-primary);
    font-weight: 800;
    line-height: 1.18;
}

.prices-page__section-lead,
.prices-page__result-lead {
    margin: 0.55rem 0 0;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.prices-audiences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.prices-audiences__link {
    display: grid;
    align-content: start;
    gap: 0.5rem;
    min-width: 0;
    min-height: 8.5rem;
    padding: 1.2rem;
    box-sizing: border-box;
    color: var(--color-text-body);
    background: var(--color-bg-card-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgb(55 91 121 / 8%);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.prices-audiences__link:hover {
    transform: translateY(-2px);
    border-color: rgb(22 150 173 / 34%);
    box-shadow: var(--shadow-card);
}

.prices-audiences__link--active {
    color: var(--color-text-primary);
    background:
        linear-gradient(145deg, rgb(223 246 251 / 78%), rgb(255 255 255 / 90%));
    border-color: rgb(22 150 173 / 45%);
    box-shadow: 0 16px 38px rgb(22 150 173 / 13%);
}

.prices-audiences__label {
    color: var(--color-text-primary);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.prices-audiences__criterion {
    display: grid;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgb(126 171 198 / 20%);
}

.prices-audiences__criterion-label {
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.prices-audiences__criterion-value {
    color: var(--color-text-muted);
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.5;
}

.prices-page__catalog-section {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 5rem);
    border-top: 1px solid rgb(126 171 198 / 18%);
    background: transparent;
}

.prices-page__catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.prices-page__sidebar,
.prices-page__results,
.prices-page__controls,
.prices-document {
    min-width: 0;
}

.prices-page__sidebar {
    display: grid;
    gap: 1rem;
}

.prices-page__controls,
.prices-document {
    padding: 1.2rem;
}

.prices-page__controls-title,
.prices-document__title {
    font-size: 1.12rem;
}

.prices-page__controls-note {
    margin: 0.65rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.prices-sections {
    display: grid;
    gap: 1.05rem;
    margin-top: 1.15rem;
}

.prices-sections__group {
    min-width: 0;
}

.prices-sections__group-title {
    margin: 0 0 0.45rem;
    color: var(--color-accent);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prices-sections__group-items {
    display: grid;
    gap: 0.3rem;
}

.prices-sections__link {
    display: grid;
    align-content: center;
    gap: 0.3rem;
    min-height: 2.6rem;
    padding: 0.68rem 0.8rem;
    box-sizing: border-box;
    color: var(--color-text-body);
    border: 1px solid transparent;
    border-radius: 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.prices-sections__label {
    overflow-wrap: anywhere;
}

.prices-sections__description {
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.45;
}

.prices-sections__link:hover {
    color: var(--color-text-primary);
    background: var(--color-accent-wash);
}

.prices-sections__link--active {
    color: var(--color-text-primary);
    background: var(--color-accent-light);
    border-color: rgb(22 150 173 / 28%);
}

.prices-search {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--color-border);
}

.prices-search__label {
    color: var(--color-text-primary);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.4;
}

.prices-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
}

.prices-search__input,
.prices-search__button {
    min-height: 2.8rem;
    box-sizing: border-box;
    border-radius: 0.85rem;
    font: inherit;
}

.prices-search__input {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.8rem;
    color: var(--color-text-primary);
    background: var(--color-bg-card-strong);
    border: 1px solid var(--color-border-strong);
}

.prices-search__input::placeholder {
    color: var(--color-text-subtle);
}

.prices-search__button {
    padding: 0.65rem 1rem;
    cursor: pointer;
    color: var(--color-text-inverse);
    background: var(--color-accent-strong);
    border: 1px solid var(--color-accent-strong);
    font-weight: 800;
}

.prices-search__button:hover {
    background: var(--color-accent-strong-hover);
}

.prices-search__clear {
    justify-self: start;
    color: var(--color-accent-strong);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.prices-document__text {
    margin: 0.65rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.prices-document__link {
    display: grid;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.85rem 0.9rem;
    color: var(--color-accent-strong);
    background: var(--color-accent-wash);
    border: 1px solid rgb(31 111 178 / 20%);
    border-radius: 0.9rem;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.4;
}

.prices-document__link:hover {
    color: var(--color-accent-strong-hover);
    border-color: rgb(31 111 178 / 36%);
}

.prices-document__link small {
    color: var(--color-text-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.prices-page__result-heading {
    margin-bottom: 1.2rem;
}

.prices-page__result-title {
    overflow-wrap: anywhere;
    scroll-margin-top: 1rem;
}

.prices-page__result-title:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 0.35rem;
    border-radius: 0.25rem;
}

.prices-page__results {
    transition: opacity 180ms ease;
}

.prices-page[data-prices-loading] {
    cursor: progress;
}

.prices-page[data-prices-loading] .prices-page__results {
    opacity: 0.48;
}

.prices-page__result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin-top: 0.8rem;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.prices-groups {
    display: grid;
    gap: 1rem;
}

.prices-group {
    scroll-margin-top: 1rem;
}

.prices-category {
    overflow: clip;
}

.prices-category__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.6rem;
    padding: 1rem 1.2rem;
    box-sizing: border-box;
    cursor: pointer;
    color: var(--color-text-primary);
    list-style: none;
    user-select: none;
}

.prices-category__summary::-webkit-details-marker {
    display: none;
}

.prices-category__summary:hover {
    background: rgb(223 246 251 / 38%);
}

.prices-category__summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -0.3rem;
    border-radius: var(--radius-lg);
}

.prices-category__heading {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.prices-category__title {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.prices-category__count {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.prices-category__chevron {
    color: var(--color-accent);
}

.prices-category[open] .prices-category__chevron {
    transform: rotate(90deg);
    background: rgba(25, 157, 206, 0.18);
}

.prices-category[data-details-accordion-state="closing"] .prices-category__chevron {
    transform: rotate(0deg);
    background: rgba(25, 157, 206, 0.12);
    transition-duration: 160ms, 160ms, 160ms;
}

.prices-category__content {
    min-width: 0;
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--color-border);
}

.prices-groups,
.prices-group,
.prices-category,
.prices-category .data-table-card__wrap {
    min-width: 0;
    max-width: 100%;
}

.prices-category[data-details-accordion-ready] > .prices-category__content {
    display: block;
    height: auto;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
        opacity var(--details-accordion-duration, 220ms) ease,
        transform var(--details-accordion-duration, 220ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.prices-category[data-details-accordion-ready][open] > .prices-category__content {
    opacity: 1;
    transform: none;
}

.prices-category[data-details-accordion-state="closing"] > .prices-category__content {
    transition-duration: 160ms, 160ms;
    transition-timing-function: ease-out, cubic-bezier(0.22, 1, 0.36, 1);
}

.prices-table {
    --data-table-card-min-width: 0;
    margin-top: 0.2rem;
    table-layout: fixed;
}

.prices-table .data-table-card__cell {
    opacity: 1;
    transform: none;
    animation: none;
}

.prices-table .data-table-card__head-cell {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.prices-table .data-table-card__head-label {
    width: 100%;
    text-align: center;
}

.prices-table__head--number,
.prices-table__cell--number {
    width: 3.75rem;
}

.prices-table__head--code,
.prices-table__cell--code {
    width: 5.5rem;
}

.prices-table__head--unit,
.prices-table__cell--unit {
    width: 9rem;
}

.prices-table__head--amount,
.prices-table__cell--amount {
    width: 8rem;
}

.prices-table__head--name {
    min-width: 18rem;
}

.prices-table__head--with-action,
.prices-table__cell--with-action {
    width: 15.5rem;
}

.prices-table__cell-wrap {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
}

.prices-table__value {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.prices-table__cell--unit .prices-table__value {
    hyphens: auto;
}

.prices-table__cell--number .prices-table__cell-wrap,
.prices-table__cell--code .prices-table__cell-wrap,
.prices-table__cell--amount .prices-table__cell-wrap {
    align-items: center;
    text-align: center;
}

.prices-table__cell--with-action .prices-table__cell-wrap {
    align-items: stretch;
    gap: 0.7rem;
    padding-inline: 0.7rem;
    text-align: left;
}

.prices-table__cell--with-action .prices-table__value {
    align-self: center;
    text-align: center;
}

.prices-table__cell--amount .prices-table__value {
    color: var(--color-table-text-strong);
    font-weight: 700;
    white-space: nowrap;
}

.prices-table__cell--name .prices-table__value {
    color: var(--color-table-text-heading);
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.prices-table__details {
    display: grid;
    gap: 0.25rem;
    margin: 0.25rem 0 0;
    padding-left: 1.15rem;
    color: var(--color-text-muted);
    font-size: 0.84rem;
    line-height: 1.48;
}

.prices-table__details li {
    list-style: disc;
}

.prices-table__note {
    line-height: 1.5;
}

.prices-service-cta {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    align-self: center;
    gap: 0.55rem;
    width: min(100%, 15rem);
    min-height: 2.85rem;
    margin: 0;
    padding: 0.45rem 0.6rem;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent-strong), var(--color-accent));
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 0.8rem;
    box-shadow: 0 8px 18px rgb(31 111 178 / 14%);
    text-decoration: none;
    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.prices-service-cta:visited {
    color: #fff;
}

.prices-service-cta:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent-strong-hover), var(--color-accent-hover));
    box-shadow: 0 10px 22px rgb(31 111 178 / 20%);
    transform: translateY(-1px);
}

.prices-service-cta:active {
    transform: translateY(0);
}

.prices-service-cta:focus-visible {
    outline-offset: 3px;
}

.prices-service-cta__icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    background: rgb(255 255 255 / 14%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 0.65rem;
}

.prices-service-cta__icon svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.prices-service-cta__copy {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
    text-align: left;
}

.prices-service-cta__label {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
}

.prices-service-cta__meta {
    color: rgb(255 255 255 / 82%);
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1.35;
}

.prices-table__row--summary .prices-table__value {
    color: var(--color-text-primary);
    font-weight: 800;
}

.prices-table .prices-table__row--surcharge td {
    background: rgb(255 248 239 / 72%);
}

.prices-table .details-accordion {
    width: 100%;
    margin-top: 0.55rem;
}

.prices-table .details-accordion__summary {
    font-size: 0.85rem;
}

.prices-table .details-accordion__list {
    padding-left: 1.1rem;
    font-size: 0.82rem;
}

.prices-table .details-accordion__list li {
    list-style: disc;
}

.prices-state {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.prices-state__title {
    font-size: 1.25rem;
}

.prices-state__text {
    max-width: 720px;
    margin: 0.65rem 0 0;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.prices-state__link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--color-accent-strong);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

html.a11y body[data-page="prices"] :is(
    .prices-audiences__link,
    .prices-page__controls,
    .prices-document,
    .prices-category,
    .prices-state
) {
    color: var(--color-text-body) !important;
    background: var(--color-bg-card) !important;
    border-color: var(--color-border) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

html.a11y body[data-page="prices"] :is(
    .prices-audiences__link--active,
    .prices-sections__link--active
) {
    color: var(--color-bg-primary) !important;
    background: var(--color-text-primary) !important;
}

html.a11y body[data-page="prices"] .prices-audiences__link--active :is(
    .prices-audiences__label,
    .prices-audiences__criterion-label,
    .prices-audiences__criterion-value
),
html.a11y body[data-page="prices"] .prices-sections__link--active .prices-sections__description {
    color: var(--color-bg-primary) !important;
}

html.a11y body[data-page="prices"] .prices-audiences__link--active .prices-audiences__criterion {
    border-color: var(--color-bg-primary) !important;
}

html.a11y body[data-page="prices"] .prices-page__sidebar {
    position: static;
}

html.a11y body[data-page="prices"] .prices-page[data-prices-loading] .prices-page__results {
    opacity: 1;
}

html.a11y body[data-page="prices"] .prices-category__content {
    transition: none;
    will-change: auto;
}

html.a11y body[data-page="prices"] .prices-service-cta,
html.a11y body[data-page="prices"] .prices-service-cta:visited,
html.a11y body[data-page="prices"] .prices-service-cta:hover {
    color: var(--color-bg-primary) !important;
    background: var(--color-text-primary) !important;
    border: 2px solid var(--color-bg-primary) !important;
    box-shadow: none !important;
    transform: none;
}

html.a11y body[data-page="prices"] .prices-service-cta__icon {
    background: transparent !important;
    border-color: currentColor !important;
}

html.a11y body[data-page="prices"] .prices-service-cta__meta {
    color: inherit !important;
}

@media (min-width: 768px) and (max-width: 1439px) {
    .prices-table__head--number,
    .prices-table__cell--number {
        width: 3.25rem;
    }

    .prices-table__head--code,
    .prices-table__cell--code {
        width: 4.75rem;
    }

    .prices-table__head--unit,
    .prices-table__cell--unit {
        width: 8rem;
    }

    .prices-table__head--amount,
    .prices-table__cell--amount {
        width: 7rem;
    }

    .prices-table__head--name {
        width: auto;
        min-width: 0;
    }

    .prices-table__head--with-action,
    .prices-table__cell--with-action {
        width: 14rem;
    }

    .prices-table .data-table-card__head-cell,
    .prices-table .data-table-card__cell-wrap {
        padding-inline: 0.7rem;
    }

    .prices-service-cta {
        padding-inline: 0.6rem;
    }

    .prices-service-cta__icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (min-width: 1280px) {
    .prices-page__catalog-layout {
        grid-template-columns: minmax(15.5rem, 0.24fr) minmax(0, 1fr);
        gap: 1.5rem;
    }

    .prices-page__sidebar {
        position: sticky;
        top: 1rem;
    }

    .prices-page__catalog-layout--wide-table {
        grid-template-columns: minmax(0, 1fr);
    }

    .prices-page__catalog-layout--wide-table .prices-page__sidebar {
        position: static;
    }
}

@media (max-width: 1279px) {
    .prices-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .prices-search__row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 1023px) {
    .prices-audiences {
        grid-template-columns: minmax(0, 1fr);
    }

    .prices-audiences__link {
        min-height: 0;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .prices-table__head--number,
    .prices-table__cell--number {
        width: 2.75rem;
    }

    .prices-table__head--code,
    .prices-table__cell--code {
        width: 4rem;
    }

    .prices-table__head--unit,
    .prices-table__cell--unit {
        width: 6.5rem;
    }

    .prices-table__head--amount,
    .prices-table__cell--amount {
        width: 6.25rem;
    }

    .prices-table__head--with-action,
    .prices-table__cell--with-action {
        width: 12.75rem;
    }

    .prices-table .data-table-card__head-cell,
    .prices-table .data-table-card__cell-wrap {
        padding-inline: 0.55rem;
    }

    .prices-service-cta__label {
        font-size: 0.74rem;
    }

    .prices-service-cta__meta {
        font-size: 0.62rem;
    }
}

@media (min-width: 768px) and (max-width: 1099.98px) {
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) {
        min-width: 0;
        border-spacing: 0;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) thead {
        display: none;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7),
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) tbody,
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) tr,
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) td {
        display: block;
        width: 100%;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) tbody {
        display: grid;
        gap: 0.9rem;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) tr {
        background: var(--color-surface-table-mobile);
        border: 1px solid var(--color-border-table-row);
        border-radius: 1.15rem;
        box-shadow: var(--shadow-table-mobile-row);
        overflow: hidden;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) td {
        position: relative;
        min-height: 3rem;
        padding: 2.25rem 1rem 1rem;
        background: transparent;
        border-top: 1px solid var(--color-border-table-mobile-divider);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) td::before {
        position: absolute;
        top: 0.85rem;
        left: 1rem;
        width: auto;
        color: var(--color-accent);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) tr td:first-child {
        border-top: 0;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-table__cell-wrap {
        min-height: 0;
        padding: 0;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-table__cell--number .prices-table__cell-wrap,
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-table__cell--code .prices-table__cell-wrap,
    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-table__cell--amount .prices-table__cell-wrap {
        align-items: flex-start;
        text-align: left;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-table__cell--with-action .prices-table__cell-wrap {
        align-items: stretch;
        gap: 0.8rem;
        padding: 0;
    }

    .prices-table:is(.prices-table--columns-6, .prices-table--columns-7) .prices-service-cta {
        width: min(100%, 22rem);
        max-width: 100%;
        min-height: 3rem;
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .prices-category__content {
        padding: 0.8rem;
    }

    .prices-table {
        --data-table-card-min-width: 0;
    }

    .prices-table__cell--number .prices-table__cell-wrap,
    .prices-table__cell--code .prices-table__cell-wrap,
    .prices-table__cell--amount .prices-table__cell-wrap {
        align-items: flex-start;
        text-align: left;
    }

    .prices-table__head--number,
    .prices-table__cell--number,
    .prices-table__head--code,
    .prices-table__cell--code,
    .prices-table__head--unit,
    .prices-table__cell--unit,
    .prices-table__head--amount,
    .prices-table__cell--amount,
    .prices-table__head--with-action,
    .prices-table__cell--with-action {
        width: auto;
    }

    .prices-table__cell--with-action .prices-table__cell-wrap {
        align-items: stretch;
        gap: 0.8rem;
        padding: 0;
    }

    .prices-service-cta {
        width: 100%;
        max-width: none;
        min-height: 3rem;
    }
}

@media (max-width: 639px) {
    .prices-page__summary,
    .prices-page__controls,
    .prices-document {
        padding: 1.1rem;
    }

    .prices-sections,
    .prices-search__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .prices-category__summary {
        min-height: 4.25rem;
        padding: 0.9rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prices-audiences__link,
    .prices-sections__link,
    .prices-service-cta,
    .prices-category__chevron,
    .prices-category__content,
    .prices-page__results {
        transition: none;
    }

    .prices-audiences__link:hover {
        transform: none;
    }

    .prices-service-cta:hover {
        transform: none;
    }
}
