/*
Theme Name: tour2turkey_tmp2_fixed
Text Domain: tour2turkey_tmp2
Theme URI: https://blackstage.io
Author: blackstage.io
Author URI: https://blackstage.io
Description: work
Version: 2.1
*/
/* Подключение шрифта — пути относительно файла style.css темы */
@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('fonts/HelveticaNeueCyr-Bold.woff2') format('woff2'),
		url('fonts/HelveticaNeueCyr-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('fonts/HelveticaNeueCyr-Roman.woff2') format('woff2'),
		url('fonts/HelveticaNeueCyr-Roman.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaNeueCyr';
	src: url('fonts/HelveticaNeueCyr-Medium.woff2') format('woff2'),
		url('fonts/HelveticaNeueCyr-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}


.header_menu,
.navbar {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
}

.header_menu
{
    padding-left: 15px !important;
    padding-right: 15px !important;
}

* {
    box-sizing: border-box;
}





body{
	font-family: 'HelveticaNeueCyr', sans-serif;
	background-color:#F6F6F6!important;
	
}

.vrenianka{
	background-color:gray;
}


/******FOOTER********/
.footer_stl{
	background-color:#24A59E;
}
/* Стили для меню в подвале */
.footer_stl ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.footer_stl ul li {
	margin: 0;
}

.footer_stl ul li a {
	color: #ffffff; 
	text-decoration: none;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	line-height: 23px;
	letter-spacing: -0.41px;
	transition: color 0.3s ease;
}

.footer_stl ul li a:hover {
	color: #cccccc;
}

/* Адаптация под мобильные устройства */
@media (max-width: 767.98px) {
	.footer_stl ul {
		flex-direction: column;
		align-items: flex-start; /* Выравнивание по левому краю */
		gap: 1rem;
		padding-left: 0; /* Убираем стандартный отступ списка */
	}

	.footer_stl ul li {
		text-align: left; /* Текст слева */
	}
}
.flogo img{
	padding-top:16px;
	padding-bottom:50px;
}
.flogo {
	display: flex;
	justify-content: center; /* Центрируем по центру на всех экранах */
}

.flogo .col-sm {
	flex-grow: 1;
	text-align: center; /* Центрируем содержимое (ссылку/изображение) */
}

/* На мобильных — выравниваем по левому краю */
@media (max-width: 767.98px) {
	.flogo {
		justify-content: flex-start;
	}

	.flogo .col-sm {
		text-align: left;
	}
}
.description-subtitle{
	font-family: 'HelveticaNeueCyr', sans-serif;
	font-weight: 550;
	font-size: 16px;
	line-height: 134%;
	letter-spacing: 0%;
	colorL:#6F7789;

}

#load-more-excursions{
	background:none!important;
	color:gray!important;
	border:none!important;
}

.padtopstl{
	padding-top:10px;
}


.textstl{
	font-family:'HelveticaNeueCyr', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0px;
	text-align: center;
	color:#090723;
	padding: 20px;
}



.textstl a.greenLinkTxt{
	padding-top:10px;
	text-decoration:none;
	color:#24A59E;
}
.textstl a.greenLinkTxt:hover{
	padding-top:10px;
	text-decoration:underline;
}



.headerpostblog{
	padding-top:75px;
}

.blogstl  h1{
	margin-bottom:12px!important;
}
.blogcontent{
	padding-top:33px;
	color:#6F7789;

	font-weight: 400;
	font-style: Regular;
	font-size: 16px;

	line-height: 100%;
	letter-spacing: 0%;
	text-align: justify;

}


.blogstl .similar-tours.row.row-cols-1.row-cols-md-3.g-3 .col{
	height:116px;
}


.social-icons-section a {
	transition: transform 0.2s ease;
	filter: brightness(1); /* если нужно — можно добавить эффект при наведении */
}

.social-icons-section a:hover {
	transform: scale(1.1);
}

.socblock
{
	padding-top: 30px;
}
.socblock .soclinkblock{
	border-top: 2px solid #fff;
	width: 330px;
	margin: 0 auto;
	padding-top: 20px;
}
.socblock .soclinkblock a{
	padding:10px;
}


.container-custom{
	max-width: 1320px;
	margin: 0 auto;
}
/* Адаптивность для блока социальных ссылок */
.soclinkblock {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap; /* Перенос иконок на новую строку при узком экране */
  padding: 10px 0;
}

.soclinkblock a {
  font-size: 30px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.soclinkblock a:hover {
  color: #0d6efd; /* Можно изменить цвет при наведении */
  transform: scale(1.1);
}

/* Адаптация размера иконок на маленьких экранах */
@media (max-width: 576px) {
  .soclinkblock {
    gap: 12px;
    padding: 8px 0;
  }
  .soclinkblock a {
    font-size: 24px; /* Уменьшаем иконки на мобильных */
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .soclinkblock a {
    font-size: 26px;
  }
}


.excursion-wish-icon::after{
	content:' g';
	background:#fff;
	border-radius:1000px;
	height:32px;
	width:32px;
}


.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Растягивает элементы по краям */
    width: 100%;
}

.rating-wrap {
    display: flex;
    align-items: center;
    gap: 4px; /* Отступ между звездой и цифрой */
    margin-left: auto;
}


.distance_block2,.price-value2 {
		display:none!important;
	}


@media (max-width: 767.98px) {
	/* Стили для мобильных устройств */




}









/* 1. Гарантируем box-sizing */
*,
*::before,
*::after {
   box-sizing: border-box;
}

/* 2. Убираем overflow-x:hidden с body! */
html {
   
   /* overflow-x: hidden; /* можно оставить ТОЛЬКО на html, НЕ на body */
}

body {
    /* overflow-x: hidden — УБРАТЬ отсюда! */
	 max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
}



* {
  /*  outline: 1px solid red !important;*/
}




/* Применяем ко всем кнопкам избранного */
#wishlist-toggle-desktop,
#wishlist-toggle-mobile {
    position: relative;
    display: inline-block;
}

#wishlist-toggle-desktop[data-count]::after,
#wishlist-toggle-mobile[data-count]::after {
    content: attr(data-count);
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* Показываем цифру, если больше 0 */
#wishlist-toggle-desktop[data-count]:not([data-count="0"])::after,
#wishlist-toggle-mobile[data-count]:not([data-count="0"])::after {
    opacity: 1;
}


/* Плавающая кнопка и выпадающий список */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 12px -2px rgba(13, 110, 253, 0.4);
        background-color: #fff;
    }
    50% {
        box-shadow: 0 0 16px 0px rgba(13, 110, 253, 0.6);
        background-color: #fff;
    }
    100% {
        box-shadow: 0 0 12px -2px rgba(13, 110, 253, 0.4);
        background-color: #fff;
    }
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 12px -2px rgba(13, 110, 253, 0.4);
    /* Анимация — бесконечная, плавная */
    animation: float-pulse 3s infinite ease-in-out;
    /* Отключаем анимацию при hover, чтобы не мешалась */
    transition: transform 0.2s ease;
    position: relative;
}

