.cm-hero {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cm-hero h1 {
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cm-hero p {
    font-size: 1rem;
    opacity: 0.95;
    color: #ffffff !important;
}

.cm-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.cm-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cm-card .list-unstyled li {
    color: #6c757d;
}

.cm-card .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.cm-detalles-formato {
    margin-top: 1rem;
    border: 1px solid rgba(30, 58, 138, 0.12);
    border-radius: 0.85rem;
    background: #f8fafc;
    overflow: hidden;
}

.cm-detalles-toggle {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 600;
}

.cm-detalles-toggle::-webkit-details-marker {
    display: none;
}

.cm-detalles-body {
    padding: 0 1rem 1rem;
}

.cm-detalles-lista {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cm-detalles-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px dashed rgba(45, 90, 39, 0.15);
    padding-top: 0.6rem;
    color: #495057;
}

.cm-detalles-item:first-child {
    border-top: none;
    padding-top: 0;
}

.cm-detalles-label {
    font-weight: 600;
    color: #2d5a27;
}

.cm-detalles-value {
    text-align: right;
}

.whatsapp-btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    width: 100%;
    transition: background-color 0.2s;
}

.whatsapp-btn:hover {
    background-color: #218838 !important;
}

@media (max-width: 575.98px) {
    .cm-detalles-item {
        flex-direction: column;
        gap: 0.2rem;
    }

    .cm-detalles-value {
        text-align: left;
    }
}
