/* Подключение шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Montserrat';
    src: url('../public/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
}

/* Предотвращаем скролл за пределы контента */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Hero Search Section */
.hero-search-section {
    background:
        linear-gradient(135deg, rgba(255, 186, 73, 0.32) 0%, rgba(255, 159, 26, 0.32) 100%),
        url('../public/land/Hurghada-Egypt-11.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 240px 0 60px;
    position: relative;
    overflow: visible;
    margin-top: 0;
    min-height: 65vh;
}

body.theme-sharm .hero-search-section {
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.35) 0%, rgba(37, 99, 235, 0.35) 100%),
        url('../public/land/sarm-el-seyh-shaba-cami1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.theme-phuket .hero-search-section {
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.32) 0%, rgba(5, 150, 105, 0.32) 100%),
        url('../public/land/HeroLand9.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 186, 73, 0.22) 0%, rgba(255, 159, 26, 0.22) 100%),
        rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1;
}

body.theme-sharm .hero-search-section::before {
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.22) 0%, rgba(37, 99, 235, 0.22) 100%),
        rgba(10, 30, 70, 0.35);
}

body.theme-phuket .hero-search-section::before {
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.22) 0%, rgba(5, 150, 105, 0.22) 100%),
        rgba(7, 47, 32, 0.3);
}

.hero-search-container {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-search-title {
    color: #ffffff;
    font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* Мобильные устройства - уменьшенный отступ для контактной полоски */
@media (max-width: 768px) {
    .hero-search-section {
        margin-top: 0;
        padding: 150px 0 40px;
        background-attachment: scroll;
        min-height: auto;
    }
    
    .hero-search-title {
        font-size: 2.1rem;
        margin-top: 3rem;
    }
    
    .hero-search-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .weather-widget {
        font-size: 0.88rem;
        padding: 7px 10px;
        margin-bottom: 12px;
    }
}

.hero-search-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.weather-widget {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 0 auto 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.98);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
}

.weather-widget__label {
    font-weight: 600;
}

.weather-widget__value {
    font-weight: 400;
}

.search-form-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.08);
    max-width: 520px;
    margin: 0 auto 24px;
    position: relative;
    border: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    will-change: transform;
    z-index: 2;
}

.search-form-container.is-fixed {
    position: fixed;
    top: calc(var(--sticky-offset, 140px) - 20px);
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 460px);
    z-index: 1101;
    border: none;
    box-shadow: 0 16px 40px rgba(15, 43, 81, 0.18);
    backdrop-filter: blur(12px) saturate(130%);
    padding: 12px;
    display: block;
}

body.sticky-search-active .search-form-container.is-fixed {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .search-form-container.is-fixed {
        width: min(90vw, 300px);
        border-radius: 12px;
        padding: 10px;
    }
}

.search-form-container.is-fixed .search-input-wrapper {
    max-width: none;
}

.search-form-container.is-fixed .main-search-input {
    margin-bottom: 0;
    padding: 0 12px;
    border-radius: 10px;
    min-height: 40px;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow: 0 6px 20px rgba(15, 43, 81, 0.16);
}

.search-form-container.is-fixed .filters-row {
    display: flex;
    gap: 8px;
}

.search-form-container.is-fixed .filters-row .filter-dropdown {
    display: none;
}

.search-form-container.is-fixed .city-quick-select {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.search-form-container.is-fixed #searchInput {
    padding: 12px 0;
    font-size: 0.96rem;
}

@media (max-width: 768px) {
    .search-form-container.is-fixed .search-input-wrapper {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .search-form-container.is-fixed .main-search-input {
        padding: 0 10px;
        min-height: 38px;
    }

    .search-form-container.is-fixed #searchInput {
        padding: 9px 0;
        font-size: 0.84rem;
    }
}

.search-form-placeholder {
    display: none;
    width: 100%;
    pointer-events: none;
}

.search-form-placeholder.is-active {
    display: block;
}

body.nav-open .search-form-container,
body.nav-open .search-form-placeholder {
    display: none !important;
}

.search-form-sentinel {
    height: 0;
    margin: 0;
    padding: 0;
}

.main-search-input {
    position: relative;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 0 14px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.main-search-input:focus-within {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 186, 73, 0.22), 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    color: #ffb347;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.main-search-input:focus-within .search-icon {
    color: #5a67d8;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    background: transparent;
    color: #2d3748;
    font-weight: 500;
}

