:root {
    --rd-price-color: #a51e28;
    --rd-price-featured: clamp(1.375rem, 1.13rem + 1vw, 1.9rem);
}

:root[data-theme="dark"],
:root[data-rx-theme="dark"] {
    --rd-price-color: #ffaaa1;
}

#dc-service-content .dc-price-brief__amount,
body.redico-pc-active main #rc-catalog .rc-card .rc-card-price {
    color: var(--rd-price-color) !important;
    font-size: var(--rd-price-featured) !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.16;
}

@layer rdApprovedDesign {
    #rd-approved-main #home-cost-examples .home-example-price {
        color: var(--rd-price-color) !important;
        font-size: var(--rd-price-featured) !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums;
        line-height: 1.16;
    }
}

@layer redico-price-contrast {
    body.redico-pc-active main #rc-catalog .rc-card .rc-card-price {
        color: var(--rd-price-color) !important;
    }
}

#rc-catalog .rc-cards {
    --rd-price-featured: clamp(1.55rem, 1.24rem + 1.25vw, 2.35rem);
}

.rc-estimate {
    --rd-price-color: #ffaaa1;
}

mark.redico-price {
    display: inline !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--rd-price-color) !important;
    font-size: 1.14em !important;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.18 !important;
    white-space: nowrap;
}

mark.redico-price.redico-price-range {
    white-space: normal;
}

:is(.home-price-total, .rc-estimate-total, .rop-hero-stats, .rsg-hero-stats,
    .rsc-stats, .rop-price, .rxpd-fact, .rtd-points) mark.redico-price,
.rsc-price-summary strong mark.redico-price {
    font-size: max(1.14em, var(--rd-price-featured)) !important;
}

:is(td, dd) mark.redico-price {
    font-size: max(1.1em, 1rem) !important;
}

:is(button, a.button, a.btn, a[class$="-btn"], a[class$="-cta"]) mark.redico-price {
    color: inherit !important;
    font-size: 1.09em !important;
}

@layer redicoReadability {
    html[data-rx-bento] body.redico-page-sertifikat-tr-ts.rd-approved-design .rsc .rsc-price-summary.rsc-card p {
        color: var(--rb-ink, #191b1f) !important;
    }
}

.home-price-meta {
    flex-wrap: wrap;
    row-gap: .25rem;
}