.floating-btn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.social-dropdown {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
    flex-direction: column;
    gap: 5px;
}

.social-dropdown.active {
    display: flex;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    gap: 10px;
    transition: background 0.2s;
}

.social-item:hover {
    background: #f8f9fa;
}

.social-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}




/****************************************СТИЛИ ДЕСКТОП*******************/



.header_menu{
	top:0px;
	padding-left:0px!important;
	padding-right:0px!important;
}

body > section.parallax-section.position-relative > div.container-fluid.hometopheader > div > div > h2{
	text-align:center;
}

body > section.parallax-section.position-relative > div.container-fluid.hometopheader > div > div > a.basic-btn{
	display: block;
    margin: 0 auto;
    text-align: center;
}
.carousel-control-prev,.carousel-control-next
{
	    width: 50px!important;
    height: 50px!important;
    align-self: anchor-center;
}

.t2t-content-wrapper-box{
	padding-bottom:48px;
}


    .footer_stl {
        z-index: 500;
        position: relative;
    }

    .slider-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
		
    }
#t2tContentSection > div > div.t2t-content-body-area > section.directions_ex > div > div > div > div > div
{
	    padding-top: 30px;
}
#t2tContentSection > div > div.t2t-content-body-area > div.container.exthematic,
#excursions-container > div.container.exposlist
{
	    text-align: center;
}