#searchInput::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

/* Красивая ссылка на цены */
.price-link-container {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.price-link-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4), 
                0 4px 12px rgba(25, 118, 210, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.price-link-button::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.5s ease;
}

.price-link-button:hover::before {
    left: 100%;
}

.price-link-button:hover {
    transform: translateY(-3px) scale(1.03);
}

.price-link-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}


.filters-row {
    aspect-ratio: auto;
    padding: 0;
    gap: 0;
    margin: 0;
}
        /* display: none !important;
    padding: 12px 16px;
    padding-right: 40px;
    .category-cards__scroll-next svg,
    .category-cards__scroll-next:focus-visible,
    .category-cards__scroll-next.is-hidden,
    .category-cards__scroll-next.is-disabled {
        display: none !important;
    }
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #ffb347;
    pointer-events: none;
    transition: all 0.3s ease;
} */

.filter-dropdown:focus-within .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #ff9f1a;
}

.search-input-wrapper {
    position: relative;
}

.suggestions-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 43, 81, 0.12);
    overflow: hidden;
    z-index: 1200;
    border: 1px solid rgba(15, 43, 81, 0.08);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.suggestions-box.hidden {
    display: none;
}

.suggestions-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: rgba(240, 243, 255, 0.9);
    color: #6c7a89;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.suggestions-close:hover,
.suggestions-close:focus {
    background: #4facfe;
    color: #ffffff;
}

.suggestions {
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 44px 0 10px;
}

.suggestions li {
    padding: 14px 22px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
    font-weight: 500;
    color: #333;
}

.suggestions li:hover {
    background-color: #f8f9ff;
    color: #4facfe;
}

.suggestions li:last-child {
    border-bottom: none;
}

.suggestion-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-title {
    font-weight: 600;
    color: #0f2b51;
    line-height: 1.4;
}

.match-highlight {
    background: rgba(255, 188, 66, 0.35);
    border-radius: 4px;
    padding: 0 3px;
}

.suggestion-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6c7a89;
    margin-top: 4px;
    gap: 12px;
}

.suggestion-location {
    font-weight: 500;
}

.suggestion-price {
    font-weight: 600;
    color: #ff6b2c;
}

@media (max-width: 600px) {
    .suggestions {
        max-height: 260px;
    }

    .suggestions li {
        padding: 12px 18px;
        font-weight: 400;
    }

    .suggestion-item {
        gap: 2px;
    }

    .suggestion-title {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .suggestion-meta {
        font-size: 11px;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .suggestions li {
        padding: 10px 16px;
    }

    .suggestion-title {
        font-size: 0.85rem;
    }

    .suggestion-meta {
        font-size: 10px;
    }
}

.hidden {
    display: none;
}

/* Мини-поиск как на детальной странице тура */
.tour-detail-search-bar {
    padding: 12px 0;
    margin-top: 32px;
}

.tour-detail-search-bar--embedded {
    margin-top: 0;
    padding: 0;
}

.tour-detail-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.tour-detail-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.tour-detail-search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 480px;
}

.tour-detail-search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #888;
}

.tour-detail-search-field {
    flex: 1;
    padding: 12px 14px 12px 24px;
    border: 1px solid rgba(255, 179, 71, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    color: #1a1a1a;
}

.tour-detail-search-field::placeholder {
    color: #999;
}

.tour-detail-search-field:focus {
    border-color: #ffb347;
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.15);
}

body.theme-sharm .tour-detail-search-field {
    border-color: rgba(96, 165, 250, 0.3);
}

body.theme-sharm .tour-detail-search-field:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

body.theme-phuket .tour-detail-search-field {
    border-color: rgba(52, 211, 153, 0.3);
}

body.theme-phuket .tour-detail-search-field:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.tour-detail-suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 43, 81, 0.12);
    z-index: 1200;
    max-height: 420px;
    overflow-y: auto;
    margin-top: 8px;
}

.tour-detail-suggestions-box.hidden {
    display: none;
}

