/* ═══════════════════════════════════════════════════════════
   SEARCH ASSIST — Panel de búsqueda sin resultados
   "¿Quisiste decir…?" + Banner de WhatsApp
   ═══════════════════════════════════════════════════════════ */

/* ── Página de resultados vacíos ── */
.mpl-search-assist {
    margin: 6px 0 30px;
}
.mpl-search-suggest {
    display: none;
    margin-bottom: 18px;
}
.mpl-search-suggest.is-visible {
    display: block;
}
.mpl-suggest-title {
    font-size: 14px;
    font-weight: 700;
    color: #0F1111;
    margin-bottom: 10px;
}
.mpl-suggest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mpl-suggest-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1.5px solid #d5d9d9;
    border-radius: 999px;
    background: #fff;
    color: #0F1111;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease;
}
.mpl-suggest-pill::before {
    content: "→";
    color: #e95d2a;
    font-weight: 800;
}
.mpl-suggest-pill:hover {
    border-color: #e95d2a;
    background: #fff6ef;
}

/* ── Banner WhatsApp (página) ── */
.mpl-search-wa {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid #e9e9e9;
    border-radius: 20px;
    background: linear-gradient(135deg, #f6fef9 0%, #eafaf0 60%, #e4f8ec 100%);
    box-shadow: 0 4px 16px rgba(37, 211, 102, .10);
}
.mpl-search-wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1ebe5b);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
    animation: mplWaGlow 2.6s ease-in-out infinite;
}
@keyframes mplWaGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, .30); }
    50%      { box-shadow: 0 6px 22px rgba(37, 211, 102, .55); }
}
.mpl-search-wa-body {
    flex: 1;
    min-width: 0;
}
.mpl-search-wa-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: #0F1111;
}
.mpl-search-wa-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #3d4a3d;
}
.mpl-search-wa-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.mpl-search-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #1ebe5b);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.mpl-search-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, .45);
    color: #fff;
}
.mpl-search-wa-call {
    font-size: 13.5px;
    font-weight: 600;
    color: #565959;
    text-decoration: underline;
}
.mpl-search-wa-call:hover {
    color: #0F1111;
}

/* ── Panel en el dropdown del header ── */
form.ajax-search-form {
    position: relative;
}
.mpl-search-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 999;
    padding: 14px 16px;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    text-align: left;
}
.mpl-search-panel.is-visible {
    display: block;
}
.mpl-search-panel .mpl-suggest-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #565959;
}
.mpl-search-panel .mpl-suggest-list {
    gap: 6px;
    margin-bottom: 12px;
}
.mpl-search-panel .mpl-suggest-pill {
    padding: 7px 13px;
    font-size: 12.5px;
    border-width: 1px;
}
.mpl-search-panel-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.mpl-search-panel-wa:hover {
    color: #fff;
    background: #1ebe5b;
}
.mpl-search-panel-note {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: #8a8a8a;
    text-align: center;
}

@media only screen and (max-width: 480px) {
    .mpl-search-wa {
        flex-direction: column;
        padding: 18px;
    }
    .mpl-search-wa-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .mpl-search-wa-btn,
    .mpl-search-wa-call {
        justify-content: center;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   PÁGINA DE BÚSQUEDA SIN RESULTADOS — compacta y centrada
   El banner de WhatsApp debe quedar visible sin tanto scroll.
   ═══════════════════════════════════════════════════════════ */
body.search-no-results .page-heading {
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
}
body.search-no-results .empty-category-block {
    padding: 1em 0 1.2em;
    text-align: center;
}
body.search-no-results .empty-category-block::before {
    font-size: 1.9rem;
    line-height: 1.2;
}
body.search-no-results .empty-category-block h2 {
    margin: 0 0 0.35em;
    font-size: 1.4rem;
    text-align: center;
}
body.search-no-results .empty-category-block p.not-found-info {
    margin: 0 auto 1em;
    max-width: 480px;
}
body.search-no-results .mpl-search-assist {
    margin-top: 2px;
}
@media only screen and (max-width: 480px) {
    body.search-no-results .empty-category-block {
        padding: 0.9em 0 1.1em;
    }
}
