.cma-price-list-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: #f3f0eb;
}

.cma-price-list-page .container {
    max-width: 1180px;
}

.cma-document-shell {
    overflow: hidden;
    border: 1px solid #d8d1c8;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgba(45, 36, 29, 0.08);
}

.cma-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: start;
    padding: 2rem 2.25rem 1.5rem;
    border-bottom: 1px solid #ddd6cd;
    background: #fff;
}

.cma-heading-block {
    max-width: 760px;
}

.cma-kicker {
    margin: 0 0 0.35rem;
    color: var(--colour-brand, #755845);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cma-page-header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.cma-page-intro {
    max-width: 720px;
    margin: 0.85rem 0 0;
    color: #5b534d;
    font-size: 1rem;
    line-height: 1.65;
}

.cma-header-actions {
    padding-top: 0.15rem;
}

.cma-header-actions .btn {
    white-space: nowrap;
}

.cma-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0;
    padding: 0.9rem 2.25rem;
    border-bottom: 1px solid #ddd6cd;
    background: #f8f6f3;
    font-size: 0.9rem;
}

.cma-document-meta div {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.cma-document-meta dt {
    font-weight: 700;
}

.cma-document-meta dd {
    margin: 0;
    color: #5b534d;
}

.cma-table-scroll {
    overflow-x: auto;
    background: #fff;
}

.cma-table-scroll:focus {
    outline: 3px solid rgba(117, 88, 69, 0.28);
    outline-offset: -3px;
}

.cma-price-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    color: #2f2a26;
    font-size: 0.96rem;
}

.cma-description-column {
    width: 79%;
}

.cma-price-column {
    width: 21%;
}

.cma-price-table th,
.cma-price-table td {
    padding: 0.9rem 1.1rem;
    border-right: 1px solid #ded8d0;
    border-bottom: 1px solid #ded8d0;
    vertical-align: top;
    text-align: left;
    line-height: 1.48;
}

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

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

.cma-price-table thead th {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: #3f332b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cma-price-table thead th:last-child {
    text-align: right;
}

.cma-section-heading th {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background: #765b48;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.cma-section-explanation td {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: #f4f0eb;
    color: #514942;
    font-size: 0.9rem;
    font-style: normal;
}

.cma-price-table tbody th[scope="row"] {
    font-weight: 600;
}

.cma-price {
    text-align: right !important;
    white-space: nowrap;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cma-total-row th,
.cma-total-row td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #e9dfd5;
    font-size: 1rem;
    font-weight: 700;
}

.cma-row-detail {
    display: block;
    margin-top: 0.45rem;
    color: #615951;
    font-size: 0.9rem;
    font-weight: 400;
}

.cma-footnote-row td {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    background: #faf8f5;
    color: #615951;
    font-size: 0.84rem;
}

.cma-price-table sup {
    font-size: 0.72em;
    line-height: 0;
}

.cma-help-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #d8d1c8;
    border-radius: 0.5rem;
    background: #fff;
}

.cma-help-panel .eyebrow {
    margin-bottom: 0.25rem;
}

.cma-help-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
}

.cma-help-panel p {
    margin: 0;
    color: #5b534d;
}

.cma-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .cma-page-header {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cma-header-actions {
        padding-top: 0;
    }

    .cma-help-panel {
        grid-template-columns: 1fr;
    }

    .cma-help-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .cma-price-list-page {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }

    .cma-document-shell {
        margin-right: -0.75rem;
        margin-left: -0.75rem;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .cma-page-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .cma-page-header h1 {
        font-size: 2rem;
    }

    .cma-page-intro {
        font-size: 0.96rem;
    }

    .cma-header-actions .btn {
        width: 100%;
    }

    .cma-document-meta {
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.8rem 1.25rem;
    }

    .cma-price-table th,
    .cma-price-table td {
        padding: 0.78rem 0.85rem;
    }

    .cma-help-panel {
        margin-top: 1rem;
        padding: 1.25rem;
    }

    .cma-help-actions {
        flex-direction: column;
    }

    .cma-help-actions .btn {
        width: 100%;
    }
}

@media print {
    .breadcrumb-wrap,
    .cma-header-actions,
    .cma-help-panel {
        display: none !important;
    }

    .cma-price-list-page {
        padding: 0;
        background: #fff;
    }

    .cma-document-shell {
        border: 0;
        box-shadow: none;
    }

    .cma-page-header {
        display: block;
        padding: 0 0 0.75rem;
    }

    .cma-document-meta {
        padding: 0.5rem 0;
        border-top: 1px solid #bbb;
    }

    .cma-table-scroll {
        overflow: visible;
    }

    .cma-price-table {
        min-width: 0;
        font-size: 9.5pt;
    }

    .cma-price-table th,
    .cma-price-table td {
        padding: 0.38rem 0.45rem;
    }

    .cma-section-heading th,
    .cma-price-table thead th {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