.tour-detail-suggestions {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.tour-detail-suggestions li {
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tour-detail-suggestions li:hover {
    background: rgba(255, 179, 71, 0.08);
}

body.theme-sharm .tour-detail-suggestions li:hover {
    background: rgba(96, 165, 250, 0.08);
}

body.theme-phuket .tour-detail-suggestions li:hover {
    background: rgba(52, 211, 153, 0.08);
}

.tour-detail-suggestions .suggestion-item {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: inherit;
}

.tour-detail-suggestions .suggestion-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f2b51;
    line-height: 1.4;
    margin-bottom: 4px;
}

.tour-detail-suggestions .suggestion-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #6c7a89;
}

.tour-detail-suggestions .suggestion-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tour-detail-suggestions .suggestion-location::before {
    content: '📍';
    font-size: 0.75rem;
}

.tour-detail-suggestions .suggestion-price {
    font-weight: 600;
    color: #ff9f1a;
}

body.theme-sharm .tour-detail-suggestions .suggestion-price {
    color: #2563eb;
}

body.theme-phuket .tour-detail-suggestions .suggestion-price {
    color: #059669;
}

.tour-detail-search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #ffb347 0%, #ff9f1a 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 159, 26, 0.35);
}

.tour-detail-search-btn svg {
    width: 16px;
    height: 16px;
}

.tour-detail-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 159, 26, 0.45);
}

body.theme-sharm .tour-detail-search-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

body.theme-sharm .tour-detail-search-btn:hover {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

body.theme-phuket .tour-detail-search-btn {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.35);
}

body.theme-phuket .tour-detail-search-btn:hover {
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45);
}

/* City Quick Select Buttons for UAE */
.city-quick-select {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.city-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 179, 71, 0.3);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.city-btn:hover {
    background: #fff;
    border-color: #ffb347;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.25);
}

.city-btn.active {
    background: linear-gradient(135deg, #ffb347 0%, #ff9f1a 100%);
    border-color: #ff9f1a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 179, 71, 0.4);
}

.city-btn span:first-child {
    font-size: 1.1rem;
}

.city-name {
    font-size: 0.9rem;
}

body.theme-sharm .city-btn {
    border-color: rgba(96, 165, 250, 0.3);
}

body.theme-sharm .city-btn:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.25);
}

body.theme-sharm .city-btn.active {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

body.theme-phuket .city-btn {
    border-color: rgba(52, 211, 153, 0.3);
}

body.theme-phuket .city-btn:hover {
    border-color: #34d399;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.25);
}

body.theme-phuket .city-btn.active {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

@media (max-width: 768px) {
    .tour-detail-search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .tour-detail-search-input-box,
    .tour-detail-search-btn {
        width: 100%;
    }

    .tour-detail-search-btn {
        justify-content: center;
    }
    
    .city-quick-select {
        gap: 6px;
    }
    
    .city-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .city-btn span:first-child {
        font-size: 1rem;
    }
}

.search-form-container.is-fixed .tour-detail-search-bar {
    padding: 0;
}

.search-form-container.is-fixed .tour-detail-search-wrapper {
    flex-direction: column;
    align-items: stretch;
}

.search-form-container.is-fixed .tour-detail-search-btn {
    width: 100%;
    justify-content: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-search-title {
        font-size: 2.1rem;
        margin-top: 3rem;
    }
    
    .hero-search-subtitle {
        font-size: 1.1rem;
    }
    
    .search-form-container {
        padding: 16px;
        border-radius: 14px;
    }

    .price-link-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .price-icon {
        width: 16px;
        height: 16px;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .suggestions-box {
        width: calc(100% - 32px);
        left: 16px;
    }
}

@media (max-width: 480px) {
    .hero-search-section {
        padding: 18px 0 24px;
    }
    
    .hero-search-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-search-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .search-form-container {
        padding: 14px;
        border-radius: 14px;
    }
    
    .main-search-input {
        margin-bottom: 12px;
        padding: 0 14px;
    }

    .suggestions-box {
        width: calc(100% - 24px);
        left: 12px;
    }
    
    #searchInput {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .price-link-container {
        margin-bottom: 12px;
    }
    
    .filter-dropdown select {
        padding: 11px 14px;
        padding-right: 38px;
        font-size: 0.9rem;
    }
    
    .filters-row {
        gap: 12px;
    }
}

/* Container for tours grid */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Улучшенный spacing между секциями */
.current-prices-section {
    margin-bottom: 0;
}

/* Tours Grid - улучшенная адаптивная сетка */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
    padding: 2rem 0;
    justify-items: center;
}

/* На широких экранах ограничиваем до 3 колонок */
@media (min-width: 1400px) {
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1320px;
        margin: 0 auto;
    }
}

