.pedra-public .pd-price {
    --price-bg: #f5faf9;
    --price-surface: #fff;
    --price-text: #193d42;
    --price-muted: #5c7479;
    --price-border: #dbe8e8;
    --price-soft: #eaf7f2;
    --price-accent: #147c77;
    --price-highlight: #fff6e5;
    background: var(--price-bg);
    color: var(--price-text);
    padding: 38px 0 90px;
    min-height: 70vh;
}

.pedra-public .pd-price *,
.pedra-public .pd-price *::before,
.pedra-public .pd-price *::after { box-sizing: border-box; }

.pedra-public .pd-price-shell {
    width: min(calc(100% - 40px), 1320px);
    max-width: 1320px;
    margin-inline: auto;
    min-width: 0;
}

.pd-price-breadcrumb {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    color: var(--price-muted);
    font-size: .88rem;
}
.pd-price-breadcrumb a { color: var(--price-accent); }

.pd-price-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.pd-price-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--price-accent);
    font-weight: 700;
    font-size: .9rem;
}
.pd-price-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.55;
    font-weight: 800;
    margin: 8px 0;
    color: var(--price-text);
}
.pd-price-hero p {
    max-width: 710px;
    margin: 0;
    line-height: 1.95;
    color: var(--price-muted);
}
.pd-price-hero-mark {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--price-soft);
    color: var(--price-accent);
    font-size: 2rem;
}

.pedra-public article.pd-price-panel {
    border: 1px solid var(--price-border);
    background: var(--price-surface);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(24, 79, 75, .045);
    padding: 28px;
    min-width: 0;
}
.pd-price-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--price-border);
    border-radius: 16px;
    background: var(--price-soft);
    margin-bottom: 28px;
    overflow-wrap: anywhere;
}
.pd-price-notice-icon { color: var(--price-accent); font-size: 1.3rem; }
.pd-price-notice h2 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--price-text);
    margin: 0 0 8px;
}
.pd-price-notice-body { line-height: 1.95; color: var(--price-text); }
.pd-price-notice-body > :last-child { margin-bottom: 0; }
.pd-price-notice a { color: var(--price-accent); }

.pd-price-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 18px;
}
.pd-price-toolbar h2 {
    margin: 0 0 6px;
    color: var(--price-text);
    font-size: 1.35rem;
    font-weight: 800;
}
.pd-price-count { margin: 0; color: var(--price-muted); }
.pd-price-search { position: relative; width: min(100%, 340px); flex: none; }
.pd-price-search i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--price-muted);
    pointer-events: none;
}
.pd-price-search input {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    padding: 10px 44px 10px 14px;
    border: 1px solid var(--price-border);
    outline: none;
    background: var(--price-surface);
    color: var(--price-text);
}
.pd-price-search input::placeholder { color: var(--price-muted); opacity: 1; }
.pd-price-search input:focus {
    border-color: var(--price-accent);
    box-shadow: 0 0 0 3px rgba(20, 124, 119, .13);
}

.pd-price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--price-border);
    border-radius: 16px;
}
.pd-price-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    color: var(--price-text);
    font-size: .94rem;
    text-align: right;
}
.pd-price-table thead { background: var(--price-soft); }
.pd-price-table th,
.pd-price-table td {
    padding: 16px 13px;
    border-bottom: 1px solid var(--price-border);
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.pd-price-table thead th { font-weight: 800; white-space: normal; }
.pd-price-table tbody tr:last-child > * { border-bottom: 0; }
.pd-price-table tbody tr:hover { background: var(--price-soft); }
.pd-price-table tbody th { font-weight: 700; }
.pd-price-table .pd-price-code { direction: ltr; text-align: right; white-space: nowrap; }
.pd-price-table .pd-price-number {
    font-variant-numeric: tabular-nums;
    direction: ltr;
    text-align: right;
    white-space: nowrap;
}
.pd-price-table thead th:nth-child(4),
.pd-price-table tbody td:nth-child(4) { background: var(--price-highlight); }
.pd-price-table [hidden] { display: none !important; }
.pd-price-empty {
    text-align: center;
    color: var(--price-muted);
    padding: 48px 18px;
    line-height: 1.8;
}
.pd-price-empty i { display: block; font-size: 2rem; margin-bottom: 12px; }
.pd-price-empty[hidden] { display: none !important; }

/* The theme can switch on either the root element or the public wrapper. */
html[data-bs-theme="dark"] .pd-price,
[data-bs-theme="dark"] .pd-price,
.pedra-public.dark .pd-price,
.pedra-public[data-pd-theme="dark"] .pd-price,
.pedra-public[data-bs-theme="dark"] .pd-price,
.pedra-public[data-theme="dark"] .pd-price,
.dark .pd-price,
.pd-theme-dark .pd-price {
    --price-bg: #142c30;
    --price-surface: #1c373b;
    --price-text: #e8f3f1;
    --price-muted: #afc5c3;
    --price-border: #3a565a;
    --price-soft: #294a4b;
    --price-accent: #9ce4d5;
    --price-highlight: #3b382e;
}

@media (max-width: 980px) {
    .pd-price-table { min-width: 780px; }
}
@media (max-width: 760px) {
    .pedra-public .pd-price { padding: 26px 0 60px; }
    .pedra-public .pd-price-shell { width: calc(100% - 28px); }
    .pd-price-hero-mark { display: none; }
    .pedra-public article.pd-price-panel { padding: 18px; border-radius: 18px; }
    .pd-price-toolbar { flex-direction: column; align-items: stretch; }
    .pd-price-search { width: 100%; }
    .pd-price-table-wrap { border: 0; overflow: visible; }
    .pd-price-table { display: block; min-width: 0; }
    .pd-price-table thead { display: none; }
    .pd-price-table tbody { display: grid; gap: 14px; }
    .pd-price-table tr {
        display: block;
        border: 1px solid var(--price-border);
        border-radius: 14px;
        padding: 6px 15px;
        background: var(--price-surface);
    }
    .pd-price-table tr[hidden] { display: none; }
    .pd-price-table th,
    .pd-price-table td {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 11px 0;
        text-align: left;
        white-space: normal;
    }
    .pd-price-table th::before,
    .pd-price-table td::before {
        content: attr(data-label);
        color: var(--price-muted);
        font-size: .82rem;
        font-weight: 400;
        text-align: right;
        flex: 0 0 40%;
    }
    .pd-price-table tbody td:nth-child(4) {
        background: none;
        color: var(--price-accent);
        font-weight: 800;
    }
    .pd-price-table .pd-price-code,
    .pd-price-table .pd-price-number { text-align: left; }
}
@media (max-width: 390px) {
    .pd-price-table th,
    .pd-price-table td { flex-wrap: wrap; }
    .pd-price-table th::before,
    .pd-price-table td::before { flex-basis: 100%; }
}