.ccc-search-form {
    --ccc-search-accent: #ed6b34;
    --ccc-search-border: #d7d7d7;
    display: flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    max-width: 512px;
    min-height: 0;
    margin: 0;
    padding: 0 5px 0 0px;
    border: 2px solid var(--ccc-search-border);
    border-radius: 999px;
    background-color: #fff;
    color: inherit;
}

.ccc-search-form:focus-within {
    border-color: var(--ccc-search-accent);
}

.ccc-search-form .ccc-search-form__icon {
    display: block;
    flex: none;
    width: 23px;
    height: 23px;
    pointer-events: none;
}

.ccc-search-form input[type="search"],
.ccc-search-form input[type="search"]:focus {
    flex: 1 1 0;
    width: 100%;
    min-width: 255px;
    height: auto;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    font: inherit;
    color: var(--e-global-color-primary);
    font-weight: 400;
    font-size: 13px;
}

.ccc-search-form button[type="submit"] {
    display: grid;
    place-items: center;
    flex: none;
    width: 21px;
    height: 21px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ccc-search-accent);
    box-shadow: none;
    cursor: pointer;
}

.ccc-search-form button img {
    display: block;
    width: 18px;
    height: 18px;
}

.ccc-search-form button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.ccc-search-results__summary {
    margin: 1.5rem 0 0;
}

.ccc-search-results > p {
    margin-top: 1.5rem;
}

.ccc-search-block {
    margin: 2rem 0;
    scroll-margin-top: 100px;
}

.ccc-search-block ul.ccc-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccc-search-grid .ccc-search-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 12px;
}

.ccc-search-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#ccc-resultados-servicios .ccc-search-card__image img {
    width: 56px;
    height: 56px;
    margin: 1rem 1rem 0;
    object-fit: contain;
}

.ccc-search-card__body {
    padding: 1rem;
}

.ccc-search-card__body h3 {
    margin: 0;
}

.ccc-search-card__body p {
    margin: .5rem 0 0;
}

.ccc-search-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .75rem;
    margin-top: 1rem;
}
