/* ====================================
   Tour Page - Modern Green Design
   ==================================== */

/* Основные стили страницы тура */
.tour-page-wrapper {
    font-family: var(--font-main, 'Inter', sans-serif);
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero секция с изображением и информацией - СУПЕР эффект */
.tour-hero-section {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 45px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(45, 106, 79, 0.1) inset;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.tour-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.05) 0%, transparent 70%);
    animation: heroBackground 20s linear infinite;
}

@keyframes heroBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tour-hero-section > * {
    position: relative;
    z-index: 1;
}

.tour-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.2),
        0 0 0 5px rgba(45, 106, 79, 0.1);
    height: 100%;
    min-height: 350px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-image-wrapper::after {
    content: '🔍 Посмотреть';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(45, 106, 79, 0.95);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.tour-image-wrapper:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(45, 106, 79, 0.3),
        0 0 0 6px rgba(82, 183, 136, 0.2);
}

.tour-image-wrapper:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.tour-image-wrapper .image_tour {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.4);
}

/* Информация о туре */
.tour-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-main-title {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 50%, #52b788 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    margin: 0;
    line-height: 1.2;
    animation: titleGradient 4s ease infinite;
    position: relative;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.tour-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #2d6a4f 0%, #52b788 100%);
    border-radius: 10px;
    animation: underlineGrow 1s ease-out;
}

@keyframes underlineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.tour-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.tour-days-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    border: none;
    box-shadow: 
        0 6px 20px rgba(45, 106, 79, 0.3),
        0 0 0 3px rgba(82, 183, 136, 0.2);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 6px 20px rgba(45, 106, 79, 0.3),
            0 0 0 3px rgba(82, 183, 136, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(82, 183, 136, 0.4),
            0 0 0 5px rgba(82, 183, 136, 0.3);
    }
}

.tour-days-badge svg {
    width: 24px;
    height: 24px;
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.tour-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #495057;
    padding: 20px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 16px;
    border-left: 5px solid #52b788;
    transition: all 0.3s ease;
}

.tour-description:hover {
    background: rgba(82, 183, 136, 0.08);
    border-left-width: 8px;
    transform: translateX(5px);
}

.tour-interactives {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-interactives > * {
    animation: fadeInScale 0.6s ease-out backwards;
}

.tour-interactives > *:nth-child(1) { animation-delay: 0.1s; }
.tour-interactives > *:nth-child(2) { animation-delay: 0.2s; }
.tour-interactives > *:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Блок с ценой - СУПЕР яркий дизайн */
.tour-price-section {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 50%, #52b788 100%);
    padding: 35px 40px;
    border-radius: 24px;
    box-shadow: 
        0 10px 40px rgba(45, 106, 79, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    margin-top: auto;
    overflow: hidden;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(45, 106, 79, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    50% {
        box-shadow: 
            0 15px 50px rgba(82, 183, 136, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    }
}

.tour-price-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: priceRotate 10s linear infinite;
}

@keyframes priceRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tour-price-section > div {
    position: relative;
    z-index: 1;
}

.tour-price-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tour-price-value {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-display, 'Manrope', sans-serif);
    display: flex;
    align-items: center;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.tour-price-value svg {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.price_inner {
    background: linear-gradient(90deg, #fff 0%, #f0fff4 50%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% auto;
    animation: priceShine 3s linear infinite;
}

@keyframes priceShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Промо блок "Перекресток" */
.promotion__perekrestok-link {
    display: inline-block;
    margin: 15px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease;
}

.promotion__perekrestok-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.promotion__tour-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.promotion__tour-text-span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Даты тура */
.dates_tour {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.dates_tour .h2 {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d6a4f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dates_tour .h2::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.dates_tour ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.dates_tour li {
    background: #f8f9fa;
    padding: 12px 16px 12px 35px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    position: relative;
    background-position: 10px center !important;
    background-size: 18px 18px !important;
}

.dates_tour li:hover {
    background-color: #e9ecef;
    border-color: #2d6a4f;
    transform: translateX(5px);
}

.dates_tour li.pre_booking {
    font-weight: 500;
    color: #2d3748;
}

.specPayBadge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.all_dates {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    clear: both;
}

.all_dates a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2d6a4f;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.all_dates a:hover {
    background: #f8f9fa;
    color: #40916c;
}

.triangl_ch {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #2d6a4f;
    margin-right: 5px;
}

/* Расписание тура */
.tour-schedule-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.tour-schedule-section .h2 {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d6a4f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-schedule-section .h2::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpolyline points='14 2 14 8 20 8'%3E%3C/polyline%3E%3Cline x1='16' y1='13' x2='8' y2='13'%3E%3C/line%3E%3Cline x1='16' y1='17' x2='8' y2='17'%3E%3C/line%3E%3Cpolyline points='10 9 9 9 8 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Супер-современные вкладки с эффектами */
#tabs {
    font-family: var(--font-main, 'Inter', sans-serif);
    position: relative;
}

#tabs ul.tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-bottom: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

#tabs ul.tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d6a4f 0%, #52b788 50%, #2d6a4f 100%);
    background-size: 200% auto;
    animation: tabsGradient 3s linear infinite;
}

@keyframes tabsGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

#tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    position: relative;
}

#tabs ul.tabs li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    color: #495057;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    background: white;
}

#tabs ul.tabs li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(82, 183, 136, 0.2), transparent);
    transition: left 0.5s ease;
}

#tabs ul.tabs li a:hover::before {
    left: 100%;
}

#tabs ul.tabs li a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

#tabs ul.tabs li a:hover {
    background: white;
    color: #2d6a4f;
    border-color: #2d6a4f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.2);
}

#tabs ul.tabs li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

#tabs ul.tabs li.ui-tabs-active a,
#tabs ul.tabs li.ui-state-active a {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 50%, #40916c 100%);
    color: white;
    box-shadow: 
        0 8px 25px rgba(45, 106, 79, 0.4),
        0 0 0 3px rgba(82, 183, 136, 0.2);
    transform: translateY(-3px) scale(1.05);
    border-color: transparent;
}

