/*!
Theme Name: Blocksy
Theme URI: https://creativethemes.com/blocksy/
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Version: 2.1.23
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (c) 2019 CreativeThemes.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.9
Text Domain: blocksy
Blocksy Minimum Companion Version: 2.0.74-beta1
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/
/* === ОСНОВНОЙ КОНТЕЙНЕР ДЛЯ КАРТОЧЕК === */
.wp-block-query-loop,
.tours-grid,
.elementor-posts-container,
.et_pb_blog_grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    gap: 35px !important;
    padding: 25px 0 !important;
}

/* === СТИЛЬ ДЛЯ ЛЮБОЙ КАРТОЧКИ === */
.tour-card,
.post,
.elementor-post,
.et_pb_post,
.wp-block-post {
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform: translateY(0) scale(1) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* === ЖИВЫЕ АНИМАЦИИ ПРИ НАВЕДЕНИИ === */
.tour-card:hover,
.post:hover,
.elementor-post:hover,
.et_pb_post:hover,
.wp-block-post:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 0 25px 60px rgba(225, 112, 85, 0.22), 
                0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(225, 112, 85, 0.3) !important;
}

/* === КАРТИНКА НА ВСЮ КАРТОЧКУ === */
.tour-card img,
.post img,
.elementor-post img,
.et_pb_post img,
.wp-block-post img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    transition: all 0.7s cubic-bezier(0.3, 0.8, 0.4, 1.2) !important;
    filter: brightness(0.95) !important;
}

/* Анимация изображения при наведении */
.tour-card:hover img,
.post:hover img,
.elementor-post:hover img,
.et_pb_post:hover img,
.wp-block-post:hover img {
    transform: scale(1.12) !important;
    filter: brightness(1.05) saturate(1.15) !important;
}

/* Затемнение фона для читаемости текста */
.tour-card::before,
.post::before,
.elementor-post::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, 
                rgba(0, 0, 0, 0.75) 0%, 
                rgba(0, 0, 0, 0.4) 40%,
                rgba(0, 0, 0, 0.15) 70%,
                transparent 100%) !important;
    z-index: 2 !important;
    opacity: 0.85 !important;
    transition: opacity 0.5s ease !important;
}

.tour-card:hover::before,
.post:hover::before,
.elementor-post:hover::before {
    opacity: 0.92 !important;
}

/* === КРАСИВЫЙ ТЕКСТ ПОВЕРХ КАРТИНКИ === */
.tour-card h2,
.tour-card h3,
.post h2,
.elementor-post .elementor-post__title,
.et_pb_post h2,
.wp-block-post h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 20px !important; /* ОДИНАКОВЫЙ ОТСТУП СО ВСЕХ СТОРОН */
    color: #ffffff !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 
                 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    font-family: 'Montserrat', 'Segoe UI', sans-serif !important;
    letter-spacing: -0.5px !important;
    position: relative !important;
    z-index: 3 !important;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) !important;
    transform: translateY(0) !important;
    text-align: center !important; /* ТЕКСТ ПО ЦЕНТРУ */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 40px) !important; /* УЧИТЫВАЕМ ОТСТУПЫ */
    min-height: 60px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Анимация текста при наведении */
.tour-card:hover h2,
.tour-card:hover h3,
.post:hover h2,
.elementor-post:hover .elementor-post__title {
    transform: translateY(-3px) !important;
    color: #FFEAA7 !important;
    text-shadow: 0 5px 20px rgba(255, 234, 167, 0.4),
                 0 3px 8px rgba(0, 0, 0, 0.6) !important;
}

/* === СТИЛЬ ДЛЯ ЦЕНЫ (ПОВЕРХ КАРТИНКИ) === */
.tour-price,
.price,
.acf-price {
    color: #FFEAA7 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 25px 10px 25px !important;
    display: block !important;
    position: relative !important;
    z-index: 3 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: all 0.4s ease !important;
}

.tour-card:hover .tour-price,
.tour-card:hover .price,
.tour-card:hover .acf-price {
    color: #FFFFFF !important;
    transform: scale(1.05) !important;
}

/* === БЛОК ТЕКСТА ВНИЗУ КАРТОЧКИ === */

/* Прячем стандартный текст/анонсы, чтобы не дублировались */
.tour-card > p,
.post > p,
.tour-card .entry-content,
.post .entry-content,
.tour-card .wp-block-post-excerpt,
.post .wp-block-post-excerpt {
    display: none !important;
}

