/* Карточки туров - Зеленая тема */

.tours_block {
    margin: 40px auto !important;
    margin-top: 60px !important;
    max-width: 1280px;
    padding: 0 20px;
    font-family: var(--font-main, 'Inter', sans-serif);
}

/* Карточка тура на всю ширину */
.short_tour_ex {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 24px rgba(45, 106, 79, 0.08);
    border: 1px solid #e8f5e9;
    position: relative;
    cursor: pointer;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    display: flex;
    flex-direction: row;
    min-height: 220px;
}

/* Прогресс-бар сверху */
.short_tour_ex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 10;
}

.short_tour_ex:hover::before {
    transform: scaleX(1);
}

/* Hover эффект */
.short_tour_ex:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.2);
    border-color: #74c69d;
}

/* Блок изображения */
.short_tour_ex .image_block {
    position: relative;
    overflow: hidden;
    width: 300px;
    min-width: 300px;
    height: auto;
    flex-shrink: 0;
}

.short_tour_ex .pic_tour {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.short_tour_ex:hover .pic_tour {
    transform: scale(1.08);
}

/* Badge */
.short_tour_ex .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Контент карточки */
.short_tour_ex .content_block {
    padding: 25px 25px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Заголовок */
.short_tour_ex .header_for_tours_main_page {
    color: #1b4332;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: var(--font-display, 'Manrope', sans-serif);
    letter-spacing: -0.3px;
}

.short_tour_ex .header_for_tours_main_page:hover {
    color: #40916c;
}

/* Название тура (города) */
.short_tour_ex .tour-cities {
    color: #333;
    font-size: 16px !important;
    margin: 8px 0;
    line-height: 1.5;
}

/* Дни */
.short_tour_ex .tour-days {
    color: #2d6a4f;
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 8px 0;
}

/* Блок списка */
.short_tour_ex .block_tourList {
    margin-bottom: 15px;
}

/* Даты туров - современный дизайн */
.short_tour_ex .tour-dates {
    background: linear-gradient(135deg, #e8f5e9 0%, #d8f3dc 100%);
    padding: 14px 18px;
    border-radius: 12px;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    border-left: 4px solid #52b788;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.short_tour_ex .tour-dates .dates-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.short_tour_ex .tour-dates .dates-icon {
    color: #2d6a4f;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.short_tour_ex .tour-dates .dates-text {
    color: #1b4332;
    font-weight: 600;
}

.short_tour_ex .tour-dates a {
    color: #2d6a4f;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.short_tour_ex .tour-dates a svg {
    flex-shrink: 0;
}

.short_tour_ex .tour-dates a:hover {
    color: #40916c;
    transform: translateX(3px);
}

/* Количество покупок */
.short_tour_ex .tour-purchases {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #856404;
    margin: 10px 0;
    border: 1px solid #ffeaa7;
    width: fit-content;
}

.short_tour_ex .tour-purchases svg {
    stroke: #856404;
    flex-shrink: 0;
}

/* Футер карточки */
.short_tour_ex .tour-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 2px solid #e8f5e9;
    margin-top: auto;
    gap: 15px;
}

/* Блок цены */
.short_tour_ex .tour-item-price-block {
    flex: 1;
}

.short_tour_ex .tour-item-price-from {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.short_tour_ex .price-icon {
    color: #2d6a4f;
    flex-shrink: 0;
    background: #e8f5e9;
    padding: 8px;
    border-radius: 10px;
}

.short_tour_ex .price-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.short_tour_ex .price-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.short_tour_ex .price-tour-item-1 {
    font-size: 28px;
    font-weight: 700;
    color: #2d6a4f;
    line-height: 1;
}

/* Кнопка "Подробнее" */
.short_tour_ex .more {
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
    flex-shrink: 0;
    margin-right: 10px;
}

.horizon .more {
    left: -30px;
}

.short_tour_ex .more svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.short_tour_ex .more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.35);
    background: linear-gradient(135deg, #40916c 0%, #52b788 100%);
}

.short_tour_ex .more:hover svg {
    transform: translateY(2px);
}

/* Акция Перекресток */
.promotion__perekrestok-link_small {
    margin-left: 10px;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .short_tour_ex {
        flex-direction: column;
    }
    
    .short_tour_ex .image_block {
        width: 100%;
        height: 220px;
    }
    
    .short_tour_ex .content_block {
        padding: 18px;
    }
    
    .short_tour_ex .tour-item-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .short_tour_ex .tour-item-price-from {
        justify-content: center;
    }
    
    .short_tour_ex .more {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .tours_block {
        margin-top: 40px !important;
        padding: 0 15px;
    }
    
    .short_tour_ex {
        margin: 0 0 18px 0 !important;
    }
    
    .short_tour_ex .image_block {
        height: 200px;
    }
    
    .short_tour_ex .header_for_tours_main_page {
        font-size: 18px;
    }
    
    .short_tour_ex .price-tour-item-1 {
        font-size: 24px;
    }
    
    .short_tour_ex .content_block {
        padding: 15px;
    }
    
    .short_tour_ex .tour-dates {
        padding: 12px 14px;
    }
    
    .short_tour_ex .tour-purchases {
        font-size: 12px;
        padding: 6px 12px;
    }
}

