.search-box {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 87px;
    background-color: rgba(72, 72, 72, 0.1);
    border-radius: 10px;
    box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.05),
                inset 0 3px 13px rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(21px) brightness(1);
    -webkit-backdrop-filter: blur(21px) brightness(1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



.text-wrapper {
    font-family: "Inter-Regular", Helvetica;
    font-size: 21.4px;
    font-weight: 400;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    border: none;
    outline: none;
    transition: all 0.3s ease; /* Плавное изменение */
}

.text-wrapper:focus {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #000;
}
.text-wrapper::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.airplane-drawn {
    position: absolute;
    right: 20px;
    top: 10px;
    width: 34px;
    height: 34px;
}

.group {
    position: relative;
    width: 26px;
    height: 26px;
    background-image: url(./img/group-2.png);
    background-size: cover;
}

.group img {
    position: absolute;
    width: 33px;
    height: 33px;
}

.group .img     { top: 2px;  left: 6px; }
.group .group-2 { top: 15px; left: 19px; }
.group .group-3 { top: 10px; left: 19px; }
.group .group-4 { top: 3px;  left: 11px; width: 3px; }

.data-button {
    width: 18%;
    max-width: 200px;
    margin-left: 2%;
    height: 58px;
    font-weight: 100;
    background-color: #ff7c1a;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    outline: none;
    box-shadow: none;
    border: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, max-width 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .data-button {
        display: none;
    }
}
.data-button:focus {
    outline: none;
    box-shadow: none;
}

.data-button .label {
    font-family: "Inter-Regular", Helvetica;
    font-size: 21.4px;
    font-weight: 400;
    color: #000000;
    opacity: 0.9;
}

.data-button .calendar {
    width: 27px;
    height: 27px;
}
.h1-title {
    text-transform: uppercase;
    font-size: 70px;
    letter-spacing: 1px;
    font-weight: 550;
    align-self: center;
    text-align: center;
    color: #ffffff;
    font-family: 'Cracked';
}
.h2-sub-title {
    margin-top: -5px;
    margin-bottom: 10px;;
    font-size: 16px;
    font-weight: 400;
    align-self: center;
    text-align: center;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}
@media (max-width: 768px) {
    .h1-title {
    font-size: 25px;
    letter-spacing: 2px;
    }
}
.search-panel-d {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}


.item-card {
    position: relative;
    margin-top: 7px;
    min-height: 80px; /* Увеличиваем минимальную высоту для лучшего отображения изображений */
    background-color: #fffbf70f;
    box-shadow: 
        inset 0 0 59.35px #ffffff0d,
        inset 0 3.49px 13.09px #ffffff26;
    backdrop-filter: blur(20.95px) brightness(100%);
    -webkit-backdrop-filter: blur(20.95px) brightness(100%);
    background-size: 100% 100%;
}
.item-card:hover {
    background-color: #be5c00; /* Легкое изменение фона на более светлый */
    box-shadow: 
        inset 0px 0px 64.43px #ffffff0d, 
        inset 0px 3.79px 13.09px #ffffff26, 
        0px 0px 20px rgba(0, 0, 0, 0.3); /* Тени как ранее */
    transform: scaleX(1.05); /* Увеличиваем объект по горизонтали и вертикали */
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.item-card h3{
    font-size: 20px !important;
    position: absolute;
    color:#ffffff;
    left: 3%;
    top: 10%;
    right: 100px; /* Оставляем место для изображения */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
.item-card h3{
    font-size: 13px !important;
    white-space: normal;
    word-break: break-all;
    right: 80px; /* Меньше места на мобильных */
}

/* Еще меньшие иконки на мобильных */
.truncateText img {
    width: 12px !important;
    height: 12px !important;
}
}
.item-card p{
    position: absolute;
    color:#b4b4b4;
    left: 3%;
    bottom: 10%;
    right: 100px; /* Оставляем место для изображения */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-card img{
    display: block;
    color:#b4b4b4;
    height: 60px;
    width: 80px;
    object-fit: cover;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
}
.item-image-container{
    z-index: 3000;
    position: absolute;
    height: 60px;
    width: 80px; 
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    overflow: hidden;
}
@media (max-width: 768px) {
.item-card p{
    font-size: 12px !important;
    right: 80px; /* Оставляем место для изображения на мобильных */
}
.item-card img{
    height: 50px;
    width: 70px;
    margin-top: 5px;
}
.item-image-container{
    height: 50px;
    width: 70px;
    right: 8px;
}
}
.item-image-container:hover img {
    transform: scale(2.5); /* Увеличиваем изображение при наведении */
    transition: transform 0.3s ease;
    z-index: 3001;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.heading-with-icon h3 {
    font-family: 'Roboto', sans-serif;
display: inline-flex;
align-items: center;
gap: 8px; /* отступ между текстом и иконкой */
font-size: 24px;
}

.heading-with-icon i {
color: #ffffff; /* можно задать нужный цвет */
font-size: 18px;
}


.container-categoryes {
    width: 100%;
    position: relative;
    margin-bottom: 5px;
    z-index: 1;
}

/* Фоновое изображение */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: -1;
}

/* Главный контейнер */
.main-container {
    display: flex;
    flex-direction: column;
}

/* Категории */
.categories-container {
    height: 35px;
    background: rgba(72, 72, 72, 0.15);
    border-radius: 9px;
    backdrop-filter: blur(37.7px);
    box-shadow: inset 0px 0px 53.3px rgba(255, 255, 255, 0.05), 
                inset 0px 3.1px 11.8px rgba(255, 255, 255, 0.15);
    padding: 17px 30px 13px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.categories-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 68px;
    width: 100%;
    position: relative;
    margin-left: 15px;
}

.category-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    padding-top: 2px;
}

.category-item span {
    font-family: 'Inria Sans', sans-serif;
    font-size: 17px;
    line-height: 1.2em;
    color: white;
    white-space: nowrap;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

/* Эффект при наведении - оранжевый цвет текста */
.category-item:hover span {
    color: #FF7700;
    transition: color 0.2s ease;
}

/* Эффект при наведении - подсветка иконки */
.category-item:hover .motorcycle-icon img,
.category-item:hover .offroad-icon img,
.category-item:hover .adventure-icon img,
.category-item:hover .premium-icon img {
    filter: invert(56%) sepia(83%) saturate(3008%) hue-rotate(356deg) brightness(101%) contrast(104%);
    transition: filter 0.2s ease;
}

/* При наведении на элемент с градиентным текстом */
.category-item.all-trips:hover span {
    background: linear-gradient(to right, #FF7700, #FF9955);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.2s ease;
}

/*------------------*/
/* Активная категория с оранжевой линией */
.category-item.active span::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF7700;
    border-radius: 0;
    opacity: 1;
}

/* Стиль для "Alle Reisen" */
.category-item.all-trips {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
    padding-top: 3px;
}

.category-item.all-trips span {
    font-size: 16px;
    line-height: 1.17em;
    background: linear-gradient(to right, #FFFFFF,rgb(255, 255, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.2s ease;
}

/* Сохраняем градиент и при активном состоянии */
.category-item.all-trips.active span {
    background: linear-gradient(to right, #FFFFFF,rgb(255, 255, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.click-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -2px;
    margin-right: -3px;
}

.close-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -2px;
    margin-left: -3px;
}

/* Иконки */
.motorcycle-icon, .offroad-icon, .adventure-icon, .premium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -1px;
}

.motorcycle-icon img, .offroad-icon img, .adventure-icon img, .premium-icon img, .close-icon img, .click-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .categories-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .categories-container{
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .categories-container {
        padding: 8px 15px;
    }
    
    .categories-list {
        gap: 10px;
    }
}
.truncateText {
    width: 70%; /* Ограничиваем ширину */
    white-space: nowrap; /* Текст в одну строку */
    overflow: hidden; /* Обрезаем лишнее */
    text-overflow: ellipsis; /* Добавляем многоточие в конце */
}

/* Иконки внутри текста с обрезкой */
.truncateText img {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 5px !important;
}
.litepicker{
    display: block !important;
    /* background-color: rgba(190, 92, 0, 0.95) !important; */
    color: #ffffff !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}
.litepicker .container__months{
    background-color: transparent !important;
    width: 100% !important;
    color: #ffffff !important;
    border: none !important;
}
.litepicker .container__main{
    background-color: transparent !important;
    width: 100% !important;
    color: #ffffff !important;
}
.litepicker .month-item{
    width: 100% !important;
    color: #ffffff !important;
    border: none !important;
}
.litepicker .month-item-header{
    width: 100% !important;
    color: #ffffff !important;
    background-color: transparent !important;
}
.litepicker .month-item-weekdays-row{
    width: 100% !important;
    color: #ffffff !important;
}
.litepicker .container__days .day-item {
    color: #ffffff !important;
    background-color: transparent !important;
}
.litepicker .container__days .day-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.litepicker .container__days .day-item.is-in-range{
    background-color: #ffcfa2 !important;
    color: #000000 !important;
}
.litepicker .container__days .day-item.is-end-date{
    background-color: #964800 !important;
    color: #ffffff !important;
}
.litepicker .container__days .day-item.is-start-date{
    background-color: #964800 !important;
    color: #ffffff !important;
}


/* Состояния поиска */
.search-block {
    position: absolute;
    z-index: 500;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 850px;
    max-width: 90vw;
    transition: all 0.6s ease;
}

.search-block.search-active {
    top: 20%; /* Поднимаем блок выше */
}

.search-block.hidden {
    display: none;
}

.search-panel {
    width: 95%;
    position: relative;
    height: 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.input-container {
    margin-left: 0%;
    margin-right: 2%;
    width: 670px;
    height: 54px;
    background-color: #ffffff;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: width 0.3s ease, height 0.3s ease, flex 0.3s ease;
    flex: 1;
    min-width: 0;
}

.input-container.calendar-open {
    width: calc(100% - 320px);
    flex: none;
}

.data-button {
    width: 18%;
    max-width: 200px;
    margin-left: 2%;
    height: 58px;
    font-weight: 100;
    background-color: #ff7c1a;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    outline: none;
    box-shadow: none;
    border: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, max-width 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.data-button.calendar-open {
    width: 300px;
    max-width: 300px;
}

.location-container {
    position: relative;
    z-index: inherit;
    left: 2.5%;
    margin-top: -16px;
    width: 74.5%;
    transition: width 0.3s ease;
}

.location-container.calendar-open {
    width: 59.5%; /* Уменьшаем ширину когда календарь открыт */
}

/* Календарный блок */
#caledar_block {
    position: absolute !important;
    top: 112% !important;
    right: 0 !important;
    left: auto !important;
    width: 300px !important;
    max-width: 90vw !important;
    z-index: 9998 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    display: none;
}

#caledar_block.calendar-visible {
    display: block !important;
}

.background-list {
    width: 100%;  
    position: relative;
    display: none;
    border: none;
    margin-top: -8px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    min-height: 71px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0px 0px 17.46px 17.46px;
    background-size: 100% 100%;
}

.background-list.search-results-visible {
    display: block;
}

@media (max-width: 768px) {
    .search-block {
        width: 95%;
        max-width: 95vw;
    }
    
    .search-panel {
        width: 100%;
        gap: 5px;
    }
    
    .input-container {
        width: 100%;
        margin-right: 0;
        flex: 1;
    }
    
    .input-container.calendar-open {
        width: 100%;
        flex: 1;
    }
    
    .data-button {
        display: none;
    }
    
    #caledar_block {
        right: -5% !important;
        width: 280px !important;
    }
    
    .location-container {
        width: 95%;
        left: 2.5%;
        margin-top: -16px;
    }
    
    .location-container.calendar-open {
        width: 95%; /* На мобильных не сужаем, так как календарь скрыт */
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.background-list {
    animation: fadeIn 0.4s ease-out forwards;
}

.background-list.search-results-visible {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}
.choose_cat_block{
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(126, 126, 126, 0.212);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  backdrop-filter: blur(7px);
}
.choose_cat_block.show {
  opacity: 1;
  visibility: visible;
}
  .choose_cat_block .container_cat{
    width: 900px;
    height: 250px;
    border-radius: 9px;
    background-color: rgb(20, 20, 20);
  }
  .choose_cat_block .links{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  .jeep-nav-ico {
    content: url(/icon/JeepIcon.svg);
    height: 44px;
    }
  .choose_cat_block .container_cat a{
    align-items: center;
    display: flex;
    text-decoration: none;
    justify-content: bottom; 
    flex-direction: column;
    color: #ffffff;
  }
  .choose_cat_block .container_cat p{
    color: #ffffff !important;
    text-align: center;
    margin-top: 30px;
    font-size: 60px;
    font-weight: 400;
  }
  .choose_cat_block .container_cat a:hover div{
    color: #ff7b00;
  }
  .choose_cat_block .container_cat .close-cat-block{
    position: relative;
    display: flex;
    justify-content: flex-end;
    top: 25px;
    right: 10px;
    cursor: pointer;align-items: right;
  }
  @media (max-width: 768px) {
    .choose_cat_block .container_cat{
      width: 90%;
      height: 350px;
    }
    .choose_cat_block .links{
      gap: 15px;
    }
    .choose_cat_block .container_cat p{
      font-size: 35px;
    }
  }