 /* Контейнер карточки */
        .tour-card {

            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            background: white;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }
        
        .tour-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        }
        
        /* Секция с изображением */
        .tour-image {
            height: 240px;
            position: relative;
            overflow: hidden;
        }
        
        .tour-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .tour-card:hover .tour-image img {
            transform: scale(1.05);
        }
        
        /* Бейджи поверх изображения */
        .image-badges {
            position: absolute;
            top: 16px;
            left: 16px;
            display: flex;
            gap: 8px;
        }
        
        .badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .badge-author {
            background: white;
            color: #1a1a1a;
        }
        
        .badge-sponsored {
            background: #6d28d9;
            color: white;
        }
        
        /* Иконка избранного */
        .favorite-icon {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s ease;
        }
        
        .favorite-icon:hover {
            background: white;
        }
        
        .favorite-icon svg {
            width: 18px;
            height: 18px;
        }
        
        /* Блок эксперта */
        .expert-info {
            position: absolute;
            bottom: 16px;
            left: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 0, 0, 0.6);
            padding: 6px 12px;
            border-radius: 20px;
            backdrop-filter: blur(4px);
        }
        
        .expert-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .expert-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .expert-name {
            color: white;
            font-size: 12px;
            font-weight: 500;
        }
        
        /* Контентная часть карточки */
        .tour-content {
            padding: 20px;
        }
        
        /* Рейтинг и информация */
        .rating-info {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 12px;
            color: #666;
            font-size: 14px;
        }
        
        .rating-stars {
            color: #ffc107;
            display: flex;
            align-items: center;
        }
        
        .rating-value {
            font-weight: 600;
            margin-right: 4px;
            color: #1a1a1a;
        }
        
        /* Заголовок тура */
        .tour-title {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 12px;
            color: #1a1a1a;
            display: block;
            text-decoration: none;
        }
        
        .tour-title:hover {
            color: #6d28d9;
        }
        
        /* Описание тура */
        .tour-description {
            font-size: 14px;
            line-height: 1.5;
            color: #666;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* Цена и информация о длительности */
        .price-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .current-price {
            font-size: 20px;
            font-weight: 700;
            color: #1a1a1a;
        }
        
        .old-price {
            font-size: 14px;
            text-decoration: line-through;
            color: #999;
            margin-left: 8px;
        }
        
        .duration {
            font-size: 14px;
            color: #666;
        }
        
        /* Даты тура */
        .dates-container {
            display: flex;
            gap: 8px;
        }
        
        .date-tag {
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .date-primary {
            background: #f0f0f0;
            color: #1a1a1a;
        }
        
        .date-secondary {
            background: #f5f5f5;
            color: #666;
        }
        
        /* Бейдж скидки */
        .discount-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            background: #dc2626;
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

.tour-grid-s {
    grid-template-columns: repeat(3, 1fr);
                gap: 20px;
	display:grid;
	
}
[data-type="tour"][data-id].tour-card .favorite-icon > svg > path
  {transition: 0.3s all;     
  }
[data-type="tour"][data-id].tour-card.is-in-favorites .favorite-icon > svg > path
  {stroke: red;
   fill: red;     
  }
.hidden-this
  {display: none;     
  }
.pagination
  {display: flex;
   flex-direction: row;
   gap: 12px;
  }