/* На средних экранах до 3 колонок */
@media (min-width: 900px) and (max-width: 1399px) {
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Планшеты - 2 колонки */
@media (min-width: 600px) and (max-width: 899px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #333;
    font-size: 1.1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(79, 172, 254, 0.3);
    border-top: 3px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #333;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4facfe;
}

/* Empty state (no tours) */
body.theme-tours .tours-grid .no-tours {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.25rem 0;
}

body.theme-tours .no-tours__card {
    width: min(820px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px) saturate(140%);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.12);
    text-align: center;
}

body.theme-tours .no-tours__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 20px rgba(15, 43, 81, 0.12), 0 0 0 1px rgba(15, 43, 81, 0.06);
    object-fit: contain;
}

body.theme-tours .no-tours__text {
    color: rgba(15, 43, 81, 0.86);
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 2px;
    text-align: center;
}

body.theme-tours .no-tours__text--yet {
    font-size: 1.18rem;
    line-height: 1.55;
    color: rgba(15, 43, 81, 0.92);
}

@media (max-width: 520px) {
    body.theme-tours .no-tours__card {
        gap: 10px;
        padding: 16px;
    }

    body.theme-tours .no-tours__text {
        font-size: 1rem;
    }
}

.no-results p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.hot-badge {
    animation: flicker 1s infinite;
}