#tabs ul.tabs li.ui-tabs-active a::after,
#tabs ul.tabs li.ui-state-active a::after {
    content: '✓';
    opacity: 1;
    transform: translateX(0);
    font-size: 1.2rem;
}

/* Панель контента с красивым дизайном */
#tabs .ui-tabs-panel {
    padding: 35px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    border: 3px solid #e9ecef;
    position: relative;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    animation: panelFadeIn 0.4s ease-out;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#tabs .ui-tabs-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #2d6a4f 0%, #52b788 100%);
    border-radius: 20px 0 0 20px;
}

/* Убираем точки у ВСЕХ списков внутри вкладок */
#tabs .ui-tabs-panel ul,
#tabs .ui-tabs-panel ol,
#tabs .ui-tabs-panel ul li,
#tabs .ui-tabs-panel ol li,
.html-code ul,
.html-code ol,
.html-code ul li,
.html-code ol li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Скрываем пустые параграфы в конце вкладок */
#tabs .ui-tabs-panel p:empty,
.html-code p:empty,
#tabs .ui-tabs-panel p:last-child:empty,
.html-code p:last-child:empty {
    display: none !important;
}

#tabs ul.bottom {
    margin-top: 35px;
    margin-bottom: 0;
}

/* Контент расписания с Timeline */
.html-code {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #2d3748;
    position: relative;
}

.html-code h3,
.html-code h4 {
    font-family: var(--font-display, 'Manrope', sans-serif);
    color: #fff;
    font-weight: 800;
    margin: 30px 0 20px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.3);
    position: relative;
    overflow: hidden;
    animation: headerSlideIn 0.5s ease-out;
}

@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.html-code h3::before,
.html-code h4::before {
    content: '📍';
    margin-right: 12px;
    font-size: 1.3em;
    animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.html-code h3::after,
.html-code h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
    animation: lineSlide 2s ease-in-out infinite;
}

@keyframes lineSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.html-code p {
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.html-code p:hover {
    background: rgba(82, 183, 136, 0.1);
    border-left-width: 5px;
    transform: translateX(5px);
}

.html-code ul,
.html-code ol {
    margin: 20px 0;
    padding-left: 40px;
    position: relative;
}

.html-code ul::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, #2d6a4f 0%, #52b788 50%, #2d6a4f 100%);
    border-radius: 10px;
}

.html-code li {
    margin: 15px 0;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

.html-code li:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.15);
}

