/* ========================================
   STRÁNKA ŠTĚŇATA - BEM METODIKA
   MOBILE FIRST
   ======================================== */

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

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

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

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

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

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

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

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

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

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

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

.puppies-page__filter-group--search {
    flex: 1;
}

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

.puppies-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;
}

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

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

.puppies-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);
}

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

.puppies-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
   ======================================== */

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

.puppies-page__filter-input-wrapper {
    position: relative;
}

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

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

.puppies-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;
    }
}

.puppies-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;
}

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

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

/* Našeptávač */
.puppies-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;
}

.puppies-page__breed-suggestions--visible {
    display: block;
}

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

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

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

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

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

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

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

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

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

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

.puppies-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;
    }
}

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

.puppies-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;
}

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

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

/* Našeptávač lokality */
.puppies-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;
}

.puppies-page__location-suggestions--visible {
    display: block;
}

.puppies-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;
}

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

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

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

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

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

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

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

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

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

/* Šipka u země */
.puppies-page__location-arrow {
    color: #667eea;
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.2s ease;
}

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

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

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

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

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

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

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

/* Tlačítko pro vymazání vybrané stanice */
.puppies-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;
}

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

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

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

/* Našeptávač stanic */
.puppies-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;
}

.puppies-page__station-suggestions--visible {
    display: block;
}

/* Jednotlivá stanice v našeptávači */
.puppies-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.puppies-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;
}

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

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

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

.puppies-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;
}

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

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

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

.puppies-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);
}

.puppies-page__filters-extended--open {
    display: flex;
}

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

.puppies-page__filter-gender {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    order: 1;
}

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

.puppies-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;
}

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

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

.puppies-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;
}

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

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

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

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

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

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

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

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

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

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

.puppies-page__filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 3;
}

.puppies-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;
}

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

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

.puppies-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;
}

.puppies-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;
}

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

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

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

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

/* ========================================
   FILTR STATUSU (KVALITY)
   ======================================== */

.puppies-page__filter-status {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding-top: 12px;
    border-top: none;
    order: 2;
}

.puppies-page__filter-status-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 12px;
}

.puppies-page__filter-status .puppies-page__filter-checkbox {
    justify-self: start;
}

/* Barevné fajfky pro jednotlivé statusy - jednotná barva */
.puppies-page__filter-checkbox-mark--mazlicek::after,
.puppies-page__filter-checkbox-mark--chov::after {
    border-color: #667eea;
}

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

.puppies-page__filter-actions {
    display: flex;
    gap: 12px;
    order: 4;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.puppies-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;
}

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

.puppies-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;
}

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

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

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

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

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

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

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

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

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

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

.puppies-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;
}

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

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

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

.puppies-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);
}

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

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

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

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

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

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

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

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

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

/* Základní styl karty - MOBILE FIRST */
.puppy-card {
    flex: none;
    width: calc(50% - 5px); /* 2 karty na řádek na mobilu */
    display: flex;
    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 */
.puppy-card.puppy-card--hidden {
    display: none;
}

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

/* Obrázek karty */
.puppy-card__image {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 12px 12px 0 0;
}

/* Kontejner pro štítky */
.puppy-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
}

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

/* Pokud je štítek přímo v .puppy-card__image (bez kontejneru) */
.puppy-card__image > .puppy-card__badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Jméno štěněte */
.puppy-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 s varietou */
.puppy-card__breed {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #667eea;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.puppy-card__breed-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.puppy-card__separator {
    color: #d1d5db;
    flex-shrink: 0;
}

