/* PAMAS Mega Menu Builder Pro CSS */
.pamas-mm-pro-container,
.pamas-mm-pro-container * {
    box-sizing: border-box;
}

.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%;
    margin: 0 auto;
    border: 1px solid #eef2f5;
    line-height: 1.5;
}

.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-col {
    display: flex;
    flex-direction: column;
}

.pamas-mm-pro-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e293b;
    margin: 0 0 14px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pamas-mm-pro-col-title i {
    color: #0195fa;
}

.pamas-mm-pro-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pamas-mm-pro-list.pamas-mm-pro-list-2col {
    display: block !important;
    column-count: 2;
    column-gap: 14px;
}

.pamas-mm-pro-list.pamas-mm-pro-list-2col li {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 8px !important;
    display: block;
}

.pamas-mm-pro-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pamas-mm-pro-list li::before {
    display: none !important;
}

.pamas-mm-pro-list li a {
    font-size: 13px;
    color: #475569;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.pamas-mm-pro-list li a:hover {
    color: #0195fa;
    transform: translateX(3px);
}

.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 !important;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    width: auto;
    min-width: 150px;
}

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

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

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

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

.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;
}

.pamas-mm-pro-error {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
}

/* 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;
    }
}