.reviews_page_cont > div > div.t2t-content-top-bar,
.blogliststlcont  > div > div.t2t-content-top-bar{
	background:#fff;
}

.blogliststlcont > div > div.t2t-content-top-bar,
.reviews_page_cont > div > div.t2t-content-top-bar{
	max-width: 1320px;
    text-align: center;
    margin: 0 auto;
    padding-top: 48px;
}
.blogliststlcont > div > div.t2t-content-body-area > div > div
{
	padding-top: 68px;
}


#all-reviews-list .reviews_card {
	min-height:210px;
}


.content-overlay.cont_page .cont_phone img{
	padding-right:15px;
	width: 40px;
    height: auto;
}

.txt_stl_cont h5{
	/*padding-top:10px;*/
}

.content-overlay.cont_page .cont_phone a
{
	color: #373B51;
	text-decoration:none;
}

.tourstlanima  > div > div.t2t-content-top-bar{
	background:#fff;
}
.tourstlanima  > div > div.t2t-content-top-bar > div > div
{
	    max-width: 1320px;
    margin: 0 auto;	
	
}

.tourstlanima .read-more-link {
        text-decoration: none;
        color: #F36D72;
    }

#galleryContainer .gallery-item
{
	width: 200px;
    height: auto;
}



.skiptranslate{
		display:none!important;
		visibility:hidden!important;
	}
	

/* Плавающая кнопка языка */
.lang-fab-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9990;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

/* Основная круглая кнопка */
.lang-fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.lang-fab:hover,
.lang-fab:focus {
    border-color: #007cba;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.lang-fab img {
        width: 50px;
    height: 50px;
    border-radius: 100px;
    object-fit: cover;
}

/* Скрытое меню с флагами (по умолчанию внизу) */
.lang-fab-dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Не мешает кликам, пока скрыто */
}

/* Активное состояние: показываем вверх */
.lang-fab-container.active .lang-fab-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
    pointer-events: auto;
}

/* Флаги в меню */
.lang-option-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-option-fab:hover,
.lang-option-fab:focus {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.lang-option-fab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}









.t2t-tooltip-error {
    position: absolute;
    background: #d32f2f;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.popup-arrow{
	background: rgb(0 0 0 / 74%)!important;
}
#bookingModal{
	
}












/* Плавающая кнопка бронирования - ТОЛЬКО МОБИЛЬНЫЕ */
.sticky-booking-wrapper {
    position: fixed;
    bottom: 20px;
 /*   left: 50%;*/
    transform: translateX(-50%);
    z-index: 9999; /* Выше футера и модалок */
    width: 50%;
    max-width: 600px; /* Опционально: ограничение ширины на больших экранах */
    padding: 0 16px;
    pointer-events: none; /* Чтобы клики проходили сквозь обёртку */
    transition: bottom 0.15s ease-out;
    box-sizing: border-box;
}

.sticky-booking-btn {
    display: block;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 14px !important;
    font-size: 16px !important;
    pointer-events: auto; /* Включаем клики для самой кнопки */
    text-align: center;
    padding: 14px 20px;
    box-sizing: border-box;
}