.puppy-card__variety {
    color: #95a5a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Povahový punc */
.puppy-card__temperament {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    white-space: nowrap;
    margin-bottom: 6px;
    width: fit-content;
}

.puppy-card__temperament-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

img.puppy-card__temperament-icon {
    width: 12px;
    height: 12px;
}

.puppy-card__temperament-text {
    font-weight: 500;
}

/* Varianty povah - 5 typů */

/* 1. Průzkumník - oranžová (energie, odvaha) */
.puppy-card__temperament--pruzkumnik {
    background-color: #fff7ed;
    color: #ea580c;
    cursor: help;
}

.puppy-card__temperament--pruzkumnik img {
    filter: invert(39%) sepia(95%) saturate(1500%) hue-rotate(360deg) brightness(95%) contrast(95%);
}

/* 2. Mazel - růžová (vazba na člověka) */
.puppy-card__temperament--mazel {
    background-color: #fdf2f8;
    color: #db2777;
    cursor: help;
}

.puppy-card__temperament--mazel img {
    filter: invert(25%) sepia(90%) saturate(2000%) hue-rotate(315deg) brightness(90%) contrast(95%);
}

/* 3. Pohodář - modrá (klid, vyrovnanost) */
.puppy-card__temperament--pohodar {
    background-color: #eff6ff;
    color: #2563eb;
    cursor: help;
}

.puppy-card__temperament--pohodar img {
    filter: invert(30%) sepia(95%) saturate(2000%) hue-rotate(215deg) brightness(95%) contrast(95%);
}

/* 4. Snaživec - zelená (učenlivost, focus) */
.puppy-card__temperament--snazivec {
    background-color: #ecfdf5;
    color: #059669;
    cursor: help;
}

.puppy-card__temperament--snazivec img {
    filter: invert(40%) sepia(90%) saturate(800%) hue-rotate(120deg) brightness(90%) contrast(95%);
}

/* 5. Pozorovatel - fialová (opatrnost, vnímavost) */
.puppy-card__temperament--pozorovatel {
    background-color: #f5f3ff;
    color: #7c3aed;
    cursor: help;
}

.puppy-card__temperament--pozorovatel img {
    filter: invert(35%) sepia(80%) saturate(2000%) hue-rotate(245deg) brightness(90%) contrast(95%);
}

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

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

.puppy-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;
}

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

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

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

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

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

.puppy-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;
}

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

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

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

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

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

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

/* Tlačítko */
.puppy-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;
}

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

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

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

.puppies-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;
}

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

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

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

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

.puppies-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;
}

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

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

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

.puppies-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
   ======================================== */

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

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

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

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

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

    .puppies-page__title {
        font-size: 26px;
    }

    .puppies-page__subtitle {
        font-size: 15px;
    }

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

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

    .puppies-page__filter-group--search {
        flex: 1.5;
    }

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

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

    .puppies-page__filters-extended {
        flex-direction: row;
        align-items: flex-end;
        flex-wrap: nowrap;
        gap: 20px;
        position: relative;
    }

    /* Pohlaví - grid: label + první možnost na řádku, druhá pod */
    .puppies-page__filter-gender {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 8px;
        order: 1;
        flex-shrink: 0;
        align-items: center;
    }

    .puppies-page__filter-gender-label {
        grid-row: 1;
        grid-column: 1;
    }

    .puppies-page__filter-gender .puppies-page__filter-radio:first-of-type {
        grid-row: 1;
        grid-column: 2;
    }

    .puppies-page__filter-gender .puppies-page__filter-radio:last-of-type {
        grid-row: 2;
        grid-column: 2;
    }

    /* Vhodný pro - grid: label + první možnost na řádku, druhá pod */
    .puppies-page__filter-status {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 8px;
        order: 2;
        padding-top: 0;
        border-top: none;
        flex-shrink: 0;
        align-items: center;
    }

    .puppies-page__filter-status-label {
        grid-row: 1;
        grid-column: 1;
        padding-top: 0;
        margin-right: 0;
    }

    .puppies-page__filter-status .puppies-page__filter-checkbox:first-of-type {
        grid-row: 1;
        grid-column: 2;
    }

    .puppies-page__filter-status .puppies-page__filter-checkbox:last-of-type {
        grid-row: 2;
        grid-column: 2;
    }

    /* Checkboxy - nahoře vpravo, na úrovni Pes/Mazlíček */
    .puppies-page__filter-checkboxes {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        order: 3;
        align-items: center;
        align-self: flex-start;
        position: absolute;
        right: 0;
        top: 16px;
    }

    .puppies-page__filter-checkbox {
        flex: none;
        padding: 8px 12px;
        white-space: nowrap;
    }

    /* Tlačítka - zarovnána vpravo dole, na úrovni Fena/Chov a výstavy */
    .puppies-page__filter-actions {
        order: 4;
        display: flex;
        align-self: flex-end;
        padding-top: 0;
        border-top: none;
        gap: 12px;
        margin-left: auto;
    }

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

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

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

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

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

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

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

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

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

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

    .puppies-page__grid {
        gap: 20px;
    }

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

    .puppy-card.puppy-card--hidden {
        display: none;
    }

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

    .puppy-card__content {
        padding: 14px;
    }

    .puppy-card__title {
        font-size: 16px;
    }

    .puppy-card__breed {
        font-size: 13px;
    }

    .puppy-card__age {
        font-size: 12px;
    }

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

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

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

    .puppy-card__location {
        font-size: 12px;
    }

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

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

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

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

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

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

    .puppies-page__title {
        font-size: 30px;
    }

    .puppies-page__subtitle {
        font-size: 16px;
    }

    .puppies-page__filter-toggle-text {
        display: inline;
    }

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

    .puppies-page__filter-toggle {
        display: none;
    }

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

    .puppies-page__grid {
        gap: 24px;
    }

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

    .puppy-card.puppy-card--hidden {
        display: none;
    }

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

    .puppy-card__content {
        padding: 16px;
    }

    .puppy-card__title {
        font-size: 17px;
    }

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

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

    .puppy-card__breed {
        font-size: 14px;
    }

    .puppy-card__age {
        font-size: 12px;
    }

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

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

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

    .puppy-card__location {
        font-size: 13px;
    }

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

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

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

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

