

/* Start:/bitrix/components/pgs/favorite.list/templates/.default/style.css?17633623912624*/
/* Страница избранного */
.favorite-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.favorite-page h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.favorite-actions {
    margin-bottom: 20px;
    text-align: center;
}

.btn-clear-favorite {
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-clear-favorite:hover {
    background: #cc0000;
}

.favorite-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorite-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    background: white;
}

.favorite-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.favorite-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.favorite-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.favorite-item-info {
    flex-grow: 1;
    min-width: 0;
}

.favorite-item-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.3;
}

.favorite-item-info h3 a {
    color: #333;
    text-decoration: none;
}

.favorite-item-info h3 a:hover {
    color: #0066cc;
}

.favorite-item-actions {
    margin-top: 10px;
}

.favorite-remove-btn {
    color: #ff4444;
    border: 1px solid #ff4444;
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}


.favorite-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.favorite-empty p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-primary {
    background: #0066cc;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0052a3;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorite-list {
        grid-template-columns: 1fr;
    }
    
    .favorite-item {
        flex-direction: column;
        text-align: center;
    }
    
    .favorite-item-image {
        width: 100%;
        height: 150px;
        margin-bottom: 10px;
    }
    
    .favorite-item-image img {
        max-width: 150px;
    }
    
    .favorite-page {
        padding: 10px;
    }
}
/* End */
/* /bitrix/components/pgs/favorite.list/templates/.default/style.css?17633623912624 */
