/* PAMAS Mega Menu Builder Pro CSS */
.pamas-mm-pro-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 24px 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", sans-serif;
    color: #333333;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    border: 1px solid #eef2f5;
}

.pamas-mm-pro-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Columna Derecha Promo Banner Card (Ancho ampliado y disposición horizontal) */
.pamas-mm-pro-columns {
    flex: 1 1 55%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pamas-mm-pro-banner-col {
    flex: 0 0 42%;
    max-width: 480px;
}

.pamas-mm-pro-card {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.pamas-mm-pro-card-body {
    position: relative;
    z-index: 2;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pamas-mm-pro-card-body::before {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background-color: #0195fa;
    border-radius: 2px;
    margin-bottom: 12px;
}

.pamas-mm-pro-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.pamas-mm-pro-card-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.45;
}

.pamas-mm-pro-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.pamas-mm-pro-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    width: auto;
    min-width: 150px;
}

.pamas-mm-pro-btn-primary {
    background: #0195fa;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(1, 149, 250, 0.25);
}

.pamas-mm-pro-btn-primary:hover {
    background: #007bd4;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(1, 149, 250, 0.35);
}

.pamas-mm-pro-btn-outline {
    background: #ffffff;
    color: #0195fa;
    border: 1px solid #0195fa;
}

.pamas-mm-pro-btn-outline:hover {
    background: #e6f4ff;
    color: #007bd4;
}

.pamas-mm-pro-card-media {
    flex: 1 1 50%;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pamas-mm-pro-card-media img {
    max-width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsivo */
@media (max-width: 991px) {
    .pamas-mm-pro-content {
        flex-direction: column;
    }
    .pamas-mm-pro-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .pamas-mm-pro-banner-col {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .pamas-mm-pro-columns {
        grid-template-columns: 1fr;
    }
}
