/* ========================================
   STRÁNKA CHOVNÍ JEDINCI - BEM METODIKA
   MOBILE FIRST
   ======================================== */

/* ========================================
   HLAVNÍ KONTEJNER - Odsazení od fixované hlavičky
   ======================================== */

.breeding-dogs-page {
    padding-top: 60px; /* Výška hlavičky na mobilu */
}

/* ========================================
   FILTRY SEKCE - S gradientovým pozadím
   ======================================== */

.breeding-dogs-page__filters {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 20px 24px;
    z-index: 100;
}

/* Nadpis v sekci filtrů */
.breeding-dogs-page__filters-header {
    text-align: center;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breeding-dogs-page__title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.breeding-dogs-page__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.breeding-dogs-page__filters-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breeding-dogs-page__filters-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   FILTER GROUP - Jednotlivé filtry
   ======================================== */

.breeding-dogs-page__filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.breeding-dogs-page__filter-group--search {
    flex: 1;
}

.breeding-dogs-page__filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.breeding-dogs-page__filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    flex-shrink: 0;
}

.breeding-dogs-page__filter-icon svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

/* ========================================
   INPUT A SELECT POLE
   ======================================== */

.breeding-dogs-page__filter-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #2c3e50;
    background-color: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breeding-dogs-page__filter-input::placeholder {
    color: #95a5a6;
}

.breeding-dogs-page__filter-input:focus {
    border-color: #667eea;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ========================================
   FILTR PLEMENE - Input s tagy a našeptávačem
   ======================================== */

.breeding-dogs-page__filter-group--breed {
    flex: 1.5;
    min-width: 0;
}

.breeding-dogs-page__filter-input-wrapper {
    position: relative;
}

/* Tagy vybraných plemen */
.breeding-dogs-page__breed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.breeding-dogs-page__breed-tags:empty {
    display: none;
    margin-bottom: 0;
}

.breeding-dogs-page__breed-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    background-color: #f0f3ff;
    border: 1px solid #d5dcff;
    border-radius: 16px;
    animation: breedTagAppear 0.2s ease;
}

@keyframes breedTagAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.breeding-dogs-page__breed-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #667eea;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.breeding-dogs-page__breed-tag-remove:hover {
    background-color: #5568d3;
    transform: scale(1.1);
}

.breeding-dogs-page__breed-tag-remove svg {
    width: 8px;
    height: 8px;
    color: #ffffff;
}

/* Našeptávač */
.breeding-dogs-page__breed-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    z-index: 100;
    display: none;
}

.breeding-dogs-page__breed-suggestions--visible {
    display: block;
}

.breeding-dogs-page__breed-suggestion {
    padding: 10px 14px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.breeding-dogs-page__breed-suggestion:hover,
.breeding-dogs-page__breed-suggestion--active {
    background-color: #f0f3ff;
}

.breeding-dogs-page__breed-suggestion:first-child {
    border-radius: 10px 10px 0 0;
}

.breeding-dogs-page__breed-suggestion:last-child {
    border-radius: 0 0 10px 10px;
}

.breeding-dogs-page__breed-suggestion:only-child {
    border-radius: 10px;
}

.breeding-dogs-page__breed-suggestion strong {
    color: #667eea;
}

/* ========================================
   FILTR LOKALITY - Input s tagy a našeptávačem
   ======================================== */

.breeding-dogs-page__filter-group--location {
    flex: 1;
    min-width: 0;
}

/* Tagy vybraných lokalit */
.breeding-dogs-page__location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.breeding-dogs-page__location-tags:empty {
    display: none;
    margin-bottom: 0;
}

.breeding-dogs-page__location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    background-color: #f0f3ff;
    border: 1px solid #d5dcff;
    border-radius: 16px;
    animation: locationTagAppear 0.2s ease;
}

@keyframes locationTagAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.breeding-dogs-page__location-tag-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.breeding-dogs-page__location-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #667eea;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.breeding-dogs-page__location-tag-remove:hover {
    background-color: #5568d3;
    transform: scale(1.1);
}

.breeding-dogs-page__location-tag-remove svg {
    width: 8px;
    height: 8px;
    color: #ffffff;
}

/* Našeptávač lokality */
.breeding-dogs-page__location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    z-index: 100;
    display: none;
}

.breeding-dogs-page__location-suggestions--visible {
    display: block;
}

