/**
 * ADONDE GUIA - Embeddable Live Search Styles
 * Version: v2.4.0
 * Scope: .adls-widget only.
 */
.adls-widget {
    --adls-primary: #0f766e;
    --adls-primary-dark: #115e59;
    --adls-text: #12211f;
    --adls-muted: #667085;
    --adls-border: rgba(15, 118, 110, 0.16);
    --adls-bg: #ffffff;
    --adls-soft: #f6faf9;
    --adls-shadow: 0 16px 42px rgba(15, 33, 31, 0.12);
    color: var(--adls-text);
    font-family: inherit;
}

.adls-widget * {
    box-sizing: border-box;
}

.adls-card {
    width: 100%;
    background: var(--adls-bg);
    border: 1px solid var(--adls-border);
    border-radius: 20px;
    box-shadow: var(--adls-shadow);
    padding: 14px;
}

.adls-input-wrap {
    position: relative;
}

.adls-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--adls-primary);
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.adls-input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 46px;
    border: 1px solid var(--adls-border);
    border-radius: 15px;
    outline: none;
    color: var(--adls-text);
    font-size: 16px;
    background: var(--adls-soft);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.adls-input:focus {
    border-color: var(--adls-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.adls-status {
    min-height: 20px;
    margin-top: 10px;
    color: var(--adls-muted);
    font-size: 13px;
}

.adls-results {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.adls-result {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(18, 33, 31, 0.08);
    border-radius: 16px;
    color: var(--adls-text);
    text-decoration: none;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.adls-result:hover {
    transform: translateY(-2px);
    border-color: var(--adls-border);
    color: var(--adls-text);
    box-shadow: 0 10px 24px rgba(15, 33, 31, 0.08);
    text-decoration: none;
}

.adls-thumb {
    width: 64px;
    height: 54px;
    display: block;
    border-radius: 12px;
    background-color: #e8f1ef;
    background-position: center;
    background-size: cover;
}

.adls-body {
    min-width: 0;
    display: block;
}

.adls-body strong,
.adls-body small,
.adls-body em {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.adls-body strong {
    margin-bottom: 3px;
    color: var(--adls-text);
    font-size: 15px;
    font-weight: 800;
}

.adls-body small {
    color: var(--adls-primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.adls-body em {
    margin-top: 2px;
    color: var(--adls-muted);
    font-size: 12px;
    font-style: normal;
}

.adls-cta {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: var(--adls-primary-dark);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .adls-card {
        padding: 12px;
        border-radius: 18px;
    }

    .adls-result {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .adls-thumb {
        width: 56px;
        height: 52px;
    }

    .adls-cta {
        display: none;
    }
}


/*
|--------------------------------------------------------------------------
| ADONDE LiveSearch Frontend
|--------------------------------------------------------------------------
| Version: v0.7.0
| Fecha: 2026-05-10
| File: css/adonde-live-search-clear-button.css
|--------------------------------------------------------------------------
*/
.adls-input-wrap {
    position: relative;
}

.adls-input {
    padding-right: 92px;
}

.adls-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: #f3f4f6;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 9px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.adls-clear:hover {
    background: #e5e7eb;
}

.adls-clear:active {
    transform: translateY(-50%) scale(.97);
}

@media (max-width: 420px) {
    .adls-input {
        padding-right: 82px;
    }

    .adls-clear {
        right: 8px;
        padding: 8px 10px;
        font-size: 11px;
    }
}


/*
|--------------------------------------------------------------------------
| ADONDE LiveSearch Inline Text Cleanup
|--------------------------------------------------------------------------
| Version: v0.8.0
|--------------------------------------------------------------------------
*/
.adls-place-description {
    display: block;
    margin-top: 16px;
}

.adls-place-description p {
    margin: 0 0 18px;
    color: #374151;
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: -.01em;
}

.adls-place-description p:last-child {
    margin-bottom: 0;
}