/* Адаптив: на очень маленьких экранах можно увеличить ширину */
@media (max-width: 480px) {
    .sticky-booking-wrapper {
        width: 90%;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ✅ ПОКАЗЫВАЕМ ТОЛЬКО НА МОБИЛЬНЫХ (до 767px) */
@media (max-width: 767px) {
    .sticky-booking-wrapper {
        /* display управляется через JavaScript */
    }
    
    .sticky-booking-btn {
        font-size: 16px;
        padding: 14px 20px;
    }
}

/* ✅ НА ДЕСКТОПЕ - СКРЫТО */
@media (min-width: 768px) {
    .sticky-booking-wrapper {
        display: none ;
    }
}


.distance_block2 a,.distance_block1 a{
    text-decoration: none !important;
    color: #000000a1;
}




.feature-icon-wrapper {
	position: relative;
	display: inline-block;
}

.badge {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	color: white;
	font-weight: bold;
	border: 2px solid white;
	box-sizing: border-box;
}

.badge-success {
	background-color: #28a745; /* зелёный */
}

.badge-error {
	background-color: #dc3545; /* красный */
}


/* Модалка — поверх ВСЕГО, включая шапку */
#bookingModal {
    z-index: 9999 !important;
}
#bookingModal .modal-backdrop {
    z-index: 9998 !important;
}

.modal-footer {
    justify-content: space-between;
}


#tour-date-picker,.modal-footer .btn 
{
	    background-color: var(--primary-color);
    color: #fff !important;    
    border: none;
    border-radius: 8px;  
    font-size: 16px;
    text-decoration: none;
    text-align: center;
}


.graycolorbtn{
	background-color:gray!important;
}


/* Исправление z-index для подсказок Google Places */
#hotel-address-input + .pac-container {
    z-index: 10000 !important;
}
.pac-container {
    z-index: 10000 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.modal-content {
    overflow: visible !important;
}
.modal-body {
    overflow: visible !important;
}
/* ✅ ИСПРАВЛЕНИЕ: выпадающий список кодов стран */
.iti__dropdown-content {
    z-index: 10001 !important;
}
.iti {
    z-index: 10001 !important;
}
.iti__country-list {
    z-index: 10001 !important;
    max-height: 200px;
    overflow-y: auto;
}

#tour-date-picker:invalid {
border-color: #dc3545 !important;
}
#tour-date-picker:not([value=""]) {
border-color: #28a745 !important;
}

/* === ИСПРАВЛЕНИЕ: кнопка переключения языков === */

/* Контейнер не перехватывает клики, пока не активен */
.lang-fab-container {
    pointer-events: none; /* ✅ Ключевое исправление */
}

/* Разрешаем клики внутри, когда меню открыто */
.lang-fab-container.active {
    pointer-events: auto;
}

/* Кнопка всегда должна быть кликабельной */
.lang-fab {
    pointer-events: auto !important; /* ✅ Гарантируем клики по кнопке */
}

/* Меню с флагами: безопасно скрыто */
.lang-fab-dropdown {
    pointer-events: none;
}

/* Меню активно: разрешаем взаимодействие */
.lang-fab-container.active .lang-fab-dropdown {
    pointer-events: auto;
}









.sticky-booking-btn {
    display: flex;
    justify-content: center;
   
}












/* =================================================================
   T2T: Плавающая кнопка бронирования — УНИКАЛЬНЫЕ СТИЛИ (МОБИЛКА)
   ================================================================= */

/* Обёртка — только мобильные устройства */
.t2t-sticky-booking-wrapper {
    position: fixed;
    bottom: 29px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 888;
    width: calc(100% - 32px); /* Отступы по бокам */
    max-width: 50%;
    padding: 0;
    pointer-events: none; /* Чтобы клики проходили сквозь обёртку */
    display: none; /* По умолчанию скрыто, показывается через JS */
    box-sizing: border-box;
}

/* Сама кнопка */
.t2t-sticky-booking-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    background-color: var(--primary-color, #24A59E) !important;
    color: #ffffff !important;
    
    border-radius: 16px !important;
    font-family: 'HelveticaNeueCyr', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    pointer-events: auto; /* Включаем клики для кнопки */
    animation: t2t-slide-up 0.3s ease-out;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	border:1px solid #fff!important;
}

.t2t-sticky-booking-btn:hover,
.t2t-sticky-booking-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Анимация появления */
@keyframes t2t-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Показываем ТОЛЬКО на мобильных (до 767px) */
@media (max-width: 767px) {
    .t2t-sticky-booking-wrapper {
        display: block; /* Управление через JS, но разрешаем показ */
    }
    
    .t2t-sticky-booking-btn {
        font-size: 15px !important;
        height: 50px;
    }
}