.breeding-dogs-page__location-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.breeding-dogs-page__location-suggestion:hover,
.breeding-dogs-page__location-suggestion--active {
    background-color: #f0f3ff;
}

.breeding-dogs-page__location-suggestion:first-child {
    border-radius: 10px 10px 0 0;
}

.breeding-dogs-page__location-suggestion:last-child {
    border-radius: 0 0 10px 10px;
}

.breeding-dogs-page__location-suggestion:only-child {
    border-radius: 10px;
}

.breeding-dogs-page__location-suggestion strong {
    color: #667eea;
}

.breeding-dogs-page__location-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.breeding-dogs-page__location-name {
    flex: 1;
}

.breeding-dogs-page__location-country {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
}

/* Země - accordion styl */
.breeding-dogs-page__location-suggestion--country {
    font-weight: 600;
    background-color: #fafbfc;
}

.breeding-dogs-page__location-suggestion--country:hover {
    background-color: #f0f3ff;
}

/* Rozbalená země */
.breeding-dogs-page__location-suggestion--expanded {
    background-color: #f0f3ff;
    color: #667eea;
    border-bottom: 1px solid #e8ecff;
}

/* Šipka u země */
.breeding-dogs-page__location-arrow {
    color: #667eea;
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.2s ease;
    cursor: pointer;
    padding: 8px 12px;
    margin: -8px -12px -8px 0;
    border-radius: 6px;
}

.breeding-dogs-page__location-arrow:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

/* Města/regiony pod zemí - odsazení */
.breeding-dogs-page__location-suggestion--child {
    padding-left: 44px;
    background-color: #ffffff;
    font-weight: 400;
    border-left: 3px solid #667eea;
}

.breeding-dogs-page__location-suggestion--child:hover {
    background-color: #f8f9ff;
}

/* Vybraná položka v našeptávači */
.breeding-dogs-page__location-suggestion--selected {
    background-color: #f0f3ff;
    color: #667eea;
    cursor: default;
}

.breeding-dogs-page__location-suggestion--selected:hover {
    background-color: #f0f3ff;
}

.breeding-dogs-page__location-check {
    color: #667eea;
    font-weight: 700;
    margin-left: auto;
    font-size: 14px;
}

/* ========================================
   FILTR STANICE - Input s našeptávačem
   ======================================== */

.breeding-dogs-page__filter-group--station {
    flex: 1;
    min-width: 0;
}

/* Tlačítko pro vymazání vybrané stanice */
.breeding-dogs-page__station-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background-color: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__station-clear:hover {
    background-color: #d32f2f;
}

.breeding-dogs-page__station-clear svg {
    width: 12px;
    height: 12px;
    color: #666;
    transition: color 0.2s ease;
}

.breeding-dogs-page__station-clear:hover svg {
    color: #fff;
}

/* Našeptávač stanic */
.breeding-dogs-page__station-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    z-index: 100;
    display: none;
}

.breeding-dogs-page__station-suggestions--visible {
    display: block;
}

/* Jednotlivá stanice v našeptávači */
.breeding-dogs-page__station-suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #2c3e50;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.breeding-dogs-page__station-suggestion:last-child {
    border-bottom: none;
}

.breeding-dogs-page__station-suggestion:hover {
    background-color: #f0f3ff;
}

.breeding-dogs-page__station-suggestion:first-child {
    border-radius: 10px 10px 0 0;
}

.breeding-dogs-page__station-suggestion:last-child {
    border-radius: 0 0 10px 10px;
}

.breeding-dogs-page__station-suggestion:only-child {
    border-radius: 10px;
}