.html-code img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.html-code img:hover {
    transform: scale(1.02);
}

/* Время в расписании - супер яркое */
.html-code [class*='time'],
.html-code strong {
    color: #fff;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(45, 106, 79, 0.3);
    animation: timeGlow 2s ease-in-out infinite;
}

@keyframes timeGlow {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(45, 106, 79, 0.3);
    }
    50% {
        box-shadow: 0 5px 15px rgba(82, 183, 136, 0.5);
    }
}

/* Описания с чередующимся фоном */
.html-code [class^='description'] {
    padding: 25px !important;
    border-radius: 16px;
    margin: 25px 0;
    border-left: 6px solid #2d6a4f;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.html-code [class^='description']::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.1) 0%, transparent 70%);
    animation: descriptionGlow 3s ease-in-out infinite;
}

@keyframes descriptionGlow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(10px, 10px);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tour-hero-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .tour-image-wrapper {
        min-height: 250px;
    }

    .tour-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tour-page-wrapper {
        padding: 15px;
    }

    .tour-hero-section {
        padding: 20px;
        border-radius: 16px;
    }

    .tour-main-title {
        font-size: 1.6rem;
    }

    .tour-price-value {
        font-size: 2rem;
    }

    .dates_tour ul {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    #tabs ul.tabs {
        flex-direction: column;
    }

    #tabs ul.tabs li {
        width: 100%;
    }

    #tabs ul.tabs li a {
        width: 100%;
        text-align: center;
    }

    .tour-price-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tour-main-title {
        font-size: 1.4rem;
    }

    .dates_tour,
    .tour-schedule-section {
        padding: 20px 15px;
    }

    .dates_tour .h2,
    .tour-schedule-section .h2 {
        font-size: 1.4rem;
    }

    .dates_tour ul {
        grid-template-columns: 1fr;
    }

    #tabs .ui-tabs-panel {
        padding: 15px;
    }
}

/* ====================================
   КАЛЬКУЛЯТОР СТОИМОСТИ ТУРА - Сдержанный дизайн
   ==================================== */

.calc-form.booking {
    margin: 30px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    border: 2px solid #2d6a4f !important;
    position: relative;
    overflow: hidden;
}

.calc-form.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2d6a4f 0%, #52b788 100%);
}

.calc-form.booking .h6 {
    margin-bottom: 25px !important;
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #2d6a4f;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calc-form.booking .h6::before {
    content: '📊';
    margin-right: 10px;
    font-size: 1.3em;
}

.calc-form.booking > div {
    position: relative;
    z-index: 1;
}

.calc-form.booking label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.05rem;
}

.calc-form.booking label span {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-weight: 700;
    color: #2d6a4f;
}

.calc-form.booking select,
.calc-form.booking input[type="text"],
.calc-form.booking input[type="number"] {
    padding: 12px 16px;
    border: 2px solid #2d6a4f;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: #2d3748;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.calc-form.booking select:focus,
.calc-form.booking input:focus {
    outline: none;
    border-color: #52b788;
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.2);
}

.calc-form.booking select:hover,
.calc-form.booking input:hover {
    border-color: #40916c;
}

.calc-form.booking .calc-result {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.2);
}

.calc-form.booking .calc-result-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-form.booking .calc-result-value {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display, 'Manrope', sans-serif);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ====================================
   ЗАМЕНА СПРАЙТОВ НА SVG ИКОНКИ
   ==================================== */

/* Скрываем старые спрайты */
i.sprite-ico.human {
    display: inline-block;
    width: 0;
    height: 0;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

/* Добавляем SVG иконки вместо спрайтов */
i.sprite-ico.human::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
    margin: 0 2px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-hero-section,
.dates_tour,
.tour-schedule-section,
.calc-form.booking {
    animation: fadeInUp 0.6s ease-out;
}

/* Улучшенные стили для связанных туров */
.AllRelatedTours {
    font-family: var(--font-display, 'Manrope', sans-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d6a4f;
    margin: 30px 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #2d6a4f;
}

.flex_RTcont,
.flex_RTcontId {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.flex_RTcont:hover,
.flex_RTcontId:hover {
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.2);
    border-color: #2d6a4f;
    transform: translateY(-4px);
}