/* ✅ На планшетах и десктопе — скрыто */
@media (min-width: 768px) {
    .t2t-sticky-booking-wrapper {
        display: none !important;
    }
}

/* ✅ Очень маленькие экраны (320px) */
@media (max-width: 359px) {
    .t2t-sticky-booking-wrapper {
        width: calc(100% - 24px);
        max-width: 280px;
    }
    .t2t-sticky-booking-btn {
        font-size: 13px !important;
        padding: 0 16px;
    }
}
.contact-method-icons .form-check-label {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.contact-method-icons .form-check-input:checked + .form-check-label {
    border-color: #24A59E;
    background: rgba(36, 165, 158, 0.1);
}

.contact-method-icons .form-check-label:hover {
    background: rgba(0, 0, 0, 0.05);
}

.contact-method-icons .form-check {
    margin: 0;
}

/********
 * Форма отзывов
 * /

/* Центрирование формы отзывов */
#review-form-container {
    text-align: center;
}

#review-form-container #respond {
    display: inline-block;
    text-align: left;
    max-width: 600px;
    width: 100%;
}

#review-form-container .review-form-custom-fields {
    text-align: left;
}

#review-form-container .form-submit {
    text-align: center;
    margin-top: 20px;
}

#review-form-container .submit {
    display: inline-block;
    width: auto;
    padding: 10px 30px;
}

#review-form-container .comment-notes {
    text-align: center;
    margin-bottom: 15px;
}

#review-form-container .required {
    color: red;
}

#review-form-container .logged-in-as {
    text-align: center;
    margin-bottom: 15px;
}

/* Центрирование всех label */
#review-form-container .form-label.text-center {
    text-align: center;
}
/* Форма отзыва */
#respond {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

#respond .form-label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

#respond .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    font-size: 14px;
}

#respond .form-control:focus {
    border-color: #24A59E;
    box-shadow: 0 0 0 3px rgba(36, 165, 158, 0.15);
}

#rating-stars .star {
    transition: color 0.15s ease;
    user-select: none;
}

#rating-stars .star:hover {
    transform: scale(1.1);
}

/* Скрываем стандартные подсказки */
#respond .form-notes,
#respond .comment-notes {
    display: none !important;
}
.comment-reply-title{
	text-align: center;
    color: #000;
}




















/* ===== 404 Page Styles ===== */
.error-404-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.error-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 35%, #fff 2px, transparent 2px),
        radial-gradient(circle at 80% 65%, #fff 2px, transparent 2px);
    background-size: 50px 50px;
    pointer-events: none;
}

.error-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    z-index: 2;
    animation: fadeInUp 0.6s ease-out;
}

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

.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: #764ba2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
}

.error-code .symbol {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.error-title {
    font-size: 1.8rem;
    color: #333;
    margin: 0 0 1rem;
    font-weight: 700;
}

.error-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #764ba2;
    border: 2px solid #764ba2;
}

.btn-secondary:hover {
    background: #764ba2;
    color: white;
}

.error-search form {
    display: flex;
    max-width: 400px;
    margin: 0 auto 2rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.error-search form:focus-within {
    border-color: #764ba2;
}

.error-search input {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.error-search button {
    padding: 0.9rem 1.5rem;
    background: #764ba2;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.error-search button:hover {
    background: #667eea;
}

.error-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.error-links p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.error-links li {
    margin: 0.5rem 0;
}

.error-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.error-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.language-switcher-404 {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.language-switcher-404 a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.4rem 1rem;
    background: #f5f5f5;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.language-switcher-404 a:hover,
.language-switcher-404 a.active {
    background: #764ba2;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .error-code {
        font-size: 4rem;
    }
    
    .error-code .symbol {
        font-size: 3rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}




.breadcrumb {
    font-size: 14px;
    color: #666;
    padding: 8px 0;
}
.breadcrumb a {
    color: #24A59E;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .separator {
    margin: 0 6px;
    color: #999;
}
.breadcrumb .last {
    color: #333;
    font-weight: 500;
}








.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
    align-content: space-around;
    flex-direction: column;
}