/* Obrázek stanice */
.breeding-dogs-page__station-image {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

/* Info o stanici */
.breeding-dogs-page__station-info {
    flex: 1;
    min-width: 0;
}

.breeding-dogs-page__station-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breeding-dogs-page__station-name strong {
    color: #667eea;
}

.breeding-dogs-page__station-meta {
    font-size: 12px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breeding-dogs-page__station-breed {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breeding-dogs-page__station-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breeding-dogs-page__station-flag {
    width: 14px;
    height: 10px;
    object-fit: cover;
    border-radius: 2px;
}

/* Žádné výsledky */
.breeding-dogs-page__station-no-results {
    padding: 20px 14px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
}

.breeding-dogs-page__station-no-results strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 4px;
}

/* ========================================
   TOGGLE BUTTON - Další filtry
   ======================================== */

.breeding-dogs-page__filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-toggle:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.breeding-dogs-page__filter-toggle svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   MOBILNÍ TLAČÍTKO VYHLEDAT
   ======================================== */

.breeding-dogs-page__filter-submit--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: #4c1d95;
    background: #ffdc62;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-submit--mobile:hover {
    transform: translateY(-2px);
    background: #f5d24a;
    box-shadow: 0 4px 12px rgba(255, 220, 98, 0.5);
}

.breeding-dogs-page__filter-submit--mobile svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   ROZŠÍŘENÉ FILTRY
   ======================================== */

.breeding-dogs-page__filters-extended {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.breeding-dogs-page__filters-extended--open {
    display: flex;
}

/* Skrýt mobilní tlačítko Vyhledat když jsou rozbalené rozšířené filtry */
.breeding-dogs-page__filters-container--extended-open .breeding-dogs-page__filter-submit--mobile {
    display: none;
}

/* ========================================
   FILTR POHLAVÍ - Radio buttony
   ======================================== */

.breeding-dogs-page__filter-gender {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.breeding-dogs-page__filter-gender-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.breeding-dogs-page__filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-radio:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.breeding-dogs-page__filter-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.breeding-dogs-page__filter-radio-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-radio-mark::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #667eea;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.15s ease;
}

.breeding-dogs-page__filter-radio input[type="radio"]:checked + .breeding-dogs-page__filter-radio-mark {
    background: #ffffff;
    border-color: #ffffff;
}

.breeding-dogs-page__filter-radio input[type="radio"]:checked + .breeding-dogs-page__filter-radio-mark::after {
    transform: scale(1);
}

.breeding-dogs-page__filter-radio:has(input[type="radio"]:checked) {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.breeding-dogs-page__filter-radio-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

.breeding-dogs-page__filter-radio-icon svg {
    width: 18px;
    height: 18px;
}

.breeding-dogs-page__filter-radio-icon--male svg {
    color: #60a5fa;
}

.breeding-dogs-page__filter-radio-icon--female svg {
    color: #f472b6;
}

.breeding-dogs-page__filter-radio-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* ========================================
   CHECKBOX STYLY
   ======================================== */

.breeding-dogs-page__filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breeding-dogs-page__filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-checkbox:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.breeding-dogs-page__filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.breeding-dogs-page__filter-checkbox-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-checkbox-mark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #667eea;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-top: -2px;
}

.breeding-dogs-page__filter-checkbox input[type="checkbox"]:checked + .breeding-dogs-page__filter-checkbox-mark {
    background: #ffffff;
    border-color: #ffffff;
}

.breeding-dogs-page__filter-checkbox input[type="checkbox"]:checked + .breeding-dogs-page__filter-checkbox-mark::after {
    transform: rotate(45deg) scale(1);
}

.breeding-dogs-page__filter-checkbox:has(input[type="checkbox"]:checked) {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.breeding-dogs-page__filter-checkbox-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

/* ========================================
   AKČNÍ TLAČÍTKA
   ======================================== */

.breeding-dogs-page__filter-actions {
    display: flex;
    gap: 12px;
}

.breeding-dogs-page__filter-clear {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-clear:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.breeding-dogs-page__filter-submit {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: #4c1d95;
    background: #ffdc62;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__filter-submit:hover {
    transform: translateY(-2px);
    background: #f5d24a;
    box-shadow: 0 4px 12px rgba(255, 220, 98, 0.5);
}

.breeding-dogs-page__filter-submit svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   VÝSLEDKY SEKCE
   ======================================== */

.breeding-dogs-page__results {
    padding: 20px 12px 40px;
    background-color: #f8f9fa;
    min-height: 60vh;
}

.breeding-dogs-page__results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breeding-dogs-page__results-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.breeding-dogs-page__results-count {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
    text-align: center;
}

.breeding-dogs-page__results-count strong {
    color: #2c3e50;
}

/* ========================================
   MODERNÍ ŘAZENÍ - Chip tlačítka
   ======================================== */

.breeding-dogs-page__sort {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.breeding-dogs-page__sort-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: #7f8c8d;
    background-color: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.breeding-dogs-page__sort-chip svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.breeding-dogs-page__sort-chip:hover {
    border-color: #667eea;
    color: #667eea;
    background-color: #f8f9ff;
}

.breeding-dogs-page__sort-chip:hover svg {
    color: #667eea;
}

.breeding-dogs-page__sort-chip--active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.breeding-dogs-page__sort-chip--active svg {
    color: #ffffff;
}

.breeding-dogs-page__sort-chip--active:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4292 100%);
    color: #ffffff;
    border-color: transparent;
}

.breeding-dogs-page__sort-chip--active:hover svg {
    color: #ffffff;
}

/* Šipka směru řazení */
.breeding-dogs-page__sort-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    margin-left: 1px;
    transition: transform 0.2s ease;
}

.breeding-dogs-page__sort-arrow svg {
    width: 10px;
    height: 10px;
}

/* Šipka nahoru při vzestupném řazení */
.breeding-dogs-page__sort-arrow--up {
    transform: rotate(180deg);
}

/* ========================================
   GRID - Maticový výpis karet
   ======================================== */

.breeding-dogs-page__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========================================
   KARTA ŠTĚNĚTE - Styl z homepage
   ======================================== */

/* Základní styl karty - MOBILE FIRST */
.breeding-dog-card {
    flex: none;
    width: calc(50% - 5px); /* 2 karty na řádek na mobilu */
    display: flex !important; /* Zajistit viditelnost před inicializací JS */
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* JavaScript přidá třídu pro skrytí filtrovaných karet */
.breeding-dog-card--hidden {
    display: none !important;
}

.breeding-dog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Obrázek karty */
.breeding-dog-card__image {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    justify-content: flex-start;
    padding: 6px;
    gap: 4px;
    border-radius: 12px 12px 0 0;
}

/* Štítky (badge) */
.breeding-dog-card__badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

/* DOSTUPNOST štítky */
.breeding-dog-card__badge--available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.breeding-dog-card__badge--reserved {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: #ffffff;
}

.breeding-dog-card__badge--sold {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #ffffff;
}

/* KVALITA štítky */
.breeding-dog-card__badge--chovny {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

.breeding-dog-card__badge--nadeje {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
}

.breeding-dog-card__badge--mazlik {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #ffffff;
}

/* SPECIÁLNÍ štítky */
.breeding-dog-card__badge--champion {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
}

/* Obsah karty */
.breeding-dog-card__content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ffffff;
}

/* Header s pohlavím a jménem */
.breeding-dog-card__header {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
}

/* Ikona pohlaví */
.breeding-dog-card__gender {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.breeding-dog-card__gender svg {
    width: 16px;
    height: 16px;
}

.breeding-dog-card__gender--male svg {
    color: #60a5fa;
}

.breeding-dog-card__gender--female svg {
    color: #f472b6;
}

/* Jméno štěněte */
.breeding-dog-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Plemeno */
.breeding-dog-card__breed {
    font-size: 12px;
    color: #667eea;
    margin: 0 0 6px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Detaily (datum narození a věk) */
.breeding-dog-card__details {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.breeding-dog-card__cake-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    filter: invert(45%) sepia(70%) saturate(1500%) hue-rotate(210deg) brightness(90%) contrast(90%);
}

.breeding-dog-card__age {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #7f8c8d;
    background-color: #f8f9fa;
    padding: 3px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.breeding-dog-card__birthdate {
    color: #2c3e50;
    font-weight: 500;
}

.breeding-dog-card__age-separator {
    color: #bdc3c7;
    font-size: 8px;
}

.breeding-dog-card__age-value {
    color: #7f8c8d;
}

/* Zdravotní testy */
.breeding-dog-card__health {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #10b981;
    background-color: #ecfdf5;
    padding: 3px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.breeding-dog-card__health svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Domovská stanice */
.breeding-dog-card__station {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.breeding-dog-card__station-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    color: #667eea;
}

.breeding-dog-card__station-link {
    font-size: 11px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breeding-dog-card__station-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Lokace */
.breeding-dog-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.breeding-dog-card__flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.breeding-dog-card__country {
    font-weight: 500;
    color: #2c3e50;
}

.breeding-dog-card__place {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #95a5a6;
}

.breeding-dog-card__place::before {
    content: "•";
    margin-right: 4px;
    color: #d1d5db;
}

/* Chovatelská stanice */
.breeding-dog-card__station {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.breeding-dog-card__station-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    color: #667eea;
}

.breeding-dog-card__station-link {
    font-size: 11px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breeding-dog-card__station-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Majitel (soukromá osoba) */
.breeding-dog-card__owner {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.breeding-dog-card__owner-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    color: #667eea;
}

.breeding-dog-card__owner-link {
    font-size: 11px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breeding-dog-card__owner-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Tlačítko */
.breeding-dog-card__button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 10px 12px;
    font-size: 11px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breeding-dog-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ========================================
   STRÁNKOVÁNÍ
   ======================================== */

.breeding-dogs-page__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.breeding-dogs-page__pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__pagination-btn:hover:not(:disabled) {
    background-color: #f0f3ff;
    border-color: #667eea;
}

.breeding-dogs-page__pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.breeding-dogs-page__pagination-btn svg {
    width: 18px;
    height: 18px;
    color: #2c3e50;
}

.breeding-dogs-page__pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breeding-dogs-page__pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #2c3e50;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.breeding-dogs-page__pagination-number:hover {
    background-color: #f0f3ff;
    border-color: #667eea;
}

.breeding-dogs-page__pagination-number--active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #ffffff;
}

.breeding-dogs-page__pagination-number--active:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4292 100%);
}

.breeding-dogs-page__pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 40px;
    font-size: 14px;
    color: #7f8c8d;
}

/* ========================================
   AKTIVNÍ TOGGLE TLAČÍTKO
   ======================================== */

.breeding-dogs-page__filter-toggle--active {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #667eea;
}

.breeding-dogs-page__filter-toggle--active svg {
    color: #667eea;
}

/* ========================================
   RESPONZIVITA - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .breeding-dogs-page {
        padding-top: 70px;
    }

    .breeding-dogs-page__filters {
        padding: 24px 40px 20px;
    }

    .breeding-dogs-page__title {
        font-size: 26px;
    }

    .breeding-dogs-page__subtitle {
        font-size: 15px;
    }

    .breeding-dogs-page__filters-row {
        flex-direction: row;
        align-items: flex-end;
        gap: 16px;
    }

    .breeding-dogs-page__filter-group {
        flex: 1;
        min-width: 0;
    }

    .breeding-dogs-page__filter-group--search {
        flex: 1.5;
    }

    .breeding-dogs-page__filter-toggle {
        flex: none;
        width: auto;
    }

    /* Skrýt mobilní tlačítko Vyhledat na tabletu a desktopu */
    .breeding-dogs-page__filter-submit--mobile {
        display: none;
    }

    .breeding-dogs-page__filters-extended {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .breeding-dogs-page__filter-gender {
        gap: 16px;
    }

    .breeding-dogs-page__filter-checkboxes {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .breeding-dogs-page__filter-checkbox {
        flex: none;
        padding: 10px 16px;
    }

    .breeding-dogs-page__filter-actions {
        flex: none;
        width: auto;
    }

    .breeding-dogs-page__filter-clear {
        flex: none;
        padding: 12px 24px;
    }

    .breeding-dogs-page__filter-submit {
        flex: none;
        padding: 12px 28px;
    }

    .breeding-dogs-page__results {
        padding: 32px 40px 60px;
    }

    .breeding-dogs-page__results-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .breeding-dogs-page__results-count {
        font-size: 15px;
        text-align: left;
    }

    .breeding-dogs-page__sort {
        justify-content: flex-end;
        gap: 8px;
    }

    .breeding-dogs-page__sort-chip {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }

    .breeding-dogs-page__sort-chip svg {
        width: 14px;
        height: 14px;
    }

    .breeding-dogs-page__sort-arrow {
        width: 12px;
        height: 12px;
        margin-left: 2px;
    }

    .breeding-dogs-page__sort-arrow svg {
        width: 12px;
        height: 12px;
    }

    .breeding-dogs-page__grid {
        gap: 20px;
    }

    .breeding-dog-card {
        width: calc(33.333% - 14px); /* 3 karty na řádek na tabletu */
    }

    .breeding-dog-card--hidden {
        display: none !important;
    }

    .breeding-dog-card__image {
        height: 160px;
        padding: 10px;
        gap: 5px;
    }

    .breeding-dog-card__content {
        padding: 14px;
    }

    .breeding-dog-card__title {
        font-size: 16px;
    }

    .breeding-dog-card__breed {
        font-size: 13px;
    }

    .breeding-dog-card__age {
        font-size: 12px;
    }

    .breeding-dog-card__cake-icon {
        width: 15px;
        height: 15px;
    }

    .breeding-dog-card__station-icon {
        width: 13px;
        height: 13px;
    }

    .breeding-dog-card__station-link {
        font-size: 12px;
    }

    .breeding-dog-card__location {
        font-size: 12px;
    }

    .breeding-dog-card__button {
        padding: 10px 14px;
        font-size: 13px;
    }

    .breeding-dog-card__flag {
        width: 18px;
        height: 13px;
    }

    .breeding-dog-card__badge {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ========================================
   RESPONZIVITA - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .breeding-dogs-page {
        padding-top: 0; /* Header je sticky, není potřeba padding */
    }

    .breeding-dogs-page__filters {
        padding: 28px 60px 24px;
    }

    .breeding-dogs-page__title {
        font-size: 30px;
    }

    .breeding-dogs-page__subtitle {
        font-size: 16px;
    }

    .breeding-dogs-page__filter-toggle-text {
        display: inline;
    }

    /* Na desktopu jsou rozšířené filtry vždy viditelné */
    .breeding-dogs-page__filters-extended {
        display: flex;
    }

    .breeding-dogs-page__filter-toggle {
        display: none;
    }

    .breeding-dogs-page__results {
        padding: 40px 60px 80px;
    }

    .breeding-dogs-page__grid {
        gap: 24px;
    }

    .breeding-dog-card {
        width: calc(25% - 18px); /* 4 karty na řádek na desktopu */
    }

    .breeding-dog-card--hidden {
        display: none !important;
    }

    .breeding-dog-card__image {
        height: 180px;
        padding: 12px;
        gap: 6px;
    }

    .breeding-dog-card__content {
        padding: 16px;
    }

    .breeding-dog-card__title {
        font-size: 17px;
    }

    .breeding-dog-card__gender {
        width: 20px;
        height: 20px;
        position: relative;
        top: 2px;
    }

    .breeding-dog-card__gender svg {
        width: 18px;
        height: 18px;
    }

    .breeding-dog-card__breed {
        font-size: 14px;
    }

    .breeding-dog-card__age {
        font-size: 12px;
    }

    .breeding-dog-card__cake-icon {
        width: 16px;
        height: 16px;
    }

    .breeding-dog-card__station-icon {
        width: 14px;
        height: 14px;
    }

    .breeding-dog-card__station-link {
        font-size: 13px;
    }

    .breeding-dog-card__location {
        font-size: 13px;
    }

    .breeding-dog-card__button {
        margin-top: 14px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .breeding-dog-card__flag {
        width: 18px;
        height: 13px;
    }

    .breeding-dog-card__badge {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* ========================================
   RESPONZIVITA - VELKÝ DESKTOP (1400px+)
   ======================================== */

@media (min-width: 1400px) {
    .breeding-dogs-page__filters-container,
    .breeding-dogs-page__results-container {
        max-width: 1400px;
    }
}

/* ========================================
   DETAIL PANEL ŠTĚNĚTE - MOBILE FIRST
   ======================================== */

/* Panel - skrytý defaultně */
.puppy-detail-panel {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    overflow: hidden;
}

/* Panel otevřený */
.puppy-detail-panel--open {
    display: block;
}

/* Tmavé pozadí (overlay) */
.puppy-detail-panel__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: puppyPanelFadeIn 0.3s ease;
    z-index: 1;
}

/* Obsah panelu - MOBIL (fullscreen) */
.puppy-detail-panel__content {
    /* Placeholder - styly definovány jinde */
}

/* ========================================
   SRDÍČKA - OBLÍBENÉ
   ======================================== */

.breeding-dog-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.breeding-dog-card__favorite:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.breeding-dog-card__favorite svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
    transition: all 0.2s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.breeding-dog-card__favorite:hover svg {
    color: #ef4444;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Aktivní stav - přidáno do oblíbených */
.breeding-dog-card__favorite--active {
    background-color: rgba(255, 255, 255, 0.35);
}

.breeding-dog-card__favorite--active svg {
    color: #ef4444;
    fill: #ef4444;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.breeding-dog-card__favorite--active:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