@keyframes flicker {
    0%   { opacity: 1; }
    50%  { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-search-section {
        padding: 30px 0 50px;
    }

    .search-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .search-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .search-form-container {
        padding: 2rem 1.5rem;
    }

    .main-search-row {
        flex-direction: column;
        gap: 1rem;
    }

    .search-input-group,
    .search-button {
        width: 100%;
    }

    .filters-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-group select {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1rem 0;
        justify-items: stretch;
    }
    
    .tours-grid .tour-card {
        max-width: 100%;
        margin: 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-search-section {
        min-height: 40vh;
        padding: 1.5rem 0.5rem;
    }

    .search-title {
        font-size: 1.8rem;
    }

    .search-form-container {
        padding: 1.5rem 1rem;
    }

    .main-search-row {
        gap: 0.8rem;
    }

    .filters-row {
        gap: 0.8rem;
    }
}

/* Pagination */
.pagination { 
    display: flex; 
    justify-content: center; 
    margin: 8px 0 24px; 
}
.pager { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: #fff; 
    padding: 6px 10px; 
    border-radius: 10px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.06); 
}
.pager-btn { 
    border: 0; 
    background: #f1f3f5; 
    color: #333; 
    padding: 6px 10px; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 16px; 
}
.pager-btn:hover { 
    background: #e9ecef; 
}
.pager-btn[disabled] { 
    opacity: 0.5; 
    cursor: default; 
}
.pager-status { 
    font-size: 14px; 
    color: #495057; 
}

/* Current Prices Section */
.current-prices-section {
    background: #f8f9fa;
    padding: 24px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.current-prices-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.current-prices-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.current-prices-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.current-prices-line:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.prices-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.prices-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

.selected-location {
    font-size: 1rem;
    font-weight: 700;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd66b 0%, #ffb347 100%);
    color: #2c2a1f;
    border-radius: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

body.theme-sharm .selected-location {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}

body.theme-phuket .selected-location {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

.view-pricelist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.view-pricelist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
}

.toggle-pricelist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    cursor: pointer;
    position: relative;
}

.toggle-pricelist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
}

.toggle-pricelist-btn.active {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.toggle-pricelist-btn.active:hover {
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.toggle-pricelist-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.pricelist-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    border-radius: 12px;
    margin-top: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.pricelist-dropdown.open {
    max-height: 800px;
    margin-top: 20px;
}

.pricelist-content {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.pricelist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f3f4;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.pricelist-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.close-pricelist-btn {
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-pricelist-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.close-pricelist-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.pricelist-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 1rem;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f1f3f4;
    border-top: 3px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pricelist-grid {
    display: block;
    margin-bottom: 24px;
}

.price-item {
    background: white;
    border-radius: 6px;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.price-item:hover {
    background: #f8f9fa;
    border-color: #4facfe;
    transform: translateX(4px);
}

.price-item:last-child {
    margin-bottom: 0;
}

.price-item-content {
    flex: 1;
}

.price-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.price-item-note {
    display: none; /* Убираем описание для минимализма */
}

.price-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
    white-space: nowrap;
    padding: 4px 12px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    min-width: 60px;
}

.price-item:hover .price-item-price {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Стили для "По запросу" в прайс-листе */
.price-item-price.price-on-request {
    background: linear-gradient(135deg, #ff8a00, #ff9500);
    color: white;
    border-color: #ff8a00;
}

.price-item:hover .price-item-price.price-on-request {
    background: linear-gradient(135deg, #e67a00, #e68500);
    border-color: #e67a00;
}

.price-item-price .price-on-request-text {
    font-style: italic;
    font-weight: 600;
}

/* Состояние загрузки */
.price-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.price-item.loading .price-item-title {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    height: 16px;
    width: 70%;
}

.price-item.loading .price-item-price {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    height: 20px;
    width: 50px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Пустое состояние */
.pricelist-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.pricelist-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    opacity: 0.5;
}

.pricelist-empty-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.pricelist-empty-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricelist-footer {
    border-top: 2px solid #f1f3f4;
    padding-top: 20px;
}

.pricelist-note {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

.pricelist-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pricelist-contact span {
    font-size: 0.95rem;
    color: #495057;
    font-weight: 500;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.contact-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 172, 254, 0.4);
}

.contact-phone svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.pricelist-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Мобильные стили для секции цен */
@media (max-width: 768px) {
    .current-prices-section {
        padding: 20px 0;
    }
    
    .current-prices-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    
    .current-prices-line {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
        align-items: center;
        text-align: center;
    }
    
    .prices-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .toggle-pricelist-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .pricelist-content {
        padding: 20px 16px;
    }
    
    .pricelist-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .pricelist-title {
        font-size: 1.2rem;
    }
    
    .pricelist-grid {
        margin-bottom: 20px;
    }
    
    .price-item {
        padding: 10px 12px;
        margin-bottom: 6px;
    }
    
    .price-item-title {
        font-size: 0.9rem;
    }
    
    .price-item-price {
        font-size: 1rem;
        padding: 3px 10px;
        min-width: 50px;
    }
    
    .pricelist-contact {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .current-prices-content {
        padding: 0 15px;
    }
    
    .current-prices-line {
        padding: 16px 12px;
    }
    
    .selected-location {
        font-size: 0.9rem;
        padding: 3px 10px;
    }
    
    .toggle-pricelist-btn {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    
    .pricelist-dropdown.open {
        max-height: 600px;
    }
    
    .price-item-title {
        font-size: 0.95rem;
    }
    
    .price-item-price {
        font-size: 1.2rem;
    }
}

/* Кастомный скроллбар для списка цен */
.pricelist-content::-webkit-scrollbar {
    width: 8px;
}

.pricelist-content::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.pricelist-content::-webkit-scrollbar-thumb {
    background: #c3c9d0;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pricelist-content::-webkit-scrollbar-thumb:hover {
    background: #4facfe;
}

/* Для Firefox */
.pricelist-content {
    scrollbar-width: thin;
    scrollbar-color: #c3c9d0 #f1f3f4;
}

/* Footer with flipped hero image */
.image-footer {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    min-height: clamp(280px, 42vw, 520px);
    overflow: hidden;
    padding: clamp(36px, 7vw, 88px) 0;
    background: transparent;
}

.image-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(40px, 10vw, 120px);
    background: linear-gradient(180deg, var(--color-bg, #fdfdfd) 0%, rgba(10, 15, 20, 0) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.image-footer__image-wrapper {
    position: absolute;
    inset: 0;
    background: var(--footer-bg-color, var(--color-bg, transparent));
    z-index: 0;
    overflow: hidden;
}

.image-footer__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: rotate(180deg);
    transform-origin: center;
    background: transparent;
    mix-blend-mode: normal;
}

.image-footer__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: end;
    gap: 24px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 0 20px 48px 20px;
    margin-top: 100px;
}

.image-footer__content,
.image-footer__content a,
.image-footer__content .footer-brand {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-weight: 700;
}

.footer-col--brand .footer-brand {
    font-size: clamp(18px, 2.4vw, 28px);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 6px 0;
    position: relative;
    padding-left: 16px;
}

.footer-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-col--social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.footer-social:hover {
    text-decoration: underline;
}

/* Category shortcuts */
.tour-kupon-banner {
    background: #fdfdfd;
    padding: 18px 0 0;
}

.tour-kupon-banner__inner {
    position: relative;
    max-width: 430px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
}

.tour-kupon-banner__img {
    display: block;
    width: 100%;
    height: auto;
}

.tour-kupon-banner__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 43, 81, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: #14385d;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tour-kupon-banner__close:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 43, 81, 0.14);
}

.tour-kupon-banner__close svg {
    width: 18px;
    height: 18px;
}

.tour-category-shortcuts {
    background: #fdfdfd;
    padding: 32px 0 12px;
}

.category-shortcuts__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.category-shortcuts__title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1c2d4a;
    font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
    letter-spacing: -0.3px;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    position: relative;
}

.category-cards__scroll-next {
    display: none;
}

@media (min-width: 641px) {
    .category-card-group {
        display: contents;
    }
}

.category-card {
    position: relative;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    min-height: 130px;
    width: 100%;
    aspect-ratio: 1/1;
    padding: 18px;
    color: #fff;
    font-family: 'Montserrat Alternates', 'Montserrat', sans-serif;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: #182848;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    isolation: isolate;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--category-image, linear-gradient(135deg, #1a2980 0%, #26d0ce 100%));
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    transform: scale(1.05);
    transition: transform 0.4s ease, filter 0.35s ease;
    z-index: -2;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 19, 46, 0.05) 0%, rgba(12, 19, 46, 0.75) 100%);
    opacity: 0.95;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.category-card__title {
    position: relative;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(15, 43, 81, 0.18);
}

.category-card:hover::before {
    transform: scale(1.12);
    filter: brightness(1.05);
}

.category-card:hover::after {
    opacity: 0.75;
}

.category-card.is-active {
    box-shadow: 0 20px 36px rgba(15, 43, 81, 0.24);
}

.category-card.is-active::after {
    opacity: 0.55;
}

.category-card.is-active::before {
    filter: brightness(1.1);
}

/* Восстановленная верстка фильтра по категориям */
.filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0 12px;
}

.filter-dropdown {
    position: relative;
    min-width: 220px;
    flex: 0 0 auto;
}

.filter-dropdown select {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 43, 81, 0.12);
    background: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    color: #14385d;
    box-shadow: 0 10px 24px rgba(15, 43, 81, 0.08);
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-dropdown select:focus {
    border-color: rgba(255, 186, 73, 0.6);
    box-shadow: 0 12px 26px rgba(255, 174, 52, 0.24);
    outline: none;
}

.filter-dropdown .dropdown-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 16px;
    height: 16px;
    color: #ffb347;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.filter-dropdown:focus-within .dropdown-arrow {
    color: #ff9f1a;
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 768px) {
    .filters-row {
        margin: 16px 0 10px;
    }

    .filter-dropdown {
        flex: 1 1 100%;
        min-width: 0;
    }

    .filter-dropdown select {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .filter-dropdown select {
        padding: 12px 44px 12px 14px;
    }
}

@media (max-width: 900px) {
    .tour-kupon-banner {
        padding: 14px 0 0;
    }

    .tour-category-shortcuts {
        padding: 28px 0 10px;
    }

    .category-card {
        min-height: 120px;
    }
}

@media (max-width: 640px) {
    .category-shortcuts__title {
        font-size: 1.3rem;
    }

    .category-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 14px;
        padding: 0;
        overflow: visible;
    }

    .category-cards::-webkit-scrollbar {
        display: none;
    }

    .category-card-group {
        display: contents;
    }

    .category-card {
        min-height: unset;
        aspect-ratio: 1 / 1;
        padding: 16px;
    }

    .category-cards__scroll-next {
        display: none !important;
    }
}

@keyframes categoryScrollPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 8px 20px rgba(15, 43, 81, 0.32);
    }
    50% {
        transform: translateY(-50%) translateX(3px) scale(1.06);
        box-shadow: 0 10px 24px rgba(15, 43, 81, 0.36);
    }
}

@media (max-width: 900px) {
    .image-footer {
        min-height: 440px;
        padding: clamp(48px, 12vw, 96px) 0;
    }

    .image-footer__content {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
        padding: 0 20px;
    }

    .footer-col--social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .image-footer {
        min-height: clamp(240px, 28vw, 420px);
    }
}
