/* Wrapper für Suchkomponente */
.ep-dog-search {
    display: flex;                    /* Zentriert Input + Button vertikal */
    align-items: center;
    width: 100%;
/*    min-width: 500px !important;      /* Fixiert Mindestbreite */
/*    max-width: 1000px;  */
    margin: 0 auto;
    position: relative;
}

/* Eingabefeld mit Glas / Blur Design */
.ep-dog-search .ep-dog-search-input {
    flex: 1 1 auto;
    padding: 12px 45px 12px 15px !important;
    font-size: 24px !important;
    color: #fff !important;

    /* Leichter Verlauf für "echtes" Glas */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,   /* hell außen */
        rgba(0, 0, 0, 0.15) 100%         /* dunkler innen */
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px !important;

    /* Feiner Schatten für Tiefe */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.2) !important;

    /* Blur / Frosted Glass */
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;

    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Placeholder-Farbe */
.ep-dog-search .ep-dog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fokuszustand */
.ep-dog-search .ep-dog-search-input:focus {
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
    outline: none !important;
}

/* Such-Button (Icon) */
.ep-dog-search .ep-dog-search-btn {
    margin-left: -45px;               /* Button überlagert rechten Rand des Inputs */
    background: transparent !important;
    border: none !important;
    font-size: 24px !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    z-index: 10;                      /* Damit er oberhalb des Inputs bleibt */
}

/* Hover-Effekt für Button */
.ep-dog-search .ep-dog-search-btn:hover {
    color: #ddd !important;
}

/* Ergebnis-Grid */
.ep-dog-search-results-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 10;
    list-style: none;
    box-sizing: border-box;
}

.ep-dog-search-result-item {
    width: 25%;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

.ep-dog-search-result-img {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}

.ep-dog-search-result-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ep-dog-search-result-title {
    margin-top: 8px;
    font-size: 1em;
    color: #333;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .ep-dog-search-result-item {
        width: 50%;
    }
}
@media (max-width: 480px) {
    .ep-dog-search-result-item {
        width: 100%;
    }
}

/* Entfernt Aufzählungszeichen */
.ep-dog-search-results .ep-dog-search-results-grid,
.ep-dog-search-results .ep-dog-search-results-grid li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}