.plm-directorio-wrap { max-width: 1200px; margin: 40px auto; font-family: 'Inter', sans-serif; padding: 0 20px; }
.plm-directorio-titulo { font-size: 30px; font-weight: 800; text-align: center; color: #18181b; margin-bottom: 10px; letter-spacing: -0.02em; }
.plm-directorio-sub { text-align: center; color: #71717a; font-size: 16px; margin-bottom: 30px; }

.plm-search-container { max-width: 600px; margin: 0 auto 30px; position: relative; z-index: 9999; }
.plm-search-input { -webkit-appearance: none !important; appearance: none !important; width: 100% !important; height: 56px !important; min-height: 56px !important; padding: 0 25px 0 55px !important; font-size: 16px !important; border: 2px solid #e4e4e7 !important; border-radius: 14px !important; font-family: 'Inter', sans-serif !important; box-sizing: border-box !important; transition: all 0.2s ease !important; background: #fff !important; color: #18181b !important; outline: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; margin: 0 !important; display: block !important; }
.plm-search-input:focus { border-color: #10b981 !important; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15) !important; }
.plm-search-icon { display: block !important; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #a1a1aa; pointer-events: none; z-index: 3; }

.plm-suggestions-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid #e4e4e7; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); list-style: none; padding: 8px 0; margin: 0; display: none; max-height: 250px; overflow-y: auto; z-index: 1000; text-align: left; }
.plm-suggestion-item { padding: 12px 25px; font-size: 15px; color: #3f3f46; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #f4f4f5; }
.plm-suggestion-item:last-child { border-bottom: none; }
.plm-suggestion-item:hover { background: #f0fdf4; color: #059669; font-weight: 600; }

.plm-grid-locales { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; position: relative; z-index: 1; }
.plm-card-local { background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; overflow: hidden; text-align: center; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.plm-card-local:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.plm-card-cover { height: 80px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.plm-card-logo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; margin: -40px auto 10px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.plm-card-info { padding: 0 20px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.plm-card-nombre { font-size: 20px; font-weight: 800; color: #18181b; margin: 0 0 8px; }
.plm-card-desc { font-size: 14px; color: #71717a; line-height: 1.5; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plm-card-btn { margin-top: auto; display: block; background: #18181b; color: #fff; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: 0.2s; }
.plm-card-local:hover .plm-card-btn { background: #10b981; }

.plm-no-results { display: none; grid-column: 1 / -1; text-align: center; padding: 40px; background: #f4f4f5; border-radius: 16px; color: #71717a; font-weight: 600; }

@media (max-width: 768px) {
    .plm-directorio-wrap { margin: 20px auto; padding: 0 15px; }
    .plm-directorio-titulo { font-size: 22px; }
    .plm-grid-locales { grid-template-columns: 1fr; gap: 14px; }
    .plm-search-container { padding: 0 !important; }
    .plm-search-icon { left: 16px !important; width: 18px !important; }
    .plm-search-input { padding-left: 44px !important; }
}

/* === Piden Home Directorio Independiente === */
.plm-marcha-blanca {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
}
.plm-marcha-blanca strong {
    font-weight: 900;
}
.plm-marcha-blanca span {
    color: #9a3412;
    opacity: .9;
}

.plm-home-map-cta {
    max-width: 920px;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 42px rgba(15,23,42,.06);
}
.plm-home-map-cta-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.plm-home-map-cta-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #047857;
    border: 1px solid #bbf7d0;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}
.plm-home-map-cta strong {
    color: #18181b;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.025em;
    font-weight: 900;
}
.plm-home-map-cta p {
    margin: 0;
    color: #71717a;
    font-size: 14px;
    line-height: 1.5;
}
.plm-home-map-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 16px;
    border-radius: 999px;
    background: #18181b;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease;
}
.plm-home-map-cta a:hover {
    background: #10b981;
    transform: translateY(-1px);
}

.plm-home-business-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 920px;
    margin: 16px auto 0;
    padding: 18px 20px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e4e4e7;
}
.plm-home-business-cta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.plm-home-business-cta strong {
    color: #18181b;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
}
.plm-home-business-cta span {
    color: #71717a;
    font-size: 14px;
    line-height: 1.45;
}
.plm-home-business-cta a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #18181b;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}
.plm-home-business-cta a:hover {
    background: #10b981;
}

@media (max-width: 768px) {
    .plm-marcha-blanca {
        border-radius: 18px;
        padding: 12px 14px;
        margin-bottom: 18px;
    }
    .plm-home-map-cta {
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: 18px;
        padding: 18px;
        margin-top: 24px;
    }
    .plm-home-map-cta-kicker {
        align-self: center;
    }
    .plm-home-map-cta strong {
        font-size: 20px;
    }
    .plm-home-map-cta a {
        width: 100%;
    }

    .plm-home-business-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-top: 14px;
        padding: 18px;
        border-radius: 18px;
    }
    .plm-home-business-cta a {
        width: 100%;
    }

}