@media (min-width: 1400px) {
    .puppies-page__filters-container,
    .puppies-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 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: white;
    overflow-y: auto;
    animation: puppyPanelSlideIn 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Animace */
@keyframes puppyPanelFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes puppyPanelSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Zavírací křížek - skrytý defaultně */
.puppy-detail-panel__close {
    display: none;
}

/* Křížek viditelný když je panel otevřený - MOBILE FIRST */
.puppy-detail-panel--open .puppy-detail-panel__close {
    display: flex;
    position: fixed;
    top: 160px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    padding: 8px;
    transition: all 0.3s ease;
}

.puppy-detail-panel__close:hover {
    background: linear-gradient(135deg, #5568d3 0%, #643a87 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.puppy-detail-panel__close:active {
    background: linear-gradient(135deg, #4a5cc4 0%, #552f72 100%);
    transform: scale(0.98);
}

.puppy-detail-panel__close svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2.5;
    pointer-events: none;
}

/* TABLET A DESKTOP (768px+) - křížek výše, větší */
@media (min-width: 768px) {
    .puppy-detail-panel--open .puppy-detail-panel__close {
        top: 72px;
        width: 56px;
        height: 56px;
        z-index: 99999;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .puppy-detail-panel__close svg {
        width: 28px;
        height: 28px;
        stroke-width: 3;
    }

    .puppy-detail-panel__content {
        width: 420px;
        max-width: 90%;
    }
}

/* Hlavička s fotkou - MOBIL */
.puppy-detail-panel__header {
    padding: 90px 16px 20px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.puppy-detail-panel__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.puppy-detail-panel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.puppy-detail-panel__name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.puppy-detail-panel__name .puppy-card__gender svg {
    stroke: white;
}

.puppy-detail-panel__breed {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

/* Badge v hlavičce */
.puppy-detail-panel__badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.puppy-detail-panel__badge--available {
    background-color: rgba(16, 185, 129, 0.2);
    color: #d1fae5;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.puppy-detail-panel__badge--reserved {
    background-color: rgba(236, 72, 153, 0.2);
    color: #fce7f3;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.puppy-detail-panel__badge--sold {
    background-color: rgba(255, 107, 107, 0.2);
    color: #fee2e2;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

/* Tělo panelu */
.puppy-detail-panel__body {
    padding: 20px 16px 30px;
}

/* Informační řádky */
.puppy-detail-panel__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.puppy-detail-panel__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.puppy-detail-panel__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.puppy-detail-panel__icon svg {
    width: 18px;
    height: 18px;
    color: #667eea;
}

.puppy-detail-panel__icon img {
    width: 18px;
    height: 18px;
    filter: invert(45%) sepia(70%) saturate(1500%) hue-rotate(210deg) brightness(90%) contrast(90%);
}

.puppy-detail-panel__label {
    font-size: 12px;
    color: #7f8c8d;
    display: block;
    margin-bottom: 2px;
}

.puppy-detail-panel__value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

.puppy-detail-panel__value--link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.puppy-detail-panel__value--link:hover {
    color: #5a6fd6;
    text-decoration: underline;
}

/* Lokace s vlajkou */
.puppy-detail-panel__location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.puppy-detail-panel__flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}

/* Stanice box */
.puppy-detail-panel__station-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.puppy-detail-panel__station-title {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.puppy-detail-panel__station-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 4px 0;
}

.puppy-detail-panel__station-name svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.puppy-detail-panel__station-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7f8c8d;
    margin-left: 26px;
}

/* Akční tlačítka */
.puppy-detail-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.puppy-detail-panel__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.puppy-detail-panel__button--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.puppy-detail-panel__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.puppy-detail-panel__button--secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.puppy-detail-panel__button--secondary:hover {
    background: rgba(102, 126, 234, 0.08);
}

.puppy-detail-panel__button svg {
    width: 18px;
    height: 18px;
}

/* TABLET (768px+) */
@media (min-width: 768px) {
    .puppy-detail-panel__header {
        padding: 32px 24px 24px 24px;
    }

    .puppy-detail-panel__body {
        padding: 28px 24px;
    }

    .puppy-detail-panel__name {
        font-size: 24px;
    }

    .puppy-detail-panel__photo {
        width: 140px;
        height: 140px;
        border-width: 5px;
    }

    .puppy-detail-panel__station-subtitle {
        font-size: 16px;
    }
}

/* DESKTOP (1024px+) */
@media (min-width: 1024px) {
    .puppy-detail-panel__content {
        width: 500px;
    }

    .puppy-detail-panel__header {
        padding: 40px 32px 28px 32px;
    }

    .puppy-detail-panel__photo {
        width: 160px;
        height: 160px;
    }

    .puppy-detail-panel__name {
        font-size: 26px;
    }

    .puppy-detail-panel__body {
        padding: 32px;
    }
}

/* ========================================
   ROZŠÍŘENÉ SEKCE PANELU ŠTĚNĚTE
   ======================================== */

/* Pohlaví v hlavičce panelu */
.puppy-detail-panel__gender {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.puppy-detail-panel__gender svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.puppy-detail-panel__gender--male svg {
    stroke: #60a5fa;
}

.puppy-detail-panel__gender--female svg {
    stroke: #f472b6;
}

/* Podtitulek stanice v hlavičce */
.puppy-detail-panel__station-subtitle {
    font-size: 14px;
    opacity: 0.85;
    margin: 4px 0 0 0;
}

.puppy-detail-panel__title {
    text-align: center;
}

/* === FOTOGALERIE === */
.puppy-detail-panel__gallery {
    width: 100%;
    background: #f8f9fa;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

/* Šipky po krajích - SKRYTÉ NA MOBILU */
.puppy-detail-panel__gallery-arrow {
    display: none; /* Skryté na mobilu - scroll funguje prstem */
}

/* Kontejner s overflow - MOBIL: scroll, PC: hidden */
.puppy-detail-panel__gallery-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.puppy-detail-panel__gallery-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Track s fotkami */
.puppy-detail-panel__gallery-track {
    display: flex;
    gap: 12px;
    padding: 4px 16px;
    transition: transform 0.3s ease; /* Plynulé posouvání na PC */
}

/* Jednotlivé fotky - VĚTŠÍ jako ve vzoru */
.puppy-detail-panel__gallery-item {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.puppy-detail-panel__gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.puppy-detail-panel__gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* === LIGHTBOX === */
.puppy-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100001;
    align-items: center;
    justify-content: center;
}

.puppy-lightbox--open {
    display: flex;
}

.puppy-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.puppy-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.puppy-lightbox__close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.puppy-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.puppy-lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.puppy-lightbox__arrow--prev {
    left: 20px;
}

.puppy-lightbox__arrow--next {
    right: 20px;
}

.puppy-lightbox__arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.puppy-lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.puppy-lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.puppy-lightbox__counter {
    color: white;
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

/* === SEKCE INFORMACÍ === */
.puppy-detail-section {
    margin-bottom: 24px;
}

.puppy-detail-section:last-child {
    margin-bottom: 0;
}

/* Přidání většího prostoru nad podnadpisy kromě prvního - MOBIL */
.puppy-detail-section + .puppy-detail-section {
    margin-top: 32px;
}

.puppy-detail-section--compact {
    margin-bottom: 20px;
}

.puppy-detail-section__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.2 !important;
    padding: 12px 16px !important;
    background-color: #f5f5f5 !important;
    border-left: 4px solid #667eea !important;
}

.puppy-detail-section__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* === FACTS (základní informace) === */
.puppy-detail-facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.puppy-detail-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.puppy-detail-fact__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.puppy-detail-fact__icon svg {
    width: 18px;
    height: 18px;
    color: #667eea;
}

.puppy-detail-fact__svg {
    width: 18px;
    height: 18px;
    filter: invert(45%) sepia(70%) saturate(1500%) hue-rotate(210deg) brightness(90%) contrast(90%);
}

.puppy-detail-fact__content {
    flex: 1;
}

.puppy-detail-fact__content--badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.puppy-detail-fact__label {
    font-size: 12px;
    color: #7f8c8d;
    display: block;
    margin-bottom: 2px;
}

.puppy-detail-fact__value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.puppy-detail-fact__link {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.puppy-detail-fact__link:hover {
    color: #5a6fd6;
    text-decoration: underline;
}

.puppy-detail-fact__flag-inline {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

/* === STATUS BADGES === */
.puppy-detail-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

/* KVALITA štítky - subtle verze */
.puppy-detail-status-badge--chovny {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.puppy-detail-status-badge--nadeje {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.puppy-detail-status-badge--mazlik {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
}

/* DOSTUPNOST štítky - subtle verze */
.puppy-detail-status-badge--volny {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.puppy-detail-status-badge--zadany,
.puppy-detail-status-badge--reserved {
    background: rgba(236, 72, 153, 0.15);
    color: #db2777;
}

.puppy-detail-status-badge--prodano {
    background: rgba(255, 107, 107, 0.15);
    color: #ee5a5a;
}

/* === POPIS, ZDRAVÍ, ÚSPĚCHY === */
.puppy-detail-description,
.puppy-detail-health,
.puppy-detail-success {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* === ŘÁDKY S DATY === */
.puppy-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.puppy-detail-row:last-child {
    border-bottom: none;
}

.puppy-detail-row__label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex: 0 0 auto;
    margin-right: 16px;
}

.puppy-detail-row__value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

/* Vlajka v řádku */
.puppy-detail-row__flag {
    width: 20px;
    height: 14px;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Štítky (badges) */
.puppy-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 0;
    border-top: none;
    justify-content: flex-end;
}

.puppy-detail-badge {
    display: inline-block;
    padding: 3px 10px 4px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* KVALITA štítky - gradient verze */
.puppy-detail-badge--chovny {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.puppy-detail-badge--nadeje {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.puppy-detail-badge--mazlik,
.puppy-detail-badge--mazlicek {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* DOSTUPNOST štítky - gradient verze */
.puppy-detail-badge--volny {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.puppy-detail-badge--zadany,
.puppy-detail-badge--reserved {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.puppy-detail-badge--prodano {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.puppy-detail-badge--prodano {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.puppy-detail-row__link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.puppy-detail-row__link:hover {
    color: #5a6fd6;
    text-decoration: underline;
}

/* === AKČNÍ SEKCE === */
.puppy-detail-section--actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.puppy-detail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.puppy-detail-button--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.puppy-detail-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.puppy-detail-button--secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.puppy-detail-button--secondary:hover {
    background: rgba(102, 126, 234, 0.08);
}

.puppy-detail-link {
    display: block;
    text-align: center;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px;
    transition: color 0.2s ease;
}

.puppy-detail-link:hover {
    color: #5a6fd6;
    text-decoration: underline;
}

/* === RESPONZIVNÍ ÚPRAVY PRO GALERII === */
@media (min-width: 768px) {
    /* Galerie - šipky viditelné na tabletu/PC */
    .puppy-detail-panel__gallery {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 16px;
    }

    .puppy-detail-panel__gallery-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: white;
        border: 1px solid #ddd;
        border-radius: 50%;
        cursor: pointer;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .puppy-detail-panel__gallery-arrow:hover {
        background: #667eea;
        border-color: #667eea;
        color: white;
    }

    .puppy-detail-panel__gallery-arrow svg {
        width: 18px;
        height: 18px;
    }

    .puppy-detail-panel__gallery-container {
        overflow: hidden; /* Na PC skrýt scroll, použít šipky */
    }

    .puppy-detail-panel__gallery-track {
        padding: 4px 0;
    }

    /* Fotky zůstávají větší */
    .puppy-detail-panel__gallery-item {
        width: 140px;
        height: 100px;
    }

    /* Větší mezera mezi sekcemi - TABLET */
    .puppy-detail-section + .puppy-detail-section {
        margin-top: 36px;
    }

    .puppy-lightbox__arrow {
        width: 64px;
        height: 64px;
    }

    .puppy-lightbox__arrow--prev {
        left: 40px;
    }

    .puppy-lightbox__arrow--next {
        right: 40px;
    }
}

/* === RESPONZIVNÍ ÚPRAVY - DESKTOP === */
@media (min-width: 1024px) {
    /* Větší mezera mezi sekcemi - DESKTOP */
    .puppy-detail-section + .puppy-detail-section {
        margin-top: 40px;
    }
}

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

.puppy-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;
}

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

.puppy-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));
}

.puppy-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 */
.puppy-card__favorite--active {
    background-color: rgba(255, 255, 255, 0.35);
}

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

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