/* Сам блок описания внизу */
.tour-card .card-text-container,
.post .card-text-container {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;          /* одинаковый отступ от низа и боков */
    z-index: 3 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(225, 112, 85, 0.16) !important;
    box-sizing: border-box !important;

    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Заголовок внутри блока (если используешь) */
.tour-card .card-text-container h4,
.post .card-text-container h4 {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #E17055 !important;
}

/* Текст описания */
.tour-card .card-text-container p,
.post .card-text-container p {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Кнопка внутри описания */
.tour-card .card-text-container .read-more,
.post .card-text-container .read-more {
    display: inline-block !important;
    margin-top: 8px !important;
    padding: 8px 20px !important;
    background: linear-gradient(135deg, #E17055, #FF7675) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Ховер блока */
.tour-card:hover .card-text-container,
.post:hover .card-text-container {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 28px rgba(225, 112, 85, 0.22) !important;
}

/* === КНОПКА С АНИМАЦИЕЙ === */
.tour-card a.button,
.tour-card .wp-block-button__link,
.tour-card .elementor-button,
.tour-card .more-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px 25px 25px 25px !important;
    padding: 14px 30px !important;
    background: linear-gradient(135deg, #E17055 0%, #FF7675 100%) !important;
    color: white !important;
    text-align: center !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.4, 1.2) !important;
    position: relative !important;
    z-index: 3 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(225, 112, 85, 0.35) !important;
    letter-spacing: 0.8px !important;
}

/* Эффект "свечения" кнопки */
.tour-card a.button::before,
.tour-card .wp-block-button__link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent) !important;
    transition: left 0.7s ease !important;
}

.tour-card a.button:hover,
.tour-card .wp-block-button__link:hover,
.tour-card .elementor-button:hover,
.tour-card .more-link:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(225, 112, 85, 0.5),
                0 0 0 3px rgba(255, 255, 255, 0.2) !important;
    letter-spacing: 1.2px !important;
    background: linear-gradient(135deg, #FF7675 0%, #E17055 100%) !important;
}

.tour-card a.button:hover::before,
.tour-card .wp-block-button__link:hover::before {
    left: 100% !important;
}

/* Эффект пульсации кнопки */
@keyframes pulse {
    0% { box-shadow: 0 8px 20px rgba(225, 112, 85, 0.35); }
    50% { box-shadow: 0 8px 25px rgba(225, 112, 85, 0.5), 0 0 15px rgba(255, 118, 117, 0.4); }
    100% { box-shadow: 0 8px 20px rgba(225, 112, 85, 0.35); }
}

.tour-card a.button,
.tour-card .wp-block-button__link {
    animation: pulse 3s infinite !important;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .wp-block-query-loop,
    .tours-grid,
    .elementor-posts-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .wp-block-query-loop,
    .tours-grid,
    .elementor-posts-container,
    .et_pb_blog_grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 25px !important;
    }
    
    .tour-card h2,
    .tour-card h3 {
        font-size: 22px !important;
        margin: 0 20px 10px 20px !important;
    }
    
    .tour-price,
    .price {
        font-size: 20px !important;
        margin: 0 20px 10px 20px !important;
    }
    
    .tour-card .card-text-container,
    .post .card-text-container {
        left: 15px !important;
        right: 15px !important;
        padding: 15px !important;
    }
    
    .tour-card .card-text-container p,
    .post .card-text-container p {
        max-width: 240px !important;
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
    }
}

@media (max-width: 480px) {
    .wp-block-query-loop,
    .tours-grid,
    .elementor-posts-container,
    .et_pb_blog_grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 15px 10px !important;
    }
    
    .tour-card .card-text-container,
    .post .card-text-container {
        left: 10px !important;
        right: 10px !important;
        padding: 12px !important;
    }
    
    .tour-card .card-text-container p,
    .post .card-text-container p {
        max-width: 200px !important;
    }
}

/* === КРАСИВЫЙ HERO ДЛЯ KAKTUS-TOUR === */

.home-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.home-hero-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.home-hero-section:hover .bg-image {
    transform: scale(1);
}

