/* Call for Price - every rule is scoped to .cpf-* so themes are not affected. */
.cpf-price-text {
    font-size: 0.9em;
    font-weight: 600;
}

.cpf-modal .cpf-description {
    color: #555;
}

.cpf-modal .cpf-product {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.02);
}

.cpf-modal .cpf-product-name {
    font-weight: 600;
}

.cpf-modal .cpf-product-meta {
    font-size: 0.875em;
    color: #666;
}

.cpf-modal .cpf-options {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.125rem 0.5rem;
    margin: 0.5rem 0 0;
    font-size: 0.875em;
}

.cpf-modal .cpf-options dt {
    font-weight: 600;
}

.cpf-modal .cpf-options dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.cpf-modal .cpf-quantity {
    max-width: 12rem;
}

.cpf-modal .cpf-alert:empty {
    display: none;
}

.cpf-modal .cpf-alert-error {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #f1aeb5;
    border-radius: 0.375rem;
    background: #f8d7da;
    color: #58151c;
}

.cpf-modal .cpf-success-message {
    font-size: 1.05em;
}

.cpf-modal .cpf-reference {
    font-weight: 600;
}

.cpf-modal .cpf-required-note {
    margin: 0;
    font-size: 0.8em;
    color: #666;
}

.cpf-modal .cpf-captcha legend {
    font-size: 1em;
}

.cpf-loading {
    cursor: progress;
    opacity: 0.65;
}

@media (max-width: 575.98px) {
    .cpf-modal .cpf-quantity {
        max-width: none;
    }
}
