.pet-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pet-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.pet-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Компактные статусы */
.status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.status-badge i {
    margin-right: 4px;
    font-size: 0.6rem;
}

.status-lost { background: #FF6B6B; color: white; }
.status-found { background: #4FACFE; color: white; }
.status-adoption { background: #FF9A9E; color: white; }
.status-adopted { background: #77DD77; color: white; }

/* Миниатюрные теги */
.pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    padding: 0 10px;
    z-index: 2;
}

.tag {
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    color: #2D2D2D;
}

.tag i {
    margin-right: 2px;
    font-size: 0.5rem;
}

.tag-vaccinated { color: #10B981; }
.tag-sterilized { color: #EC4899; }
.tag-friendly { color: #8B5FBF; }
.tag-trained { color: #F59E0B; }

.pet-details {
    padding: 12px;
}

.pet-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.pet-meta {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.pet-meta span {
    display: flex;
    align-items: center;
}

.pet-meta i {
    margin-right: 3px;
    font-size: 0.7rem;
}

.pet-description {
    min-height: 35px;
    font-size: 0.8rem;
    color: #4B5563;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
    flex: 1;
    padding: 6px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #E5E7EB;
}

.action-btn i {
    margin-right: 4px;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .pet-card {
        height: 380px;
    }
    
    .pet-image {
        height: 200px;
    }
    
    .filters {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .pet-card {
        height: 350px;
    }
    
    .pet-image {
        height: 180px;
    }
    
    .pet-name {
        font-size: 1.2rem;
    }
    
    .pet-details {
        font-size: 0.85rem;
    }
}