.home-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 30%,
        transparent 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #FFEAA7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, #E17055 0%, #FF7675 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(225, 112, 85, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.7s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(225, 112, 85, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.hero-btn-primary:hover::before {
    left: 100%;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@keyframes buttonGlow {
    0% { box-shadow: 0 10px 30px rgba(225, 112, 85, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(225, 112, 85, 0.7), 0 0 20px rgba(255, 118, 117, 0.4); }
    100% { box-shadow: 0 10px 30px rgba(225, 112, 85, 0.4); }
}

.hero-btn-primary {
    animation: buttonGlow 3s infinite;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slider-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-indicator {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.slider-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #E17055, #FF7675);
    transition: left 0.5s ease;
}

.slider-indicator.active::after {
    left: 0;
}

.slider-indicator:hover {
    transform: scaleY(1.5);
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .home-hero-section {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .slider-nav {
        right: 20px;
    }
    
    .slider-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .slider-nav {
        display: none;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.wp-block-button__link {
    padding: 18px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all 0.4s ease !important;
}

.wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}
/* ============================================
   HEADER ДЛЯ BLOCKSY - ФИНАЛЬНАЯ ВЕРСИЯ
   ТЕКСТ ЗАЛИВАЕТСЯ ГОЛУБЫМ СЛЕВА НАПРАВО
   ОРИГИНАЛЬНАЯ ПОЛОСКА UNDERLINE
   ============================================ */

/* 1. ХЕДЕР - ПРОЗРАЧНЫЙ С УМЕРЕННЫМ ЗАТЕМНЕНИЕМ И РАЗМЫТИЕМ */
body header.ct-header [data-row="middle"] {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-bottom: 1px solid rgba(0, 172, 198, 0.35) !important;
    box-shadow: none !important;
}

body header.ct-header [data-sticky*="yes"] [data-row="middle"] {
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-bottom: 1px solid rgba(0, 172, 198, 0.5) !important;
}

/* 2. ЛОГОТИП - РАСТЯГИВАНИЕ */
body .site-branding {
    width: 100% !important;
    min-width: 580px !important;
    max-width: 800px !important;
    display: inline-block !important;
}

body .site-logo-container {
    display: block !important;
    width: 100% !important;
    min-width: 580px !important;
    max-width: 800px !important;
}

body .site-branding img {
    width: 100% !important;
    min-width: 580px !important;
    max-width: 800px !important;
    height: auto !important;
    max-height: 85px !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: brightness(1.15) contrast(1.08) drop-shadow(0 2px 5px rgba(0, 172, 198, 0.4)) !important;
}

/* 3. ВОЗВРАЩАЕМ КОЛОНКАМ ИХ РОДНЫЕ СТИЛИ */
body header.ct-header [data-column="start"] {
    flex: initial !important;
    min-width: initial !important;
    width: auto !important;
}

/* 4. СДВИГАЕМ ПРАВУЮ КОЛОНКУ (МЕНЮ И КНОПКУ) ЕЩЁ ЛЕВЕЕ */
body header.ct-header [data-column="end"] {
    margin-left: -30px !important;
    padding-left: 0 !important;
}

/* 5. ССЫЛКИ МЕНЮ - ЭФФЕКТ ЗАЛИВКИ ТЕКСТА СЛЕВА НАПРАВО + UNDERLINE */
body #header-menu-1 .ct-menu-link,
body .ct-header-menu > ul > li > a {
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 10px 12px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    letter-spacing: 0.3px !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 6px !important;
    text-decoration-color: rgba(255, 255, 255, 0.4) !important;
    text-decoration-skip-ink: none !important;
    
    background: linear-gradient(90deg, #00ACC6 0%, #00ACC6 40%, white 40%, white 100%) !important;
    background-size: 250% 100% !important;
    background-position: 100% 0 !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    transition: background-position 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                text-decoration-color 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body #header-menu-1 .ct-menu-link:hover,
body .ct-header-menu > ul > li > a:hover {
    background-position: 0 0 !important;
    text-decoration-color: #00ACC6 !important;
    text-shadow: 0 2px 8px rgba(0, 172, 198, 0.3) !important;
}

body #header-menu-1 .current-menu-item > .ct-menu-link,
body #header-menu-1 .current_page_item > .ct-menu-link,
body .ct-header-menu .current-menu-item > a,
body .ct-header-menu .current_page_item > a {
    background-position: 0 0 !important;
    text-decoration-color: #00ACC6 !important;
    text-shadow: 0 2px 8px rgba(0, 172, 198, 0.3) !important;
}

/* 6. ВЫПАДАЮЩЕЕ МЕНЮ */
body #header-menu-1 .sub-menu,
body .ct-header-menu .sub-menu {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 0 !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 172, 198, 0.2) !important;
    min-width: 200px !important;
    width: auto !important;
    max-width: 240px !important;
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    box-sizing: border-box !important;
}

/* 7. ССЫЛКИ В ПОДМЕНЮ */
body #header-menu-1 .sub-menu .ct-menu-link,
body .ct-header-menu .sub-menu a {
    color: #1a1a1a !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    margin: 2px 6px !important;
    border-radius: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    text-decoration: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #1a1a1a !important;
    transition: all 0.3s ease !important;
}

body #header-menu-1 .sub-menu .ct-menu-link:before,
body .ct-header-menu .sub-menu a:before {
    content: '→' !important;
    opacity: 0 !important;
    margin-right: -6px !important;
    color: #00ACC6 !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

body #header-menu-1 .sub-menu .ct-menu-link:hover:before,
body .ct-header-menu .sub-menu a:hover:before {
    opacity: 1 !important;
    margin-right: 10px !important;
}

body #header-menu-1 .sub-menu .ct-menu-link:hover,
body .ct-header-menu .sub-menu a:hover {
    color: #00ACC6 !important;
    background: rgba(0, 172, 198, 0.08) !important;
    padding-left: 16px !important;
    transform: translateX(3px) !important;
    font-weight: 600 !important;
}

/* 8. СТРЕЛОЧКИ РАЗВЕРТЫВАНИЯ */
body #header-menu-1 .ct-toggle-dropdown-desktop svg.ct-icon path,
body .ct-header-menu .menu-item-has-children > a:after {
    fill: white !important;
    color: white !important;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
}

body #header-menu-1 .menu-item:hover .ct-toggle-dropdown-desktop svg.ct-icon {
    transform: rotate(180deg) !important;
    transition: transform 0.3s ease !important;
}

body #header-menu-1 .menu-item:hover .ct-toggle-dropdown-desktop svg.ct-icon path,
body .ct-header-menu .menu-item-has-children:hover > a:after {
    fill: #00ACC6 !important;
    color: #00ACC6 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 172, 198, 0.4)) !important;
}

/* 9. КНОПКА КОНТАКТЫ */
body .ct-header-cta .ct-button {
    background: linear-gradient(135deg, #00ACC6, #007a8c) !important;
    color: white !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

body .ct-header-cta .ct-button:hover {
    background: linear-gradient(135deg, #007a8c, #00ACC6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 172, 198, 0.4) !important;
}

/* 10. УБИРАЕМ ФОНЫ */
body .ct-header [data-row="middle"] > div,
body .ct-header .ct-container-fluid,
body .ct-header .ct-section {
    background: transparent !important;
}

/* 11. КУРСЫ ВАЛЮТ НЕ СМЕЩАЕМ */
body .ct-header-text {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
}

/* 12. СКРЫВАЕМ СТРЕЛОЧКИ */
body #header-menu-1 .ct-toggle-dropdown-desktop,
body .ct-header-menu .menu-item-has-children > a:after,
body .ct-header-menu .menu-item-has-children .ct-toggle-dropdown-desktop,
body #header-menu-1 .ct-icon,
body .ct-header-menu .ct-icon {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ - ЮВЕЛИРНАЯ РАБОТА
   ============================================ */

/* Планшеты (до 1200px) */
@media (max-width: 1200px) {
    body #header-menu-1 .ct-menu-link,
    body .ct-header-menu > ul > li > a {
        font-size: 13px !important;
        padding: 8px 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    body .ct-header-cta .ct-button {
        font-size: 12px !important;
        padding: 6px 14px !important;
    }
    
    body .site-branding {
        min-width: 400px !important;
        max-width: 550px !important;
    }
    
    body .site-branding img {
        min-width: 400px !important;
        max-width: 550px !important;
        max-height: 65px !important;
    }
    
    body header.ct-header [data-column="end"] {
        margin-left: -20px !important;
    }
    
    body #header-menu-1 {
        transform: translateX(-20px) !important;
    }
    
    body .ct-header-cta {
        transform: translateX(-15px) !important;
    }
}

/* Маленькие планшеты и большие телефоны (до 992px) */
@media (max-width: 992px) {
    body .site-branding {
        min-width: 280px !important;
        max-width: 380px !important;
    }
    
    body .site-branding img {
        min-width: 280px !important;
        max-width: 380px !important;
        max-height: 55px !important;
    }
    
    body header.ct-header [data-column="end"] {
        margin-left: 0 !important;
    }
    
    body #header-menu-1 {
        transform: translateX(0) !important;
    }
    
    body .ct-header-cta {
        transform: translateX(0) !important;
    }
    
    body #header-menu-1 .menu,
    body .ct-header-menu {
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    body #header-menu-1 .menu .ct-menu-link,
    body .ct-header-menu .menu-item > a {
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        color: #1a1a1a !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        text-decoration: underline !important;
        text-decoration-color: rgba(0, 0, 0, 0.3) !important;
        font-size: 14px !important;
    }
    
    body #header-menu-1 .menu .ct-menu-link:hover,
    body .ct-header-menu .menu-item > a:hover {
        color: #00ACC6 !important;
        text-decoration-color: #00ACC6 !important;
    }
    
    body .ct-burger span {
        background: #00ACC6 !important;
    }
    
    body #header-menu-1 .sub-menu,
    body .ct-header-menu .sub-menu {
        border-left: 3px solid #00ACC6 !important;
        border-radius: 0 4px 4px 0 !important;
        background: #f8f9fa !important;
    }
    
    /* Курсы валют на мобильных */
    body .kaktus-rates-widget {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    body .kaktus-currency-item {
        width: auto !important;
        min-width: 70px !important;
        padding: 4px 8px !important;
    }
    
    body .kaktus-rate {
        font-size: 11px !important;
    }
    
    body .kaktus-code {
        font-size: 10px !important;
    }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
    body .site-branding {
        min-width: 200px !important;
        max-width: 280px !important;
    }
    
    body .site-branding img {
        min-width: 200px !important;
        max-width: 280px !important;
        max-height: 45px !important;
    }
    
    body #header-menu-1 .ct-menu-link,
    body .ct-header-menu > ul > li > a {
        font-size: 12px !important;
        padding: 6px 6px !important;
    }
    
    body .ct-header-cta .ct-button {
        font-size: 11px !important;
        padding: 5px 12px !important;
    }
    
    body .kaktus-currency-item {
        min-width: 60px !important;
        padding: 3px 6px !important;
    }
    
    body .kaktus-rate {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    
    body .kaktus-code {
        font-size: 9px !important;
    }
}

/* Маленькие телефоны (до 576px) */
@media (max-width: 576px) {
    body .site-branding {
        min-width: 160px !important;
        max-width: 220px !important;
    }
    
    body .site-branding img {
        min-width: 160px !important;
        max-width: 220px !important;
        max-height: 40px !important;
    }
    
    body #header-menu-1 .ct-menu-link,
    body .ct-header-menu > ul > li > a {
        font-size: 10px !important;
        padding: 4px 4px !important;
    }
    
    body .ct-header-cta .ct-button {
        font-size: 9px !important;
        padding: 4px 10px !important;
    }
    
    body .kaktus-currency-item {
        min-width: 50px !important;
        padding: 2px 4px !important;
    }
    
    body .kaktus-rate {
        font-size: 8px !important;
        padding: 1px 3px !important;
    }
    
    body .kaktus-code {
        font-size: 8px !important;
    }
}

/* 13. ДОПОЛНИТЕЛЬНЫЕ ПРАВКИ ДЛЯ СДВИГА МЕНЮ */
body #header-menu-1 {
    transform: translateX(-40px) !important;
}

body .ct-header-cta {
    transform: translateX(-30px) !important;
}

/* 14. РАССТОЯНИЕ МЕЖДУ ССЫЛКАМИ В МЕНЮ */
body #header-menu-1 .ct-menu-link,
body .ct-header-menu > ul > li > a {
    margin-left: 2px !important;
    margin-right: 2px !important;
}

/* 15. РАЗМЕР ССЫЛОК МЕНЮ (БАЗОВЫЙ) */
body #header-menu-1 .ct-menu-link,
body .ct-header-menu > ul > li > a {
    font-size: 15px !important;
}

/* 16. РАЗМЕР КНОПКИ КОНТАКТЫ (БАЗОВЫЙ) */
body .ct-header-cta .ct-button {
    font-size: 14px !important;
    padding: 8px 20px !important;
}

/* 17. АНИМАЦИЯ ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ */
@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body #header-menu-1 .sub-menu,
body .ct-header-menu .sub-menu {
    animation: dropdownReveal 0.2s ease !important;
}
/* Каталог туров: «Календарь дат» / «Позвонить» — компактно, в одну линию */
.kaktus-tour-card__info-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.kaktus-tour-card__dates-btn,
.kaktus-tour-card__phone-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.kaktus-tour-card__info-btn-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}